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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cab7770f1bf28cb62f7bd71f5ff9043b4490abac | 3,123 | py | Python | myproject/cookie_app/migrations/0012_auto_20141213_0735.py | nathanielbecker/business-contacter-django-app | 369270f46087b7b593f5b4cff6bddd89707cdc62 | [
"Apache-2.0"
] | null | null | null | myproject/cookie_app/migrations/0012_auto_20141213_0735.py | nathanielbecker/business-contacter-django-app | 369270f46087b7b593f5b4cff6bddd89707cdc62 | [
"Apache-2.0"
] | null | null | null | myproject/cookie_app/migrations/0012_auto_20141213_0735.py | nathanielbecker/business-contacter-django-app | 369270f46087b7b593f5b4cff6bddd89707cdc62 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('cookie_app', '0011_auto_20141213_0730'),
]
operations = [
migrations.AlterField(
model_name='barebones_crud',
... | 38.555556 | 121 | 0.604867 | 301 | 3,123 | 6.063123 | 0.229236 | 0.120548 | 0.150685 | 0.174795 | 0.792877 | 0.777534 | 0.777534 | 0.752329 | 0.752329 | 0.752329 | 0 | 0.056344 | 0.278258 | 3,123 | 80 | 122 | 39.0375 | 0.753327 | 0.006724 | 0 | 0.594595 | 0 | 0 | 0.163226 | 0.007419 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.067568 | 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 | 0 | 0 | 0 | 6 |
cadd9ea335040bdd6adcf079cabd56522d5ff821 | 25 | py | Python | ats/django_env/lib/python3.6/site-packages/pdf2image/__init__.py | Priyankk18k/playrecruit | 11591c599ce9116d251d6837ebda4739d72d1809 | [
"MIT"
] | 4 | 2020-04-29T15:47:47.000Z | 2020-06-01T16:23:48.000Z | ats/django_env/lib/python3.6/site-packages/pdf2image/__init__.py | Priyankk18k/playrecruit | 11591c599ce9116d251d6837ebda4739d72d1809 | [
"MIT"
] | 5 | 2020-02-11T23:30:18.000Z | 2021-06-10T21:01:34.000Z | ats/django_env/lib/python3.6/site-packages/pdf2image/__init__.py | Priyankk18k/playrecruit | 11591c599ce9116d251d6837ebda4739d72d1809 | [
"MIT"
] | null | null | null | from .pdf2image import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b4079f4639f69e4dde89a4992e2ba7d75560357 | 82 | py | Python | shopify/resources/publication.py | butlertron/shopify_python_api | 78329d0656a7dcd4aad9579b28509007d05ee5dc | [
"MIT"
] | 828 | 2015-01-08T16:03:55.000Z | 2022-03-25T16:58:37.000Z | shopify/resources/publication.py | whitehorse3513/PythonShopify | 245b9bad3779db9190e3786bffc07044afe216c6 | [
"MIT"
] | 389 | 2015-02-01T03:33:49.000Z | 2022-03-23T08:42:33.000Z | shopify/resources/publication.py | whitehorse3513/PythonShopify | 245b9bad3779db9190e3786bffc07044afe216c6 | [
"MIT"
] | 267 | 2015-01-20T21:40:19.000Z | 2022-03-29T04:09:56.000Z | from ..base import ShopifyResource
class Publication(ShopifyResource):
pass
| 13.666667 | 35 | 0.780488 | 8 | 82 | 8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 82 | 5 | 36 | 16.4 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1b462db49d24d4edfaeebf12354863282aa9c19f | 47 | py | Python | authlib/specs/rfc7636/challenge.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 2 | 2021-04-26T18:17:37.000Z | 2021-04-28T21:39:45.000Z | authlib/specs/rfc7636/challenge.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 4 | 2021-03-19T08:17:59.000Z | 2021-06-10T19:34:36.000Z | authlib/specs/rfc7636/challenge.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 2 | 2021-05-24T20:34:12.000Z | 2022-03-26T07:46:17.000Z | from authlib.oauth2.rfc7636.challenge import *
| 23.5 | 46 | 0.829787 | 6 | 47 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 0.085106 | 47 | 1 | 47 | 47 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b5f823f83a58293f1c62d539eb5f006791f31f7 | 31 | py | Python | basecampy3/__init__.py | sam-marsh/basecampy3 | 97a844a699aae9be8aa387d3092310c60664e0e3 | [
"MIT"
] | null | null | null | basecampy3/__init__.py | sam-marsh/basecampy3 | 97a844a699aae9be8aa387d3092310c60664e0e3 | [
"MIT"
] | null | null | null | basecampy3/__init__.py | sam-marsh/basecampy3 | 97a844a699aae9be8aa387d3092310c60664e0e3 | [
"MIT"
] | null | null | null | from .bc3_api import Basecamp3
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
942acca6b425468e4fcd9220ee2d519b0c8e70f0 | 30 | py | Python | unweaver/geo/__init__.py | jsbeckwith/unweaver | a4ba9e4e288c75e93bf7f9d67bc11680f09c3da0 | [
"Apache-2.0"
] | 4 | 2019-04-24T16:38:57.000Z | 2021-12-28T20:38:08.000Z | unweaver/geo/__init__.py | jsbeckwith/unweaver | a4ba9e4e288c75e93bf7f9d67bc11680f09c3da0 | [
"Apache-2.0"
] | 3 | 2021-06-02T04:06:33.000Z | 2021-11-02T01:47:20.000Z | unweaver/geo/__init__.py | jsbeckwith/unweaver | a4ba9e4e288c75e93bf7f9d67bc11680f09c3da0 | [
"Apache-2.0"
] | 1 | 2020-08-13T04:42:05.000Z | 2020-08-13T04:42:05.000Z | from .cut import cut, cut_off
| 15 | 29 | 0.766667 | 6 | 30 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
943273a5e55a029b652b51104e1c080e61496f57 | 13,391 | py | Python | rlgraph/tests/performance/test_python_memory_performance.py | RLGraph/RLGraph | 428fc136a9a075f29a397495b4226a491a287be2 | [
"Apache-2.0"
] | 290 | 2018-07-29T15:30:57.000Z | 2022-03-19T02:46:53.000Z | rlgraph/tests/performance/test_python_memory_performance.py | RLGraph/RLGraph | 428fc136a9a075f29a397495b4226a491a287be2 | [
"Apache-2.0"
] | 76 | 2018-10-19T08:42:01.000Z | 2020-05-03T08:34:21.000Z | rlgraph/tests/performance/test_python_memory_performance.py | RLGraph/RLGraph | 428fc136a9a075f29a397495b4226a491a287be2 | [
"Apache-2.0"
] | 41 | 2018-10-30T07:05:05.000Z | 2022-03-01T08:28:24.000Z | # Copyright 2018/2019 The RLgraph 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... | 35.900804 | 99 | 0.556867 | 1,414 | 13,391 | 5.149929 | 0.14215 | 0.021148 | 0.024718 | 0.023071 | 0.778495 | 0.768058 | 0.756935 | 0.743065 | 0.732079 | 0.70791 | 0 | 0.009453 | 0.328504 | 13,391 | 372 | 100 | 35.997312 | 0.800378 | 0.096333 | 0 | 0.743056 | 0 | 0 | 0.135962 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 1 | 0.027778 | false | 0 | 0.041667 | 0 | 0.104167 | 0.09375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
944b2ad84f17ba589dfb31ea0bae7c00e65c8cca | 3,446 | py | Python | previous/create_ct_datasets.py | ivanpmartell/suprref | afdd917122d06bb1bed84077b36bbea717de6b60 | [
"MIT"
] | 1 | 2020-05-17T14:06:31.000Z | 2020-05-17T14:06:31.000Z | previous/create_ct_datasets.py | ivanpmartell/suprref | afdd917122d06bb1bed84077b36bbea717de6b60 | [
"MIT"
] | null | null | null | previous/create_ct_datasets.py | ivanpmartell/suprref | afdd917122d06bb1bed84077b36bbea717de6b60 | [
"MIT"
] | null | null | null | import os
from CNNPROM.dataset import CNNPROMDataset
from ICNN.dataset import ICNNDataset
from DPROM.dataset import DPROMDataset
def create_folder_ifne(model_folder):
if not os.path.exists(model_folder):
os.makedirs(model_folder)
#NO DUPLICATES
create_folder_ifne('datasets/dprom_TATA')
DPROMDataset(file="... | 78.318182 | 240 | 0.81776 | 534 | 3,446 | 4.953184 | 0.102996 | 0.068053 | 0.090737 | 0.127032 | 0.92552 | 0.908885 | 0.898299 | 0.898299 | 0.898299 | 0.898299 | 0 | 0.033088 | 0.052815 | 3,446 | 44 | 241 | 78.318182 | 0.777267 | 0.008125 | 0 | 0 | 0 | 0 | 0.272169 | 0.159204 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.114286 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
945fb3d252461b6577be65b54776111a60825c47 | 30 | py | Python | pylr2/__init__.py | OceanOptics/pylr2 | ceff8b56d46abb5649af57492630909db632ce82 | [
"MIT"
] | 4 | 2018-12-14T13:33:29.000Z | 2022-03-24T20:12:10.000Z | pylr2/__init__.py | OceanOptics/pylr2 | ceff8b56d46abb5649af57492630909db632ce82 | [
"MIT"
] | null | null | null | pylr2/__init__.py | OceanOptics/pylr2 | ceff8b56d46abb5649af57492630909db632ce82 | [
"MIT"
] | 2 | 2021-02-24T01:11:41.000Z | 2021-07-19T08:28:34.000Z | from .regress2 import regress2 | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84779d4d0d14c75ba3063ef6553c239e616514fd | 76 | py | Python | snippets/numpy/__init__.py | oojBuffalo/micropython-ulab | 4407bec88c3a7585ffbdfdd98e72bed12329ff3c | [
"MIT"
] | 1 | 2022-03-07T08:54:35.000Z | 2022-03-07T08:54:35.000Z | snippets/numpy/__init__.py | oojBuffalo/micropython-ulab | 4407bec88c3a7585ffbdfdd98e72bed12329ff3c | [
"MIT"
] | null | null | null | snippets/numpy/__init__.py | oojBuffalo/micropython-ulab | 4407bec88c3a7585ffbdfdd98e72bed12329ff3c | [
"MIT"
] | null | null | null |
from . import core
from .core import *
from . import lib
from .lib import * | 15.2 | 19 | 0.710526 | 12 | 76 | 4.5 | 0.333333 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 76 | 5 | 20 | 15.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8477f367bad15fe32c1bac3d434c8ef5f043de1f | 43 | py | Python | mohit/master_slave.py | yatharthrajput/Python | 498b38e5fdf92b6c5768300dc2f172a7c0db62b9 | [
"MIT"
] | 7 | 2021-11-07T11:38:26.000Z | 2022-01-07T11:19:33.000Z | mohit/master_slave.py | mohit2016/Python | 498b38e5fdf92b6c5768300dc2f172a7c0db62b9 | [
"MIT"
] | null | null | null | mohit/master_slave.py | mohit2016/Python | 498b38e5fdf92b6c5768300dc2f172a7c0db62b9 | [
"MIT"
] | null | null | null | print("In future I'll complete this file.") | 43 | 43 | 0.744186 | 8 | 43 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
848d809457d870c907be2a198d36a49308fa7474 | 20 | py | Python | python/rdrive/__init__.py | rozum-robotics/Rozum-Servo-Drives-API | 6657372870e6235089e38a68a422ea2d4dc4b0c3 | [
"Apache-2.0"
] | 8 | 2018-07-24T13:32:31.000Z | 2021-09-03T13:52:35.000Z | python/rdrive/__init__.py | rozum-robotics/Rozum-Servo-Drives-API | 6657372870e6235089e38a68a422ea2d4dc4b0c3 | [
"Apache-2.0"
] | 4 | 2018-09-14T09:27:20.000Z | 2021-11-16T04:08:53.000Z | python/rdrive/__init__.py | rozum-robotics/Rozum-Servo-Drives-API | 6657372870e6235089e38a68a422ea2d4dc4b0c3 | [
"Apache-2.0"
] | 6 | 2018-07-28T00:52:38.000Z | 2021-02-07T18:52:19.000Z | from .servo import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84c2f47a51c6e72775a4a03b4dd34b59b0805d32 | 71 | py | Python | base/__init__.py | victorruelle/mail | 45f87711226c2f40ef9070b4f6bf8c5da0b9ef76 | [
"MIT"
] | null | null | null | base/__init__.py | victorruelle/mail | 45f87711226c2f40ef9070b4f6bf8c5da0b9ef76 | [
"MIT"
] | null | null | null | base/__init__.py | victorruelle/mail | 45f87711226c2f40ef9070b4f6bf8c5da0b9ef76 | [
"MIT"
] | null | null | null | from base.mail import get_new_mail, send_plaintext_mail, send_html_mail | 71 | 71 | 0.887324 | 13 | 71 | 4.384615 | 0.692308 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 71 | 1 | 71 | 71 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84d69a66a05f045eeced6742d97fdfcf55330002 | 45 | py | Python | doublemetaphone/__init__.py | odidev/doublemetaphone | 62b6c6e65faf62db98f471ea55532bbd0804c5b4 | [
"MIT"
] | 9 | 2017-04-20T15:28:50.000Z | 2021-09-26T02:45:24.000Z | doublemetaphone/__init__.py | odidev/doublemetaphone | 62b6c6e65faf62db98f471ea55532bbd0804c5b4 | [
"MIT"
] | 5 | 2020-03-31T21:50:06.000Z | 2022-01-01T01:56:38.000Z | doublemetaphone/__init__.py | odidev/doublemetaphone | 62b6c6e65faf62db98f471ea55532bbd0804c5b4 | [
"MIT"
] | 6 | 2018-02-26T19:32:47.000Z | 2021-09-26T01:44:42.000Z | from .doublemetaphone import doublemetaphone
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84dce4dfdfacacbab308961690ded30f068ecddc | 326 | py | Python | Lesson08/test/__init__.py | AlexMazonowicz/PythonFundamentals | 5451f61d3b4e7cd285dea442795c25baa5072ef9 | [
"MIT"
] | 2 | 2020-02-27T01:33:43.000Z | 2021-03-29T13:11:54.000Z | Lesson08/test/__init__.py | AlexMazonowicz/PythonFundamentals | 5451f61d3b4e7cd285dea442795c25baa5072ef9 | [
"MIT"
] | null | null | null | Lesson08/test/__init__.py | AlexMazonowicz/PythonFundamentals | 5451f61d3b4e7cd285dea442795c25baa5072ef9 | [
"MIT"
] | 6 | 2019-03-18T04:49:11.000Z | 2022-03-22T04:03:19.000Z | # Importing `mailing_list_utils` package to be used by external files
from Lesson08.solution import main as main
from Lesson08.solution import modules_package_file as mailing_list_utils
from Lesson08.solution import optional_pandas as pandas_optional
from Lesson08.solution import update_mailing_list as upd_mailing_... | 54.333333 | 73 | 0.858896 | 49 | 326 | 5.469388 | 0.469388 | 0.164179 | 0.298507 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027875 | 0.119632 | 326 | 5 | 74 | 65.2 | 0.905923 | 0.205521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca2adddebfcca30de92d2b770408dabce24bcb77 | 15,168 | py | Python | skyline_apiserver/policy/manager/glance.py | openstack/skyline-apiserver | 60144767cd5513bd581fbb8eac7791887d5b276f | [
"Apache-2.0"
] | null | null | null | skyline_apiserver/policy/manager/glance.py | openstack/skyline-apiserver | 60144767cd5513bd581fbb8eac7791887d5b276f | [
"Apache-2.0"
] | null | null | null | skyline_apiserver/policy/manager/glance.py | openstack/skyline-apiserver | 60144767cd5513bd581fbb8eac7791887d5b276f | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from . import base
list_rules = (
base.Rule(
name="default",
check_str=(""),
description="Defines the default rule used for policies that historically had an empty policy in the supplied policy.json file.",
),
base.Rule(
name="context_is_admin",
check... | 40.664879 | 511 | 0.613594 | 1,832 | 15,168 | 4.903384 | 0.088974 | 0.072136 | 0.057553 | 0.078482 | 0.886675 | 0.877324 | 0.854503 | 0.850607 | 0.825114 | 0.793054 | 0 | 0.002484 | 0.230156 | 15,168 | 372 | 512 | 40.774194 | 0.766807 | 0.000791 | 0 | 0.695652 | 0 | 0.019022 | 0.496173 | 0.101557 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013587 | 0 | 0.013587 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca4820264092454e971766b7a07e36b5d68173b2 | 35,613 | py | Python | neuro-sdk/tests/test_config.py | neuro-inc/neuro-cli | 72bd2a825cc319bbc79c6df16f33380796fad4f5 | [
"Apache-2.0"
] | 5 | 2019-09-24T15:37:47.000Z | 2020-08-04T09:25:29.000Z | neuro-sdk/tests/test_config.py | neuromation/platform-client-python | 72bd2a825cc319bbc79c6df16f33380796fad4f5 | [
"Apache-2.0"
] | 748 | 2019-08-05T14:57:11.000Z | 2020-09-28T09:54:41.000Z | neuro-sdk/tests/test_config.py | neuro-inc/neuro-cli | 72bd2a825cc319bbc79c6df16f33380796fad4f5 | [
"Apache-2.0"
] | 3 | 2019-10-07T19:25:22.000Z | 2020-06-29T01:41:26.000Z | from dataclasses import replace
from decimal import Decimal
from pathlib import Path
from typing import Any, Callable, Dict
from unittest import mock
from urllib.parse import parse_qsl
import pytest
import toml
from aiohttp import web
from yarl import URL
from neuro_sdk import Client, Cluster, ConfigError, ConfigScop... | 37.408613 | 88 | 0.596917 | 4,120 | 35,613 | 4.919175 | 0.072573 | 0.038684 | 0.032368 | 0.024375 | 0.890808 | 0.861055 | 0.82094 | 0.791434 | 0.743129 | 0.704939 | 0 | 0.009797 | 0.274843 | 35,613 | 951 | 89 | 37.44795 | 0.774985 | 0.011625 | 0 | 0.665066 | 0 | 0 | 0.196135 | 0.004263 | 0 | 0 | 0 | 0.001052 | 0.072029 | 1 | 0.019208 | false | 0 | 0.016807 | 0.0012 | 0.048019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca73a87915763310741b99c071ee93cc3be15dcf | 270 | py | Python | recordlinkage/datasets/__init__.py | LuciaBaldassini/recordlinkage | 8892d917caf82131ddce3ad2559570b2a0caca02 | [
"BSD-3-Clause"
] | 641 | 2016-05-03T14:44:55.000Z | 2022-03-29T19:59:42.000Z | recordlinkage/datasets/__init__.py | LuciaBaldassini/recordlinkage | 8892d917caf82131ddce3ad2559570b2a0caca02 | [
"BSD-3-Clause"
] | 143 | 2015-11-23T10:58:41.000Z | 2022-03-24T00:18:00.000Z | recordlinkage/datasets/__init__.py | LuciaBaldassini/recordlinkage | 8892d917caf82131ddce3ad2559570b2a0caca02 | [
"BSD-3-Clause"
] | 126 | 2016-09-29T20:04:25.000Z | 2022-03-25T12:52:25.000Z | from recordlinkage.datasets.external import clear_data_home
from recordlinkage.datasets.external import get_data_home
from recordlinkage.datasets.external import load_krebsregister
from recordlinkage.datasets.febrl import *
from recordlinkage.datasets.generate import *
| 45 | 62 | 0.881481 | 33 | 270 | 7.060606 | 0.393939 | 0.364807 | 0.536481 | 0.424893 | 0.570815 | 0.403433 | 0.403433 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 270 | 5 | 63 | 54 | 0.932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ca9bb46d259b432d8378b98814d5ecce63fd7c29 | 1,937 | py | Python | lightsy/levels.py | adamjforster/lightsy | f1e50328da8e2d3c4ee37c148a0c15c5350e8dda | [
"BSD-3-Clause"
] | null | null | null | lightsy/levels.py | adamjforster/lightsy | f1e50328da8e2d3c4ee37c148a0c15c5350e8dda | [
"BSD-3-Clause"
] | null | null | null | lightsy/levels.py | adamjforster/lightsy | f1e50328da8e2d3c4ee37c148a0c15c5350e8dda | [
"BSD-3-Clause"
] | null | null | null | """Levels
Example level:
LEVELX = [
[1, 0, 0, 0, 1],
[0, 1, 0, 1, 0],
[0, 0, 0, 0, 0],
[0, 1, 0, 1, 0],
[1, 0, 0, 0, 1],
]
"""
import copy
LEVEL1 = [
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[1, 0, 1, 0, 1],
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
]
LEVEL2 = [
[1, 0, 1, 0, 1],
[1... | 15.620968 | 44 | 0.311306 | 397 | 1,937 | 1.518892 | 0.075567 | 0.354892 | 0.41791 | 0.431177 | 0.515755 | 0.505804 | 0.480929 | 0.46932 | 0.444444 | 0.379768 | 0 | 0.31198 | 0.379453 | 1,937 | 123 | 45 | 15.747967 | 0.189684 | 0.072277 | 0 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010638 | 0 | 0.010638 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
04eef86233e84caf6ccad2b7289f52cfbd06e4b7 | 31 | py | Python | django_grapesjs/admin/__init__.py | agenteAND/django_grapesjs | fc0ab4052182336bf92a6254e550532f7788d1a5 | [
"MIT"
] | 54 | 2018-06-05T13:59:40.000Z | 2021-11-18T09:52:04.000Z | django_grapesjs/admin/__init__.py | agenteAND/django_grapesjs | fc0ab4052182336bf92a6254e550532f7788d1a5 | [
"MIT"
] | 5 | 2018-06-15T01:54:12.000Z | 2021-05-18T06:10:20.000Z | django_grapesjs/admin/__init__.py | agenteAND/django_grapesjs | fc0ab4052182336bf92a6254e550532f7788d1a5 | [
"MIT"
] | 24 | 2018-09-10T11:32:24.000Z | 2022-03-05T15:29:11.000Z | from .grepesjs_mixin import *
| 10.333333 | 29 | 0.774194 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6e2f3b6c28a2fa573a1b8c35e2dab0f44e6c0c2 | 39 | py | Python | FSM/__init__.py | BTMAN1489-1/International_TelegramBot | 5a772394fe151eed10d550b43006c4bc0815de44 | [
"MIT"
] | null | null | null | FSM/__init__.py | BTMAN1489-1/International_TelegramBot | 5a772394fe151eed10d550b43006c4bc0815de44 | [
"MIT"
] | null | null | null | FSM/__init__.py | BTMAN1489-1/International_TelegramBot | 5a772394fe151eed10d550b43006c4bc0815de44 | [
"MIT"
] | null | null | null | from .welcome_form import WelcomeState
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6e5eb25d9718f1aff46c288c5d79c62707f50bd | 190 | py | Python | rest_dataclasses/__init__.py | shosca/django-rest-dataclasses | 5d119967dc16c1ba6fe4dfddafd6e55bd96b23a9 | [
"MIT"
] | 14 | 2019-06-25T13:47:17.000Z | 2021-08-20T16:25:18.000Z | rest_dataclasses/__init__.py | shosca/django-rest-dataclasses | 5d119967dc16c1ba6fe4dfddafd6e55bd96b23a9 | [
"MIT"
] | null | null | null | rest_dataclasses/__init__.py | shosca/django-rest-dataclasses | 5d119967dc16c1ba6fe4dfddafd6e55bd96b23a9 | [
"MIT"
] | 1 | 2019-06-25T13:47:23.000Z | 2019-06-25T13:47:23.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from .__version__ import __author__, __author_email__, __description__, __version__ # noqa
| 38 | 91 | 0.8 | 21 | 190 | 5.904762 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.115789 | 190 | 4 | 92 | 47.5 | 0.732143 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
8e0d3504f82113bcfd8313ca87d046031a817cb9 | 92 | py | Python | flask/app/views.py | reppon97/flask-docker-uwsgi | 51e79175a89491d68adbb02c4963e6b7261ab662 | [
"MIT"
] | null | null | null | flask/app/views.py | reppon97/flask-docker-uwsgi | 51e79175a89491d68adbb02c4963e6b7261ab662 | [
"MIT"
] | null | null | null | flask/app/views.py | reppon97/flask-docker-uwsgi | 51e79175a89491d68adbb02c4963e6b7261ab662 | [
"MIT"
] | null | null | null | from app import app
@app.route('/')
def index():
return 'Hello from dockerized flask'
| 13.142857 | 40 | 0.673913 | 13 | 92 | 4.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 92 | 6 | 41 | 15.333333 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f3d1a32ce1d9194fbf42d89c5badfd7d3d161f4d | 43 | py | Python | test_hello.py | cclauss/python_builtin_ci_hack | 66beebb04c3f2294d1551371564eea9c29ca34e2 | [
"Apache-2.0"
] | 1 | 2019-08-12T12:37:32.000Z | 2019-08-12T12:37:32.000Z | test_hello.py | cclauss/python_builtin_ci_hack | 66beebb04c3f2294d1551371564eea9c29ca34e2 | [
"Apache-2.0"
] | null | null | null | test_hello.py | cclauss/python_builtin_ci_hack | 66beebb04c3f2294d1551371564eea9c29ca34e2 | [
"Apache-2.0"
] | null | null | null | from hello import test_hello
test_hello()
| 10.75 | 28 | 0.813953 | 7 | 43 | 4.714286 | 0.571429 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 29 | 14.333333 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
f3e7bdbaced87a4c4d71e3eeec2d2e89ddb34623 | 10,157 | py | Python | tools/w3af/w3af/plugins/tests/auth/test_detailed.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | 3 | 2019-04-09T22:59:33.000Z | 2019-06-14T09:23:24.000Z | tools/w3af/w3af/plugins/tests/auth/test_detailed.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | null | null | null | tools/w3af/w3af/plugins/tests/auth/test_detailed.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | null | null | null | """
test_detailed.py
Copyright 2012 Andres Riancho
This file is part of w3af, http://w3af.org/ .
w3af is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.
w3af is distributed in the hope th... | 41.627049 | 83 | 0.511175 | 975 | 10,157 | 5.152821 | 0.212308 | 0.08957 | 0.035828 | 0.017914 | 0.782245 | 0.770701 | 0.735271 | 0.706011 | 0.706011 | 0.687301 | 0 | 0.012093 | 0.36497 | 10,157 | 243 | 84 | 41.798354 | 0.766822 | 0.099242 | 0 | 0.781818 | 0 | 0 | 0.207412 | 0.017816 | 0 | 0 | 0 | 0 | 0.072727 | 1 | 0.024242 | false | 0.048485 | 0.024242 | 0 | 0.230303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f3ed9505c6780df63aed9f7bea419cf14b14c442 | 40 | py | Python | pygame_geometry/tests/test11.py | MarcPartensky/Pygame-Geometry | 61abbbeac0fd351253e06b19736d9939fd5b316e | [
"MIT"
] | 3 | 2021-01-03T18:13:02.000Z | 2021-06-27T21:29:11.000Z | pygame_geometry/tests/test11.py | MarcPartensky/Pygame-Geometry | 61abbbeac0fd351253e06b19736d9939fd5b316e | [
"MIT"
] | null | null | null | pygame_geometry/tests/test11.py | MarcPartensky/Pygame-Geometry | 61abbbeac0fd351253e06b19736d9939fd5b316e | [
"MIT"
] | null | null | null | import random
print(random.randint(2))
| 10 | 24 | 0.775 | 6 | 40 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.1 | 40 | 3 | 25 | 13.333333 | 0.833333 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6d2a2816a5a1a417e095bd68b0114153e37b358c | 4,301 | py | Python | rllib/execution/test_segment_tree.py | zommiommy/ray | aa1cbe8abc845e1a6acf2f237b4b00aa7c3f295d | [
"Apache-2.0"
] | 1 | 2020-11-14T19:25:41.000Z | 2020-11-14T19:25:41.000Z | rllib/execution/test_segment_tree.py | GoingMyWay/ray | 4fb195a22e972a0b54359ffa58afedb35e827540 | [
"Apache-2.0"
] | null | null | null | rllib/execution/test_segment_tree.py | GoingMyWay/ray | 4fb195a22e972a0b54359ffa58afedb35e827540 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import timeit
import unittest
from ray.rllib.execution.segment_tree import SumSegmentTree, MinSegmentTree
class TestSegmentTree(unittest.TestCase):
def test_tree_set(self):
tree = SumSegmentTree(4)
tree[2] = 1.0
tree[3] = 3.0
assert np.isclose(tree.sum(), 4.0)... | 32.097015 | 79 | 0.577075 | 637 | 4,301 | 3.803768 | 0.11617 | 0.108956 | 0.204292 | 0.25877 | 0.804787 | 0.793644 | 0.769294 | 0.665704 | 0.489476 | 0.421791 | 0 | 0.100418 | 0.27761 | 4,301 | 133 | 80 | 32.338346 | 0.679434 | 0.114857 | 0 | 0.26087 | 0 | 0 | 0.063466 | 0.025766 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.065217 | false | 0 | 0.086957 | 0 | 0.163043 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6d2c01e06537e349a382f130f93b992bf16147ef | 43 | py | Python | xrspatial/experimental/__init__.py | kwinkunks/xarray-spatial | 59984d859820e6e1cd9f11f1bf7696c04d1924fb | [
"MIT"
] | 1 | 2022-02-22T21:51:12.000Z | 2022-02-22T21:51:12.000Z | xrspatial/experimental/__init__.py | DahnJ/xarray-spatial | e4cc6affeb3239b339a0a188dbc81cf05a91c739 | [
"MIT"
] | null | null | null | xrspatial/experimental/__init__.py | DahnJ/xarray-spatial | e4cc6affeb3239b339a0a188dbc81cf05a91c739 | [
"MIT"
] | null | null | null | from .polygonize import polygonize # noqa
| 21.5 | 42 | 0.790698 | 5 | 43 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 1 | 43 | 43 | 0.944444 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6d43dfa928a9d4284745acd8bb69a2a1d0c99d6d | 196 | py | Python | hdmf_docutils/__init__.py | NeurodataWithoutBorders/nwb-docutils | 96d381e7e84f7c5c526c2e6d69ae110d8f2c52d6 | [
"BSD-3-Clause-LBNL"
] | null | null | null | hdmf_docutils/__init__.py | NeurodataWithoutBorders/nwb-docutils | 96d381e7e84f7c5c526c2e6d69ae110d8f2c52d6 | [
"BSD-3-Clause-LBNL"
] | 27 | 2018-04-05T16:19:19.000Z | 2019-11-19T21:00:50.000Z | hdmf_docutils/__init__.py | NeurodataWithoutBorders/nwb-docutils | 96d381e7e84f7c5c526c2e6d69ae110d8f2c52d6 | [
"BSD-3-Clause-LBNL"
] | 2 | 2018-04-19T23:02:38.000Z | 2019-05-16T05:31:18.000Z | """
Package with helper functions used to generate the documentation and
other utility functions.
"""
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 19.6 | 68 | 0.790816 | 25 | 196 | 5.88 | 0.72 | 0.22449 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 196 | 9 | 69 | 21.777778 | 0.864706 | 0.47449 | 0 | 0 | 1 | 0 | 0.073684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
edae388b4d74aaed1a9272875ab558f1fd4c9f41 | 41 | py | Python | bevutils/models/metrics/__init__.py | huangyuyao/bevutils | 24e5c4954b17ed58e27697447ab667c65f59b7e0 | [
"MIT"
] | 2 | 2019-08-04T15:25:28.000Z | 2020-11-07T11:48:41.000Z | bevutils/models/metrics/__init__.py | huangyuyao/bevutils | 24e5c4954b17ed58e27697447ab667c65f59b7e0 | [
"MIT"
] | null | null | null | bevutils/models/metrics/__init__.py | huangyuyao/bevutils | 24e5c4954b17ed58e27697447ab667c65f59b7e0 | [
"MIT"
] | null | null | null | from .metric import my_metric, my_metric2 | 41 | 41 | 0.853659 | 7 | 41 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.097561 | 41 | 1 | 41 | 41 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ede6b8f32ea70a98705eb360d4cd2992643c4593 | 30 | py | Python | hello-fortran-cmaker/hello/__init__.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | 4 | 2021-07-28T02:16:52.000Z | 2021-12-23T00:20:21.000Z | hello-fortran-cmaker/hello/__init__.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | 1 | 2021-09-14T21:17:49.000Z | 2021-09-14T23:17:47.000Z | hello-fortran-cmaker/hello/__init__.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | null | null | null | from ._hello import hello_mod
| 15 | 29 | 0.833333 | 5 | 30 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b61b85d441e52055ffec4eb7cd51b7529fb887be | 30 | py | Python | iiotsapps/graphql/farms/mutations/__init__.py | CorpofloTechCommunity/Intelligent-IOT-system- | 99af2efe1e8c7623ed76df246e29cfb5654474af | [
"MIT"
] | null | null | null | iiotsapps/graphql/farms/mutations/__init__.py | CorpofloTechCommunity/Intelligent-IOT-system- | 99af2efe1e8c7623ed76df246e29cfb5654474af | [
"MIT"
] | 1 | 2020-08-02T11:58:22.000Z | 2020-08-02T11:58:22.000Z | iiotsapps/graphql/farms/mutations/__init__.py | CorpofloTechCommunity/Intelligent-IOT-system- | 99af2efe1e8c7623ed76df246e29cfb5654474af | [
"MIT"
] | 2 | 2020-07-31T11:08:14.000Z | 2020-08-19T10:46:43.000Z | from .farm import FarmMutation | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6580b5e4287e4f5d0850fee639eaf56dd348389 | 129 | py | Python | src/som/interpreter/objectstorage/layout_transitions.py | smarr/RPySOM | 941e1fe08753d6e97dac24c3ba4d1e99a9c40160 | [
"MIT"
] | 22 | 2015-10-29T05:11:06.000Z | 2022-03-01T11:18:45.000Z | src/som/interpreter/objectstorage/layout_transitions.py | SOM-st/RTruffleSOM | 1efc698577830ff3fcd1607e7155d9c6423e8804 | [
"MIT"
] | 16 | 2021-03-07T22:09:33.000Z | 2021-08-24T12:36:15.000Z | src/som/interpreter/objectstorage/layout_transitions.py | SOM-st/PySOM | 65ef72f44252439b724a7429408dac7f8d1b1d98 | [
"MIT"
] | 5 | 2015-01-02T03:51:29.000Z | 2020-10-02T07:05:46.000Z | class GeneralizeStorageLocationException(Exception):
pass
class UninitializedStorageLocationException(Exception):
pass
| 18.428571 | 55 | 0.829457 | 8 | 129 | 13.375 | 0.625 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 6 | 56 | 21.5 | 0.946903 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
b6b73c6c83a57bd7c7430dbfa106ca27f2481f9e | 115 | py | Python | main_2/views.py | ghassen3699/Site_web_Projet | 20eca8ded72f4e798862dd5440000afe04892092 | [
"Apache-2.0"
] | null | null | null | main_2/views.py | ghassen3699/Site_web_Projet | 20eca8ded72f4e798862dd5440000afe04892092 | [
"Apache-2.0"
] | null | null | null | main_2/views.py | ghassen3699/Site_web_Projet | 20eca8ded72f4e798862dd5440000afe04892092 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def index_page(request) :
return render(request,'main/index_2.html')
| 11.5 | 46 | 0.73913 | 16 | 115 | 5.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.165217 | 115 | 9 | 47 | 12.777778 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fced51728d12618df922f58d7d619e38b36880c6 | 79 | py | Python | rdfizer/run_rdfizer.py | daniel-dona/SDM-RDFizer | 05a281c03fa32a2266d7dc735f6683f0dff99b81 | [
"Apache-2.0"
] | 63 | 2019-07-17T15:40:22.000Z | 2022-02-17T17:47:42.000Z | rdfizer/run_rdfizer.py | daniel-dona/SDM-RDFizer | 05a281c03fa32a2266d7dc735f6683f0dff99b81 | [
"Apache-2.0"
] | 72 | 2019-08-26T13:47:50.000Z | 2022-03-14T14:08:14.000Z | rdfizer/run_rdfizer.py | daniel-dona/SDM-RDFizer | 05a281c03fa32a2266d7dc735f6683f0dff99b81 | [
"Apache-2.0"
] | 24 | 2019-07-17T13:44:00.000Z | 2022-03-18T08:38:40.000Z | from rdfizer.semantify import semantify
import sys
semantify(str(sys.argv[1]))
| 19.75 | 39 | 0.810127 | 12 | 79 | 5.333333 | 0.666667 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.088608 | 79 | 3 | 40 | 26.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e2f6435b9e097734d3ddf4ece61fa7d8ef3d243 | 144 | py | Python | src/tfi/asset/__init__.py | ajbouh/tfi | 6e89e8c8f1ca3b285c788cc6b802fc44f9001290 | [
"MIT"
] | 160 | 2017-09-13T00:32:05.000Z | 2018-05-21T18:17:32.000Z | src/tfi/asset/__init__.py | tesserai/tfi | 6e89e8c8f1ca3b285c788cc6b802fc44f9001290 | [
"MIT"
] | 6 | 2017-09-14T17:54:21.000Z | 2018-01-27T19:31:18.000Z | src/tfi/asset/__init__.py | ajbouh/tfi | 6e89e8c8f1ca3b285c788cc6b802fc44f9001290 | [
"MIT"
] | 11 | 2017-09-13T00:37:08.000Z | 2018-03-05T08:03:34.000Z | def asset_path(model, asset_name):
if not hasattr(model, '__tfi_asset_path__'):
return None
return model.__tfi_asset_path__(asset_name)
| 28.8 | 46 | 0.777778 | 22 | 144 | 4.409091 | 0.5 | 0.278351 | 0.268041 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 4 | 47 | 36 | 0.776 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 | 0 | 0 | 0 | 6 |
1e6e67f548660afac1f540dc467d280dd2b78a3d | 2,724 | py | Python | custom_components/ikamand/sensor.py | slinkymanbyday/ikamand-ha | f4a3af534d5cdb282594fcb5946460c4ff8a9b3e | [
"MIT"
] | 1 | 2021-05-18T02:35:19.000Z | 2021-05-18T02:35:19.000Z | custom_components/ikamand/sensor.py | slinkymanbyday/ikamand-ha | f4a3af534d5cdb282594fcb5946460c4ff8a9b3e | [
"MIT"
] | 14 | 2021-01-25T07:58:19.000Z | 2021-02-17T04:00:41.000Z | custom_components/ikamand/sensor.py | slinkymanbyday/ikamand-ha | f4a3af534d5cdb282594fcb5946460c4ff8a9b3e | [
"MIT"
] | null | null | null | """Sensor data from iKamand."""
from homeassistant.const import PERCENTAGE, TEMP_CELSIUS
from homeassistant.helpers.entity import Entity
from .const import DOMAIN, PROBES
def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up the iKamand sensors."""
if discovery_info is None:
... | 26.446602 | 71 | 0.617841 | 325 | 2,724 | 5.073846 | 0.2 | 0.080049 | 0.078836 | 0.092177 | 0.727714 | 0.727714 | 0.727714 | 0.727714 | 0.727714 | 0.727714 | 0 | 0 | 0.257342 | 2,724 | 102 | 72 | 26.705882 | 0.815126 | 0.247797 | 0 | 0.677966 | 0 | 0 | 0.091376 | 0.050308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.288136 | false | 0 | 0.050847 | 0 | 0.59322 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1e7b04eadef2cdcf124ffe5b012b7f7b38720f43 | 103 | py | Python | ClassCode/P3/cast.py | tsyet12/ClassCode | db1db97f71a6f31769d58739c6687863bc6b88c4 | [
"MIT"
] | null | null | null | ClassCode/P3/cast.py | tsyet12/ClassCode | db1db97f71a6f31769d58739c6687863bc6b88c4 | [
"MIT"
] | null | null | null | ClassCode/P3/cast.py | tsyet12/ClassCode | db1db97f71a6f31769d58739c6687863bc6b88c4 | [
"MIT"
] | null | null | null | X=1234567891.1234
X=int(X) #1234567890
X=str(X) #"1234567890"
X=X[4] #computer starts at 0
print(X)
| 14.714286 | 30 | 0.68932 | 20 | 103 | 3.55 | 0.6 | 0.309859 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.404494 | 0.135922 | 103 | 6 | 31 | 17.166667 | 0.393258 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1eb89bb42812b4005e1446470bac3763a72b2c2b | 6,777 | py | Python | Models/AutoEncoder.py | neohanju/AutoencodingTheWorld | 23f8a89bb7399df63cd7a0cb1b5a750214a44072 | [
"MIT"
] | 3 | 2017-09-22T02:34:32.000Z | 2019-01-10T02:59:57.000Z | Models/AutoEncoder.py | neohanju/AutoencodingTheWorld | 23f8a89bb7399df63cd7a0cb1b5a750214a44072 | [
"MIT"
] | null | null | null | Models/AutoEncoder.py | neohanju/AutoencodingTheWorld | 23f8a89bb7399df63cd7a0cb1b5a750214a44072 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.parallel
'''
size 113
'''
class AE(nn.Module):
def __init__(self, num_in_channels, z_size=200, num_filters=32, ngpu=1):
super().__init__()
self.encoder = nn.Sequential(
# expected input: (L) x 227 x 227
nn.Conv2d(num_in_cha... | 36.240642 | 80 | 0.538439 | 973 | 6,777 | 3.608428 | 0.076053 | 0.176588 | 0.075192 | 0.119624 | 0.935346 | 0.921105 | 0.921105 | 0.921105 | 0.921105 | 0.921105 | 0 | 0.080997 | 0.336875 | 6,777 | 187 | 81 | 36.240642 | 0.700267 | 0.066844 | 0 | 0.263889 | 0 | 0 | 0.004222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.041667 | 0.027778 | 0.180556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
949dbbe6c80d69449fe73bc2435bedbc7c5832f0 | 16,330 | py | Python | tests/resection_test.py | mjirik/lisa | 06c5cb8f375f51302341e768512f02236774c8a3 | [
"BSD-3-Clause"
] | 22 | 2015-01-26T12:58:54.000Z | 2021-04-15T17:48:13.000Z | tests/resection_test.py | mjirik/lisa | 06c5cb8f375f51302341e768512f02236774c8a3 | [
"BSD-3-Clause"
] | 31 | 2015-01-23T14:46:13.000Z | 2018-05-18T14:47:18.000Z | tests/resection_test.py | mjirik/lisa | 06c5cb8f375f51302341e768512f02236774c8a3 | [
"BSD-3-Clause"
] | 13 | 2015-06-30T08:54:27.000Z | 2020-09-11T16:08:19.000Z | #! /usr/bin/python
# -*- coding: utf-8 -*-
from loguru import logger
# logger = logging.getLogger()
import unittest
import os.path as op
import pytest
path_to_script = op.dirname(op.abspath(__file__))
import sys
sys.path.insert(0, op.abspath(op.join(path_to_script, "../../io3d")))
sys.path.insert(0, op.a... | 34.306723 | 126 | 0.613472 | 1,854 | 16,330 | 5.219525 | 0.125135 | 0.043402 | 0.022734 | 0.029761 | 0.83466 | 0.816885 | 0.794048 | 0.768317 | 0.752609 | 0.733078 | 0 | 0.0528 | 0.271647 | 16,330 | 475 | 127 | 34.378947 | 0.760804 | 0.165524 | 0 | 0.697211 | 0 | 0 | 0.053283 | 0 | 0 | 0 | 0 | 0 | 0.115538 | 1 | 0.055777 | false | 0 | 0.167331 | 0 | 0.231076 | 0.003984 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94acddd64c2e7c2e1988ede95d99e8bba09ccc9e | 165 | py | Python | haikou-experiments/basis/assistant.py | seanys/Predicting-the-Matching-Probability-and-Expected-Ride-shared-Distance-of-Enroute-Ridepooling-Orders | 9a7aea7cde743dce3baf422221acbb4581370f20 | [
"Apache-2.0"
] | 2 | 2021-12-12T03:17:21.000Z | 2022-01-07T12:22:46.000Z | haikou-experiments/basis/assistant.py | seanys/Predicting-the-Matching-Probability-and-Expected-Ride-shared-Distance-of-Enroute-Ridepooling-Orders | 9a7aea7cde743dce3baf422221acbb4581370f20 | [
"Apache-2.0"
] | null | null | null | haikou-experiments/basis/assistant.py | seanys/Predicting-the-Matching-Probability-and-Expected-Ride-shared-Distance-of-Enroute-Ridepooling-Orders | 9a7aea7cde743dce3baf422221acbb4581370f20 | [
"Apache-2.0"
] | 2 | 2021-08-11T08:11:09.000Z | 2021-08-11T08:18:28.000Z | def getID(i,j):
return ("%05d%05d")%(i,j)
def getIDL(i,j):
return ("%08d%08d")%(i,j)
def getIDFour(i,j,m,n):
return ("%05d%05d%05d%05d")%(i,j,m,n)
| 18.333333 | 41 | 0.527273 | 33 | 165 | 2.636364 | 0.333333 | 0.137931 | 0.183908 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 0.181818 | 165 | 8 | 42 | 20.625 | 0.525926 | 0 | 0 | 0 | 0 | 0 | 0.193939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
94cfe095dfa3d54bdf5550e28c33afe9f0a527ba | 96 | py | Python | venv/lib/python3.8/site-packages/html5lib/treeadapters/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/html5lib/treeadapters/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/html5lib/treeadapters/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d7/c8/72/23e6add9a06c74ace9c11c1ae65185d62a6072d693617a14f449f66508 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94df6f0239fd0b21681924018d673aa424ac40b8 | 44 | py | Python | twodlearn/templates/mnist/__init__.py | danmar3/twodlearn | 02b23bf07618d5288e338bd8f312cc38aa58c195 | [
"Apache-2.0"
] | null | null | null | twodlearn/templates/mnist/__init__.py | danmar3/twodlearn | 02b23bf07618d5288e338bd8f312cc38aa58c195 | [
"Apache-2.0"
] | null | null | null | twodlearn/templates/mnist/__init__.py | danmar3/twodlearn | 02b23bf07618d5288e338bd8f312cc38aa58c195 | [
"Apache-2.0"
] | null | null | null | import twodlearn.templates.mnist.supervised
| 22 | 43 | 0.886364 | 5 | 44 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 44 | 1 | 44 | 44 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94f23b09905864448e5ab5d4a0cd1b63bcd64a81 | 642 | py | Python | metaheuristic_algorithms/function_wrappers/michaelwicz_function_wrapper.py | eshwarkamal/metaheuristic_algorithms_python | d9162ba3af9228ff4a5e7d457eaf834b28ecf610 | [
"MIT"
] | 41 | 2015-12-07T16:10:00.000Z | 2022-01-22T11:36:09.000Z | metaheuristic_algorithms/function_wrappers/michaelwicz_function_wrapper.py | eshwarkamal/metaheuristic_algorithms_python | d9162ba3af9228ff4a5e7d457eaf834b28ecf610 | [
"MIT"
] | null | null | null | metaheuristic_algorithms/function_wrappers/michaelwicz_function_wrapper.py | eshwarkamal/metaheuristic_algorithms_python | d9162ba3af9228ff4a5e7d457eaf834b28ecf610 | [
"MIT"
] | 14 | 2016-10-15T05:06:55.000Z | 2021-11-28T15:05:13.000Z | from metaheuristic_algorithms.function_wrappers.abstract_wrapper import AbstractWrapper
from math import sin, pi
class MichaelwiczFunctionWrapper(AbstractWrapper):
def maximum_decision_variable_values(self):
return [4, 4]
def minimum_decision_variable_values(self):
return [0, 0]
def obje... | 37.764706 | 100 | 0.741433 | 78 | 642 | 5.782051 | 0.410256 | 0.283814 | 0.341463 | 0.221729 | 0.372506 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026168 | 0.166667 | 642 | 17 | 101 | 37.764706 | 0.816822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.083333 | 0.166667 | 0.25 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
bf7b04d376f316b953b52bc0bfd874f678f0922f | 45 | py | Python | ftprasp/__init__.py | kanutsanun-b/ftprasp | d1adc4376c1f7c2f5de3178184466cd6a7b515a8 | [
"MIT"
] | null | null | null | ftprasp/__init__.py | kanutsanun-b/ftprasp | d1adc4376c1f7c2f5de3178184466cd6a7b515a8 | [
"MIT"
] | null | null | null | ftprasp/__init__.py | kanutsanun-b/ftprasp | d1adc4376c1f7c2f5de3178184466cd6a7b515a8 | [
"MIT"
] | null | null | null | from ftprasp.raspFtpBackupdata import ftprasp | 45 | 45 | 0.911111 | 5 | 45 | 8.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf92afb59169e5492ba28645c512e23230416d54 | 92 | py | Python | tivol/tests/assets/mappers_for_tests.py | RoySegall/tivol | b3f32470e10f1d94c88df095e4cb67adb97b6b1a | [
"MIT"
] | 2 | 2020-02-14T01:34:03.000Z | 2020-03-16T16:22:56.000Z | tivol/tests/assets/mappers_for_tests.py | RoySegall/tivol | b3f32470e10f1d94c88df095e4cb67adb97b6b1a | [
"MIT"
] | 8 | 2020-01-23T14:12:23.000Z | 2020-02-01T09:49:28.000Z | tivol/tests/assets/mappers_for_tests.py | RoySegall/django-tivol | b3f32470e10f1d94c88df095e4cb67adb97b6b1a | [
"MIT"
] | null | null | null | from tivol.base_classes.mappers import BaseMapper
class DummyMapper(BaseMapper):
pass
| 15.333333 | 49 | 0.804348 | 11 | 92 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 50 | 18.4 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bfa376d0dacfbf289bb97b226d5a3575eef8da1f | 31 | py | Python | usim800/Sms/__init__.py | rsx2007/usim800 | eeee75666863f33fc37ecfc1ec5baa1bdd69c3c7 | [
"MIT"
] | 31 | 2019-03-09T16:55:44.000Z | 2022-03-16T03:17:54.000Z | usim800/Sms/__init__.py | rsx2007/usim800 | eeee75666863f33fc37ecfc1ec5baa1bdd69c3c7 | [
"MIT"
] | 2 | 2020-01-28T10:39:11.000Z | 2022-02-09T17:06:45.000Z | usim800/Sms/__init__.py | rsx2007/usim800 | eeee75666863f33fc37ecfc1ec5baa1bdd69c3c7 | [
"MIT"
] | 9 | 2019-03-11T07:21:15.000Z | 2022-03-21T09:48:09.000Z | from usim800.Sms.sms import sms | 31 | 31 | 0.83871 | 6 | 31 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.096774 | 31 | 1 | 31 | 31 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfd314ab614b1e3bdd4a711ab5f467d96baccec2 | 25 | py | Python | coswindow/__init__.py | auliakhalqillah/coswindow | 1057682bd6b1042e039601238a6cb052de145f5f | [
"MIT"
] | null | null | null | coswindow/__init__.py | auliakhalqillah/coswindow | 1057682bd6b1042e039601238a6cb052de145f5f | [
"MIT"
] | null | null | null | coswindow/__init__.py | auliakhalqillah/coswindow | 1057682bd6b1042e039601238a6cb052de145f5f | [
"MIT"
] | null | null | null | from .coswindow import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfd549d20edd369d73f8ed427f40d07743536a14 | 23 | py | Python | discord_web/checks.py | Cryptex-github/discord.web | 61e76ff73acf9d4c8641bdb969392ddb23c2c1a4 | [
"MIT"
] | 1 | 2022-02-04T10:20:40.000Z | 2022-02-04T10:20:40.000Z | discord_web/checks.py | Tari-dev/discord.web | f64c21c8e358565891fde2a6f544c02161c2f8a7 | [
"MIT"
] | null | null | null | discord_web/checks.py | Tari-dev/discord.web | f64c21c8e358565891fde2a6f544c02161c2f8a7 | [
"MIT"
] | null | null | null | from .errors import *
| 7.666667 | 21 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44a6dd324ed4a9796677d30e0d1bc8fad403e9e8 | 48 | py | Python | backend/backend/api/settings.py | roacobb/react-django-admin | 1b0e8c47b18190df5dd94477fb3c2ccad7874699 | [
"MIT"
] | 80 | 2015-11-13T14:08:19.000Z | 2022-02-24T07:12:27.000Z | backend/backend/api/settings.py | iamrameshkumar/react-django-admin | bb93d1e527719ed4993408effb5434b9cc762aef | [
"MIT"
] | 1 | 2016-03-30T07:18:55.000Z | 2016-03-30T10:36:15.000Z | backend/backend/api/settings.py | iamrameshkumar/react-django-admin | bb93d1e527719ed4993408effb5434b9cc762aef | [
"MIT"
] | 33 | 2016-06-07T09:04:34.000Z | 2022-02-27T23:31:09.000Z |
API_KEY_V2 = 'U3DVW32BC431Y9IOIVXCSY212UIJH8'
| 12 | 45 | 0.833333 | 4 | 48 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 0.104167 | 48 | 3 | 46 | 16 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0.652174 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
44d9446e4300081e3c8efd16823fe22d929312fd | 147,802 | py | Python | plots_sfr.py | bronreichardtchu/koffee | 7fc9ee53b940aecf716c23ec8003aa138d60aabc | [
"BSD-3-Clause"
] | null | null | null | plots_sfr.py | bronreichardtchu/koffee | 7fc9ee53b940aecf716c23ec8003aa138d60aabc | [
"BSD-3-Clause"
] | null | null | null | plots_sfr.py | bronreichardtchu/koffee | 7fc9ee53b940aecf716c23ec8003aa138d60aabc | [
"BSD-3-Clause"
] | 1 | 2021-06-21T22:55:28.000Z | 2021-06-21T22:55:28.000Z | """
NAME:
sfr_plots.py
AUTHOR:
Bronwyn Reichardt Chu
Swinburne
2020
EMAIL:
<breichardtchu@swin.edu.au>
PURPOSE:
To make plots of results from koffee against the SFR or Sigma SFR
Written on MacOS Mojave 10.14.5, with Python 3.7
FUNCTIONS INCLUDED:
plot_sfr_vout
plot_sfr_mlf_flux
plot_sfr_flux
... | 54.599926 | 374 | 0.718881 | 24,076 | 147,802 | 4.101346 | 0.027538 | 0.019809 | 0.022118 | 0.017419 | 0.916916 | 0.893259 | 0.870473 | 0.845277 | 0.823027 | 0.809923 | 0 | 0.024319 | 0.149802 | 147,802 | 2,706 | 375 | 54.620103 | 0.761477 | 0.230389 | 0 | 0.488144 | 0 | 0.011447 | 0.109645 | 0.005401 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01063 | false | 0 | 0.014718 | 0 | 0.026165 | 0.163532 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
44ecdcb942d6086c476dc331a21ba74b766b94c6 | 15,016 | py | Python | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf/area/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf/area/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf/area/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 77.803109 | 733 | 0.722896 | 2,344 | 15,016 | 4.383959 | 0.086604 | 0.080187 | 0.056442 | 0.033865 | 0.830868 | 0.787077 | 0.751362 | 0.730829 | 0.726937 | 0.721487 | 0 | 0.021855 | 0.116343 | 15,016 | 192 | 734 | 78.208333 | 0.752581 | 0.145112 | 0 | 0.387597 | 0 | 0.046512 | 0.395488 | 0.185676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.062016 | 0 | 0.294574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
780998a2a10327963313159415d83ce1a93b1fd1 | 27 | py | Python | src/euler_python_package/euler_python/medium/p328.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p328.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p328.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem328():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
784061a5f53024dca1b383c8aac63c841d0b5bfc | 192 | py | Python | resonances/data/util.py | apetrov/resonances | 50be33536965e6a78371282a2d1803c53f11d112 | [
"MIT"
] | 4 | 2015-11-04T11:23:00.000Z | 2021-08-04T20:27:42.000Z | resonances/data/util.py | apetrov/resonances | 50be33536965e6a78371282a2d1803c53f11d112 | [
"MIT"
] | 1 | 2021-08-04T20:57:22.000Z | 2021-08-07T09:17:14.000Z | resonances/data/util.py | apetrov/resonances | 50be33536965e6a78371282a2d1803c53f11d112 | [
"MIT"
] | 1 | 2021-08-04T20:49:16.000Z | 2021-08-04T20:49:16.000Z | from resonances.data import const
def axis_from_mean_motion(mean_motion):
return (const.K / mean_motion) ** (2.0 / 3)
def mean_motion_from_axis(a):
return const.K / a ** (3.0 / 2)
| 19.2 | 47 | 0.682292 | 33 | 192 | 3.727273 | 0.454545 | 0.325203 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.1875 | 192 | 9 | 48 | 21.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
78581504a01fff6dd2ad887c9f176066d0b0b4f3 | 33 | py | Python | test.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 2 | 2020-04-30T19:13:08.000Z | 2021-04-14T19:40:47.000Z | test.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 1 | 2020-04-30T19:19:09.000Z | 2020-05-02T14:22:36.000Z | test.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 1 | 2020-06-12T08:51:24.000Z | 2020-06-12T08:51:24.000Z | from KratosMultiphysics import *
| 16.5 | 32 | 0.848485 | 3 | 33 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
787363d12ab22fecfe9a645c2f6a0b8c371b21bf | 154 | py | Python | python/drowsiness-detection/credentials.py | PremSuresh/Udaya-bon | 27298512e33815a08807896e8743b08ad4e09355 | [
"MIT"
] | 4 | 2022-02-27T18:45:52.000Z | 2022-03-01T05:24:56.000Z | python/drowsiness-detection/credentials.py | PremSuresh/Udaya-bon | 27298512e33815a08807896e8743b08ad4e09355 | [
"MIT"
] | null | null | null | python/drowsiness-detection/credentials.py | PremSuresh/Udaya-bon | 27298512e33815a08807896e8743b08ad4e09355 | [
"MIT"
] | null | null | null | account_sid = "AC7a6ce3da9c5511373841a5c060e46e0d"
auth_token = "7b66c77aba7873819cc0bf8e349da01a"
my_cell = "+919543366405"
my_twilio = "+1 951 419 5742" | 38.5 | 50 | 0.818182 | 15 | 154 | 8.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.45 | 0.090909 | 154 | 4 | 51 | 38.5 | 0.421429 | 0 | 0 | 0 | 0 | 0 | 0.606452 | 0.425806 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 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 | 6 |
787587eb19bcbb4bd721b836a9ff685895d61f6c | 172 | py | Python | style_vae/train_output/__init__.py | orgoro/style-vae | e437d606b0336d793f75658eee84ebb8f387e84c | [
"MIT"
] | 21 | 2019-04-28T16:33:01.000Z | 2022-01-13T05:09:26.000Z | style_vae/train_output/__init__.py | orgoro/style-vae | e437d606b0336d793f75658eee84ebb8f387e84c | [
"MIT"
] | 2 | 2020-03-13T14:13:40.000Z | 2022-02-10T00:09:41.000Z | style_vae/train_output/__init__.py | orgoro/style-vae | e437d606b0336d793f75658eee84ebb8f387e84c | [
"MIT"
] | 2 | 2019-09-17T11:51:23.000Z | 2020-05-08T13:10:20.000Z | from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
# 3rd party:
from os import path
OUT = path.dirname(__file__) | 21.5 | 38 | 0.831395 | 24 | 172 | 5.208333 | 0.583333 | 0.24 | 0.384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.133721 | 172 | 8 | 39 | 21.5 | 0.832215 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78cceda1f8c8e3945ef7b494c9d35075a016427e | 26 | py | Python | terrascript/archive/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/archive/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/archive/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:48:52"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1520d5d37a757174898698abe4c46d7addbf945d | 50 | py | Python | app/blueprints/main/__init__.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | app/blueprints/main/__init__.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | app/blueprints/main/__init__.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | from app.blueprints.main.views import main as main | 50 | 50 | 0.84 | 9 | 50 | 4.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1545c5db9c99aae02b24febc6d508121503dee01 | 34 | py | Python | code/code_annotation/lib/eval/__init__.py | sunlab-osu/CoaCor | e5df8fd38830590b9f132dd68bc26c630e41e509 | [
"Apache-2.0"
] | 149 | 2017-07-25T21:14:36.000Z | 2022-01-04T02:56:16.000Z | code/code_annotation/lib/eval/__init__.py | sunlab-osu/CoaCor | e5df8fd38830590b9f132dd68bc26c630e41e509 | [
"Apache-2.0"
] | 5 | 2017-11-13T08:42:21.000Z | 2018-04-02T01:50:05.000Z | code/code_annotation/lib/eval/__init__.py | sunlab-osu/CoaCor | e5df8fd38830590b9f132dd68bc26c630e41e509 | [
"Apache-2.0"
] | 32 | 2017-07-25T23:55:15.000Z | 2021-11-04T17:08:55.000Z | from .Evaluator import Evaluator
| 11.333333 | 32 | 0.823529 | 4 | 34 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec5c4bcbc67bde6f13575cbafcddd9d6c3427dbf | 174 | py | Python | pydecoders/__init__.py | wwx007121/athena-decoder | a2172b41df3ceffebb2d712cd13df53b119ba0df | [
"Apache-2.0"
] | 76 | 2019-12-22T03:21:00.000Z | 2022-02-28T09:26:01.000Z | pydecoders/__init__.py | ZhengkunTian/athena-decoder | 1ebc557d37606d8a7c9f80b87b422becf7aeb56a | [
"Apache-2.0"
] | 15 | 2020-01-08T09:13:24.000Z | 2021-04-07T02:10:20.000Z | pydecoders/__init__.py | ZhengkunTian/athena-decoder | 1ebc557d37606d8a7c9f80b87b422becf7aeb56a | [
"Apache-2.0"
] | 25 | 2020-01-02T15:00:16.000Z | 2022-03-18T08:40:15.000Z | from .decoders import WFSTDecoder
from .decoders import BeamSearchDecoder
from .graph import GrammarBuilder
from .graph import LexiconBuilder
from .graph import GraphBuilder
| 29 | 39 | 0.856322 | 20 | 174 | 7.45 | 0.45 | 0.181208 | 0.302013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 174 | 5 | 40 | 34.8 | 0.967532 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec7449d9309ebfaa611b90e5250a0ac723dbd08b | 96 | py | Python | demo/2_dev/a1/hehe6.txt.py | tomchen/csv2po | 75e53fbc5c473b16e8dac153ee99793fad0cd5d0 | [
"MIT"
] | 1 | 2020-02-25T18:11:34.000Z | 2020-02-25T18:11:34.000Z | demo/2_dev/a1/hehe6.txt.py | tomchen/csv2po | 75e53fbc5c473b16e8dac153ee99793fad0cd5d0 | [
"MIT"
] | null | null | null | demo/2_dev/a1/hehe6.txt.py | tomchen/csv2po | 75e53fbc5c473b16e8dac153ee99793fad0cd5d0 | [
"MIT"
] | null | null | null | def t(_, _x): return ('aa\tbb\r\n'
'1\t' + _("house") + ' 1\r\n'
'2\t' + _("house") + ' 2\r\n'
) | 24 | 34 | 0.4375 | 20 | 96 | 1.9 | 0.55 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0.177083 | 96 | 4 | 35 | 24 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0.391753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
ecb12b15cf82b8dfaa0f1facd95ed5d67ee12f76 | 125 | py | Python | datasmoothie/__init__.py | datasmoothie/datasmoothie-client-python | 2efd176b84e47277cb53dbfff26c094242593fb0 | [
"MIT"
] | null | null | null | datasmoothie/__init__.py | datasmoothie/datasmoothie-client-python | 2efd176b84e47277cb53dbfff26c094242593fb0 | [
"MIT"
] | 4 | 2020-04-07T18:23:10.000Z | 2021-02-16T15:07:17.000Z | datasmoothie/__init__.py | datasmoothie/datasmoothie-client-python | 2efd176b84e47277cb53dbfff26c094242593fb0 | [
"MIT"
] | null | null | null | from datasmoothie.client import Client
from datasmoothie.datasource import Datasource
from datasmoothie.report import Report
| 31.25 | 46 | 0.88 | 15 | 125 | 7.333333 | 0.4 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 3 | 47 | 41.666667 | 0.973451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eccf19b1a1a3c234171e10c78eccfccc290a38d9 | 213 | py | Python | datadog_checks_dev/datadog_checks/dev/plugin/hatch/__init__.py | OuesFa/integrations-core | 0ffe4ca306580a2e775b515152384034c2dfdc03 | [
"BSD-3-Clause"
] | null | null | null | datadog_checks_dev/datadog_checks/dev/plugin/hatch/__init__.py | OuesFa/integrations-core | 0ffe4ca306580a2e775b515152384034c2dfdc03 | [
"BSD-3-Clause"
] | null | null | null | datadog_checks_dev/datadog_checks/dev/plugin/hatch/__init__.py | OuesFa/integrations-core | 0ffe4ca306580a2e775b515152384034c2dfdc03 | [
"BSD-3-Clause"
] | null | null | null | from hatchling.plugin import hookimpl
@hookimpl
def hatch_register_environment_collector():
from .environment_collector import DatadogChecksEnvironmentCollector
return DatadogChecksEnvironmentCollector
| 23.666667 | 72 | 0.859155 | 18 | 213 | 9.944444 | 0.666667 | 0.223464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 213 | 8 | 73 | 26.625 | 0.94709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eccf34f0a538854eaf96d11a6adf4c8bfb973613 | 262 | py | Python | python/heap/leetcode/kth_largest_element.py | googege/algo-learn | 054d05e8037005c5810906d837de889108dad107 | [
"MIT"
] | 153 | 2020-09-24T12:46:51.000Z | 2022-03-31T21:30:44.000Z | python/heap/leetcode/kth_largest_element.py | googege/algo-learn | 054d05e8037005c5810906d837de889108dad107 | [
"MIT"
] | null | null | null | python/heap/leetcode/kth_largest_element.py | googege/algo-learn | 054d05e8037005c5810906d837de889108dad107 | [
"MIT"
] | 35 | 2020-12-22T11:07:06.000Z | 2022-03-09T03:25:08.000Z | from typing import List
# 数组中的第k大元素
class Solution:
# 排序
def findKthLargest_1(self, nums: List[int], k: int) -> int:
return sorted(nums)[len(nums) - k]
# 使用一个堆
def findKthLargest_2(self, nums: List[int], k: int) -> int:
pass
| 17.466667 | 63 | 0.60687 | 36 | 262 | 4.361111 | 0.583333 | 0.216561 | 0.152866 | 0.191083 | 0.280255 | 0.280255 | 0.280255 | 0 | 0 | 0 | 0 | 0.010417 | 0.267176 | 262 | 14 | 64 | 18.714286 | 0.807292 | 0.068702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
01ce274a357e4643fa06be3f774fc7b424090517 | 37 | py | Python | masterRando.py | lujordan124/cs3240-labdemo | c15a6c122cc0e3515df76f9f362efb3dd1d0fb62 | [
"MIT"
] | null | null | null | masterRando.py | lujordan124/cs3240-labdemo | c15a6c122cc0e3515df76f9f362efb3dd1d0fb62 | [
"MIT"
] | null | null | null | masterRando.py | lujordan124/cs3240-labdemo | c15a6c122cc0e3515df76f9f362efb3dd1d0fb62 | [
"MIT"
] | null | null | null | print ("This is in my master branch") | 37 | 37 | 0.72973 | 7 | 37 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
01e69373b93abc23f2e4cd56a93ebc2c1f06124c | 21 | py | Python | stm32tool/__init__.py | kabirz/stm32tool | 9cd5d2709f51895937abf6d9fa20a0968030d811 | [
"MIT"
] | 2 | 2021-04-02T06:21:40.000Z | 2021-04-12T15:50:48.000Z | stm32tool/__init__.py | kabirz/openmv | 9cd5d2709f51895937abf6d9fa20a0968030d811 | [
"MIT"
] | null | null | null | stm32tool/__init__.py | kabirz/openmv | 9cd5d2709f51895937abf6d9fa20a0968030d811 | [
"MIT"
] | 1 | 2019-08-02T05:42:56.000Z | 2019-08-02T05:42:56.000Z | from .openmv import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
01f6ed4fac2ee1399b10c7fe59f6c6723305cc7a | 28,357 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_telemetry_model_driven_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_telemetry_model_driven_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_telemetry_model_driven_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 58.108607 | 252 | 0.613535 | 2,454 | 28,357 | 6.812143 | 0.055827 | 0.07944 | 0.0993 | 0.139798 | 0.848358 | 0.832984 | 0.808578 | 0.746306 | 0.67219 | 0.612909 | 0 | 0.010616 | 0.259231 | 28,357 | 487 | 253 | 58.227926 | 0.785204 | 0 | 0 | 0.505721 | 0 | 0.004577 | 0.559096 | 0.468718 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018307 | 0 | 0.018307 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
175a736b87160e163855faba12de88160592c95e | 182 | py | Python | src/ppb/plugins/buildsystems/pip_package/pip_package.py | Stibbons/python-project-bootstrap | b7956e272c4e36171b1d9f2fe9e7cbd271bd3b0d | [
"BSD-3-Clause"
] | null | null | null | src/ppb/plugins/buildsystems/pip_package/pip_package.py | Stibbons/python-project-bootstrap | b7956e272c4e36171b1d9f2fe9e7cbd271bd3b0d | [
"BSD-3-Clause"
] | null | null | null | src/ppb/plugins/buildsystems/pip_package/pip_package.py | Stibbons/python-project-bootstrap | b7956e272c4e36171b1d9f2fe9e7cbd271bd3b0d | [
"BSD-3-Clause"
] | null | null | null | '''
Project that is meant to be installed on your system using pip
'''
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| 20.222222 | 62 | 0.813187 | 26 | 182 | 5.153846 | 0.730769 | 0.223881 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 182 | 8 | 63 | 22.75 | 0.87013 | 0.340659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
176863fe03d9e8fbafc591c977ec3f4e2b56cf00 | 244 | py | Python | test/test_autodep.py | PettingZoo-Team/SuperSu | 3c4e364b4744649cb9eaa9201d70b5be3d43730f | [
"MIT"
] | 237 | 2020-05-29T04:21:08.000Z | 2021-10-08T05:37:43.000Z | test/test_autodep.py | PettingZoo-Team/SuperSu | 3c4e364b4744649cb9eaa9201d70b5be3d43730f | [
"MIT"
] | 58 | 2020-07-19T18:44:16.000Z | 2021-10-13T03:26:29.000Z | test/test_autodep.py | PettingZoo-Team/SuperSu | 3c4e364b4744649cb9eaa9201d70b5be3d43730f | [
"MIT"
] | 20 | 2020-05-29T04:21:11.000Z | 2021-09-30T20:07:20.000Z | import pytest
import supersuit
def test_bad_import():
with pytest.raises(supersuit.DeprecatedWrapper):
from supersuit import action_lambda_v0
with pytest.raises(supersuit.DeprecatedWrapper):
supersuit.action_lambda_v0
| 24.4 | 52 | 0.77459 | 28 | 244 | 6.535714 | 0.464286 | 0.10929 | 0.174863 | 0.273224 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009852 | 0.168033 | 244 | 9 | 53 | 27.111111 | 0.891626 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd98199db9713eddad767a53ad438e0c815e5a4a | 380 | py | Python | extra_tests/snippets/hash.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 11,058 | 2018-05-29T07:40:06.000Z | 2022-03-31T11:38:42.000Z | extra_tests/snippets/hash.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 2,105 | 2018-06-01T10:07:16.000Z | 2022-03-31T14:56:42.000Z | extra_tests/snippets/hash.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 914 | 2018-07-27T09:36:14.000Z | 2022-03-31T19:56:34.000Z |
from testutils import assert_raises
class A:
pass
assert type(hash(None)) is int
assert type(hash(object())) is int
assert type(hash(A())) is int
assert type(hash(1)) is int
assert type(hash(1.1)) is int
assert type(hash("")) is int
with assert_raises(TypeError):
hash({})
with assert_raises(TypeError):
... | 15.833333 | 35 | 0.692105 | 60 | 380 | 4.316667 | 0.3 | 0.23166 | 0.324324 | 0.289575 | 0.714286 | 0.23166 | 0 | 0 | 0 | 0 | 0 | 0.009494 | 0.168421 | 380 | 23 | 36 | 16.521739 | 0.810127 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | true | 0.066667 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
da305127adfdf5bf4bdf60a26ad9a6351cf93fad | 36 | py | Python | acq4/analysis/modules/MapCombiner/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/analysis/modules/MapCombiner/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/analysis/modules/MapCombiner/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | from MapCombiner import MapCombiner
| 18 | 35 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da5746bd0369cf6c71a0084440e3d8a3e5025751 | 19 | py | Python | antenna_diversity/protocols/__init__.py | jbjjbjjbj/eittek651 | 3f735eb1836fc6e144b885654f71d3fe2b4e2c03 | [
"MIT"
] | null | null | null | antenna_diversity/protocols/__init__.py | jbjjbjjbj/eittek651 | 3f735eb1836fc6e144b885654f71d3fe2b4e2c03 | [
"MIT"
] | 1 | 2021-05-27T17:24:01.000Z | 2021-05-27T17:24:01.000Z | antenna_diversity/protocols/__init__.py | jbjjbjjbj/eittek651 | 3f735eb1836fc6e144b885654f71d3fe2b4e2c03 | [
"MIT"
] | null | null | null | from . import dect
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da642947b6511815fb0fbdf4b38738290466bcf4 | 318 | py | Python | pvcnn_code/modules/functional/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | 1 | 2022-03-29T02:14:57.000Z | 2022-03-29T02:14:57.000Z | pvcnn_code/modules/functional/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | null | null | null | pvcnn_code/modules/functional/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | 1 | 2022-02-08T05:47:10.000Z | 2022-02-08T05:47:10.000Z | from modules.functional.ball_query import ball_query
from modules.functional.grouping import grouping
from modules.functional.interpolatation import nearest_neighbor_interpolate
from modules.functional.loss import kl_loss, huber_loss
from modules.functional.sampling import gather, furthest_point_sample, logits_mask
| 45.428571 | 82 | 0.883648 | 42 | 318 | 6.47619 | 0.5 | 0.202206 | 0.386029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 318 | 6 | 83 | 53 | 0.92517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e526e19c31dcfcae0e3c777c545cc3c5a76b77b4 | 485 | py | Python | PIKACHU/utils/__init__.py | smilefufu/PIKACHU | 1a28723f16c709a51e3f46b3a9d43f7f43adbdf0 | [
"BSD-2-Clause"
] | 1 | 2018-07-18T10:09:46.000Z | 2018-07-18T10:09:46.000Z | PIKACHU/utils/__init__.py | smilefufu/PIKACHU | 1a28723f16c709a51e3f46b3a9d43f7f43adbdf0 | [
"BSD-2-Clause"
] | null | null | null | PIKACHU/utils/__init__.py | smilefufu/PIKACHU | 1a28723f16c709a51e3f46b3a9d43f7f43adbdf0 | [
"BSD-2-Clause"
] | 2 | 2019-11-06T11:00:48.000Z | 2020-01-09T22:12:42.000Z | def make_exchange_name(namespace, exchange_type, extra=""):
return "{}.{}".format(namespace, exchange_type) if not extra else "{}.{}@{}".format(namespace, exchange_type, extra)
def make_channel_name(namespace, exchange_type):
return "channel_on_{}.{}".format(namespace, exchange_type)
def make_queue_name(names... | 44.090909 | 120 | 0.746392 | 61 | 485 | 5.590164 | 0.295082 | 0.348974 | 0.431085 | 0.316716 | 0.381232 | 0.199413 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098969 | 485 | 11 | 121 | 44.090909 | 0.78032 | 0 | 0 | 0 | 0 | 0 | 0.125514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e5317c335ea61687b2b4afe27809168f0dcd0360 | 102 | py | Python | asana/resources/projects.py | shubhamdipt/python-asana | 8e05328fe8605638128be9fce449fbd34a646e01 | [
"MIT"
] | null | null | null | asana/resources/projects.py | shubhamdipt/python-asana | 8e05328fe8605638128be9fce449fbd34a646e01 | [
"MIT"
] | null | null | null | asana/resources/projects.py | shubhamdipt/python-asana | 8e05328fe8605638128be9fce449fbd34a646e01 | [
"MIT"
] | null | null | null |
from .gen.projects import _Projects
class Projects(_Projects):
"""Projects resource"""
pass
| 14.571429 | 35 | 0.705882 | 11 | 102 | 6.363636 | 0.636364 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186275 | 102 | 6 | 36 | 17 | 0.843373 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
e5d436c23e5ff0b16c2fc1badad13cd8eee75b4a | 48 | py | Python | enthought/pyface/ui/qt4/init.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/ui/qt4/init.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/ui/qt4/init.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.ui.qt4.init import *
| 16 | 32 | 0.75 | 8 | 48 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.145833 | 48 | 2 | 33 | 24 | 0.853659 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9250009cf541233ddc8a0d3b0126ddc6b686424 | 148 | py | Python | tests/__init__.py | matousgit/num_shorty | ba8730acb0e6301a6e300f6298e58fe0ca8cc5dd | [
"MIT"
] | null | null | null | tests/__init__.py | matousgit/num_shorty | ba8730acb0e6301a6e300f6298e58fe0ca8cc5dd | [
"MIT"
] | null | null | null | tests/__init__.py | matousgit/num_shorty | ba8730acb0e6301a6e300f6298e58fe0ca8cc5dd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# import of test modules so we can run single tests via
# python setup.py test -s tests.TestClass.test_method
import tests
| 24.666667 | 55 | 0.722973 | 25 | 148 | 4.24 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.175676 | 148 | 5 | 56 | 29.6 | 0.860656 | 0.858108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0084f39efcf96f032cef6832326d0d511ade2e82 | 54 | py | Python | ml_utils/__init__.py | rubinxin/asynchronous-BO | fcfe8938e83fc7d925268ff21e1cfb52903ee752 | [
"MIT"
] | null | null | null | ml_utils/__init__.py | rubinxin/asynchronous-BO | fcfe8938e83fc7d925268ff21e1cfb52903ee752 | [
"MIT"
] | null | null | null | ml_utils/__init__.py | rubinxin/asynchronous-BO | fcfe8938e83fc7d925268ff21e1cfb52903ee752 | [
"MIT"
] | null | null | null | from .misc import timed_print, print_experiment_times
| 27 | 53 | 0.87037 | 8 | 54 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
009f0f576035d805b7946cff9bef3176f50aabff | 142 | py | Python | ecart/exception.py | micael-grilo/E-Cart | 76e86b4c7ea5bd2becda23ef8c69470c86630c5e | [
"MIT"
] | 5 | 2016-09-20T21:33:29.000Z | 2018-10-10T06:07:45.000Z | ecart/exception.py | micael-grilo/E-Cart | 76e86b4c7ea5bd2becda23ef8c69470c86630c5e | [
"MIT"
] | 1 | 2016-05-03T07:54:54.000Z | 2016-05-03T13:16:48.000Z | ecart/exception.py | micael-grilo/E-Cart | 76e86b4c7ea5bd2becda23ef8c69470c86630c5e | [
"MIT"
] | 3 | 2016-09-18T14:54:49.000Z | 2020-01-08T18:19:51.000Z | class ErrorMessage(Exception):
def __init__(self, msg):
self.value = msg
def __str__(self):
return repr(self.value)
| 17.75 | 31 | 0.626761 | 17 | 142 | 4.764706 | 0.647059 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267606 | 142 | 7 | 32 | 20.285714 | 0.778846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
00e5abb61130d5701918a4332692920e1705ad16 | 213 | py | Python | tests/test_module.py | j5api/circleci_branch | 16cc1bf16379b914ed138f60fb922d43776b99a5 | [
"MIT"
] | 1 | 2019-09-10T13:56:07.000Z | 2019-09-10T13:56:07.000Z | tests/test_module.py | j5api/circleci_branch | 16cc1bf16379b914ed138f60fb922d43776b99a5 | [
"MIT"
] | 1 | 2019-10-27T17:16:29.000Z | 2019-10-27T17:16:29.000Z | tests/test_module.py | j5api/circleci_branch | 16cc1bf16379b914ed138f60fb922d43776b99a5 | [
"MIT"
] | null | null | null | """Test that the circleci_branch imports as expected."""
import circleci_branch
def test_module() -> None:
"""Test that the module behaves as expected."""
assert circleci_branch.__version__ is not None
| 23.666667 | 56 | 0.737089 | 29 | 213 | 5.137931 | 0.586207 | 0.281879 | 0.147651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 213 | 8 | 57 | 26.625 | 0.841808 | 0.431925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
00ecdfff66884aec12685f2e76abb30fdc41e68e | 2,077 | py | Python | pyhsslms/__init__.py | russhousley/pyhsslms | a9c6a9f5ba61beba16bf95d34d238c90ce05ba0a | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | pyhsslms/__init__.py | russhousley/pyhsslms | a9c6a9f5ba61beba16bf95d34d238c90ce05ba0a | [
"Python-2.0",
"OLDAP-2.7"
] | 1 | 2020-07-14T14:29:09.000Z | 2020-07-14T14:31:06.000Z | pyhsslms/__init__.py | russhousley/pyhsslms | a9c6a9f5ba61beba16bf95d34d238c90ce05ba0a | [
"Python-2.0",
"OLDAP-2.7"
] | 2 | 2022-01-20T04:14:40.000Z | 2022-03-03T04:08:16.000Z | # https://www.python.org/dev/peps/pep-0396/
__version__ = '1.1.0'
from .pyhsslms import lmots_sha256_n32_w1
from .pyhsslms import lmots_sha256_n32_w2
from .pyhsslms import lmots_sha256_n32_w4
from .pyhsslms import lmots_sha256_n32_w8
from .pyhsslms import lmots_sha256_n24_w1
from .pyhsslms import lmots_sha256_n24_w2
f... | 34.04918 | 43 | 0.863746 | 325 | 2,077 | 5.172308 | 0.144615 | 0.364069 | 0.546104 | 0.249851 | 0.713861 | 0.700178 | 0 | 0 | 0 | 0 | 0 | 0.099409 | 0.103996 | 2,077 | 60 | 44 | 34.616667 | 0.803869 | 0.01974 | 0 | 0 | 0 | 0 | 0.002458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.980769 | 0 | 0.980769 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da9f222e5bc121d3beb8d1f0d655854454e2a342 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/api/command/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/api/command/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/api/command/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d3/bf/75/31949664cd21368229e78260184a25c91c5956f6ebb21126ac69de01ba | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dacc690225d181f775cd664765ca087f63906ca6 | 60 | py | Python | test/bibliopixel/failure.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 253 | 2015-01-03T23:17:57.000Z | 2021-12-14T02:31:08.000Z | test/bibliopixel/failure.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 879 | 2015-01-11T16:07:25.000Z | 2021-12-10T16:24:31.000Z | test/bibliopixel/failure.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 71 | 2015-01-04T01:02:47.000Z | 2022-03-25T18:30:10.000Z | import nonexistent_module
class Failure(object):
pass
| 10 | 25 | 0.766667 | 7 | 60 | 6.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 5 | 26 | 12 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
daee2f077619a05703c32166eb75cd1780f8be69 | 89 | py | Python | tests/test_basic.py | stas00/ipygpulogger | 456b41dfaae77c346ca120cdca11e3ae15b602ac | [
"Apache-2.0"
] | 1 | 2019-01-05T02:58:02.000Z | 2019-01-05T02:58:02.000Z | tests/test_basic.py | stas00/ipygpulogger | 456b41dfaae77c346ca120cdca11e3ae15b602ac | [
"Apache-2.0"
] | null | null | null | tests/test_basic.py | stas00/ipygpulogger | 456b41dfaae77c346ca120cdca11e3ae15b602ac | [
"Apache-2.0"
] | null | null | null | import pytest
import ipygpulogger
def test_basic():
assert ipygpulogger.__version__
| 14.833333 | 35 | 0.808989 | 10 | 89 | 6.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 36 | 17.8 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97147d67f19c59bff651ba78d4512be177e62c91 | 35 | py | Python | gpm_player/__init__.py | johejo/gpm-station | 1b2fb95a77b560cc894f6945af296b3ee221f0cf | [
"MIT"
] | 3 | 2018-03-10T02:55:53.000Z | 2019-09-25T00:41:18.000Z | gpm_player/__init__.py | johejo/gpm-station | 1b2fb95a77b560cc894f6945af296b3ee221f0cf | [
"MIT"
] | 1 | 2018-04-28T13:42:28.000Z | 2018-04-28T13:42:28.000Z | gpm_player/__init__.py | johejo/gpm-station | 1b2fb95a77b560cc894f6945af296b3ee221f0cf | [
"MIT"
] | 1 | 2019-05-15T20:59:56.000Z | 2019-05-15T20:59:56.000Z | from .__version__ import * # noqa
| 17.5 | 34 | 0.714286 | 4 | 35 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.75 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97cd144231f9a4e05d456ffb0b10bb1cc04a5617 | 244 | py | Python | src/api/pdi/application/dashboard/GetConnectionWidget/GetConnectionWidgetResponse.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/api/pdi/application/dashboard/GetConnectionWidget/GetConnectionWidgetResponse.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/api/pdi/application/dashboard/GetConnectionWidget/GetConnectionWidgetResponse.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from pdip.cqrs.decorators import responseclass
from pdi.application.dashboard.GetConnectionWidget.GetConnectionWidgetDto import GetConnectionWidgetDto
@responseclass
class GetConnectionWidgetResponse:
Data: GetConnectionWidgetDto = None
| 27.111111 | 103 | 0.868852 | 20 | 244 | 10.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 244 | 8 | 104 | 30.5 | 0.954955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c147c487a2ee390d3fecb1d3aa446cd1dcf57b3f | 45 | py | Python | cegs_portal/uploads/views/__init__.py | ReddyLab/cegs-portal | a83703a3557167be328c24bfb866b6aa019ba059 | [
"MIT"
] | null | null | null | cegs_portal/uploads/views/__init__.py | ReddyLab/cegs-portal | a83703a3557167be328c24bfb866b6aa019ba059 | [
"MIT"
] | null | null | null | cegs_portal/uploads/views/__init__.py | ReddyLab/cegs-portal | a83703a3557167be328c24bfb866b6aa019ba059 | [
"MIT"
] | null | null | null | from .uploads import upload, upload_complete
| 22.5 | 44 | 0.844444 | 6 | 45 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c15dc9845caa54cb1865960e4bc2b7eb43b17bd9 | 47 | py | Python | scripts/portal/comerz_potal00.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 2 | 2020-08-25T06:55:19.000Z | 2021-03-15T14:37:34.000Z | scripts/portal/comerz_potal00.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/portal/comerz_potal00.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 3 | 2020-08-25T06:55:25.000Z | 2020-12-01T13:07:43.000Z | # 865000000
sm.warp(865020000, 3)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c185a691c2f56fdf97d90ea65d0a11205d27b589 | 90 | py | Python | ear/fileio/bw64/__init__.py | tomjnixon/ebu_adm_renderer | 625254a6430a4f6fc093bfd51802cfe8152dcb42 | [
"BSD-3-Clause-Clear"
] | 41 | 2018-03-29T12:45:22.000Z | 2022-02-03T08:59:48.000Z | ear/fileio/bw64/__init__.py | tomjnixon/ebu_adm_renderer | 625254a6430a4f6fc093bfd51802cfe8152dcb42 | [
"BSD-3-Clause-Clear"
] | 33 | 2018-09-11T12:37:06.000Z | 2022-01-27T11:21:01.000Z | ear/fileio/bw64/__init__.py | tomjnixon/ebu_adm_renderer | 625254a6430a4f6fc093bfd51802cfe8152dcb42 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-04-04T13:32:19.000Z | 2022-01-21T21:13:26.000Z | from .reader import Bw64Reader # noqa: F401
from .writer import Bw64Writer # noqa: F401
| 30 | 44 | 0.755556 | 12 | 90 | 5.666667 | 0.666667 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.177778 | 90 | 2 | 45 | 45 | 0.783784 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c199160e0e2e756e4d1faeaf199ffab8d580ec44 | 25 | py | Python | qbitkit/io/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | 3 | 2021-02-26T09:57:28.000Z | 2021-03-27T01:02:36.000Z | qbitkit/io/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | 31 | 2021-01-03T02:26:21.000Z | 2021-08-19T02:56:59.000Z | qbitkit/io/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | null | null | null | from qbitkit.io import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c1f6d7ec1cc15582ef677ec291b6ae071321d460 | 12,746 | py | Python | complex_performance_metrics/models/plugin.py | hnarasimhan/constrained-classification | c5c5c5bdab77b97443c54a885821f82088302665 | [
"MIT"
] | 9 | 2018-07-23T06:06:34.000Z | 2021-05-05T13:47:26.000Z | complex_performance_metrics/models/plugin.py | hnarasimhan/constrained-classification | c5c5c5bdab77b97443c54a885821f82088302665 | [
"MIT"
] | null | null | null | complex_performance_metrics/models/plugin.py | hnarasimhan/constrained-classification | c5c5c5bdab77b97443c54a885821f82088302665 | [
"MIT"
] | 4 | 2018-10-27T11:05:53.000Z | 2020-06-11T07:13:21.000Z | import numpy as np
from sklearn.linear_model import LogisticRegressionCV
from sklearn import metrics
import complex_performance_metrics.utils as utils
"""
This module contains classes for binary and multiclass plug-in classifiers
"""
class PluginClassifier:
"""
Base class for plug-in classifier
Attrib... | 38.047761 | 107 | 0.577593 | 1,689 | 12,746 | 4.212552 | 0.094139 | 0.014336 | 0.064933 | 0.058749 | 0.813633 | 0.776388 | 0.759522 | 0.749262 | 0.741251 | 0.741251 | 0 | 0.010781 | 0.315942 | 12,746 | 334 | 108 | 38.161677 | 0.805253 | 0.475757 | 0 | 0.537815 | 0 | 0 | 0.005316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134454 | false | 0 | 0.033613 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de08bb61ebb9caae03d829905897917cdde01842 | 143 | py | Python | app/twitter_learning_journal/transformers/transform_dict.py | DEV3L/twitter-learning-journal | a51d22a60a3d1249add352d8357975a7f2db585c | [
"Beerware"
] | 1 | 2021-01-12T17:06:57.000Z | 2021-01-12T17:06:57.000Z | app/twitter_learning_journal/transformers/transform_dict.py | DEV3L/twitter-learning-journal | a51d22a60a3d1249add352d8357975a7f2db585c | [
"Beerware"
] | null | null | null | app/twitter_learning_journal/transformers/transform_dict.py | DEV3L/twitter-learning-journal | a51d22a60a3d1249add352d8357975a7f2db585c | [
"Beerware"
] | 1 | 2018-07-31T21:16:33.000Z | 2018-07-31T21:16:33.000Z | def transform_dict_into_keys_sorted_by_value(input_dict, *, reverse=False):
return sorted(input_dict, key=input_dict.get, reverse=reverse)
| 47.666667 | 75 | 0.818182 | 22 | 143 | 4.909091 | 0.636364 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083916 | 143 | 2 | 76 | 71.5 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a9ea63e38af248f5597dd917d9b9d6237a8826ac | 126 | py | Python | project/apps/core/views.py | iguanaus/FPG_Website_Backtest | d597dcd291344d7edf97c2db6fdc535d623d47fc | [
"Apache-2.0"
] | null | null | null | project/apps/core/views.py | iguanaus/FPG_Website_Backtest | d597dcd291344d7edf97c2db6fdc535d623d47fc | [
"Apache-2.0"
] | 1 | 2019-01-05T14:32:40.000Z | 2019-01-05T14:32:40.000Z | project/apps/core/views.py | iguanaus/FPG_Website_Backtest | d597dcd291344d7edf97c2db6fdc535d623d47fc | [
"Apache-2.0"
] | null | null | null | from django.http import JsonResponse
def api_404(request):
return JsonResponse({'detail': 'url not found'}, status=404)
| 21 | 64 | 0.738095 | 17 | 126 | 5.411765 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.142857 | 126 | 5 | 65 | 25.2 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e76f2c499cf7b49a2c30222b634ed614af1d97eb | 32 | py | Python | helloworld.py | sleepymichael/myfirstgitrepo | 49204396afc7c22c0103f823574aa96712a4f45c | [
"MIT"
] | null | null | null | helloworld.py | sleepymichael/myfirstgitrepo | 49204396afc7c22c0103f823574aa96712a4f45c | [
"MIT"
] | null | null | null | helloworld.py | sleepymichael/myfirstgitrepo | 49204396afc7c22c0103f823574aa96712a4f45c | [
"MIT"
] | null | null | null | print("Hello, Big Blue World!")
| 16 | 31 | 0.6875 | 5 | 32 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e7bb37fc4f5285b0f5e3c46f6af40825d32ae3e7 | 3,781 | py | Python | tests/test_krotov.py | TejasAvinashShetty/krotov | e2dd0fad2f07f41004d7beef53e8ebc75b0d6d9b | [
"BSD-3-Clause"
] | null | null | null | tests/test_krotov.py | TejasAvinashShetty/krotov | e2dd0fad2f07f41004d7beef53e8ebc75b0d6d9b | [
"BSD-3-Clause"
] | null | null | null | tests/test_krotov.py | TejasAvinashShetty/krotov | e2dd0fad2f07f41004d7beef53e8ebc75b0d6d9b | [
"BSD-3-Clause"
] | null | null | null | """High-level tests for `krotov` package."""
from pkg_resources import parse_version
import pytest
import qutip
import numpy as np
import krotov
def test_valid_version():
"""Check that the package defines a valid __version__"""
assert parse_version(krotov.__version__) >= parse_version("0.0.1")
def test_c... | 32.316239 | 73 | 0.623116 | 556 | 3,781 | 4.086331 | 0.197842 | 0.008803 | 0.029049 | 0.037412 | 0.824824 | 0.824824 | 0.807218 | 0.791813 | 0.742958 | 0.689701 | 0 | 0.041172 | 0.241999 | 3,781 | 116 | 74 | 32.594828 | 0.75157 | 0.093891 | 0 | 0.602564 | 0 | 0 | 0.045266 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 1 | 0.128205 | false | 0 | 0.064103 | 0.025641 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99b0ff9dde92ae97510218e429800f7d52426db1 | 121 | py | Python | source/registrar_scraper/registrar_scraper.py | kevinliang43/ProjectDB | 6ffd435cb01658e16f0da272bb3f8ec2faeef73c | [
"Apache-2.0"
] | null | null | null | source/registrar_scraper/registrar_scraper.py | kevinliang43/ProjectDB | 6ffd435cb01658e16f0da272bb3f8ec2faeef73c | [
"Apache-2.0"
] | null | null | null | source/registrar_scraper/registrar_scraper.py | kevinliang43/ProjectDB | 6ffd435cb01658e16f0da272bb3f8ec2faeef73c | [
"Apache-2.0"
] | null | null | null |
URL = 'https://wl11gp.neu.edu/udcprod8/NEUCLSS.p_class_select#_ga=2.68357137.102712258.1526942415-989740985.1517584354'
| 40.333333 | 119 | 0.818182 | 17 | 121 | 5.647059 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.42735 | 0.033058 | 121 | 2 | 120 | 60.5 | 0.393162 | 0 | 0 | 0 | 0 | 1 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99de3ef58af93fde4e3f82f5e4d11cda1f629821 | 2,724 | py | Python | book-keeper-back-end/Backend/pytests/test_auth.py | GigaMansion/book-keeper | fe6a7e12dfc019dc3a5107933ea74ae4e20e8bbf | [
"MIT"
] | 4 | 2020-05-13T23:07:58.000Z | 2020-07-11T04:28:53.000Z | book-keeper-back-end/Backend/pytests/test_auth.py | GigaMansion/book-keeper | fe6a7e12dfc019dc3a5107933ea74ae4e20e8bbf | [
"MIT"
] | 1 | 2020-05-14T03:54:16.000Z | 2020-05-14T03:59:04.000Z | book-keeper-back-end/Backend/pytests/test_auth.py | GigaMansion/book-keeper | fe6a7e12dfc019dc3a5107933ea74ae4e20e8bbf | [
"MIT"
] | null | null | null | import pytest
import json
def test_login(backend_server):
res = backend_server.post(
'/auth/user/login',
data=json.dumps(
{
'email': 'mitfans881@gmail.com',
'id': 'anonymous',
'imageUrl': 'google.anonymous',
'name': 'Wilso... | 24.763636 | 56 | 0.532673 | 283 | 2,724 | 4.95053 | 0.183746 | 0.10207 | 0.072805 | 0.089936 | 0.862241 | 0.84868 | 0.834404 | 0.834404 | 0.773733 | 0.723769 | 0 | 0.01707 | 0.333333 | 2,724 | 110 | 57 | 24.763636 | 0.754405 | 0 | 0 | 0.556818 | 0 | 0 | 0.229725 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 1 | 0.056818 | false | 0 | 0.022727 | 0 | 0.079545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99f6a4eb6a8f372af709f736551b8ef857f1113e | 921 | py | Python | surveygizmo/api/accountteams.py | hellofresh/SurveyGizmo | 998ea795cc74e12db86bc7686ffa8278702090e8 | [
"BSD-3-Clause"
] | null | null | null | surveygizmo/api/accountteams.py | hellofresh/SurveyGizmo | 998ea795cc74e12db86bc7686ffa8278702090e8 | [
"BSD-3-Clause"
] | 6 | 2016-09-07T16:07:43.000Z | 2020-06-26T05:04:59.000Z | surveygizmo/api/accountteams.py | hellofresh/SurveyGizmo | 998ea795cc74e12db86bc7686ffa8278702090e8 | [
"BSD-3-Clause"
] | null | null | null |
from surveygizmo.api import base
class AccountTeams(base.Resource):
resource_fmt_str = 'accountteams/%(accountteams_id)s'
resource_id_keys = ['accountteams_id']
def list(self, **kwargs):
return super(AccountTeams, self).list(**kwargs)
def get(self, accountteams_id, **kwargs):
kwargs... | 31.758621 | 61 | 0.677524 | 101 | 921 | 6.029703 | 0.257426 | 0.252874 | 0.188834 | 0.221675 | 0.569787 | 0.569787 | 0.448276 | 0.448276 | 0.448276 | 0.448276 | 0 | 0 | 0.186754 | 921 | 28 | 62 | 32.892857 | 0.813084 | 0 | 0 | 0.157895 | 0 | 0 | 0.1 | 0.034783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0.105263 | 0.789474 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
822d877b9a0fd51ee5ed81d54df87c0f35393994 | 25 | py | Python | actions/__init__.py | botfront/actions-quick-start | 29a1388afeeebfe5459e876077dbc81f84b09980 | [
"Apache-2.0"
] | 737 | 2019-05-08T15:29:35.000Z | 2022-03-31T07:13:04.000Z | cli/project-template/actions/__init__.py | irshadmb/botfront | 9f6fe3f4f07cf4437c037138d9c513d0d2f7d834 | [
"Apache-2.0"
] | 367 | 2019-05-09T20:44:19.000Z | 2021-05-04T19:38:25.000Z | cli/project-template/actions/__init__.py | irshadmb/botfront | 9f6fe3f4f07cf4437c037138d9c513d0d2f7d834 | [
"Apache-2.0"
] | 303 | 2019-05-11T18:44:27.000Z | 2022-03-31T07:44:27.000Z | from . import my_actions
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.