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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aa992855fa486f52d2c5cc04ce93bffae7da9a02 | 1,464 | py | Python | tools/dataSetScannerDownloader.py | kakuffo/datascience | 0b049e0a63baffec8f7dc82b656fb1dafefdfef5 | [
"MIT"
] | null | null | null | tools/dataSetScannerDownloader.py | kakuffo/datascience | 0b049e0a63baffec8f7dc82b656fb1dafefdfef5 | [
"MIT"
] | null | null | null | tools/dataSetScannerDownloader.py | kakuffo/datascience | 0b049e0a63baffec8f7dc82b656fb1dafefdfef5 | [
"MIT"
] | null | null | null |
'''
Scanner which will trace specified strings or
content before downloading if present in taget dataset
'''
import urllib.request,os,hashlib;
h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60';
pf = 'Package Control.sublime-package';
ipp = sublime.installed_packages_path();
urllib.request.i... | 45.75 | 163 | 0.737705 | 194 | 1,464 | 5.525773 | 0.371134 | 0.060634 | 0.013993 | 0.025187 | 0.744403 | 0.744403 | 0.744403 | 0.744403 | 0.744403 | 0.692164 | 0 | 0.05796 | 0.11612 | 1,464 | 31 | 164 | 47.225806 | 0.770479 | 0.068306 | 0 | 0.352941 | 0 | 0 | 0.363344 | 0.139871 | 0.117647 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2a9a42d72eb3b76349d590f7e1c8927b95c7fa52 | 285 | py | Python | localemr/urls.py | rafaelleru/localemr | aa6e3e5285e96600e87c51639e75acbe35fbba3a | [
"Apache-2.0"
] | 19 | 2020-05-01T19:57:58.000Z | 2022-02-23T00:24:24.000Z | localemr/urls.py | rafaelleru/localemr | aa6e3e5285e96600e87c51639e75acbe35fbba3a | [
"Apache-2.0"
] | 2 | 2020-09-14T21:17:35.000Z | 2021-02-10T02:39:48.000Z | localemr/urls.py | rafaelleru/localemr | aa6e3e5285e96600e87c51639e75acbe35fbba3a | [
"Apache-2.0"
] | 5 | 2021-03-14T03:00:03.000Z | 2022-02-15T12:42:00.000Z | from __future__ import unicode_literals
from localemr.responses import LocalElasticMapReduceResponse
url_bases = [
"https?://(.+).elasticmapreduce.amazonaws.com",
"https?://elasticmapreduce.(.+).amazonaws.com",
]
url_paths = {"{0}/$": LocalElasticMapReduceResponse.dispatch}
| 28.5 | 61 | 0.750877 | 25 | 285 | 8.28 | 0.68 | 0.202899 | 0.289855 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003891 | 0.098246 | 285 | 9 | 62 | 31.666667 | 0.801556 | 0 | 0 | 0 | 0 | 0 | 0.326316 | 0.308772 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
2aaf7837d45e3d665564036203ef71b165239ada | 95 | py | Python | tests/urls.py | Juh10/django-mysql | d997be1321086e2b2c46574bc7882a2737a5c43c | [
"MIT"
] | null | null | null | tests/urls.py | Juh10/django-mysql | d997be1321086e2b2c46574bc7882a2737a5c43c | [
"MIT"
] | null | null | null | tests/urls.py | Juh10/django-mysql | d997be1321086e2b2c46574bc7882a2737a5c43c | [
"MIT"
] | null | null | null | from __future__ import annotations
from django.urls import path
urlpatterns: list[path] = []
| 15.833333 | 34 | 0.778947 | 12 | 95 | 5.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 5 | 35 | 19 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
630cbdaf095dcc6dd4a280cf00a4737b16775107 | 93 | py | Python | scripts/dtdata/__init__.py | fjsakai/bermudatriangles | bb56e2ba7fbb0af61d4bb166447e806e99b9ec32 | [
"MIT"
] | 4 | 2021-04-27T08:41:29.000Z | 2021-12-21T13:21:00.000Z | scripts/dtdata/__init__.py | fjsakai/bermudatriangles | bb56e2ba7fbb0af61d4bb166447e806e99b9ec32 | [
"MIT"
] | null | null | null | scripts/dtdata/__init__.py | fjsakai/bermudatriangles | bb56e2ba7fbb0af61d4bb166447e806e99b9ec32 | [
"MIT"
] | 1 | 2021-04-28T05:44:17.000Z | 2021-04-28T05:44:17.000Z | from .writer import DTDataWriter
from .reader import DTDataReader, DTDatum, DTLabel, DTFiles
| 31 | 59 | 0.827957 | 11 | 93 | 7 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 2 | 60 | 46.5 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
632ccd41d803731cc1f3955e95c5e780d2c69c20 | 65 | py | Python | streaming/phishtank/api/__init__.py | d3vzer0/faust-transparency | 17b8b59f26f60c36fda31e507dc6d897c22e80e9 | [
"MIT"
] | 12 | 2019-04-21T18:01:45.000Z | 2020-11-05T03:17:35.000Z | streaming/phishtank/api/__init__.py | d3vzer0/faust-enricher | 17b8b59f26f60c36fda31e507dc6d897c22e80e9 | [
"MIT"
] | 7 | 2019-04-22T19:53:36.000Z | 2022-02-17T23:45:34.000Z | streaming/phishtank/api/__init__.py | d3vzer0/faust-enricher | 17b8b59f26f60c36fda31e507dc6d897c22e80e9 | [
"MIT"
] | 3 | 2019-04-22T20:25:52.000Z | 2019-12-19T21:19:16.000Z | from streaming.phishtank.api.reported import Reported as Reported | 65 | 65 | 0.876923 | 9 | 65 | 6.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
9311f53785baf796f95cc80b7dbfb4848d9b2c50 | 13,485 | py | Python | 3.py | angelsave/reverse_enginering | 3d6b46e898535ed162cdcb1b03a90761dcb3bce4 | [
"MIT"
] | 7 | 2018-05-04T08:28:58.000Z | 2019-11-06T08:49:02.000Z | 3.py | angelsave/reverse_enginering | 3d6b46e898535ed162cdcb1b03a90761dcb3bce4 | [
"MIT"
] | 1 | 2019-09-21T07:29:50.000Z | 2019-09-22T16:53:04.000Z | 3.py | angelsave/reverse_enginering | 3d6b46e898535ed162cdcb1b03a90761dcb3bce4 | [
"MIT"
] | 8 | 2018-05-04T08:28:59.000Z | 2020-09-27T17:21:28.000Z | #!/usr/bin/env python
d = [48,43,238,211,216,10,57,254,72,73,74,96,182,82,110,210,227,210,7,87,38,201,207,187,189,87,70,203,5,140,126,138,209,219,105,9,64,225,203,171,239,208,169,144,213,155,23,255,102,34,91,141,32,237,228,81,182,224,220,129,24,21,101,157,126,203,39,17,98,4,210,138,14,229,0,254,146,201,133,120,194,242,... | 709.736842 | 12,298 | 0.716352 | 3,729 | 13,485 | 2.590507 | 0.077233 | 0.003106 | 0.004141 | 0.002277 | 0.020704 | 0.020704 | 0.020704 | 0.020704 | 0.007246 | 0.007246 | 0 | 0.712922 | 0.006007 | 13,485 | 18 | 12,299 | 749.166667 | 0.007759 | 0.001483 | 0 | 0 | 0 | 0 | 0.003714 | 0.002377 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9379e801d115ed2c724a93c919079d0fd8cb0d4d | 272 | py | Python | plextraktsync/decorators/flatten.py | ksya/PlexTraktSync | 6c24dae5ad2ca582bb007b13e00f6b9cf09669ea | [
"MIT"
] | 1 | 2020-05-14T13:06:00.000Z | 2020-05-14T13:06:00.000Z | plextraktsync/decorators/flatten.py | glensc/PlexTraktSync | 29cfe94a8c55a5bdeacb886bcf2a1c9c3a6fe8c4 | [
"MIT"
] | 45 | 2021-08-11T03:19:01.000Z | 2022-03-23T03:20:06.000Z | plextraktsync/decorators/flatten.py | glensc/PlexTraktSync | 29cfe94a8c55a5bdeacb886bcf2a1c9c3a6fe8c4 | [
"MIT"
] | null | null | null | from functools import wraps
def flatten_list(method):
@wraps(method)
def inner(*args):
return list(method(*args))
return inner
def flatten_dict(method):
@wraps(method)
def inner(*args):
return dict(method(*args))
return inner
| 15.111111 | 34 | 0.639706 | 34 | 272 | 5.058824 | 0.352941 | 0.232558 | 0.197674 | 0.232558 | 0.406977 | 0.406977 | 0.406977 | 0 | 0 | 0 | 0 | 0 | 0.25 | 272 | 17 | 35 | 16 | 0.843137 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.181818 | 0.818182 | 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 | 0 | 0 | 0 | 5 |
9383e22ed1de5f3da44662c20fb345bd687c75d4 | 136 | py | Python | authlib/oauth1/rfc5849/util.py | YPCrumble/authlib | 782a0fced780849418dc2a869528d10387e24b65 | [
"BSD-3-Clause"
] | 3,172 | 2017-11-11T05:54:14.000Z | 2022-03-31T23:59:59.000Z | authlib/oauth1/rfc5849/util.py | YPCrumble/authlib | 782a0fced780849418dc2a869528d10387e24b65 | [
"BSD-3-Clause"
] | 397 | 2017-11-11T02:49:06.000Z | 2022-03-31T21:02:37.000Z | authlib/oauth1/rfc5849/util.py | YPCrumble/authlib | 782a0fced780849418dc2a869528d10387e24b65 | [
"BSD-3-Clause"
] | 387 | 2017-11-18T08:59:56.000Z | 2022-03-15T18:37:37.000Z | from authlib.common.urls import quote, unquote
def escape(s):
return quote(s, safe=b'~')
def unescape(s):
return unquote(s)
| 13.6 | 46 | 0.676471 | 21 | 136 | 4.380952 | 0.666667 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 136 | 9 | 47 | 15.111111 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
fa94adecca84a1a207eeddc57d8977a2336b1853 | 8,927 | py | Python | senlin/tests/unit/engine/actions/test_check.py | openstack/senlin | 390779ca1e08f819683e79993696f945f1c0393e | [
"Apache-2.0"
] | 45 | 2015-10-18T02:56:50.000Z | 2022-03-01T15:28:02.000Z | senlin/tests/unit/engine/actions/test_check.py | openstack/senlin | 390779ca1e08f819683e79993696f945f1c0393e | [
"Apache-2.0"
] | 2 | 2019-04-26T10:44:47.000Z | 2020-12-16T19:45:34.000Z | senlin/tests/unit/engine/actions/test_check.py | openstack/senlin | 390779ca1e08f819683e79993696f945f1c0393e | [
"Apache-2.0"
] | 45 | 2015-10-19T02:35:57.000Z | 2021-09-28T09:01:42.000Z | # 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 applicable law or agreed to in writing, software
# distributed unde... | 43.975369 | 77 | 0.628991 | 1,081 | 8,927 | 4.901018 | 0.140611 | 0.05889 | 0.06644 | 0.08305 | 0.796338 | 0.775953 | 0.748396 | 0.718196 | 0.705738 | 0.672895 | 0 | 0.006239 | 0.263806 | 8,927 | 202 | 78 | 44.193069 | 0.799909 | 0.063291 | 0 | 0.675 | 0 | 0 | 0.144638 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 1 | 0.03125 | false | 0 | 0.0625 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fadbae162502cb04bb98a3355651e978a87190f5 | 221 | py | Python | src/chkdns/whatsmydns/__init__.py | chelnak/chkdns | d7a2c7bad6c2cc96bea13b10f8139b37d4b7826b | [
"MIT"
] | 2 | 2021-11-09T12:30:46.000Z | 2022-01-31T22:39:59.000Z | src/chkdns/whatsmydns/__init__.py | chelnak/chkdns | d7a2c7bad6c2cc96bea13b10f8139b37d4b7826b | [
"MIT"
] | 1 | 2021-11-09T12:59:06.000Z | 2021-11-10T10:23:39.000Z | src/chkdns/whatsmydns/__init__.py | chelnak/chkdns | d7a2c7bad6c2cc96bea13b10f8139b37d4b7826b | [
"MIT"
] | 1 | 2021-11-09T12:30:41.000Z | 2021-11-09T12:30:41.000Z | from .client import (
Client,
QueryTimeoutException,
QueryException,
InvalidServerException,
)
__all__ = (
"Client",
"QueryTimeoutException",
"QueryException",
"InvalidServerException",
)
| 15.785714 | 29 | 0.674208 | 12 | 221 | 12.083333 | 0.583333 | 0.372414 | 0.565517 | 0.868966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226244 | 221 | 13 | 30 | 17 | 0.847953 | 0 | 0 | 0 | 0 | 0 | 0.285068 | 0.19457 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4f0c27cf25ff7ad3bb6932a2d94b0cdbc8652da2 | 178 | py | Python | features_fixer/reducer/abstract.py | LudwikBielczynski/features_fixer | 43114e3d986265a1e6e34644d3734a361d3fa926 | [
"MIT"
] | null | null | null | features_fixer/reducer/abstract.py | LudwikBielczynski/features_fixer | 43114e3d986265a1e6e34644d3734a361d3fa926 | [
"MIT"
] | null | null | null | features_fixer/reducer/abstract.py | LudwikBielczynski/features_fixer | 43114e3d986265a1e6e34644d3734a361d3fa926 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
import pandas as pd
class ReducerAbstract(ABC):
@abstractmethod
def transform(self, df: pd.DataFrame) -> pd.DataFrame:
...
| 17.8 | 58 | 0.691011 | 21 | 178 | 5.857143 | 0.666667 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213483 | 178 | 9 | 59 | 19.777778 | 0.878571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
87a350161d3d04f32b258d5dd8723cfddc8ced74 | 1,205 | py | Python | blog/migrations/0016_auto_20191230_1941.py | JayantTaneja/cncwebsitedjango | bc343d3902c0e4c171b341281213146b21d0ac5b | [
"CNRI-Python"
] | 1 | 2021-03-11T01:55:18.000Z | 2021-03-11T01:55:18.000Z | blog/migrations/0016_auto_20191230_1941.py | JayantTaneja/cncwebsitedjango | bc343d3902c0e4c171b341281213146b21d0ac5b | [
"CNRI-Python"
] | 13 | 2020-12-28T00:53:41.000Z | 2022-03-12T00:50:13.000Z | blog/migrations/0016_auto_20191230_1941.py | JayantTaneja/cncwebsitedjango | bc343d3902c0e4c171b341281213146b21d0ac5b | [
"CNRI-Python"
] | 2 | 2020-10-24T05:57:57.000Z | 2021-04-23T08:11:53.000Z | # Generated by Django 3.0.1 on 2019-12-30 14:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0015_auto_20191230_1757'),
]
operations = [
migrations.AlterField(
model_name='post',
name='pic1',
... | 30.897436 | 96 | 0.572614 | 129 | 1,205 | 5.248062 | 0.348837 | 0.14771 | 0.184638 | 0.21418 | 0.753323 | 0.753323 | 0.698671 | 0.698671 | 0.698671 | 0.698671 | 0 | 0.042553 | 0.297925 | 1,205 | 38 | 97 | 31.710526 | 0.757683 | 0.037344 | 0 | 0.625 | 1 | 0 | 0.096718 | 0.019862 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
87ee0eb6db41ddd37847a7feb8eb2899945e1a9f | 76 | py | Python | KraisitSchool/__init__.py | Kraisitt/KraisitSchool | 5b3ba3951c74d7b8b49ba442e48f5a89206f272c | [
"MIT"
] | null | null | null | KraisitSchool/__init__.py | Kraisitt/KraisitSchool | 5b3ba3951c74d7b8b49ba442e48f5a89206f272c | [
"MIT"
] | null | null | null | KraisitSchool/__init__.py | Kraisitt/KraisitSchool | 5b3ba3951c74d7b8b49ba442e48f5a89206f272c | [
"MIT"
] | null | null | null | # __init__.py
from KraisitSchool.studentclass import Student,SpecialStudent | 38 | 61 | 0.868421 | 8 | 76 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 2 | 61 | 38 | 0.885714 | 0.144737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
355757ed62d876ee8332373b7617de250ac4cbfa | 306 | py | Python | InvoiceApp/admin.py | MattGerrans/Eastridge_InvoiceApp | ea9b3c8c3c94bc18166fbce156313f9af2c9d2ed | [
"Unlicense"
] | null | null | null | InvoiceApp/admin.py | MattGerrans/Eastridge_InvoiceApp | ea9b3c8c3c94bc18166fbce156313f9af2c9d2ed | [
"Unlicense"
] | null | null | null | InvoiceApp/admin.py | MattGerrans/Eastridge_InvoiceApp | ea9b3c8c3c94bc18166fbce156313f9af2c9d2ed | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Invoice, InvoiceItem
# [Django AttributeError: 'Alias' object has no attribute 'urls'](https://stackoverflow.com/questions/40833324/django-attributeerror-alias-object-has-no-attribute-urls)
admin.site.register(Invoice)
admin.site.register(InvoiceItem)
| 43.714286 | 168 | 0.816993 | 39 | 306 | 6.410256 | 0.564103 | 0.16 | 0.2 | 0.248 | 0.392 | 0.392 | 0.392 | 0.392 | 0 | 0 | 0 | 0.02807 | 0.068627 | 306 | 6 | 169 | 51 | 0.849123 | 0.542484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
356104149107392bdbdc6e73bfa2f2e34fe05609 | 32 | py | Python | aulas/aula1.py | Biguelini/Curso-Python-3 | 0b5df350f5901262927b11b6f2b9b215176808ff | [
"MIT"
] | null | null | null | aulas/aula1.py | Biguelini/Curso-Python-3 | 0b5df350f5901262927b11b6f2b9b215176808ff | [
"MIT"
] | null | null | null | aulas/aula1.py | Biguelini/Curso-Python-3 | 0b5df350f5901262927b11b6f2b9b215176808ff | [
"MIT"
] | null | null | null | print('uma linha')
# comentário
| 10.666667 | 18 | 0.71875 | 4 | 32 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 2 | 19 | 16 | 0.821429 | 0.3125 | 0 | 0 | 0 | 0 | 0.45 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
356e13a60935fe699336e0d4fd87c8939e4244c3 | 256 | py | Python | server/feedbackserver/views.py | mvdbroek/geo-userfeedback | 1eefa8dada63ba93a928cfd7f11fe3e6fce35243 | [
"BSD-3-Clause"
] | null | null | null | server/feedbackserver/views.py | mvdbroek/geo-userfeedback | 1eefa8dada63ba93a928cfd7f11fe3e6fce35243 | [
"BSD-3-Clause"
] | null | null | null | server/feedbackserver/views.py | mvdbroek/geo-userfeedback | 1eefa8dada63ba93a928cfd7f11fe3e6fce35243 | [
"BSD-3-Clause"
] | null | null | null | # Create your views here.
from django.shortcuts import render_to_response
from django.http import HttpResponseRedirect, HttpResponse
from django.core.urlresolvers import reverse
from django.template import RequestContext
from django.utils import timezone
| 32 | 58 | 0.859375 | 33 | 256 | 6.606061 | 0.636364 | 0.229358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105469 | 256 | 7 | 59 | 36.571429 | 0.951965 | 0.089844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 5 |
35b857919ef5fc98704e32fbbe2d016b5d7c5b30 | 6,716 | py | Python | killCommentLexer.py | stormalf/killcomment | 112e7abfae6e5926b5db1b0390081e52256ea404 | [
"MIT"
] | null | null | null | killCommentLexer.py | stormalf/killcomment | 112e7abfae6e5926b5db1b0390081e52256ea404 | [
"MIT"
] | null | null | null | killCommentLexer.py | stormalf/killcomment | 112e7abfae6e5926b5db1b0390081e52256ea404 | [
"MIT"
] | null | null | null | # Generated from killComment.g4 by ANTLR 4.7.2
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\13")
buf.write("\u00aa\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\... | 54.601626 | 103 | 0.561644 | 1,668 | 6,716 | 2.228417 | 0.148082 | 0.149583 | 0.107345 | 0.097928 | 0.319613 | 0.213882 | 0.155233 | 0.135055 | 0.121872 | 0.112994 | 0 | 0.299687 | 0.144431 | 6,716 | 122 | 104 | 55.04918 | 0.347198 | 0.006552 | 0 | 0.038095 | 1 | 0.628571 | 0.595831 | 0.567936 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019048 | false | 0 | 0.038095 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ea5d8b1e4b2b0b9b55907e5b515668ad21cf31a0 | 165 | py | Python | pehchaan/__init__.py | achillesrasquinha/pehchaan | 467f705347bed4756937de9510a225ba8aaa9313 | [
"MIT"
] | 35 | 2017-03-15T15:28:01.000Z | 2020-10-28T11:20:05.000Z | pehchaan/__init__.py | achillesrasquinha/pehchaan | 467f705347bed4756937de9510a225ba8aaa9313 | [
"MIT"
] | 1 | 2017-04-19T21:04:22.000Z | 2017-04-19T21:04:22.000Z | pehchaan/__init__.py | achillesrasquinha/pehchaan | 467f705347bed4756937de9510a225ba8aaa9313 | [
"MIT"
] | 13 | 2017-04-18T16:28:36.000Z | 2021-02-11T10:58:50.000Z | # imports - compatibility imports
from __future__ import absolute_import
# imports - pehchaan
from pehchaan.config import AppConfig
from pehchaan.app import App
| 23.571429 | 38 | 0.812121 | 20 | 165 | 6.45 | 0.5 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 165 | 6 | 39 | 27.5 | 0.921429 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
575c0820a7e065f2c44af95acd63aa332261ac67 | 65 | py | Python | tests/basic_tests/app/forms.py | if1live/importd | 4b1dd2cc43923f44f2c509a3e4a0568fa3d4f9b2 | [
"BSD-3-Clause"
] | 183 | 2015-01-14T02:15:54.000Z | 2021-04-02T01:31:08.000Z | tests/basic_tests/app/forms.py | if1live/importd | 4b1dd2cc43923f44f2c509a3e4a0568fa3d4f9b2 | [
"BSD-3-Clause"
] | 31 | 2015-01-07T16:25:46.000Z | 2021-02-15T08:30:45.000Z | tests/basic_tests/app/forms.py | if1live/importd | 4b1dd2cc43923f44f2c509a3e4a0568fa3d4f9b2 | [
"BSD-3-Clause"
] | 23 | 2015-01-05T09:34:55.000Z | 2018-05-17T07:27:36.000Z | from django.conf import settings
settings.FORMS_IMPORTED = True
| 16.25 | 32 | 0.830769 | 9 | 65 | 5.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 3 | 33 | 21.666667 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
579be97ed118db5982a3d910e926f0b5db38d3bb | 167 | wsgi | Python | mashup.wsgi | aarontrim/mashup | f6fa82c10cd8f8b311cd1b4348854f1a2db94dab | [
"CC-BY-3.0"
] | null | null | null | mashup.wsgi | aarontrim/mashup | f6fa82c10cd8f8b311cd1b4348854f1a2db94dab | [
"CC-BY-3.0"
] | null | null | null | mashup.wsgi | aarontrim/mashup | f6fa82c10cd8f8b311cd1b4348854f1a2db94dab | [
"CC-BY-3.0"
] | null | null | null | import sys
import os
sys.path.insert(0, '/var/www/mashup')
os.environ['API_KEY'] = "AIzaSyAAKBL2ApwSYk9fS9_X2AferUcvnWX9Tjo"
from application import app as application | 33.4 | 65 | 0.808383 | 23 | 167 | 5.782609 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.083832 | 167 | 5 | 66 | 33.4 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0.363095 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
57aa5235558e501d35c266ee6b90276187e70975 | 137 | py | Python | client_industry/admin.py | My-Garage/resourceideaapi | b872a6f15277989870572ba6e523c9dc378b7a24 | [
"MIT"
] | 1 | 2021-01-20T14:40:06.000Z | 2021-01-20T14:40:06.000Z | client_industry/admin.py | My-Garage/resourceideaapi | b872a6f15277989870572ba6e523c9dc378b7a24 | [
"MIT"
] | null | null | null | client_industry/admin.py | My-Garage/resourceideaapi | b872a6f15277989870572ba6e523c9dc378b7a24 | [
"MIT"
] | null | null | null | from django.contrib import admin # type: ignore
from client_industry.models import ClientIndustry
admin.site.register(ClientIndustry)
| 22.833333 | 49 | 0.832117 | 17 | 137 | 6.647059 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109489 | 137 | 5 | 50 | 27.4 | 0.92623 | 0.087591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
aa045b2347dee77669cee1a5165bc2a65b99e4f6 | 4,532 | py | Python | thenewboston_node/business_logic/tests/test_blockchain_base/test_validate_root_account_file.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | thenewboston_node/business_logic/tests/test_blockchain_base/test_validate_root_account_file.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | thenewboston_node/business_logic/tests/test_blockchain_base/test_validate_root_account_file.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | from unittest.mock import patch
import pytest
from thenewboston_node.business_logic.exceptions import ValidationError
from thenewboston_node.business_logic.tests import factories
from thenewboston_node.business_logic.utils.iter import get_generator
def test_blockchain_initial_account_root_file_is_validated(blockcha... | 46.721649 | 118 | 0.780229 | 554 | 4,532 | 5.942238 | 0.129964 | 0.086877 | 0.068044 | 0.075942 | 0.906136 | 0.802552 | 0.758505 | 0.713548 | 0.689247 | 0.673147 | 0 | 0.007744 | 0.14519 | 4,532 | 96 | 119 | 47.208333 | 0.842024 | 0 | 0 | 0.405405 | 0 | 0 | 0.116284 | 0.044793 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094595 | false | 0 | 0.067568 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa105b1677b8a42e22a0c345bf7b1943a9453270 | 430 | py | Python | src/entities.py | CRafa97/agent-simulation | 00dc3a1f2a75b21058c0555b4580a779fda89d4f | [
"MIT"
] | null | null | null | src/entities.py | CRafa97/agent-simulation | 00dc3a1f2a75b21058c0555b4580a779fda89d4f | [
"MIT"
] | null | null | null | src/entities.py | CRafa97/agent-simulation | 00dc3a1f2a75b21058c0555b4580a779fda89d4f | [
"MIT"
] | null | null | null | class Child:
def __init__(self):
pass
def __str__(self):
return "c"
def __hash__(self):
return self.x ** self.y
class Cradle:
def __init__(self):
self.child = None
@property
def with_child(self):
return self.child != None
def __str__(self):
... | 15.925926 | 33 | 0.546512 | 52 | 430 | 3.961538 | 0.346154 | 0.242718 | 0.160194 | 0.23301 | 0.38835 | 0.300971 | 0.300971 | 0.300971 | 0 | 0 | 0 | 0 | 0.353488 | 430 | 27 | 34 | 15.925926 | 0.741007 | 0 | 0 | 0.4 | 0 | 0 | 0.006961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0 | 0.25 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
a4c31d55b4bfdef9b25d4b1f93f3d7ba7bda77c0 | 52 | py | Python | models/__init__.py | imrachbini/Efficient-CapsNet | 82b852002e3d268030d89ccfec586c6f9e2b2b2e | [
"Apache-2.0"
] | 177 | 2021-02-01T09:01:38.000Z | 2022-03-30T09:40:40.000Z | models/__init__.py | imrachbini/Efficient-CapsNet | 82b852002e3d268030d89ccfec586c6f9e2b2b2e | [
"Apache-2.0"
] | 17 | 2021-02-09T16:09:52.000Z | 2022-01-18T12:39:36.000Z | models/__init__.py | imrachbini/Efficient-CapsNet | 82b852002e3d268030d89ccfec586c6f9e2b2b2e | [
"Apache-2.0"
] | 42 | 2021-02-01T14:31:16.000Z | 2022-03-14T05:13:49.000Z | from models.model import EfficientCapsNet, CapsNet
| 17.333333 | 50 | 0.846154 | 6 | 52 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 2 | 51 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
a4d435b04a580351ad008a0a538048275c17b31a | 2,501 | py | Python | aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py | VersesGitHub/aries-cloudagent-python | eb7182aaad3ab35ea0783e4b97118333f303e8d8 | [
"Apache-2.0"
] | 1 | 2021-04-15T09:44:00.000Z | 2021-04-15T09:44:00.000Z | aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py | VersesGitHub/aries-cloudagent-python | eb7182aaad3ab35ea0783e4b97118333f303e8d8 | [
"Apache-2.0"
] | null | null | null | aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py | VersesGitHub/aries-cloudagent-python | eb7182aaad3ab35ea0783e4b97118333f303e8d8 | [
"Apache-2.0"
] | 1 | 2022-02-02T17:05:27.000Z | 2022-02-02T17:05:27.000Z | import pytest
from asynctest import mock as async_mock, TestCase as AsyncTestCase
from ......messaging.request_context import RequestContext
from ......messaging.responder import MockResponder
from ......transport.inbound.receipt import MessageReceipt
from ...messages.pres import V20Pres
from .. import pres_handler... | 42.389831 | 80 | 0.718912 | 270 | 2,501 | 6.314815 | 0.218519 | 0.172434 | 0.058065 | 0.049853 | 0.787097 | 0.774194 | 0.774194 | 0.774194 | 0.774194 | 0.774194 | 0 | 0.008105 | 0.210716 | 2,501 | 58 | 81 | 43.12069 | 0.855623 | 0 | 0 | 0.680851 | 0 | 0 | 0.035186 | 0.02399 | 0 | 0 | 0 | 0 | 0.12766 | 1 | 0 | false | 0 | 0.148936 | 0 | 0.170213 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a4dc21cb2cc328a9b534b9eb19013efc1088a310 | 50 | py | Python | binary_search_tree/__init__.py | JvitorS23/data-structures-with-python | c3824c85e499e82227274de7254bdbf943a1ea3d | [
"MIT"
] | null | null | null | binary_search_tree/__init__.py | JvitorS23/data-structures-with-python | c3824c85e499e82227274de7254bdbf943a1ea3d | [
"MIT"
] | null | null | null | binary_search_tree/__init__.py | JvitorS23/data-structures-with-python | c3824c85e499e82227274de7254bdbf943a1ea3d | [
"MIT"
] | null | null | null | from .bst import BSTNode, BinarySearchTree # noqa
| 25 | 49 | 0.8 | 6 | 50 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 1 | 50 | 50 | 0.930233 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a4ea769efe7b882c02bcf35a19ed2c7e21a73394 | 4,499 | py | Python | tests/integration_tests.py | FredHutch/FAMLI | 6a0b2efd8426dc33a02418c6e12a453327f8fc3f | [
"MIT"
] | 14 | 2018-04-17T01:04:37.000Z | 2021-11-09T11:46:32.000Z | tests/integration_tests.py | FredHutch/FAMLI | 6a0b2efd8426dc33a02418c6e12a453327f8fc3f | [
"MIT"
] | 4 | 2019-10-01T12:41:14.000Z | 2020-10-21T17:04:50.000Z | tests/integration_tests.py | FredHutch/FAMLI | 6a0b2efd8426dc33a02418c6e12a453327f8fc3f | [
"MIT"
] | 3 | 2018-04-06T09:02:45.000Z | 2019-03-15T13:20:57.000Z | #!/usr/bin/python
import gzip
import json
import subprocess
# Run the entire process on the test data
p = subprocess.Popen([
"famli",
"align",
"--input", "/usr/famli/tests/example.fastq",
"--sample-name", "example1",
"--ref-db", "/usr/famli/tests/refdb.diamond.v0.9.22.dmnd",
"--output-folder"... | 31.027586 | 90 | 0.682374 | 620 | 4,499 | 4.874194 | 0.185484 | 0.084712 | 0.137657 | 0.056585 | 0.798809 | 0.760093 | 0.73726 | 0.724024 | 0.724024 | 0.724024 | 0 | 0.020071 | 0.125139 | 4,499 | 144 | 91 | 31.243056 | 0.747713 | 0.115804 | 0 | 0.693878 | 0 | 0 | 0.439707 | 0.199041 | 0 | 0 | 0 | 0 | 0.306122 | 1 | 0 | false | 0.010204 | 0.030612 | 0 | 0.030612 | 0.010204 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3508687a18b76b14f93bc9c51dde60280b733076 | 87 | py | Python | client.py | mevlanaayas/miye-behance-collector | 06d1dd80fae18497a6ac423b8bca8dacdfb5c510 | [
"MIT"
] | null | null | null | client.py | mevlanaayas/miye-behance-collector | 06d1dd80fae18497a6ac423b8bca8dacdfb5c510 | [
"MIT"
] | 1 | 2021-06-01T21:42:23.000Z | 2021-06-01T21:42:23.000Z | client.py | mevlanaayas/miye-behance-collector | 06d1dd80fae18497a6ac423b8bca8dacdfb5c510 | [
"MIT"
] | null | null | null | from celery import Celery
celery = Celery()
celery.config_from_object('celeryconfig')
| 17.4 | 41 | 0.804598 | 11 | 87 | 6.181818 | 0.545455 | 0.529412 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 4 | 42 | 21.75 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
102e5f3a02ea6d282e8787e953a7bc71e74a282c | 230 | py | Python | fishingapp_backend/foundation/admin.py | Jimmyjtc001/fishingapp-backend | 653ab1b1d61f43a84a67fbb5e581b8bd45f5b2b7 | [
"BSD-3-Clause"
] | null | null | null | fishingapp_backend/foundation/admin.py | Jimmyjtc001/fishingapp-backend | 653ab1b1d61f43a84a67fbb5e581b8bd45f5b2b7 | [
"BSD-3-Clause"
] | null | null | null | fishingapp_backend/foundation/admin.py | Jimmyjtc001/fishingapp-backend | 653ab1b1d61f43a84a67fbb5e581b8bd45f5b2b7 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from foundation.models import SearchElement, Favorite, FishingSpot
# Register your models here.
admin.site.register(SearchElement)
admin.site.register(Favorite)
admin.site.register(FishingSpot)
| 23 | 66 | 0.830435 | 28 | 230 | 6.821429 | 0.5 | 0.141361 | 0.267016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091304 | 230 | 9 | 67 | 25.555556 | 0.913876 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
109a6ec32938faa8e97c7120b7dba3ae0309bc00 | 272 | py | Python | src/h03_bert_surprisal/data_parallel.py | tpimentelms/lexical-ambiguity-in-context | 5277b9e0f1a846b5fe93eeba1cf37de2d48cfc62 | [
"MIT"
] | null | null | null | src/h03_bert_surprisal/data_parallel.py | tpimentelms/lexical-ambiguity-in-context | 5277b9e0f1a846b5fe93eeba1cf37de2d48cfc62 | [
"MIT"
] | null | null | null | src/h03_bert_surprisal/data_parallel.py | tpimentelms/lexical-ambiguity-in-context | 5277b9e0f1a846b5fe93eeba1cf37de2d48cfc62 | [
"MIT"
] | null | null | null | import torch.nn as nn
class TransparentDataParallel(nn.DataParallel):
def save(self, *args, **kwargs):
return self.module.save(*args, **kwargs)
def get_target_tensor(self, *args, **kwargs):
return self.module.get_target_tensor(*args, **kwargs)
| 24.727273 | 61 | 0.6875 | 35 | 272 | 5.228571 | 0.485714 | 0.218579 | 0.153005 | 0.218579 | 0.327869 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 272 | 10 | 62 | 27.2 | 0.816964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
109bc742fc9dcdcf36103957408ed6b8f5f00494 | 182 | py | Python | src/__init__.py | ASH1998/SuZu | d925b54d990d2dee75e60bb26adb57afd089b4a5 | [
"Apache-2.0"
] | 2 | 2019-10-02T07:18:59.000Z | 2019-10-02T07:19:43.000Z | src/__init__.py | ASH1998/SuZu | d925b54d990d2dee75e60bb26adb57afd089b4a5 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | ASH1998/SuZu | d925b54d990d2dee75e60bb26adb57afd089b4a5 | [
"Apache-2.0"
] | null | null | null |
from src.SuzuException.CustomExceptions import NotCompatibleException
from src.utils.addpackages import all_from
from src.voices.voicetype_1 import *
from src.voices.record import * | 36.4 | 69 | 0.857143 | 24 | 182 | 6.416667 | 0.541667 | 0.181818 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.087912 | 182 | 5 | 70 | 36.4 | 0.921687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
109eeeb95636c3d1d4cbfb0c91fe06df53e3e037 | 3,065 | py | Python | crop/tomato/electron_transport.py | confused0wl/CEAOS | 1b5efe980d02c319b0f052252ecf88bc363d8e98 | [
"MIT"
] | null | null | null | crop/tomato/electron_transport.py | confused0wl/CEAOS | 1b5efe980d02c319b0f052252ecf88bc363d8e98 | [
"MIT"
] | null | null | null | crop/tomato/electron_transport.py | confused0wl/CEAOS | 1b5efe980d02c319b0f052252ecf88bc363d8e98 | [
"MIT"
] | null | null | null | import math
from ...constants import *
from .utils import leaf_area_index
from .tomato_constants import *
def electron_transport(carbohydrate_amount_Leaf, canopy_t, PAR_Canopy):
"""
Equation 9.14
electron_transport_rate = (potential_electron_transport_rate + PHOTONS_TO_ELECTRONS_CONVERSION_FACTOR * cano... | 54.732143 | 140 | 0.737357 | 374 | 3,065 | 5.516043 | 0.165775 | 0.222492 | 0.213766 | 0.130877 | 0.836161 | 0.779932 | 0.740184 | 0.697043 | 0.643723 | 0.564227 | 0 | 0.017706 | 0.189233 | 3,065 | 55 | 141 | 55.727273 | 0.812072 | 0.438173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.190476 | 0 | 0.47619 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 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 | 0 | 0 | 0 | 5 |
10a2648b858ab36cb07f0e3428053d183c44e402 | 315 | py | Python | project/models.py | adhesivecheese/minimal-flask-praw-oauth | aa40c3aa344853c9610384f61a445a6c77d5f532 | [
"BSD-3-Clause"
] | null | null | null | project/models.py | adhesivecheese/minimal-flask-praw-oauth | aa40c3aa344853c9610384f61a445a6c77d5f532 | [
"BSD-3-Clause"
] | null | null | null | project/models.py | adhesivecheese/minimal-flask-praw-oauth | aa40c3aa344853c9610384f61a445a6c77d5f532 | [
"BSD-3-Clause"
] | 1 | 2021-10-29T18:41:22.000Z | 2021-10-29T18:41:22.000Z | from flask_login import UserMixin
from . import db
class User(UserMixin, db.Model):
id = db.Column(db.Integer, primary_key=True) # primary keys are required by SQLAlchemy
password = db.Column(db.String(100))
name = db.Column(db.String(20))
token = db.Column(db.String(1000))
state = db.Column(db.String(1000)) | 35 | 87 | 0.742857 | 51 | 315 | 4.54902 | 0.54902 | 0.172414 | 0.215517 | 0.275862 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047101 | 0.12381 | 315 | 9 | 88 | 35 | 0.793478 | 0.12381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.25 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5e19b8ecdede2b45735f79074eef3b8fb248eefa | 198 | py | Python | lyricnommer/exceptions.py | mtsev/lyric-nommer | eafc1bedaab2143142bf23498221ca452e0119f9 | [
"MIT"
] | 1 | 2019-04-04T17:16:48.000Z | 2019-04-04T17:16:48.000Z | lyricnommer/exceptions.py | mtsev/lyric-nommer | eafc1bedaab2143142bf23498221ca452e0119f9 | [
"MIT"
] | null | null | null | lyricnommer/exceptions.py | mtsev/lyric-nommer | eafc1bedaab2143142bf23498221ca452e0119f9 | [
"MIT"
] | null | null | null | class LyricsNotFoundError(Exception):
pass
class ExistingLyricsError(Exception):
pass
class UnsupportedTypeError(Exception):
pass
class UnknownTypeError(Exception):
pass | 18 | 39 | 0.737374 | 16 | 198 | 9.125 | 0.4375 | 0.356164 | 0.369863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 198 | 11 | 40 | 18 | 0.924051 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
eaaeda030286ea34ca2e7909011bd382f5053032 | 6,849 | py | Python | webstruct/tests/test_loaders.py | vishalbelsare/webstruct | 628c8c2d61fa95193087366c400ce29213fc337f | [
"MIT"
] | 210 | 2015-01-06T01:37:28.000Z | 2022-03-30T10:44:31.000Z | webstruct/tests/test_loaders.py | vishalbelsare/webstruct | 628c8c2d61fa95193087366c400ce29213fc337f | [
"MIT"
] | 43 | 2015-02-05T05:49:53.000Z | 2021-09-02T10:27:24.000Z | webstruct/tests/test_loaders.py | vishalbelsare/webstruct | 628c8c2d61fa95193087366c400ce29213fc337f | [
"MIT"
] | 60 | 2015-02-13T10:15:58.000Z | 2022-02-26T07:54:03.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import os
import lxml.html
from webstruct import WebAnnotatorLoader
from webstruct import HtmlTokenizer
def test_wa_loader():
ld = WebAnnotatorLoader()
tree = ld.load(os.path.join(os.path.dirname(__file__), 'data', 'wa1.html'))
res = lxml.ht... | 96.464789 | 829 | 0.690028 | 1,036 | 6,849 | 4.442085 | 0.138031 | 0.062581 | 0.054759 | 0.063885 | 0.782486 | 0.763581 | 0.730769 | 0.693177 | 0.663842 | 0.663842 | 0 | 0.058076 | 0.115053 | 6,849 | 70 | 830 | 97.842857 | 0.700874 | 0.011243 | 0 | 0.176471 | 0 | 0.254902 | 0.761412 | 0.180381 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.098039 | false | 0 | 0.098039 | 0 | 0.196078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eab6f458ca8fec1225269d4361efa8ff2b22bb25 | 1,024 | py | Python | cowsay/lib/cows/hypno.py | Ovlic/cowsay_py | 1ee8d11d6d895d7695d57e26003d71ce18379d3b | [
"MIT"
] | null | null | null | cowsay/lib/cows/hypno.py | Ovlic/cowsay_py | 1ee8d11d6d895d7695d57e26003d71ce18379d3b | [
"MIT"
] | null | null | null | cowsay/lib/cows/hypno.py | Ovlic/cowsay_py | 1ee8d11d6d895d7695d57e26003d71ce18379d3b | [
"MIT"
] | null | null | null | def Hypno(thoughts, eyes, eye, tongue):
return f"""
{thoughts}
___ _--_
/ - / \\
( {eyes} \\ ( {eyes} )
| {eyes} _;\\-/| {eyes} _|
\\___/######\\___/\\
/##############\\
/ ###### ## #|
/ ##@##@## |
/ ###### ## \\
<______-------___\\ ... | 35.310345 | 51 | 0.15918 | 17 | 1,024 | 4.294118 | 0.647059 | 0.328767 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.466797 | 1,024 | 29 | 52 | 35.310345 | 0.1337 | 0 | 0 | 0 | 0 | 0 | 0.94439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0 | 0.034483 | 0.068966 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eacd372cb693bcda445c8503ac0a6457b862edfb | 5,528 | py | Python | src/mnist_base.py | ozansener/egocentric-object | ea7cd43e2e795f16dd3df80843b11f0e6443839d | [
"MIT"
] | null | null | null | src/mnist_base.py | ozansener/egocentric-object | ea7cd43e2e795f16dd3df80843b11f0e6443839d | [
"MIT"
] | null | null | null | src/mnist_base.py | ozansener/egocentric-object | ea7cd43e2e795f16dd3df80843b11f0e6443839d | [
"MIT"
] | null | null | null | import tensorflow.python.platform
import tensorflow as tf
def placeholder_inputs():
# this function returns the placeholders for training
images_placeholder = tf.placeholder("float", shape=([None, 28*28]))
labels_placeholder = tf.placeholder("float", shape=([None, 10]))
keep_prob = tf.placeholder("floa... | 42.852713 | 132 | 0.6733 | 779 | 5,528 | 4.562259 | 0.160462 | 0.02251 | 0.058526 | 0.042769 | 0.722003 | 0.722003 | 0.700619 | 0.700619 | 0.700619 | 0.676984 | 0 | 0.044665 | 0.198082 | 5,528 | 128 | 133 | 43.1875 | 0.757049 | 0.097685 | 0 | 0.55 | 0 | 0 | 0.039773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.025 | 0.0375 | 0.225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eafe15305af97eb1fc04f8f8772d373f4ed755bb | 928 | py | Python | test_re_ler.py | LhTaira/ruspy | 973039329f67cae961b93e4ccba73f67306f27a6 | [
"MIT"
] | null | null | null | test_re_ler.py | LhTaira/ruspy | 973039329f67cae961b93e4ccba73f67306f27a6 | [
"MIT"
] | null | null | null | test_re_ler.py | LhTaira/ruspy | 973039329f67cae961b93e4ccba73f67306f27a6 | [
"MIT"
] | null | null | null | """
# re-ler
Compreender e elicitar a linguagem gerada por expressões regulares simples.
* Identificar exemplos clássicos de linguagens regulares escritas como regex.
* Identificar exemplos simples gerados pela combinação de 2 a 3 operadores.
----
Para provar a competência, resolva 3 problemas dentro das categoria... | 30.933333 | 121 | 0.747845 | 119 | 928 | 5.806723 | 0.697479 | 0.109986 | 0.063676 | 0.092619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.163793 | 928 | 29 | 122 | 32 | 0.885309 | 0.855603 | 0 | 0 | 0 | 0 | 0.468254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d8170bda6ca3b6c8de2d9b2c4b60b69fe35e11d5 | 452 | py | Python | ctpbee/blueprint.py | zhengquantao/ctpbee | 3111104b47635608a1b185ac675e5e237bbb54d0 | [
"MIT"
] | 3 | 2019-09-17T01:06:22.000Z | 2019-11-04T02:04:19.000Z | ctpbee/blueprint.py | zhengquantao/ctpbee | 3111104b47635608a1b185ac675e5e237bbb54d0 | [
"MIT"
] | 1 | 2019-11-06T05:36:01.000Z | 2019-11-06T05:36:01.000Z | ctpbee/blueprint.py | zhengquantao/ctpbee | 3111104b47635608a1b185ac675e5e237bbb54d0 | [
"MIT"
] | null | null | null | """ Here are the blueprint module /这里是蓝图模块 """
class BluePrint:
"""
实现一个类似与CtpBee的管理机制
从而实现分组
"""
def __init__(self, info, mode, group, action_class, logger_class, refresh):
pass
def add_extension(self, extension):
pass
def suspend_extension(self, extension_name):
... | 18.08 | 79 | 0.641593 | 49 | 452 | 5.653061 | 0.510204 | 0.101083 | 0.31769 | 0.281588 | 0.34657 | 0.238267 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272124 | 452 | 24 | 80 | 18.833333 | 0.841945 | 0.141593 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
dc37bfa53f9d6ff9c18a05b546db7e8e0e41c3d1 | 40 | py | Python | utils/osm/db/__init__.py | OpenGridMap/power-grid-detection | 221fcf0461dc869c8c64b11fa48596f83c20e1c8 | [
"Apache-2.0"
] | null | null | null | utils/osm/db/__init__.py | OpenGridMap/power-grid-detection | 221fcf0461dc869c8c64b11fa48596f83c20e1c8 | [
"Apache-2.0"
] | 1 | 2018-07-22T22:43:27.000Z | 2018-07-22T22:43:27.000Z | utils/osm/db/__init__.py | OpenGridMap/power-grid-detection | 221fcf0461dc869c8c64b11fa48596f83c20e1c8 | [
"Apache-2.0"
] | null | null | null | # from models import db, Tag, DataPoint
| 20 | 39 | 0.75 | 6 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.909091 | 0.925 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dc401e7797e7603341f0277261241bc10a07e1eb | 138 | py | Python | src/aiida_ro_crate/cli/__init__.py | sphuber/aiida-rocrate | 1bce832be7ef7b6f03b2d2c682df9b0d3e9b24af | [
"MIT"
] | null | null | null | src/aiida_ro_crate/cli/__init__.py | sphuber/aiida-rocrate | 1bce832be7ef7b6f03b2d2c682df9b0d3e9b24af | [
"MIT"
] | null | null | null | src/aiida_ro_crate/cli/__init__.py | sphuber/aiida-rocrate | 1bce832be7ef7b6f03b2d2c682df9b0d3e9b24af | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Command line interface for ``aiida-ro-crate``."""
from .cli import cmd_root
from .cmd_export import cmd_export
| 27.6 | 52 | 0.695652 | 21 | 138 | 4.428571 | 0.761905 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.130435 | 138 | 4 | 53 | 34.5 | 0.766667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dc6299c69fce102da1cf15fc4e071d3eaecbd423 | 42 | py | Python | conftest.py | valohai/openssh-key | 84c04540bb7d3bd18697d614770bfcedd36f7611 | [
"MIT"
] | 1 | 2021-10-09T13:53:33.000Z | 2021-10-09T13:53:33.000Z | conftest.py | valohai/openssh-key | 84c04540bb7d3bd18697d614770bfcedd36f7611 | [
"MIT"
] | 2 | 2019-02-12T16:00:23.000Z | 2019-03-29T13:50:11.000Z | conftest.py | valohai/openssh-key | 84c04540bb7d3bd18697d614770bfcedd36f7611 | [
"MIT"
] | 1 | 2020-11-19T18:33:21.000Z | 2020-11-19T18:33:21.000Z | # Here to make py.test's discovery happy.
| 21 | 41 | 0.738095 | 8 | 42 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 1 | 42 | 42 | 0.885714 | 0.928571 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dc6935ba60647d6717c15e16a7e91dc1a6a08936 | 58 | py | Python | covid19/__init__.py | RasmusAntons/covid-19 | f287f8baf7915f925b4f4838b55e45f49ae71d32 | [
"MIT"
] | null | null | null | covid19/__init__.py | RasmusAntons/covid-19 | f287f8baf7915f925b4f4838b55e45f49ae71d32 | [
"MIT"
] | null | null | null | covid19/__init__.py | RasmusAntons/covid-19 | f287f8baf7915f925b4f4838b55e45f49ae71d32 | [
"MIT"
] | null | null | null | from covid19.run import main as data
from covid19 import * | 29 | 36 | 0.810345 | 10 | 58 | 4.7 | 0.7 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.155172 | 58 | 2 | 37 | 29 | 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 | 0 | 0 | 0 | 5 |
dc701ac868fd6af0421199a663ef9e176ff4d4e5 | 151 | py | Python | OpenGLCffi/GLES1/EXT/OES/point_size_array.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLES1/EXT/OES/point_size_array.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLES1/EXT/OES/point_size_array.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GLES1 import params
@params(api='gles1', prms=['type', 'stride', 'pointer'])
def glPointSizePointerOES(type, stride, pointer):
pass
| 21.571429 | 56 | 0.735099 | 18 | 151 | 6.166667 | 0.722222 | 0.18018 | 0.306306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.10596 | 151 | 6 | 57 | 25.166667 | 0.807407 | 0 | 0 | 0 | 0 | 0 | 0.147651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
dc8682b8b53bda86f3866cf2b70a380582957f80 | 173 | py | Python | hello_django/core/views.py | pythonLearningCode/helloDjango | de695906de1ffdeff3ac20379fe01e5643da67f7 | [
"MIT"
] | null | null | null | hello_django/core/views.py | pythonLearningCode/helloDjango | de695906de1ffdeff3ac20379fe01e5643da67f7 | [
"MIT"
] | null | null | null | hello_django/core/views.py | pythonLearningCode/helloDjango | de695906de1ffdeff3ac20379fe01e5643da67f7 | [
"MIT"
] | null | null | null | from django.shortcuts import render, HttpResponse
# Create your views here.
def hello(request, name, age):
return HttpResponse(f'<h1>Hello {name} de {age} anos </h1>') | 28.833333 | 64 | 0.722543 | 25 | 173 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.150289 | 173 | 6 | 64 | 28.833333 | 0.836735 | 0.132948 | 0 | 0 | 0 | 0 | 0.241611 | 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 | 0 | 0 | 0 | 5 |
dc92a191702c6a8c25f1e5820dd6e1ecb892ab8b | 41 | py | Python | tests/__init__.py | s-weigand/zenodo-cite | 14017d7a78c93211e85ad4686fa97d6ef8c11d39 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | s-weigand/zenodo-cite | 14017d7a78c93211e85ad4686fa97d6ef8c11d39 | [
"Apache-2.0"
] | 1 | 2020-10-11T17:38:11.000Z | 2020-10-11T17:38:11.000Z | tests/__init__.py | s-weigand/zenodo-cite | 14017d7a78c93211e85ad4686fa97d6ef8c11d39 | [
"Apache-2.0"
] | null | null | null | """Unit test package for zenodo_cite."""
| 20.5 | 40 | 0.707317 | 6 | 41 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.777778 | 0.829268 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4a9d76e58667a9e7503ff772d8f0954df046532 | 36,143 | py | Python | python/tests/selfsigned.py | FrancoisPoinsot/emissary | 2bc0fe245495cbfb7f5cb3e2fc75d28769fb698a | [
"Apache-2.0"
] | null | null | null | python/tests/selfsigned.py | FrancoisPoinsot/emissary | 2bc0fe245495cbfb7f5cb3e2fc75d28769fb698a | [
"Apache-2.0"
] | 1 | 2022-02-14T02:34:21.000Z | 2022-02-14T02:34:21.000Z | python/tests/selfsigned.py | FrancoisPoinsot/emissary | 2bc0fe245495cbfb7f5cb3e2fc75d28769fb698a | [
"Apache-2.0"
] | null | null | null | # Code generated by selfsigned.py.gen. DO NOT EDIT.
from base64 import b64encode
from typing import Dict, List, NamedTuple, Optional
class Cert(NamedTuple):
names: List[str]
pubcert: str
privkey: str
@property
def k8s_crt(self) -> str:
return b64encode((self.pubcert+"\n").encode('utf-8'))... | 62.748264 | 77 | 0.765376 | 1,380 | 36,143 | 20.042754 | 0.768841 | 0.006508 | 0.005532 | 0.009111 | 0.033009 | 0.026357 | 0.025164 | 0.010304 | 0.007701 | 0.004772 | 0 | 0.120563 | 0.194727 | 36,143 | 575 | 78 | 62.857391 | 0.829754 | 0.015217 | 0 | 0.20841 | 1 | 0 | 0.952948 | 0.745601 | 0 | 1 | 0 | 0 | 0 | 1 | 0.005484 | false | 0 | 0.003656 | 0.005484 | 0.021938 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4c02ef485b76fa66ffe20370b9cbcaaf494af1f | 86 | py | Python | tests/mock_auth_controller.py | thadk/us-congress-pizza-flag-tracker | 428cc9d6f68cdcc77ea30015fd06de20b8eb1da8 | [
"CC0-1.0"
] | null | null | null | tests/mock_auth_controller.py | thadk/us-congress-pizza-flag-tracker | 428cc9d6f68cdcc77ea30015fd06de20b8eb1da8 | [
"CC0-1.0"
] | null | null | null | tests/mock_auth_controller.py | thadk/us-congress-pizza-flag-tracker | 428cc9d6f68cdcc77ea30015fd06de20b8eb1da8 | [
"CC0-1.0"
] | null | null | null | def set_authorize_current_user():
pass
def check_update_order_allowed():
pass | 17.2 | 33 | 0.767442 | 12 | 86 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 5 | 34 | 17.2 | 0.833333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f4c3b73e35f6610f682b3a355b25eb4bf8a0e3f7 | 14 | py | Python | test.py | AmbitiousOne/csws-week1 | 302751c348d1964f23ecf2fcc67c28d50afa72a0 | [
"Apache-2.0"
] | null | null | null | test.py | AmbitiousOne/csws-week1 | 302751c348d1964f23ecf2fcc67c28d50afa72a0 | [
"Apache-2.0"
] | null | null | null | test.py | AmbitiousOne/csws-week1 | 302751c348d1964f23ecf2fcc67c28d50afa72a0 | [
"Apache-2.0"
] | null | null | null | print("laura") | 14 | 14 | 0.714286 | 2 | 14 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 | 1 | 14 | 14 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f4c909d23c0db2dbec476686df6e8488f623851a | 121 | py | Python | backend/waqur/admin.py | crowdbotics-apps/tstec20211223-32572 | 47487c035162e2fdffc1ed3c6bf7d84baf06e0ba | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/waqur/admin.py | crowdbotics-apps/tstec20211223-32572 | 47487c035162e2fdffc1ed3c6bf7d84baf06e0ba | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/waqur/admin.py | crowdbotics-apps/tstec20211223-32572 | 47487c035162e2fdffc1ed3c6bf7d84baf06e0ba | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import Test123
admin.site.register(Test123)
# Register your models here.
| 17.285714 | 32 | 0.801653 | 17 | 121 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.132231 | 121 | 6 | 33 | 20.166667 | 0.866667 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
f4da3b8d7e5dd3067b199ad09bc1081533a064b4 | 93 | py | Python | run.py | cabusto/nhlchampionshipbelt | 962bf44030d7bd9827ceb5791763f95c7bcfb74a | [
"MIT"
] | null | null | null | run.py | cabusto/nhlchampionshipbelt | 962bf44030d7bd9827ceb5791763f95c7bcfb74a | [
"MIT"
] | 3 | 2021-11-08T08:23:29.000Z | 2022-03-31T08:29:52.000Z | run.py | cabusto/nhlchampionshipbelt | 962bf44030d7bd9827ceb5791763f95c7bcfb74a | [
"MIT"
] | 1 | 2015-11-27T16:14:28.000Z | 2015-11-27T16:14:28.000Z | from app import app
#app.run(debug = False)
app.run(debug = True, port=4000, host='0.0.0.0')
| 23.25 | 48 | 0.677419 | 19 | 93 | 3.315789 | 0.578947 | 0.095238 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0.129032 | 93 | 3 | 49 | 31 | 0.679012 | 0.236559 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
52278f345f49aec0058ed0b7839708ea4eba91a3 | 111 | py | Python | MotunrayoKoyejo/Phase 1/Python Basic 1/Day4/Q30.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | MotunrayoKoyejo/Phase 1/Python Basic 1/Day4/Q30.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | MotunrayoKoyejo/Phase 1/Python Basic 1/Day4/Q30.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | b = int(input("Input the base : "))
h = int(input("Input the height : "))
area = b*h/2
print("area = ", area) | 18.5 | 37 | 0.576577 | 19 | 111 | 3.368421 | 0.526316 | 0.25 | 0.40625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.198198 | 111 | 6 | 38 | 18.5 | 0.707865 | 0 | 0 | 0 | 0 | 0 | 0.383929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
524a1ba28719e52bd72783e2382a66ff6ce7c943 | 193 | py | Python | Homework_Solutions/logical_operator.py | hamburgcodingschool/L2C-Python-1804 | 3420691aaee81fb88b2e8e21763014bc91d2ed96 | [
"MIT"
] | null | null | null | Homework_Solutions/logical_operator.py | hamburgcodingschool/L2C-Python-1804 | 3420691aaee81fb88b2e8e21763014bc91d2ed96 | [
"MIT"
] | null | null | null | Homework_Solutions/logical_operator.py | hamburgcodingschool/L2C-Python-1804 | 3420691aaee81fb88b2e8e21763014bc91d2ed96 | [
"MIT"
] | null | null | null |
print(True and True) # True
print(True and False) # False
print(False and False) # False
print("------")
print(True or True) # True
print(True or False) # True
print(False or False) # False | 17.545455 | 30 | 0.678756 | 31 | 193 | 4.225806 | 0.16129 | 0.274809 | 0.183206 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176166 | 193 | 11 | 31 | 17.545455 | 0.823899 | 0.165803 | 0 | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
52622b249ea2d919c1d2100b8c3257403da49056 | 582 | py | Python | src/sortingandsearching/tests/test_distinct_numbers.py | seahrh/cses-problem-set-python | 53e8dba200893cc13a0f7b66fc18e55fa0af137a | [
"MIT"
] | null | null | null | src/sortingandsearching/tests/test_distinct_numbers.py | seahrh/cses-problem-set-python | 53e8dba200893cc13a0f7b66fc18e55fa0af137a | [
"MIT"
] | null | null | null | src/sortingandsearching/tests/test_distinct_numbers.py | seahrh/cses-problem-set-python | 53e8dba200893cc13a0f7b66fc18e55fa0af137a | [
"MIT"
] | null | null | null | from sortingandsearching.distinct_numbers import *
class TestDistinctNumbers:
def test_array_length_of_2_or_less(self):
assert count_distinct([]) == 0
assert count_distinct([1]) == 1
assert count_distinct([1, 1]) == 1
assert count_distinct([2, 1]) == 2
def test_case_... | 30.631579 | 69 | 0.584192 | 89 | 582 | 3.595506 | 0.325843 | 0.240625 | 0.415625 | 0.2875 | 0.19375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104513 | 0.276632 | 582 | 18 | 70 | 32.333333 | 0.655582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.461538 | 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 | 0 | 0 | 0 | 5 |
526b03485ea0cc5d6833f623c096cee58761e847 | 226 | py | Python | ticker/templatetags/lastweek.py | yusenjeng/invintdex | ea68477d248ca8bdb4d62fd09ee4008e01cb831c | [
"MIT"
] | null | null | null | ticker/templatetags/lastweek.py | yusenjeng/invintdex | ea68477d248ca8bdb4d62fd09ee4008e01cb831c | [
"MIT"
] | null | null | null | ticker/templatetags/lastweek.py | yusenjeng/invintdex | ea68477d248ca8bdb4d62fd09ee4008e01cb831c | [
"MIT"
] | null | null | null | from django import template
from datetime import datetime, timedelta
register = template.Library()
@register.simple_tag
def lastweek(format_string):
return (datetime.now() + timedelta(weeks=-1)).strftime(format_string)
| 22.6 | 73 | 0.783186 | 28 | 226 | 6.214286 | 0.678571 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005 | 0.115044 | 226 | 9 | 74 | 25.111111 | 0.865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
52749b8b247a077ee80f1ef2d53435f245286717 | 481 | py | Python | docs/archive/0.2-cleanup/fireworks/tutorial/step9a.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 15 | 2017-06-07T12:49:12.000Z | 2020-07-25T18:06:04.000Z | docs/archive/0.2-cleanup/fireworks/tutorial/step9a.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 110 | 2016-06-21T23:20:44.000Z | 2022-02-24T16:15:22.000Z | docs/archive/0.2-cleanup/fireworks/tutorial/step9a.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 6 | 2016-06-21T11:19:22.000Z | 2019-01-21T13:45:39.000Z | # Texture generator
ctx.params_gen_texture = cell(("cson", "seamless", "transformer_params"))
link(ctx.params_gen_texture, ".", "params_gen_texture.cson")
if not ctx.params_gen_texture.value: ### kludge: to be fixed in seamless 0.2
ctx.params_gen_texture.set("{}")
ctx.gen_texture = transformer(ctx.params_gen_textur... | 48.1 | 76 | 0.746362 | 73 | 481 | 4.69863 | 0.383562 | 0.262391 | 0.279883 | 0.276968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009132 | 0.089397 | 481 | 9 | 77 | 53.444444 | 0.773973 | 0.176715 | 0 | 0 | 0 | 0 | 0.220513 | 0.058974 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
527848dad455ed87c086df397732f38444e64dd4 | 62 | py | Python | knx_stack/encode/layer/transport/t_disconnect/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 2 | 2021-07-28T07:42:28.000Z | 2022-01-25T18:56:05.000Z | knx_stack/encode/layer/transport/t_disconnect/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 6 | 2021-07-25T21:36:01.000Z | 2022-02-20T21:11:31.000Z | knx_stack/encode/layer/transport/t_disconnect/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | null | null | null | from knx_stack.encode.layer.transport.t_disconnect import req
| 31 | 61 | 0.870968 | 10 | 62 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 1 | 62 | 62 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
bff45f3adaefe9be2d6f187eb9fdb80e3b497b3d | 137 | py | Python | torch_runner/__init__.py | grohith327/Torch-Runner | ccf429502585deab25d7b626c3940d358f9f924c | [
"MIT"
] | null | null | null | torch_runner/__init__.py | grohith327/Torch-Runner | ccf429502585deab25d7b626c3940d358f9f924c | [
"MIT"
] | null | null | null | torch_runner/__init__.py | grohith327/Torch-Runner | ccf429502585deab25d7b626c3940d358f9f924c | [
"MIT"
] | null | null | null | from .utils import seed_everything, AverageMeter, EarlyStopping
from .train_module import TrainerModule
from .config import TrainerConfig | 45.666667 | 63 | 0.868613 | 16 | 137 | 7.3125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 3 | 64 | 45.666667 | 0.943548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
871738c7752fcc24f4905cc1b22882fa5be83d53 | 274 | py | Python | flock/controller/rfxcom/transport.py | MainRo/python-flock | e1faa78d6aba374493336651848daadad82387a8 | [
"MIT"
] | null | null | null | flock/controller/rfxcom/transport.py | MainRo/python-flock | e1faa78d6aba374493336651848daadad82387a8 | [
"MIT"
] | null | null | null | flock/controller/rfxcom/transport.py | MainRo/python-flock | e1faa78d6aba374493336651848daadad82387a8 | [
"MIT"
] | null | null | null | from twisted.internet.serialport import SerialPort
class RfxcomTransport(SerialPort):
def __init__(self, protocol, deviceNameOrPortNumber, reactor):
super(RfxcomTransport, self).__init__(protocol, deviceNameOrPortNumber,
reactor, baudrate='38400')
| 34.25 | 79 | 0.762774 | 24 | 274 | 8.375 | 0.666667 | 0.298507 | 0.368159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021552 | 0.153285 | 274 | 7 | 80 | 39.142857 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0.018248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
8726ae5a92da0e20ea3b583b9abd78270844b06c | 136 | py | Python | python/__init__.py | music2score/music2score | 1261c3aad8425590196f298277b5f5db6c539b08 | [
"MIT"
] | null | null | null | python/__init__.py | music2score/music2score | 1261c3aad8425590196f298277b5f5db6c539b08 | [
"MIT"
] | 1 | 2021-03-02T07:17:59.000Z | 2021-03-02T07:17:59.000Z | python/__init__.py | music2score/music2score | 1261c3aad8425590196f298277b5f5db6c539b08 | [
"MIT"
] | 1 | 2022-01-25T03:35:14.000Z | 2022-01-25T03:35:14.000Z | '''from constants import *
from jobs import *
from download import *
from convert import *
from upload import *
from polling import*
''' | 19.428571 | 26 | 0.742647 | 18 | 136 | 5.611111 | 0.444444 | 0.49505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169118 | 136 | 7 | 27 | 19.428571 | 0.893805 | 0.948529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e3f4a55c8bd023583964d5b56fb107b5f449a9a | 38 | py | Python | tests/__init__.py | ElDiabloRojo/eks_auth | c87430d82b70698958cd75b710ccda8cfcbbbb96 | [
"MIT"
] | 1 | 2020-10-13T19:51:18.000Z | 2020-10-13T19:51:18.000Z | tests/__init__.py | ElDiabloRojo/eks_auth | c87430d82b70698958cd75b710ccda8cfcbbbb96 | [
"MIT"
] | 537 | 2020-04-23T21:06:54.000Z | 2022-03-31T17:42:17.000Z | tests/__init__.py | ElDiabloRojo/eks_auth | c87430d82b70698958cd75b710ccda8cfcbbbb96 | [
"MIT"
] | null | null | null | """Unit test package for eks_auth."""
| 19 | 37 | 0.684211 | 6 | 38 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.757576 | 0.815789 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e793abf2c7b5e57e557c2810e7bedcbb617f1eb | 207 | py | Python | unit_tests/helper_functions.py | realvitya/fmcapi | 38fb9a8da2d9ebbadf4ed4cb559244646b3bf3be | [
"BSD-3-Clause"
] | 57 | 2017-06-13T17:06:20.000Z | 2021-07-27T08:53:25.000Z | unit_tests/helper_functions.py | realvitya/fmcapi | 38fb9a8da2d9ebbadf4ed4cb559244646b3bf3be | [
"BSD-3-Clause"
] | 66 | 2017-11-09T16:02:45.000Z | 2021-08-04T20:52:41.000Z | unit_tests/helper_functions.py | realvitya/fmcapi | 38fb9a8da2d9ebbadf4ed4cb559244646b3bf3be | [
"BSD-3-Clause"
] | 56 | 2017-06-08T07:53:12.000Z | 2021-07-30T13:26:47.000Z | """Methods to assist making unit_tests"""
import string
import random
def id_generator(size=6, chars=string.ascii_uppercase + string.digits):
return "".join(random.choice(chars) for _ in range(size))
| 23 | 71 | 0.748792 | 30 | 207 | 5.033333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.130435 | 207 | 8 | 72 | 25.875 | 0.833333 | 0.169082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 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 | 5 |
5e81e9784011e67975df19251d5dff500c56ca67 | 182 | py | Python | ceci/errors.py | LSSTDESC/ceci | 7043ae5776d9b2c210a26dde6f84bcc2366c56e7 | [
"BSD-3-Clause"
] | 5 | 2018-11-08T14:09:16.000Z | 2021-11-29T23:36:36.000Z | ceci/errors.py | LSSTDESC/ceci | 7043ae5776d9b2c210a26dde6f84bcc2366c56e7 | [
"BSD-3-Clause"
] | 54 | 2018-04-03T17:04:11.000Z | 2022-02-24T13:38:23.000Z | ceci/errors.py | LSSTDESC/ceci | 7043ae5776d9b2c210a26dde6f84bcc2366c56e7 | [
"BSD-3-Clause"
] | 7 | 2018-04-02T21:15:36.000Z | 2021-12-01T04:17:21.000Z | class DuplicateStageName(TypeError):
pass
class IncompleteStage(TypeError):
pass
class StageNotFound(ValueError):
pass
class ReservedNameError(TypeError):
pass
| 12.133333 | 36 | 0.747253 | 16 | 182 | 8.5 | 0.5 | 0.286765 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 182 | 14 | 37 | 13 | 0.918919 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5eba3b49c2e06c076ce1c23009047c9470e5bc9d | 38 | py | Python | aiogithubapi/models/__init__.py | timmo001/aiogithubapi | 9d33bad77e49f8ee720bcd81c2cbab8a4cf8ebac | [
"MIT"
] | 8 | 2019-07-24T18:14:25.000Z | 2022-03-01T18:33:53.000Z | aiogithubapi/models/__init__.py | timmo001/aiogithubapi | 9d33bad77e49f8ee720bcd81c2cbab8a4cf8ebac | [
"MIT"
] | 33 | 2019-12-18T22:15:06.000Z | 2022-03-30T06:08:38.000Z | aiogithubapi/models/__init__.py | timmo001/aiogithubapi | 9d33bad77e49f8ee720bcd81c2cbab8a4cf8ebac | [
"MIT"
] | 14 | 2019-09-02T17:50:16.000Z | 2022-03-14T10:30:37.000Z | """Initialise aiogithubapi models."""
| 19 | 37 | 0.736842 | 3 | 38 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.8 | 0.815789 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d842fb9a72dcb9e10301f68da23bc0046b119e4 | 21,719 | py | Python | openmdao/components/tests/test_spline_comp.py | hschilling/blue | 0ef1f0eeb934d8cd4ef0a02add6ba3c3a13e6150 | [
"Apache-2.0"
] | null | null | null | openmdao/components/tests/test_spline_comp.py | hschilling/blue | 0ef1f0eeb934d8cd4ef0a02add6ba3c3a13e6150 | [
"Apache-2.0"
] | 1 | 2015-08-12T17:58:18.000Z | 2015-08-12T17:58:18.000Z | openmdao/components/tests/test_spline_comp.py | hschilling/OpenMDAO | 0ef1f0eeb934d8cd4ef0a02add6ba3c3a13e6150 | [
"Apache-2.0"
] | 1 | 2021-01-17T14:03:48.000Z | 2021-01-17T14:03:48.000Z | """
Unit tests for the spline interpolator component.
"""
import unittest
import numpy as np
import openmdao.api as om
from openmdao.components.spline_comp import SPLINE_METHODS
from openmdao.utils.assert_utils import assert_check_partials, assert_near_equal
from openmdao.utils.general_utils import printoptions
from ... | 36.441275 | 112 | 0.57498 | 3,221 | 21,719 | 3.674325 | 0.108351 | 0.015463 | 0.00845 | 0.029573 | 0.773891 | 0.762315 | 0.744064 | 0.730376 | 0.71542 | 0.698775 | 0 | 0.152545 | 0.287076 | 21,719 | 595 | 113 | 36.502521 | 0.611793 | 0.029698 | 0 | 0.682741 | 0 | 0 | 0.053339 | 0 | 0 | 0 | 0 | 0 | 0.076142 | 1 | 0.053299 | false | 0 | 0.050761 | 0 | 0.109137 | 0.007614 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d867cd3e388e354a87793f2f8984600cf24d20c | 2,765 | py | Python | tests/test_is_stale.py | fcollonval/jupyter-packaging | 23d4943256524d232162dabf3e430df463419165 | [
"BSD-3-Clause"
] | 59 | 2017-03-23T14:46:02.000Z | 2022-03-27T10:56:18.000Z | tests/test_is_stale.py | fcollonval/jupyter-packaging | 23d4943256524d232162dabf3e430df463419165 | [
"BSD-3-Clause"
] | 81 | 2017-03-08T01:18:17.000Z | 2022-03-27T20:10:46.000Z | tests/test_is_stale.py | fcollonval/jupyter-packaging | 23d4943256524d232162dabf3e430df463419165 | [
"BSD-3-Clause"
] | 47 | 2017-03-08T03:21:48.000Z | 2022-03-25T09:50:58.000Z |
from jupyter_packaging.setupbase import is_stale
def test_destination_is_not_stale(source_dir, destination_dir):
assert is_stale(str(destination_dir), str(source_dir)) is False
def test_root_file_causes_stale(source_dir, destination_dir):
source_dir.join('file1.txt').setmtime(30000)
assert is_stale(str... | 38.943662 | 103 | 0.769982 | 431 | 2,765 | 4.642691 | 0.146172 | 0.166417 | 0.103948 | 0.127936 | 0.802099 | 0.746127 | 0.723638 | 0.647676 | 0.633183 | 0.633183 | 0 | 0.035073 | 0.113201 | 2,765 | 70 | 104 | 39.5 | 0.780995 | 0.058951 | 0 | 0.372093 | 0 | 0 | 0.064305 | 0 | 0 | 0 | 0 | 0 | 0.372093 | 1 | 0.255814 | false | 0 | 0.023256 | 0 | 0.27907 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d8757e138245565cc44cd821451db195e66badf | 176 | py | Python | plugins/__init__.py | blumeria/opengenomebrowser | f9f3f0dc70d230348371e98cd41d10355d5d0f25 | [
"MIT"
] | null | null | null | plugins/__init__.py | blumeria/opengenomebrowser | f9f3f0dc70d230348371e98cd41d10355d5d0f25 | [
"MIT"
] | null | null | null | plugins/__init__.py | blumeria/opengenomebrowser | f9f3f0dc70d230348371e98cd41d10355d5d0f25 | [
"MIT"
] | null | null | null | from .calculate_orthofinder import calculate_orthofinder as calculate_core_genome_dendrogram
from .calculate_gendiscal import calculate_gendiscal as calculate_genome_similarity | 88 | 92 | 0.926136 | 21 | 176 | 7.333333 | 0.47619 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 176 | 2 | 93 | 88 | 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 | 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 | 5 |
0dd9b497b066f875674efc1ffd1459b88b418698 | 37 | py | Python | tests/__init__.py | AlexandreKempf/confiig | d1c89c41b67eaacf379a32ed466ce3e1ff89aac8 | [
"MIT"
] | null | null | null | tests/__init__.py | AlexandreKempf/confiig | d1c89c41b67eaacf379a32ed466ce3e1ff89aac8 | [
"MIT"
] | null | null | null | tests/__init__.py | AlexandreKempf/confiig | d1c89c41b67eaacf379a32ed466ce3e1ff89aac8 | [
"MIT"
] | null | null | null | """Unit test package for confiig."""
| 18.5 | 36 | 0.675676 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.78125 | 0.810811 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2173d77be5fa4c47a9b832a9dab6bd030e94e7ab | 128 | py | Python | joplin/pages/event_page/fixtures/helpers/create_fixture.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 15 | 2018-09-27T07:36:30.000Z | 2021-08-03T16:01:21.000Z | joplin/pages/event_page/fixtures/helpers/create_fixture.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 183 | 2017-11-16T23:30:47.000Z | 2020-12-18T21:43:36.000Z | joplin/pages/event_page/fixtures/helpers/create_fixture.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 12 | 2017-12-12T22:48:05.000Z | 2021-03-01T18:01:24.000Z | from pages.base_page.fixtures.helpers.create_fixture_map import create_fixture_map
create_fixture = create_fixture_map["event"]
| 42.666667 | 82 | 0.875 | 19 | 128 | 5.473684 | 0.578947 | 0.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 128 | 2 | 83 | 64 | 0.859504 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
21a06971c031927c0cfba7d0820de6a3e3f97e3c | 74 | py | Python | gym2/envs/StarTraderTest/__init__.py | dreamersnme/future | 87462ea1ef2dfd056e26ede85448af160df7d2ac | [
"MIT"
] | 86 | 2019-03-24T16:53:12.000Z | 2022-02-25T11:48:57.000Z | gym2/envs/StarTraderTest/__init__.py | dreamersnme/future | 87462ea1ef2dfd056e26ede85448af160df7d2ac | [
"MIT"
] | 1 | 2020-11-15T16:36:54.000Z | 2020-11-15T16:36:54.000Z | gym2/envs/StarTraderTest/__init__.py | dreamersnme/future | 87462ea1ef2dfd056e26ede85448af160df7d2ac | [
"MIT"
] | 33 | 2019-03-22T00:26:20.000Z | 2022-03-25T02:56:17.000Z | from gym.envs.StarTraderTest.StarTrade_test_env import StarTradingTestEnv
| 37 | 73 | 0.905405 | 9 | 74 | 7.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 74 | 1 | 74 | 74 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
21cc416a90527e4a04aa2ed445cec71436a174ad | 222 | py | Python | exercise_2017/11th_week/homework/fact.py | Taewan-P/python_study | f347e370aaa33aba5ab233252bcd759b94615348 | [
"MIT"
] | null | null | null | exercise_2017/11th_week/homework/fact.py | Taewan-P/python_study | f347e370aaa33aba5ab233252bcd759b94615348 | [
"MIT"
] | null | null | null | exercise_2017/11th_week/homework/fact.py | Taewan-P/python_study | f347e370aaa33aba5ab233252bcd759b94615348 | [
"MIT"
] | null | null | null | class GirlFriend:
girlfriend = False
def __init__(self,exist):
self.girlfriend = exist
self.girlfriend = False
GirlFriend.girlfriend = False
print(" No. She doesn't exist! :( ")
def exists(self):
return False | 22.2 | 38 | 0.711712 | 28 | 222 | 5.5 | 0.5 | 0.292208 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 222 | 10 | 39 | 22.2 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.121076 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.555556 | 0.111111 | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
21d18e1d85835466b941ce08aca632c4910185d4 | 159 | py | Python | RappCloud/Utils/__init__.py | robotics-4-all/r4a_RAPP_cloud_api_python | 4b738be562b77525bc94e6e8463c1e126bdbf3b5 | [
"Apache-2.0"
] | 1 | 2018-02-14T23:04:54.000Z | 2018-02-14T23:04:54.000Z | RappCloud/Utils/__init__.py | robotics-4-all/r4a_RAPP_cloud_api_python | 4b738be562b77525bc94e6e8463c1e126bdbf3b5 | [
"Apache-2.0"
] | 1 | 2017-04-21T11:51:28.000Z | 2017-04-21T11:51:28.000Z | RappCloud/Utils/__init__.py | robotics-4-all/r4a_RAPP_cloud_api_python | 4b738be562b77525bc94e6e8463c1e126bdbf3b5 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
## @file RappCloud/Utils/__init__.py
#
from Net import Net
from RandStrGen import RandStrGen
from DatatypeAssert import datatypeassert
| 17.666667 | 41 | 0.798742 | 21 | 159 | 5.857143 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 8 | 42 | 19.875 | 0.884892 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df0585701ab95e42e4fce4dd99dafe52758f6d24 | 93 | py | Python | c2dh_nerd/routes/status.py | theorm/c2dh-nerd | 790c945a75d25735e826fbbebb0441a00627dc1c | [
"MIT"
] | null | null | null | c2dh_nerd/routes/status.py | theorm/c2dh-nerd | 790c945a75d25735e826fbbebb0441a00627dc1c | [
"MIT"
] | null | null | null | c2dh_nerd/routes/status.py | theorm/c2dh-nerd | 790c945a75d25735e826fbbebb0441a00627dc1c | [
"MIT"
] | null | null | null | from aiohttp import web
async def handler(request):
return web.json_response({ 'ok': 1 })
| 18.6 | 39 | 0.72043 | 14 | 93 | 4.714286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.16129 | 93 | 4 | 40 | 23.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df1bbd26e82356bf93fce3db61a84798a762bba3 | 68 | py | Python | o3plot/__init__.py | o3seespy/o3plot | 98ef894a98925d5cb5cd6ea699627d4845fa75e9 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | o3plot/__init__.py | o3seespy/o3plot | 98ef894a98925d5cb5cd6ea699627d4845fa75e9 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | o3plot/__init__.py | o3seespy/o3plot | 98ef894a98925d5cb5cd6ea699627d4845fa75e9 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | from o3plot.plotter import *
from . import models
from .fns import * | 22.666667 | 28 | 0.764706 | 10 | 68 | 5.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.161765 | 68 | 3 | 29 | 22.666667 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
df45f309012fa4a2be13831f160bd0a3ce6df337 | 56 | py | Python | elnetpy/__init__.py | PabloRMira/elnetpy | 8f63aef12778857586c83205a79d7c199a59f1bc | [
"Apache-2.0"
] | 2 | 2021-04-28T13:39:19.000Z | 2021-04-29T19:34:47.000Z | elnetpy/__init__.py | PabloRMira/elnetpy | 8f63aef12778857586c83205a79d7c199a59f1bc | [
"Apache-2.0"
] | null | null | null | elnetpy/__init__.py | PabloRMira/elnetpy | 8f63aef12778857586c83205a79d7c199a59f1bc | [
"Apache-2.0"
] | null | null | null | from _elnetpy import * # include c++ wrapped functions
| 28 | 55 | 0.75 | 7 | 56 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 56 | 1 | 56 | 56 | 0.891304 | 0.517857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df6e8d7dc8aafc188d9c0b36ac295618081d2f3e | 43 | py | Python | EzLibrarianApplication/constant.py | coregameHD/SmartLib_Librarian | 31b58a4aab648ee9110ba6a78d5fcab942267380 | [
"MIT"
] | null | null | null | EzLibrarianApplication/constant.py | coregameHD/SmartLib_Librarian | 31b58a4aab648ee9110ba6a78d5fcab942267380 | [
"MIT"
] | null | null | null | EzLibrarianApplication/constant.py | coregameHD/SmartLib_Librarian | 31b58a4aab648ee9110ba6a78d5fcab942267380 | [
"MIT"
] | 2 | 2018-10-01T14:08:25.000Z | 2020-09-30T03:02:15.000Z | rfc_822_format = "%a, %d %b %Y %H:%M:%S %z" | 43 | 43 | 0.511628 | 11 | 43 | 1.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.162791 | 43 | 1 | 43 | 43 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10caee9939070330979cf115a7c5a1a430ab5211 | 80 | py | Python | bdd/pages/base_page.py | fhautoma/weeloDemoQA | 858cbc95d7cb93439a1a11ffd1c518fac9a5bc0d | [
"MIT"
] | null | null | null | bdd/pages/base_page.py | fhautoma/weeloDemoQA | 858cbc95d7cb93439a1a11ffd1c518fac9a5bc0d | [
"MIT"
] | null | null | null | bdd/pages/base_page.py | fhautoma/weeloDemoQA | 858cbc95d7cb93439a1a11ffd1c518fac9a5bc0d | [
"MIT"
] | null | null | null | class BasePage:
def __init__(self, context):
self.context = context
| 20 | 32 | 0.6625 | 9 | 80 | 5.444444 | 0.666667 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 80 | 3 | 33 | 26.666667 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
10f124dbf98bdce3e834dfd709a468c69e180347 | 22,244 | py | Python | pvfactors/tests/test_engine.py | tcapelle/pvfactors | 1aaf6cdd3066a3a68d93db4ad7abcf10e97b5620 | [
"BSD-3-Clause"
] | null | null | null | pvfactors/tests/test_engine.py | tcapelle/pvfactors | 1aaf6cdd3066a3a68d93db4ad7abcf10e97b5620 | [
"BSD-3-Clause"
] | null | null | null | pvfactors/tests/test_engine.py | tcapelle/pvfactors | 1aaf6cdd3066a3a68d93db4ad7abcf10e97b5620 | [
"BSD-3-Clause"
] | null | null | null | from pvfactors.engine import PVEngine
from pvfactors.geometry import OrderedPVArray
from pvfactors.irradiance import IsotropicOrdered, HybridPerezOrdered
from pvfactors.irradiance.utils import breakup_df_inputs
import numpy as np
import datetime as dt
def test_pvengine_float_inputs_iso(params):
"""Test that PV en... | 36.645799 | 79 | 0.676272 | 2,750 | 22,244 | 5.185455 | 0.104 | 0.046564 | 0.033661 | 0.02777 | 0.756101 | 0.732048 | 0.718724 | 0.71101 | 0.691935 | 0.680435 | 0 | 0.033013 | 0.237412 | 22,244 | 606 | 80 | 36.706271 | 0.80764 | 0.175823 | 0 | 0.710744 | 0 | 0 | 0.071492 | 0 | 0 | 0 | 0 | 0 | 0.101928 | 1 | 0.049587 | false | 0 | 0.016529 | 0.011019 | 0.068871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
801775a6220313e7405655892d1ffdaa09ba26e8 | 2,653 | py | Python | transmute_core/tests/test_basetype_serializer.py | yunstanford/transmute-core | a8e5dd055f0f3d39327d71dd61bf0ee147f59ebe | [
"MIT"
] | 42 | 2016-06-04T00:16:16.000Z | 2021-06-11T02:09:31.000Z | transmute_core/tests/test_basetype_serializer.py | yunstanford/transmute-core | a8e5dd055f0f3d39327d71dd61bf0ee147f59ebe | [
"MIT"
] | 55 | 2016-06-11T13:58:46.000Z | 2021-12-21T06:29:20.000Z | transmute_core/tests/test_basetype_serializer.py | yunstanford/transmute-core | a8e5dd055f0f3d39327d71dd61bf0ee147f59ebe | [
"MIT"
] | 18 | 2016-05-18T20:50:53.000Z | 2021-11-18T09:09:59.000Z | import pytest
from transmute_core.compat import string_type
from transmute_core.exceptions import SerializationException
from datetime import datetime
NOW = datetime.now()
UTCNOW = datetime.utcnow()
@pytest.mark.parametrize("inp, expected_output", [("10", 10), ("-1", -1)])
def test_int_load_happy(object_serializer_s... | 39.014706 | 76 | 0.756879 | 346 | 2,653 | 5.523121 | 0.150289 | 0.167452 | 0.198849 | 0.10832 | 0.762428 | 0.717949 | 0.712193 | 0.712193 | 0.59079 | 0.545788 | 0 | 0.005957 | 0.11421 | 2,653 | 67 | 77 | 39.597015 | 0.807234 | 0.074632 | 0 | 0.119048 | 0 | 0 | 0.08028 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.238095 | false | 0 | 0.095238 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
80345bc857c8732f72844d035684f843ac3fd371 | 94 | py | Python | pynetutils/__init__.py | RaRhAeu/pynetutils | 5b74ddda479ddfcead3f05befaf2172203c21e24 | [
"MIT"
] | null | null | null | pynetutils/__init__.py | RaRhAeu/pynetutils | 5b74ddda479ddfcead3f05befaf2172203c21e24 | [
"MIT"
] | null | null | null | pynetutils/__init__.py | RaRhAeu/pynetutils | 5b74ddda479ddfcead3f05befaf2172203c21e24 | [
"MIT"
] | null | null | null | from .Servers import TCPServer # noqa
from .Clients import TCPClient, UDPClient # noqa
| 11.75 | 49 | 0.734043 | 11 | 94 | 6.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 7 | 50 | 13.428571 | 0.932432 | 0.095745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
803e035228b1075708b92b8e37ce7f53c6a11698 | 130 | py | Python | proxypool/schedule/__init__.py | Lemon2go/ProxyPool | 4a1ec70d624e607d16fc0f8aa5fdfa11a288ea65 | [
"Apache-2.0"
] | 359 | 2016-12-06T14:32:33.000Z | 2021-02-14T15:17:08.000Z | proxypool/schedule/__init__.py | z1421012325/proxypool | 0dabf9aae980a493f904362d70d23467ede66127 | [
"Apache-2.0"
] | 13 | 2017-04-11T12:56:35.000Z | 2021-01-18T03:01:39.000Z | proxypool/schedule/__init__.py | z1421012325/proxypool | 0dabf9aae980a493f904362d70d23467ede66127 | [
"Apache-2.0"
] | 136 | 2017-01-30T13:48:15.000Z | 2021-02-14T08:36:16.000Z | from .adder import PoolAdder
from .tester import UsabilityTester
from .schedule import ExpireCheckProcess, ProxyCountCheckProcess
| 32.5 | 64 | 0.869231 | 13 | 130 | 8.692308 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 3 | 65 | 43.333333 | 0.965812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
80477249a567d1c8be69e4196d8693e9c474c1ed | 85 | py | Python | alchemist_lib/broker/__init__.py | Dodo33/alchemist-lib | 40c2d3b48d5f46315eb09e7f572d578b7e5324b4 | [
"MIT"
] | 5 | 2018-07-11T05:38:51.000Z | 2021-12-19T03:06:51.000Z | alchemist_lib/broker/__init__.py | Dodo33/alchemist-lib | 40c2d3b48d5f46315eb09e7f572d578b7e5324b4 | [
"MIT"
] | null | null | null | alchemist_lib/broker/__init__.py | Dodo33/alchemist-lib | 40c2d3b48d5f46315eb09e7f572d578b7e5324b4 | [
"MIT"
] | 2 | 2019-07-12T08:51:11.000Z | 2021-09-29T22:22:46.000Z | from .poloniexbroker import PoloniexBroker
from .bittrexbroker import BittrexBroker
| 21.25 | 42 | 0.870588 | 8 | 85 | 9.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 3 | 43 | 28.333333 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
33da6bbd0d97b74fc6ca3ec278795229c7fc7522 | 185 | py | Python | hitbasic/translations/select_statement.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | hitbasic/translations/select_statement.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | hitbasic/translations/select_statement.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | from . import StatementComponents, CodeComponents
class Statement:
def translate(self):
return StatementComponents.from_arg_list('SELECT', 'CASE', self.sel).translate()
| 20.555556 | 88 | 0.740541 | 19 | 185 | 7.105263 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156757 | 185 | 8 | 89 | 23.125 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1d1c85484eef2f72a7a1951aca8c690449a48e33 | 674 | py | Python | test_ex08_mistura2.py | lucasgsouza03/trabalho_1_grupo_sala | f920f6f8b500ec3aaf514f4e03709cc7a2f26d60 | [
"Unlicense"
] | null | null | null | test_ex08_mistura2.py | lucasgsouza03/trabalho_1_grupo_sala | f920f6f8b500ec3aaf514f4e03709cc7a2f26d60 | [
"Unlicense"
] | null | null | null | test_ex08_mistura2.py | lucasgsouza03/trabalho_1_grupo_sala | f920f6f8b500ec3aaf514f4e03709cc7a2f26d60 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2010 Google Inc.
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
# Google's Python Class
# http://code.google.com/edu/languages/google-python-class/
# H. mistura2
# Sejam duas strings a e b
# Retorno uma string '<a> <b>' separada por um... | 29.304348 | 71 | 0.703264 | 107 | 674 | 4.420561 | 0.71028 | 0.012685 | 0.042283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027076 | 0.178042 | 674 | 22 | 72 | 30.636364 | 0.826715 | 0.89911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1d88f98ff89687f1413457c3b7f6972cedf959ee | 7,802 | py | Python | tests/test_dbc.py | StefanUlbrich/design-by-contract | 4e99e28a38ea67e8842352792332c3ccdba8da33 | [
"MIT"
] | 3 | 2022-03-05T17:41:09.000Z | 2022-03-19T09:22:22.000Z | tests/test_dbc.py | StefanUlbrich/design-by-contract | 4e99e28a38ea67e8842352792332c3ccdba8da33 | [
"MIT"
] | 3 | 2022-03-19T09:41:33.000Z | 2022-03-19T09:41:53.000Z | tests/test_dbc.py | StefanUlbrich/design-by-contract | 4e99e28a38ea67e8842352792332c3ccdba8da33 | [
"MIT"
] | null | null | null | from inspect import signature
from typing import Annotated
import numpy as np
import pandas as pd
import pytest
from design_by_contract import contract, ContractViolationError, ContractLogicError, UnresolvedSymbol
# pylint: skip-file
class TestNumpy:
def test_matmult_correct(self):
@contract
def s... | 35.625571 | 109 | 0.541784 | 1,107 | 7,802 | 3.764228 | 0.101174 | 0.079914 | 0.151188 | 0.201584 | 0.762899 | 0.7473 | 0.718503 | 0.699304 | 0.664027 | 0.638109 | 0 | 0.015665 | 0.296334 | 7,802 | 218 | 110 | 35.788991 | 0.743352 | 0.020379 | 0 | 0.603659 | 0 | 0 | 0.040477 | 0.004061 | 0 | 0 | 0 | 0 | 0.060976 | 1 | 0.207317 | false | 0.012195 | 0.036585 | 0.073171 | 0.341463 | 0.006098 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d52b8fe5ebd067fd99fda43449aab1d6b969e1c1 | 156 | py | Python | mmdet2trt/models/roi_heads/roi_extractors/__init__.py | jackweiwang/mmdetection-to-tensorrt | f988ba8e923764fb1173385a1c7160b8f8b5bd99 | [
"Apache-2.0"
] | 1 | 2021-08-23T10:09:37.000Z | 2021-08-23T10:09:37.000Z | mmdet2trt/models/roi_heads/roi_extractors/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | mmdet2trt/models/roi_heads/roi_extractors/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | from .pooling_layers import *
from .single_level_roi_extractor import SingleRoIExtractorWraper
from .generic_roi_extractor import GenericRoIExtractorWraper
| 39 | 64 | 0.897436 | 17 | 156 | 7.882353 | 0.647059 | 0.179104 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 156 | 3 | 65 | 52 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d52c7750cdfd941e31a17bdfd330e186758d8dc2 | 208 | py | Python | pdf2audiobook/test_file_operations.py | data-stepper/pdf2audiobook | 7b2992cf74deb517de6b214556df11c27bffb4ac | [
"MIT"
] | null | null | null | pdf2audiobook/test_file_operations.py | data-stepper/pdf2audiobook | 7b2992cf74deb517de6b214556df11c27bffb4ac | [
"MIT"
] | null | null | null | pdf2audiobook/test_file_operations.py | data-stepper/pdf2audiobook | 7b2992cf74deb517de6b214556df11c27bffb4ac | [
"MIT"
] | null | null | null | import pytest as pt
from . import text_extraction as t
from . import speech_synthesis as s
from glob import glob
# TODO: organize better where the program writes files
# and then test those file operations
| 23.111111 | 54 | 0.793269 | 34 | 208 | 4.794118 | 0.764706 | 0.122699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182692 | 208 | 8 | 55 | 26 | 0.958824 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d54867dd584961c4334ec0405484928f2230a948 | 2,769 | py | Python | test/config/test_ComponentDescriptor.py | pip-services-archive/pip-services-runtime-python | 70eca1ffc44bfdc45c9c65b0ee347fa578368849 | [
"MIT"
] | null | null | null | test/config/test_ComponentDescriptor.py | pip-services-archive/pip-services-runtime-python | 70eca1ffc44bfdc45c9c65b0ee347fa578368849 | [
"MIT"
] | null | null | null | test/config/test_ComponentDescriptor.py | pip-services-archive/pip-services-runtime-python | 70eca1ffc44bfdc45c9c65b0ee347fa578368849 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
tests.config.test_ComponentDescriptor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: (c) Digital Living Software Corp. 2015-2016, see AUTHORS for more details.
:license: MIT, see LICENSE for more details.
"""
import pytest
from pip_services_runtime.config import Cat... | 52.245283 | 116 | 0.707114 | 275 | 2,769 | 7.090909 | 0.214545 | 0.263077 | 0.331282 | 0.344615 | 0.768718 | 0.736923 | 0.615385 | 0.559487 | 0.549231 | 0.216923 | 0 | 0.012489 | 0.16143 | 2,769 | 52 | 117 | 53.25 | 0.827304 | 0.147707 | 0 | 0 | 0 | 0 | 0.123335 | 0.018908 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.074074 | false | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d5a15c1e22288dde136808d96f964b540b79f5e4 | 799 | py | Python | tests/filters/test_installing_new_filter.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 164 | 2016-04-20T08:30:22.000Z | 2022-01-05T07:43:12.000Z | tests/filters/test_installing_new_filter.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 55 | 2016-06-30T20:06:56.000Z | 2019-12-12T07:36:02.000Z | tests/filters/test_installing_new_filter.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 46 | 2016-04-27T16:28:46.000Z | 2022-01-09T17:59:09.000Z | def test_registering_new_filter_with_no_args(rpc_client, rpc_call_emitter):
filter_id = rpc_client(
method='eth_newFilter',
params=[{}]
)
changes = rpc_client(
method='eth_getFilterChanges',
params=[filter_id],
)
assert not changes
def test_registering_new_filter_w... | 26.633333 | 93 | 0.643304 | 74 | 799 | 6.540541 | 0.391892 | 0.11157 | 0.123967 | 0.14876 | 0.710744 | 0.710744 | 0.710744 | 0.710744 | 0.710744 | 0.710744 | 0 | 0.128814 | 0.261577 | 799 | 29 | 94 | 27.551724 | 0.691525 | 0 | 0 | 0.56 | 0 | 0 | 0.254068 | 0.135169 | 0 | 0 | 0.135169 | 0 | 0.08 | 1 | 0.08 | false | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
635336bce61c740405bf7556ab0f3952b901691d | 9,940 | py | Python | src/scaffold.py | AAFC-MBB/metAMOS | b08e29d97f0fa55e63beb87f57a2cfd54fb2ca02 | [
"Apache-2.0",
"CC0-1.0"
] | 68 | 2015-01-20T10:50:51.000Z | 2021-02-28T10:47:09.000Z | src/scaffold.py | AAFC-MBB/metAMOS | b08e29d97f0fa55e63beb87f57a2cfd54fb2ca02 | [
"Apache-2.0",
"CC0-1.0"
] | 120 | 2015-01-03T04:38:11.000Z | 2021-03-16T17:50:39.000Z | src/scaffold.py | AAFC-MBB/metAMOS | b08e29d97f0fa55e63beb87f57a2cfd54fb2ca02 | [
"Apache-2.0",
"CC0-1.0"
] | 30 | 2015-01-23T06:33:44.000Z | 2021-11-15T06:34:19.000Z | #!python
import os, sys, string, time, BaseHTTPServer, getopt, re, subprocess, webbrowser
from operator import itemgetter
from utils import *
from findreps import FindRepeats
from annotate import Annotate
from fannotate import FunctionalAnnotation
sys.path.append(INITIAL_UTILS)
from ruffus import *
_readlibs = []
_s... | 72.028986 | 283 | 0.7166 | 1,298 | 9,940 | 5.268105 | 0.154854 | 0.143317 | 0.209125 | 0.26616 | 0.746271 | 0.722726 | 0.646095 | 0.63425 | 0.6284 | 0.591986 | 0 | 0.002298 | 0.124447 | 9,940 | 137 | 284 | 72.554745 | 0.783408 | 0.088632 | 0 | 0.265306 | 0 | 0.214286 | 0.321314 | 0.19124 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.071429 | null | null | 0.010204 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6387ac91219fabf266d453b9e260830e6ef79fd1 | 1,021 | py | Python | cupProject/cupApp/models.py | cs-fullstack-2019-spring/django-moreviews-cw-bettyjware11-1 | aa8f2631882af7afb36c0d4b87124a5df58b63d4 | [
"Apache-2.0"
] | null | null | null | cupProject/cupApp/models.py | cs-fullstack-2019-spring/django-moreviews-cw-bettyjware11-1 | aa8f2631882af7afb36c0d4b87124a5df58b63d4 | [
"Apache-2.0"
] | null | null | null | cupProject/cupApp/models.py | cs-fullstack-2019-spring/django-moreviews-cw-bettyjware11-1 | aa8f2631882af7afb36c0d4b87124a5df58b63d4 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
# name, material, and manufacturerDate
class Cup(models.Model):
name = models.CharField(max_length=200, default="")
material = models.CharField(max_length=200, default="")
manufactuerDate = models.DateField(default="")
# phoneApp
# from django.db... | 27.594595 | 87 | 0.700294 | 130 | 1,021 | 5.361538 | 0.323077 | 0.086083 | 0.1033 | 0.137733 | 0.751793 | 0.751793 | 0.703013 | 0.703013 | 0.703013 | 0.428981 | 0 | 0.029516 | 0.170421 | 1,021 | 36 | 88 | 28.361111 | 0.793388 | 0.726738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
638aa3631321ed4ba691687d6cc9dab64466f140 | 157 | py | Python | docs/libs/pystache/tests/examples/partials_with_lambdas.py | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 3,494 | 2015-01-02T08:42:09.000Z | 2022-03-31T14:16:23.000Z | pystache/tests/examples/partials_with_lambdas.py | idobatter/pystache | 17a5dfdcd56eb76af731d141de395a7632a905b8 | [
"MIT"
] | 1,284 | 2015-01-02T07:31:47.000Z | 2022-03-30T02:06:43.000Z | pystache/tests/examples/partials_with_lambdas.py | idobatter/pystache | 17a5dfdcd56eb76af731d141de395a7632a905b8 | [
"MIT"
] | 780 | 2015-01-02T22:14:29.000Z | 2022-03-30T00:16:56.000Z |
"""
TODO: add a docstring.
"""
from pystache.tests.examples.lambdas import rot
class PartialsWithLambdas(object):
def rot(self):
return rot
| 12.076923 | 47 | 0.681529 | 19 | 157 | 5.631579 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210191 | 157 | 12 | 48 | 13.083333 | 0.862903 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
892125871819283c390b85ff0add6e3a26d78b0a | 184 | py | Python | src/intellimouse_ctl/__main__.py | K-Visscher/intellimouse-ctl | 871c225584d0f41270d6cf5ae59c53d4da386f6d | [
"MIT"
] | 1 | 2022-03-18T10:39:42.000Z | 2022-03-18T10:39:42.000Z | src/intellimouse_ctl/__main__.py | K-Visscher/intellimouse-ctl | 871c225584d0f41270d6cf5ae59c53d4da386f6d | [
"MIT"
] | 3 | 2022-02-21T15:52:11.000Z | 2022-02-23T04:58:12.000Z | src/intellimouse_ctl/__main__.py | K-Visscher/intellimouse-ctl | 871c225584d0f41270d6cf5ae59c53d4da386f6d | [
"MIT"
] | 1 | 2022-02-28T03:05:41.000Z | 2022-02-28T03:05:41.000Z | #!/usr/bin/env python3
"""
This module provides the `if __name__ == "__main__":` construct for the intellimouse-ctl CLI`.
"""
from . import main
if __name__ == "__main__":
main()
| 20.444444 | 94 | 0.673913 | 24 | 184 | 4.5 | 0.75 | 0.111111 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.168478 | 184 | 8 | 95 | 23 | 0.699346 | 0.630435 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
89791026fe35567f525e83c0c81f5532756f85fd | 169 | py | Python | tests/parser.py | henry232323/pycord | 93b4c0b38f1036f3d36af0a5c00e62a15c312841 | [
"MIT"
] | 23 | 2017-09-16T13:13:12.000Z | 2017-11-16T23:24:46.000Z | tests/parser.py | henry232323/pycord | 93b4c0b38f1036f3d36af0a5c00e62a15c312841 | [
"MIT"
] | 5 | 2017-11-20T04:39:26.000Z | 2020-11-29T09:32:47.000Z | tests/parser.py | henry232323/pycord | 93b4c0b38f1036f3d36af0a5c00e62a15c312841 | [
"MIT"
] | 11 | 2018-01-19T14:51:38.000Z | 2021-04-07T08:38:42.000Z | import inspect
def is_mod(ctx):
return True
def test(first:int, last:str) -> is_mod:
pass
print(inspect.signature(test).return_annotation is inspect._empty)
| 15.363636 | 66 | 0.733728 | 26 | 169 | 4.615385 | 0.692308 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159763 | 169 | 10 | 67 | 16.9 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.666667 | 0.166667 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
7f2d3afb107602e0b2b0fd5c94ee6b42ad1ca71b | 97 | py | Python | wpy/common/__init__.py | wxnacy/wpy | 575def7e0653e92658df1aaeea71e381ac5de533 | [
"MIT"
] | null | null | null | wpy/common/__init__.py | wxnacy/wpy | 575def7e0653e92658df1aaeea71e381ac5de533 | [
"MIT"
] | null | null | null | wpy/common/__init__.py | wxnacy/wpy | 575def7e0653e92658df1aaeea71e381ac5de533 | [
"MIT"
] | null | null | null | from .security import MD5
from .rand import Rand
from .xml import XML
from .format import Format
| 19.4 | 26 | 0.793814 | 16 | 97 | 4.8125 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.164948 | 97 | 4 | 27 | 24.25 | 0.938272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
7f30b5f2c749a8b7a7210d24842dca5f32d2d3d0 | 15,534 | py | Python | mule/lib/mule/tests/unit/test_operators.py | metomi/mule | 44a64bb6d49755cf6fec3d466e8719671e73d130 | [
"BSD-3-Clause"
] | null | null | null | mule/lib/mule/tests/unit/test_operators.py | metomi/mule | 44a64bb6d49755cf6fec3d466e8719671e73d130 | [
"BSD-3-Clause"
] | null | null | null | mule/lib/mule/tests/unit/test_operators.py | metomi/mule | 44a64bb6d49755cf6fec3d466e8719671e73d130 | [
"BSD-3-Clause"
] | 2 | 2019-09-16T04:52:22.000Z | 2021-04-11T06:12:22.000Z | # *****************************COPYRIGHT******************************
# (C) Crown copyright Met Office. All rights reserved.
# For further details please refer to the file LICENCE.txt
# which you should have received as part of this distribution.
# *****************************COPYRIGHT******************************
#... | 42.558904 | 78 | 0.625209 | 2,018 | 15,534 | 4.721506 | 0.10109 | 0.051217 | 0.05762 | 0.109572 | 0.787888 | 0.750315 | 0.731003 | 0.719773 | 0.702351 | 0.694584 | 0 | 0.058284 | 0.255568 | 15,534 | 364 | 79 | 42.675824 | 0.765652 | 0.167632 | 0 | 0.689139 | 0 | 0 | 0.023545 | 0 | 0 | 0 | 0 | 0 | 0.003745 | 1 | 0.116105 | false | 0 | 0.018727 | 0 | 0.146067 | 0.003745 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7f489e632fd03d55c19898f964cacf85f0fe4422 | 89 | py | Python | ai/app/schema/comments.py | 0xCompyler/shulker | 79fdbdfa17f50fdbff7f7e709a87d8a8ea84cb51 | [
"MIT"
] | 3 | 2022-03-09T06:01:25.000Z | 2022-03-13T06:35:57.000Z | ai/app/schema/comments.py | 0xCompyler/shulker | 79fdbdfa17f50fdbff7f7e709a87d8a8ea84cb51 | [
"MIT"
] | null | null | null | ai/app/schema/comments.py | 0xCompyler/shulker | 79fdbdfa17f50fdbff7f7e709a87d8a8ea84cb51 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class CommentsAnalysis(BaseModel):
comment_url: str
| 14.833333 | 34 | 0.797753 | 10 | 89 | 7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 89 | 5 | 35 | 17.8 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7f5b5d17c96a732f40ff07466067d4e4738aa4e7 | 1,049 | py | Python | apps/fhir/server/migrations/0001_squashed_0018_auto_20210513_1812.py | CMSgov/bluebutton-web-server | 3e7bfb049a2b6bd64fdc4eeae7512b461ccbe682 | [
"Apache-2.0"
] | 25 | 2017-12-10T00:48:31.000Z | 2022-03-25T01:29:13.000Z | apps/fhir/server/migrations/0001_squashed_0018_auto_20210513_1812.py | EmmaIvy/bluebutton-web-server | 7dbb1a65532c56a905bc825d6a7f170bf6f311c8 | [
"Apache-2.0"
] | 298 | 2017-12-05T05:53:32.000Z | 2022-03-21T19:29:03.000Z | apps/fhir/server/migrations/0001_squashed_0018_auto_20210513_1812.py | EmmaIvy/bluebutton-web-server | 7dbb1a65532c56a905bc825d6a7f170bf6f311c8 | [
"Apache-2.0"
] | 31 | 2017-12-04T16:01:12.000Z | 2021-09-26T22:34:55.000Z | # Generated by Django 2.2.22 on 2021-05-13 23:23
from django.db import migrations
class Migration(migrations.Migration):
replaces = [('server', '0001_initial'), ('server', '0002_auto_20160917_1523'), ('server', '0003_auto_20160917_1745'), ('server', '0004_auto_20160917_1802'), ('server', '0005_supportedresource... | 58.277778 | 784 | 0.746425 | 116 | 1,049 | 6.284483 | 0.594828 | 0.049383 | 0.127572 | 0.152263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211193 | 0.097235 | 1,049 | 17 | 785 | 61.705882 | 0.558606 | 0.043851 | 0 | 0 | 1 | 0 | 0.645355 | 0.521479 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
7fbc4588ccbe0579a7620eb1423a4aad17ea622a | 44 | py | Python | tests/components/rest_command/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/rest_command/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/rest_command/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the rest_command component."""
| 22 | 43 | 0.727273 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.794872 | 0.840909 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7fbe45d27f5668798d0798fca12f8ba810bc7d8b | 39 | py | Python | test/__init__.py | thomas-neuman/nkn-client-python | a64dd17fde55442c4904fe00a2448b9aeb734cf6 | [
"Apache-2.0"
] | null | null | null | test/__init__.py | thomas-neuman/nkn-client-python | a64dd17fde55442c4904fe00a2448b9aeb734cf6 | [
"Apache-2.0"
] | null | null | null | test/__init__.py | thomas-neuman/nkn-client-python | a64dd17fde55442c4904fe00a2448b9aeb734cf6 | [
"Apache-2.0"
] | null | null | null | from nkn_client.client import NknClient | 39 | 39 | 0.897436 | 6 | 39 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 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 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.