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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fbb9cc9e036a7d972933183f0f999805a54ac22d | 98 | py | Python | src/planck.py | bcfriesen/PyRT | 3d0db44894c62b36e17813601bbbc6e14cc86d2b | [
"MIT"
] | 1 | 2019-04-04T19:19:59.000Z | 2019-04-04T19:19:59.000Z | src/planck.py | bcfriesen/PyRT | 3d0db44894c62b36e17813601bbbc6e14cc86d2b | [
"MIT"
] | null | null | null | src/planck.py | bcfriesen/PyRT | 3d0db44894c62b36e17813601bbbc6e14cc86d2b | [
"MIT"
] | null | null | null | # Planck function
# TODO: make this actually the Planck function
def planck_fn(T):
return (1)
| 19.6 | 46 | 0.72449 | 15 | 98 | 4.666667 | 0.8 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.193878 | 98 | 4 | 47 | 24.5 | 0.873418 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
8386042136f2d8300800b44546ab0cfc77d18cfb | 14 | py | Python | tests/__init__.py | martin-brajer/physics-lab-cukrovarnicka-odd15 | 801081a1f9d8e25dde718dfb75276227f93bbb54 | [
"MIT"
] | null | null | null | tests/__init__.py | martin-brajer/physics-lab-cukrovarnicka-odd15 | 801081a1f9d8e25dde718dfb75276227f93bbb54 | [
"MIT"
] | null | null | null | tests/__init__.py | martin-brajer/physics-lab-cukrovarnicka-odd15 | 801081a1f9d8e25dde718dfb75276227f93bbb54 | [
"MIT"
] | null | null | null | """
TESTS
"""
| 3.5 | 5 | 0.357143 | 1 | 14 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 14 | 3 | 6 | 4.666667 | 0.454545 | 0.357143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83ae84c30687e33a8dad5135d2017feba143fdce | 7,227 | py | Python | convlab2/policy/mle/idea4/GAN1/tracker.py | sherlock1987/ConvLab-2 | 9547cb09bfd7e297e2c609637c9e38f6c94fdbfb | [
"Apache-2.0"
] | 1 | 2020-06-05T08:42:51.000Z | 2020-06-05T08:42:51.000Z | convlab2/policy/mle/idea4/GAN1/tracker.py | sherlock1987/ConvLab-2 | 9547cb09bfd7e297e2c609637c9e38f6c94fdbfb | [
"Apache-2.0"
] | null | null | null | convlab2/policy/mle/idea4/GAN1/tracker.py | sherlock1987/ConvLab-2 | 9547cb09bfd7e297e2c609637c9e38f6c94fdbfb | [
"Apache-2.0"
] | 1 | 2020-06-05T09:15:51.000Z | 2020-06-05T09:15:51.000Z | from collections import defaultdict
dicc = {'test_eval-': [2.6845746845746845, 3.6993623660290327, 2.718898385565052, 3.3230226563559895, 2.8129154795821463, 3.398860398860399, 2.6848460181793516, 3.3767467100800435, 2.5707502374169042, 3.1930538597205262, 2.6358703025369694, 3.3816307149640483, 2.758784425451092, 3.18... | 1,204.5 | 7,124 | 0.844195 | 729 | 7,227 | 8.359396 | 0.441701 | 0.139481 | 0.144733 | 0.273384 | 0.139481 | 0.139481 | 0.139481 | 0.139481 | 0.139481 | 0.139481 | 0 | 0.871952 | 0.052304 | 7,227 | 6 | 7,125 | 1,204.5 | 0.017813 | 0 | 0 | 0 | 0 | 0 | 0.007333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
83bd602e1718c4086974d4910a0f239fa746b4e7 | 5,997 | py | Python | nimare/tests/test_cbma_kernel.py | Julio-Yanes/NiMARE | 36bb05034041998519814b55fe402489147fdd63 | [
"MIT"
] | null | null | null | nimare/tests/test_cbma_kernel.py | Julio-Yanes/NiMARE | 36bb05034041998519814b55fe402489147fdd63 | [
"MIT"
] | null | null | null | nimare/tests/test_cbma_kernel.py | Julio-Yanes/NiMARE | 36bb05034041998519814b55fe402489147fdd63 | [
"MIT"
] | null | null | null | """
Test nimare.meta.cbma.kernel (CBMA kernel estimators).
"""
import pytest
import numpy as np
import pandas as pd
from scipy.ndimage.measurements import center_of_mass
from nimare.meta.cbma import kernel
from nimare.utils import get_template, mm2vox
# Fixtures used in the rest of the tests
class DummyDataset(objec... | 31.563158 | 79 | 0.61981 | 826 | 5,997 | 4.389831 | 0.156174 | 0.030888 | 0.006619 | 0.034749 | 0.82267 | 0.798952 | 0.779371 | 0.741864 | 0.725317 | 0.658577 | 0 | 0.026667 | 0.237119 | 5,997 | 189 | 80 | 31.730159 | 0.765902 | 0.168418 | 0 | 0.669643 | 0 | 0 | 0.024604 | 0 | 0 | 0 | 0 | 0 | 0.080357 | 1 | 0.116071 | false | 0.008929 | 0.053571 | 0 | 0.196429 | 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 |
83f2699710e8c3bc7e3b0a27f5b66a5c612d5139 | 9,686 | py | Python | vmware-ose-common-test-suites/prj/cases/test_object.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 6 | 2020-09-11T02:52:42.000Z | 2021-04-19T11:20:42.000Z | vmware-ose-common-test-suites/prj/cases/test_object.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 5 | 2020-12-21T20:14:59.000Z | 2022-03-21T14:35:43.000Z | vmware-ose-common-test-suites/prj/cases/test_object.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 4 | 2021-07-20T09:07:52.000Z | 2022-03-21T14:33:44.000Z | # -*- coding:utf-8 -*-
from framework.addons.UnitTi import data_provider, group
from framework.core.Base import Base
from framework.libs.common.utils import get_group_list, get_doc_string_list
from prj.test_data.test_object.test_object import *
class TestObject(Base):
@classmethod
def setUpClass(cls):
... | 34.226148 | 85 | 0.689449 | 1,298 | 9,686 | 4.650231 | 0.066256 | 0.076044 | 0.049702 | 0.066269 | 0.876077 | 0.870775 | 0.869284 | 0.849735 | 0.778993 | 0.749834 | 0 | 0.009377 | 0.2293 | 9,686 | 282 | 86 | 34.347518 | 0.799196 | 0.013938 | 0 | 0.549738 | 0 | 0 | 0.032594 | 0.012117 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125654 | false | 0.015707 | 0.020942 | 0 | 0.465969 | 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 |
f7dacd0adfecb12bd4546091c60c2f5aa3ad45b8 | 29 | py | Python | Global 13/A.py | julianferres/Codeforces | ac80292a4d53b8078fc1a85e91db353c489555d9 | [
"MIT"
] | 4 | 2020-01-31T15:49:25.000Z | 2020-07-07T11:44:03.000Z | Global 13/A.py | julianferres/CodeForces | 14e8369e82a2403094183d6f7824201f681c9f65 | [
"MIT"
] | null | null | null | Global 13/A.py | julianferres/CodeForces | 14e8369e82a2403094183d6f7824201f681c9f65 | [
"MIT"
] | null | null | null | def main():
pass
main() | 5.8 | 11 | 0.517241 | 4 | 29 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310345 | 29 | 5 | 12 | 5.8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f7920a8a4e1524450aafdcc2906209765e60c88f | 9,058 | py | Python | polaris/polaris/tests/sep6/test_update.py | ronaldoy/django-polaris-1 | f0b950d3f50e218501d6c18ae648e500648f349c | [
"Apache-2.0"
] | null | null | null | polaris/polaris/tests/sep6/test_update.py | ronaldoy/django-polaris-1 | f0b950d3f50e218501d6c18ae648e500648f349c | [
"Apache-2.0"
] | null | null | null | polaris/polaris/tests/sep6/test_update.py | ronaldoy/django-polaris-1 | f0b950d3f50e218501d6c18ae648e500648f349c | [
"Apache-2.0"
] | null | null | null | import json
import uuid
from unittest.mock import Mock, patch
import pytest
from polaris.tests.helpers import mock_check_auth_success
from polaris.models import Transaction, Asset
endpoint = "/sep6/transactions/"
@pytest.mark.django_db
@patch("polaris.sep10.utils.check_auth", mock_check_auth_success)
@patch("polar... | 35.944444 | 86 | 0.693972 | 1,018 | 9,058 | 5.945973 | 0.107073 | 0.043615 | 0.054518 | 0.03965 | 0.85247 | 0.811829 | 0.811829 | 0.811829 | 0.811829 | 0.811829 | 0 | 0.00964 | 0.186907 | 9,058 | 251 | 87 | 36.087649 | 0.81222 | 0 | 0 | 0.684685 | 0 | 0 | 0.202694 | 0.044601 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.054054 | false | 0 | 0.027027 | 0 | 0.081081 | 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 |
e38aa386d689be81c3730ce731a389752164bb89 | 3,821 | py | Python | tests/test_0390-virtual-forms.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0390-virtual-forms.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0390-virtual-forms.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/master/LICENSE
from __future__ import absolute_import
from collections import defaultdict
import pytest
import awkward1
def test_virtual_record():
materialize_count = defaultdict(int)
def gen(x, name):
materialize_count[name... | 35.055046 | 102 | 0.6514 | 499 | 3,821 | 4.815631 | 0.150301 | 0.166459 | 0.091552 | 0.11444 | 0.852268 | 0.808989 | 0.772784 | 0.739908 | 0.719933 | 0.719933 | 0 | 0.03186 | 0.194975 | 3,821 | 108 | 103 | 35.37963 | 0.74935 | 0.022769 | 0 | 0.690476 | 0 | 0 | 0.058682 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0.071429 | false | 0 | 0.059524 | 0 | 0.178571 | 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 |
e39800275f28a90896105afe9522a0f919219fe8 | 42 | py | Python | examples/phobos/tests/test_std_bigint.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 47 | 2019-07-16T10:38:07.000Z | 2022-03-30T16:34:24.000Z | examples/phobos/tests/test_std_bigint.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 199 | 2019-06-17T23:24:40.000Z | 2021-06-16T16:41:36.000Z | examples/phobos/tests/test_std_bigint.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 7 | 2019-09-13T18:03:49.000Z | 2022-01-17T03:53:00.000Z | def test_import():
import std_bigint
| 10.5 | 21 | 0.714286 | 6 | 42 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 42 | 3 | 22 | 14 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e3c513b4ab0902699de49cf46c23dfcd45130617 | 230 | py | Python | scrapli_ssh2/transport/__init__.py | scrapli/scrapli_ssh2 | dfb1419928bc6a866eedfe7021db40e2712180c4 | [
"MIT"
] | null | null | null | scrapli_ssh2/transport/__init__.py | scrapli/scrapli_ssh2 | dfb1419928bc6a866eedfe7021db40e2712180c4 | [
"MIT"
] | 6 | 2020-09-27T16:39:31.000Z | 2020-11-29T15:05:57.000Z | scrapli_ssh2/transport/__init__.py | scrapli/scrapli_ssh2 | dfb1419928bc6a866eedfe7021db40e2712180c4 | [
"MIT"
] | null | null | null | """scrapli_ssh2.transport"""
from scrapli_ssh2.transport.cssh2 import SSH2_TRANSPORT_ARGS as TRANSPORT_ARGS
from scrapli_ssh2.transport.cssh2 import SSH2Transport as Transport
__all__ = (
"Transport",
"TRANSPORT_ARGS",
)
| 25.555556 | 78 | 0.791304 | 28 | 230 | 6.107143 | 0.357143 | 0.304094 | 0.350877 | 0.280702 | 0.409357 | 0.409357 | 0 | 0 | 0 | 0 | 0 | 0.034653 | 0.121739 | 230 | 8 | 79 | 28.75 | 0.811881 | 0.095652 | 0 | 0 | 0 | 0 | 0.113861 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5403f0f39c391237d2773298018a41e4e968c01e | 10,987 | py | Python | tests/test_ssl.py | Acidburn0zzz/python-glanceclient | 5528ba536fd86cad225feb1d4e5bb75d838ecf69 | [
"Apache-2.0"
] | null | null | null | tests/test_ssl.py | Acidburn0zzz/python-glanceclient | 5528ba536fd86cad225feb1d4e5bb75d838ecf69 | [
"Apache-2.0"
] | null | null | null | tests/test_ssl.py | Acidburn0zzz/python-glanceclient | 5528ba536fd86cad225feb1d4e5bb75d838ecf69 | [
"Apache-2.0"
] | null | null | null | # Copyright 2012 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | 39.952727 | 78 | 0.573223 | 1,240 | 10,987 | 4.906452 | 0.130645 | 0.015122 | 0.050953 | 0.069034 | 0.794872 | 0.774984 | 0.74211 | 0.74211 | 0.708087 | 0.691157 | 0 | 0.019997 | 0.326386 | 10,987 | 274 | 79 | 40.09854 | 0.802054 | 0.132065 | 0 | 0.748634 | 0 | 0 | 0.128448 | 0.028241 | 0 | 0 | 0 | 0 | 0.076503 | 1 | 0.081967 | false | 0.027322 | 0.027322 | 0 | 0.114754 | 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 |
541b9d476c7f845547ae5461a48a057d2e3d046a | 53,867 | py | Python | src/module_music.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | 4 | 2019-09-26T21:34:32.000Z | 2021-11-18T19:31:15.000Z | src/module_music.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | null | null | null | src/module_music.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | null | null | null | from header_music import *
####################################################################################################################
# Each track record contains the following fields:
# 1) Track id: used for referencing tracks.
# 2) Track file: filename of the track
# 3) Track flags. See header_music.py ... | 76.843081 | 212 | 0.809902 | 8,778 | 53,867 | 4.404534 | 0.064593 | 0.125546 | 0.157515 | 0.09738 | 0.915526 | 0.9125 | 0.907043 | 0.905879 | 0.902232 | 0.888162 | 0 | 0.048493 | 0.059016 | 53,867 | 701 | 213 | 76.843081 | 0.714272 | 0.579093 | 0 | 0 | 0 | 0 | 0.252609 | 0.122431 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004951 | 0 | 0.004951 | 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 |
58303b0787433f46cc9200d6cfb3305fbd9bdb01 | 28,168 | py | Python | tests/unit/python/fledge/services/core/api/test_statistics_api.py | doug-dianomic/fledge | cab620d1f31e6dca8e31ca8e483adaad7ce94834 | [
"Apache-2.0"
] | null | null | null | tests/unit/python/fledge/services/core/api/test_statistics_api.py | doug-dianomic/fledge | cab620d1f31e6dca8e31ca8e483adaad7ce94834 | [
"Apache-2.0"
] | null | null | null | tests/unit/python/fledge/services/core/api/test_statistics_api.py | doug-dianomic/fledge | cab620d1f31e6dca8e31ca8e483adaad7ce94834 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# FLEDGE_BEGIN
# See: http://fledge.readthedocs.io/
# FLEDGE_END
""" Test fledge/services/core/api/statistics.py """
import asyncio
import json
from unittest.mock import MagicMock, patch
from aiohttp import web
import pytest
from fledge.services.core import routes
from fledge.services.core ... | 54.695146 | 428 | 0.562979 | 3,176 | 28,168 | 4.825252 | 0.078401 | 0.04522 | 0.04385 | 0.060294 | 0.866427 | 0.845742 | 0.82323 | 0.800457 | 0.796737 | 0.782904 | 0 | 0.065014 | 0.26665 | 28,168 | 514 | 429 | 54.801556 | 0.676865 | 0.010544 | 0 | 0.667453 | 0 | 0 | 0.308946 | 0.034212 | 0 | 0 | 0 | 0.001946 | 0.183962 | 1 | 0.035377 | false | 0 | 0.018868 | 0.007075 | 0.125 | 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 |
5859807ee7232a3ff061b401715a33b11df7e508 | 17 | py | Python | gsm.py | amitagrawal10/IOT | 91836f7b8c9baef392a8e04c3703120593e87aed | [
"MIT"
] | null | null | null | gsm.py | amitagrawal10/IOT | 91836f7b8c9baef392a8e04c3703120593e87aed | [
"MIT"
] | null | null | null | gsm.py | amitagrawal10/IOT | 91836f7b8c9baef392a8e04c3703120593e87aed | [
"MIT"
] | null | null | null | import serial
| 5.666667 | 14 | 0.705882 | 2 | 17 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 17 | 2 | 15 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
585d4c07b3dff5f4e6490915cd3ec39f50f5a525 | 81 | py | Python | kickstarter_django/kickstarter/urls.py | pratyaymodi/kickstarter | a9bacdcdc0b44482bce57bf1d69a05d8c3c926c8 | [
"MIT"
] | null | null | null | kickstarter_django/kickstarter/urls.py | pratyaymodi/kickstarter | a9bacdcdc0b44482bce57bf1d69a05d8c3c926c8 | [
"MIT"
] | null | null | null | kickstarter_django/kickstarter/urls.py | pratyaymodi/kickstarter | a9bacdcdc0b44482bce57bf1d69a05d8c3c926c8 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from django.views.generic import TemplateView
| 16.2 | 45 | 0.82716 | 12 | 81 | 5.583333 | 0.75 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 4 | 46 | 20.25 | 0.943662 | 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 |
587f4625993f447ec40df5149b6262cbfb4b5599 | 61 | py | Python | commanderbot/core/__init__.py | CommanderBot-Dev/commanderbot-core | 03f033cedee5f065fa38ae6af674d9b45aeb7089 | [
"MIT"
] | 2 | 2021-05-01T19:47:22.000Z | 2021-06-16T18:08:52.000Z | commanderbot/core/__init__.py | CommanderBot-Dev/commanderbot | 03f033cedee5f065fa38ae6af674d9b45aeb7089 | [
"MIT"
] | 2 | 2021-08-23T19:17:30.000Z | 2021-08-29T20:42:49.000Z | commanderbot/core/__init__.py | CommanderBot-Dev/commanderbot | 03f033cedee5f065fa38ae6af674d9b45aeb7089 | [
"MIT"
] | 3 | 2020-09-25T19:23:33.000Z | 2020-09-25T21:21:21.000Z | from .bot import *
from .cli import *
from .logging import *
| 15.25 | 22 | 0.704918 | 9 | 61 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 23 | 20.333333 | 0.877551 | 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 |
5883bf6752a4478a0febd79f6cb84dc525f95d91 | 164 | py | Python | raven/projects/Scripts/Cl37Calc.py | arfc/2019-12-bigdata-npps | ebf03664c1d96541956d317f3a305323cf76c23d | [
"CC-BY-4.0"
] | null | null | null | raven/projects/Scripts/Cl37Calc.py | arfc/2019-12-bigdata-npps | ebf03664c1d96541956d317f3a305323cf76c23d | [
"CC-BY-4.0"
] | 2 | 2019-10-26T14:32:13.000Z | 2019-12-17T17:48:05.000Z | raven/projects/Scripts/Cl35Calc.py | arfc/2019-12-bigdata-npps | ebf03664c1d96541956d317f3a305323cf76c23d | [
"CC-BY-4.0"
] | 3 | 2019-10-25T18:50:31.000Z | 2020-06-23T04:17:28.000Z | import MassFractionCalc
def evaluate(self):
return MassFractionCalc.return_value('Cl35',self.salt_type,self.fuel_type,self.U235F4_mole_frac,self.UF4_mole_frac)
| 41 | 119 | 0.841463 | 24 | 164 | 5.458333 | 0.625 | 0.122137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.060976 | 164 | 3 | 120 | 54.666667 | 0.805195 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 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 |
543bbdf627d2f47ab2f0c57f3027d6102d8ac5dd | 46 | py | Python | models/classification/__init__.py | kazuto1011/pytorch-ported-models | dfe81ba2716e80a937dc40d0dfdabe883dd7ab75 | [
"MIT"
] | 2 | 2019-04-02T08:00:46.000Z | 2019-04-09T07:43:28.000Z | models/classification/__init__.py | gaichengyuan/pytorch-ported-models-master | 40fa14385949ec5837fd4ba1b12a99006b484ac1 | [
"MIT"
] | null | null | null | models/classification/__init__.py | gaichengyuan/pytorch-ported-models-master | 40fa14385949ec5837fd4ba1b12a99006b484ac1 | [
"MIT"
] | 2 | 2019-04-09T07:43:29.000Z | 2019-08-01T07:03:04.000Z | from .resnet import *
from .xception import *
| 15.333333 | 23 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54562c411ebe90c2bfa2cc169de56e376f530b62 | 13,247 | py | Python | Time/shiftstats.30s.py | uberfastman/bitbar-plugins | b61903dc31360d67c63ed24abdba3ba71ace3d56 | [
"MIT"
] | null | null | null | Time/shiftstats.30s.py | uberfastman/bitbar-plugins | b61903dc31360d67c63ed24abdba3ba71ace3d56 | [
"MIT"
] | 1 | 2019-11-21T07:31:36.000Z | 2019-11-21T07:31:36.000Z | Time/shiftstats.30s.py | uberfastman/bitbar-plugins | b61903dc31360d67c63ed24abdba3ba71ace3d56 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# <bitbar.title>Shift Stats</bitbar.title>
# <bitbar.version>v2.0</bitbar.version>
# <bitbar.author>Jan Groß</bitbar.author>
# <bitbar.author.github>JanGross</bitbar.author.github>
# <bitbar.desc>Shows the remaining time of today's work shift as well as the time of arrival and... | 91.993056 | 1,049 | 0.817846 | 995 | 13,247 | 10.780905 | 0.41407 | 0.009322 | 0.001678 | 0.004475 | 0.046425 | 0.031696 | 0.026102 | 0.015475 | 0.015475 | 0.015475 | 0 | 0.078647 | 0.100627 | 13,247 | 143 | 1,050 | 92.636364 | 0.821722 | 0.142523 | 0 | 0.130435 | 0 | 0.097826 | 0.723268 | 0.641208 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021739 | null | null | 0.326087 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5475f9be8cbb5b1a1ac0edf07136064eff3f6b19 | 1,110 | py | Python | CodingInterview2/44_DigitsInSequence/test_digits_in_sequence.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | 10 | 2020-07-06T11:00:58.000Z | 2022-01-29T09:25:24.000Z | CodingInterview2/44_DigitsInSequence/test_digits_in_sequence.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | null | null | null | CodingInterview2/44_DigitsInSequence/test_digits_in_sequence.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | 3 | 2020-07-13T06:39:23.000Z | 2020-08-15T16:29:48.000Z | from digits_in_sequence import digit_at_index, digit_at_index2
def test1():
assert digit_at_index(5) == 5
assert digit_at_index2(5) == 5
def test2():
assert digit_at_index(13) == 1
assert digit_at_index2(13) == 1
def test3():
assert digit_at_index(19) == 4
assert digit_at_index2(19) == 4
... | 17.903226 | 62 | 0.652252 | 179 | 1,110 | 3.743017 | 0.212291 | 0.271642 | 0.465672 | 0.483582 | 0.519403 | 0.450746 | 0.101493 | 0.101493 | 0.101493 | 0 | 0 | 0.120231 | 0.220721 | 1,110 | 61 | 63 | 18.196721 | 0.654335 | 0 | 0 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.648649 | 1 | 0.324324 | true | 0 | 0.027027 | 0 | 0.351351 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5486c114e20540452d356cbe8ab2d63853881d9d | 29,023 | py | Python | code_single_group/data_io.py | jianwen-xie/GridCell-3D | e437e9f2bfad052c3fd88e2d19e3847b4f0044c8 | [
"MIT"
] | 19 | 2019-02-25T22:02:38.000Z | 2022-03-06T15:35:38.000Z | code_single_group/data_io.py | jianwen-xie/GridCell-3D | e437e9f2bfad052c3fd88e2d19e3847b4f0044c8 | [
"MIT"
] | null | null | null | code_single_group/data_io.py | jianwen-xie/GridCell-3D | e437e9f2bfad052c3fd88e2d19e3847b4f0044c8 | [
"MIT"
] | 2 | 2020-03-05T21:03:44.000Z | 2021-03-02T07:56:35.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import math
import numpy as np
import scipy.misc
import itertools
from math import pow
import seaborn as sns
import matplotlib.pyplot as plt
from utils import generate_vel_list_3d
IMG_EXTENSIONS = [... | 51.919499 | 134 | 0.574131 | 4,256 | 29,023 | 3.643327 | 0.056391 | 0.051464 | 0.031923 | 0.023217 | 0.857861 | 0.833806 | 0.812718 | 0.793435 | 0.77757 | 0.77312 | 0 | 0.02545 | 0.287875 | 29,023 | 559 | 135 | 51.919499 | 0.724792 | 0.358336 | 0 | 0.61745 | 0 | 0 | 0.010943 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 1 | 0.040268 | false | 0 | 0.040268 | 0.003356 | 0.114094 | 0.003356 | 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 |
5490d04244687bc949c0392bb180d16f2cc12af2 | 16,607 | py | Python | mlsim/anomaly/simpsons_paradox.py | brownsarahm/ml-sim | 26c03e65c57a2ffc3784e6e79eaa76100f0bf391 | [
"MIT"
] | 1 | 2020-11-18T21:08:17.000Z | 2020-11-18T21:08:17.000Z | mlsim/anomaly/simpsons_paradox.py | brownsarahm/ml-sim | 26c03e65c57a2ffc3784e6e79eaa76100f0bf391 | [
"MIT"
] | 2 | 2020-02-11T21:37:03.000Z | 2020-07-09T01:10:49.000Z | mlsim/anomaly/simpsons_paradox.py | brownsarahm/ml-sim | 26c03e65c57a2ffc3784e6e79eaa76100f0bf391 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import string
from ..base.basic_gens import means_with_spread
def geometric_2d_gmm_sp(r_clusters,cluster_size,cluster_spread,p_sp_clusters,
domain_range,k,N,p_clusters=None):
"""
Sample from a gaussian mixture model with Simpson's Paradox and spread means... | 34.525988 | 99 | 0.642801 | 2,645 | 16,607 | 3.855577 | 0.10775 | 0.027358 | 0.025887 | 0.01059 | 0.809963 | 0.792116 | 0.783095 | 0.777015 | 0.766719 | 0.758874 | 0 | 0.014724 | 0.25977 | 16,607 | 480 | 100 | 34.597917 | 0.814854 | 0.427832 | 0 | 0.61413 | 0 | 0 | 0.005739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038043 | false | 0 | 0.021739 | 0 | 0.097826 | 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 |
54ab0c236fe599d283cc06c58c670464a6d3e271 | 101 | py | Python | cms/selection.py | broadinstitute/cms | 4743ffd3feac08f02be7719c82b3371cb94a4d6b | [
"BSD-2-Clause"
] | 13 | 2015-05-18T14:39:00.000Z | 2020-07-22T12:57:07.000Z | cms/selection.py | broadinstitute/cms | 4743ffd3feac08f02be7719c82b3371cb94a4d6b | [
"BSD-2-Clause"
] | 33 | 2015-04-13T20:48:02.000Z | 2019-12-19T07:27:30.000Z | cms/selection.py | broadinstitute/cms | 4743ffd3feac08f02be7719c82b3371cb94a4d6b | [
"BSD-2-Clause"
] | 9 | 2016-03-31T06:56:01.000Z | 2020-01-30T16:35:45.000Z | #!/usr/bin/python
class Selection(object):
def __init__(self):
pass
def main(self):
return 0
| 11.222222 | 24 | 0.683168 | 15 | 101 | 4.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.178218 | 101 | 8 | 25 | 12.625 | 0.771084 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
49f56f40edd1f7e71e4a6187810e1b5a3d4ec342 | 1,866 | py | Python | tests/dltranz_tests/test_data_load/test_iterable_processing/test_category_size_clip.py | KirillVladimirov/pytorch-lifestream | 83005b950d41de8afc11711fc955ffafb5ff7a9e | [
"Apache-2.0"
] | null | null | null | tests/dltranz_tests/test_data_load/test_iterable_processing/test_category_size_clip.py | KirillVladimirov/pytorch-lifestream | 83005b950d41de8afc11711fc955ffafb5ff7a9e | [
"Apache-2.0"
] | null | null | null | tests/dltranz_tests/test_data_load/test_iterable_processing/test_category_size_clip.py | KirillVladimirov/pytorch-lifestream | 83005b950d41de8afc11711fc955ffafb5ff7a9e | [
"Apache-2.0"
] | 1 | 2022-02-05T15:06:48.000Z | 2022-02-05T15:06:48.000Z | from dltranz.data_load.iterable_processing.category_size_clip import CategorySizeClip
import numpy as np
def get_data_without_target():
return [
{
'mcc': np.array([0, 1, 2, 5, 8, 9, 11, 15]),
'currency': np.array([0, 1, 2, 5, 8, 9, 11, 15]),
}
]
def get_data_with_targ... | 34.555556 | 85 | 0.595927 | 316 | 1,866 | 3.341772 | 0.14557 | 0.079545 | 0.090909 | 0.102273 | 0.856061 | 0.856061 | 0.856061 | 0.856061 | 0.856061 | 0.856061 | 0 | 0.084918 | 0.211147 | 1,866 | 53 | 86 | 35.207547 | 0.632473 | 0 | 0 | 0.65 | 0 | 0 | 0.058981 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.15 | false | 0 | 0.05 | 0.05 | 0.25 | 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 |
b7164aab5b7b75b2ecb2fb337b8de249c27eb564 | 41 | py | Python | Introduction/Our first program/hello_world.py | 7Chilly/introduction_to_python | 4b7e2ca4f892df3c6c0dc33aece7737f3ce67905 | [
"MIT"
] | null | null | null | Introduction/Our first program/hello_world.py | 7Chilly/introduction_to_python | 4b7e2ca4f892df3c6c0dc33aece7737f3ce67905 | [
"MIT"
] | null | null | null | Introduction/Our first program/hello_world.py | 7Chilly/introduction_to_python | 4b7e2ca4f892df3c6c0dc33aece7737f3ce67905 | [
"MIT"
] | null | null | null | print("Hello, world! My name is Chilly")
| 20.5 | 40 | 0.707317 | 7 | 41 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b723110e3cd94aa551334eaedb22448506fd60e7 | 129 | py | Python | questions/question#15_3.py | seunghk1206/1-Manhattan-FullStack-Development | 315696197d67b5ed46df50b87f24f55a7209a6b0 | [
"MIT"
] | 1 | 2020-04-16T15:40:29.000Z | 2020-04-16T15:40:29.000Z | questions/question#15_3.py | seunghk1206/Python-basic | 315696197d67b5ed46df50b87f24f55a7209a6b0 | [
"MIT"
] | null | null | null | questions/question#15_3.py | seunghk1206/Python-basic | 315696197d67b5ed46df50b87f24f55a7209a6b0 | [
"MIT"
] | null | null | null | """
111
101
111
111111111
101101101
111111111
111000111
101000101
111000111
111111111
101101101
111111111
"""
inp = int(input())
| 8.0625 | 18 | 0.782946 | 15 | 129 | 6.733333 | 0.6 | 0.356436 | 0.534653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.803571 | 0.131783 | 129 | 15 | 19 | 8.6 | 0.098214 | 0.782946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f9f7b873e04354e309440d50fdd0f1d016b85db | 226 | py | Python | flaxOptimizersBenchmark/architectures/__init__.py | nestordemeure/flaxOptimizersBenchmark | d49f4d9290d8440c926ebe9ac2c3998322f2a147 | [
"Apache-2.0"
] | 2 | 2021-04-18T16:10:14.000Z | 2021-04-18T21:55:48.000Z | flaxOptimizersBenchmark/architectures/__init__.py | nestordemeure/flaxOptimizersBenchmark | d49f4d9290d8440c926ebe9ac2c3998322f2a147 | [
"Apache-2.0"
] | null | null | null | flaxOptimizersBenchmark/architectures/__init__.py | nestordemeure/flaxOptimizersBenchmark | d49f4d9290d8440c926ebe9ac2c3998322f2a147 | [
"Apache-2.0"
] | null | null | null | from .simpleCNN import SimpleCNN
from .resnet import ResNet18, ResNet34, ResNet50, ResNet101, ResNet152, ResNet200
__all__ = ['SimpleCNN',
'ResNet18', 'ResNet34', 'ResNet50', 'ResNet101', 'ResNet152', 'ResNet200']
| 37.666667 | 85 | 0.716814 | 21 | 226 | 7.52381 | 0.52381 | 0.202532 | 0.303797 | 0.417722 | 0.64557 | 0.64557 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0.150442 | 226 | 5 | 86 | 45.2 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3fb26708bd785a4164a6587e48db81ba74084d80 | 3,315 | py | Python | pubopin/news_opin/models.py | build2last/NBspider | fd0067fa1199effa78aa3379b1ebddb8f55ae73c | [
"MIT"
] | 19 | 2016-03-03T01:37:11.000Z | 2021-01-11T08:49:54.000Z | pubopin/news_opin/models.py | build2last/NBspider | fd0067fa1199effa78aa3379b1ebddb8f55ae73c | [
"MIT"
] | 17 | 2016-03-03T01:40:11.000Z | 2022-03-11T23:15:28.000Z | pubopin/news_opin/models.py | build2last/NBspider | fd0067fa1199effa78aa3379b1ebddb8f55ae73c | [
"MIT"
] | 8 | 2016-02-29T11:15:27.000Z | 2021-04-20T00:20:29.000Z | # coding:utf-8
from django.db import models
# Create your models here.
class tencent_article(models.Model):
"""11 elements"""
class Meta:
ordering=['-put_time']
verbose_name="腾讯"
news_id = models.CharField(max_length=100, null=True)
parent_name = models.CharField(max_length=200, null=Tr... | 46.690141 | 97 | 0.746305 | 459 | 3,315 | 5.224401 | 0.167756 | 0.150125 | 0.217681 | 0.290242 | 0.806088 | 0.787323 | 0.726022 | 0.655546 | 0.506255 | 0.347373 | 0 | 0.031967 | 0.131825 | 3,315 | 71 | 98 | 46.690141 | 0.801251 | 0.059125 | 0 | 0.440678 | 0 | 0 | 0.010932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.966102 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3fc62af5a9afaf83b683d74954270b63e58446f2 | 26 | py | Python | vctube/__init__.py | ishine/aud-crawler | 9f79744b528468013da44502de5b84edbbcfd069 | [
"MIT"
] | 17 | 2020-10-09T08:49:30.000Z | 2022-01-03T05:51:22.000Z | vctube/__init__.py | ishine/aud-crawler | 9f79744b528468013da44502de5b84edbbcfd069 | [
"MIT"
] | 1 | 2020-04-08T13:07:12.000Z | 2020-04-08T13:07:12.000Z | vctube/__init__.py | ishine/aud-crawler | 9f79744b528468013da44502de5b84edbbcfd069 | [
"MIT"
] | 10 | 2020-08-19T10:05:40.000Z | 2022-01-13T22:11:27.000Z | from .vctube import VCtube | 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 |
3fcc00423fba190cd45da21cc2cd1c4364006d72 | 48,749 | py | Python | backend/config_app/config_sonum/config_app_data_endpoints.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | 1 | 2019-12-17T22:31:00.000Z | 2019-12-17T22:31:00.000Z | backend/config_app/config_sonum/config_app_data_endpoints.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | 10 | 2019-05-28T19:57:28.000Z | 2021-06-01T23:46:00.000Z | backend/config_app/config_sonum/config_app_data_endpoints.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
from . import version, uuid_models
default_data_endpoints_config = [
### - - - - - - - - - - - - - - - ###
### CONFIG SONUM
### - - - - - - - - - - - - - - - ###
### USER MANAGEMENT
### - - - - - - - - - - - - - - - ###
### AUTH ROOT URLS
{ "field" ... | 62.740026 | 335 | 0.46321 | 4,602 | 48,749 | 4.736636 | 0.095611 | 0.021745 | 0.028076 | 0.038994 | 0.835673 | 0.783788 | 0.763327 | 0.747683 | 0.74438 | 0.727452 | 0 | 0.010513 | 0.324868 | 48,749 | 776 | 336 | 62.820876 | 0.651799 | 0.100617 | 0 | 0.63738 | 0 | 0.019169 | 0.448628 | 0.020237 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00639 | 0.001597 | 0 | 0.001597 | 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 |
3fd9d98c24747bd1b7c8b72b15536471fe55475d | 29,110 | py | Python | pybind/nos/v7_1_0/rbridge_id/resource_monitor/cpu/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/resource_monitor/cpu/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/resource_monitor/cpu/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 87.417417 | 713 | 0.73023 | 4,061 | 29,110 | 4.995568 | 0.050973 | 0.06063 | 0.041406 | 0.019323 | 0.882782 | 0.858924 | 0.845813 | 0.843299 | 0.831222 | 0.82856 | 0 | 0.016734 | 0.12549 | 29,110 | 332 | 714 | 87.680723 | 0.780178 | 0.122157 | 0 | 0.466346 | 0 | 0.033654 | 0.408671 | 0.161596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.038462 | 0 | 0.274038 | 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 |
3fde3e80cb8e514ae417b5421f5eddd3db37478e | 31 | py | Python | dublincitynoise/__init__.py | soundsensing/dublincitynoise-python | 2fa1b039a051d563fcea1d291592d0b34cfade1a | [
"MIT"
] | 1 | 2020-08-17T12:14:54.000Z | 2020-08-17T12:14:54.000Z | dublincitynoise/__init__.py | soundsensing/dublincitynoise-python | 2fa1b039a051d563fcea1d291592d0b34cfade1a | [
"MIT"
] | null | null | null | dublincitynoise/__init__.py | soundsensing/dublincitynoise-python | 2fa1b039a051d563fcea1d291592d0b34cfade1a | [
"MIT"
] | null | null | null |
from . import api, historical
| 10.333333 | 29 | 0.741935 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 2 | 30 | 15.5 | 0.92 | 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 |
3fe9e65cb583791c0930104fc64cad6a8ba80a4c | 49 | py | Python | lesson1/task1/hello_world.py | maskleo/Introduction_to_Python | ebf4ba75253417d6215372dc68c589eb61c912bc | [
"Apache-2.0"
] | null | null | null | lesson1/task1/hello_world.py | maskleo/Introduction_to_Python | ebf4ba75253417d6215372dc68c589eb61c912bc | [
"Apache-2.0"
] | null | null | null | lesson1/task1/hello_world.py | maskleo/Introduction_to_Python | ebf4ba75253417d6215372dc68c589eb61c912bc | [
"Apache-2.0"
] | null | null | null | print("Hello, world! My name is type your name")
| 24.5 | 48 | 0.714286 | 9 | 49 | 3.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 1 | 49 | 49 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b75072dff196ff39a070c42d28ddb61fb8384db9 | 35 | py | Python | models/src/com/neuralcamera/exposure_correction.py | kbeathanabhotla/neural-camera | d3696c6ffa2ec86327d17702b5ac9c03446f2dd1 | [
"MIT"
] | null | null | null | models/src/com/neuralcamera/exposure_correction.py | kbeathanabhotla/neural-camera | d3696c6ffa2ec86327d17702b5ac9c03446f2dd1 | [
"MIT"
] | null | null | null | models/src/com/neuralcamera/exposure_correction.py | kbeathanabhotla/neural-camera | d3696c6ffa2ec86327d17702b5ac9c03446f2dd1 | [
"MIT"
] | null | null | null | print('Exposure Correction Model')
| 17.5 | 34 | 0.8 | 4 | 35 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b79468d080d196ddbb064f1cf93593d59ee8f19b | 95 | py | Python | terrascript/archive/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/archive/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/archive/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/archive/d.py
import terrascript
class archive_file(terrascript.Data):
pass
| 13.571429 | 37 | 0.778947 | 12 | 95 | 6.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 6 | 38 | 15.833333 | 0.890244 | 0.252632 | 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 |
b7b2bda60e42b4042c6a5532e1ebe7579495c38f | 21 | py | Python | dogbot/cqsdk/__init__.py | moondropx/dogbot | 4883b558e92c8fdcdbef97240cfa8252ec343eb4 | [
"Apache-2.0"
] | 6 | 2017-08-01T09:06:59.000Z | 2018-06-23T11:28:51.000Z | dogbot/cqsdk/__init__.py | moondropx/dogbot | 4883b558e92c8fdcdbef97240cfa8252ec343eb4 | [
"Apache-2.0"
] | null | null | null | dogbot/cqsdk/__init__.py | moondropx/dogbot | 4883b558e92c8fdcdbef97240cfa8252ec343eb4 | [
"Apache-2.0"
] | 2 | 2017-08-14T04:35:57.000Z | 2019-05-26T05:57:58.000Z | from .cqsdk import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7e304888fdc05e0e7c3ff690eb5c6be1e994072 | 18 | py | Python | linestyle/__init__.py | redown/linestyle | 3a3ec131c518d758e92e8643a6c48131e2eda4a4 | [
"MIT"
] | null | null | null | linestyle/__init__.py | redown/linestyle | 3a3ec131c518d758e92e8643a6c48131e2eda4a4 | [
"MIT"
] | null | null | null | linestyle/__init__.py | redown/linestyle | 3a3ec131c518d758e92e8643a6c48131e2eda4a4 | [
"MIT"
] | null | null | null | from .man 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 |
4d2c1ff019a67d200be75dc05b92d858564335e0 | 327 | py | Python | src/ebay_rest/api/buy_browse/api/__init__.py | gbm001/ebay_rest | 077d3478423ccd80ff35e0361821d6a11180bc54 | [
"MIT"
] | 3 | 2021-12-12T04:28:03.000Z | 2022-03-10T03:29:18.000Z | src/ebay_rest/api/buy_browse/api/__init__.py | jdavv/ebay_rest | 20fc88c6aefdae9ab90f9c1330e79abddcd750cd | [
"MIT"
] | 33 | 2021-06-16T20:44:36.000Z | 2022-03-30T14:55:06.000Z | src/ebay_rest/api/buy_browse/api/__init__.py | jdavv/ebay_rest | 20fc88c6aefdae9ab90f9c1330e79abddcd750cd | [
"MIT"
] | 7 | 2021-06-03T09:30:23.000Z | 2022-03-08T19:51:33.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from ...buy_browse.api.item_api import ItemApi
from ...buy_browse.api.item_summary_api import ItemSummaryApi
from ...buy_browse.api.search_by_image_api import SearchByImageApi
from ...buy_browse.api.shopping_cart_api import ShoppingC... | 32.7 | 66 | 0.834862 | 48 | 327 | 5.333333 | 0.479167 | 0.109375 | 0.203125 | 0.25 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003378 | 0.094801 | 327 | 9 | 67 | 36.333333 | 0.861486 | 0.125382 | 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 |
4d61bb99468f687adc8cf32f51f910c2375a0789 | 7,259 | py | Python | test/test_includes.py | foliant-docs/foliantcontrib.includes | d964bf87817b2a6240673e4714faddee37fec3b9 | [
"MIT"
] | null | null | null | test/test_includes.py | foliant-docs/foliantcontrib.includes | d964bf87817b2a6240673e4714faddee37fec3b9 | [
"MIT"
] | 4 | 2018-03-30T21:16:32.000Z | 2019-10-08T12:38:46.000Z | test/test_includes.py | foliant-docs/foliantcontrib.includes | d964bf87817b2a6240673e4714faddee37fec3b9 | [
"MIT"
] | 2 | 2018-03-01T10:38:24.000Z | 2018-10-04T03:43:37.000Z | import logging
import re
from inspect import getsource
from pathlib import Path
from unittest import TestCase
from foliant_test.preprocessor import PreprocessorTestFramework
from .utils import data_file_content
logging.disable(logging.CRITICAL)
class TestIncludesBasic(TestCase):
def setUp(self):
self.pt... | 34.732057 | 142 | 0.549525 | 846 | 7,259 | 4.542553 | 0.089835 | 0.054645 | 0.070778 | 0.044496 | 0.831642 | 0.813427 | 0.8051 | 0.802498 | 0.790008 | 0.771272 | 0 | 0.000998 | 0.30996 | 7,259 | 208 | 143 | 34.899038 | 0.766221 | 0 | 0 | 0.569948 | 0 | 0.046632 | 0.336548 | 0.083207 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062176 | false | 0 | 0.036269 | 0 | 0.103627 | 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 |
4df06d4805ab7eec942b4660a80a28ec6e2479d0 | 70,305 | py | Python | tests/unit/test_tables_client_v1beta1.py | genquan9/python-automl | 7b9d62248c7d69bc9e6a00f2caf4d7a5fa6eabec | [
"Apache-2.0"
] | null | null | null | tests/unit/test_tables_client_v1beta1.py | genquan9/python-automl | 7b9d62248c7d69bc9e6a00f2caf4d7a5fa6eabec | [
"Apache-2.0"
] | null | null | null | tests/unit/test_tables_client_v1beta1.py | genquan9/python-automl | 7b9d62248c7d69bc9e6a00f2caf4d7a5fa6eabec | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 40.732908 | 95 | 0.62189 | 7,637 | 70,305 | 5.317664 | 0.039021 | 0.041122 | 0.033094 | 0.046982 | 0.91261 | 0.895349 | 0.868287 | 0.854793 | 0.827928 | 0.799882 | 0 | 0.009406 | 0.280179 | 70,305 | 1,725 | 96 | 40.756522 | 0.793072 | 0.033895 | 0 | 0.57236 | 0 | 0 | 0.104844 | 0.054573 | 0 | 0 | 0 | 0 | 0.099739 | 1 | 0.062581 | false | 0.000652 | 0.025424 | 0 | 0.089309 | 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 |
12da1794e4cab28ee0d165409ee152af7dba6c46 | 9,944 | py | Python | python/paddle/fluid/tests/unittests/npu/test_arg_max_op_npu.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | python/paddle/fluid/tests/unittests/npu/test_arg_max_op_npu.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/npu/test_arg_max_op_npu.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-09-24T11:23:36.000Z | 2021-09-24T11:23:36.000Z | # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 25.562982 | 78 | 0.595736 | 1,186 | 9,944 | 4.855818 | 0.141653 | 0.052787 | 0.085779 | 0.103837 | 0.764195 | 0.764195 | 0.752561 | 0.722869 | 0.722869 | 0.706546 | 0 | 0.035491 | 0.291633 | 9,944 | 388 | 79 | 25.628866 | 0.782084 | 0.06426 | 0 | 0.791045 | 0 | 0 | 0.042739 | 0 | 0 | 0 | 0 | 0 | 0.018657 | 1 | 0.164179 | false | 0 | 0.033582 | 0 | 0.294776 | 0.003731 | 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 |
42167dcfb822e62791bb00079626515ac7a21273 | 44 | py | Python | ProgramArguments/Hello.py | padmacho/pythontutorial | 80c58d2d6efc0c3598f92b627338c6cd9fda1759 | [
"Apache-2.0"
] | null | null | null | ProgramArguments/Hello.py | padmacho/pythontutorial | 80c58d2d6efc0c3598f92b627338c6cd9fda1759 | [
"Apache-2.0"
] | null | null | null | ProgramArguments/Hello.py | padmacho/pythontutorial | 80c58d2d6efc0c3598f92b627338c6cd9fda1759 | [
"Apache-2.0"
] | null | null | null | import sys
print("Welcome Mr ",sys.argv[1]) | 22 | 32 | 0.704545 | 8 | 44 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.113636 | 44 | 2 | 32 | 22 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
426bfe69a3bf724a1170331e637f3380fcaf80e5 | 35 | py | Python | stam_pytorch/__init__.py | lab176344/STAM-pytorch | 1ea4fd218d1567e94d27581e48e3b8ce50f985ed | [
"MIT"
] | 100 | 2021-03-28T21:50:30.000Z | 2022-03-21T06:34:59.000Z | stam_pytorch/__init__.py | lab176344/STAM-pytorch | 1ea4fd218d1567e94d27581e48e3b8ce50f985ed | [
"MIT"
] | 5 | 2021-03-29T13:24:04.000Z | 2022-02-01T20:03:00.000Z | stam_pytorch/__init__.py | lab176344/STAM-pytorch | 1ea4fd218d1567e94d27581e48e3b8ce50f985ed | [
"MIT"
] | 13 | 2021-03-29T01:36:14.000Z | 2022-03-30T05:59:24.000Z | from stam_pytorch.stam import STAM
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.833333 | 0.666667 | 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 |
4270d8987877b103f850e072f35bc072bf3aaef5 | 93 | py | Python | QuantTorch/WqrNet.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 75 | 2019-03-19T07:36:56.000Z | 2021-12-23T02:34:59.000Z | QuantTorch/WqrNet.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 10 | 2019-03-19T21:16:56.000Z | 2019-04-16T15:05:37.000Z | QuantTorch/WqrNet.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 9 | 2019-08-12T10:33:55.000Z | 2021-07-23T02:10:06.000Z | from QuantTorch.functions.WQR_connect import *
from QuantTorch.layers.WQR_layers import * | 46.5 | 46 | 0.817204 | 12 | 93 | 6.166667 | 0.583333 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 2 | 47 | 46.5 | 0.902439 | 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 |
4285e4144a4886dd9b93fd42e55abd0a157dab88 | 79 | py | Python | peragroUI/ip.py | kunalsharma05/django-project | 2fb8b5a5e5583518a46d3994a8bf1c48fb531443 | [
"BSD-3-Clause"
] | 5 | 2016-03-03T23:45:04.000Z | 2021-08-19T18:18:43.000Z | peragroUI/ip.py | kunalsharma05/django-project | 2fb8b5a5e5583518a46d3994a8bf1c48fb531443 | [
"BSD-3-Clause"
] | null | null | null | peragroUI/ip.py | kunalsharma05/django-project | 2fb8b5a5e5583518a46d3994a8bf1c48fb531443 | [
"BSD-3-Clause"
] | 1 | 2016-05-26T06:12:19.000Z | 2016-05-26T06:12:19.000Z |
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
print BASE_DIR | 19.75 | 53 | 0.797468 | 14 | 79 | 4.071429 | 0.571429 | 0.245614 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 79 | 4 | 54 | 19.75 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
35e91e68117757a65e1903f6776e2476b18a5e2d | 5,038 | py | Python | tests/test_musicc.py | borenstein-lab/MUSiCC | 478c9244cf406935e67abdf7622bdb05421ab1fb | [
"BSD-3-Clause"
] | 7 | 2016-03-09T17:56:54.000Z | 2021-01-13T17:52:38.000Z | tests/test_musicc.py | omanor/MUSiCC | 478c9244cf406935e67abdf7622bdb05421ab1fb | [
"BSD-3-Clause"
] | 12 | 2017-08-16T01:23:10.000Z | 2021-06-04T03:47:34.000Z | tests/test_musicc.py | borenstein-lab/MUSiCC | 478c9244cf406935e67abdf7622bdb05421ab1fb | [
"BSD-3-Clause"
] | 6 | 2016-06-23T18:11:57.000Z | 2020-08-17T13:09:54.000Z | #!/usr/bin/env python
"""
This is the testing unit for MUSiCC
"""
# to comply with both Py2 and Py3
from __future__ import absolute_import, division, print_function
import unittest
import os
import pandas as pd
import musicc
from musicc.core import correct_and_normalize
class MUSiCCTestCase(unittest.TestCase):
... | 54.172043 | 144 | 0.677054 | 653 | 5,038 | 4.952527 | 0.177642 | 0.061224 | 0.052566 | 0.118738 | 0.863327 | 0.863327 | 0.863327 | 0.836735 | 0.836735 | 0.788806 | 0 | 0.009545 | 0.209805 | 5,038 | 92 | 145 | 54.76087 | 0.802813 | 0.166534 | 0 | 0.508475 | 0 | 0 | 0.196303 | 0.075651 | 0 | 0 | 0 | 0 | 0.152542 | 1 | 0.050847 | false | 0 | 0.101695 | 0 | 0.186441 | 0.033898 | 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 |
c40a1565ebae29b036d5425a46db8ff85fe1551a | 49 | py | Python | CozmOSU/Drive/__init__.py | OSU-cozmo/OSU-Cozmo-Library | ea8a06877cbdc88b6f730df92c2d40d4f53470cc | [
"MIT"
] | null | null | null | CozmOSU/Drive/__init__.py | OSU-cozmo/OSU-Cozmo-Library | ea8a06877cbdc88b6f730df92c2d40d4f53470cc | [
"MIT"
] | 1 | 2018-09-21T06:05:49.000Z | 2018-09-21T06:05:49.000Z | CozmOSU/Drive/__init__.py | OSU-cozmo/OSU-Cozmo-Library | ea8a06877cbdc88b6f730df92c2d40d4f53470cc | [
"MIT"
] | null | null | null | from .driving import *
from .Navigation import *
| 16.333333 | 25 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.902439 | 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 |
67059390b7b2bce7d2c97dacdee75f44885eade3 | 56 | py | Python | niki/get_random_tweets.py | Jex-y/blkr | e4b4a6df380e9bc0856153c6ca2914e349a15700 | [
"MIT"
] | null | null | null | niki/get_random_tweets.py | Jex-y/blkr | e4b4a6df380e9bc0856153c6ca2914e349a15700 | [
"MIT"
] | null | null | null | niki/get_random_tweets.py | Jex-y/blkr | e4b4a6df380e9bc0856153c6ca2914e349a15700 | [
"MIT"
] | null | null | null | from utils import get_random_tweets
get_random_tweets() | 18.666667 | 35 | 0.875 | 9 | 56 | 5 | 0.666667 | 0.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 3 | 36 | 18.666667 | 0.882353 | 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 |
6717d175e9cd364a33e71a4f542c3aeb22689afb | 40 | py | Python | sfaira/unit_tests/data_for_tests/databases/__init__.py | johnmous/sfaira | c50240a74530e614ab7681bf9c63b04cb815b361 | [
"BSD-3-Clause"
] | 110 | 2020-09-08T07:47:15.000Z | 2022-03-29T03:33:56.000Z | sfaira/unit_tests/data_for_tests/databases/__init__.py | johnmous/sfaira | c50240a74530e614ab7681bf9c63b04cb815b361 | [
"BSD-3-Clause"
] | 405 | 2020-09-15T15:05:46.000Z | 2022-03-16T14:44:23.000Z | sfaira/unit_tests/data_for_tests/databases/__init__.py | johnmous/sfaira | c50240a74530e614ab7681bf9c63b04cb815b361 | [
"BSD-3-Clause"
] | 20 | 2021-03-30T15:30:14.000Z | 2022-03-07T12:52:58.000Z | from .utils import prepare_dsg_database
| 20 | 39 | 0.875 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 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 |
675b3a8a3e1792f8b9032df6a5e007ddafaf66ee | 307 | py | Python | disarm_gears/util/__init__.py | disarm-platform/disarm-gears | d9f747687e632102a4ef2821b33936daacb01b6c | [
"MIT"
] | null | null | null | disarm_gears/util/__init__.py | disarm-platform/disarm-gears | d9f747687e632102a4ef2821b33936daacb01b6c | [
"MIT"
] | 11 | 2019-02-28T00:18:47.000Z | 2020-02-22T20:36:00.000Z | disarm_gears/util/__init__.py | disarm-platform/disarm-gears | d9f747687e632102a4ef2821b33936daacb01b6c | [
"MIT"
] | null | null | null | from disarm_gears.util.binomial_to_bernoulli import binomial_to_bernoulli
from disarm_gears.util.buffers import voronoi_polygons, regular_polygons, disjoint_polygons
from disarm_gears.util.surface_trends import trend_1st_order, trend_2nd_order, trend_3rd_order
#from disarm_gears.util.json_helpers import *
| 61.4 | 94 | 0.889251 | 46 | 307 | 5.521739 | 0.478261 | 0.15748 | 0.23622 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010453 | 0.065147 | 307 | 4 | 95 | 76.75 | 0.874564 | 0.143322 | 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 |
67694841f6397dc6aba4cb5d2db3185fa5a04d89 | 68 | py | Python | casbin/__init__.py | dwang7/pycasbin | c0d537dc8613146555fc03fa23b503b39260385e | [
"Apache-2.0"
] | null | null | null | casbin/__init__.py | dwang7/pycasbin | c0d537dc8613146555fc03fa23b503b39260385e | [
"Apache-2.0"
] | 1 | 2020-10-26T17:02:45.000Z | 2020-10-26T17:02:45.000Z | casbin/__init__.py | yyellowsun/pycasbin | 9191ccd72cbeed6e36303d4cbf0407b626718421 | [
"Apache-2.0"
] | 2 | 2020-10-23T16:52:00.000Z | 2021-01-26T00:22:25.000Z | from .enforcer import *
from .synced_enforcer import SyncedEnforcer
| 22.666667 | 43 | 0.838235 | 8 | 68 | 7 | 0.625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 44 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
67794a4db2a200f0311e75515710d1fcc1141dc5 | 712 | py | Python | spider/weibo_top/page_info.py | KelvienLee/learning-python | 73f2e049480a4f3cbf6a9a8bd25f2976e79f5f51 | [
"MIT"
] | null | null | null | spider/weibo_top/page_info.py | KelvienLee/learning-python | 73f2e049480a4f3cbf6a9a8bd25f2976e79f5f51 | [
"MIT"
] | null | null | null | spider/weibo_top/page_info.py | KelvienLee/learning-python | 73f2e049480a4f3cbf6a9a8bd25f2976e79f5f51 | [
"MIT"
] | null | null | null | class PageInfo(object):
url = 'https://s.weibo.com/top/summary?cate=realtimehot&sudaref=www.google.com.hk'
headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.54 Safari/537.36'}
cookie = 'SUBP=0033WrSXqPxfM725Ws9jqgMF55529P9D9WhizyG9QTc9Ef9lFEoXI... | 118.666667 | 422 | 0.814607 | 78 | 712 | 7.397436 | 0.884615 | 0.017331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154887 | 0.066011 | 712 | 5 | 423 | 142.4 | 0.712782 | 0 | 0 | 0 | 0 | 0.6 | 0.835674 | 0.543539 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
677a8672562614ee3046b8af9499db33c8cf72fb | 598 | py | Python | python/testData/inspections/PyCompatibilityInspection/fromImportStatement.py | Sajadrahimi/intellij-community | ab9ff612dde3ee94ecae33cbc0ea639fa51550d4 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyCompatibilityInspection/fromImportStatement.py | Sajadrahimi/intellij-community | ab9ff612dde3ee94ecae33cbc0ea639fa51550d4 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyCompatibilityInspection/fromImportStatement.py | Sajadrahimi/intellij-community | ab9ff612dde3ee94ecae33cbc0ea639fa51550d4 | [
"Apache-2.0"
] | 1 | 2022-01-02T19:58:08.000Z | 2022-01-02T19:58:08.000Z | <warning descr="Python version 2.4 doesn't support this syntax.">from . import smth</warning>
<warning descr="Python version 2.4 doesn't support this syntax.">from .module import name1, name2</warning>
from <warning descr="Python version 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6 do not have module Bastion">Bastion</warning> i... | 66.444444 | 156 | 0.727425 | 111 | 598 | 3.918919 | 0.288288 | 0.137931 | 0.206897 | 0.287356 | 0.701149 | 0.698851 | 0.533333 | 0.533333 | 0.533333 | 0.533333 | 0 | 0.08046 | 0.12709 | 598 | 8 | 157 | 74.75 | 0.752874 | 0 | 0 | 0 | 0 | 0.4 | 0.518395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
678463b454867091dc47619305340557d42562bf | 25 | py | Python | magpie/model/supervised/__init__.py | daemon/magpie | aa52da47551765c681da2fa68f515e2d02ceed58 | [
"MIT"
] | 3 | 2018-07-29T15:42:08.000Z | 2018-12-28T03:18:49.000Z | magpie/model/supervised/__init__.py | daemon/magpie | aa52da47551765c681da2fa68f515e2d02ceed58 | [
"MIT"
] | null | null | null | magpie/model/supervised/__init__.py | daemon/magpie | aa52da47551765c681da2fa68f515e2d02ceed58 | [
"MIT"
] | null | null | null | from .similarity import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 |
67b9ed4dbc067ee30a897f49cf306af98f028d58 | 3,037 | py | Python | packages/randomForest_classifier/randomForest_classifier/pipeline.py | javicordon/ml-demo | a1d95766c26101cee71b25ebdc2e972139e620bc | [
"BSD-3-Clause"
] | null | null | null | packages/randomForest_classifier/randomForest_classifier/pipeline.py | javicordon/ml-demo | a1d95766c26101cee71b25ebdc2e972139e620bc | [
"BSD-3-Clause"
] | null | null | null | packages/randomForest_classifier/randomForest_classifier/pipeline.py | javicordon/ml-demo | a1d95766c26101cee71b25ebdc2e972139e620bc | [
"BSD-3-Clause"
] | null | null | null | from sklearn.ensemble import RandomForestClassifier
#from xgboost import XGBClassifier
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import MinMaxScaler
from randomForest_classifier.processing import preprocessors as pp
from randomForest_classifier.processing import features
from randomForest_classi... | 31.309278 | 119 | 0.614751 | 239 | 3,037 | 7.527197 | 0.267782 | 0.116732 | 0.086715 | 0.100056 | 0.843802 | 0.79711 | 0.79711 | 0.79711 | 0.79711 | 0.79711 | 0 | 0.006497 | 0.290418 | 3,037 | 96 | 120 | 31.635417 | 0.828306 | 0.100428 | 0 | 0.60241 | 0 | 0 | 0.110785 | 0.008437 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.084337 | 0 | 0.084337 | 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 |
67fbc1e2c2326bf955fb45d7948cd2e4ef12b55e | 9,965 | py | Python | migrations/versions/03e839257e15_change_all_to_cascade.py | Ryan0v0/MicropubPlatform | bc2a3ff4278a974816b47064a58d0c66d4bcd9fa | [
"MIT"
] | null | null | null | migrations/versions/03e839257e15_change_all_to_cascade.py | Ryan0v0/MicropubPlatform | bc2a3ff4278a974816b47064a58d0c66d4bcd9fa | [
"MIT"
] | null | null | null | migrations/versions/03e839257e15_change_all_to_cascade.py | Ryan0v0/MicropubPlatform | bc2a3ff4278a974816b47064a58d0c66d4bcd9fa | [
"MIT"
] | 1 | 2021-04-23T05:49:21.000Z | 2021-04-23T05:49:21.000Z | """change all to cascade
Revision ID: 03e839257e15
Revises: 65b35ef644a0
Create Date: 2020-05-22 00:52:35.655025
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '03e839257e15'
down_revision = '65b35ef644a0'
branch_labels = None
depends_on = None
def upgrade()... | 73.814815 | 153 | 0.754039 | 1,378 | 9,965 | 4.942671 | 0.052975 | 0.129496 | 0.058141 | 0.110997 | 0.957275 | 0.957275 | 0.957275 | 0.95522 | 0.949493 | 0.887388 | 0 | 0.006311 | 0.109584 | 9,965 | 134 | 154 | 74.365672 | 0.761298 | 0.030406 | 0 | 0.183673 | 0 | 0 | 0.412883 | 0.265558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.020408 | 0 | 0.040816 | 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 |
db0b50c20f32bee1ef982e86d8a39ae9afdeb85e | 22 | py | Python | pingo/udoo/__init__.py | willingc/pingo | 0890bf5ed763e9061320093fc3fb5f7543c5cc2c | [
"MIT"
] | null | null | null | pingo/udoo/__init__.py | willingc/pingo | 0890bf5ed763e9061320093fc3fb5f7543c5cc2c | [
"MIT"
] | null | null | null | pingo/udoo/__init__.py | willingc/pingo | 0890bf5ed763e9061320093fc3fb5f7543c5cc2c | [
"MIT"
] | null | null | null | from udoo import Udoo
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c05c7c60d16f10e89cea876dc7578a2d1277200f | 396 | py | Python | src/apiwrappers/__init__.py | abnerjacobsen/apiwrappers | eb004fd86cbbc1d468030544472851a262b196dc | [
"MIT"
] | 16 | 2020-01-07T23:09:11.000Z | 2021-12-28T21:53:54.000Z | src/apiwrappers/__init__.py | abnerjacobsen/apiwrappers | eb004fd86cbbc1d468030544472851a262b196dc | [
"MIT"
] | 57 | 2020-01-03T20:49:08.000Z | 2022-01-15T15:30:00.000Z | src/apiwrappers/__init__.py | abnerjacobsen/apiwrappers | eb004fd86cbbc1d468030544472851a262b196dc | [
"MIT"
] | 1 | 2021-12-28T21:54:11.000Z | 2021-12-28T21:54:11.000Z | from apiwrappers.entities import Method, Request, Response # noqa: F401
from apiwrappers.exceptions import ConnectionFailed, DriverError, Timeout # noqa: F401
from apiwrappers.factories import make_driver # noqa: F401
from apiwrappers.protocols import AsyncDriver, Driver # noqa: F401
from apiwrappers.shortcuts impo... | 56.571429 | 87 | 0.808081 | 48 | 396 | 6.645833 | 0.458333 | 0.282132 | 0.188088 | 0.360502 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052478 | 0.133838 | 396 | 6 | 88 | 66 | 0.877551 | 0.164141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c0696c0536481ced3452d9044c61793eafdf46e0 | 2,644 | py | Python | build.py | krzem5/C-Sha1_Cracker | 416669cca2a35518715cacfae39ffc6ed028bd17 | [
"BSD-3-Clause"
] | null | null | null | build.py | krzem5/C-Sha1_Cracker | 416669cca2a35518715cacfae39ffc6ed028bd17 | [
"BSD-3-Clause"
] | null | null | null | build.py | krzem5/C-Sha1_Cracker | 416669cca2a35518715cacfae39ffc6ed028bd17 | [
"BSD-3-Clause"
] | null | null | null | import os
import subprocess
import sys
if (not os.path.exists("build")):
os.mkdir("build")
else:
for r,_,fl in os.walk("build"):
for f in fl:
os.remove(os.path.join(r,f))
tmp=os.getcwd()
os.chdir("build")
if ("--gpu" in sys.argv):
if ("--release" in sys.argv):
if (subprocess.run(["nvcc","-O3","-Xptxas","-v... | 67.794872 | 780 | 0.621029 | 394 | 2,644 | 4.07868 | 0.28934 | 0.056005 | 0.037337 | 0.039826 | 0.830118 | 0.830118 | 0.810205 | 0.810205 | 0.763535 | 0.763535 | 0 | 0.025387 | 0.04652 | 2,644 | 38 | 781 | 69.578947 | 0.612059 | 0 | 0 | 0.514286 | 0 | 0 | 0.53177 | 0.097579 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085714 | 0 | 0.085714 | 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 |
fbf944d0cbb52520f5e2083a962436babaa26ff2 | 26,980 | py | Python | pyRMSD/test/testRMSDCalculators.py | NatureGeorge/pyRMSD | 9b45fcad944596a021823c9d5a5b73fcddbcd1fc | [
"MIT"
] | 1 | 2021-02-18T19:15:58.000Z | 2021-02-18T19:15:58.000Z | pyRMSD/test/testRMSDCalculators.py | NatureGeorge/pyRMSD | 9b45fcad944596a021823c9d5a5b73fcddbcd1fc | [
"MIT"
] | null | null | null | pyRMSD/test/testRMSDCalculators.py | NatureGeorge/pyRMSD | 9b45fcad944596a021823c9d5a5b73fcddbcd1fc | [
"MIT"
] | 2 | 2020-12-11T14:57:48.000Z | 2021-08-03T12:22:44.000Z | """
Created on 16/11/2012
@author: victor
"""
from __future__ import print_function
import unittest
import pyRMSD.RMSDCalculator
import numpy
class TestRMSDCalculators(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.expected_rmsd = {0:[ 0.60179184, 0.70814575, 0.88785042, 0.... | 63.333333 | 200 | 0.656486 | 3,025 | 26,980 | 5.534215 | 0.101818 | 0.021026 | 0.039783 | 0.042052 | 0.844932 | 0.837286 | 0.82516 | 0.817096 | 0.799116 | 0.791052 | 0 | 0.062062 | 0.25467 | 26,980 | 425 | 201 | 63.482353 | 0.770451 | 0.104893 | 0 | 0.551331 | 0 | 0 | 0.184394 | 0.169911 | 0 | 0 | 0 | 0 | 0.144487 | 1 | 0.110266 | false | 0 | 0.015209 | 0 | 0.136882 | 0.007605 | 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 |
2201cfd6c27a05db7182d58dfa82db9267f305c9 | 76 | py | Python | computing_and_control/radiometry/__init__.py | aap5869/RIT | d8a408e59a94b0edde56a207592fd7b803172119 | [
"MIT"
] | null | null | null | computing_and_control/radiometry/__init__.py | aap5869/RIT | d8a408e59a94b0edde56a207592fd7b803172119 | [
"MIT"
] | null | null | null | computing_and_control/radiometry/__init__.py | aap5869/RIT | d8a408e59a94b0edde56a207592fd7b803172119 | [
"MIT"
] | null | null | null | from .Blackbody import Blackbody
from .bb_temperature import bb_temperature
| 25.333333 | 42 | 0.868421 | 10 | 76 | 6.4 | 0.5 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 43 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
220b93564e7303dc1970b4f9f39c8869c94f48ea | 47 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_choroplethmapbox.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_choroplethmapbox.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_choroplethmapbox.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | from plotly.graph_objs import Choroplethmapbox
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
2221eadd54df7ec10f0e15324f2ccb1634500fe1 | 45 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_scatterternary.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_scatterternary.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_scatterternary.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | from plotly.graph_objs import Scatterternary
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 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 |
224b65bcab506c8cb62b1fa675204ee2b6f18970 | 176 | py | Python | ChannelAnalysis/CoordAnalysis/__init__.py | cing/ChannelAnalysis | 46fed870dab93545cb35cc1554303f048072d2f1 | [
"MIT"
] | 1 | 2022-03-16T14:22:48.000Z | 2022-03-16T14:22:48.000Z | ChannelAnalysis/CoordAnalysis/__init__.py | cing/ChannelAnalysis | 46fed870dab93545cb35cc1554303f048072d2f1 | [
"MIT"
] | null | null | null | ChannelAnalysis/CoordAnalysis/__init__.py | cing/ChannelAnalysis | 46fed870dab93545cb35cc1554303f048072d2f1 | [
"MIT"
] | null | null | null | from Preprocessor import *
from Plots import *
from Statistics import *
from Histograms import *
from Grouping import *
from Transitions import *
from RegexHistograms import *
| 22 | 29 | 0.801136 | 21 | 176 | 6.714286 | 0.428571 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 176 | 7 | 30 | 25.142857 | 0.952703 | 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 |
97d5339863059fbbcf7bf060209ea4c03160c3e5 | 865 | py | Python | modules/agent/plugins/test/scheduler_test.py | DistributedMonitoringSystem/open-falcon-backend | 458137b93263ddb25ff7b573d4a1b94a83c4bdab | [
"Apache-2.0"
] | 26 | 2016-04-20T07:16:11.000Z | 2021-06-01T12:14:18.000Z | modules/agent/plugins/test/scheduler_test.py | DistributedMonitoringSystem/open-falcon-backend | 458137b93263ddb25ff7b573d4a1b94a83c4bdab | [
"Apache-2.0"
] | 150 | 2016-07-14T08:09:26.000Z | 2018-01-09T02:10:43.000Z | modules/agent/plugins/test/scheduler_test.py | DistributedMonitoringSystem/open-falcon-backend | 458137b93263ddb25ff7b573d4a1b94a83c4bdab | [
"Apache-2.0"
] | 24 | 2016-04-07T02:36:14.000Z | 2018-06-30T06:40:35.000Z | #!/usr/bin/python -O
def catalan_expr(tups, ops):
if len(tups)==1:
yield tups[0]
else:
for op in ops:
for i in range(1, len(tups)):
for x in catalan_expr(tups[0:i],ops):
for y in catalan_expr(tups[i:], ops):
yield '(' + o... | 30.892857 | 74 | 0.545665 | 122 | 865 | 3.745902 | 0.237705 | 0.36105 | 0.393873 | 0.249453 | 0.654267 | 0.654267 | 0.654267 | 0.63895 | 0.63895 | 0.63895 | 0 | 0.023088 | 0.198844 | 865 | 27 | 75 | 32.037037 | 0.636364 | 0.021965 | 0 | 0.285714 | 0 | 0 | 0.073547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.571429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
97d83c130604af3738c024d1dad2d04011c56b37 | 140 | py | Python | ddcz/views/__init__.py | jimmeak/graveyard | 4c0f9d5e8b6c965171d9dc228c765b662f5b7ab4 | [
"MIT"
] | null | null | null | ddcz/views/__init__.py | jimmeak/graveyard | 4c0f9d5e8b6c965171d9dc228c765b662f5b7ab4 | [
"MIT"
] | 3 | 2020-12-17T21:05:51.000Z | 2021-07-11T12:39:32.000Z | ddcz/views/__init__.py | jimmeak/graveyard | 4c0f9d5e8b6c965171d9dc228c765b662f5b7ab4 | [
"MIT"
] | null | null | null | from .auth import *
from .comments import *
from .creations import *
from .misc import *
from .users import *
from .postal_service import *
| 20 | 29 | 0.742857 | 19 | 140 | 5.421053 | 0.473684 | 0.485437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 140 | 6 | 30 | 23.333333 | 0.887931 | 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 |
58deea2f7a07abea340b31614090a04822aa7be8 | 891 | py | Python | main.py | willianribeiro/booglan-language | 4c7908c8c2378fb1f6dd54ff713177f864c06d81 | [
"MIT"
] | null | null | null | main.py | willianribeiro/booglan-language | 4c7908c8c2378fb1f6dd54ff713177f864c06d81 | [
"MIT"
] | null | null | null | main.py | willianribeiro/booglan-language | 4c7908c8c2378fb1f6dd54ff713177f864c06d81 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import booglan
from texts import text_a, text_b
# TEXT A
print '# TEXT A:'
print ''
print '- Total of prepositions:', booglan.count_prepositions(text_a)
print '- Total of verbs:', booglan.count_verbs(text_a)
print '- Total of verbs in the subjunctive form:', booglan.count_verbs_in_subjunctive_f... | 35.64 | 98 | 0.760943 | 134 | 891 | 4.820896 | 0.186567 | 0.06192 | 0.148607 | 0.105263 | 0.857585 | 0.854489 | 0.848297 | 0.848297 | 0.575851 | 0.399381 | 0 | 0.001272 | 0.117845 | 891 | 24 | 99 | 37.125 | 0.820611 | 0.039282 | 0 | 0.222222 | 0 | 0 | 0.316901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.888889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
45355f2ba712ca5f93dc6c7f55c6687e7e76cea6 | 34 | py | Python | verify.py | hgrecco/hymie | edb0e1371b204841c59c5da7f4c1282e1abe0d6e | [
"BSD-3-Clause"
] | 4 | 2021-01-28T15:37:01.000Z | 2021-07-02T14:37:30.000Z | verify.py | hgrecco/hymie | edb0e1371b204841c59c5da7f4c1282e1abe0d6e | [
"BSD-3-Clause"
] | 5 | 2021-05-09T09:02:22.000Z | 2022-02-26T12:15:39.000Z | server/main.py | wojteks96/ga | 1d0408818d285fe52b10059528cc3bf7180b8e62 | [
"MIT"
] | 3 | 2021-04-11T05:21:40.000Z | 2022-02-04T19:00:59.000Z | from app import app # noqa: F401
| 17 | 33 | 0.705882 | 6 | 34 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.235294 | 34 | 1 | 34 | 34 | 0.807692 | 0.294118 | 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 |
18b2462aad6fe7e4927deb36e953109e6286fb64 | 32 | py | Python | grab/tools/captcha/__init__.py | brabadu/grab | 92b1d68ceeece3087e053064520261a7aef3bd02 | [
"MIT"
] | 1 | 2021-05-10T16:03:24.000Z | 2021-05-10T16:03:24.000Z | grab/tools/captcha/__init__.py | brabadu/grab | 92b1d68ceeece3087e053064520261a7aef3bd02 | [
"MIT"
] | null | null | null | grab/tools/captcha/__init__.py | brabadu/grab | 92b1d68ceeece3087e053064520261a7aef3bd02 | [
"MIT"
] | null | null | null | from .util import CaptchaSolver
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 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 |
7a0c3657f131312f832bc80e5bcc321368ada5d9 | 29 | py | Python | templates/example_scheduled_rule.py | panther-labs/panther-cli | 4e5c0a21570e1a02dada990fd91e324416afac96 | [
"MIT"
] | 4 | 2019-10-17T19:33:29.000Z | 2019-10-21T15:23:30.000Z | templates/example_scheduled_rule.py | jacknagz/panther-analysis | fceab78ba5624136776596ee1b25fa0dc8a02a42 | [
"Apache-2.0"
] | null | null | null | templates/example_scheduled_rule.py | jacknagz/panther-analysis | fceab78ba5624136776596ee1b25fa0dc8a02a42 | [
"Apache-2.0"
] | null | null | null | def rule(_):
return True
| 9.666667 | 15 | 0.62069 | 4 | 29 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 29 | 2 | 16 | 14.5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7a12b21b3829279cd21b18216085cdcaefd5f6f0 | 126 | py | Python | ambra_sdk/service/entrypoints/patient.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/patient.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/patient.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | from ambra_sdk.service.entrypoints.generated.patient import Patient as GPatient
class Patient(GPatient):
"""Patient."""
| 21 | 79 | 0.769841 | 15 | 126 | 6.4 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 5 | 80 | 25.2 | 0.864865 | 0.063492 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1415e9a10406b29e27bad3d3250b23499b3dd8e | 41 | py | Python | src/NJGovNews/site/__init__.py | TextCorpusLabs/NJGovNews | ea699db154fab45d6eafb5cb95db190232684b52 | [
"MIT"
] | null | null | null | src/NJGovNews/site/__init__.py | TextCorpusLabs/NJGovNews | ea699db154fab45d6eafb5cb95db190232684b52 | [
"MIT"
] | null | null | null | src/NJGovNews/site/__init__.py | TextCorpusLabs/NJGovNews | ea699db154fab45d6eafb5cb95db190232684b52 | [
"MIT"
] | null | null | null | from .treasury import scrape as treasury
| 20.5 | 40 | 0.829268 | 6 | 41 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 0.971429 | 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 |
e152744bf4099a568cf40be76d05d7335276068c | 432 | py | Python | robot_parts/robot_part.py | styczen/self-balancing-robot | d91cd41a6158d64edcc3db07fbcfba506eb7e498 | [
"MIT"
] | 1 | 2021-03-26T12:14:17.000Z | 2021-03-26T12:14:17.000Z | robot_parts/robot_part.py | styczen/self-balancing-robot | d91cd41a6158d64edcc3db07fbcfba506eb7e498 | [
"MIT"
] | null | null | null | robot_parts/robot_part.py | styczen/self-balancing-robot | d91cd41a6158d64edcc3db07fbcfba506eb7e498 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
class RobotPart:
def __init__(self, physics_client_id=0):
self._collision_id = None
self._visual_id = None
self._physics_client_id = physics_client_id
@property
def collision(self):
return self._collision_id
@property
def visual(self):
... | 20.571429 | 51 | 0.666667 | 55 | 432 | 4.8 | 0.327273 | 0.246212 | 0.284091 | 0.215909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003125 | 0.259259 | 432 | 20 | 52 | 21.6 | 0.821875 | 0.046296 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.214286 | 0.571429 | 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 |
e15938a603c4a8c12c5cdd30e1ab1c89a62a6b73 | 23,908 | py | Python | deep_nilmtk/model/baselines.py | reviwe/deep-nilmtk-v1 | 4c558fe3f8a9ae047e2121ea50493320ab464037 | [
"Apache-2.0"
] | null | null | null | deep_nilmtk/model/baselines.py | reviwe/deep-nilmtk-v1 | 4c558fe3f8a9ae047e2121ea50493320ab464037 | [
"Apache-2.0"
] | null | null | null | deep_nilmtk/model/baselines.py | reviwe/deep-nilmtk-v1 | 4c558fe3f8a9ae047e2121ea50493320ab464037 | [
"Apache-2.0"
] | 1 | 2021-11-21T08:07:16.000Z | 2021-11-21T08:07:16.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import math
import random
from tqdm import tqdm
import sys
from .layers import create_conv1, create_linear, MLPLayer
import numpy as np
from collections import OrderedDict
# =========================================================================... | 35.47181 | 127 | 0.519659 | 2,769 | 23,908 | 4.368364 | 0.109426 | 0.014054 | 0.02381 | 0.020089 | 0.81961 | 0.797619 | 0.782655 | 0.771247 | 0.763228 | 0.752149 | 0 | 0.030554 | 0.373013 | 23,908 | 673 | 128 | 35.524517 | 0.776384 | 0.293124 | 0 | 0.661972 | 0 | 0 | 0.046856 | 0 | 0 | 0 | 0 | 0.001486 | 0 | 1 | 0.050704 | false | 0 | 0.028169 | 0 | 0.129577 | 0.002817 | 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 |
e1a152d925166c7d859c509b4d20125ad39edb15 | 3,385 | py | Python | SmartThings-Raspberry-TV_integration-master/python_code/lg_API.py | DiegoAntonino/SmartThings | aad77c3db932ab21f3393830712afafac96acc85 | [
"Apache-2.0"
] | null | null | null | SmartThings-Raspberry-TV_integration-master/python_code/lg_API.py | DiegoAntonino/SmartThings | aad77c3db932ab21f3393830712afafac96acc85 | [
"Apache-2.0"
] | null | null | null | SmartThings-Raspberry-TV_integration-master/python_code/lg_API.py | DiegoAntonino/SmartThings | aad77c3db932ab21f3393830712afafac96acc85 | [
"Apache-2.0"
] | 1 | 2020-07-11T23:24:15.000Z | 2020-07-11T23:24:15.000Z | import requests
import xml.etree.ElementTree as etree
import socket
def getSessionid(ip):
session_id = None
url = "http://"+ip+":8080/roap/api/auth"
payload = "<auth><type>AuthReq</type><value>202887</value></auth>"
headers = {
'content-type': "application/atom+xml",
}
try:
r = ... | 30.772727 | 110 | 0.607976 | 400 | 3,385 | 5.0475 | 0.225 | 0.040119 | 0.035661 | 0.053492 | 0.788509 | 0.788509 | 0.750867 | 0.750867 | 0.750867 | 0.750867 | 0 | 0.093465 | 0.254062 | 3,385 | 109 | 111 | 31.055046 | 0.706139 | 0 | 0 | 0.698925 | 0 | 0 | 0.180798 | 0.086263 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032258 | null | null | 0.010753 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
becffda45446daa12166bd03cdcf7540cf7582be | 28 | py | Python | app/hello_world.py | borjagomez/MLOPSHelloWorld | 9a74d09c6bff02265760e18433f3947b2bf76eb9 | [
"MIT"
] | null | null | null | app/hello_world.py | borjagomez/MLOPSHelloWorld | 9a74d09c6bff02265760e18433f3947b2bf76eb9 | [
"MIT"
] | null | null | null | app/hello_world.py | borjagomez/MLOPSHelloWorld | 9a74d09c6bff02265760e18433f3947b2bf76eb9 | [
"MIT"
] | null | null | null | print("Hello ML Ops world!") | 28 | 28 | 0.714286 | 5 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
830f1c9fc63545ed7b5b31a6246e864cf5a9b142 | 52 | py | Python | sample_api/endpoints/user/__init__.py | Drachenfels/carp-api-sample-project | 04a041c49744bc203e130a9a726479a44a47ed94 | [
"MIT"
] | null | null | null | sample_api/endpoints/user/__init__.py | Drachenfels/carp-api-sample-project | 04a041c49744bc203e130a9a726479a44a47ed94 | [
"MIT"
] | null | null | null | sample_api/endpoints/user/__init__.py | Drachenfels/carp-api-sample-project | 04a041c49744bc203e130a9a726479a44a47ed94 | [
"MIT"
] | null | null | null | from . import v10 # NOQA
from . import v11 # NOQA
| 17.333333 | 25 | 0.653846 | 8 | 52 | 4.25 | 0.625 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.269231 | 52 | 2 | 26 | 26 | 0.789474 | 0.173077 | 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 |
832040eb434386c8a61b01867aa6df053a9ae4d3 | 249 | py | Python | utils/cloud/cloud_client/api/__init__.py | alexfdo/asr_eval | d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3 | [
"MIT"
] | 3 | 2020-03-06T17:20:34.000Z | 2021-09-09T09:18:48.000Z | utils/cloud/cloud_client/api/__init__.py | alexfdo/asr_eval | d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3 | [
"MIT"
] | 1 | 2020-02-03T18:25:08.000Z | 2020-02-03T18:25:08.000Z | utils/cloud/cloud_client/api/__init__.py | alexfdo/asr_eval | d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3 | [
"MIT"
] | 1 | 2020-01-29T19:47:54.000Z | 2020-01-29T19:47:54.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from cloud_client.api.packages_api import PackagesApi
from cloud_client.api.recognize_api import RecognizeApi
from cloud_client.api.session_api import SessionApi
| 27.666667 | 55 | 0.855422 | 36 | 249 | 5.611111 | 0.5 | 0.133663 | 0.222772 | 0.267327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004505 | 0.108434 | 249 | 8 | 56 | 31.125 | 0.905405 | 0.164659 | 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 |
3632eb50d8bbb2cba06809b097d3d231fd6a4b2a | 105 | py | Python | lazaro/agents/explorers/base/explorer.py | GabrielMusat/lazaro | 9879e938eb1e6da1b6974edf8ab41ece7f33063c | [
"Apache-2.0"
] | 4 | 2021-05-03T15:48:44.000Z | 2021-05-23T16:05:42.000Z | lazaro/agents/explorers/base/explorer.py | GabrielMusat/lazaro | 9879e938eb1e6da1b6974edf8ab41ece7f33063c | [
"Apache-2.0"
] | null | null | null | lazaro/agents/explorers/base/explorer.py | GabrielMusat/lazaro | 9879e938eb1e6da1b6974edf8ab41ece7f33063c | [
"Apache-2.0"
] | null | null | null | from abc import ABC
from ...base.base_agent import BaseAgent
class Explorer(BaseAgent, ABC):
pass
| 13.125 | 40 | 0.742857 | 15 | 105 | 5.133333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 105 | 7 | 41 | 15 | 0.895349 | 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 |
36be22ea715d7d0113427e53a9c4f55c8f385c54 | 19,656 | py | Python | AutoGesture/Multi_modality/operations.py | increase24/NasGesRec | 15702b3c9cdf7ab46bc13a522dede92fca44a0ea | [
"MIT"
] | 34 | 2020-08-16T09:59:09.000Z | 2022-01-21T08:17:08.000Z | AutoGesture/Multi_modality/operations.py | increase24/NasGesRec | 15702b3c9cdf7ab46bc13a522dede92fca44a0ea | [
"MIT"
] | 1 | 2021-11-24T13:44:24.000Z | 2021-11-25T13:34:40.000Z | AutoGesture/Multi_modality/operations.py | increase24/NasGesRec | 15702b3c9cdf7ab46bc13a522dede92fca44a0ea | [
"MIT"
] | 5 | 2020-08-24T15:01:28.000Z | 2021-08-13T16:50:04.000Z | import torch
import torch.nn as nn
import math
import numpy as np
import torch.nn.functional as F
OPS = {
'none' : lambda C, stride, affine: Zero(stride),
'skip_connect' : lambda C, stride, affine: Identity(),
'conv_3x3x3' : lambda C, stride, affine: VaniConv3d(C, C, 3, stride, 1, affine=affine),
'STCDC06_3x3x... | 39.155378 | 207 | 0.645299 | 2,979 | 19,656 | 4.050017 | 0.04196 | 0.025197 | 0.020555 | 0.033651 | 0.931952 | 0.905429 | 0.882221 | 0.866473 | 0.82702 | 0.810526 | 0 | 0.041054 | 0.20813 | 19,656 | 501 | 208 | 39.233533 | 0.734083 | 0.060287 | 0 | 0.608955 | 0 | 0 | 0.020366 | 0 | 0 | 0 | 0 | 0 | 0.00597 | 1 | 0.143284 | false | 0 | 0.014925 | 0.029851 | 0.337313 | 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 |
36e73523f03d1ab8a9b5454b1e6840d9fbfaf4bb | 150 | py | Python | pyss/standalone/algorithm/block_gmres.py | ibara1454/pyss | 69b47d89f88f04876bdabd504d202a1ced7bb5e4 | [
"MIT"
] | null | null | null | pyss/standalone/algorithm/block_gmres.py | ibara1454/pyss | 69b47d89f88f04876bdabd504d202a1ced7bb5e4 | [
"MIT"
] | null | null | null | pyss/standalone/algorithm/block_gmres.py | ibara1454/pyss | 69b47d89f88f04876bdabd504d202a1ced7bb5e4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import scipy.sparse.linalg
def block_gmres(A, B, x0=None, tol=1e-10, maxiter=None, M=None):
pass
| 16.666667 | 64 | 0.646667 | 26 | 150 | 3.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0.16 | 150 | 8 | 65 | 18.75 | 0.722222 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3d05c1cb4dc87435c72baae11d29faa88942b9e1 | 119 | py | Python | pyndows/__init__.py | Simon-Le/pyndows | 0918fb21cd4babb7477b091257b89c421d2e00d6 | [
"MIT"
] | null | null | null | pyndows/__init__.py | Simon-Le/pyndows | 0918fb21cd4babb7477b091257b89c421d2e00d6 | [
"MIT"
] | null | null | null | pyndows/__init__.py | Simon-Le/pyndows | 0918fb21cd4babb7477b091257b89c421d2e00d6 | [
"MIT"
] | null | null | null | from pyndows._windows import connect, get, move, rename, get_file_desc, check
from pyndows.version import __version__
| 29.75 | 77 | 0.823529 | 17 | 119 | 5.352941 | 0.705882 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 3 | 78 | 39.666667 | 0.866667 | 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 |
e9f14d2c41bb557e51522075b1797219f2cc1939 | 34 | py | Python | __init__.py | erkia/rivescript-python | a28deb389d88c2a3f988dd93e15a04c0e536704e | [
"MIT"
] | 154 | 2015-02-04T08:41:23.000Z | 2022-03-18T19:39:53.000Z | __init__.py | erkia/rivescript-python | a28deb389d88c2a3f988dd93e15a04c0e536704e | [
"MIT"
] | 115 | 2015-06-14T13:31:07.000Z | 2022-02-14T23:02:19.000Z | __init__.py | erkia/rivescript-python | a28deb389d88c2a3f988dd93e15a04c0e536704e | [
"MIT"
] | 87 | 2015-04-18T23:15:18.000Z | 2022-03-18T09:52:06.000Z | from rivescript import RiveScript
| 17 | 33 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1874f599e469c5715d99eac0b4394091568bbe1d | 851 | py | Python | scapy_helper/test_case_extensions/pytest_assert.py | NexSabre/scapy_helper | 8c239bad4e081e3f2f47ec2c152a689a10ff78d0 | [
"MIT"
] | 1 | 2020-12-30T09:21:33.000Z | 2020-12-30T09:21:33.000Z | scapy_helper/test_case_extensions/pytest_assert.py | NexSabre/scapy_helper | 8c239bad4e081e3f2f47ec2c152a689a10ff78d0 | [
"MIT"
] | 4 | 2021-01-13T18:23:41.000Z | 2021-10-19T19:40:41.000Z | scapy_helper/test_case_extensions/pytest_assert.py | NexSabre/scapy_helper | 8c239bad4e081e3f2f47ec2c152a689a10ff78d0 | [
"MIT"
] | null | null | null | from scapy_helper import PacketAssert
def assert_hex_equal(first, second, message="Hex values are not equal"):
PacketAssert.assertHexEqual(first, second, message)
def assert_hex_not_equal(first, second, message="Hex values are equal"):
PacketAssert.assertHexNotEqual(first, second, message)
def assert_hex_... | 32.730769 | 76 | 0.787309 | 109 | 851 | 5.981651 | 0.229358 | 0.202454 | 0.331288 | 0.211656 | 0.636503 | 0.570552 | 0.417178 | 0 | 0 | 0 | 0 | 0 | 0.121034 | 851 | 25 | 77 | 34.04 | 0.871658 | 0 | 0 | 0 | 0 | 0 | 0.150411 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0.461538 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a1010862c93bfe01251be463d993da0b1fee4f0b | 38 | py | Python | examples/math.fmod/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.fmod/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.fmod/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.fmod(11, 3.5))
| 12.666667 | 25 | 0.710526 | 8 | 38 | 3.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.105263 | 38 | 2 | 26 | 19 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a11deefb44b93fd7475fa2d4253fac56253eb569 | 142 | py | Python | nff/reactive_tools/__init__.py | jkaraguesian/NeuralForceField | 4ca4f4c7edc0ed1f70952db9e42d8ef9bbe109d8 | [
"MIT"
] | null | null | null | nff/reactive_tools/__init__.py | jkaraguesian/NeuralForceField | 4ca4f4c7edc0ed1f70952db9e42d8ef9bbe109d8 | [
"MIT"
] | null | null | null | nff/reactive_tools/__init__.py | jkaraguesian/NeuralForceField | 4ca4f4c7edc0ed1f70952db9e42d8ef9bbe109d8 | [
"MIT"
] | null | null | null | from .neb import *
from .utils import *
from .ev_following import *
from .nms import *
from .kabsch import *
from .reactive_langevin import *
| 20.285714 | 32 | 0.746479 | 20 | 142 | 5.2 | 0.5 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 142 | 6 | 33 | 23.666667 | 0.881356 | 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 |
a13032b4d8a4c1a90526638adb229d84edd1a8ea | 44,387 | py | Python | proliantutils/tests/ilo/test_client.py | openstack/deb-python-proliantutils | b9229a0ab3e7c7af0b9e59968a5c6c7fea53bd88 | [
"Apache-2.0"
] | 12 | 2016-09-14T21:59:39.000Z | 2019-10-09T17:02:14.000Z | proliantutils/tests/ilo/test_client.py | openstack/deb-python-proliantutils | b9229a0ab3e7c7af0b9e59968a5c6c7fea53bd88 | [
"Apache-2.0"
] | null | null | null | proliantutils/tests/ilo/test_client.py | openstack/deb-python-proliantutils | b9229a0ab3e7c7af0b9e59968a5c6c7fea53bd88 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2... | 47.270501 | 79 | 0.6264 | 5,212 | 44,387 | 4.946086 | 0.055449 | 0.054308 | 0.072152 | 0.0706 | 0.909539 | 0.881027 | 0.851313 | 0.802203 | 0.722604 | 0.673416 | 0 | 0.016146 | 0.263253 | 44,387 | 938 | 80 | 47.320896 | 0.772155 | 0.015455 | 0 | 0.675985 | 0 | 0 | 0.156192 | 0.024669 | 0 | 0 | 0 | 0 | 0.180432 | 1 | 0.119441 | false | 0.029225 | 0.011436 | 0 | 0.134689 | 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 |
a17e5acdb3d7320af3871c32c71f29628322cd26 | 15,810 | py | Python | nightshift_conf_util.py | seangfrank0474/nightshift | a72cb14aae5da9e6d00233067efe69fd9b610bf3 | [
"Unlicense"
] | null | null | null | nightshift_conf_util.py | seangfrank0474/nightshift | a72cb14aae5da9e6d00233067efe69fd9b610bf3 | [
"Unlicense"
] | null | null | null | nightshift_conf_util.py | seangfrank0474/nightshift | a72cb14aae5da9e6d00233067efe69fd9b610bf3 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import base64
import json
import sys
from colorama import Fore, Back, Style
class NightShift_Commands():
def nightshift_windows_commands(self):
print(r"""
╔═══╗────────────────╔╗────╔╗╔╗╔╗─────╔╗
║╔═╗║────────────────║║────║║║║║║─────║║
... | 109.791667 | 6,880 | 0.710057 | 1,101 | 15,810 | 11.599455 | 0.22525 | 0.007517 | 0.015269 | 0.006891 | 0.237569 | 0.216506 | 0.211495 | 0.209694 | 0.209694 | 0.197165 | 0 | 0.031151 | 0.118786 | 15,810 | 143 | 6,881 | 110.559441 | 0.751005 | 0.00272 | 0 | 0.389313 | 0 | 0.061069 | 0.751475 | 0.568411 | 0 | 1 | 0 | 0 | 0 | 1 | 0.030534 | false | 0 | 0.030534 | 0 | 0.083969 | 0.083969 | 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 |
a1cb2ec563fa43af4efd1de4ec7d396564ef4d79 | 10,096 | py | Python | devilry/devilry_admin/tests/assignment/students/test_overview.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_admin/tests/assignment/students/test_overview.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_admin/tests/assignment/students/test_overview.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | import mock
from django import test
from django.conf import settings
from cradmin_legacy import cradmin_testhelpers
from model_bakery import baker
from devilry.apps.core.models import Assignment
from devilry.devilry_admin.views.assignment.students import overview
class TestOverview(test.TestCase, cradmin_testhelpers... | 49.73399 | 110 | 0.681062 | 923 | 10,096 | 7.073673 | 0.139762 | 0.033083 | 0.049472 | 0.057896 | 0.860928 | 0.815745 | 0.800888 | 0.786491 | 0.780058 | 0.771328 | 0 | 0.006145 | 0.242472 | 10,096 | 202 | 111 | 49.980198 | 0.847542 | 0.02704 | 0 | 0.697674 | 0 | 0 | 0.172435 | 0.096274 | 0 | 0 | 0 | 0 | 0.081395 | 1 | 0.104651 | false | 0 | 0.040698 | 0.017442 | 0.180233 | 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 |
a1e4d2a28b73953ecf9791a4f45af0e90f728792 | 202 | py | Python | app/ip.py | dbjohnson/starlink-monitor | ba44880f8278dd8c49e03c1e18394974a4e10ead | [
"MIT"
] | 26 | 2021-02-14T19:50:47.000Z | 2022-03-24T02:16:52.000Z | app/ip.py | LOCOMODDING/starlink-monitor | bab1880a7204a29610f8844dd71e8e9b2c4ac0c9 | [
"MIT"
] | 7 | 2021-02-15T02:56:52.000Z | 2021-12-18T17:38:46.000Z | app/ip.py | LOCOMODDING/starlink-monitor | bab1880a7204a29610f8844dd71e8e9b2c4ac0c9 | [
"MIT"
] | 3 | 2021-03-17T05:58:10.000Z | 2022-01-30T17:35:20.000Z | import socket
from urllib import request
def local():
return socket.gethostbyname_ex(socket.gethostname())[-1][0]
def public():
return request.urlopen('http://ip.42.pl/raw').read().decode()
| 18.363636 | 65 | 0.70297 | 28 | 202 | 5.035714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.128713 | 202 | 10 | 66 | 20.2 | 0.778409 | 0 | 0 | 0 | 0 | 0 | 0.094059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b809c1ef8b4fcfc647f7512355b7b3242e1a0f8b | 146 | py | Python | ltr/actors/__init__.py | DeepBrainsMe/PyDoctor_Final | 49ecfc64b2a2866e7f37cc79c1f32a817975f064 | [
"MIT"
] | 1 | 2021-05-19T06:46:05.000Z | 2021-05-19T06:46:05.000Z | ltr/actors/__init__.py | DeepBrainsMe/PyDoctor_Final | 49ecfc64b2a2866e7f37cc79c1f32a817975f064 | [
"MIT"
] | null | null | null | ltr/actors/__init__.py | DeepBrainsMe/PyDoctor_Final | 49ecfc64b2a2866e7f37cc79c1f32a817975f064 | [
"MIT"
] | null | null | null | from .base_actor import BaseActor
from .loc_actor import LocActor
from .crop_cls_actor import CropActor
from .crop_cls_3d_actor import Crop3DActor | 36.5 | 42 | 0.869863 | 23 | 146 | 5.217391 | 0.521739 | 0.366667 | 0.183333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.10274 | 146 | 4 | 42 | 36.5 | 0.900763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1a140e18c7e82f9bf661b8dbdbc3dff075e75596 | 111 | py | Python | modules_share/patient/controllers/test.py | patjawat/tcds | 115ae8151a152a21538cf0a837379bb1e3204ea2 | [
"BSD-3-Clause"
] | null | null | null | modules_share/patient/controllers/test.py | patjawat/tcds | 115ae8151a152a21538cf0a837379bb1e3204ea2 | [
"BSD-3-Clause"
] | 41 | 2019-07-28T03:42:14.000Z | 2019-08-25T14:51:55.000Z | modules_share/patient/controllers/test.py | patjawat/tcds | 115ae8151a152a21538cf0a837379bb1e3204ea2 | [
"BSD-3-Clause"
] | null | null | null | import os
os.makedirs('/Users/patjawat/dev/scriptsoft/medicong-dev/modules_share/patient/controllers/patjawat') | 55.5 | 101 | 0.846847 | 15 | 111 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 111 | 2 | 101 | 55.5 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0.767857 | 0.767857 | 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 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a7eea805f648b1835c8171786f5609d077a3f606 | 26 | py | Python | src/pygcransac/__init__.py | arthurfeeney/graph-cut-ransac | 9b5992954150243de8300e2e1565d9a224ea3cd7 | [
"BSD-3-Clause"
] | 273 | 2018-04-10T13:38:06.000Z | 2022-03-31T16:06:59.000Z | src/pygcransac/__init__.py | YiqunPan/graph-cut-ransac | 71e03f462435e12ff52be2cd44cc807e0e5fffa4 | [
"MIT"
] | 32 | 2018-06-14T07:06:16.000Z | 2022-03-17T18:39:47.000Z | src/pygcransac/__init__.py | YiqunPan/graph-cut-ransac | 71e03f462435e12ff52be2cd44cc807e0e5fffa4 | [
"MIT"
] | 68 | 2018-02-24T06:04:02.000Z | 2022-03-19T10:42:09.000Z | from .pygcransac import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 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 |
c50ae3bc9c7ff6fcc09ced3f3b72b07a3e8edc8a | 50 | py | Python | appname/controllers/oauth/__init__.py | Dnida/Ignite | 38ac6042c9b16cdccf5ef066a1ee80b741b51a37 | [
"BSD-2-Clause"
] | 53 | 2017-12-12T06:58:25.000Z | 2022-03-24T17:58:37.000Z | appname/controllers/oauth/__init__.py | Dnida/Ignite | 38ac6042c9b16cdccf5ef066a1ee80b741b51a37 | [
"BSD-2-Clause"
] | 144 | 2018-01-22T15:15:41.000Z | 2022-03-28T09:02:00.000Z | appname/controllers/oauth/__init__.py | Dnida/Ignite | 38ac6042c9b16cdccf5ef066a1ee80b741b51a37 | [
"BSD-2-Clause"
] | 19 | 2017-12-12T07:04:14.000Z | 2022-03-23T00:20:00.000Z | from .google import blueprint as google_blueprint
| 25 | 49 | 0.86 | 7 | 50 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 1 | 50 | 50 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
3dad2968f6ed19c9359010b390bea4e73967cddb | 18,987 | py | Python | app/presenter/tests/tests_helpers_ViewNotifications.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 10 | 2017-01-13T06:28:04.000Z | 2020-11-18T13:00:26.000Z | app/presenter/tests/tests_helpers_ViewNotifications.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | null | null | null | app/presenter/tests/tests_helpers_ViewNotifications.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 2 | 2018-03-29T14:10:53.000Z | 2019-11-20T08:21:57.000Z | """ Helper notification tests """
from django.test import TestCase
from django.contrib.auth.models import User, Group
from app.presenter.views.helpers import ViewNotifications
from app.logic.mailing.models.StackedMailModel import StackedMailEntry
class NotificationHelperTestCase(TestCase):
def setUp(self):
... | 53.036313 | 182 | 0.663454 | 2,213 | 18,987 | 5.580208 | 0.061003 | 0.040813 | 0.050206 | 0.06122 | 0.911572 | 0.904203 | 0.894728 | 0.878209 | 0.866224 | 0.85351 | 0 | 0.069861 | 0.172223 | 18,987 | 357 | 183 | 53.184874 | 0.715849 | 0.001317 | 0 | 0.689895 | 0 | 0 | 0.280167 | 0.074711 | 0 | 0 | 0 | 0 | 0.337979 | 1 | 0.045296 | false | 0.013937 | 0.013937 | 0 | 0.062718 | 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 |
9a7fec579c857937023b8460c0d5a57e97a5964b | 84 | py | Python | evalml/pipelines/components/transformers/encoders/__init__.py | BlockchainClimateInstitute/price_microservice | 11d1cff8965fe1befc997e9da3dc09efceed4579 | [
"BSD-3-Clause"
] | 1 | 2021-07-28T14:20:35.000Z | 2021-07-28T14:20:35.000Z | evalml/pipelines/components/transformers/encoders/__init__.py | ObinnaObeleagu/evalml | 3b5bf62b08a5a5bc6485ba5387a08c32e1857473 | [
"BSD-3-Clause"
] | 13 | 2021-03-04T19:29:09.000Z | 2022-03-07T01:00:43.000Z | evalml/pipelines/components/transformers/encoders/__init__.py | RG4421/evalml | 33c62abe6d107d1da2f54e9e44a90f18aaf916a9 | [
"BSD-3-Clause"
] | null | null | null | from .onehot_encoder import OneHotEncoder
from .target_encoder import TargetEncoder
| 28 | 41 | 0.880952 | 10 | 84 | 7.2 | 0.7 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a8128cbb960cff143caea27789bcc9b6ae510f8 | 96 | py | Python | model/__init__.py | Yiran-Zhu/GCHB | 81c23931d9b4ec13e439982322f3b85e7d920751 | [
"Apache-2.0"
] | 1 | 2021-05-27T02:41:37.000Z | 2021-05-27T02:41:37.000Z | model/__init__.py | Yiran-Zhu/SkeleGraph | 81c23931d9b4ec13e439982322f3b85e7d920751 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | Yiran-Zhu/SkeleGraph | 81c23931d9b4ec13e439982322f3b85e7d920751 | [
"Apache-2.0"
] | null | null | null | from . import conv_module
from . import gchb_kinetics
from . import gchb_ntu
from . import gchn
| 19.2 | 27 | 0.791667 | 15 | 96 | 4.866667 | 0.533333 | 0.547945 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 4 | 28 | 24 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9ab91ccfed2ba36bc0d189a67b746b4686bb5b27 | 10,918 | py | Python | tests/unit/common/test_resources.py | satra/hdmf | fab5660b1e009151980939e266e63a6c408064aa | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/unit/common/test_resources.py | satra/hdmf | fab5660b1e009151980939e266e63a6c408064aa | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/unit/common/test_resources.py | satra/hdmf | fab5660b1e009151980939e266e63a6c408064aa | [
"BSD-3-Clause-LBNL"
] | null | null | null | import pandas as pd
from hdmf.common.resources import ExternalResources, Key
from hdmf.testing import TestCase, H5RoundTripMixin
class TestExternalResources(H5RoundTripMixin, TestCase):
def setUpContainer(self):
er = ExternalResources('terms')
key1 = er.add_key('key1')
key2 = er.add_key(... | 48.096916 | 116 | 0.590401 | 1,248 | 10,918 | 4.985577 | 0.133013 | 0.04018 | 0.046287 | 0.050145 | 0.813886 | 0.775474 | 0.742687 | 0.727258 | 0.715365 | 0.705239 | 0 | 0.065897 | 0.238322 | 10,918 | 226 | 117 | 48.309735 | 0.682299 | 0.036087 | 0 | 0.608939 | 0 | 0.011173 | 0.290672 | 0.006846 | 0 | 0 | 0 | 0 | 0.212291 | 1 | 0.106145 | false | 0 | 0.01676 | 0 | 0.139665 | 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 |
9aca48ea8bc9e5a47e9e71ecea5eec294f6955bf | 203 | py | Python | sentence_transformers/cross_encoder/evaluation/__init__.py | HenryDashwood/sentence-transformers | fc2c3c11314e1d194c071e0e58209fe99a8fe0c2 | [
"Apache-2.0"
] | 1 | 2020-10-22T05:50:23.000Z | 2020-10-22T05:50:23.000Z | sentence_transformers/cross_encoder/evaluation/__init__.py | nylas/sentence-transformers | 2d4425e020f77c93a2217fecb7f1d0211b7cee72 | [
"Apache-2.0"
] | null | null | null | sentence_transformers/cross_encoder/evaluation/__init__.py | nylas/sentence-transformers | 2d4425e020f77c93a2217fecb7f1d0211b7cee72 | [
"Apache-2.0"
] | 1 | 2021-03-04T06:29:26.000Z | 2021-03-04T06:29:26.000Z | from .CEBinaryClassificationEvaluator import CEBinaryClassificationEvaluator
from .CECorrelationEvaluator import CECorrelationEvaluator
from .CESoftmaxAccuracyEvaluator import CESoftmaxAccuracyEvaluator
| 50.75 | 76 | 0.926108 | 12 | 203 | 15.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059113 | 203 | 3 | 77 | 67.666667 | 0.984293 | 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 |
9ae56a1ce1ac8f547764a3d471b84158861ceea7 | 139 | py | Python | pickle_storage/errors.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | pickle_storage/errors.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | pickle_storage/errors.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | class ConfigError(RuntimeError):
pass
class DBOperationError(RuntimeError):
pass
class ForbiddenFileError(RuntimeError):
pass | 17.375 | 39 | 0.776978 | 12 | 139 | 9 | 0.5 | 0.444444 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 139 | 8 | 40 | 17.375 | 0.923077 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.