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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f4d0401ed93c2475b4c58dfb4f870e8495d47dbd | 47 | py | Python | modules/msa/msa/contrib/uniqauth/static.py | haoyutan/MSA-Framework | 7c5553b244347f26029729161e15e60b0cc805f5 | [
"MIT"
] | 2 | 2016-11-22T11:44:52.000Z | 2017-08-29T02:38:01.000Z | modules/msa/msa/contrib/uniqauth/static.py | haoyutan/MSA-Framework | 7c5553b244347f26029729161e15e60b0cc805f5 | [
"MIT"
] | null | null | null | modules/msa/msa/contrib/uniqauth/static.py | haoyutan/MSA-Framework | 7c5553b244347f26029729161e15e60b0cc805f5 | [
"MIT"
] | null | null | null | EMPTY_MD5 = "d41d8cd98f00b204e9800998ecf8427e"
| 23.5 | 46 | 0.87234 | 3 | 47 | 13.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.06383 | 47 | 1 | 47 | 47 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0.680851 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f4fce772ecd8caacf42de434529a904558657565 | 118 | py | Python | DSAE_PBHL/Model.py | RyoOzaki/SparseAutoencoder | 0fa5da57515c70b5e874abaf63cff51f051c8ad2 | [
"MIT"
] | 1 | 2018-09-28T03:42:31.000Z | 2018-09-28T03:42:31.000Z | DSAE_PBHL/Model.py | RyoOzaki/SparseAutoencoder | 0fa5da57515c70b5e874abaf63cff51f051c8ad2 | [
"MIT"
] | 5 | 2020-09-25T22:57:54.000Z | 2022-02-09T23:56:56.000Z | DSAE_PBHL/Model.py | RyoOzaki/SparseAutoencoder | 0fa5da57515c70b5e874abaf63cff51f051c8ad2 | [
"MIT"
] | null | null | null | from abc import ABCMeta
class Model(metaclass=ABCMeta):
pass
class PB_Model(Model, metaclass=ABCMeta):
pass
| 14.75 | 41 | 0.745763 | 16 | 118 | 5.4375 | 0.5625 | 0.321839 | 0.482759 | 0.574713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177966 | 118 | 7 | 42 | 16.857143 | 0.896907 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
762bdf306c2d7ca7b79df7968b637409625ab3cd | 97,785 | py | Python | TweakApi/apis/data_source_rest_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/data_source_rest_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/data_source_rest_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
tweak-api
Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak.
OpenAPI spec version: 1.0.8-beta.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 41.434322 | 165 | 0.568513 | 10,125 | 97,785 | 5.248691 | 0.026667 | 0.063226 | 0.046572 | 0.039347 | 0.977909 | 0.976535 | 0.97503 | 0.968481 | 0.96453 | 0.962686 | 0 | 0.000925 | 0.347569 | 97,785 | 2,359 | 166 | 41.451886 | 0.832064 | 0.316879 | 0 | 0.837104 | 0 | 0 | 0.182388 | 0.07311 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038914 | false | 0 | 0.006335 | 0 | 0.103167 | 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 |
5e49b3550c2e09beca93e8fe1361e62cf27d1f1d | 21,301 | py | Python | tests/test_connection_pooling.py | ckwang8128/pycassa | b314d5fa4e6ba1219850f50d767aa0be5ed5ca5f | [
"MIT"
] | 64 | 2015-03-11T02:21:57.000Z | 2022-02-23T17:28:38.000Z | tests/test_connection_pooling.py | ckwang8128/pycassa | b314d5fa4e6ba1219850f50d767aa0be5ed5ca5f | [
"MIT"
] | 6 | 2015-04-07T23:49:23.000Z | 2019-09-26T18:08:50.000Z | tests/test_connection_pooling.py | ckwang8128/pycassa | b314d5fa4e6ba1219850f50d767aa0be5ed5ca5f | [
"MIT"
] | 33 | 2015-02-06T16:51:23.000Z | 2021-08-17T13:38:53.000Z | import threading
import unittest
import time
from nose.tools import assert_raises, assert_equal, assert_true
from pycassa import ColumnFamily, ConnectionPool, InvalidRequestError,\
NoConnectionAvailable, MaximumRetryException, AllServersUnavailable
from pycassa.logging.pool_stats_logger import Stat... | 41.042389 | 99 | 0.599831 | 2,353 | 21,301 | 5.229069 | 0.092648 | 0.094766 | 0.087126 | 0.119798 | 0.808436 | 0.777796 | 0.760403 | 0.730007 | 0.707575 | 0.688557 | 0 | 0.02756 | 0.286278 | 21,301 | 518 | 100 | 41.121622 | 0.781754 | 0.052814 | 0 | 0.736434 | 0 | 0 | 0.097833 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | null | null | 0.002584 | 0.023256 | null | null | 0.002584 | 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 |
0d773e18b6c6e46ec6f751dabb87bf43e9fa060d | 45 | py | Python | array_processing/__init__.py | uafgeotools/array_processing | 9ad464588aa162d36c9a90677784d6a8d7d4e6e8 | [
"MIT"
] | 9 | 2020-09-10T09:01:53.000Z | 2021-09-13T00:16:13.000Z | array_processing/__init__.py | uafgeotools/array_processing | 9ad464588aa162d36c9a90677784d6a8d7d4e6e8 | [
"MIT"
] | 7 | 2020-03-20T18:36:27.000Z | 2021-01-20T16:05:41.000Z | array_processing/__init__.py | uafgeotools/array_processing | 9ad464588aa162d36c9a90677784d6a8d7d4e6e8 | [
"MIT"
] | 2 | 2020-04-16T08:43:01.000Z | 2022-03-24T11:11:40.000Z | from . import algorithms
from . import tools
| 15 | 24 | 0.777778 | 6 | 45 | 5.833333 | 0.666667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 25 | 22.5 | 0.945946 | 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 |
0d81c7185c04d571b732dcdedd8ce821572579fc | 64 | py | Python | hentaihavendev/__init__.py | unsecuring/hentaihavendev | ee5b7d1f5798b5422fa9e11d387eb91d8c948946 | [
"MIT"
] | null | null | null | hentaihavendev/__init__.py | unsecuring/hentaihavendev | ee5b7d1f5798b5422fa9e11d387eb91d8c948946 | [
"MIT"
] | 2 | 2021-04-14T19:43:43.000Z | 2022-02-03T01:22:44.000Z | hentaihavendev/__init__.py | unsecuring/hentaihavendev | ee5b7d1f5798b5422fa9e11d387eb91d8c948946 | [
"MIT"
] | 1 | 2021-04-06T01:56:31.000Z | 2021-04-06T01:56:31.000Z | from hentaihavendev import fact
from hentaihavendev import nsfw | 32 | 32 | 0.875 | 8 | 64 | 7 | 0.625 | 0.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 33 | 32 | 1 | 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 |
0d9e9ae655367692e47e9262dca751d57716ee21 | 4,979 | py | Python | srptools/constants.py | idlesign/srptools | 35dd4a355e0723cdc1252eb346cff69b9073711d | [
"BSD-3-Clause"
] | 20 | 2017-02-13T15:16:18.000Z | 2022-01-27T15:49:06.000Z | srptools/constants.py | idlesign/srptools | 35dd4a355e0723cdc1252eb346cff69b9073711d | [
"BSD-3-Clause"
] | 10 | 2017-03-05T15:09:49.000Z | 2022-01-28T05:44:45.000Z | srptools/constants.py | idlesign/srptools | 35dd4a355e0723cdc1252eb346cff69b9073711d | [
"BSD-3-Clause"
] | 7 | 2017-03-11T07:50:09.000Z | 2021-12-16T11:59:00.000Z | from __future__ import unicode_literals
import hashlib
HASH_SHA_1 = hashlib.sha1
HASH_SHA_256 = hashlib.sha256
PRIME_1024_GEN = '2'
PRIME_1024 = '''\
EEAF0AB9ADB38DD69C33F80AFA8FC5E86072618775FF3C0B9EA2314C9C256576D674DF74\
96EA81D3383B4813D692C6E0E0D5D8E250B98BE48E495C1D6089DAD15DC7D7B46154D6B6\
CE8EF4AD69B15D4982... | 53.537634 | 73 | 0.948986 | 119 | 4,979 | 39.478992 | 0.546218 | 0.002554 | 0.005747 | 0.183908 | 0.551724 | 0.551724 | 0.551724 | 0.551724 | 0.551724 | 0.551724 | 0 | 0.573429 | 0.024905 | 4,979 | 92 | 74 | 54.119565 | 0.394233 | 0 | 0 | 0.433735 | 0 | 0 | 0.927696 | 0.907009 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024096 | 0 | 0.024096 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0dd8937dcd44deec7cb347fa78d0f34855ac7f81 | 1,829 | py | Python | tests/old_suite/interactive/pyqt5_qml_qrc.py | soleil0-0/pyinstaller | 4249a7347f6b81aba9825ded8addb92ee0f85ea9 | [
"Apache-2.0"
] | 2 | 2020-09-13T09:15:02.000Z | 2021-07-04T04:26:50.000Z | tests/old_suite/interactive/pyqt5_qml_qrc.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 3 | 2020-04-06T15:48:37.000Z | 2021-03-23T10:22:21.000Z | tests/old_suite/interactive/pyqt5_qml_qrc.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 4 | 2018-06-04T20:40:37.000Z | 2020-10-13T22:38:40.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Wed Sep 4 08:34:31 2013
# by: The Resource Compiler for PyQt (Qt v5.1.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x00\xf9\
\x69\
\x6d\x70\x6f\x72\x74\x20\x51\x74\x51\x75\x69\x63\x... | 35.173077 | 96 | 0.72772 | 384 | 1,829 | 3.419271 | 0.255208 | 0.29246 | 0.356436 | 0.365575 | 0.459254 | 0.447829 | 0.447829 | 0.415842 | 0.374714 | 0.36329 | 0 | 0.32615 | 0.061236 | 1,829 | 51 | 97 | 35.862745 | 0.438556 | 0.098414 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 1 | 0.004875 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.027778 | 0 | 0.083333 | 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 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
21840ddb9ded728c8f7ab4f44544685873188de6 | 92 | py | Python | env/Lib/site-packages/libarchive-0.4.7/libarchive/constants/__init__.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | 94 | 2015-03-13T07:38:51.000Z | 2022-03-18T02:28:04.000Z | env/Lib/site-packages/libarchive-0.4.7/libarchive/constants/__init__.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | 45 | 2015-04-25T09:19:08.000Z | 2022-03-18T18:07:05.000Z | env/Lib/site-packages/libarchive-0.4.7/libarchive/constants/__init__.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | 29 | 2015-03-13T07:38:43.000Z | 2021-10-10T18:23:50.000Z | from libarchive.constants.archive import *
from libarchive.constants.archive_entry import *
| 30.666667 | 48 | 0.847826 | 11 | 92 | 7 | 0.545455 | 0.363636 | 0.597403 | 0.779221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 49 | 46 | 0.916667 | 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 | 0 | 0 | 0 | 7 |
21fcba0d28a6b42c49252fc5a228b959d9cb4414 | 17,463 | py | Python | pysal/model/spreg/tests/test_error_sp_hom.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | 1 | 2021-08-16T02:47:35.000Z | 2021-08-16T02:47:35.000Z | pysal/model/spreg/tests/test_error_sp_hom.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | null | null | null | pysal/model/spreg/tests/test_error_sp_hom.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | 1 | 2016-11-11T19:20:51.000Z | 2016-11-11T19:20:51.000Z | '''
Unittests for pysal.model.spreg.error_sp_hom module
'''
import unittest
import pysal.lib
from pysal.model.spreg import error_sp_hom as HOM
import numpy as np
from pysal.lib.common import RTOL
import pysal.model.spreg
class BaseGM_Error_Hom_Tester(unittest.TestCase):
def setUp(self):
db=pysal.lib.io.op... | 54.915094 | 310 | 0.629159 | 2,683 | 17,463 | 3.980619 | 0.107343 | 0.097753 | 0.162921 | 0.236891 | 0.890543 | 0.885674 | 0.877809 | 0.874251 | 0.864888 | 0.864326 | 0 | 0.209115 | 0.203401 | 17,463 | 317 | 311 | 55.088328 | 0.558623 | 0.010479 | 0 | 0.835017 | 0 | 0 | 0.029073 | 0 | 0 | 0 | 0 | 0 | 0.380471 | 1 | 0.040404 | false | 0 | 0.020202 | 0 | 0.080808 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
1d00849020cd3c7338395e28c0b7a943a2a8010a | 37 | py | Python | runai/profiler/tf/hooks/__init__.py | bamps53/runai | 0c868160f64e1e063c6eb6f660d42917322d40c5 | [
"MIT"
] | 86 | 2020-01-23T18:56:41.000Z | 2022-02-14T22:32:08.000Z | runai/profiler/tf/hooks/__init__.py | bamps53/runai | 0c868160f64e1e063c6eb6f660d42917322d40c5 | [
"MIT"
] | 18 | 2020-01-24T17:55:18.000Z | 2021-12-01T01:01:32.000Z | runai/profiler/tf/hooks/__init__.py | bamps53/runai | 0c868160f64e1e063c6eb6f660d42917322d40c5 | [
"MIT"
] | 12 | 2020-02-03T14:30:44.000Z | 2022-01-08T16:06:59.000Z | from .session_run import session_run
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 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 |
df32a2b1552078b5fe983fa4757e68174d3e3066 | 1,610 | py | Python | extra_tests/test_weakref.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2021-06-02T23:02:09.000Z | 2021-06-02T23:02:09.000Z | extra_tests/test_weakref.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2021-03-30T18:08:41.000Z | 2021-03-30T18:08:41.000Z | extra_tests/test_weakref.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2022-03-30T11:42:37.000Z | 2022-03-30T11:42:37.000Z | import sys
import textwrap
import subprocess
def test_WeakValueDictionary_len(tmpdir):
src = textwrap.dedent("""
from weakref import WeakValueDictionary
class Foo:
pass
N = 1000
D = WeakValueDictionary()
for i in range(N):
D[i] = Foo()
for i ... | 30.377358 | 77 | 0.624224 | 196 | 1,610 | 5.02551 | 0.352041 | 0.016244 | 0.024365 | 0.04467 | 0.828426 | 0.828426 | 0.765482 | 0.765482 | 0.678173 | 0.678173 | 0 | 0.012059 | 0.278882 | 1,610 | 52 | 78 | 30.961538 | 0.836348 | 0.296273 | 0 | 0.702703 | 0 | 0 | 0.516934 | 0.018717 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0.054054 | 0.135135 | 0 | 0.189189 | 0.054054 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
df417b5111f402c4573aa57bb7aae122c356d013 | 11,166 | py | Python | testcases/test_4_get_domain.py | evilbrave/REST_API_TESTCASES | dccfddf2030adbf8188e0e7bf6dbfa4fa581a420 | [
"MIT"
] | 1 | 2018-08-07T21:53:52.000Z | 2018-08-07T21:53:52.000Z | testcases/test_4_get_domain.py | evilbrave/REST_API_TESTCASES | dccfddf2030adbf8188e0e7bf6dbfa4fa581a420 | [
"MIT"
] | null | null | null | testcases/test_4_get_domain.py | evilbrave/REST_API_TESTCASES | dccfddf2030adbf8188e0e7bf6dbfa4fa581a420 | [
"MIT"
] | 1 | 2019-01-31T13:57:34.000Z | 2019-01-31T13:57:34.000Z | import requests
from signature import Signature
import common_data
import test_1_device_auth
from requests.utils import quote
url = common_data.oss_url
#url = "http://127.0.0.1:8888"
path = "/v1/domains/"
def init_headers(headers):
headers['X-Api-Key'] = common_data.x_api_key
headers['X-Signature'] = ""
r... | 33.734139 | 103 | 0.683772 | 1,421 | 11,166 | 5.152006 | 0.05841 | 0.135227 | 0.054091 | 0.072121 | 0.866958 | 0.815326 | 0.755225 | 0.751263 | 0.751263 | 0.744844 | 0 | 0.015249 | 0.207147 | 11,166 | 331 | 104 | 33.734139 | 0.811702 | 0.06878 | 0 | 0.663968 | 0 | 0 | 0.127036 | 0.002506 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020243 | null | null | 0.323887 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df4edf39c17bcca5a63c3a09f3feacf875f6531e | 144 | py | Python | 03_zhihu/start.py | GongkunJiang/MySpider | 8c088f696679b13568843af521279f9f25f40314 | [
"MIT"
] | null | null | null | 03_zhihu/start.py | GongkunJiang/MySpider | 8c088f696679b13568843af521279f9f25f40314 | [
"MIT"
] | null | null | null | 03_zhihu/start.py | GongkunJiang/MySpider | 8c088f696679b13568843af521279f9f25f40314 | [
"MIT"
] | null | null | null | # coding=utf-8
from scrapy import cmdline
# cmdline.execute('scrapy crawl itcast'.split())
cmdline.execute('scrapy crawl zhihuSpider'.split()) | 24 | 51 | 0.763889 | 19 | 144 | 5.789474 | 0.631579 | 0.254545 | 0.363636 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.097222 | 144 | 6 | 51 | 24 | 0.838462 | 0.409722 | 0 | 0 | 0 | 0 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
df614e806795ffe9d06b308463776550ba8fc85f | 7,072 | py | Python | lfs/catalog/migrations/0007_auto_20210405_1816.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | null | null | null | lfs/catalog/migrations/0007_auto_20210405_1816.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | null | null | null | lfs/catalog/migrations/0007_auto_20210405_1816.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 3.1.2 on 2021-04-05 18:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catalog', '0006_auto_20210405_1803'),
]
operations = [
migrations.AddField(
model_name='deliverytime',
name='synthes... | 31.571429 | 53 | 0.543269 | 533 | 7,072 | 7.123827 | 0.099437 | 0.199105 | 0.254411 | 0.298657 | 0.960495 | 0.960495 | 0.804056 | 0.792204 | 0.792204 | 0.792204 | 0 | 0.009732 | 0.346154 | 7,072 | 223 | 54 | 31.713004 | 0.811419 | 0.006363 | 0 | 0.967742 | 1 | 0 | 0.132811 | 0.024626 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004608 | 0 | 0.018433 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
df637f40566f048110b84a7f137812727cacbbce | 38 | py | Python | pyramid_caching_api/__init__.py | jvanasco/pyramid_caching_api | 91d2993c50f2c1bbccab6e04b2a7aa4a86993ac9 | [
"MIT"
] | null | null | null | pyramid_caching_api/__init__.py | jvanasco/pyramid_caching_api | 91d2993c50f2c1bbccab6e04b2a7aa4a86993ac9 | [
"MIT"
] | null | null | null | pyramid_caching_api/__init__.py | jvanasco/pyramid_caching_api | 91d2993c50f2c1bbccab6e04b2a7aa4a86993ac9 | [
"MIT"
] | null | null | null | from . import api
from . import utils
| 12.666667 | 19 | 0.736842 | 6 | 38 | 4.666667 | 0.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 20 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
80113568d9eec7784d02099af9484161a7cdfbaa | 20,926 | py | Python | src/lib/model.py | Timokleia/QCANet | e2934e381197e2b80bbe24fa5abbe87ed616a8c1 | [
"MIT"
] | 26 | 2018-06-02T01:50:28.000Z | 2022-01-18T20:20:13.000Z | src/lib/model.py | Timokleia/QCANet | e2934e381197e2b80bbe24fa5abbe87ed616a8c1 | [
"MIT"
] | 7 | 2018-11-30T13:43:10.000Z | 2021-01-16T11:15:28.000Z | src/lib/model.py | Timokleia/QCANet | e2934e381197e2b80bbe24fa5abbe87ed616a8c1 | [
"MIT"
] | 7 | 2018-06-20T07:58:59.000Z | 2022-03-17T07:37:28.000Z | # -*- coding: utf-8 -*-
import numpy as np
import chainer
from chainer import cuda, Function, Variable
from chainer import Link, Chain, ChainList
import chainer.functions as F
import chainer.links as L
from src.lib.loss import softmax_dice_loss
class Model_L2(Chain):
def __init__(
self,
nd... | 57.331507 | 226 | 0.624677 | 2,964 | 20,926 | 4.205128 | 0.052294 | 0.137677 | 0.150193 | 0.219512 | 0.95138 | 0.947529 | 0.945363 | 0.942073 | 0.881739 | 0.881659 | 0 | 0.04358 | 0.225843 | 20,926 | 364 | 227 | 57.489011 | 0.725802 | 0.010322 | 0 | 0.66129 | 0 | 0 | 0.003333 | 0.003333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029032 | false | 0 | 0.022581 | 0 | 0.090323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8020b6b7216ebce88801345178fb3a6d3cf2275b | 10,167 | py | Python | niapy/tests/test_task.py | hrnciar/NiaPy | d1e70924577cc90455c52701f2696bcb0a064438 | [
"MIT"
] | null | null | null | niapy/tests/test_task.py | hrnciar/NiaPy | d1e70924577cc90455c52701f2696bcb0a064438 | [
"MIT"
] | null | null | null | niapy/tests/test_task.py | hrnciar/NiaPy | d1e70924577cc90455c52701f2696bcb0a064438 | [
"MIT"
] | null | null | null | # encoding=utf8
from unittest import TestCase
import numpy as np
from numpy.random import default_rng
from niapy.benchmarks import Benchmark
from niapy.task import StoppingTask, ThrowingTask
from niapy.util import full_array, FesException, GenException, RefException
class MyBenchmark(Benchmark):
def __init__(se... | 33.00974 | 109 | 0.607357 | 1,443 | 10,167 | 4.164241 | 0.092862 | 0.062406 | 0.021967 | 0.040273 | 0.829423 | 0.822267 | 0.806457 | 0.770511 | 0.74688 | 0.746214 | 0 | 0.015869 | 0.256221 | 10,167 | 307 | 110 | 33.117264 | 0.778762 | 0.068949 | 0 | 0.752294 | 0 | 0 | 0.017334 | 0 | 0 | 0 | 0 | 0 | 0.321101 | 1 | 0.197248 | false | 0 | 0.027523 | 0.004587 | 0.252294 | 0.009174 | 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 |
33a822dcd7b2c084fd4d57daf7ea6856be209a74 | 355 | py | Python | tests/internal/instance_type/test_instance_type_p4d_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_p4d_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_p4d_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module instance_type.p4d
import pytest
import ec2_compare.internal.instance_type.p4d
def test_get_internal_data_instance_type_p4d_get_instances_list():
assert len(ec2_compare.internal.instance_type.p4d.get_instances_list()) > 0
def test_get_internal_data_instance_type_p4d_get():
assert len(ec2_compare.i... | 35.5 | 77 | 0.850704 | 56 | 355 | 4.946429 | 0.339286 | 0.259928 | 0.32491 | 0.259928 | 0.826715 | 0.826715 | 0.613718 | 0.613718 | 0.613718 | 0 | 0 | 0.033435 | 0.073239 | 355 | 9 | 78 | 39.444444 | 0.808511 | 0.090141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
33ab1707555ad30889a4402e65d969114913ef58 | 1,600 | py | Python | hpat/tests/test_utils.py | AlexanderKalistratov/hpat | be1c9cdbd26c55162bad4bb6dfe77af176584d40 | [
"BSD-2-Clause"
] | 1 | 2022-02-21T06:49:03.000Z | 2022-02-21T06:49:03.000Z | hpat/tests/test_utils.py | kozlov-alexey/sdc | f1a48b3388713da2f96719d7003e7a400953f21e | [
"BSD-2-Clause"
] | 2 | 2019-10-11T16:49:03.000Z | 2019-10-14T22:05:50.000Z | hpat/tests/test_utils.py | kozlov-alexey/sdc | f1a48b3388713da2f96719d7003e7a400953f21e | [
"BSD-2-Clause"
] | null | null | null | import hpat
def count_array_REPs():
from hpat.distributed import Distribution
vals = hpat.distributed.dist_analysis.array_dists.values()
return sum([v == Distribution.REP for v in vals])
def count_parfor_REPs():
from hpat.distributed import Distribution
vals = hpat.distributed.dist_analysis.parf... | 28.571429 | 64 | 0.73875 | 233 | 1,600 | 4.871245 | 0.171674 | 0.237885 | 0.100441 | 0.132159 | 0.777093 | 0.73304 | 0.73304 | 0.714537 | 0.714537 | 0.714537 | 0 | 0 | 0.161875 | 1,600 | 55 | 65 | 29.090909 | 0.846383 | 0 | 0 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0 | 0.189189 | 0.054054 | 0.675676 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
33bc7ef7b6c50084cbd9f2daf99fcd2df2645a11 | 11,515 | py | Python | tests/breezometer/pollen/models/test_pollen_index_forecast.py | clintecker/supercell | 6baa174c8fca1a6f805d3853bdcf9cd5148b53ca | [
"MIT"
] | null | null | null | tests/breezometer/pollen/models/test_pollen_index_forecast.py | clintecker/supercell | 6baa174c8fca1a6f805d3853bdcf9cd5148b53ca | [
"MIT"
] | 1 | 2020-09-06T19:45:25.000Z | 2020-09-06T19:45:25.000Z | tests/breezometer/pollen/models/test_pollen_index_forecast.py | clintecker/supercell | 6baa174c8fca1a6f805d3853bdcf9cd5148b53ca | [
"MIT"
] | null | null | null | # Standard Library
import datetime
# Third Party Code
from dateutil.tz import tzutc
# Supercell Code
from supercell.breezometer.pollen.models.pollen_index import PollenIndex
from supercell.breezometer.pollen.models.pollen_index_forecast import (
PollenIndexForecast,
)
from supercell.breezometer.pollen.models.poll... | 42.648148 | 86 | 0.351628 | 706 | 11,515 | 5.558074 | 0.114731 | 0.089704 | 0.086646 | 0.107034 | 0.883792 | 0.86213 | 0.851427 | 0.827472 | 0.827472 | 0.827472 | 0 | 0.017218 | 0.551107 | 11,515 | 269 | 87 | 42.806691 | 0.741923 | 0.004168 | 0 | 0.588462 | 0 | 0.007692 | 0.142633 | 0.004885 | 0 | 0 | 0 | 0 | 0.007692 | 1 | 0.007692 | false | 0 | 0.019231 | 0 | 0.026923 | 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 |
33ed2fd81d333706544940c1be806734fdf0703a | 60 | py | Python | tests/results/040_medium_complex_multiple_hook_test2.py | CowboyTim/python-storable | f03cf0eae60eeb9c3345e9ddf3370a49a316e472 | [
"Zlib"
] | 8 | 2015-04-24T07:27:42.000Z | 2020-10-30T20:51:40.000Z | tests/results/040_medium_complex_multiple_hook_test2.py | CowboyTim/python-storable | f03cf0eae60eeb9c3345e9ddf3370a49a316e472 | [
"Zlib"
] | 7 | 2015-09-08T01:40:12.000Z | 2021-09-29T15:19:46.000Z | tests/results/040_medium_complex_multiple_hook_test2.py | CowboyTim/python-storable | f03cf0eae60eeb9c3345e9ddf3370a49a316e472 | [
"Zlib"
] | 10 | 2015-07-22T13:57:04.000Z | 2020-09-03T18:32:39.000Z | result = [
{0: 0, 1: 'var 1'},
{0: 0, 1: 'var 2'}
]
| 12 | 23 | 0.333333 | 11 | 60 | 1.818182 | 0.454545 | 0.2 | 0.3 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.366667 | 60 | 4 | 24 | 15 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d51176b82464413c5c34eb63b2ae7ef8de0a1073 | 336 | py | Python | cse4305-compilers/Exceptions.py | mqt0029/univ-courses | d3f565adf7cc1312f8eaf3d6fb83362b1a4cef33 | [
"MIT"
] | null | null | null | cse4305-compilers/Exceptions.py | mqt0029/univ-courses | d3f565adf7cc1312f8eaf3d6fb83362b1a4cef33 | [
"MIT"
] | null | null | null | cse4305-compilers/Exceptions.py | mqt0029/univ-courses | d3f565adf7cc1312f8eaf3d6fb83362b1a4cef33 | [
"MIT"
] | 1 | 2021-03-24T21:13:18.000Z | 2021-03-24T21:13:18.000Z | # Tram, Minh
# mqt0029
# 1001540029
# 2019-05-13
#---------#---------#---------#---------#---------#--------#
class InternalError( Exception ) : pass
class LexicalError( Exception ) : pass
class SemanticError( Exception ) : pass
class SyntacticError( Exception ) : pass
#---------#---------#---------#---------#----... | 28 | 60 | 0.467262 | 23 | 336 | 6.826087 | 0.608696 | 0.33121 | 0.343949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074324 | 0.119048 | 336 | 11 | 61 | 30.545455 | 0.456081 | 0.434524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
1d518f39ab951fe54d98143a3a32e4b8a29c33b5 | 77 | py | Python | tests/test_basics.py | leuchtum/folderman | bbaf05e689107e363784d340f8c85dd2ce3e3486 | [
"MIT"
] | null | null | null | tests/test_basics.py | leuchtum/folderman | bbaf05e689107e363784d340f8c85dd2ce3e3486 | [
"MIT"
] | null | null | null | tests/test_basics.py | leuchtum/folderman | bbaf05e689107e363784d340f8c85dd2ce3e3486 | [
"MIT"
] | null | null | null | import pytest
from folderman import Folder
def test_root_path():
pass
| 9.625 | 28 | 0.753247 | 11 | 77 | 5.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207792 | 77 | 7 | 29 | 11 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
1d52e119ff0bc52a8d7548bc52024fdec3cd0b96 | 410 | py | Python | radicalsdk/radar/v1_constants.py | moodoki/radical_sdk | 4438678cf73e156e5058ddb035ec8e5875fca84e | [
"Apache-2.0"
] | 7 | 2021-05-20T01:12:39.000Z | 2021-12-30T12:38:07.000Z | radicalsdk/radar/v1_constants.py | moodoki/radical_sdk | 4438678cf73e156e5058ddb035ec8e5875fca84e | [
"Apache-2.0"
] | null | null | null | radicalsdk/radar/v1_constants.py | moodoki/radical_sdk | 4438678cf73e156e5058ddb035ec8e5875fca84e | [
"Apache-2.0"
] | null | null | null | import os
import numpy as np
class TupperwearD435_0:
F = np.load(os.path.join(os.path.dirname(__file__), 'v1_data/f_matrix.npy'))
P = np.load(os.path.join(os.path.dirname(__file__), 'v1_data/p_matrix_original.npy'))
class TupperwearD435:
F = np.load(os.path.join(os.path.dirname(__file__), 'v1_data/f_matri... | 37.272727 | 89 | 0.721951 | 72 | 410 | 3.75 | 0.277778 | 0.177778 | 0.118519 | 0.177778 | 0.718519 | 0.718519 | 0.718519 | 0.718519 | 0.718519 | 0.718519 | 0 | 0.030055 | 0.107317 | 410 | 10 | 90 | 41 | 0.70765 | 0 | 0 | 0.25 | 0 | 0 | 0.217073 | 0.070732 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
d55ca4e5b2e004bfdeeb1cf42c17be3937860062 | 2,825 | py | Python | load_data.py | yodacatmeow/VGG16-SNU-B36-50 | e583eccfc9775288f457bfef4655a813e827eb03 | [
"MIT"
] | 2 | 2018-07-31T08:56:15.000Z | 2021-08-12T07:15:20.000Z | load_data.py | yodacatmeow/VGG16-SNU-B36-50 | e583eccfc9775288f457bfef4655a813e827eb03 | [
"MIT"
] | null | null | null | load_data.py | yodacatmeow/VGG16-SNU-B36-50 | e583eccfc9775288f457bfef4655a813e827eb03 | [
"MIT"
] | null | null | null | # Public python modules
import numpy as np
import pandas as pd
import pickle
import feature
from os import path
# If categories of test data = categories of the training data
class load():
def __init__(self, data_path, batch_size):
self.pointer = 0
self.dataframe = pickle.load(open(data_path,"rb"))... | 34.876543 | 104 | 0.60531 | 386 | 2,825 | 4.251295 | 0.222798 | 0.065814 | 0.063376 | 0.048751 | 0.833029 | 0.816575 | 0.816575 | 0.816575 | 0.816575 | 0.764168 | 0 | 0.004936 | 0.282832 | 2,825 | 80 | 105 | 35.3125 | 0.805035 | 0.259469 | 0 | 0.705882 | 0 | 0 | 0.026112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.352941 | 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 |
d59139410c2f3047f148712d6a8b17c6e90881b8 | 29,945 | py | Python | pymtl3/passes/sverilog/translation/test/SVTranslator_L2_cases_test.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | 1 | 2019-11-12T12:26:01.000Z | 2019-11-12T12:26:01.000Z | pymtl3/passes/sverilog/translation/test/SVTranslator_L2_cases_test.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | null | null | null | pymtl3/passes/sverilog/translation/test/SVTranslator_L2_cases_test.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | null | null | null | #=========================================================================
# SVTranslator_L2_cases_test.py
#=========================================================================
"""Test the SystemVerilog translator."""
from pymtl3.datatypes import Bits1, Bits32, Bits96, bitstruct, concat
from pymtl3.dsl import Com... | 20.552505 | 115 | 0.556587 | 4,973 | 29,945 | 3.033782 | 0.027951 | 0.034202 | 0.083781 | 0.053689 | 0.934447 | 0.91211 | 0.879234 | 0.862531 | 0.853516 | 0.839067 | 0 | 0.071836 | 0.274336 | 29,945 | 1,456 | 116 | 20.566621 | 0.622457 | 0.017532 | 0 | 0.808571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165714 | false | 0.008571 | 0.014286 | 0 | 0.314286 | 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 |
634e740c774bf4265a2099a0646f82b77af8aad8 | 87 | py | Python | Laplace_experiments/cifar/new_models/__init__.py | Sanaelotfi/Bayesian_model_comparison | c6f0da1d49374c0dda6ee743e5b02bcf3e158e96 | [
"MIT"
] | 11 | 2022-02-24T03:41:14.000Z | 2022-03-30T18:11:04.000Z | Laplace_experiments/cifar/new_models/__init__.py | Sanaelotfi/Bayesian_model_comparison | c6f0da1d49374c0dda6ee743e5b02bcf3e158e96 | [
"MIT"
] | null | null | null | Laplace_experiments/cifar/new_models/__init__.py | Sanaelotfi/Bayesian_model_comparison | c6f0da1d49374c0dda6ee743e5b02bcf3e158e96 | [
"MIT"
] | null | null | null | from .fixup_resnet_cifar import *
from .resnet_cifar import *
from .cnn_models import * | 29 | 33 | 0.804598 | 13 | 87 | 5.076923 | 0.538462 | 0.333333 | 0.515152 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 3 | 34 | 29 | 0.868421 | 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 |
635dafec5fe5df516ca9d66cda4b4f210d3c9238 | 176 | py | Python | webtable_recognition/evaluator.py | jonashering/webtable-recognition | 23b02a6aa538b553d58ba4604c6424b6966eeb59 | [
"MIT"
] | null | null | null | webtable_recognition/evaluator.py | jonashering/webtable-recognition | 23b02a6aa538b553d58ba4604c6424b6966eeb59 | [
"MIT"
] | null | null | null | webtable_recognition/evaluator.py | jonashering/webtable-recognition | 23b02a6aa538b553d58ba4604c6424b6966eeb59 | [
"MIT"
] | null | null | null | from sklearn.metrics import classification_report
def evaluation_report(Y_true, Y_pred, classes=None):
print(classification_report(Y_true, Y_pred, target_names=classes))
| 29.333333 | 70 | 0.823864 | 25 | 176 | 5.48 | 0.64 | 0.291971 | 0.160584 | 0.175182 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096591 | 176 | 5 | 71 | 35.2 | 0.861635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
63844de29908bb815f16469fa3bc726580587a98 | 198,298 | py | Python | assessments/Assignments-2/model_v3.py | linksdl/acs-project-krr | c7ee4af3faaf89e31f8c2763008ae2ccbdf6de04 | [
"Apache-2.0"
] | null | null | null | assessments/Assignments-2/model_v3.py | linksdl/acs-project-krr | c7ee4af3faaf89e31f8c2763008ae2ccbdf6de04 | [
"Apache-2.0"
] | null | null | null | assessments/Assignments-2/model_v3.py | linksdl/acs-project-krr | c7ee4af3faaf89e31f8c2763008ae2ccbdf6de04 | [
"Apache-2.0"
] | 1 | 2020-11-22T18:05:33.000Z | 2020-11-22T18:05:33.000Z | # !/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Project : acs-project-krr
@File : model_v1.py
@Author : Billy Sheng
@Contact : shengdl999links@gmail.com
@Date : 2020/11/21 10:40 上午
@Version : 1.0.0
@License : Apache License 2.0
@Desc : None
"""
MODELS = [
{
"DOMAIN": {'5', '3', '6', '7', '2... | 75.599695 | 91 | 0.176729 | 28,267 | 198,298 | 1.23975 | 0.001698 | 0.064376 | 0.033986 | 0.035042 | 0.994978 | 0.994864 | 0.994635 | 0.994493 | 0.993494 | 0.992952 | 0 | 0.189391 | 0.261152 | 198,298 | 2,622 | 92 | 75.628528 | 0.049798 | 0.001251 | 0 | 0.872651 | 0 | 0 | 0.177549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
892ce8bb9e6fb8cd87f1493c3ff4b41cdf050c8a | 7,445 | py | Python | test/variational/test_batch_decoupled_variational_strategy.py | nzw0301/gpytorch | c5ebba78cb505c74fc596308d39b987d058f4603 | [
"MIT"
] | null | null | null | test/variational/test_batch_decoupled_variational_strategy.py | nzw0301/gpytorch | c5ebba78cb505c74fc596308d39b987d058f4603 | [
"MIT"
] | null | null | null | test/variational/test_batch_decoupled_variational_strategy.py | nzw0301/gpytorch | c5ebba78cb505c74fc596308d39b987d058f4603 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import unittest
import torch
import gpytorch
from gpytorch.test.variational_test_case import VariationalTestCase
def likelihood_cls():
return gpytorch.likelihoods.GaussianLikelihood()
def strategy_cls(model, inducing_points, variational_distribution, learn_inducing_locations):
retu... | 38.376289 | 115 | 0.698455 | 706 | 7,445 | 7.069405 | 0.164306 | 0.054097 | 0.031256 | 0.074133 | 0.808255 | 0.80004 | 0.80004 | 0.790022 | 0.766179 | 0.745943 | 0 | 0.005547 | 0.225118 | 7,445 | 193 | 116 | 38.57513 | 0.859594 | 0.014775 | 0 | 0.648649 | 0 | 0 | 0.001091 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 1 | 0.182432 | false | 0 | 0.027027 | 0.121622 | 0.439189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
8944587ae6ba1c21ea7a4d92e4aa0c399f1bdb77 | 3,188 | py | Python | deeplearning/layers/optimizers.py | cbschaff/nlimb | f0564b00bab1b3367aaa88163e49bebc88f349bb | [
"MIT"
] | 12 | 2018-10-26T19:33:05.000Z | 2022-01-17T11:47:59.000Z | deeplearning/layers/optimizers.py | cbschaff/nlimb | f0564b00bab1b3367aaa88163e49bebc88f349bb | [
"MIT"
] | 9 | 2020-01-28T22:30:55.000Z | 2022-03-11T23:32:04.000Z | deeplearning/layers/optimizers.py | cbschaff/nlimb | f0564b00bab1b3367aaa88163e49bebc88f349bb | [
"MIT"
] | 3 | 2019-07-09T14:56:01.000Z | 2019-11-18T06:58:41.000Z | """
Defining standard tensorflow optimizers as modules.
"""
import tensorflow as tf
from deeplearning import module
from deeplearning import tf_util as U
class SGD(module.Optimizer):
ninputs = 1
def __init__(self, name, loss, lr=1e-4, momentum=0.0, clip_norm=None):
super().__init__(name, loss)
... | 38.878049 | 93 | 0.656838 | 440 | 3,188 | 4.525 | 0.209091 | 0.060271 | 0.048217 | 0.034154 | 0.850829 | 0.850829 | 0.850829 | 0.850829 | 0.850829 | 0.850829 | 0 | 0.011286 | 0.221769 | 3,188 | 81 | 94 | 39.358025 | 0.791213 | 0.050188 | 0 | 0.8 | 0 | 0 | 0.025854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.05 | 0.033333 | 0.35 | 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 |
894f5d29dbffa0e5cf4f85c3b14bbebd9fd9c5d4 | 23,551 | py | Python | cfgov/v1/migrations/0225_enforcement_status_filter.py | flacoman91/consumerfinance.gov | 64e3d68d1c023ae944baf66a99e54236e5976097 | [
"CC0-1.0"
] | 37 | 2020-08-18T19:52:39.000Z | 2022-03-23T08:08:41.000Z | cfgov/v1/migrations/0225_enforcement_status_filter.py | flacoman91/consumerfinance.gov | 64e3d68d1c023ae944baf66a99e54236e5976097 | [
"CC0-1.0"
] | 338 | 2020-08-14T20:46:36.000Z | 2022-03-31T20:49:32.000Z | cfgov/v1/migrations/0225_enforcement_status_filter.py | raft-tech/cfgov-refresh | 7c63c31fd6bb95ed4f7d368f1e1252175f0c71ca | [
"CC0-1.0"
] | 14 | 2020-10-21T15:27:03.000Z | 2022-03-17T03:16:36.000Z | # Generated by Django 2.2.13 on 2020-07-13 16:55
from django.db import migrations, models
import v1.atomic_elements.organisms
import v1.blocks
import v1.util.ref
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [
('v... | 588.775 | 10,964 | 0.74655 | 3,065 | 23,551 | 5.669168 | 0.161501 | 0.112684 | 0.171213 | 0.082297 | 0.795523 | 0.789077 | 0.785854 | 0.768071 | 0.768071 | 0.762604 | 0 | 0.006022 | 0.083309 | 23,551 | 39 | 10,965 | 603.871795 | 0.798833 | 0.001953 | 0 | 0.30303 | 1 | 0.69697 | 0.446922 | 0.025784 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.212121 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
983307ae02491c8b74735a03beb409856e5dc1db | 1,701 | py | Python | tests/transactions/deserializers/test_multi_signature_registration.py | PhantomChain/python-crypto | 3d154a314ff57d68f5e093b440d5beddbd43c411 | [
"MIT"
] | null | null | null | tests/transactions/deserializers/test_multi_signature_registration.py | PhantomChain/python-crypto | 3d154a314ff57d68f5e093b440d5beddbd43c411 | [
"MIT"
] | null | null | null | tests/transactions/deserializers/test_multi_signature_registration.py | PhantomChain/python-crypto | 3d154a314ff57d68f5e093b440d5beddbd43c411 | [
"MIT"
] | 1 | 2019-11-26T15:37:56.000Z | 2019-11-26T15:37:56.000Z | from crypto.transactions.deserializer import Deserializer
def test_multi_signature_registration_deserializer():
serialized = 'ff011704724c9a00036928c98ee53a1f52ed01dd87db10ffe1980eb47cd7c0a7d688321f47b5d7d76000943577000000000002031803543c6cc3545be6bac09c82721973a052c690658283472e88f24d14739f75acc80276dc5b8706a85c... | 100.058824 | 1,035 | 0.895356 | 47 | 1,701 | 32.297872 | 0.638298 | 0.019763 | 0.029644 | 0.057312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.500937 | 0.058789 | 1,701 | 16 | 1,036 | 106.3125 | 0.44722 | 0.002352 | 0 | 0 | 0 | 0 | 0.758702 | 0.713274 | 0 | 1 | 0 | 0 | 0.214286 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
987c9f28a82f2c11d9f0690fc0141fe2f7847eb7 | 130 | py | Python | mmdet2trt/core/__init__.py | tehkillerbee/mmdetection-to-tensorrt | b1532465ab1c6617b350981bbda2bc361fe291a6 | [
"Apache-2.0"
] | 496 | 2020-07-16T08:37:02.000Z | 2022-03-31T01:13:45.000Z | mmdet2trt/core/__init__.py | tehkillerbee/mmdetection-to-tensorrt | b1532465ab1c6617b350981bbda2bc361fe291a6 | [
"Apache-2.0"
] | 98 | 2020-07-30T02:14:41.000Z | 2022-03-21T08:58:12.000Z | mmdet2trt/core/__init__.py | tehkillerbee/mmdetection-to-tensorrt | b1532465ab1c6617b350981bbda2bc361fe291a6 | [
"Apache-2.0"
] | 80 | 2020-08-06T03:52:11.000Z | 2022-03-23T11:41:46.000Z | from .anchor import * # noqa: F401,F403
from .bbox import * # noqa: F401,F403
from .post_processing import * # noqa: F401,F403
| 32.5 | 49 | 0.7 | 19 | 130 | 4.736842 | 0.473684 | 0.333333 | 0.466667 | 0.6 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0.184615 | 130 | 3 | 50 | 43.333333 | 0.679245 | 0.361538 | 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 |
f693b0464b4acd28316f7d30ceb8a60883bf75fd | 31,782 | py | Python | tests/checks/check.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 6 | 2018-10-02T18:51:26.000Z | 2021-03-13T02:23:24.000Z | tests/checks/check.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 6 | 2017-08-01T22:27:28.000Z | 2019-12-20T08:34:48.000Z | tests/checks/check.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 8 | 2017-07-01T22:19:09.000Z | 2022-02-01T21:02:31.000Z | import os
from tests.checks import checks
from tests.harness import harness
from scripts import terminal
check_dir = os.path.dirname(os.path.abspath(__file__))
check_suite = checks.CheckSuite()
folds = [3]
inf_folds = [3]
incs = [1]
FLT_BIN_WIDTH=13
FLT_MAX_EXP=128
FLT_BIG_EXP=13
FLT_SMALL_EXP=-12
FLT_MIN_EXP=-125... | 49.581903 | 181 | 0.400101 | 2,094 | 31,782 | 5.925501 | 0.095511 | 0.012089 | 0.01354 | 0.061251 | 0.841876 | 0.778772 | 0.774097 | 0.728159 | 0.704707 | 0.648775 | 0 | 0.037307 | 0.450947 | 31,782 | 640 | 182 | 49.659375 | 0.673754 | 0 | 0 | 0.820034 | 0 | 0 | 0.08294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006791 | 0 | 0.006791 | 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 |
123ee8c896da4e9b7666f65188e490e9587df1f3 | 227 | py | Python | universe/wrappers/experimental/__init__.py | BitJetKit/universe | cc9ce6ec241821bfb0f3b85dd455bd36e4ee7a8c | [
"MIT"
] | 8,120 | 2016-12-05T06:37:45.000Z | 2022-03-21T14:45:20.000Z | universe/wrappers/experimental/__init__.py | BitJetKit/universe | cc9ce6ec241821bfb0f3b85dd455bd36e4ee7a8c | [
"MIT"
] | 213 | 2016-12-05T09:57:37.000Z | 2018-04-05T18:55:14.000Z | universe/wrappers/experimental/__init__.py | BitJetKit/universe | cc9ce6ec241821bfb0f3b85dd455bd36e4ee7a8c | [
"MIT"
] | 1,140 | 2016-12-05T06:50:43.000Z | 2022-03-23T08:28:32.000Z | from universe.wrappers.experimental.action_space import SafeActionSpace, SoftmaxClickMouse
from universe.wrappers.experimental.observation import CropObservations
from universe.wrappers.experimental.random_env import RandomEnv
| 56.75 | 90 | 0.898678 | 24 | 227 | 8.416667 | 0.583333 | 0.178218 | 0.29703 | 0.475248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057269 | 227 | 3 | 91 | 75.666667 | 0.943925 | 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 |
d605ed466c93c77c50ca80efd8af6d3dddcf172b | 217 | py | Python | upsilont/features/__init__.py | dwkim78/UPSILoN-T | 839ebb31360195f4cd668e255ede4ed14a46ba61 | [
"MIT"
] | 3 | 2021-09-09T06:16:15.000Z | 2021-12-17T04:40:57.000Z | upsilont/features/__init__.py | dwkim78/UPSILoN-T | 839ebb31360195f4cd668e255ede4ed14a46ba61 | [
"MIT"
] | null | null | null | upsilont/features/__init__.py | dwkim78/UPSILoN-T | 839ebb31360195f4cd668e255ede4ed14a46ba61 | [
"MIT"
] | null | null | null | from upsilont.features.variability_features import VariabilityFeatures
from upsilont.features.variability_features import get_train_feature_name
from upsilont.features.variability_features import get_all_feature_name
| 54.25 | 73 | 0.917051 | 27 | 217 | 7.037037 | 0.407407 | 0.189474 | 0.315789 | 0.489474 | 0.742105 | 0.742105 | 0.505263 | 0 | 0 | 0 | 0 | 0 | 0.0553 | 217 | 3 | 74 | 72.333333 | 0.926829 | 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 | 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 | 8 |
d61afc3936f6aee300252b6acf97bfac6bf35f46 | 3,366 | py | Python | sensitivity_general.py | kwabenaOwusu/CovidInterventionsABM | 08a92501d9390ae1a6696f61a54a17ee2bdc20fa | [
"Apache-2.0"
] | null | null | null | sensitivity_general.py | kwabenaOwusu/CovidInterventionsABM | 08a92501d9390ae1a6696f61a54a17ee2bdc20fa | [
"Apache-2.0"
] | null | null | null | sensitivity_general.py | kwabenaOwusu/CovidInterventionsABM | 08a92501d9390ae1a6696f61a54a17ee2bdc20fa | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
simulations for sensitivity to results
Author: Kwabena Afriyie Owusu
Date: May, 2020
"""
import csv
import time as mytime
############################################ENVIRONMENT###################################################################################
exec... | 40.554217 | 161 | 0.587047 | 396 | 3,366 | 4.89899 | 0.305556 | 0.043299 | 0.026804 | 0.024742 | 0.853608 | 0.853608 | 0.853608 | 0.853608 | 0.853608 | 0.853608 | 0 | 0.017765 | 0.197267 | 3,366 | 82 | 162 | 41.04878 | 0.700222 | 0.308972 | 0 | 0.88 | 0 | 0 | 0.174027 | 0.058885 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.04 | 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 |
c3b2ccaed97ad8dd324b3738ec70e205e8c38d70 | 9,675 | py | Python | Code/combined.py | Karan-Malik/Smart-Attendance-and-Engagement-Detection-System | c7b1a64026fcf43bdcee83c36d7001c2a99d1d86 | [
"MIT"
] | null | null | null | Code/combined.py | Karan-Malik/Smart-Attendance-and-Engagement-Detection-System | c7b1a64026fcf43bdcee83c36d7001c2a99d1d86 | [
"MIT"
] | null | null | null | Code/combined.py | Karan-Malik/Smart-Attendance-and-Engagement-Detection-System | c7b1a64026fcf43bdcee83c36d7001c2a99d1d86 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Dec 8 18:59:42 2021
@author: karan
"""
import datetime
import os
import time
import cv2
import pandas as pd
from scipy.spatial import distance as dist
from imutils.video import VideoStream
from imutils import face_utils
from threading import Thread
import numpy as np
import... | 34.677419 | 92 | 0.557209 | 1,238 | 9,675 | 4.263328 | 0.178514 | 0.01061 | 0.025009 | 0.025578 | 0.876658 | 0.873816 | 0.8687 | 0.868321 | 0.855817 | 0.838386 | 0 | 0.060047 | 0.289096 | 9,675 | 279 | 93 | 34.677419 | 0.707328 | 0.029044 | 0 | 0.779904 | 0 | 0 | 0.068245 | 0.012796 | 0 | 0 | 0.000427 | 0 | 0 | 1 | 0.019139 | false | 0 | 0.066986 | 0 | 0.090909 | 0.019139 | 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 |
c3d9660e52447381917756a20d16f9d97323e3b1 | 13,587 | py | Python | mkconfig/tests/test_cement_cli.py | mcfongtw/MkConfig | 2015ad46352a1c7b42b510369f410e98c52df53b | [
"MIT"
] | 1 | 2016-11-29T13:41:21.000Z | 2016-11-29T13:41:21.000Z | mkconfig/tests/test_cement_cli.py | mcfongtw/MkConfig | 2015ad46352a1c7b42b510369f410e98c52df53b | [
"MIT"
] | null | null | null | mkconfig/tests/test_cement_cli.py | mcfongtw/MkConfig | 2015ad46352a1c7b42b510369f410e98c52df53b | [
"MIT"
] | null | null | null | import os
from mkconfig.conf.utils import Utils
from mkconfig.env import setup_logging_with_details, Configurations
import logging
from cement.utils import test
setup_logging_with_details()
logger = logging.getLogger(__name__)
from mkconfig.core.cli import MkConfigApp
class TestMkConfigApp(test.CementTestCase):
... | 42.459375 | 97 | 0.640612 | 1,395 | 13,587 | 5.969892 | 0.080287 | 0.080692 | 0.10951 | 0.121037 | 0.903338 | 0.903338 | 0.903338 | 0.895653 | 0.893612 | 0.891571 | 0 | 0.000745 | 0.209539 | 13,587 | 319 | 98 | 42.592476 | 0.774674 | 0.005226 | 0 | 0.834646 | 0 | 0 | 0.217616 | 0.119134 | 0 | 0 | 0 | 0 | 0.318898 | 1 | 0.047244 | false | 0 | 0.023622 | 0 | 0.082677 | 0.003937 | 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 |
c3de35d8d16a506ba39e16c2eab1f0179abf0ca8 | 6,911 | py | Python | src/tests/datastructures/test_mergefindsets.py | DavidLlorens/algoritmia | 40ca0a89ea6de9b633fa5f697f0a28cae70816a2 | [
"MIT"
] | 6 | 2018-09-15T15:09:10.000Z | 2022-02-27T01:23:11.000Z | src/tests/datastructures/test_mergefindsets.py | JeromeIllgner/algoritmia | 406afe7206f2411557859bf03480c16db7dcce0d | [
"MIT"
] | null | null | null | src/tests/datastructures/test_mergefindsets.py | JeromeIllgner/algoritmia | 406afe7206f2411557859bf03480c16db7dcce0d | [
"MIT"
] | 5 | 2018-07-10T20:19:55.000Z | 2021-03-31T03:32:22.000Z | #coding: latin1
import unittest
from algoritmia.datastructures.mergefindsets import (NaiveMergeFindSet, RankUnionMFset,
PathCompressionMFset, MergeFindSet)
from algoritmia.datastructures.maps import IntKeyMap
class TestNaiveMFset(unittest.TestCase):
de... | 42.925466 | 125 | 0.544784 | 1,053 | 6,911 | 3.561254 | 0.058879 | 0.104 | 0.1232 | 0.1344 | 0.878133 | 0.878133 | 0.878133 | 0.8408 | 0.8408 | 0.8408 | 0 | 0.059938 | 0.297497 | 6,911 | 161 | 126 | 42.925466 | 0.712461 | 0.008248 | 0 | 0.874126 | 0 | 0 | 0.001195 | 0 | 0 | 0 | 0 | 0 | 0.300699 | 1 | 0.076923 | false | 0 | 0.020979 | 0 | 0.125874 | 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 |
616e850e10a42a292c087a4d15f7fbd13f3cf806 | 43,368 | py | Python | test/test_polar_decoding.py | NVlabs/sionna | 488e6c3ff6ff2b3313d0ca0f94e4247b8dd6ff35 | [
"Apache-2.0"
] | 163 | 2022-03-22T19:47:47.000Z | 2022-03-31T23:56:45.000Z | test/test_polar_decoding.py | NVlabs/sionna | 488e6c3ff6ff2b3313d0ca0f94e4247b8dd6ff35 | [
"Apache-2.0"
] | 2 | 2022-03-24T12:43:07.000Z | 2022-03-29T07:17:16.000Z | test/test_polar_decoding.py | NVlabs/sionna | 488e6c3ff6ff2b3313d0ca0f94e4247b8dd6ff35 | [
"Apache-2.0"
] | 19 | 2022-03-23T02:31:22.000Z | 2022-03-30T06:35:12.000Z | #
# SPDX-FileCopyrightText: Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
try:
import sionna
except ImportError as e:
import sys
sys.path.append("../")
import tensorflow as tf
gpus = tf.config.list_physical_devices('GPU')
print('Number ... | 34.419048 | 103 | 0.502767 | 5,344 | 43,368 | 3.901759 | 0.075973 | 0.043595 | 0.030982 | 0.03549 | 0.843509 | 0.817227 | 0.795885 | 0.774207 | 0.760059 | 0.745576 | 0 | 0.041742 | 0.39181 | 43,368 | 1,259 | 104 | 34.446386 | 0.748787 | 0.156982 | 0 | 0.813517 | 0 | 0 | 0.01804 | 0 | 0 | 0 | 0 | 0 | 0.075094 | 1 | 0.061327 | false | 0 | 0.017522 | 0.011264 | 0.097622 | 0.005006 | 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 |
6182f7cf6f0715951cf7dcdb4e20317c20da3789 | 132 | py | Python | contacts/processors.py | phildini/logtacts | 2cfc1d93a6ec7535b57a42b46b7d8c5c09a4729b | [
"MIT"
] | 56 | 2016-02-22T16:12:53.000Z | 2021-01-12T20:59:02.000Z | contacts/processors.py | phildini/logtacts | 2cfc1d93a6ec7535b57a42b46b7d8c5c09a4729b | [
"MIT"
] | 107 | 2016-01-04T00:49:37.000Z | 2021-11-18T18:27:24.000Z | contacts/processors.py | phildini/logtacts | 2cfc1d93a6ec7535b57a42b46b7d8c5c09a4729b | [
"MIT"
] | 23 | 2016-01-04T00:54:09.000Z | 2021-07-09T15:23:15.000Z | def book(request):
if hasattr(request, 'current_book'):
return {'book': request.current_book}
return {'book': None } | 33 | 45 | 0.643939 | 16 | 132 | 5.1875 | 0.5 | 0.26506 | 0.433735 | 0.578313 | 0.674699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 132 | 4 | 46 | 33 | 0.790476 | 0 | 0 | 0 | 0 | 0 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
61867cdcb6b7942ca218c64a687a15ae71f5896b | 48,126 | py | Python | run_enc.py | OPDIHI/op-run | 500b5fd0055952b6da5c37767f0be46154c33c6f | [
"Apache-2.0"
] | null | null | null | run_enc.py | OPDIHI/op-run | 500b5fd0055952b6da5c37767f0be46154c33c6f | [
"Apache-2.0"
] | null | null | null | run_enc.py | OPDIHI/op-run | 500b5fd0055952b6da5c37767f0be46154c33c6f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# Authot : Khamdihi & nisa-xd
# Hargai author :(
import base64
exec(base64.b64decode('IyEvdXNyL2Jpbi9weXRob24zCiMgQXV0aG9yIDogS2hhbWRpaGkgeGNyYWNrCiMgQXV0aHVyIDIgOiBOSVNBLVhECiMgV0FKSUIgU1VTQ1JJQkUgQ0hFTkVMIEFLVSA6KQojIENpZSBkaSBqZWJvbAojIyMgTU9EVUxFIElNUE9SVAppbXBvcnQgcmVxdWVzdHMsbWVjaGFuaXplLGJzNC... | 6,875.142857 | 48,042 | 0.998317 | 60 | 48,126 | 800.75 | 0.983333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096173 | 0.000312 | 48,126 | 6 | 48,043 | 8,021 | 0.902455 | 0.001288 | 0 | 0 | 0 | 0.5 | 0.999064 | 0.999064 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
618b1bf0869ce49ac7277f3ac8220f7be736ad1e | 173 | py | Python | temboo/core/Library/Kiva/LendingActions/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Kiva/LendingActions/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Kiva/LendingActions/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Kiva.LendingActions.GetRecentLending import GetRecentLending, GetRecentLendingInputSet, GetRecentLendingResultSet, GetRecentLendingChoreographyExecution
| 86.5 | 172 | 0.919075 | 11 | 173 | 14.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040462 | 173 | 1 | 173 | 173 | 0.957831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
619b7d45cfbe9cf1f63e3449354d6baa22a4dbe0 | 202 | py | Python | e2edet/criterion/__init__.py | eladb3/BoxeR | 995a38b67e3f84b5d6ea6fedbcb16896c4b1d020 | [
"MIT"
] | 18 | 2022-03-24T16:15:09.000Z | 2022-03-31T18:17:41.000Z | e2edet/criterion/__init__.py | eladb3/BoxeR | 995a38b67e3f84b5d6ea6fedbcb16896c4b1d020 | [
"MIT"
] | 3 | 2022-03-28T12:34:34.000Z | 2022-03-30T06:21:21.000Z | e2edet/criterion/__init__.py | eladb3/BoxeR | 995a38b67e3f84b5d6ea6fedbcb16896c4b1d020 | [
"MIT"
] | 2 | 2022-03-29T08:29:11.000Z | 2022-03-30T03:06:17.000Z | import e2edet.criterion.metrics
import e2edet.criterion.losses
from e2edet.criterion.metrics import build_metric
from e2edet.criterion.losses import build_loss
__all__ = ["build_metric", "build_loss"]
| 28.857143 | 49 | 0.836634 | 27 | 202 | 5.962963 | 0.37037 | 0.372671 | 0.26087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.084158 | 202 | 6 | 50 | 33.666667 | 0.848649 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9ca10a6815e43be7463b06fccd42d6a170018882 | 110,435 | py | Python | sdk/python/pulumi_alicloud/ess/scaling_configuration.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/ess/scaling_configuration.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/ess/scaling_configuration.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.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... | 58.524112 | 404 | 0.686395 | 14,103 | 110,435 | 5.170957 | 0.028788 | 0.081 | 0.085978 | 0.058827 | 0.973645 | 0.968269 | 0.9624 | 0.959946 | 0.958876 | 0.946055 | 0 | 0.005434 | 0.213492 | 110,435 | 1,886 | 405 | 58.555143 | 0.834166 | 0.387649 | 0 | 0.922676 | 1 | 0.010426 | 0.142221 | 0.045056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166811 | false | 0.06603 | 0.006082 | 0 | 0.272806 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
1432d55987d68dab77a5419b9571948f6f613e39 | 53,711 | py | Python | livelayermanager/models.py | parksandwildlife/borgcollector | dab9464f2e58c7dbc039b4805bb894b168547938 | [
"BSD-3-Clause"
] | 2 | 2016-01-20T02:26:06.000Z | 2016-02-16T02:47:24.000Z | livelayermanager/models.py | parksandwildlife/borgcollector | dab9464f2e58c7dbc039b4805bb894b168547938 | [
"BSD-3-Clause"
] | 4 | 2020-02-11T23:40:10.000Z | 2021-09-22T04:27:50.000Z | livelayermanager/models.py | dbca-wa/borgcollector | dab9464f2e58c7dbc039b4805bb894b168547938 | [
"BSD-3-Clause"
] | 4 | 2016-01-12T02:10:14.000Z | 2017-11-09T13:53:16.000Z | from __future__ import unicode_literals
import re
import json
import logging
import shutil
import os
import hglib
from datetime import datetime
import requests
from django.conf import settings
from django.db import models
from django.contrib.postgres.fields import HStoreField
from django.utils import timezone
from dja... | 45.249368 | 213 | 0.627246 | 6,312 | 53,711 | 5.112959 | 0.063688 | 0.033217 | 0.04276 | 0.031605 | 0.855948 | 0.828866 | 0.805069 | 0.783999 | 0.762588 | 0.75292 | 0 | 0.003157 | 0.262758 | 53,711 | 1,186 | 214 | 45.287521 | 0.811859 | 0.039806 | 0 | 0.766629 | 0 | 0 | 0.10027 | 0.006284 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060879 | false | 0.011274 | 0.031567 | 0.018038 | 0.192785 | 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 |
1477a17b20b1ddf28b0c375589b36b88e86ef523 | 7,824 | py | Python | General_Laplace.py | Blue-Giant/SubspaceDNN_tf1Class | 522ec508caba6f3d722eee19c748d1b1cbe40d4f | [
"MIT"
] | 1 | 2021-12-29T05:00:48.000Z | 2021-12-29T05:00:48.000Z | General_Laplace.py | Blue-Giant/SubspaceDNN_tf1Class | 522ec508caba6f3d722eee19c748d1b1cbe40d4f | [
"MIT"
] | null | null | null | General_Laplace.py | Blue-Giant/SubspaceDNN_tf1Class | 522ec508caba6f3d722eee19c748d1b1cbe40d4f | [
"MIT"
] | 1 | 2021-01-22T08:10:58.000Z | 2021-01-22T08:10:58.000Z | import tensorflow as tf
import numpy as np
def get_infos2Laplace_1D(input_dim=1, out_dim=1, intervalL=0.0, intervalR=1.0, equa_name=None):
# -uxx = f
if equa_name == 'PDE1':
# u=sin(pi*x), f=-pi*pi*sin(pi*x)
fside = lambda x: -(np.pi)*(np.pi)*tf.sin(np.pi*x)
utrue = lambda x: ... | 63.096774 | 143 | 0.55432 | 1,655 | 7,824 | 2.505136 | 0.05136 | 0.091655 | 0.148577 | 0.191028 | 0.930777 | 0.905933 | 0.865171 | 0.841052 | 0.740232 | 0.687168 | 0 | 0.046492 | 0.238497 | 7,824 | 124 | 144 | 63.096774 | 0.649379 | 0.057771 | 0 | 0.163043 | 0 | 0 | 0.005529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.021739 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1483df347ce938353325c6a9a2bc8e1504d6338b | 205 | py | Python | django-web-parser/keywords/exceptions.py | sterenczak-marek/django-web-parser | 6e4b5bd34a9fe0c6908edf701a3c254cafd275bf | [
"MIT"
] | null | null | null | django-web-parser/keywords/exceptions.py | sterenczak-marek/django-web-parser | 6e4b5bd34a9fe0c6908edf701a3c254cafd275bf | [
"MIT"
] | null | null | null | django-web-parser/keywords/exceptions.py | sterenczak-marek/django-web-parser | 6e4b5bd34a9fe0c6908edf701a3c254cafd275bf | [
"MIT"
] | null | null | null |
class NoKeywordsException(Exception):
"""Website does not contains any keywords in <meta> tag"""
pass
class BadURLException(Exception):
"""Website does not exists in a given URL"""
pass
| 20.5 | 62 | 0.697561 | 25 | 205 | 5.72 | 0.72 | 0.223776 | 0.27972 | 0.321678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204878 | 205 | 9 | 63 | 22.777778 | 0.877301 | 0.443902 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
1ae3789d9a407a1791c52cadab2be9771586c06c | 34,383 | py | Python | nova/tests/api/openstack/test_versions.py | armaan/nova | 22859fccb95502efcb73ecf2bd827c45c0886bd3 | [
"Apache-2.0"
] | null | null | null | nova/tests/api/openstack/test_versions.py | armaan/nova | 22859fccb95502efcb73ecf2bd827c45c0886bd3 | [
"Apache-2.0"
] | null | null | null | nova/tests/api/openstack/test_versions.py | armaan/nova | 22859fccb95502efcb73ecf2bd827c45c0886bd3 | [
"Apache-2.0"
] | null | null | null | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010-2011 OpenStack LLC.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache... | 39.116041 | 79 | 0.491551 | 3,381 | 34,383 | 4.931973 | 0.071872 | 0.133133 | 0.050375 | 0.041979 | 0.870945 | 0.812534 | 0.782549 | 0.75994 | 0.73961 | 0.714543 | 0 | 0.042184 | 0.360178 | 34,383 | 878 | 80 | 39.160592 | 0.715805 | 0.019312 | 0 | 0.633333 | 0 | 0 | 0.233322 | 0.056372 | 0 | 0 | 0 | 0 | 0.215385 | 0 | null | null | 0 | 0.016667 | null | null | 0.001282 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1af1f3c392c4523de79a8d50da739869f73ad4a9 | 5,473 | py | Python | model.py | lFatality/tensorflow2caffe | f03c2a47f01a0a40e3f76f1fb5d721413d39c66d | [
"MIT"
] | 115 | 2018-04-08T08:58:29.000Z | 2022-01-25T07:27:13.000Z | model.py | lFatality/tensorflow2caffe | f03c2a47f01a0a40e3f76f1fb5d721413d39c66d | [
"MIT"
] | 2 | 2019-02-19T05:43:07.000Z | 2019-07-16T09:12:01.000Z | model.py | lFatality/tensorflow2caffe | f03c2a47f01a0a40e3f76f1fb5d721413d39c66d | [
"MIT"
] | 33 | 2018-04-05T08:20:54.000Z | 2022-03-11T12:33:27.000Z | from tflearn import input_data, conv_2d, max_pool_2d, fully_connected, dropout, Momentum, regression, DNN
#model of vgg-19
def vgg_net_19(width, height):
network = input_data(shape=[None, height, width, 3], name='input')
network = conv_2d(network, 64, 3, activation = 'relu', regularizer='L2', weight_decay=5e-4... | 70.166667 | 126 | 0.704184 | 791 | 5,473 | 4.71555 | 0.125158 | 0.096515 | 0.13244 | 0.142627 | 0.896515 | 0.896515 | 0.896515 | 0.896515 | 0.896515 | 0.896515 | 0 | 0.076012 | 0.151471 | 5,473 | 77 | 127 | 71.077922 | 0.727175 | 0.05116 | 0 | 0.876923 | 0 | 0 | 0.056658 | 0.00925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.015385 | 0 | 0.076923 | 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 |
2110b2bac00cf37d6e46f2032cf16abfa528ca5f | 2,269 | py | Python | social_media_crawling/models.py | diahnuri/TMSS | 3eaf3c94befc8b46d671b34f88b0e295d19d9f72 | [
"MIT"
] | 1 | 2021-01-04T17:06:02.000Z | 2021-01-04T17:06:02.000Z | social_media_crawling/models.py | diahnuri/TMSS | 3eaf3c94befc8b46d671b34f88b0e295d19d9f72 | [
"MIT"
] | null | null | null | social_media_crawling/models.py | diahnuri/TMSS | 3eaf3c94befc8b46d671b34f88b0e295d19d9f72 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Crawl(models.Model):
name = models.CharField(max_length=100)
content = models.CharField(max_length=140)
c_at = models.DateField()
#Retweet = models.CharField(max_length=100)
#hashtag = models.CharField(max_length=100)
def _str_... | 33.865672 | 91 | 0.700309 | 286 | 2,269 | 5.426573 | 0.181818 | 0.173969 | 0.208763 | 0.278351 | 0.822165 | 0.761598 | 0.739691 | 0.739691 | 0.657216 | 0.630155 | 0 | 0.030369 | 0.187307 | 2,269 | 66 | 92 | 34.378788 | 0.81128 | 0.052446 | 0 | 0.702128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12766 | false | 0 | 0.021277 | 0.12766 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
213c6a610e4855cc2fb97d533d51a79607f99913 | 118 | py | Python | libaarhusxyz/__init__.py | emerald-geomodelling/libaarhusxyz | c16b49d6d71fdee5c0f4a7e67fadc3e5e6ffb5df | [
"MIT"
] | null | null | null | libaarhusxyz/__init__.py | emerald-geomodelling/libaarhusxyz | c16b49d6d71fdee5c0f4a7e67fadc3e5e6ffb5df | [
"MIT"
] | 5 | 2021-08-13T11:28:05.000Z | 2022-02-14T12:05:43.000Z | libaarhusxyz/__init__.py | emerald-geomodelling/libaarhusxyz | c16b49d6d71fdee5c0f4a7e67fadc3e5e6ffb5df | [
"MIT"
] | 1 | 2021-12-23T12:36:25.000Z | 2021-12-23T12:36:25.000Z | from .xyz import parse
from .xyz import dump
from .sr2 import parse as parse_sr2
from .gex import parse as parse_gex
| 19.666667 | 35 | 0.788136 | 22 | 118 | 4.136364 | 0.363636 | 0.362637 | 0.285714 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.177966 | 118 | 5 | 36 | 23.6 | 0.917526 | 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 | 0 | 0 | 0 | 7 |
213dbf883785502b6cb5abdb60900efc1aa1e694 | 4,717 | py | Python | DSFS-Email-Spam.py | Anon6372098/AnonEmailSpammer | 657763dd613b123180cc80e1d0bbf5384753757e | [
"MIT"
] | 10 | 2018-10-29T09:17:38.000Z | 2020-03-07T01:35:19.000Z | DSFS-Email-Spam.py | mfazrinizar/AnonEmailSpammer | 657763dd613b123180cc80e1d0bbf5384753757e | [
"MIT"
] | null | null | null | DSFS-Email-Spam.py | mfazrinizar/AnonEmailSpammer | 657763dd613b123180cc80e1d0bbf5384753757e | [
"MIT"
] | 2 | 2020-11-19T10:49:10.000Z | 2021-01-15T03:36:00.000Z | import marshal
exec(marshal.loads('''c\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00@\x00\x00\x00s\x9a\x02\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x00\x00d\x01\x00l\x02\x00Z\x02\x00d\x00\x00d\x01\x00l\x03\x00Z\x03\x00e\x00\x00j\x04\x00d\x02\x00\x83\x01\x00\x01e\x00\x00j\x04\x0... | 2,358.5 | 4,702 | 0.771041 | 992 | 4,717 | 3.66129 | 0.207661 | 0.194934 | 0.076817 | 0.049559 | 0.197412 | 0.146751 | 0.098844 | 0.092236 | 0.073513 | 0.065253 | 0 | 0.359118 | 0.018868 | 4,717 | 2 | 4,702 | 2,358.5 | 0.42567 | 0 | 0 | 0 | 0 | 0.5 | 0.990886 | 0.909072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 11 |
21473adc75cb97812454f1cf89ee6182bc74876b | 87,569 | py | Python | sdk/python/tensorflow_metadata/proto/v0/statistics_pb2.py | Mwad22/feast | 6a09d49e2e7bc105c86f1789c765d89e452af0b0 | [
"Apache-2.0"
] | 1 | 2021-09-16T16:17:58.000Z | 2021-09-16T16:17:58.000Z | sdk/python/tensorflow_metadata/proto/v0/statistics_pb2.py | Mwad22/feast | 6a09d49e2e7bc105c86f1789c765d89e452af0b0 | [
"Apache-2.0"
] | 4 | 2021-07-21T22:33:16.000Z | 2022-03-17T22:47:02.000Z | sdk/python/tensorflow_metadata/proto/v0/statistics_pb2.py | Mwad22/feast | 6a09d49e2e7bc105c86f1789c765d89e452af0b0 | [
"Apache-2.0"
] | 2 | 2021-07-26T14:10:47.000Z | 2021-08-11T11:12:05.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tensorflow_metadata/proto/v0/statistics.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as... | 49.896866 | 7,630 | 0.775069 | 10,876 | 87,569 | 5.891596 | 0.039904 | 0.043073 | 0.067013 | 0.060677 | 0.80951 | 0.776269 | 0.728452 | 0.685254 | 0.64964 | 0.631163 | 0 | 0.035981 | 0.107858 | 87,569 | 1,754 | 7,631 | 49.925314 | 0.784215 | 0.024952 | 0 | 0.702128 | 1 | 0.020061 | 0.19304 | 0.152373 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00304 | 0 | 0.00304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
214a7bdd0a4052375504fa571b75f9ea47f8d2e2 | 3,029 | py | Python | bvspca/core/migrations/0017_auto_20171229_1052.py | rds0751/bvspca | f80eb90938f9db81d5c72a25aaa98869bbd6663a | [
"MIT"
] | 10 | 2019-02-25T07:06:09.000Z | 2022-03-23T08:12:06.000Z | bvspca/core/migrations/0017_auto_20171229_1052.py | rds0751/bvspca | f80eb90938f9db81d5c72a25aaa98869bbd6663a | [
"MIT"
] | 18 | 2021-03-08T18:38:04.000Z | 2021-08-20T14:16:37.000Z | bvspca/core/migrations/0017_auto_20171229_1052.py | rds0751/bvspca | f80eb90938f9db81d5c72a25aaa98869bbd6663a | [
"MIT"
] | 3 | 2019-01-29T05:14:22.000Z | 2021-02-18T11:58:34.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2017-12-29 17:52
from __future__ import unicode_literals
from django.db import migrations
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [
('core', '0016_auto... | 77.666667 | 619 | 0.710135 | 354 | 3,029 | 5.966102 | 0.211864 | 0.161458 | 0.20928 | 0.19697 | 0.756155 | 0.74053 | 0.721117 | 0.703598 | 0.703598 | 0.703598 | 0 | 0.026642 | 0.120172 | 3,029 | 38 | 620 | 79.710526 | 0.765854 | 0.02245 | 0 | 0.451613 | 1 | 0 | 0.108519 | 0.017918 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.16129 | 0 | 0.258065 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dcbc66679607540042517ad3aa52e6335a54af3d | 2,696 | py | Python | src/api/migrations/0003_auto_20220328_0004.py | IkramKhan-DevOps/cs-neuro-ai | 99958131bba526b1e551274540a7b414fc1c9e43 | [
"MIT"
] | null | null | null | src/api/migrations/0003_auto_20220328_0004.py | IkramKhan-DevOps/cs-neuro-ai | 99958131bba526b1e551274540a7b414fc1c9e43 | [
"MIT"
] | null | null | null | src/api/migrations/0003_auto_20220328_0004.py | IkramKhan-DevOps/cs-neuro-ai | 99958131bba526b1e551274540a7b414fc1c9e43 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.12 on 2022-03-27 19:04
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0002_auto_20220327_2250'),
]
operations = [
migrations.AddField(
model_name='predication',
name='avg_vocal_f... | 30.292135 | 129 | 0.545623 | 231 | 2,696 | 6.242424 | 0.294372 | 0.09362 | 0.208044 | 0.249653 | 0.767684 | 0.767684 | 0.710125 | 0.710125 | 0.710125 | 0.710125 | 0 | 0.029809 | 0.340504 | 2,696 | 88 | 130 | 30.636364 | 0.781215 | 0.017062 | 0 | 0.707317 | 1 | 0 | 0.153323 | 0.043807 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012195 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b49af44fbdbc414586b26d4e98f07091e805a838 | 2,913 | py | Python | NNServer/test/test_app.py | yinkn/iam_plus | 9b3912147e3a66cf3726ce074d03372d873c3c79 | [
"Apache-2.0"
] | null | null | null | NNServer/test/test_app.py | yinkn/iam_plus | 9b3912147e3a66cf3726ce074d03372d873c3c79 | [
"Apache-2.0"
] | null | null | null | NNServer/test/test_app.py | yinkn/iam_plus | 9b3912147e3a66cf3726ce074d03372d873c3c79 | [
"Apache-2.0"
] | null | null | null | """
curl -i -X POST -H "Content-Type:application/json" http://localhost:5000/train -d '{"userName":"TEST1","dataset":[[-15, -57, 88, 50, 16, 83, 198, 16, -70],[202, -53, 140, 134, 0, 84, 165, -16, -15],[15, -67, 96, 108, 0, 79, 212, -16, -23],[16, -67, 126, 119, -15, 67, 258, -16, -16],[53, -65, 155, 59, 15, 65, 179,... | 60.6875 | 657 | 0.599382 | 487 | 2,913 | 3.544148 | 0.293635 | 0.044612 | 0.089224 | 0.105446 | 0.84299 | 0.84299 | 0.84299 | 0.84299 | 0.793163 | 0.793163 | 0 | 0.31367 | 0.156196 | 2,913 | 48 | 658 | 60.6875 | 0.388527 | 0.28184 | 0 | 0.357143 | 0 | 0 | 0.131509 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.107143 | false | 0.107143 | 0.214286 | 0 | 0.357143 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
b4a5887c593bd7a9995f589acd3bd2b7aaa0fab9 | 10,959 | py | Python | python/paddle/fluid/tests/unittests/rnn/test_rnn_cells_static.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | python/paddle/fluid/tests/unittests/rnn/test_rnn_cells_static.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/rnn/test_rnn_cells_static.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-09-24T11:23:36.000Z | 2021-09-24T11:23:36.000Z | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 32.423077 | 78 | 0.543024 | 1,374 | 10,959 | 4.171033 | 0.127365 | 0.056535 | 0.050253 | 0.024429 | 0.815739 | 0.808759 | 0.808759 | 0.804572 | 0.804572 | 0.804572 | 0 | 0.032537 | 0.346564 | 10,959 | 337 | 79 | 32.519288 | 0.76777 | 0.053198 | 0 | 0.845238 | 0 | 0 | 0.010519 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 1 | 0.063492 | false | 0 | 0.019841 | 0 | 0.099206 | 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 |
3712335ae939dba7956a85dc7c21985b464e89e6 | 167 | py | Python | openprocurement/auction/esco/tests/unit/constants.py | ProzorroUKR/openprocurement.auction.esco | 16a127ac7fc47cacaaf5f2eb708ea8b273e57e56 | [
"Apache-2.0"
] | null | null | null | openprocurement/auction/esco/tests/unit/constants.py | ProzorroUKR/openprocurement.auction.esco | 16a127ac7fc47cacaaf5f2eb708ea8b273e57e56 | [
"Apache-2.0"
] | 3 | 2017-10-26T12:42:01.000Z | 2017-11-06T10:41:49.000Z | openprocurement/auction/esco/tests/unit/constants.py | ProzorroUKR/openprocurement.auction.esco | 16a127ac7fc47cacaaf5f2eb708ea8b273e57e56 | [
"Apache-2.0"
] | 4 | 2017-07-10T12:03:38.000Z | 2017-09-08T10:19:46.000Z | # -*- coding: utf-8 -*-
AUCTIONS = {
'simple': 'openprocurement.auction.esco.auctions.simple',
'multilot': 'openprocurement.auction.esco.auctions.multilot',
}
| 27.833333 | 65 | 0.682635 | 16 | 167 | 7.125 | 0.5625 | 0.245614 | 0.45614 | 0.596491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.125749 | 167 | 5 | 66 | 33.4 | 0.773973 | 0.125749 | 0 | 0 | 0 | 0 | 0.722222 | 0.625 | 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 |
371a7cc400c462cf1dca069f018e5edc96e2416f | 21 | py | Python | examples/pow/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/pow/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/pow/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print(pow(9, 2, 10))
| 10.5 | 20 | 0.571429 | 5 | 21 | 2.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.142857 | 21 | 1 | 21 | 21 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
2ea493d0cbc97ff0a0f616e85f249f00b761bc0e | 37 | py | Python | CodeUP/Python basic 100/6014.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | CodeUP/Python basic 100/6014.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | CodeUP/Python basic 100/6014.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | a=input()
print(a)
print(a)
print(a)
| 7.4 | 9 | 0.648649 | 8 | 37 | 3 | 0.375 | 0.75 | 0.916667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 4 | 10 | 9.25 | 0.727273 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 1 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
25780db4692e674790e97af9cecf8bcad78c70b0 | 20,945 | py | Python | lib/doekbase/data_api/tests/test_genome_annotation_api.py | scanon/data_api2 | f453a8e544cb4052feb56f4cf77ba79122aeedf8 | [
"MIT"
] | null | null | null | lib/doekbase/data_api/tests/test_genome_annotation_api.py | scanon/data_api2 | f453a8e544cb4052feb56f4cf77ba79122aeedf8 | [
"MIT"
] | null | null | null | lib/doekbase/data_api/tests/test_genome_annotation_api.py | scanon/data_api2 | f453a8e544cb4052feb56f4cf77ba79122aeedf8 | [
"MIT"
] | null | null | null | """
Unit tests for genome_annotation
"""
import logging
from unittest import skipUnless
from . import shared
from doekbase.data_api.annotation.genome_annotation.api import GenomeAnnotationAPI
from doekbase.data_api.annotation.genome_annotation.api import _KBaseGenomes_Genome
from doekbase.data_api.annotation.genome_a... | 39.593573 | 120 | 0.707233 | 3,387 | 20,945 | 3.967228 | 0.028934 | 0.037211 | 0.054179 | 0.077398 | 0.957952 | 0.951031 | 0.942919 | 0.9325 | 0.9325 | 0.91129 | 0 | 0.027962 | 0.159943 | 20,945 | 528 | 121 | 39.668561 | 0.73572 | 0.004201 | 0 | 0.766423 | 0 | 0 | 0.163291 | 0.028991 | 0 | 0 | 0 | 0 | 0.131387 | 1 | 0.124088 | false | 0 | 0.021898 | 0 | 0.145985 | 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 |
259b5cb666ef26caa9bb85d71cbadd9be9423373 | 105 | py | Python | OpenAttack/exceptions/classifier.py | zangy17/OpenAttack | 9114a8af12680f14684d2bf1bc6a5c5e34f8932c | [
"MIT"
] | 10 | 2021-12-01T15:35:05.000Z | 2022-03-16T16:10:24.000Z | OpenAttack/exceptions/classifier.py | zangy17/OpenAttack | 9114a8af12680f14684d2bf1bc6a5c5e34f8932c | [
"MIT"
] | null | null | null | OpenAttack/exceptions/classifier.py | zangy17/OpenAttack | 9114a8af12680f14684d2bf1bc6a5c5e34f8932c | [
"MIT"
] | 1 | 2020-09-01T11:14:42.000Z | 2020-09-01T11:14:42.000Z | from ..exception import AttackException
class ClassifierNotSupportException(AttackException):
pass
| 17.5 | 53 | 0.828571 | 8 | 105 | 10.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 5 | 54 | 21 | 0.945652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
25a3040eff6e2fed548a0b31e4eb31ee4032301e | 960 | py | Python | sprezz/views/oauth2.py | oohlaf/sprezz | 3f5c6e323c53994114e91d6d22d2fc9db3da653b | [
"Apache-2.0"
] | 1 | 2018-04-03T21:10:23.000Z | 2018-04-03T21:10:23.000Z | sprezz/views/oauth2.py | oohlaf/sprezz | 3f5c6e323c53994114e91d6d22d2fc9db3da653b | [
"Apache-2.0"
] | null | null | null | sprezz/views/oauth2.py | oohlaf/sprezz | 3f5c6e323c53994114e91d6d22d2fc9db3da653b | [
"Apache-2.0"
] | null | null | null | import json
import logging
from aiohttp import web
log = logging.getLogger(__name__)
class AuthorizeView(web.View):
async def get(self):
log.info('Requested URL: %s', self.request.path_qs)
log.info('Requested Remote: %s', self.request.remote)
if self.request.can_read_body:
d... | 30 | 61 | 0.6125 | 126 | 960 | 4.587302 | 0.325397 | 0.152249 | 0.110727 | 0.051903 | 0.83045 | 0.83045 | 0.83045 | 0.83045 | 0.83045 | 0.83045 | 0 | 0.002817 | 0.260417 | 960 | 31 | 62 | 30.967742 | 0.811268 | 0 | 0 | 0.75 | 0 | 0 | 0.11875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.291667 | 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 |
25f526f3b1795167c1a3b421e3d4965e3bd8b09d | 8,836 | py | Python | capstone/capdb/migrations/0114_auto_20210420_2105.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 134 | 2017-07-12T17:03:06.000Z | 2022-03-27T06:38:29.000Z | capstone/capdb/migrations/0114_auto_20210420_2105.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 1,362 | 2017-06-22T17:42:49.000Z | 2022-03-31T15:28:00.000Z | capstone/capdb/migrations/0114_auto_20210420_2105.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 38 | 2017-06-22T14:46:23.000Z | 2022-03-16T05:32:54.000Z | # Generated by Django 3.2 on 2021-04-20 21:05
import capdb.storages
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('capdb', '0113_auto_20210414_1532'),
]
operations = [
migrations.AlterField(
model_name='caseanalysis',
... | 38.417391 | 278 | 0.580466 | 812 | 8,836 | 6.198276 | 0.179803 | 0.170872 | 0.21359 | 0.247765 | 0.900854 | 0.89847 | 0.868468 | 0.848997 | 0.834691 | 0.80151 | 0 | 0.006501 | 0.303644 | 8,836 | 229 | 279 | 38.585153 | 0.811474 | 0.004866 | 0 | 0.896861 | 1 | 0.013453 | 0.22341 | 0.051302 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008969 | 0 | 0.022422 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
9f46b0fe4c03aa98d4ebe58cc0a3a41bbccb4c1c | 4,617 | py | Python | codechef.py | TheCez/cp-api | c75ea51c7358a7888c230dbfc01719fb424a9ebd | [
"MIT"
] | null | null | null | codechef.py | TheCez/cp-api | c75ea51c7358a7888c230dbfc01719fb424a9ebd | [
"MIT"
] | null | null | null | codechef.py | TheCez/cp-api | c75ea51c7358a7888c230dbfc01719fb424a9ebd | [
"MIT"
] | null | null | null | import requests
from bs4 import BeautifulSoup
import re
'''def fate_proxy():
resp=requests.get('https://raw.githubusercontent.com/fate0/proxylist/master/proxy.list')
#print(resp.text)
a=((resp.text).split('\n'))
#print(a)
p_list=[]
for i in a:
try:
p_list.append(json.loads(i)... | 29.787097 | 132 | 0.527399 | 651 | 4,617 | 3.705069 | 0.168971 | 0.055141 | 0.08209 | 0.048507 | 0.832504 | 0.83209 | 0.83209 | 0.83209 | 0.83209 | 0.83209 | 0 | 0.036776 | 0.263808 | 4,617 | 155 | 133 | 29.787097 | 0.672845 | 0.045484 | 0 | 0.894737 | 0 | 0.026316 | 0.17204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.026316 | 0 | 0.078947 | 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 |
4cc63655d2229c6fb84187cceeef75215ba0086c | 13,922 | py | Python | segmentation/datasets.py | dataflowr/evaluating_bdl | b7d7e3f2b8095a0ec43118d2b69b4b49e0b910f2 | [
"MIT"
] | 110 | 2019-06-04T13:30:23.000Z | 2022-03-05T07:37:52.000Z | segmentation/datasets.py | dataflowr/evaluating_bdl | b7d7e3f2b8095a0ec43118d2b69b4b49e0b910f2 | [
"MIT"
] | 3 | 2020-08-31T17:12:39.000Z | 2021-09-12T01:21:24.000Z | segmentation/datasets.py | dataflowr/evaluating_bdl | b7d7e3f2b8095a0ec43118d2b69b4b49e0b910f2 | [
"MIT"
] | 23 | 2019-06-05T08:53:28.000Z | 2022-03-05T09:01:25.000Z | # code-checked
# server-checked
import cv2
import numpy as np
import os
import os.path as osp
import random
import torch
from torch.utils import data
import pickle
def generate_scale_label(image, label):
f_scale = 0.5 + random.randint(0, 16)/10.0
image = cv2.resize(image, None, fx=f_scale, fy=f_scale, interp... | 39.439093 | 115 | 0.555164 | 1,852 | 13,922 | 3.957883 | 0.102052 | 0.117053 | 0.030014 | 0.014188 | 0.855935 | 0.843383 | 0.831651 | 0.831651 | 0.822374 | 0.812005 | 0 | 0.065222 | 0.297371 | 13,922 | 352 | 116 | 39.551136 | 0.684114 | 0.017454 | 0 | 0.80597 | 1 | 0 | 0.057316 | 0.014385 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063433 | false | 0 | 0.029851 | 0.018657 | 0.16791 | 0.026119 | 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 |
98046898a5892d10b01258675fe0bfad349aede5 | 16,056 | py | Python | pyvips/tests/test_create.py | kleisauke/pyvips | ae3b0c09669cfb662e773e8ae69cf589ac15e320 | [
"MIT"
] | null | null | null | pyvips/tests/test_create.py | kleisauke/pyvips | ae3b0c09669cfb662e773e8ae69cf589ac15e320 | [
"MIT"
] | null | null | null | pyvips/tests/test_create.py | kleisauke/pyvips | ae3b0c09669cfb662e773e8ae69cf589ac15e320 | [
"MIT"
] | null | null | null | # vim: set fileencoding=utf-8 :
import unittest
import pyvips
from .helpers import PyvipsTester
class TestCreate(PyvipsTester):
def test_black(self):
im = pyvips.Image.black(100, 100)
self.assertEqual(im.width, 100)
self.assertEqual(im.height, 100)
self.assertEqual(im.format, pyv... | 36.910345 | 78 | 0.563714 | 2,116 | 16,056 | 4.23913 | 0.058601 | 0.337793 | 0.291862 | 0.082274 | 0.863211 | 0.827982 | 0.765329 | 0.736343 | 0.72029 | 0.686622 | 0 | 0.081798 | 0.300262 | 16,056 | 434 | 79 | 36.995392 | 0.7166 | 0.001806 | 0 | 0.670157 | 0 | 0 | 0.004243 | 0 | 0 | 0 | 0 | 0 | 0.594241 | 1 | 0.070681 | false | 0 | 0.007853 | 0 | 0.081152 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e21f6c475bc6a50cad038bbd13f47ae5c042793d | 3,888 | py | Python | scripts/generate_image_per_word.py | nmningmei/uncon_semantic | 40a55f757d31fbf156a4d79f42e949c7230dde43 | [
"Apache-2.0"
] | null | null | null | scripts/generate_image_per_word.py | nmningmei/uncon_semantic | 40a55f757d31fbf156a4d79f42e949c7230dde43 | [
"Apache-2.0"
] | null | null | null | scripts/generate_image_per_word.py | nmningmei/uncon_semantic | 40a55f757d31fbf156a4d79f42e949c7230dde43 | [
"Apache-2.0"
] | null | null | null | <<<<<<< HEAD
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 18 16:03:27 2020
@author: ning
"""
import os
import pandas as pd
from matplotlib import pyplot as plt
plt.style.use('dark_background')
df = pd.read_csv('../data/sampled.csv',encoding = 'latin-1')
figure_dir = '../stimuli_figure'
if not os.path.e... | 28.379562 | 82 | 0.585134 | 536 | 3,888 | 4.143657 | 0.238806 | 0.056731 | 0.03602 | 0.057632 | 0.863575 | 0.863575 | 0.841963 | 0.841963 | 0.841963 | 0.815849 | 0 | 0.034034 | 0.229167 | 3,888 | 136 | 83 | 28.588235 | 0.70704 | 0.17284 | 0 | 0.730337 | 0 | 0 | 0.18224 | 0.074221 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.078652 | 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 |
e2669e367587abd2fd3657cfecb994320af3377f | 1,875 | py | Python | test/SearchSpaceAdv/ShapeClassification/shape_class.py | schroeder-dewitt/polyomino-self-assembly | 958a30b360b5377a9938b8b435da9c9b5f0c9635 | [
"Apache-2.0"
] | null | null | null | test/SearchSpaceAdv/ShapeClassification/shape_class.py | schroeder-dewitt/polyomino-self-assembly | 958a30b360b5377a9938b8b435da9c9b5f0c9635 | [
"Apache-2.0"
] | null | null | null | test/SearchSpaceAdv/ShapeClassification/shape_class.py | schroeder-dewitt/polyomino-self-assembly | 958a30b360b5377a9938b8b435da9c9b5f0c9635 | [
"Apache-2.0"
] | null | null | null | import math
#Single Block
list = [[0,0]]
sum_x = 0
sum_y = 0
for i in list:
sum_x += i[0]
sum_y += i[1]
sum_x /= len(list)
sum_y /= len(list)
print "SingleBlock: Grav. (", sum_x, ", ", sum_y, ")"
d_sum_x = 0
d_sum_y = 0
for i in list:
d_sum_x += (i[0]-sum_x)*(i[0]-sum_x)
d_sum_y += (i[1]-sum_y)*(i[1]-s... | 23.734177 | 69 | 0.533333 | 419 | 1,875 | 2.119332 | 0.052506 | 0.184685 | 0.084459 | 0.094595 | 0.912162 | 0.908784 | 0.908784 | 0.899775 | 0.899775 | 0.875 | 0 | 0.068758 | 0.201067 | 1,875 | 78 | 70 | 24.038462 | 0.524032 | 0.018133 | 0 | 0.865672 | 0 | 0 | 0.099129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.014925 | null | null | 0.134328 | 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 |
e273a8654b412af7a1b8093ea787cc351214b5b0 | 173 | py | Python | django/contrib/formtools/wizard/storage/exceptions.py | pomarec/django | 98514849dce07acfaa224a90a784bba9d97249e5 | [
"BSD-3-Clause"
] | 285 | 2019-12-23T09:50:21.000Z | 2021-12-08T09:08:49.000Z | django/contrib/formtools/wizard/storage/exceptions.py | pomarec/django | 98514849dce07acfaa224a90a784bba9d97249e5 | [
"BSD-3-Clause"
] | 18 | 2015-01-14T07:51:48.000Z | 2021-10-14T01:19:26.000Z | django/contrib/formtools/wizard/storage/exceptions.py | pomarec/django | 98514849dce07acfaa224a90a784bba9d97249e5 | [
"BSD-3-Clause"
] | 70 | 2015-01-01T00:33:24.000Z | 2021-12-10T03:43:07.000Z | from django.core.exceptions import ImproperlyConfigured
class MissingStorage(ImproperlyConfigured):
pass
class NoFileStorageConfigured(ImproperlyConfigured):
pass
| 21.625 | 55 | 0.83815 | 14 | 173 | 10.357143 | 0.714286 | 0.331034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 173 | 7 | 56 | 24.714286 | 0.947712 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
e27819a9e5bddfb3b75be7b3fe6edd16c8a2c7bc | 30,901 | py | Python | sdk/python/pulumi_exoscale/security_group_rule.py | secustor/pulumi-exoscale | c805e4bbf896526e46ed168bc96c9c0a3f82adf8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_exoscale/security_group_rule.py | secustor/pulumi-exoscale | c805e4bbf896526e46ed168bc96c9c0a3f82adf8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_exoscale/security_group_rule.py | secustor/pulumi-exoscale | c805e4bbf896526e46ed168bc96c9c0a3f82adf8 | [
"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 ... | 45.309384 | 214 | 0.643151 | 3,744 | 30,901 | 5.06891 | 0.057425 | 0.140426 | 0.078196 | 0.079987 | 0.907314 | 0.898198 | 0.888713 | 0.877859 | 0.875171 | 0.863105 | 0 | 0.004628 | 0.237792 | 30,901 | 681 | 215 | 45.375918 | 0.801129 | 0.32986 | 0 | 0.852217 | 1 | 0 | 0.09322 | 0.013954 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165025 | false | 0.002463 | 0.012315 | 0.029557 | 0.275862 | 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 |
2c4aaea483e2fd14e397b57793f56cacd06b9bde | 571 | py | Python | context.py | E-tanok/NLTK_stackoverflow_recommender | fedbafe7ebcb640ce3ba424c64242e773aa69c51 | [
"MIT"
] | 1 | 2019-01-16T12:15:40.000Z | 2019-01-16T12:15:40.000Z | context.py | E-tanok/NLTK_stackoverflow_tags_recommender | fedbafe7ebcb640ce3ba424c64242e773aa69c51 | [
"MIT"
] | null | null | null | context.py | E-tanok/NLTK_stackoverflow_tags_recommender | fedbafe7ebcb640ce3ba424c64242e773aa69c51 | [
"MIT"
] | 1 | 2020-11-18T07:50:34.000Z | 2020-11-18T07:50:34.000Z | import os
dir_path = os.path.dirname(os.path.realpath(__file__))
if dir_path.split('\\')[0] == 'D:':
datasources_path = dir_path+"\datasources\\"
enrichment_path = dir_path+"\enrichment\\"
pickles_path = dir_path+"\pickles\\"
learning_models_path = dir_path+"\learning_models\\"
temp_files_path = dir... | 38.066667 | 56 | 0.700525 | 74 | 571 | 4.972973 | 0.27027 | 0.228261 | 0.298913 | 0.119565 | 0.820652 | 0.820652 | 0.820652 | 0.820652 | 0.820652 | 0.820652 | 0 | 0.002037 | 0.140105 | 571 | 14 | 57 | 40.785714 | 0.747454 | 0 | 0 | 0 | 0 | 0 | 0.21366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 |
2c9a57543b4f32a0b48ce47b468112fa325e1205 | 122,682 | py | Python | src/test/sharestore_lib/admin/ttypes.py | daimashusheng/SHAREdis | 1cb3b9b92f245fae759492d67845afc4eb81c4b7 | [
"Apache-2.0"
] | null | null | null | src/test/sharestore_lib/admin/ttypes.py | daimashusheng/SHAREdis | 1cb3b9b92f245fae759492d67845afc4eb81c4b7 | [
"Apache-2.0"
] | 4 | 2022-02-18T07:36:57.000Z | 2022-03-22T07:14:41.000Z | src/test/sharestore_lib/admin/ttypes.py | daimashusheng/SHAREdis | 1cb3b9b92f245fae759492d67845afc4eb81c4b7 | [
"Apache-2.0"
] | 1 | 2022-02-11T02:50:41.000Z | 2022-02-11T02:50:41.000Z | #
# Autogenerated by Thrift Compiler (0.11.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 37.483043 | 166 | 0.590404 | 14,234 | 122,682 | 4.827736 | 0.017212 | 0.023051 | 0.034576 | 0.034576 | 0.889097 | 0.867793 | 0.853445 | 0.839562 | 0.835051 | 0.834789 | 0 | 0.014319 | 0.298112 | 122,682 | 3,272 | 167 | 37.494499 | 0.783716 | 0.015096 | 0 | 0.831144 | 1 | 0 | 0.049404 | 0.006153 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109568 | false | 0 | 0.001876 | 0.04015 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e2c40d870fc21fe93c71d2e00b7cef0696e48395 | 16,292 | py | Python | tests/unit/injection/inject_unit_test.py | mt3o/injectable | 0ffc5c758b63d9391134cd822158e1846999b404 | [
"MIT"
] | 71 | 2018-02-05T04:12:27.000Z | 2022-02-15T23:08:16.000Z | tests/unit/injection/inject_unit_test.py | Euraxluo/injectable | 74e640f0911480fb06fa97c1a468c3863541c0fd | [
"MIT"
] | 104 | 2018-02-06T23:37:36.000Z | 2021-08-25T04:50:15.000Z | tests/unit/injection/inject_unit_test.py | Euraxluo/injectable | 74e640f0911480fb06fa97c1a468c3863541c0fd | [
"MIT"
] | 13 | 2019-02-10T18:52:50.000Z | 2022-01-26T17:12:35.000Z | from unittest.mock import MagicMock
import pytest
from pytest import fixture
from pytest_mock import MockFixture
from injectable import inject, Injectable, inject_multiple
from injectable.errors import InjectionError
from injectable.constants import DEFAULT_NAMESPACE
from injectable.injection.injection_utils import R... | 36.044248 | 88 | 0.688804 | 1,804 | 16,292 | 5.786585 | 0.045455 | 0.059776 | 0.092538 | 0.106045 | 0.930166 | 0.914743 | 0.884089 | 0.847399 | 0.835616 | 0.812817 | 0 | 0.001403 | 0.256506 | 16,292 | 451 | 89 | 36.124169 | 0.860398 | 0.011724 | 0 | 0.764384 | 0 | 0 | 0.029631 | 0.015687 | 0 | 0 | 0 | 0 | 0.205479 | 1 | 0.046575 | false | 0 | 0.021918 | 0.013699 | 0.087671 | 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 |
e2c6b70ffc72364e4de297a58e4dad626a5fea98 | 17,277 | py | Python | SDKs/Aspose.Imaging-Cloud-SDK-for-Python/tests/test_ImagingApi.py | naeem244/Aspose.Imaging-for-Cloud | 20585a2163f34624d7a46641092444747360f3e3 | [
"MIT"
] | null | null | null | SDKs/Aspose.Imaging-Cloud-SDK-for-Python/tests/test_ImagingApi.py | naeem244/Aspose.Imaging-for-Cloud | 20585a2163f34624d7a46641092444747360f3e3 | [
"MIT"
] | null | null | null | SDKs/Aspose.Imaging-Cloud-SDK-for-Python/tests/test_ImagingApi.py | naeem244/Aspose.Imaging-for-Cloud | 20585a2163f34624d7a46641092444747360f3e3 | [
"MIT"
] | null | null | null | import unittest
import os.path
import json
import inspect
import requests
import asposeimagingcloud
from asposeimagingcloud.ImagingApi import ImagingApi
from asposeimagingcloud.ImagingApi import ApiException
from asposeimagingcloud.models import ImagingResponse
from asposeimagingcloud.models import SaaSposeR... | 32.113383 | 180 | 0.499624 | 1,399 | 17,277 | 6.145818 | 0.120801 | 0.060014 | 0.066527 | 0.087695 | 0.739707 | 0.722959 | 0.722959 | 0.722959 | 0.709002 | 0.709002 | 0 | 0.010227 | 0.411414 | 17,277 | 538 | 181 | 32.113383 | 0.835284 | 0 | 0 | 0.768 | 0 | 0 | 0.082552 | 0.006212 | 0 | 0 | 0 | 0 | 0.077333 | 0 | null | null | 0 | 0.032 | null | null | 0.208 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1a97f6d065deed9f580d0ce05bca90ed4a474fbf | 61 | py | Python | src/ocd/utilities.py | ofirr/OpenCommunity | 7786ac2996530af8f545f4398c071793c73634c8 | [
"BSD-3-Clause"
] | null | null | null | src/ocd/utilities.py | ofirr/OpenCommunity | 7786ac2996530af8f545f4398c071793c73634c8 | [
"BSD-3-Clause"
] | null | null | null | src/ocd/utilities.py | ofirr/OpenCommunity | 7786ac2996530af8f545f4398c071793c73634c8 | [
"BSD-3-Clause"
] | null | null | null | import uuid
def create_uuid():
return uuid.uuid4().hex
| 10.166667 | 27 | 0.688525 | 9 | 61 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.196721 | 61 | 5 | 28 | 12.2 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1aa04d39d26a05e71dc63585a0c7815af573cfeb | 5,394 | py | Python | dados_cnpj_lista_url.py | rictom/cnpj-mysql | 7f8a7d5f5dd88d6ffe46d4ff7e58ef4acf76b4a6 | [
"MIT"
] | 3 | 2021-11-14T14:58:00.000Z | 2022-03-08T02:34:38.000Z | dados_cnpj_lista_url.py | rictom/cnpj-mysql | 7f8a7d5f5dd88d6ffe46d4ff7e58ef4acf76b4a6 | [
"MIT"
] | 1 | 2021-11-19T20:27:41.000Z | 2021-11-20T23:30:03.000Z | dados_cnpj_lista_url.py | rictom/cnpj-mysql | 7f8a7d5f5dd88d6ffe46d4ff7e58ef4acf76b4a6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Spyder Editor
lista relação de arquivos na página de dados públicos da receita federal
"""
url = 'https://www.gov.br/receitafederal/pt-br/assuntos/orientacao-tributaria/cadastros/consultas/dados-publicos-cnpj'
url = 'http://200.152.38.155/CNPJ/'
from bs4 import BeautifulSoup, Soup... | 50.411215 | 119 | 0.743604 | 927 | 5,394 | 4.325782 | 0.098166 | 0.130923 | 0.187032 | 0.224439 | 0.885287 | 0.885287 | 0.880549 | 0.880549 | 0.880549 | 0.877805 | 0 | 0.369703 | 0.063775 | 5,394 | 107 | 120 | 50.411215 | 0.424356 | 0.035781 | 0 | 0 | 0 | 0.071429 | 0.286778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | null | 0 | 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 | 10 |
46c36aa70d65049e44f7a5cae86b70d7cd13be90 | 1,484 | py | Python | realestate/utils.py | jigartarpara/realestate | 1533bade2e9ba66925da0688c8e6a511b80b4806 | [
"MIT"
] | 1 | 2019-06-20T18:52:15.000Z | 2019-06-20T18:52:15.000Z | realestate/utils.py | jigartarpara/realestate | 1533bade2e9ba66925da0688c8e6a511b80b4806 | [
"MIT"
] | null | null | null | realestate/utils.py | jigartarpara/realestate | 1533bade2e9ba66925da0688c8e6a511b80b4806 | [
"MIT"
] | 3 | 2019-07-30T14:24:56.000Z | 2019-10-23T02:49:40.000Z | import frappe
def sales_invoice_submit(doc, method = None):
return
assets = []
for item in doc.items:
asset = frappe.get_doc("RealEstate Assets",{"item": item.item_code})
if asset not in assets:
asset.save()
assets.append(asset)
def sales_invoice_cancel(doc, method = None):
return
assets = []
for item... | 24.733333 | 70 | 0.706199 | 218 | 1,484 | 4.678899 | 0.137615 | 0.094118 | 0.088235 | 0.111765 | 0.913725 | 0.913725 | 0.913725 | 0.913725 | 0.913725 | 0.913725 | 0 | 0 | 0.165768 | 1,484 | 60 | 71 | 24.733333 | 0.82391 | 0.057278 | 0 | 0.857143 | 0 | 0 | 0.090323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.020408 | 0 | 0.265306 | 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 |
46d8c81bf212224edd71c5089f2ed8117c4d1493 | 3,071 | py | Python | tests/parsers/c_parser/exprs/unary_ops/post_increment_op_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 21 | 2017-12-12T20:38:43.000Z | 2019-04-14T12:46:10.000Z | tests/parsers/c_parser/exprs/unary_ops/post_increment_op_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 6 | 2018-01-06T13:32:23.000Z | 2018-09-14T15:09:11.000Z | tests/parsers/c_parser/exprs/unary_ops/post_increment_op_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 11 | 2017-12-12T20:38:46.000Z | 2018-07-19T03:12:03.000Z | """
Tests for the
:module`regression_tests.parsers.c_parser.exprs.unary_ops.post_increment_op`
module.
"""
from tests.parsers.c_parser import WithModuleTests
class PostIncrementOpExprTests(WithModuleTests):
"""Tests for `PostIncrementOpExpr`."""
def test_post_increment_op_expr_is_post_increment_... | 50.344262 | 80 | 0.751547 | 443 | 3,071 | 4.677201 | 0.153499 | 0.228282 | 0.304054 | 0.357625 | 0.796332 | 0.796332 | 0.794402 | 0.744691 | 0.432915 | 0.123552 | 0 | 0 | 0.145555 | 3,071 | 60 | 81 | 51.183333 | 0.789634 | 0.042657 | 0 | 0.085106 | 0 | 0 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0.787234 | 1 | 0.085106 | false | 0 | 0.021277 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
201dbf7f58b3a23e0059a5814b4d4b243e34b20e | 4,688 | py | Python | okonomiyaki/runtimes/runtime_schemas.py | enthought/okonomiyaki | 51b8b4fa8d17255e13c097402691726545cf5b4c | [
"BSD-3-Clause"
] | 1 | 2021-06-01T16:35:00.000Z | 2021-06-01T16:35:00.000Z | okonomiyaki/runtimes/runtime_schemas.py | enthought/okonomiyaki | 51b8b4fa8d17255e13c097402691726545cf5b4c | [
"BSD-3-Clause"
] | 249 | 2015-02-24T19:06:53.000Z | 2021-07-30T09:01:53.000Z | okonomiyaki/runtimes/runtime_schemas.py | enthought/okonomiyaki | 51b8b4fa8d17255e13c097402691726545cf5b4c | [
"BSD-3-Clause"
] | 4 | 2015-02-19T21:29:12.000Z | 2016-01-14T21:02:39.000Z | # flake8: noqa
_JULIA_V1 = {
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "PythonRuntimeMetadata v1.0",
"description": "PythonRuntimeMetadata runtime/metadata.json schema.",
"type": "object",
"properties": {
"metadata_version": {
"description": "The metadata ver... | 32.109589 | 117 | 0.475043 | 408 | 4,688 | 5.389706 | 0.218137 | 0.104593 | 0.008186 | 0.023647 | 0.909959 | 0.909959 | 0.897681 | 0.897681 | 0.897681 | 0.897681 | 0 | 0.016238 | 0.369454 | 4,688 | 145 | 118 | 32.331034 | 0.727673 | 0.00256 | 0 | 0.72028 | 0 | 0.027972 | 0.531023 | 0.038511 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
64596d47fde29089e934243bc78ffc397e4e08bc | 30,586 | py | Python | common/query_settings.py | clearspending/api.clearspending.ru | ece8f9f5f1b37598cf12ad67e2a6da6214afc27c | [
"MIT"
] | 1 | 2019-01-15T16:52:58.000Z | 2019-01-15T16:52:58.000Z | common/query_settings.py | clearspending/api.clearspending.ru | ece8f9f5f1b37598cf12ad67e2a6da6214afc27c | [
"MIT"
] | null | null | null | common/query_settings.py | clearspending/api.clearspending.ru | ece8f9f5f1b37598cf12ad67e2a6da6214afc27c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
APIdict = {}
from api.snippets import booleaniator, dbid, yearfilter, asIs, dateRange, floatRange, toListAnd, toListOr, toList, \
is_guid, placingtype, mongo_id, unicode_whitespace, okdp_okpd, less_int
# используется для фильтрации входящих параметров
notUseParameterVal = {u'None', u'all'... | 46.767584 | 120 | 0.542013 | 2,773 | 30,586 | 5.845294 | 0.090876 | 0.068851 | 0.15769 | 0.181874 | 0.823123 | 0.809057 | 0.781294 | 0.763835 | 0.729595 | 0.686039 | 0 | 0.00368 | 0.253744 | 30,586 | 653 | 121 | 46.839204 | 0.706462 | 0.012816 | 0 | 0.584142 | 0 | 0 | 0.419598 | 0.016166 | 0 | 0 | 0 | 0.001531 | 0 | 1 | 0 | false | 0.001618 | 0.008091 | 0 | 0.008091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
648deae5893f1126bc788e34f09ee0b7888e39e4 | 652,012 | py | Python | mmtbx/conformation_dependent_library/cdl_database.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/conformation_dependent_library/cdl_database.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/conformation_dependent_library/cdl_database.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import division
version = "CDL v1.2"
cdl_database = {
"Gly_nonxpro" : {
(-180, -180) : ['B', 14, 120.86, 1.62, -1, -1, 110.42, 1.49, -1, -1, 121.63, 0.95, 114.72, 1.32, 123.61, 1.16, 1.327, 0.0115, 1.4508, 0.0113, -1, -1, 1.5117, 0.0124, 1.2356, 0.0123],
(-180, -170) : ['B', 7, 120.56, 1.42,... | 62.226761 | 208 | 0.627016 | 120,665 | 652,012 | 3.229826 | 0.011669 | 0.129922 | 0.129527 | 0.043164 | 0.797338 | 0.760348 | 0.759255 | 0.755703 | 0.755221 | 0.755221 | 0 | 0.329689 | 0.088676 | 652,012 | 10,477 | 209 | 62.2327 | 0.326203 | 0.000374 | 0 | 0 | 0 | 0 | 0.001665 | 0 | 0 | 0 | 0 | 0 | 0.000096 | 0 | null | null | 0 | 0.000191 | null | null | 0.000191 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b3a0c285af038eb98c9060beda4abeefec5ed098 | 117 | py | Python | smart_contract/hello_compiler.py | Topstack-defi/oracle-neo-futures | 1b1a7e6e06eb8740e41dc47941d89b34d2c3b197 | [
"MIT"
] | 6 | 2018-02-26T08:30:44.000Z | 2021-06-17T07:40:21.000Z | smart_contract/hello_compiler.py | Topstack-defi/oracle-neo-futures | 1b1a7e6e06eb8740e41dc47941d89b34d2c3b197 | [
"MIT"
] | null | null | null | smart_contract/hello_compiler.py | Topstack-defi/oracle-neo-futures | 1b1a7e6e06eb8740e41dc47941d89b34d2c3b197 | [
"MIT"
] | 2 | 2018-05-23T18:15:11.000Z | 2018-11-03T00:20:28.000Z | from boa.compiler import Compiler
Compiler.load_and_save('neo_futures.py')
#Compiler.load_and_save('oracle_lite.py') | 29.25 | 41 | 0.82906 | 19 | 117 | 4.789474 | 0.631579 | 0.263736 | 0.32967 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 117 | 4 | 41 | 29.25 | 0.81982 | 0.34188 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
b60f8ebe2a334263642d2e50bc933d8cebffdea3 | 139 | py | Python | ndocker/ovs/__init__.py | codlin/ndocker | e54639c365ec1b4986f5efefb0f680cf5443c179 | [
"Apache-2.0"
] | null | null | null | ndocker/ovs/__init__.py | codlin/ndocker | e54639c365ec1b4986f5efefb0f680cf5443c179 | [
"Apache-2.0"
] | null | null | null | ndocker/ovs/__init__.py | codlin/ndocker | e54639c365ec1b4986f5efefb0f680cf5443c179 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from .vsctl import VSCtl
from .vsctl import VSCtlCmdExecError
from .vsctl import VSCtlCmdParseError | 27.8 | 38 | 0.863309 | 17 | 139 | 6.764706 | 0.411765 | 0.234783 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 139 | 5 | 39 | 27.8 | 0.934959 | 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 |
377cc31fe4d95106a2301e455298994b1ae59054 | 10,481 | py | Python | test/test_website_project_instance_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | test/test_website_project_instance_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | test/test_website_project_instance_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | """
HyperOne
HyperOne API # noqa: E501
The version of the OpenAPI document: 0.1.0
Generated by: https://openapi-generator.tech
"""
import unittest
import h1
from h1.api.website_project_instance_api import WebsiteProjectInstanceApi # noqa: E501
class TestWebsiteProjectInstanceApi(unittest.TestCa... | 27.15285 | 87 | 0.668925 | 1,208 | 10,481 | 5.42798 | 0.056291 | 0.219918 | 0.345585 | 0.140003 | 0.892481 | 0.857252 | 0.855117 | 0.819735 | 0.503889 | 0.478268 | 0 | 0.021643 | 0.263811 | 10,481 | 385 | 88 | 27.223377 | 0.828149 | 0.473142 | 0 | 0.464286 | 1 | 0 | 0.001831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.473214 | false | 0.464286 | 0.026786 | 0 | 0.508929 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
37c5642653f090ddad5800b912327e149303c9ce | 78,494 | py | Python | mwptoolkit/model/Graph2Tree/multiencdec.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 71 | 2021-03-08T06:06:15.000Z | 2022-03-30T11:59:37.000Z | mwptoolkit/model/Graph2Tree/multiencdec.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 13 | 2021-09-07T12:38:23.000Z | 2022-03-22T15:08:16.000Z | mwptoolkit/model/Graph2Tree/multiencdec.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 21 | 2021-02-16T07:46:36.000Z | 2022-03-23T13:41:33.000Z | # -*- encoding: utf-8 -*-
# @Author: Yihuai Lan
# @Time: 2021/08/21 04:33:54
# @File: multiencdec.py
import copy
import random
import torch
import numpy as np
from torch import nn
from torch.nn import functional as F
from mwptoolkit.module.Encoder.graph_based_encoder import GraphBasedMultiEncoder, NumEncoder
from mw... | 48.997503 | 200 | 0.596657 | 9,610 | 78,494 | 4.54204 | 0.037877 | 0.019382 | 0.01008 | 0.008064 | 0.919403 | 0.902289 | 0.883342 | 0.862998 | 0.835323 | 0.821852 | 0 | 0.01897 | 0.315005 | 78,494 | 1,601 | 201 | 49.028107 | 0.792832 | 0.103486 | 0 | 0.791496 | 0 | 0 | 0.011721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023712 | false | 0 | 0.014718 | 0 | 0.069501 | 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 |
80f5ac873da71509a9094ad23782eb8d1fd5aeb3 | 47 | py | Python | python/Intro/modules/test3.py | Joaxin/GitComments | 7aa862f0ee892cbbc94b037395a6273b2654cbea | [
"MIT"
] | null | null | null | python/Intro/modules/test3.py | Joaxin/GitComments | 7aa862f0ee892cbbc94b037395a6273b2654cbea | [
"MIT"
] | 88 | 2019-10-31T12:30:02.000Z | 2020-08-14T12:17:12.000Z | python/Intro/modules/test3.py | Joaxin/GitComments | 7aa862f0ee892cbbc94b037395a6273b2654cbea | [
"MIT"
] | null | null | null | from module3 import *
print(generate_code(10)) | 23.5 | 24 | 0.787234 | 7 | 47 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.106383 | 47 | 2 | 24 | 23.5 | 0.785714 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
80fd511ba92fa541b89cebbeaa78625c33e0aabf | 89,365 | py | Python | h1/api/networking_project_netgw_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | h1/api/networking_project_netgw_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | h1/api/networking_project_netgw_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | """
HyperOne
HyperOne API # noqa: E501
The version of the OpenAPI document: 0.1.0
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from h1.api_client import ApiClient, Endpoint as _Endpoint
from h1.model_utils import ( # noqa: F401
check_allowe... | 36.973521 | 144 | 0.447524 | 7,430 | 89,365 | 5.085061 | 0.029341 | 0.041925 | 0.064052 | 0.040231 | 0.950135 | 0.924356 | 0.906596 | 0.905193 | 0.885475 | 0.884072 | 0 | 0.003198 | 0.468147 | 89,365 | 2,416 | 145 | 36.988825 | 0.791727 | 0.28848 | 0 | 0.729777 | 1 | 0 | 0.236751 | 0.054355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009965 | false | 0 | 0.00762 | 0 | 0.02755 | 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 |
03c553ba602dd4d47761fe86617b55d6e673f64d | 3,159 | py | Python | tests/test_configdict.py | kalekundert/wellmap | 05a9029807276ec29aea63db10c664ad2ede093c | [
"MIT"
] | 7 | 2020-05-29T21:14:49.000Z | 2022-01-25T15:35:17.000Z | tests/test_configdict.py | kalekundert/wellmap | 05a9029807276ec29aea63db10c664ad2ede093c | [
"MIT"
] | 24 | 2020-06-09T14:29:03.000Z | 2022-03-25T22:43:24.000Z | tests/test_configdict.py | kalekundert/wellmap | 05a9029807276ec29aea63db10c664ad2ede093c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from wellmap import *
def test_empty():
config = configdict({})
assert config.meta == {}
assert config.rows == {}
assert config.irows == {}
assert config.cols == {}
assert config.icols == {}
assert config.wells == {}
assert config.user == {}
def test_user():
... | 30.669903 | 63 | 0.53308 | 391 | 3,159 | 4.28133 | 0.089514 | 0.487455 | 0.108722 | 0.100358 | 0.810633 | 0.795102 | 0.795102 | 0.780167 | 0.632019 | 0.632019 | 0 | 0.021592 | 0.252295 | 3,159 | 102 | 64 | 30.970588 | 0.68713 | 0.006648 | 0 | 0.58427 | 0 | 0 | 0.029974 | 0 | 0 | 0 | 0 | 0 | 0.764045 | 1 | 0.11236 | false | 0 | 0.011236 | 0 | 0.123596 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ff1015992abec40b2bbc0f9ae8e9e207a2781f45 | 28 | py | Python | Chapter 04/ch41a.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 04/ch41a.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 04/ch41a.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | print(27 + 8 * 2 - 6)
#37 | 9.333333 | 22 | 0.428571 | 6 | 28 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 0.357143 | 28 | 3 | 23 | 9.333333 | 0.277778 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
afe2284707d51c23fabbe2fd506d54d70791a062 | 77,542 | py | Python | tests/otus/snapshots/snap_test_api.py | ColeVoelpel/virtool | 859c8d2516f07343bde47f3bae0247dedd76e6c4 | [
"MIT"
] | 1 | 2019-08-23T00:19:00.000Z | 2019-08-23T00:19:00.000Z | tests/otus/snapshots/snap_test_api.py | ColeVoelpel/virtool | 859c8d2516f07343bde47f3bae0247dedd76e6c4 | [
"MIT"
] | null | null | null | tests/otus/snapshots/snap_test_api.py | ColeVoelpel/virtool | 859c8d2516f07343bde47f3bae0247dedd76e6c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import GenericRepr, Snapshot
snapshots = Snapshot()
snapshots['TestCreate.test[True-uvloop-None-True] history'] = {
'_id': '9pfsom1b.0',
'created_at': GenericRepr('datetime.datetime(2... | 22.914303 | 128 | 0.421088 | 6,124 | 77,542 | 5.219628 | 0.024331 | 0.038792 | 0.041295 | 0.050055 | 0.980197 | 0.974879 | 0.970906 | 0.954607 | 0.949726 | 0.943031 | 0 | 0.052928 | 0.414253 | 77,542 | 3,383 | 129 | 22.921076 | 0.650837 | 0.0008 | 0 | 0.715985 | 0 | 0.002746 | 0.411696 | 0.069014 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012508 | 0 | 0.012508 | 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 |
afffae03151897ef74bb4c047ae999d3934c542a | 92 | py | Python | src/__init__.py | bwu62/subshift | 1f4817d716a208dcd9e02e649e0183e7ee19ed4f | [
"BSD-3-Clause"
] | 1 | 2019-07-29T01:13:28.000Z | 2019-07-29T01:13:28.000Z | src/__init__.py | bwu62/subshift | 1f4817d716a208dcd9e02e649e0183e7ee19ed4f | [
"BSD-3-Clause"
] | 1 | 2019-07-29T01:19:33.000Z | 2019-07-29T02:11:56.000Z | src/__init__.py | bwu62/subshift | 1f4817d716a208dcd9e02e649e0183e7ee19ed4f | [
"BSD-3-Clause"
] | null | null | null | from .subshift import Subtitle
import glob
def listSrts():
return glob.glob("./*.srt")
| 15.333333 | 31 | 0.695652 | 12 | 92 | 5.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 32 | 18.4 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
b32a3ffe9e2758199aef19e1f39d54592584938d | 13,792 | py | Python | tests/test_c_nms_onnx_ex.py | hozmi/box_utils | 1b264d222486a2e29ff61c578300d1dda9aae153 | [
"MIT"
] | null | null | null | tests/test_c_nms_onnx_ex.py | hozmi/box_utils | 1b264d222486a2e29ff61c578300d1dda9aae153 | [
"MIT"
] | null | null | null | tests/test_c_nms_onnx_ex.py | hozmi/box_utils | 1b264d222486a2e29ff61c578300d1dda9aae153 | [
"MIT"
] | null | null | null | """Test NMS.
Run the examples described in `ONNX docs`_.
.. _ONNX docs: https://github.com/onnx/onnx/blob/main/docs/Operators.md#NonMaxSuppression
"""
# import pytest
import numpy as np
import box_utils._c.box_nms as box_nms
def test_nms_suppress_by_iou():
"""Test NMS - suppress by IoU."""
# --
boxes =... | 33.074341 | 89 | 0.542996 | 2,412 | 13,792 | 2.963101 | 0.03524 | 0.071079 | 0.049531 | 0.029663 | 0.943753 | 0.938016 | 0.93046 | 0.925143 | 0.922765 | 0.922765 | 0 | 0.143607 | 0.240647 | 13,792 | 416 | 90 | 33.153846 | 0.538814 | 0.061702 | 0 | 0.852349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050336 | 1 | 0.050336 | false | 0 | 0.006711 | 0 | 0.057047 | 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 |
b32eaab9192a209c7d447c1f31a9c8088d6bb08f | 8,839 | py | Python | tests/test_rut_chile.py | merfrei/rut-chile | 9c4b925a68ecae941813525d0d38fa7e456fdc91 | [
"MIT"
] | null | null | null | tests/test_rut_chile.py | merfrei/rut-chile | 9c4b925a68ecae941813525d0d38fa7e456fdc91 | [
"MIT"
] | null | null | null | tests/test_rut_chile.py | merfrei/rut-chile | 9c4b925a68ecae941813525d0d38fa7e456fdc91 | [
"MIT"
] | null | null | null | import pytest
from rut_chile import rut_chile
class TestIsValidRutTests:
@pytest.mark.parametrize("test_input, expected_value", [
(None, ValueError),
("", ValueError),
(" ", ValueError),
("k", ValueError),
("1", ValueError),
("*", ValueError),
("1-", ValueE... | 32.025362 | 78 | 0.548365 | 909 | 8,839 | 5.133113 | 0.10011 | 0.086798 | 0.127518 | 0.165024 | 0.856837 | 0.851907 | 0.843978 | 0.822117 | 0.814188 | 0.791042 | 0 | 0.143611 | 0.271298 | 8,839 | 275 | 79 | 32.141818 | 0.58081 | 0 | 0 | 0.738095 | 0 | 0 | 0.169476 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 1 | 0.059524 | false | 0 | 0.007937 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b330e0dc73dd12232fd291b3233b78f2c70ae406 | 8,795 | py | Python | athenet/tests/stress_test.py | heurezjusz/Athena | 0bdda97b0e06dbb3c1699d4ed7875e4adc96d580 | [
"BSD-2-Clause"
] | 2 | 2016-02-02T12:59:39.000Z | 2018-03-29T17:17:11.000Z | athenet/tests/stress_test.py | heurezjusz/Athenet | 0bdda97b0e06dbb3c1699d4ed7875e4adc96d580 | [
"BSD-2-Clause"
] | 5 | 2016-01-10T23:23:57.000Z | 2016-03-26T16:29:42.000Z | athenet/tests/stress_test.py | heurezjusz/Athena | 0bdda97b0e06dbb3c1699d4ed7875e4adc96d580 | [
"BSD-2-Clause"
] | 1 | 2020-02-26T20:19:17.000Z | 2020-02-26T20:19:17.000Z | """Stress testing athenet.algorithm.derest.derivative functions.
"""
import numpy as np
import theano
import theano.tensor as T
import unittest
from math import e
from athenet.algorithm.numlike import TheanoInterval
from athenet.algorithm.derest.derivative import *
from athenet.algorithm.derest.activation import *
fro... | 35.752033 | 78 | 0.598636 | 1,190 | 8,795 | 4.195798 | 0.115966 | 0.098137 | 0.166834 | 0.215902 | 0.780092 | 0.780092 | 0.744442 | 0.708792 | 0.70018 | 0.687362 | 0 | 0.048681 | 0.275952 | 8,795 | 245 | 79 | 35.897959 | 0.735396 | 0.092211 | 0 | 0.617801 | 0 | 0 | 0.028626 | 0 | 0 | 0 | 0 | 0.004082 | 0 | 0 | null | null | 0 | 0.052356 | null | null | 0.041885 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b3542642cf82e92068bdf5e654fc0ba43f46994d | 171 | py | Python | Trakttv.bundle/Contents/Libraries/Shared/oem/media/show/__init__.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Libraries/Shared/oem/media/show/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Libraries/Shared/oem/media/show/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | from oem.media.show.identifier import EpisodeIdentifier # NOQA
from oem.media.show.mapper import ShowMapper # NOQA
from oem.media.show.match import EpisodeMatch # NOQA
| 42.75 | 63 | 0.807018 | 24 | 171 | 5.75 | 0.5 | 0.152174 | 0.26087 | 0.347826 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 171 | 3 | 64 | 57 | 0.92 | 0.081871 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.