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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d50c52f3c9748c1f443feb673e3640f69a84aa9d | 52 | py | Python | geeksw/plotting/__init__.py | guitargeek/geeksw | d6e774824eae713e68cf23ae242933be9df52fcf | [
"MIT"
] | 2 | 2019-04-11T22:26:29.000Z | 2021-06-23T19:59:36.000Z | geeksw/plotting/__init__.py | guitargeek/geeksw | d6e774824eae713e68cf23ae242933be9df52fcf | [
"MIT"
] | null | null | null | geeksw/plotting/__init__.py | guitargeek/geeksw | d6e774824eae713e68cf23ae242933be9df52fcf | [
"MIT"
] | null | null | null | from .Plot import Plot
from .RocPlot import RocPlot
| 17.333333 | 28 | 0.807692 | 8 | 52 | 5.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 29 | 26 | 0.954545 | 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 |
1d2c2c1e010a5b123d466df29a8f19833986b8f0 | 32 | py | Python | app.py | ganggas95/meetup_back | fb0f7f92db6b49b6c6644c0018591e7aca14097e | [
"MIT"
] | null | null | null | app.py | ganggas95/meetup_back | fb0f7f92db6b49b6c6644c0018591e7aca14097e | [
"MIT"
] | null | null | null | app.py | ganggas95/meetup_back | fb0f7f92db6b49b6c6644c0018591e7aca14097e | [
"MIT"
] | 1 | 2020-02-12T09:22:10.000Z | 2020-02-12T09:22:10.000Z | from meetup import app
app.run() | 16 | 22 | 0.78125 | 6 | 32 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 2 | 23 | 16 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 |
1d53a5f71ceb3a7aeb764da343e068795e93f380 | 94 | py | Python | shortener/admin.py | pennlabs/django-shortener | a8f362863d4d8f13916e9e924ed316384f588373 | [
"MIT"
] | 3 | 2018-11-04T15:46:01.000Z | 2020-01-06T13:49:46.000Z | shortener/admin.py | pennlabs/django-shortener | a8f362863d4d8f13916e9e924ed316384f588373 | [
"MIT"
] | 1 | 2020-01-08T13:41:06.000Z | 2020-01-08T13:41:06.000Z | shortener/admin.py | pennlabs/shortener | a8f362863d4d8f13916e9e924ed316384f588373 | [
"MIT"
] | 2 | 2021-02-22T18:12:27.000Z | 2021-09-16T18:51:47.000Z | from django.contrib import admin
from shortener.models import Url
admin.site.register(Url)
| 13.428571 | 32 | 0.808511 | 14 | 94 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 6 | 33 | 15.666667 | 0.926829 | 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 |
1d65af596a823273a7da6abe6c41bc5827681411 | 383 | py | Python | rampage/format.py | shreyaspotnis/rampage | e2565aef7ee16ee06523de975e8aa41aca14e3b2 | [
"MIT"
] | null | null | null | rampage/format.py | shreyaspotnis/rampage | e2565aef7ee16ee06523de975e8aa41aca14e3b2 | [
"MIT"
] | null | null | null | rampage/format.py | shreyaspotnis/rampage | e2565aef7ee16ee06523de975e8aa41aca14e3b2 | [
"MIT"
] | null | null | null | """Provides HTML tags wrappers for pretty printing."""
def bold(s):
return '<b>'+s+'</b>'
def italic(s):
return '<i>'+s+'</i>'
def b(s):
return bold(s)
def i(s):
return italic(s)
def red(s):
return '<font color="red">'+s+'</font>'
def green(s):
return '<font color="green">'+s+'</font... | 12.766667 | 54 | 0.54047 | 60 | 383 | 3.45 | 0.316667 | 0.236715 | 0.15942 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208877 | 383 | 29 | 55 | 13.206897 | 0.683168 | 0.125326 | 0 | 0 | 0 | 0 | 0.279635 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 |
1d7e7509cd039c6fd56d8ba1f9e6fe11dbc2962d | 53 | py | Python | blog/models/__init__.py | sharif-42/Personal_Website | 7c385bec272ec7b5c816eab92e3b5bfb8cd80016 | [
"MIT"
] | null | null | null | blog/models/__init__.py | sharif-42/Personal_Website | 7c385bec272ec7b5c816eab92e3b5bfb8cd80016 | [
"MIT"
] | null | null | null | blog/models/__init__.py | sharif-42/Personal_Website | 7c385bec272ec7b5c816eab92e3b5bfb8cd80016 | [
"MIT"
] | null | null | null | from .post import Post
from .comments import Comment
| 17.666667 | 29 | 0.811321 | 8 | 53 | 5.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 30 | 26.5 | 0.955556 | 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 |
1d839a9c3f881b1363f2beb1bbd4fbbb0603a2c0 | 134 | py | Python | board/templatetags/split.py | Bio7269/chieftain | da985acbbd8970aa879cd727460881f4399ad6d0 | [
"MIT",
"Unlicense"
] | 38 | 2015-04-04T15:56:30.000Z | 2022-03-15T15:16:18.000Z | board/templatetags/split.py | Bio7269/chieftain | da985acbbd8970aa879cd727460881f4399ad6d0 | [
"MIT",
"Unlicense"
] | 1 | 2016-08-30T15:37:36.000Z | 2016-08-30T15:37:36.000Z | board/templatetags/split.py | paulmillr/chieftain | da985acbbd8970aa879cd727460881f4399ad6d0 | [
"Unlicense",
"MIT"
] | 16 | 2015-06-30T20:08:30.000Z | 2021-03-03T22:01:39.000Z | from django.template import Library
register = Library()
@register.filter
def split(str, splitter):
return str.split(splitter)
| 14.888889 | 35 | 0.753731 | 17 | 134 | 5.941176 | 0.705882 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 8 | 36 | 16.75 | 0.885965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
1d9735ee5573e486f469a3a70225758aade7754b | 2,361 | py | Python | tests/pytests/unit/beacons/test_service.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 9,425 | 2015-01-01T05:59:24.000Z | 2022-03-31T20:44:05.000Z | tests/pytests/unit/beacons/test_service.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 33,507 | 2015-01-01T00:19:56.000Z | 2022-03-31T23:48:20.000Z | tests/pytests/unit/beacons/test_service.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 5,810 | 2015-01-01T19:11:45.000Z | 2022-03-31T02:37:20.000Z | # Python libs
import pytest
# Salt libs
import salt.beacons.service as service_beacon
from tests.support.mock import MagicMock, patch
@pytest.fixture
def configure_loader_modules():
return {service_beacon: {"__context__": {}, "__salt__": {}}}
def test_non_list_config():
config = {}
ret = service_beac... | 23.848485 | 82 | 0.605252 | 245 | 2,361 | 5.6 | 0.216327 | 0.161079 | 0.104956 | 0.122449 | 0.779155 | 0.758017 | 0.752915 | 0.752915 | 0.752915 | 0.752915 | 0 | 0 | 0.263448 | 2,361 | 98 | 83 | 24.091837 | 0.788959 | 0.008895 | 0 | 0.483871 | 0 | 0 | 0.231065 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 1 | 0.129032 | false | 0 | 0.048387 | 0.016129 | 0.193548 | 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 |
1daacc871a5b5269bee8343e0fa99b1856591e44 | 106 | py | Python | src/cms/forms/offer_templates/__init__.py | S10MC2015/cms-django | b08f2be60a9db6c8079ee923de2cd8912f550b12 | [
"Apache-2.0"
] | null | null | null | src/cms/forms/offer_templates/__init__.py | S10MC2015/cms-django | b08f2be60a9db6c8079ee923de2cd8912f550b12 | [
"Apache-2.0"
] | null | null | null | src/cms/forms/offer_templates/__init__.py | S10MC2015/cms-django | b08f2be60a9db6c8079ee923de2cd8912f550b12 | [
"Apache-2.0"
] | null | null | null | """
Forms for creating and modifying offer objects
"""
from .offer_template_form import OfferTemplateForm
| 21.2 | 50 | 0.811321 | 13 | 106 | 6.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 4 | 51 | 26.5 | 0.903226 | 0.433962 | 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 |
d5216c51e897e71522c3619146902457c4c47594 | 233 | py | Python | server/src/weaverbird/pipeline/steps/uppercase.py | JeremyJacquemont/weaverbird | e04ab6f9c8381986ab71078e5199ece7a875e743 | [
"BSD-3-Clause"
] | 54 | 2019-11-20T15:07:39.000Z | 2022-03-24T22:13:51.000Z | server/src/weaverbird/pipeline/steps/uppercase.py | JeremyJacquemont/weaverbird | e04ab6f9c8381986ab71078e5199ece7a875e743 | [
"BSD-3-Clause"
] | 786 | 2019-10-20T11:48:37.000Z | 2022-03-23T08:58:18.000Z | server/src/weaverbird/pipeline/steps/uppercase.py | JeremyJacquemont/weaverbird | e04ab6f9c8381986ab71078e5199ece7a875e743 | [
"BSD-3-Clause"
] | 10 | 2019-11-21T10:16:16.000Z | 2022-03-21T10:34:06.000Z | from pydantic import Field
from weaverbird.pipeline.steps.utils.base import BaseStep
from weaverbird.pipeline.types import ColumnName
class UppercaseStep(BaseStep):
name = Field('uppercase', const=True)
column: ColumnName
| 23.3 | 57 | 0.793991 | 28 | 233 | 6.607143 | 0.678571 | 0.151351 | 0.237838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133047 | 233 | 9 | 58 | 25.888889 | 0.915842 | 0 | 0 | 0 | 0 | 0 | 0.038627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d5278986a0c0f6e3bf10ee1daf30409afe6e0f52 | 41 | py | Python | tests/__init__.py | msicilia/crowdtangle | 399602998bcdc335b80bfc9beeeac98fae535eaf | [
"MIT"
] | null | null | null | tests/__init__.py | msicilia/crowdtangle | 399602998bcdc335b80bfc9beeeac98fae535eaf | [
"MIT"
] | null | null | null | tests/__init__.py | msicilia/crowdtangle | 399602998bcdc335b80bfc9beeeac98fae535eaf | [
"MIT"
] | null | null | null | """Unit test package for crowdtangle."""
| 20.5 | 40 | 0.707317 | 5 | 41 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.805556 | 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 |
d5586739122864d274f998f7ba7cd5b51357be23 | 80 | py | Python | codeChef/practice/easy/double.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | codeChef/practice/easy/double.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | codeChef/practice/easy/double.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | for _ in xrange(int(raw_input())):
n = int(raw_input())
print n - n % 2
| 20 | 34 | 0.5625 | 14 | 80 | 3 | 0.642857 | 0.285714 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.2625 | 80 | 3 | 35 | 26.666667 | 0.694915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6378b93fb60aa12dba78e44c8ffee4abf07ae148 | 5,722 | py | Python | tests/interfaces/test_dataset.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | tests/interfaces/test_dataset.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | tests/interfaces/test_dataset.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import theano
import theano.tensor as T
from nose.tools import assert_true
from numpy.testing import assert_equal, assert_array_equal
from smartlearner.interfaces.dataset import Dataset
floatX = theano.config.floatX
ALL_DTYPES = np.sctypes['int'] + np.sctypes['uint'] + np.sctypes['float']
def te... | 40.58156 | 111 | 0.680357 | 727 | 5,722 | 5.122421 | 0.141678 | 0.09667 | 0.116004 | 0.116004 | 0.805317 | 0.764232 | 0.72449 | 0.704082 | 0.680183 | 0.680183 | 0 | 0.016998 | 0.21863 | 5,722 | 140 | 112 | 40.871429 | 0.815925 | 0.105033 | 0 | 0.612245 | 0 | 0 | 0.003719 | 0 | 0 | 0 | 0 | 0 | 0.387755 | 1 | 0.040816 | false | 0 | 0.061224 | 0 | 0.102041 | 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 |
637e09d1428be6af978aab9878f44966e8caafb0 | 90 | py | Python | src/osms/tts_modules/synthesizer/__init__.py | adasegroup/OSM---one-shot-multispeaker | 90c1bbea4db1d49667fcfecb51676ee3281f9458 | [
"MIT"
] | 12 | 2021-05-31T21:09:23.000Z | 2022-01-30T03:48:10.000Z | src/osms/tts_modules/synthesizer/__init__.py | adasegroup/OSM---one-shot-multispeaker | 90c1bbea4db1d49667fcfecb51676ee3281f9458 | [
"MIT"
] | null | null | null | src/osms/tts_modules/synthesizer/__init__.py | adasegroup/OSM---one-shot-multispeaker | 90c1bbea4db1d49667fcfecb51676ee3281f9458 | [
"MIT"
] | 6 | 2021-05-13T20:28:19.000Z | 2021-09-28T10:24:31.000Z | from .synthesizer_manager import SynthesizerManager
from .synthesize import run_synthesis
| 30 | 51 | 0.888889 | 10 | 90 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 52 | 45 | 0.95122 | 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 |
893b150afc3f2321f77df3df774c815c4bf21795 | 152 | py | Python | Getting_Started/goswimming.py | Dannnno/Computing_For_The_Web | 405dae3ab73abcd9daad38ce1362336bea3b7d3a | [
"MIT"
] | null | null | null | Getting_Started/goswimming.py | Dannnno/Computing_For_The_Web | 405dae3ab73abcd9daad38ce1362336bea3b7d3a | [
"MIT"
] | 11 | 2015-03-29T03:36:47.000Z | 2015-04-05T02:36:11.000Z | Getting_Started/goswimming.py | Dannnno/Computing_For_The_Web | 405dae3ab73abcd9daad38ce1362336bea3b7d3a | [
"MIT"
] | null | null | null | def goSwimming(temp):
if temp <= 75:
print "Too cold!"
elif temp >= 105:
print "Too hot!"
else:
print "Just right!"
| 19 | 27 | 0.506579 | 19 | 152 | 4.052632 | 0.736842 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0.368421 | 152 | 7 | 28 | 21.714286 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
893ca86767f987bdfea9fa9bc9d09ace7c59eef9 | 16 | py | Python | tests/CompileTests/Python_tests/test2011_020.py | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/CompileTests/Python_tests/test2011_020.py | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/CompileTests/Python_tests/test2011_020.py | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | # test comments
| 8 | 15 | 0.75 | 2 | 16 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.923077 | 0.8125 | 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 |
89551d39007f4d08d7a28d7bd87e95e75ddfaef3 | 81 | py | Python | 18 - Errors tratements and exceptions/Ex_115/titulo.py | o-Ian/Practice-Python | 1e4b2d0788e70006096a53a7cf038db3148ba4b7 | [
"MIT"
] | 4 | 2021-04-23T18:07:58.000Z | 2021-05-12T11:38:14.000Z | 18 - Errors tratements and exceptions/Ex_115/titulo.py | o-Ian/Practice-Python | 1e4b2d0788e70006096a53a7cf038db3148ba4b7 | [
"MIT"
] | null | null | null | 18 - Errors tratements and exceptions/Ex_115/titulo.py | o-Ian/Practice-Python | 1e4b2d0788e70006096a53a7cf038db3148ba4b7 | [
"MIT"
] | null | null | null | def titulo(txt):
print('-' * 35)
print(f'{txt:^35}')
print('-' * 35)
| 16.2 | 23 | 0.45679 | 11 | 81 | 3.363636 | 0.545455 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.259259 | 81 | 4 | 24 | 20.25 | 0.516667 | 0 | 0 | 0.5 | 0 | 0 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.75 | 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 | 0 | 1 | 0 | 5 |
896dbea585977f12489d00db88d44dce3dfd7217 | 46 | py | Python | day1_1.py | kangsup/maybler0 | 0128054800c4afbe842e711a881378382ffa5c6f | [
"MIT"
] | null | null | null | day1_1.py | kangsup/maybler0 | 0128054800c4afbe842e711a881378382ffa5c6f | [
"MIT"
] | null | null | null | day1_1.py | kangsup/maybler0 | 0128054800c4afbe842e711a881378382ffa5c6f | [
"MIT"
] | null | null | null | print("Hello World!")
print(3+5)
print(15+3) | 15.333333 | 22 | 0.652174 | 9 | 46 | 3.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0.108696 | 46 | 3 | 23 | 15.333333 | 0.609756 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 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 |
89739cb59834f4062bc745fb182734b2f4f85279 | 33 | py | Python | web/__init__.py | pwh19920920/spiders | b0543a2583a296a80dfaaa63ed7f80a00d51cd07 | [
"MIT"
] | 390 | 2020-07-20T05:21:45.000Z | 2022-03-12T14:55:59.000Z | web/__init__.py | pwh19920920/spiders | b0543a2583a296a80dfaaa63ed7f80a00d51cd07 | [
"MIT"
] | 21 | 2020-04-07T02:06:36.000Z | 2020-07-20T02:10:38.000Z | web/__init__.py | pwh19920920/spiders | b0543a2583a296a80dfaaa63ed7f80a00d51cd07 | [
"MIT"
] | 108 | 2020-07-23T03:35:54.000Z | 2022-03-12T14:56:04.000Z | from ._response import response
| 11 | 31 | 0.818182 | 4 | 33 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 32 | 16.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
981e2bcc1725a8d220946980f79ebb30c24a2d70 | 134 | py | Python | test/test_api/test_encodings.py | SunChuquin/pyqode.core | edf29204446e3679701e74343288cf692eb07d86 | [
"MIT"
] | 23 | 2015-01-08T15:04:47.000Z | 2022-03-08T07:47:08.000Z | test/test_api/test_encodings.py | SunChuquin/pyqode.core | edf29204446e3679701e74343288cf692eb07d86 | [
"MIT"
] | 16 | 2021-02-01T08:54:08.000Z | 2022-01-09T10:23:57.000Z | test/test_api/test_encodings.py | SunChuquin/pyqode.core | edf29204446e3679701e74343288cf692eb07d86 | [
"MIT"
] | 24 | 2015-01-09T14:16:41.000Z | 2021-12-06T15:11:22.000Z | from pyqode.core.api import encodings
def test_convert_to_code_key():
assert encodings.convert_to_codec_key('UTF-8') == 'utf_8'
| 22.333333 | 61 | 0.768657 | 22 | 134 | 4.318182 | 0.727273 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.119403 | 134 | 5 | 62 | 26.8 | 0.788136 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
98273d03fc4ffbdb22237077acf63df1731a5168 | 22 | py | Python | hello_world.py | palsumitdev/profiles-rest-api | eaf8f86d3919028526797cdd269ae34d8f73fb41 | [
"MIT"
] | null | null | null | hello_world.py | palsumitdev/profiles-rest-api | eaf8f86d3919028526797cdd269ae34d8f73fb41 | [
"MIT"
] | null | null | null | hello_world.py | palsumitdev/profiles-rest-api | eaf8f86d3919028526797cdd269ae34d8f73fb41 | [
"MIT"
] | null | null | null | print('Helllo world')
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 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 |
982d6ff08c3c0f817cebd11644e249549e3cdc5d | 165 | py | Python | tests/web_platform/css_grid_1/grid_model/test_grid_margins_no_collapse.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_grid_1/grid_model/test_grid_margins_no_collapse.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_grid_1/grid_model/test_grid_margins_no_collapse.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestGridMarginsNoCollapse(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'grid-margins-no-collapse-'))
| 27.5 | 80 | 0.8 | 18 | 165 | 7.055556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0.084848 | 165 | 5 | 81 | 33 | 0.821192 | 0 | 0 | 0 | 0 | 0 | 0.152439 | 0.152439 | 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 |
985952323d328d3c0c302456dab03a422af00040 | 347 | py | Python | rich/tui/widgets/window.py | FFY00/rich.tui | 490462783b0f4cad7ee99aa16304ffeb52a4936d | [
"MIT"
] | null | null | null | rich/tui/widgets/window.py | FFY00/rich.tui | 490462783b0f4cad7ee99aa16304ffeb52a4936d | [
"MIT"
] | null | null | null | rich/tui/widgets/window.py | FFY00/rich.tui | 490462783b0f4cad7ee99aa16304ffeb52a4936d | [
"MIT"
] | null | null | null | from typing import Optional
from rich.console import RenderableType
from ..widget import Widget
class Window(Widget):
renderable: Optional[RenderableType]
def __init__(self, renderable: RenderableType):
self.renderable = renderable
def update(self, renderable: RenderableType) -> None:
s... | 24.785714 | 57 | 0.743516 | 36 | 347 | 7.055556 | 0.444444 | 0.220472 | 0.220472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184438 | 347 | 14 | 58 | 24.785714 | 0.897527 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
9865a42888244abac96eb55ab60f7f3dac1d11e9 | 68 | py | Python | learn-to-code-with-python/20-Modules/project/feature/__init__.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | learn-to-code-with-python/20-Modules/project/feature/__init__.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | learn-to-code-with-python/20-Modules/project/feature/__init__.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | print("I'm the dunder __init__.py file inside the 'feature' folder") | 68 | 68 | 0.764706 | 12 | 68 | 4 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 1 | 68 | 68 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
989287e6dc1a8486662c20958c8c506a53b94782 | 23,116 | py | Python | experiments/experiments_toy/test_varying_missing/nmtf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 16 | 2017-04-19T12:04:47.000Z | 2021-12-03T00:50:43.000Z | experiments/experiments_toy/test_varying_missing/nmtf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 1 | 2017-04-20T11:26:16.000Z | 2017-04-20T11:26:16.000Z | experiments/experiments_toy/test_varying_missing/nmtf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 8 | 2015-12-15T05:29:43.000Z | 2019-06-05T03:14:11.000Z | """
Test the performance of Gibbs sampling for recovering a toy dataset, where we
vary the fraction of entries that are missing.
We repeat this 10 times per fraction and average that.
We use the correct number of latent factors and same priors as used to generate the data.
I, J, K, L = 100, 80, 5, 5
"""
import sys,... | 186.419355 | 11,687 | 0.811775 | 2,558 | 23,116 | 7.304144 | 0.444097 | 0.006851 | 0.003532 | 0.00578 | 0.030079 | 0.019696 | 0.014558 | 0.009955 | 0.008778 | 0.008778 | 0 | 0.752805 | 0.07458 | 23,116 | 124 | 11,688 | 186.419355 | 0.120606 | 0.025048 | 0 | 0.061538 | 0 | 0 | 0.114598 | 0.014666 | 0 | 0 | 0 | 0 | 0.030769 | 0 | null | null | 0 | 0.076923 | null | null | 0.046154 | 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 |
98a749a7e019015b054e5a31012319a72afae56b | 51 | py | Python | src/simple_s_model/__init__.py | cpaxton/simple_s_model_server | 172f69e1f3af0a4e382bde2750cdff1fc2070afb | [
"BSD-2-Clause"
] | null | null | null | src/simple_s_model/__init__.py | cpaxton/simple_s_model_server | 172f69e1f3af0a4e382bde2750cdff1fc2070afb | [
"BSD-2-Clause"
] | null | null | null | src/simple_s_model/__init__.py | cpaxton/simple_s_model_server | 172f69e1f3af0a4e382bde2750cdff1fc2070afb | [
"BSD-2-Clause"
] | null | null | null | ### ROS imports
import rospy
from server import *
| 10.2 | 20 | 0.72549 | 7 | 51 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 51 | 4 | 21 | 12.75 | 0.902439 | 0.215686 | 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 |
98b3550a0f744214038b512c76809185929cfb28 | 222 | py | Python | test/mixins/test_case.py | evilinc-dev/hive | 898691bcae6dc9733d1e239113c327a96d2e6501 | [
"MIT"
] | 1 | 2019-10-26T06:32:41.000Z | 2019-10-26T06:32:41.000Z | test/mixins/test_case.py | evilinc-dev/hive | 898691bcae6dc9733d1e239113c327a96d2e6501 | [
"MIT"
] | 2 | 2020-11-06T04:24:53.000Z | 2020-11-06T04:26:04.000Z | test/mixins/test_case.py | evilinc-dev/hive | 898691bcae6dc9733d1e239113c327a96d2e6501 | [
"MIT"
] | null | null | null | from hive.models import User
from test import app
class TestCaseMixin:
@staticmethod
def client():
return app.test_client()
@staticmethod
def get_admin_user():
return User.query.first()
| 15.857143 | 33 | 0.671171 | 27 | 222 | 5.407407 | 0.62963 | 0.205479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252252 | 222 | 13 | 34 | 17.076923 | 0.879518 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.222222 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
7f285eec0f68e2d4799fe96aed6311b7d65a9706 | 49 | py | Python | src/mmac_net/train_helpers.py | cmolder/medical-materials | e51807c211b718b3191ebde5c65c835b563f997a | [
"MIT"
] | null | null | null | src/mmac_net/train_helpers.py | cmolder/medical-materials | e51807c211b718b3191ebde5c65c835b563f997a | [
"MIT"
] | null | null | null | src/mmac_net/train_helpers.py | cmolder/medical-materials | e51807c211b718b3191ebde5c65c835b563f997a | [
"MIT"
] | null | null | null |
# Code pending permission from original authors
| 16.333333 | 47 | 0.816327 | 6 | 49 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 48 | 24.5 | 0.97561 | 0.918367 | 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 |
7f350e0383417767db8251b221861535e2453861 | 92 | py | Python | erudition/data_challenge/__init__.py | papsebestyen/erudition | 35aa502a96189131baff714a6212eb56de2b1272 | [
"MIT"
] | null | null | null | erudition/data_challenge/__init__.py | papsebestyen/erudition | 35aa502a96189131baff714a6212eb56de2b1272 | [
"MIT"
] | null | null | null | erudition/data_challenge/__init__.py | papsebestyen/erudition | 35aa502a96189131baff714a6212eb56de2b1272 | [
"MIT"
] | 1 | 2022-02-21T21:17:17.000Z | 2022-02-21T21:17:17.000Z | from invoke import Collection
from . import tasks
data_ns = Collection.from_module(tasks)
| 15.333333 | 39 | 0.804348 | 13 | 92 | 5.538462 | 0.615385 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 40 | 18.4 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7f3d5f3408bf2d8740ed91ef09955dc9fcee491d | 24,254 | py | Python | protos/gen/python/protos/public/uac/Collaborator_pb2_grpc.py | fool-sec-review/modeldb | 44e7f3c1af6768c4c23a2d134f9a322fcf0320b5 | [
"Apache-2.0"
] | null | null | null | protos/gen/python/protos/public/uac/Collaborator_pb2_grpc.py | fool-sec-review/modeldb | 44e7f3c1af6768c4c23a2d134f9a322fcf0320b5 | [
"Apache-2.0"
] | null | null | null | protos/gen/python/protos/public/uac/Collaborator_pb2_grpc.py | fool-sec-review/modeldb | 44e7f3c1af6768c4c23a2d134f9a322fcf0320b5 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from ..uac import Collaborator_pb2 as uac_dot_Collaborator__pb2
from ..uac import UACService_pb2 as uac_dot_UACService__pb2
class CollaboratorServiceStub(object):
# missing associated documentation comment in .proto file
pass
de... | 53.07221 | 106 | 0.787045 | 2,188 | 24,254 | 8.402651 | 0.053931 | 0.033288 | 0.094969 | 0.110797 | 0.78477 | 0.781398 | 0.761273 | 0.629589 | 0.629589 | 0.624476 | 0 | 0.005017 | 0.145254 | 24,254 | 456 | 107 | 53.188596 | 0.88182 | 0.073843 | 0 | 0.548052 | 1 | 0 | 0.149339 | 0.093873 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07013 | false | 0.05974 | 0.007792 | 0 | 0.083117 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7f9b23eb1b4488b06ed7426a8cf50574a3d87ebe | 110 | py | Python | python/tvm/auto_tensorize/hw_abstraction/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 22 | 2022-03-18T07:29:31.000Z | 2022-03-23T14:54:32.000Z | python/tvm/auto_tensorize/hw_abstraction/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | null | null | null | python/tvm/auto_tensorize/hw_abstraction/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 2 | 2022-03-18T08:26:34.000Z | 2022-03-20T06:02:48.000Z | from .cuda import *
from .llvm import *
from .opencl import *
from .tenet import *
from .hw_abs_base import *
| 18.333333 | 26 | 0.727273 | 17 | 110 | 4.588235 | 0.529412 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 5 | 27 | 22 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7fa17a55513e716632fc05513270a0938687e08f | 195 | py | Python | opyoid/bindings/multi_binding/__init__.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 37 | 2020-08-25T07:22:41.000Z | 2022-03-18T03:05:53.000Z | opyoid/bindings/multi_binding/__init__.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 18 | 2020-10-04T17:33:24.000Z | 2021-12-16T16:28:35.000Z | opyoid/bindings/multi_binding/__init__.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 2 | 2021-01-26T19:58:15.000Z | 2021-11-30T01:10:25.000Z | from .item_binding import ItemBinding
from .list_provider import ListProvider
from .multi_binding import MultiBinding
from .multi_binding_to_provider_adapter import MultiBindingToProviderAdapter
| 39 | 76 | 0.897436 | 23 | 195 | 7.304348 | 0.565217 | 0.154762 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082051 | 195 | 4 | 77 | 48.75 | 0.938547 | 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 |
f6860ffba64048c3722b0b34da73a9cf8bd5c5ef | 427 | py | Python | Face Reconstruction/Self-Supervised Monocular 3D Face Reconstruction by Occlusion-Aware Multi-view Geometry Consistency/src_common/geometry/gpmm/HDF5IO.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 302 | 2020-07-15T11:42:08.000Z | 2022-03-29T15:22:00.000Z | Face Reconstruction/Self-Supervised Monocular 3D Face Reconstruction by Occlusion-Aware Multi-view Geometry Consistency/src_common/geometry/gpmm/HDF5IO.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 704 | 2020-09-30T10:44:13.000Z | 2022-03-30T07:18:28.000Z | Face Reconstruction/Self-Supervised Monocular 3D Face Reconstruction by Occlusion-Aware Multi-view Geometry Consistency/src_common/geometry/gpmm/HDF5IO.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 342 | 2020-10-02T14:04:49.000Z | 2022-03-31T10:14:20.000Z | #!/usr/bin/env python
import h5py
import numpy as np
class HDF5IO:
def __init__(self, path_file, handler_file = None, mode='a'):
if(handler_file == None):
self.handler_file = h5py.File(path_file, mode=mode)
else:
self.handler_file = handler_file
def GetMainKeys(self):
... | 28.466667 | 65 | 0.64637 | 58 | 427 | 4.534483 | 0.465517 | 0.292776 | 0.228137 | 0.159696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.248244 | 427 | 15 | 66 | 28.466667 | 0.809969 | 0.046838 | 0 | 0 | 0 | 0 | 0.002457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 0 | 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 | 1 | 0 | 0 | 5 |
f68fbe54d381718538ce663d80895a9b861a3e1a | 461 | py | Python | python2sky/context/noop_span.py | alonelaval/skywalking-client-python | 414c16a71ae7d48c199dc25ae2641a4b983d44ec | [
"Apache-2.0"
] | 19 | 2020-05-05T12:09:13.000Z | 2020-06-29T11:50:49.000Z | python2sky/context/noop_span.py | alonelaval/skywalking-client-python | 414c16a71ae7d48c199dc25ae2641a4b983d44ec | [
"Apache-2.0"
] | null | null | null | python2sky/context/noop_span.py | alonelaval/skywalking-client-python | 414c16a71ae7d48c199dc25ae2641a4b983d44ec | [
"Apache-2.0"
] | 2 | 2020-05-05T14:07:22.000Z | 2020-05-06T01:49:40.000Z | # -*- coding:utf-8 -*-
# author:huawei
from python2sky.context.span import Span
class NoopSpan(Span):
def is_entry(self):
return False
def is_exit(self):
return False
def tag(self, key, value):
return self
def start(self):
return self
def end(self):
ret... | 15.366667 | 40 | 0.577007 | 59 | 461 | 4.457627 | 0.508475 | 0.152091 | 0.197719 | 0.136882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.327549 | 461 | 30 | 41 | 15.366667 | 0.841935 | 0.073753 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.111111 | 0.055556 | 0.333333 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
f6a57691feb2bffa7be7da1705b96cddd4d6d2d6 | 20,764 | py | Python | netbox_graphql/ipam_schema.py | ninech/django-netbox-graphql | 8383570bdf3a8ce8d9d912c5b8f7b053b31c7363 | [
"MIT"
] | 17 | 2017-08-17T02:38:09.000Z | 2022-01-05T15:36:20.000Z | netbox_graphql/ipam_schema.py | ninech/django-netbox-graphql | 8383570bdf3a8ce8d9d912c5b8f7b053b31c7363 | [
"MIT"
] | 2 | 2017-09-13T14:53:56.000Z | 2018-02-08T14:06:54.000Z | netbox_graphql/ipam_schema.py | ninech/django-netbox-graphql | 8383570bdf3a8ce8d9d912c5b8f7b053b31c7363 | [
"MIT"
] | 2 | 2020-03-04T11:51:10.000Z | 2021-03-11T19:24:37.000Z | import graphene
from graphene import AbstractType, Node
from graphene_django.converter import convert_django_field
from graphene_django.filter import DjangoFilterConnectionField
from graphene_django.types import DjangoObjectType
from graphene import AbstractType, Field, Node, ClientIDMutation, AbstractType
from graphen... | 31.604262 | 96 | 0.642843 | 2,448 | 20,764 | 5.274101 | 0.058415 | 0.08272 | 0.110294 | 0.114166 | 0.766013 | 0.762296 | 0.735807 | 0.71807 | 0.661219 | 0.620014 | 0 | 0.003045 | 0.240801 | 20,764 | 656 | 97 | 31.652439 | 0.815973 | 0.005635 | 0 | 0.738281 | 0 | 0 | 0.033012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050781 | false | 0 | 0.027344 | 0.003906 | 0.367188 | 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 |
f6a893a4c9dc6ff2ac7493c6887f147764b4db17 | 40 | py | Python | tests/__init__.py | HaigangLiu/covid19-us | be60401142d5f517456606a8afa7a6b5f5f399dd | [
"MIT"
] | 2 | 2021-04-10T22:53:41.000Z | 2022-02-20T13:20:19.000Z | tests/__init__.py | HaigangLiu/covid19-us | be60401142d5f517456606a8afa7a6b5f5f399dd | [
"MIT"
] | null | null | null | tests/__init__.py | HaigangLiu/covid19-us | be60401142d5f517456606a8afa7a6b5f5f399dd | [
"MIT"
] | null | null | null | """Unit test package for covid19_us."""
| 20 | 39 | 0.7 | 6 | 40 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.125 | 40 | 1 | 40 | 40 | 0.714286 | 0.825 | 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 |
f6bb6ec15f96cd8fc35c408234bd6466817fcc31 | 214 | py | Python | covidprognosis/data/__init__.py | olopade-lab/CovidPrognosis | d66f49def441d4f89939732abd9bec5525cc384b | [
"MIT"
] | 151 | 2021-01-13T19:50:19.000Z | 2022-03-30T07:16:10.000Z | covidprognosis/data/__init__.py | olopade-lab/CovidPrognosis | d66f49def441d4f89939732abd9bec5525cc384b | [
"MIT"
] | 14 | 2021-01-29T15:11:07.000Z | 2022-01-28T04:34:03.000Z | covidprognosis/data/__init__.py | olopade-lab/CovidPrognosis | d66f49def441d4f89939732abd9bec5525cc384b | [
"MIT"
] | 35 | 2021-01-15T21:21:50.000Z | 2022-01-17T06:17:04.000Z | from .base_dataset import BaseDataset
from .chexpert import CheXpertDataset
from .combined_datasets import CombinedXrayDataset
from .mimic_cxr import MimicCxrJpgDataset
from .nih_chest_xrays import NIHChestDataset
| 35.666667 | 50 | 0.883178 | 25 | 214 | 7.36 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 214 | 5 | 51 | 42.8 | 0.948454 | 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 |
f6cf4d17eebecd705755bfd45792b5fd727da591 | 63 | py | Python | dbinorm/tests/test_oracle.py | rabus-t48/dbinorm | 9cbf8df7e496f1b1e3accfb10e5ede0dc4b4d423 | [
"MIT"
] | null | null | null | dbinorm/tests/test_oracle.py | rabus-t48/dbinorm | 9cbf8df7e496f1b1e3accfb10e5ede0dc4b4d423 | [
"MIT"
] | null | null | null | dbinorm/tests/test_oracle.py | rabus-t48/dbinorm | 9cbf8df7e496f1b1e3accfb10e5ede0dc4b4d423 | [
"MIT"
] | null | null | null | #coding: utf-8
""" Tests for Oracle Api.
"""
import unittest
| 9 | 25 | 0.650794 | 9 | 63 | 4.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.190476 | 63 | 6 | 26 | 10.5 | 0.784314 | 0.555556 | 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 |
f6da26c0b1a2def7ed5610ffec6add78528d6546 | 367 | py | Python | adet/modeling/backbone/__init__.py | chungjung-d/SSIS | ed9e4f468a9bc8a4a3a945e4d718c6a4ba454a64 | [
"BSD-2-Clause"
] | 32 | 2021-03-03T12:25:25.000Z | 2022-03-30T09:59:50.000Z | adet/modeling/backbone/__init__.py | chungjung-d/SSIS | ed9e4f468a9bc8a4a3a945e4d718c6a4ba454a64 | [
"BSD-2-Clause"
] | 3 | 2021-06-21T17:03:16.000Z | 2021-12-07T07:14:56.000Z | adet/modeling/backbone/__init__.py | chungjung-d/SSIS | ed9e4f468a9bc8a4a3a945e4d718c6a4ba454a64 | [
"BSD-2-Clause"
] | 6 | 2021-06-22T08:26:34.000Z | 2021-12-19T07:38:34.000Z | from .fpn import build_fcos_resnet_fpn_backbone
# from .vovnet import build_vovnet_fpn_backbone, build_vovnet_backbone
from .dla import build_fcos_dla_fpn_backbone
from .resnet_lpf import build_resnet_lpf_backbone
from .bifpn import build_fcos_resnet_bifpn_backbone
from .vovnet import build_vovnet_fpn_backbone, build_v... | 52.428571 | 100 | 0.896458 | 57 | 367 | 5.245614 | 0.192982 | 0.220736 | 0.150502 | 0.140468 | 0.434783 | 0.434783 | 0.434783 | 0.434783 | 0.434783 | 0.434783 | 0 | 0 | 0.076294 | 367 | 6 | 101 | 61.166667 | 0.882006 | 0.185286 | 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 |
1005f2d4616ba01101b66450d94f65683108b10c | 24,050 | py | Python | analysis/figures.py | rge123/c19sim | d5e817b13b9f1c6640963dfa414e549e3c3a3f40 | [
"MIT"
] | 1 | 2022-01-02T18:01:34.000Z | 2022-01-02T18:01:34.000Z | analysis/figures.py | rge123/c19sim | d5e817b13b9f1c6640963dfa414e549e3c3a3f40 | [
"MIT"
] | 11 | 2022-01-24T14:43:46.000Z | 2022-03-30T18:47:45.000Z | analysis/figures.py | rge123/c19sim | d5e817b13b9f1c6640963dfa414e549e3c3a3f40 | [
"MIT"
] | null | null | null | """
@dependencies: requirements.txt
@authors: Robert Elston
@coding: UTF-8
@url: https://github.com/rge123/c19sim
Functions to produce analysis figures
"""
import numpy as np
import pandas as pd
from plotly.subplots import make_subplots
import plotly.graph_objects as go
def contours():
data = np.loadtxt("analys... | 46.339114 | 79 | 0.362453 | 1,949 | 24,050 | 4.388404 | 0.110826 | 0.058927 | 0.046767 | 0.065474 | 0.835029 | 0.795627 | 0.776219 | 0.695195 | 0.665731 | 0.629954 | 0 | 0.049814 | 0.508358 | 24,050 | 519 | 80 | 46.339114 | 0.673545 | 0.010353 | 0 | 0.657676 | 0 | 0 | 0.173953 | 0.023541 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014523 | false | 0 | 0.008299 | 0 | 0.022822 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10112df25d536ad3eee092b3c856bdb3959bed70 | 2,656 | py | Python | application/models.py | DanishDanialZurkanain/Cardiovascular | 13ab578bdcc934be119f5178ad6e668c36b681aa | [
"CC0-1.0"
] | null | null | null | application/models.py | DanishDanialZurkanain/Cardiovascular | 13ab578bdcc934be119f5178ad6e668c36b681aa | [
"CC0-1.0"
] | 6 | 2021-03-31T19:54:03.000Z | 2022-03-12T00:30:27.000Z | application/models.py | DanishDanialZurkanain/Cardiovascular | 13ab578bdcc934be119f5178ad6e668c36b681aa | [
"CC0-1.0"
] | null | null | null | from . import app, db
from datetime import datetime
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
class User(db.Model, UserMixin):
__tablename__ = 'user'
id = db.Column(db.Integer, primary_key = True)
fullname = db.Column(db.String(2... | 35.413333 | 101 | 0.663404 | 361 | 2,656 | 4.783934 | 0.218837 | 0.203822 | 0.254777 | 0.255935 | 0.580197 | 0.537348 | 0.50029 | 0.50029 | 0.481181 | 0.452229 | 0 | 0.012258 | 0.201431 | 2,656 | 75 | 102 | 35.413333 | 0.80198 | 0 | 0 | 0.507937 | 1 | 0 | 0.036005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0.095238 | 0.063492 | 0.031746 | 0.968254 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
63e54abf8eb652c246b117140b77365f2739f500 | 70 | py | Python | angr/angr/misc/__init__.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | null | null | null | angr/angr/misc/__init__.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | null | null | null | angr/angr/misc/__init__.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | null | null | null | from . import ux
from . import autoimport
from .loggers import Loggers | 23.333333 | 28 | 0.8 | 10 | 70 | 5.6 | 0.5 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 28 | 23.333333 | 0.949153 | 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 |
63f7068f3582cd64fe98672186fecfafd506f7dc | 10,869 | py | Python | src/tests/cauliflowervest/client/util_test.py | cooljeanius/cauliflowervest | a9bc209b610a927083bf16274d8451c6c45227bf | [
"Apache-2.0"
] | 1 | 2020-10-13T19:53:04.000Z | 2020-10-13T19:53:04.000Z | src/tests/cauliflowervest/client/util_test.py | cooljeanius/cauliflowervest | a9bc209b610a927083bf16274d8451c6c45227bf | [
"Apache-2.0"
] | null | null | null | src/tests/cauliflowervest/client/util_test.py | cooljeanius/cauliflowervest | a9bc209b610a927083bf16274d8451c6c45227bf | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | 29.375676 | 79 | 0.694636 | 1,276 | 10,869 | 5.846395 | 0.181818 | 0.068499 | 0.058981 | 0.050938 | 0.732172 | 0.723861 | 0.708311 | 0.7 | 0.676944 | 0.654826 | 0 | 0.009527 | 0.159812 | 10,869 | 370 | 80 | 29.375676 | 0.807381 | 0.054651 | 0 | 0.701149 | 0 | 0 | 0.164308 | 0.014451 | 0 | 0 | 0 | 0 | 0.099617 | 0 | null | null | 0 | 0.022989 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
121ab0498ddba19ba2264c776f8a9f29269e07a5 | 94 | py | Python | gym_pool/envs/utils.py | to314as/gym-pool | 925f08b14580260b9136f97c5f6b3b3c807820a8 | [
"MIT"
] | 1 | 2021-04-22T17:31:05.000Z | 2021-04-22T17:31:05.000Z | gym_pool/envs/utils.py | to314as/gym-pool | 925f08b14580260b9136f97c5f6b3b3c807820a8 | [
"MIT"
] | null | null | null | gym_pool/envs/utils.py | to314as/gym-pool | 925f08b14580260b9136f97c5f6b3b3c807820a8 | [
"MIT"
] | 1 | 2021-05-31T11:48:39.000Z | 2021-05-31T11:48:39.000Z | import functools
import operator
def prod(l):
return functools.reduce(operator.mul, l, 1) | 18.8 | 47 | 0.755319 | 14 | 94 | 5.071429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.148936 | 94 | 5 | 47 | 18.8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
124cee6cd56b06bfe62a99aab3b7e46e567d51a1 | 97 | py | Python | zisan/Seg/davisinteractive/robot/__init__.py | JintuZheng/zisan | 84b30d1ee91754d4351841a2077c78146028adfc | [
"MIT"
] | 40 | 2020-02-14T07:03:16.000Z | 2022-03-07T10:52:18.000Z | zisan/Seg/davisinteractive/robot/__init__.py | EpsilionJT/zisan | 84b30d1ee91754d4351841a2077c78146028adfc | [
"MIT"
] | 1 | 2021-09-04T07:40:26.000Z | 2021-09-04T14:51:03.000Z | zisan/Seg/davisinteractive/robot/__init__.py | EpsilionJT/zisan | 84b30d1ee91754d4351841a2077c78146028adfc | [
"MIT"
] | 9 | 2020-02-24T01:08:11.000Z | 2021-12-15T07:35:14.000Z | from __future__ import absolute_import
from .interactive_robot import InteractiveScribblesRobot
| 24.25 | 56 | 0.896907 | 10 | 97 | 8.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 97 | 3 | 57 | 32.333333 | 0.920455 | 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 |
125ffdfcd9a158775ac287516a92635395259c39 | 114 | py | Python | securenative/enums/failover_strategy.py | securenative/securenative-python | 0313808d6c4f282dd4ad21c7d3cab328ba414782 | [
"MIT"
] | null | null | null | securenative/enums/failover_strategy.py | securenative/securenative-python | 0313808d6c4f282dd4ad21c7d3cab328ba414782 | [
"MIT"
] | 10 | 2019-07-16T07:23:46.000Z | 2020-11-22T15:01:07.000Z | securenative/enums/failover_strategy.py | securenative/securenative-python | 0313808d6c4f282dd4ad21c7d3cab328ba414782 | [
"MIT"
] | null | null | null | from enum import Enum
class FailOverStrategy(Enum):
FAIL_OPEN = "fail-open"
FAIL_CLOSED = "fail-closed"
| 16.285714 | 31 | 0.710526 | 15 | 114 | 5.266667 | 0.533333 | 0.202532 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 114 | 6 | 32 | 19 | 0.858696 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d6097e204448dd80779bbf46d01b9caac0545572 | 3,431 | py | Python | parser/fase2/team15/TytusDB_G15/FuncionInter.py | Epatzan/tytus | 36b4888b7ddba6fef1f04d9c019db27d8f8bd4b0 | [
"MIT"
] | null | null | null | parser/fase2/team15/TytusDB_G15/FuncionInter.py | Epatzan/tytus | 36b4888b7ddba6fef1f04d9c019db27d8f8bd4b0 | [
"MIT"
] | null | null | null | parser/fase2/team15/TytusDB_G15/FuncionInter.py | Epatzan/tytus | 36b4888b7ddba6fef1f04d9c019db27d8f8bd4b0 | [
"MIT"
] | null | null | null |
from gramatica import parse
from principal import *
import ts as TS
import ts_index as TSINDEX
from expresiones import *
from instrucciones import *
from report_ast import *
from report_tc import *
from report_ts import *
from report_errores import *
class Intermedio():
instrucciones_Global = []
tc_global1 = []
... | 32.065421 | 205 | 0.7645 | 390 | 3,431 | 6.469231 | 0.189744 | 0.050733 | 0.066587 | 0.066587 | 0.723345 | 0.711455 | 0.711455 | 0.711455 | 0.711455 | 0.68807 | 0 | 0.015523 | 0.155057 | 3,431 | 106 | 206 | 32.367925 | 0.854778 | 0.005246 | 0 | 0.622222 | 0 | 0.011111 | 0.096092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.111111 | 0 | 0.333333 | 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 |
d64359c3a01befe336aba59e21cf9b0b4f327743 | 207 | py | Python | pylint_complexity/checker.py | willprice/pylint-quality | 34921e7fe30d3417e2f1ae3e1dc11082d5b850ab | [
"Apache-2.0"
] | null | null | null | pylint_complexity/checker.py | willprice/pylint-quality | 34921e7fe30d3417e2f1ae3e1dc11082d5b850ab | [
"Apache-2.0"
] | null | null | null | pylint_complexity/checker.py | willprice/pylint-quality | 34921e7fe30d3417e2f1ae3e1dc11082d5b850ab | [
"Apache-2.0"
] | null | null | null | from pylint_complexity import MethodCountChecker, MethodLengthChecker
def register(linter):
linter.register_checker(MethodLengthChecker(linter))
linter.register_checker(MethodCountChecker(linter))
| 29.571429 | 69 | 0.84058 | 19 | 207 | 9 | 0.526316 | 0.140351 | 0.233918 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091787 | 207 | 6 | 70 | 34.5 | 0.909574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d64dab51f52e34e143cc0720966c45b24ff0e65d | 66 | py | Python | xu/src/python/Request/Adapter/__init__.py | sonnts996/XuCompa-Request | f343e7bfd1b4263eb76438c96d347c549cc75ce3 | [
"Apache-2.0"
] | null | null | null | xu/src/python/Request/Adapter/__init__.py | sonnts996/XuCompa-Request | f343e7bfd1b4263eb76438c96d347c549cc75ce3 | [
"Apache-2.0"
] | null | null | null | xu/src/python/Request/Adapter/__init__.py | sonnts996/XuCompa-Request | f343e7bfd1b4263eb76438c96d347c549cc75ce3 | [
"Apache-2.0"
] | null | null | null | from xu.src.python.Request.Adapter.ItemAdapter import ItemAdapter
| 33 | 65 | 0.863636 | 9 | 66 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.919355 | 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 |
d6501bfc2ab25178969e3915a06b8b3a649613b1 | 66 | py | Python | tests/person_api/__init__.py | DerPate/OpenSlides | 2733a47d315fec9b8f3cb746fd5f3739be225d65 | [
"MIT"
] | 1 | 2015-03-22T02:07:23.000Z | 2015-03-22T02:07:23.000Z | tests/person_api/__init__.py | frauenknecht/OpenSlides | 6521d6b095bca33dc0c5f09f59067551800ea1e3 | [
"MIT"
] | null | null | null | tests/person_api/__init__.py | frauenknecht/OpenSlides | 6521d6b095bca33dc0c5f09f59067551800ea1e3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
VERSION = (9999, 9999, 9999, 'alpha', 1)
| 16.5 | 40 | 0.530303 | 9 | 66 | 3.888889 | 0.777778 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264151 | 0.19697 | 66 | 3 | 41 | 22 | 0.396226 | 0.318182 | 0 | 0 | 0 | 0 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c39d89e68aaeb3ce221e0bed03494d65f2e5beea | 160 | py | Python | blog/context_processors/main_menu.py | evg-dev/pyblog | 23c93f5fb37aeec73e70746f172565fa434aeccb | [
"MIT"
] | null | null | null | blog/context_processors/main_menu.py | evg-dev/pyblog | 23c93f5fb37aeec73e70746f172565fa434aeccb | [
"MIT"
] | 5 | 2020-06-05T17:38:56.000Z | 2022-03-11T23:16:50.000Z | blog/context_processors/main_menu.py | evg-dev/pyblog | 23c93f5fb37aeec73e70746f172565fa434aeccb | [
"MIT"
] | null | null | null | from django.core.context_processors import request
from blog.models import Category
def menu(request):
return {"category_menu": Category.objects.all(), }
| 22.857143 | 54 | 0.775 | 21 | 160 | 5.809524 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 160 | 6 | 55 | 26.666667 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
613aca4eb4f7c2ebbdbad73b9c50970865e61c98 | 20 | py | Python | hello.py | AbishekFiaz/Intern | dd00a178385912a6f45750619a309e80a395e260 | [
"MIT"
] | 1 | 2021-04-13T11:58:16.000Z | 2021-04-13T11:58:16.000Z | hello.py | AbishekFiaz/Intern | dd00a178385912a6f45750619a309e80a395e260 | [
"MIT"
] | null | null | null | hello.py | AbishekFiaz/Intern | dd00a178385912a6f45750619a309e80a395e260 | [
"MIT"
] | null | null | null | print('Hello Fiaz')
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
613b2d5ba8d4d98a00c1a042f77afed5674c9fb5 | 52 | py | Python | jupyterlabpymolpysnips/Programming/renumResi.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlabpymolpysnips/Programming/renumResi.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlabpymolpysnips/Programming/renumResi.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | cmd.do('alter 3fa0, resi=str(int(resi)+100);sort;')
| 26 | 51 | 0.673077 | 10 | 52 | 3.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0.057692 | 52 | 1 | 52 | 52 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0.788462 | 0.557692 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
619a49b7db842d5b575b1287cc318d0b613403d3 | 167 | py | Python | tests/pbraiders/database/adapter/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | 1 | 2021-03-30T14:41:29.000Z | 2021-03-30T14:41:29.000Z | tests/pbraiders/database/adapter/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | null | null | null | tests/pbraiders/database/adapter/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | null | null | null | from .abstract import AbstractAdapter
from .pymysql import PyMySQLAdapter
from .adapterfactory import AdapterFactory
from .pymysqlfactory import PyMySQLAdapterFactory
| 33.4 | 49 | 0.88024 | 16 | 167 | 9.1875 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095808 | 167 | 4 | 50 | 41.75 | 0.97351 | 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 |
f63ad693c777b14d824022681181d14eadc4c0b6 | 89 | py | Python | application/__init__.py | sourcery-ai-bot/pingpanapeng | e6a894fddff38c3750f44eaed320fcf8941f38e3 | [
"MIT"
] | null | null | null | application/__init__.py | sourcery-ai-bot/pingpanapeng | e6a894fddff38c3750f44eaed320fcf8941f38e3 | [
"MIT"
] | null | null | null | application/__init__.py | sourcery-ai-bot/pingpanapeng | e6a894fddff38c3750f44eaed320fcf8941f38e3 | [
"MIT"
] | null | null | null | from .application import Application
def setup(bot):
bot.add_cog(Application(bot))
| 14.833333 | 36 | 0.752809 | 12 | 89 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 37 | 17.8 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c9e16d869cc36869514f8ec305fddc2450d192b | 75 | py | Python | appify/ui/__init__.py | sylvaus/appify | 269dd0977100fc04c74c0d92dbdd0416de468b00 | [
"MIT"
] | null | null | null | appify/ui/__init__.py | sylvaus/appify | 269dd0977100fc04c74c0d92dbdd0416de468b00 | [
"MIT"
] | 2 | 2019-05-10T11:56:11.000Z | 2019-07-06T17:23:13.000Z | appify/ui/__init__.py | sylvaus/appify | 269dd0977100fc04c74c0d92dbdd0416de468b00 | [
"MIT"
] | null | null | null | from appify.ui.ui import Guifier # noqa: F401 used to avoid longer import
| 37.5 | 74 | 0.773333 | 13 | 75 | 4.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.173333 | 75 | 1 | 75 | 75 | 0.887097 | 0.506667 | 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 |
9cb7b4950e3cbac113db90a2cff51cc2b0efc6fd | 2,249 | py | Python | test_player.py | gguilherme42/game_of_the_old | bb1fa6d98b6e19f094da49f2047f98119db0d855 | [
"MIT"
] | null | null | null | test_player.py | gguilherme42/game_of_the_old | bb1fa6d98b6e19f094da49f2047f98119db0d855 | [
"MIT"
] | null | null | null | test_player.py | gguilherme42/game_of_the_old | bb1fa6d98b6e19f094da49f2047f98119db0d855 | [
"MIT"
] | null | null | null | import unittest
from player import Player
class PlayerTest(unittest.TestCase):
def setUp(self):
self.player_1 = Player()
def test_when_the_players_input_its_out_of_range(self):
previous_len = len(self.player_1.choices)
self.player_1.add_choice('C4')
last_len = len(se... | 29.592105 | 77 | 0.654958 | 318 | 2,249 | 4.248428 | 0.194969 | 0.259067 | 0.284974 | 0.248705 | 0.76906 | 0.76906 | 0.712805 | 0.661732 | 0.661732 | 0.589933 | 0 | 0.035859 | 0.231214 | 2,249 | 76 | 78 | 29.592105 | 0.745518 | 0 | 0 | 0.54902 | 0 | 0 | 0.035111 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 1 | 0.176471 | false | 0 | 0.039216 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 |
9ced2f00e8ac91755830d2cc3e99c51a3407e58b | 354 | py | Python | ISS/exceptions.py | justinm1295/ISS.py | a71bf87afc251bc408f6fc3b22af55471863897f | [
"MIT"
] | 2 | 2019-07-28T17:07:51.000Z | 2020-05-12T01:07:47.000Z | ISS/exceptions.py | justinm1295/ISS.py | a71bf87afc251bc408f6fc3b22af55471863897f | [
"MIT"
] | null | null | null | ISS/exceptions.py | justinm1295/ISS.py | a71bf87afc251bc408f6fc3b22af55471863897f | [
"MIT"
] | null | null | null | class LocationFailureException(Exception):
pass
class BadLatitudeException(Exception):
pass
class BadLongitudeException(Exception):
pass
class BadAltitudeException(Exception):
pass
class BadNumberException(Exception):
pass
class GetPassesException(Exception):
pass
class AstronautFail... | 13.111111 | 43 | 0.768362 | 28 | 354 | 9.714286 | 0.357143 | 0.334559 | 0.397059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172316 | 354 | 26 | 44 | 13.615385 | 0.928328 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.571429 | 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 |
141bb69c46044f692da45c799cbba63f0f740b09 | 33 | py | Python | bot/bot/__main__.py | TSPS-Team/Project | b1d83cb7957420b8348939f0a1d36f506095519c | [
"MIT"
] | null | null | null | bot/bot/__main__.py | TSPS-Team/Project | b1d83cb7957420b8348939f0a1d36f506095519c | [
"MIT"
] | null | null | null | bot/bot/__main__.py | TSPS-Team/Project | b1d83cb7957420b8348939f0a1d36f506095519c | [
"MIT"
] | null | null | null | from .new_main import main
main() | 16.5 | 26 | 0.787879 | 6 | 33 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 2 | 27 | 16.5 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 |
1428e05b27e7d6d1b450eba6df963ff775cc8df4 | 19 | py | Python | stripe/version.py | jameshageman-stripe/stripe-python | ab500708e2970d1962e25ee1fbc8634eb6d946cf | [
"MIT"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | stripe/version.py | jameshageman-stripe/stripe-python | ab500708e2970d1962e25ee1fbc8634eb6d946cf | [
"MIT"
] | null | null | null | stripe/version.py | jameshageman-stripe/stripe-python | ab500708e2970d1962e25ee1fbc8634eb6d946cf | [
"MIT"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | VERSION = '2.17.0'
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
14300beed3f95fef7dce0c1af0efb0dbc1cea1cb | 5,252 | py | Python | caffe2/python/operator_test/group_norm_op_test.py | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 60,067 | 2017-01-18T17:21:31.000Z | 2022-03-31T21:37:45.000Z | caffe2/python/operator_test/group_norm_op_test.py | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 66,955 | 2017-01-18T17:21:38.000Z | 2022-03-31T23:56:11.000Z | caffe2/python/operator_test/group_norm_op_test.py | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 19,210 | 2017-01-18T17:45:04.000Z | 2022-03-31T23:51:56.000Z |
from caffe2.python import core
import caffe2.python.hypothesis_test_util as hu
import caffe2.python.serialized_test.serialized_test_util as serial
from hypothesis import given, settings
import hypothesis.strategies as st
import numpy as np
import unittest
class TestGroupNormOp(serial.SerializedTestCase):
de... | 34.103896 | 77 | 0.518088 | 745 | 5,252 | 3.574497 | 0.139597 | 0.060083 | 0.052572 | 0.048066 | 0.78896 | 0.770184 | 0.764927 | 0.757792 | 0.757792 | 0.728502 | 0 | 0.032367 | 0.323496 | 5,252 | 153 | 78 | 34.326797 | 0.71714 | 0 | 0 | 0.634328 | 0 | 0 | 0.02763 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 1 | 0.052239 | false | 0 | 0.052239 | 0 | 0.156716 | 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 |
1430b538752e633ff021d89df12ab2af6d5f2e9a | 238 | py | Python | iati/guidance_and_support/apps.py | andylolz/IATI-Standard-Website | b781b9fe6b6430f93826e530e9560183bf8fd310 | [
"MIT"
] | 4 | 2019-03-28T06:42:17.000Z | 2021-06-06T13:10:51.000Z | iati/guidance_and_support/apps.py | andylolz/IATI-Standard-Website | b781b9fe6b6430f93826e530e9560183bf8fd310 | [
"MIT"
] | 177 | 2018-09-28T14:21:56.000Z | 2022-03-30T21:45:26.000Z | iati/guidance_and_support/apps.py | andylolz/IATI-Standard-Website | b781b9fe6b6430f93826e530e9560183bf8fd310 | [
"MIT"
] | 8 | 2018-10-25T20:43:10.000Z | 2022-03-17T14:19:27.000Z | """Application configuration for the guidance_and_support app."""
from django.apps import AppConfig
class GuidanceAndSupportConfig(AppConfig):
"""Config class for the guidance_and_support app."""
name = 'guidance_and_support'
| 23.8 | 65 | 0.773109 | 28 | 238 | 6.357143 | 0.607143 | 0.185393 | 0.303371 | 0.191011 | 0.303371 | 0.303371 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138655 | 238 | 9 | 66 | 26.444444 | 0.868293 | 0.445378 | 0 | 0 | 0 | 0 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
14427c1514bd1a9dd8473d0e771b3cfc6f08922b | 48 | py | Python | data/processing/__init__.py | WadhwaniAI/covid-modelling | db9f89bfbec392ad4de6b4583cfab7c3d823c1c9 | [
"MIT"
] | 3 | 2021-06-23T10:27:11.000Z | 2022-02-09T07:50:42.000Z | data/processing/__init__.py | WadhwaniAI/covid-modelling | db9f89bfbec392ad4de6b4583cfab7c3d823c1c9 | [
"MIT"
] | 3 | 2021-06-23T09:36:29.000Z | 2022-01-13T03:38:16.000Z | data/processing/__init__.py | WadhwaniAI/covid-modelling | db9f89bfbec392ad4de6b4583cfab7c3d823c1c9 | [
"MIT"
] | null | null | null | from data.processing.processing import get_data
| 24 | 47 | 0.875 | 7 | 48 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 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 |
1490720f4e98de1ad19625ca2471e38e23f98142 | 90 | py | Python | python/PaxHeaders.127271/setup.py | ictyangye/ovs-c2ratelimiter | c0e1ada35b3b5f2524fbba6324c9e996e84ac9bc | [
"Apache-2.0"
] | null | null | null | python/PaxHeaders.127271/setup.py | ictyangye/ovs-c2ratelimiter | c0e1ada35b3b5f2524fbba6324c9e996e84ac9bc | [
"Apache-2.0"
] | null | null | null | python/PaxHeaders.127271/setup.py | ictyangye/ovs-c2ratelimiter | c0e1ada35b3b5f2524fbba6324c9e996e84ac9bc | [
"Apache-2.0"
] | null | null | null | 30 mtime=1527291425.661873739
30 atime=1527291425.777874152
30 ctime=1527291454.665972637
| 22.5 | 29 | 0.866667 | 12 | 90 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0.066667 | 90 | 3 | 30 | 30 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1ae88bd61ff84745ee473d9003ab5c9eb2c8439b | 54 | py | Python | example_project/carts/models/__init__.py | aino/django-nimda | 334709c64cb253c0d1b5676850bd2d8ff9b8bea4 | [
"BSD-3-Clause"
] | null | null | null | example_project/carts/models/__init__.py | aino/django-nimda | 334709c64cb253c0d1b5676850bd2d8ff9b8bea4 | [
"BSD-3-Clause"
] | 7 | 2020-06-05T17:01:18.000Z | 2022-03-11T23:12:34.000Z | example_project/carts/models/__init__.py | aino/django-nimda | 334709c64cb253c0d1b5676850bd2d8ff9b8bea4 | [
"BSD-3-Clause"
] | null | null | null | from .cart import Cart
from .cartitem import CartItem
| 18 | 30 | 0.814815 | 8 | 54 | 5.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 31 | 27 | 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 |
1afeb72d29b4e94d774b2d06fbad31dd8a9921c9 | 6,459 | py | Python | tests/test_inputs.py | kennguyen01/jab | 97bc2d074fe63f81f2fbe06685e9cbeaef7354e7 | [
"MIT"
] | null | null | null | tests/test_inputs.py | kennguyen01/jab | 97bc2d074fe63f81f2fbe06685e9cbeaef7354e7 | [
"MIT"
] | 2 | 2021-06-02T00:58:37.000Z | 2021-06-10T13:34:20.000Z | tests/test_inputs.py | kennguyen01/jab | 97bc2d074fe63f81f2fbe06685e9cbeaef7354e7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from unittest.mock import patch
from unittest import TestCase
from inputs import UserInputs
class TestInputJobs(TestCase):
def setUp(self):
self.inputs = UserInputs()
def tearDown(self):
del self.inputs
@patch("builtins.input", return_value="")
def test_n... | 32.457286 | 78 | 0.609227 | 745 | 6,459 | 5.091275 | 0.136913 | 0.139731 | 0.098866 | 0.089639 | 0.783812 | 0.767203 | 0.767203 | 0.767203 | 0.757712 | 0.665964 | 0 | 0.000207 | 0.251432 | 6,459 | 198 | 79 | 32.621212 | 0.784281 | 0.003251 | 0 | 0.5625 | 0 | 0 | 0.144011 | 0.003262 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.175 | false | 0 | 0.01875 | 0 | 0.21875 | 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 |
215a8c6e4e99fdaf6d9bdc4834294fe7a3776c92 | 72 | py | Python | redbeat/__init__.py | nigel-gott/redbeat | 4dc2b924026ba9a460cbe6f550a9275d14cbf2be | [
"Apache-2.0"
] | 746 | 2016-02-18T22:40:49.000Z | 2022-03-30T22:20:25.000Z | redbeat/__init__.py | nigel-gott/redbeat | 4dc2b924026ba9a460cbe6f550a9275d14cbf2be | [
"Apache-2.0"
] | 178 | 2015-08-21T17:00:21.000Z | 2022-03-22T00:33:09.000Z | redbeat/__init__.py | nigel-gott/redbeat | 4dc2b924026ba9a460cbe6f550a9275d14cbf2be | [
"Apache-2.0"
] | 118 | 2016-05-16T15:56:08.000Z | 2022-03-15T00:33:39.000Z | from .schedulers import RedBeatScheduler, RedBeatSchedulerEntry # noqa
| 36 | 71 | 0.847222 | 6 | 72 | 10.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 1 | 72 | 72 | 0.953125 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b4a21f4268243f83feff8969da6ab3dcb197c289 | 69 | py | Python | horoscofox/signs/sign.py | xofoloapp/pyhoroscofox | 5f1e00e270baa0fda64b71c6d1f91972e5b116ae | [
"MIT"
] | 4 | 2018-03-30T14:05:13.000Z | 2020-08-06T10:41:17.000Z | horoscofox/signs/sign.py | xofoloapp/pyhoroscofox | 5f1e00e270baa0fda64b71c6d1f91972e5b116ae | [
"MIT"
] | 3 | 2018-10-29T20:39:44.000Z | 2019-10-19T16:14:03.000Z | horoscofox/signs/sign.py | xofoloapp/pyhoroscofox | 5f1e00e270baa0fda64b71c6d1f91972e5b116ae | [
"MIT"
] | 1 | 2018-03-29T00:05:41.000Z | 2018-03-29T00:05:41.000Z | class Sign():
def __init__(self, sign):
self.sign = sign
| 17.25 | 29 | 0.57971 | 9 | 69 | 4 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289855 | 69 | 3 | 30 | 23 | 0.734694 | 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 |
b4a3e7ff20d469136fa66e6b87728debd58f284d | 343 | py | Python | src/ApisDbInitializer.py | ytyaru0/DbInitializer.20180222164330 | 3ae4ea6c62018e356d371e640bdc693a3cb6dacb | [
"CC0-1.0"
] | null | null | null | src/ApisDbInitializer.py | ytyaru0/DbInitializer.20180222164330 | 3ae4ea6c62018e356d371e640bdc693a3cb6dacb | [
"CC0-1.0"
] | null | null | null | src/ApisDbInitializer.py | ytyaru0/DbInitializer.20180222164330 | 3ae4ea6c62018e356d371e640bdc693a3cb6dacb | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import DbInitializer
class ApisDbInitializer(DbInitializer.DbInitializer): pass
if __name__ == "__main__":
assert issubclass(ApisDbInitializer().__class__, DbInitializer.DbInitializer)
assert isinstance(ApisDbInitializer(), DbInitializer.DbInitializer)
ApisDbIn... | 34.3 | 81 | 0.77551 | 30 | 343 | 8.466667 | 0.633333 | 0.307087 | 0.338583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003257 | 0.104956 | 343 | 9 | 82 | 38.111111 | 0.824104 | 0.122449 | 0 | 0 | 0 | 0 | 0.026756 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0.166667 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b4d85fee935287a22a4786387ce2df26d7805e46 | 19 | py | Python | examples/repr/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/repr/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/repr/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print(repr('foo'))
| 9.5 | 18 | 0.631579 | 3 | 19 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 19 | 1 | 19 | 19 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 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 |
b4dc69d3f8839f0b5d73fdb41e952b3a6695ffaf | 135 | py | Python | preimutils/object_detection/yolo/__init__.py | ArianAmani/preimutils | d4f79525caae322d94d97febc4654229a2eb7407 | [
"MIT"
] | null | null | null | preimutils/object_detection/yolo/__init__.py | ArianAmani/preimutils | d4f79525caae322d94d97febc4654229a2eb7407 | [
"MIT"
] | null | null | null | preimutils/object_detection/yolo/__init__.py | ArianAmani/preimutils | d4f79525caae322d94d97febc4654229a2eb7407 | [
"MIT"
] | null | null | null | from . import coco2yolo
from .img_aug import AMRLImageAug
from . import train_validation_sep
from .validating_data import check_dataset | 33.75 | 42 | 0.859259 | 19 | 135 | 5.842105 | 0.684211 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.111111 | 135 | 4 | 42 | 33.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
b4dff30d936d1f476582c1d0580b73b501514d6e | 31 | py | Python | tests/json_api/__init__.py | dailymuse/oz | f4fec5078bba3258a15504247394339a100487de | [
"BSD-3-Clause"
] | 36 | 2015-01-24T15:38:07.000Z | 2021-01-26T06:24:43.000Z | tests/blinks/__init__.py | dailymuse/oz | f4fec5078bba3258a15504247394339a100487de | [
"BSD-3-Clause"
] | 25 | 2015-03-02T16:44:01.000Z | 2020-09-25T20:07:06.000Z | tests/blinks/__init__.py | dailymuse/oz | f4fec5078bba3258a15504247394339a100487de | [
"BSD-3-Clause"
] | 4 | 2016-01-15T18:27:10.000Z | 2017-11-15T01:18:55.000Z | from .test_middleware import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b4ebffd1c3b8b455270048e28fb869006a266cef | 982 | py | Python | server/config.py | sebwink/deregnet-rest | 5f6476e4f88659e1f1c654a710e202782873e696 | [
"BSD-3-Clause"
] | null | null | null | server/config.py | sebwink/deregnet-rest | 5f6476e4f88659e1f1c654a710e202782873e696 | [
"BSD-3-Clause"
] | null | null | null | server/config.py | sebwink/deregnet-rest | 5f6476e4f88659e1f1c654a710e202782873e696 | [
"BSD-3-Clause"
] | 1 | 2018-01-30T18:38:56.000Z | 2018-01-30T18:38:56.000Z | import os
class Config:
@classmethod
def get(cls, envvar):
return os.environ.get(envvar)
@classmethod
def mongo_host(cls):
return str(cls.get('MONGO_HOST'))
@classmethod
def mongo_port(cls):
return int(cls.get('MONGO_PORT'))
@classmethod
def mongo_user(cls):
... | 19.64 | 45 | 0.59776 | 121 | 982 | 4.735537 | 0.206612 | 0.268761 | 0.125654 | 0.157068 | 0.329843 | 0.329843 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279022 | 982 | 49 | 46 | 20.040816 | 0.809322 | 0 | 0 | 0.297297 | 0 | 0 | 0.09776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0.054054 | 0.027027 | 0.27027 | 0.675676 | 0 | 0 | 0 | 0 | null | 1 | 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 |
3705f430915b1718d1160c478ba83b33ff8460d1 | 14,275 | py | Python | tests/deprecated/test_terms.py | dmpayton/reqlon | 69ea152acaed1bf4d5a6219e23e8af46f77fb9ee | [
"MIT"
] | null | null | null | tests/deprecated/test_terms.py | dmpayton/reqlon | 69ea152acaed1bf4d5a6219e23e8af46f77fb9ee | [
"MIT"
] | null | null | null | tests/deprecated/test_terms.py | dmpayton/reqlon | 69ea152acaed1bf4d5a6219e23e8af46f77fb9ee | [
"MIT"
] | null | null | null | import geojson
import reqon.deprecated as reqon
import rethinkdb as r
import unittest
import pytest
from reqon.deprecated import terms
from .utils import ReQONTestMixin
class TermsTests(ReQONTestMixin, unittest.TestCase):
def setUp(self):
self.reql = r.table('movies')
# Expand Path
def test_ex... | 36.508951 | 115 | 0.622347 | 1,820 | 14,275 | 4.8 | 0.065934 | 0.083333 | 0.128434 | 0.083104 | 0.855197 | 0.84272 | 0.820284 | 0.732372 | 0.683837 | 0.559524 | 0 | 0.028622 | 0.209457 | 14,275 | 390 | 116 | 36.602564 | 0.745503 | 0.010088 | 0 | 0.338776 | 0 | 0 | 0.077899 | 0 | 0 | 0 | 0 | 0 | 0.240816 | 1 | 0.204082 | false | 0 | 0.028571 | 0 | 0.236735 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
370a53ceed296e3cc7c390084feb6c7c91c74e36 | 21 | py | Python | sk.py | timeswarner/hfsk | 93bea20e117f7866afa78fddb2fce649b5da6d6b | [
"Apache-2.0"
] | null | null | null | sk.py | timeswarner/hfsk | 93bea20e117f7866afa78fddb2fce649b5da6d6b | [
"Apache-2.0"
] | null | null | null | sk.py | timeswarner/hfsk | 93bea20e117f7866afa78fddb2fce649b5da6d6b | [
"Apache-2.0"
] | null | null | null | print("终于学会了GitHub!") | 21 | 21 | 0.761905 | 2 | 21 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 21 | 1 | 21 | 21 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 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 |
371e5f7293800a264791229d5417583d720f82d9 | 168 | py | Python | rna-transcription/rna_transcription.py | philcleveland/exercism_python | bf0be451bbddf40ccc9967149d7259f4810d9972 | [
"MIT"
] | null | null | null | rna-transcription/rna_transcription.py | philcleveland/exercism_python | bf0be451bbddf40ccc9967149d7259f4810d9972 | [
"MIT"
] | null | null | null | rna-transcription/rna_transcription.py | philcleveland/exercism_python | bf0be451bbddf40ccc9967149d7259f4810d9972 | [
"MIT"
] | null | null | null | dna_to_rna_map = {
"G" : "C",
"C" : "G",
"T" : "A",
"A" : "U"
}
def to_rna(dna_strand):
return "".join([dna_to_rna_map[nuc] for nuc in dna_strand]) | 18.666667 | 63 | 0.511905 | 29 | 168 | 2.655172 | 0.551724 | 0.194805 | 0.207792 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 168 | 9 | 63 | 18.666667 | 0.620968 | 0 | 0 | 0 | 0 | 0 | 0.047337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0.125 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
2e99f8ae8309ef1a0a4046d8fb418f973e903829 | 77 | py | Python | alpha_viergewinnt/inspector/__init__.py | wahtak/alpha_viergewinnt | 569b66e656722387e450f72842ed7fe8c7d1a732 | [
"MIT"
] | null | null | null | alpha_viergewinnt/inspector/__init__.py | wahtak/alpha_viergewinnt | 569b66e656722387e450f72842ed7fe8c7d1a732 | [
"MIT"
] | null | null | null | alpha_viergewinnt/inspector/__init__.py | wahtak/alpha_viergewinnt | 569b66e656722387e450f72842ed7fe8c7d1a732 | [
"MIT"
] | null | null | null | from .interface import set_logger, log
from .value_logger import ValueLogger
| 25.666667 | 38 | 0.844156 | 11 | 77 | 5.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 77 | 2 | 39 | 38.5 | 0.926471 | 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 |
2ede38ad7583c8205a6430a05d9b954433f93920 | 409 | py | Python | timeline_api/graphql_api/model/group.py | Gasper/timelines | 2a124361d9ce13c3be189ade6f65424d732d8044 | [
"Apache-2.0",
"MIT"
] | null | null | null | timeline_api/graphql_api/model/group.py | Gasper/timelines | 2a124361d9ce13c3be189ade6f65424d732d8044 | [
"Apache-2.0",
"MIT"
] | null | null | null | timeline_api/graphql_api/model/group.py | Gasper/timelines | 2a124361d9ce13c3be189ade6f65424d732d8044 | [
"Apache-2.0",
"MIT"
] | null | null | null | from graphene import ObjectType, String, ID
class Group(ObjectType):
id = ID()
name = String()
category_id = String()
@staticmethod
def resolve_id(group, info):
return group.get('id')
@staticmethod
def resolve_name(group, info):
return group.get('name')
@stati... | 22.722222 | 43 | 0.633252 | 48 | 409 | 5.270833 | 0.333333 | 0.118577 | 0.26087 | 0.237154 | 0.288538 | 0.197628 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259169 | 409 | 18 | 44 | 22.722222 | 0.834984 | 0 | 0 | 0.214286 | 0 | 0 | 0.041463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.214286 | 0.785714 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
25b55f5372e9a508e921777f0c2558284be7252c | 25 | py | Python | atividade1.py | Guilherme068/LogicaDeProgama-o | 0a3d0b9421e87ff118c577d6700fb8220e97408a | [
"MIT"
] | null | null | null | atividade1.py | Guilherme068/LogicaDeProgama-o | 0a3d0b9421e87ff118c577d6700fb8220e97408a | [
"MIT"
] | null | null | null | atividade1.py | Guilherme068/LogicaDeProgama-o | 0a3d0b9421e87ff118c577d6700fb8220e97408a | [
"MIT"
] | null | null | null | print("Olá professor")
| 8.333333 | 23 | 0.68 | 3 | 25 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 2 | 24 | 12.5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d3348c0f3490fb69859b1ff94ad8c5c0c5a6684e | 12 | py | Python | login.py | laao-ren/test_17 | 8d148b4b8f502687ab8cd551749881194f2cd7a7 | [
"MIT"
] | null | null | null | login.py | laao-ren/test_17 | 8d148b4b8f502687ab8cd551749881194f2cd7a7 | [
"MIT"
] | null | null | null | login.py | laao-ren/test_17 | 8d148b4b8f502687ab8cd551749881194f2cd7a7 | [
"MIT"
] | null | null | null | num = 1
123
| 4 | 7 | 0.583333 | 3 | 12 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.333333 | 12 | 2 | 8 | 6 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d338bd044c65d67400f239c8b3c50cae658c2d46 | 55 | py | Python | models/modules/__init__.py | jay-z007/neumann-optimizer | c931631346a1097d198983684d7c68d91ae82d39 | [
"MIT"
] | 10 | 2018-10-25T04:37:30.000Z | 2019-03-08T15:05:27.000Z | models/modules/__init__.py | jay-z007/neumann-optimizer | c931631346a1097d198983684d7c68d91ae82d39 | [
"MIT"
] | null | null | null | models/modules/__init__.py | jay-z007/neumann-optimizer | c931631346a1097d198983684d7c68d91ae82d39 | [
"MIT"
] | 3 | 2018-05-07T19:08:57.000Z | 2019-09-04T06:22:11.000Z | #Nothing much here except import
from .Net import Net
| 13.75 | 32 | 0.781818 | 9 | 55 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 55 | 3 | 33 | 18.333333 | 0.955556 | 0.563636 | 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 |
d35007f22c9c256c545b0d67c997255f14e7cf0c | 161 | py | Python | LABORATORIO 4/ejercicio 4 laboratorio 4.py | msolivera/Phyton | 1322fa2ff4bb06a17350fefa7e5268c0969e5b53 | [
"bzip2-1.0.6"
] | null | null | null | LABORATORIO 4/ejercicio 4 laboratorio 4.py | msolivera/Phyton | 1322fa2ff4bb06a17350fefa7e5268c0969e5b53 | [
"bzip2-1.0.6"
] | null | null | null | LABORATORIO 4/ejercicio 4 laboratorio 4.py | msolivera/Phyton | 1322fa2ff4bb06a17350fefa7e5268c0969e5b53 | [
"bzip2-1.0.6"
] | null | null | null | def dibujo (base,altura):
dibujo=print("x"*base)
for fila in range (altura):
print("x"+" "*(base-2)+"x")
dibujo=print("x"*base)
dibujo(7,5)
| 20.125 | 35 | 0.565217 | 25 | 161 | 3.64 | 0.52 | 0.197802 | 0.32967 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.21118 | 161 | 7 | 36 | 23 | 0.692913 | 0 | 0 | 0.333333 | 0 | 0 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d3a371577e6c4b6f44c467d5cd2e6e8e081929b4 | 215 | py | Python | tianshou/utils/__init__.py | cm107/tianshou | 0febf4bc1dc1366d837bab4574664f8116b66819 | [
"MIT"
] | 1 | 2021-01-14T13:21:47.000Z | 2021-01-14T13:21:47.000Z | tianshou/utils/__init__.py | q-learning-trader/tianshou | c97aa4065ee8464bd5897bb86f1f81abd8e2cff9 | [
"MIT"
] | null | null | null | tianshou/utils/__init__.py | q-learning-trader/tianshou | c97aa4065ee8464bd5897bb86f1f81abd8e2cff9 | [
"MIT"
] | 1 | 2020-04-25T13:05:21.000Z | 2020-04-25T13:05:21.000Z | from tianshou.utils.config import tqdm_config
from tianshou.utils.moving_average import MovAvg
from tianshou.utils.log_tools import SummaryWriter
__all__ = [
"MovAvg",
"tqdm_config",
"SummaryWriter",
]
| 21.5 | 50 | 0.767442 | 26 | 215 | 6.038462 | 0.5 | 0.229299 | 0.324841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148837 | 215 | 9 | 51 | 23.888889 | 0.857924 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
6ca6dc1248c77e0e9c391874485bab1139d65f84 | 1,192 | py | Python | passax/exceptions.py | Auax/passax | ee1b58608b3ea30970f285321d0c1821f0452c8b | [
"MIT"
] | 1 | 2021-12-11T22:55:56.000Z | 2021-12-11T22:55:56.000Z | passax/exceptions.py | Auax/passax | ee1b58608b3ea30970f285321d0c1821f0452c8b | [
"MIT"
] | null | null | null | passax/exceptions.py | Auax/passax | ee1b58608b3ea30970f285321d0c1821f0452c8b | [
"MIT"
] | null | null | null | class Error(Exception):
"""
Base class for other exceptions
"""
def __init__(self, *args):
if args:
self.message = args[0]
else:
self.message = None
def __str__(self):
return self.message if self.message else " "
class DatabaseError(Error):
de... | 20.20339 | 53 | 0.634228 | 131 | 1,192 | 5.160305 | 0.206107 | 0.224852 | 0.337278 | 0.221893 | 0.551775 | 0.551775 | 0.551775 | 0.551775 | 0.551775 | 0.497041 | 0 | 0.001109 | 0.243289 | 1,192 | 58 | 54 | 20.551724 | 0.748337 | 0.026007 | 0 | 0.542857 | 0 | 0 | 0.001747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.314286 | false | 0 | 0 | 0.028571 | 0.628571 | 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 | 0 | 1 | 0 | 0 | 5 |
6cb67bb6212bee6b0f6e4e3b242cebb3274af909 | 5,333 | py | Python | days_n_links.py | DanielCaminero87/zoomAutoJoiner | 7ec6a3f5385d40ddeb07cccbf8272533fb21b402 | [
"MIT"
] | null | null | null | days_n_links.py | DanielCaminero87/zoomAutoJoiner | 7ec6a3f5385d40ddeb07cccbf8272533fb21b402 | [
"MIT"
] | null | null | null | days_n_links.py | DanielCaminero87/zoomAutoJoiner | 7ec6a3f5385d40ddeb07cccbf8272533fb21b402 | [
"MIT"
] | null | null | null | import calendar
import datetime
import webbrowser
from periods import *
#get current time
now = datetime.datetime.now()
# math zoom link
def math():
url = "ZOOM LINK HERE"
webbrowser.open(url)
# homeroom zoom link
def homeroom():
url = "ZOOM LINK HERE"
webbrowser.open(url)
# socail studies ... | 21.946502 | 48 | 0.48003 | 605 | 5,333 | 4.231405 | 0.143802 | 0.189844 | 0.098438 | 0.082031 | 0.775 | 0.745313 | 0.71875 | 0.624219 | 0.610938 | 0.610938 | 0 | 0.077784 | 0.363585 | 5,333 | 243 | 49 | 21.946502 | 0.676488 | 0.050628 | 0 | 0.847619 | 0 | 0 | 0.059394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052381 | false | 0.1 | 0.019048 | 0 | 0.071429 | 0.004762 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6ce330b9a0364d6da547ff1f743cf2ef5ad8aa43 | 219 | py | Python | adv_finance/sampling/__init__.py | cw-jang/adv_finance | 240ce03e53fc6eead469a1ce7a220510a78c437e | [
"BSD-3-Clause"
] | 15 | 2019-05-20T04:28:38.000Z | 2021-12-11T06:50:52.000Z | adv_finance/sampling/__init__.py | cw-jang/adv_finance | 240ce03e53fc6eead469a1ce7a220510a78c437e | [
"BSD-3-Clause"
] | null | null | null | adv_finance/sampling/__init__.py | cw-jang/adv_finance | 240ce03e53fc6eead469a1ce7a220510a78c437e | [
"BSD-3-Clause"
] | 2 | 2020-05-16T13:23:30.000Z | 2020-08-13T22:58:08.000Z |
from adv_finance.sampling.co_events import get_num_co_events
from adv_finance.sampling.bootstrap import get_ind_matrix, get_avg_uniqueness, seq_bootstrap
from .weight import get_sample_tw, get_sample_w, get_time_decay | 43.8 | 92 | 0.881279 | 37 | 219 | 4.756757 | 0.567568 | 0.153409 | 0.159091 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077626 | 219 | 5 | 93 | 43.8 | 0.871287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9f536e3ea2f84d580256dcccde208ac0cf47a651 | 49,890 | py | Python | ObitSystem/Obit/python/MosaicUtil.py | sarrvesh/Obit | e4ce6029e9beb2a8c0316ee81ea710b66b2b7986 | [
"Linux-OpenIB"
] | 1 | 2020-09-01T05:30:45.000Z | 2020-09-01T05:30:45.000Z | ObitSystem/Obit/python/MosaicUtil.py | sarrvesh/Obit | e4ce6029e9beb2a8c0316ee81ea710b66b2b7986 | [
"Linux-OpenIB"
] | null | null | null | ObitSystem/Obit/python/MosaicUtil.py | sarrvesh/Obit | e4ce6029e9beb2a8c0316ee81ea710b66b2b7986 | [
"Linux-OpenIB"
] | 1 | 2021-12-22T14:07:41.000Z | 2021-12-22T14:07:41.000Z | # $Id$
#-----------------------------------------------------------------------
# Copyright (C) 2004-2020
# Associated Universities, Inc. Washington DC, USA.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free So... | 43.80158 | 103 | 0.59088 | 6,030 | 49,890 | 4.871476 | 0.094362 | 0.011234 | 0.012562 | 0.011983 | 0.779677 | 0.762928 | 0.730315 | 0.717277 | 0.6992 | 0.680851 | 0 | 0.032554 | 0.285769 | 49,890 | 1,138 | 104 | 43.84007 | 0.791822 | 0.249629 | 0 | 0.715505 | 0 | 0 | 0.092155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012802 | false | 0.002845 | 0.008535 | 0 | 0.036984 | 0.122333 | 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 |
9f99cd89621edcf6d223c5b18f9a1efa44fee8bd | 108 | py | Python | ingredients_characterization/__init__.py | openfoodfacts/off-product-environmental-impact | a78958fec1a21f057339184be27cf299d4fe12d1 | [
"MIT"
] | 3 | 2021-09-07T13:46:25.000Z | 2022-01-12T14:38:29.000Z | ingredients_characterization/__init__.py | openfoodfacts/off-product-environmental-impact | a78958fec1a21f057339184be27cf299d4fe12d1 | [
"MIT"
] | 18 | 2021-09-13T16:19:26.000Z | 2022-03-24T16:22:38.000Z | ingredients_characterization/__init__.py | openfoodfacts/off-product-environmental-impact | a78958fec1a21f057339184be27cf299d4fe12d1 | [
"MIT"
] | null | null | null | """ Scripts used to build the background data used by the impact estimation program from external data. """
| 54 | 107 | 0.768519 | 16 | 108 | 5.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 1 | 108 | 108 | 0.922222 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c992e3e2ec0c7e45bbb88386a31869ba359a574 | 14,203 | py | Python | bb2cogs/backup/music.py | Team-EG/j-bot | 2e160707d13cc4988f370713fc9f57c7cff3f5bb | [
"MIT"
] | 2 | 2020-07-07T01:15:15.000Z | 2021-08-15T19:49:32.000Z | bb2cogs/backup/music.py | Team-EG/j-bot | 2e160707d13cc4988f370713fc9f57c7cff3f5bb | [
"MIT"
] | null | null | null | bb2cogs/backup/music.py | Team-EG/j-bot | 2e160707d13cc4988f370713fc9f57c7cff3f5bb | [
"MIT"
] | 1 | 2020-04-08T04:23:10.000Z | 2020-04-08T04:23:10.000Z | import json
import discord
import os
import youtube_dl
import shutil
import time
from threading import Thread
from discord.ext import commands
from discord.utils import get
from discord import FFmpegPCMAudio
class Music(commands.Cog):
def __init__(self, client):
self.client = client
... | 38.806011 | 112 | 0.497993 | 1,630 | 14,203 | 4.23681 | 0.157055 | 0.052708 | 0.063713 | 0.075297 | 0.78497 | 0.761512 | 0.738633 | 0.686504 | 0.660006 | 0.638141 | 0 | 0.005726 | 0.3852 | 14,203 | 365 | 113 | 38.912329 | 0.785158 | 0.003028 | 0 | 0.716172 | 0 | 0 | 0.166606 | 0.071341 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009901 | false | 0.056106 | 0.033003 | 0 | 0.072607 | 0.0033 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4c9ddf2de5e2404853123535bfde66095e7a1d1b | 387 | py | Python | hw0/install_check.py | amypitts01/data440 | 4900a0a78625614d245b2fd064c6ca74e13049a3 | [
"MIT"
] | 1 | 2020-03-02T12:45:00.000Z | 2020-03-02T12:45:00.000Z | hw0/install_check.py | amypitts01/data440 | 4900a0a78625614d245b2fd064c6ca74e13049a3 | [
"MIT"
] | null | null | null | hw0/install_check.py | amypitts01/data440 | 4900a0a78625614d245b2fd064c6ca74e13049a3 | [
"MIT"
] | null | null | null | import sys
import numpy
import scipy
import sklearn
import matplotlib
import pandas
print (sys.version) #prints python version
print (numpy.__version__) #prints numpy’s version
print (scipy.__version__) #print scipy’s version
print (sklearn.__version__) #print sklearn's version
print (matplotlib.__version__) #print ma... | 29.769231 | 56 | 0.819121 | 51 | 387 | 5.823529 | 0.235294 | 0.323232 | 0.131313 | 0.195286 | 0.188552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 387 | 13 | 57 | 29.769231 | 0.86087 | 0.343669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
4cb82a23a7e0c2b20aa9bdae370feb2b0cf356fb | 201 | py | Python | teste.py | EduardoFockinkSilva/python-exercises | e3fb6ee190f639c9e4e8b2521a8d6605c4f42cbb | [
"MIT"
] | null | null | null | teste.py | EduardoFockinkSilva/python-exercises | e3fb6ee190f639c9e4e8b2521a8d6605c4f42cbb | [
"MIT"
] | null | null | null | teste.py | EduardoFockinkSilva/python-exercises | e3fb6ee190f639c9e4e8b2521a8d6605c4f42cbb | [
"MIT"
] | null | null | null | #test
print('==================================')
print(' this is just a test ')
print('==================================')
num = int(input('insert a number: '))
print((num * 5) % 3)
| 18.272727 | 43 | 0.338308 | 19 | 201 | 3.578947 | 0.684211 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.189055 | 201 | 10 | 44 | 20.1 | 0.404908 | 0.019901 | 0 | 0.4 | 0 | 0 | 0.610256 | 0.348718 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 5 |
4cf8269c10fc7edd7f2eb16be29f68fc9fe8f07d | 264 | py | Python | bspider/master/dao/__init__.py | littlebai3618/bspider | ff4d003cd0825247db4efe62db95f9245c0a303c | [
"BSD-3-Clause"
] | 3 | 2020-06-19T03:52:29.000Z | 2021-05-21T05:50:46.000Z | bspider/master/dao/__init__.py | littlebai3618/bspider | ff4d003cd0825247db4efe62db95f9245c0a303c | [
"BSD-3-Clause"
] | 2 | 2021-03-31T19:39:03.000Z | 2021-05-12T02:10:26.000Z | bspider/master/dao/__init__.py | littlebai3618/bspider | ff4d003cd0825247db4efe62db95f9245c0a303c | [
"BSD-3-Clause"
] | null | null | null | from .chart_dao import ChartDao
from .code_dao import CodeDao
from .cron_dao import CronDao
from .data_source_dao import DataSourceDao
from .node_dao import NodeDao
from .project_dao import ProjectDao
from .tools_dao import ToolsDao
from .user_dao import UserDao
| 26.4 | 42 | 0.844697 | 41 | 264 | 5.219512 | 0.487805 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 264 | 9 | 43 | 29.333333 | 0.926407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
4cfd46e86fa4211c6094e32b6dbf236a449a9bde | 49 | py | Python | radforest/geometry/cylinder.py | njs2168/radforest | 103a03c7ece0981893216c17619976c76100625d | [
"MIT"
] | null | null | null | radforest/geometry/cylinder.py | njs2168/radforest | 103a03c7ece0981893216c17619976c76100625d | [
"MIT"
] | null | null | null | radforest/geometry/cylinder.py | njs2168/radforest | 103a03c7ece0981893216c17619976c76100625d | [
"MIT"
] | null | null | null | """Object representing a cylinder in Radiance.""" | 49 | 49 | 0.755102 | 6 | 49 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.840909 | 0.877551 | 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 |
98055f670634b6ebe600df92f9a9a6ffbbe18413 | 36 | py | Python | ifaces/management/__init__.py | RossBrunton/RThing | 9c9b352b93eab4ff1f841cbca9ea3c1a0d6f6929 | [
"MIT"
] | null | null | null | ifaces/management/__init__.py | RossBrunton/RThing | 9c9b352b93eab4ff1f841cbca9ea3c1a0d6f6929 | [
"MIT"
] | null | null | null | ifaces/management/__init__.py | RossBrunton/RThing | 9c9b352b93eab4ff1f841cbca9ea3c1a0d6f6929 | [
"MIT"
] | null | null | null | """Management modules for ifaces"""
| 18 | 35 | 0.722222 | 4 | 36 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.8125 | 0.805556 | 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 |
980cb88101232ce7453bd744e8e51fd6169fb5d9 | 44,580 | py | Python | web/transiq/restapi/views/owner.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/restapi/views/owner.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/restapi/views/owner.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | from django.db.models import Q
from django.db.models.expressions import RawSQL
from django.utils.decorators import method_decorator
from django.views.decorators.cache import cache_page
from django_filters.rest_framework import DjangoFilterBackend
from rest_framework import viewsets, status, generics, filters
from rest_... | 48.194595 | 120 | 0.605563 | 4,919 | 44,580 | 5.250254 | 0.055702 | 0.031596 | 0.046465 | 0.060404 | 0.776504 | 0.758886 | 0.736738 | 0.730543 | 0.703051 | 0.690041 | 0 | 0.011677 | 0.289255 | 44,580 | 924 | 121 | 48.246753 | 0.803409 | 0.007694 | 0 | 0.661389 | 0 | 0 | 0.100702 | 0.007861 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035323 | false | 0.003654 | 0.040195 | 0.001218 | 0.208283 | 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 |
98114e6d41eec55cde7985c1ba024ac766b738b1 | 157 | py | Python | src/predict_text.py | CMUSTRUDEL/toxicity-detector | aec67bf27184bae89aac0f2566aa19c658949d60 | [
"MIT"
] | 7 | 2020-03-03T18:09:48.000Z | 2022-03-23T16:55:26.000Z | src/predict_text.py | CMUSTRUDEL/toxicity-detector | aec67bf27184bae89aac0f2566aa19c658949d60 | [
"MIT"
] | 7 | 2020-02-23T23:11:30.000Z | 2021-06-02T01:01:30.000Z | src/predict_text.py | CMUSTRUDEL/toxicity-detector | aec67bf27184bae89aac0f2566aa19c658949d60 | [
"MIT"
] | 6 | 2020-02-21T00:19:57.000Z | 2022-03-03T23:00:42.000Z | import pickle
import suite
model = pickle.loads(open("pretrained_model.p","rb").read())
def predict_text(text):
return suite.get_prediction(text,model)
| 15.7 | 60 | 0.757962 | 23 | 157 | 5.043478 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 157 | 9 | 61 | 17.444444 | 0.822695 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
e281a98278d5de1e456e8fa1ee344e455f15ec0e | 266 | py | Python | rasa/nlu/training_data/converters/__init__.py | sarvex/rasa | ac1197b3f80071bb213d4fa66d5d24b4fc01e30e | [
"Apache-2.0"
] | 1 | 2021-07-01T15:38:59.000Z | 2021-07-01T15:38:59.000Z | rasa/nlu/training_data/converters/__init__.py | sarvex/rasa | ac1197b3f80071bb213d4fa66d5d24b4fc01e30e | [
"Apache-2.0"
] | 79 | 2021-08-19T09:49:24.000Z | 2022-03-14T12:10:54.000Z | rasa/nlu/training_data/converters/__init__.py | sarvex/rasa | ac1197b3f80071bb213d4fa66d5d24b4fc01e30e | [
"Apache-2.0"
] | 1 | 2021-07-19T12:59:26.000Z | 2021-07-19T12:59:26.000Z | from rasa.nlu.training_data.converters.nlu_markdown_to_yaml_converter import ( # noqa: F401, E501
NLUMarkdownToYamlConverter,
)
from rasa.nlu.training_data.converters.nlg_markdown_to_yaml_converter import ( # noqa: F401, E501
NLGMarkdownToYamlConverter,
)
| 38 | 98 | 0.81203 | 32 | 266 | 6.4375 | 0.53125 | 0.07767 | 0.106796 | 0.184466 | 0.718447 | 0.718447 | 0.398058 | 0.398058 | 0 | 0 | 0 | 0.050847 | 0.112782 | 266 | 6 | 99 | 44.333333 | 0.822034 | 0.12406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e286e49a978f1ddfcc5d07d4215d2a1cc7d98993 | 100 | py | Python | nagios/exceptions.py | sajalshres/nagios-core-api | d423a7a0699843546586815a2062251510fde7d9 | [
"MIT"
] | null | null | null | nagios/exceptions.py | sajalshres/nagios-core-api | d423a7a0699843546586815a2062251510fde7d9 | [
"MIT"
] | null | null | null | nagios/exceptions.py | sajalshres/nagios-core-api | d423a7a0699843546586815a2062251510fde7d9 | [
"MIT"
] | null | null | null | class NagiosException(Exception):
pass
class NagiosUnexpectedResultError(Exception):
pass
| 14.285714 | 45 | 0.78 | 8 | 100 | 9.75 | 0.625 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 6 | 46 | 16.666667 | 0.928571 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e289edd75a9431695238afd1ac89719c6fbd4724 | 60 | py | Python | aiida_phonoxpy/__init__.py | atztogo/aiida-phonoxpy | ebc806e9057ca5ca47df62773fa3cc4a7fc94ef3 | [
"MIT"
] | 1 | 2021-12-21T09:49:18.000Z | 2021-12-21T09:49:18.000Z | aiida_phonoxpy/__init__.py | atztogo/aiida-phonoxpy | ebc806e9057ca5ca47df62773fa3cc4a7fc94ef3 | [
"MIT"
] | null | null | null | aiida_phonoxpy/__init__.py | atztogo/aiida-phonoxpy | ebc806e9057ca5ca47df62773fa3cc4a7fc94ef3 | [
"MIT"
] | null | null | null | from aiida_phonoxpy.version import __version__ # noqa F401
| 30 | 59 | 0.833333 | 8 | 60 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.133333 | 60 | 1 | 60 | 60 | 0.807692 | 0.15 | 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 |
e290c7bcd1f2947d69b1c5aa9a9a59f814018d65 | 261 | py | Python | maindatabase/admin.py | dragonman164/Database-for-Covid-19-Vaccination-with-API-support | b34c29414967fcdf2d9fb34ed815f5c2752694b6 | [
"MIT"
] | 1 | 2020-12-30T16:31:14.000Z | 2020-12-30T16:31:14.000Z | maindatabase/admin.py | rishusingh022/Database-for-Covid-19-Vaccination-with-API-support | 8d2137f06d10ca620a4fe24ffc34c410b8a78ad6 | [
"MIT"
] | null | null | null | maindatabase/admin.py | rishusingh022/Database-for-Covid-19-Vaccination-with-API-support | 8d2137f06d10ca620a4fe24ffc34c410b8a78ad6 | [
"MIT"
] | 2 | 2020-12-19T19:27:08.000Z | 2021-01-02T07:43:39.000Z | from django.contrib import admin
from .models import Person,report,management,Person_without_Aadhar
admin.site.register(Person)
admin.site.register(report)
admin.site.register(management)
admin.site.register(Person_without_Aadhar)
# Register your models here.
| 29 | 66 | 0.842912 | 36 | 261 | 6 | 0.416667 | 0.166667 | 0.314815 | 0.212963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 261 | 8 | 67 | 32.625 | 0.888889 | 0.099617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
e2b0a9bab1cf77221005e8ce82e59446378bbacd | 101 | py | Python | src/ia_markov/__init__.py | Abelarm/python-ia-markov | 8bef5d620b77a0944924263af6042396cf9b768b | [
"BSD-2-Clause"
] | null | null | null | src/ia_markov/__init__.py | Abelarm/python-ia-markov | 8bef5d620b77a0944924263af6042396cf9b768b | [
"BSD-2-Clause"
] | null | null | null | src/ia_markov/__init__.py | Abelarm/python-ia-markov | 8bef5d620b77a0944924263af6042396cf9b768b | [
"BSD-2-Clause"
] | null | null | null | from .markov import MarkovModel # noqa
from .markov import POSMarkov # noqa
__version__ = "0.2.1"
| 20.2 | 39 | 0.732673 | 14 | 101 | 5 | 0.714286 | 0.285714 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.178218 | 101 | 4 | 40 | 25.25 | 0.807229 | 0.089109 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.