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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71476d24273b92fe2d8be5a37174c2a81da66971 | 207 | py | Python | llvm/utils/gn/build/run_tablegen.py | akashhansda/llvm-project | 32f146010968ded160f54af464673451ad574135 | [
"Apache-2.0"
] | null | null | null | llvm/utils/gn/build/run_tablegen.py | akashhansda/llvm-project | 32f146010968ded160f54af464673451ad574135 | [
"Apache-2.0"
] | null | null | null | llvm/utils/gn/build/run_tablegen.py | akashhansda/llvm-project | 32f146010968ded160f54af464673451ad574135 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""Runs tablegen."""
import subprocess
import sys
# Prefix with ./ to run built binary, not arbitrary stuff from PATH.
sys.exit(subprocess.call(['./' + sys.argv[1]] + sys.argv[2:]))
| 23 | 68 | 0.681159 | 31 | 207 | 4.548387 | 0.806452 | 0.099291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.135266 | 207 | 8 | 69 | 25.875 | 0.77095 | 0.497585 | 0 | 0 | 0 | 0 | 0.020619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
717323a3ee0a914cc1e5bce1b1aa57bf9d98cae3 | 728 | py | Python | openslides_backend/shared/exceptions.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | openslides_backend/shared/exceptions.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | openslides_backend/shared/exceptions.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | class BackendBaseException(Exception):
"""
Base exception for all custom exceptions of this service.
"""
def __init__(self, message: str) -> None:
self.message = message
class AuthenticationException(BackendBaseException):
pass
class ViewException(BackendBaseException):
def __init__... | 19.157895 | 63 | 0.736264 | 65 | 728 | 8.076923 | 0.430769 | 0.274286 | 0.27619 | 0.068571 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190934 | 728 | 37 | 64 | 19.675676 | 0.891341 | 0.078297 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.315789 | 0 | 0 | 0.526316 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7176d1ccaf546862044f044cc5e16c69a62e8abe | 2,307 | py | Python | hack/starlark-builtins.py | tilt-dev/starlark-lsp | 76df2b44bc8af8bfbeeff8f1700fc43e3e81c702 | [
"Apache-2.0"
] | 1 | 2022-03-09T13:34:03.000Z | 2022-03-09T13:34:03.000Z | hack/starlark-builtins.py | tilt-dev/starlark-lsp | 76df2b44bc8af8bfbeeff8f1700fc43e3e81c702 | [
"Apache-2.0"
] | 3 | 2022-03-07T21:02:02.000Z | 2022-03-16T20:58:13.000Z | hack/starlark-builtins.py | tilt-dev/starlark-lsp | 76df2b44bc8af8bfbeeff8f1700fc43e3e81c702 | [
"Apache-2.0"
] | null | null | null | def any(x) -> bool:
pass
def all(x) -> bool:
pass
def bool(x) -> bool:
pass
def bytes(x) -> Bytes:
pass
def dict() -> Dict:
pass
def dir(x) -> List[String]:
pass
def enumerate(x) -> List[Tuple[int, any]]:
pass
def float(x) -> float:
pass
def hasattr(x, name) -> bool:
pass
def hash(x) -> int:
... | 12.816667 | 46 | 0.570004 | 326 | 2,307 | 4.033742 | 0.233129 | 0.292776 | 0.177947 | 0.079848 | 0.164259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283919 | 2,307 | 179 | 47 | 12.888268 | 0.796005 | 0 | 0 | 0.487603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.487603 | false | 0.487603 | 0 | 0 | 0.512397 | 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 | 0 | 1 | 0 | 0 | 4 |
71977cef40b2ecfa170e900621f1f7a397058246 | 144 | py | Python | ecdc_status/maxims/urls.py | ess-dmsc/ecdc-status | 8057b2995f2404b6eac6b6a723f8776137a71328 | [
"BSD-2-Clause"
] | null | null | null | ecdc_status/maxims/urls.py | ess-dmsc/ecdc-status | 8057b2995f2404b6eac6b6a723f8776137a71328 | [
"BSD-2-Clause"
] | null | null | null | ecdc_status/maxims/urls.py | ess-dmsc/ecdc-status | 8057b2995f2404b6eac6b6a723f8776137a71328 | [
"BSD-2-Clause"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.random_maxim),
path('raw/', views.random_raw_maxim),
] | 18 | 41 | 0.6875 | 19 | 144 | 5.052632 | 0.526316 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173611 | 144 | 8 | 42 | 18 | 0.806723 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 4 |
71b3d1d73e10e6f2ce21374ebd35bf60b7a47afc | 9,497 | py | Python | test/testCliProject.py | witrdotnet/gather2gether | 42b12d16351c7311ae84b1f507c6e498882bc5c8 | [
"MIT"
] | 1 | 2020-02-22T22:54:05.000Z | 2020-02-22T22:54:05.000Z | test/testCliProject.py | witrdotnet/gather2gether | 42b12d16351c7311ae84b1f507c6e498882bc5c8 | [
"MIT"
] | 13 | 2020-02-29T05:53:57.000Z | 2020-03-16T07:57:45.000Z | test/testCliProject.py | witrdotnet/gather2gether | 42b12d16351c7311ae84b1f507c6e498882bc5c8 | [
"MIT"
] | null | null | null | import unittest
import click
from click.testing import CliRunner
# init database
from gather2gether.db import g2gDB
from gather2gether.db import *
init_database(g2gDB)
from gather2gether.db.project import project_create, project_find, project_update, project_search, project_delete
from gather2gether.db.task import ta... | 50.248677 | 143 | 0.726966 | 1,108 | 9,497 | 5.887184 | 0.083032 | 0.143339 | 0.066534 | 0.054729 | 0.804844 | 0.751648 | 0.724973 | 0.676989 | 0.648321 | 0.63759 | 0 | 0.005922 | 0.182163 | 9,497 | 188 | 144 | 50.515957 | 0.833913 | 0.010846 | 0 | 0.552147 | 0 | 0 | 0.154223 | 0.05613 | 0 | 0 | 0 | 0 | 0.312883 | 1 | 0.09816 | false | 0 | 0.06135 | 0 | 0.165644 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71b616c8e6254535ba32cac11e5a9215e04fa75c | 186 | py | Python | ws/handler/event/appliance/light/circadian_rhythm/brightness.py | fabaff/automate-ws | a9442f287692787e3f253e1ff23758bec8f3902e | [
"MIT"
] | null | null | null | ws/handler/event/appliance/light/circadian_rhythm/brightness.py | fabaff/automate-ws | a9442f287692787e3f253e1ff23758bec8f3902e | [
"MIT"
] | 1 | 2021-12-21T11:34:47.000Z | 2021-12-21T11:34:47.000Z | ws/handler/event/appliance/light/circadian_rhythm/brightness.py | fabaff/automate-ws | a9442f287692787e3f253e1ff23758bec8f3902e | [
"MIT"
] | 1 | 2021-12-21T10:10:13.000Z | 2021-12-21T10:10:13.000Z | import home
from ws.handler.event.appliance.light.brightness import Handler as Parent
class Handler(Parent):
KLASS = home.appliance.light.event.circadian_rhythm.brightness.Event
| 20.666667 | 73 | 0.806452 | 25 | 186 | 5.96 | 0.6 | 0.187919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 186 | 8 | 74 | 23.25 | 0.90303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
71b9fb98928908b35d8fddf3b8bee7168cf5f13f | 113 | py | Python | code/pyFoamUpdateDictionary.py | sosohungry/pyfoam | b19e40a0ef1f41268930122226660414722178e6 | [
"MIT"
] | null | null | null | code/pyFoamUpdateDictionary.py | sosohungry/pyfoam | b19e40a0ef1f41268930122226660414722178e6 | [
"MIT"
] | null | null | null | code/pyFoamUpdateDictionary.py | sosohungry/pyfoam | b19e40a0ef1f41268930122226660414722178e6 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
from PyFoam.Applications.UpdateDictionary import UpdateDictionary
UpdateDictionary()
| 14.125 | 65 | 0.80531 | 11 | 113 | 8.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 7 | 66 | 16.142857 | 0.91 | 0.185841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 4 |
71c4ccf8892f1f210f06d1ea041663bc48244306 | 1,006 | py | Python | ng_lgas/test_ng_lgas.py | michaelokuboyejo/ng-lgas | db53dff8e4faff99c1dcd200b53c0be23c736358 | [
"MIT"
] | null | null | null | ng_lgas/test_ng_lgas.py | michaelokuboyejo/ng-lgas | db53dff8e4faff99c1dcd200b53c0be23c736358 | [
"MIT"
] | null | null | null | ng_lgas/test_ng_lgas.py | michaelokuboyejo/ng-lgas | db53dff8e4faff99c1dcd200b53c0be23c736358 | [
"MIT"
] | null | null | null | import unittest
from ng_lgas import NG_LGA
ng_lgas = NG_LGA()
class NGLGASTestCase(unittest.TestCase):
def test_get_state_codes_is_not_empty(self):
self.assertFalse(len(ng_lgas.get_state_codes()) == 0)
def test_get_states_is_not_empty(self):
self.assertFalse(len(ng_lgas.get_states()) == 0)
... | 27.189189 | 63 | 0.712724 | 158 | 1,006 | 4.031646 | 0.208861 | 0.153846 | 0.189953 | 0.188383 | 0.723705 | 0.723705 | 0.686028 | 0.686028 | 0.579278 | 0.579278 | 0 | 0.008485 | 0.17992 | 1,006 | 36 | 64 | 27.944444 | 0.763636 | 0 | 0 | 0.272727 | 0 | 0 | 0.026839 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.227273 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71c4e91a1d6af6a44f108f43550e7157e3669960 | 722 | py | Python | wowa/tracker/admin.py | arruda/wowa | 225e53b8de167d4e7be9550edbbd8e1c0c47d039 | [
"MIT"
] | null | null | null | wowa/tracker/admin.py | arruda/wowa | 225e53b8de167d4e7be9550edbbd8e1c0c47d039 | [
"MIT"
] | 1 | 2015-01-12T02:11:10.000Z | 2015-01-12T02:11:10.000Z | wowa/tracker/admin.py | arruda/wowa | 225e53b8de167d4e7be9550edbbd8e1c0c47d039 | [
"MIT"
] | null | null | null | #-*- coding:utf-8 -*-
"""
tracker.admin
~~~~~~~~~~~~~~
tracker admin file
:copyright: (c) 2014 by arruda.
"""
from __future__ import absolute_import
from django.contrib import admin
from .models import Realm
from .models import Item
from .models import Character
from .models import CharacterItem
fro... | 24.066667 | 63 | 0.777008 | 83 | 722 | 6.698795 | 0.325301 | 0.107914 | 0.172662 | 0.215827 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007825 | 0.114958 | 722 | 29 | 64 | 24.896552 | 0.862285 | 0.141274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 4 |
71e3695b64a4926a5bf18e5a641b2364f43b00d7 | 120 | py | Python | sixriver/__init__.py | Shiphero/sixrivers | 893eb0a11cd1572d898fe1f650e033d1d8a40897 | [
"MIT"
] | null | null | null | sixriver/__init__.py | Shiphero/sixrivers | 893eb0a11cd1572d898fe1f650e033d1d8a40897 | [
"MIT"
] | null | null | null | sixriver/__init__.py | Shiphero/sixrivers | 893eb0a11cd1572d898fe1f650e033d1d8a40897 | [
"MIT"
] | 1 | 2020-01-29T19:07:58.000Z | 2020-01-29T19:07:58.000Z | from .client import SixRiverClient, SixRiverClientError
from . import models, schemas, messages
__version__ = "0.0.4"
| 20 | 55 | 0.783333 | 14 | 120 | 6.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 0.133333 | 120 | 5 | 56 | 24 | 0.836538 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e0b212a221172d0012e4b3dc57cd82f1a8570215 | 63 | py | Python | lib/smisk/test/core/__init__.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | 4 | 2015-11-05T11:51:12.000Z | 2020-12-30T18:55:58.000Z | lib/smisk/test/core/__init__.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | 5 | 2021-11-16T17:21:51.000Z | 2021-11-16T17:22:09.000Z | lib/smisk/test/core/__init__.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | null | null | null | # encoding: utf-8
'''Tests regarding the smisk.core module
'''
| 15.75 | 40 | 0.698413 | 9 | 63 | 4.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.142857 | 63 | 3 | 41 | 21 | 0.796296 | 0.857143 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0b489984091f40aad8d53246d318f176b31c5c3 | 676 | py | Python | scripts/build.py | Hildemir/vitaes | d8bed31ea2fd96f19eaec043d43bc5b1e001a1c2 | [
"MIT"
] | 22 | 2019-03-22T01:30:36.000Z | 2021-10-15T23:02:58.000Z | scripts/build.py | Hildemir/vitaes | d8bed31ea2fd96f19eaec043d43bc5b1e001a1c2 | [
"MIT"
] | 190 | 2019-03-02T15:14:49.000Z | 2022-02-26T11:02:49.000Z | scripts/build.py | Hildemir/vitaes | d8bed31ea2fd96f19eaec043d43bc5b1e001a1c2 | [
"MIT"
] | 14 | 2019-03-02T20:37:42.000Z | 2020-10-21T21:36:45.000Z | import os
from vitaes_parser import env
if env == 'production' or env == 'staging':
print('Building for %s environment...' % env)
print()
os.system('docker build --tag latexos latexos/')
os.system('docker build --tag webapp webapp/')
os.system('docker build --tag renderer renderer/')
os.system(... | 33.8 | 54 | 0.661243 | 87 | 676 | 5.126437 | 0.344828 | 0.125561 | 0.219731 | 0.255605 | 0.295964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193787 | 676 | 20 | 55 | 33.8 | 0.818349 | 0 | 0 | 0.210526 | 0 | 0 | 0.533235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.105263 | 0 | 0.105263 | 0.421053 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e0b57aa3b65214cceb53550ee81fd858873661d4 | 10,335 | py | Python | tests/test_snapshot.py | kklein/icontract | 718ef1733cc2cce6d3c8f59a5a37de96f8be6664 | [
"MIT"
] | 244 | 2018-08-15T22:58:58.000Z | 2022-03-12T16:10:39.000Z | tests/test_snapshot.py | kklein/icontract | 718ef1733cc2cce6d3c8f59a5a37de96f8be6664 | [
"MIT"
] | 157 | 2018-08-29T21:36:47.000Z | 2022-02-14T19:30:24.000Z | tests/test_snapshot.py | kklein/icontract | 718ef1733cc2cce6d3c8f59a5a37de96f8be6664 | [
"MIT"
] | 23 | 2019-04-24T11:09:10.000Z | 2022-02-14T15:56:26.000Z | # pylint: disable=missing-docstring
# pylint: disable=invalid-name
# pylint: disable=unnecessary-lambda
# pylint: disable=unused-argument
# pylint: disable=no-self-use
import textwrap
import unittest
from typing import List, Optional # pylint: disable=unused-import
import icontract
import tests.error
class TestOK(u... | 38.277778 | 120 | 0.594098 | 1,311 | 10,335 | 4.519451 | 0.102212 | 0.026329 | 0.06211 | 0.056709 | 0.788186 | 0.762363 | 0.728945 | 0.716456 | 0.689789 | 0.675612 | 0 | 0.01213 | 0.298016 | 10,335 | 269 | 121 | 38.420074 | 0.804549 | 0.076439 | 0 | 0.668342 | 0 | 0 | 0.183165 | 0.004834 | 0 | 0 | 0 | 0 | 0.110553 | 1 | 0.150754 | false | 0.01005 | 0.025126 | 0.01005 | 0.201005 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 4 |
e0c235bd3b124716daba6d975da7fb7e19d18153 | 142 | py | Python | pydis_site/apps/resources/apps.py | Robin5605/site | 81aa42aa748cb228d7a09e6cf6b211484b654496 | [
"MIT"
] | 700 | 2018-11-17T15:56:51.000Z | 2022-03-30T22:53:17.000Z | pydis_site/apps/resources/apps.py | foxy4096/site | 63b464b57ea0824570879f24baaaca6fd80393ee | [
"MIT"
] | 542 | 2018-11-17T13:39:42.000Z | 2022-03-31T11:24:00.000Z | pydis_site/apps/resources/apps.py | foxy4096/site | 63b464b57ea0824570879f24baaaca6fd80393ee | [
"MIT"
] | 178 | 2018-11-21T09:06:56.000Z | 2022-03-31T07:43:28.000Z | from django.apps import AppConfig
class ResourcesConfig(AppConfig):
"""AppConfig instance for Resources app."""
name = 'resources'
| 17.75 | 47 | 0.725352 | 15 | 142 | 6.866667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176056 | 142 | 7 | 48 | 20.285714 | 0.880342 | 0.260563 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e0c4877cfd85d5a38a819ea7292bcf1b3c8d0408 | 143 | py | Python | DPMAPI/forecastUrl.py | dprescriptivemaintenance40/DPM | 404884a317f5355ce1ded9f8a5d1d3e949b931bf | [
"MIT"
] | null | null | null | DPMAPI/forecastUrl.py | dprescriptivemaintenance40/DPM | 404884a317f5355ce1ded9f8a5d1d3e949b931bf | [
"MIT"
] | null | null | null | DPMAPI/forecastUrl.py | dprescriptivemaintenance40/DPM | 404884a317f5355ce1ded9f8a5d1d3e949b931bf | [
"MIT"
] | 1 | 2020-09-06T18:38:18.000Z | 2020-09-06T18:38:18.000Z | from django.conf.urls import url
from DPMAPI import views
urlpatterns = [
url('', views.forecast),
url('Forecast/', views.forecast)
]
| 17.875 | 36 | 0.692308 | 18 | 143 | 5.5 | 0.555556 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174825 | 143 | 7 | 37 | 20.428571 | 0.838983 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 4 |
e0cf60cbde8ce19638d5c3265e70294bae5aeab6 | 700 | py | Python | app/migrations/0040_person_entity.py | olivierpons/evalr | 7c76474ad41769804965a11550501321d7b1889b | [
"MIT"
] | null | null | null | app/migrations/0040_person_entity.py | olivierpons/evalr | 7c76474ad41769804965a11550501321d7b1889b | [
"MIT"
] | null | null | null | app/migrations/0040_person_entity.py | olivierpons/evalr | 7c76474ad41769804965a11550501321d7b1889b | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2019-08-11 08:04
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('app', '0039_auto_20190811_1003'),
]
operations = [
migrations.RemoveField(
model_name='person',... | 22.580645 | 47 | 0.558571 | 69 | 700 | 5.463768 | 0.521739 | 0.222812 | 0.275862 | 0.318302 | 0.472149 | 0.472149 | 0.472149 | 0.238727 | 0 | 0 | 0 | 0.066239 | 0.331429 | 700 | 30 | 48 | 23.333333 | 0.739316 | 0.064286 | 0 | 0.5 | 1 | 0 | 0.153139 | 0.035222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.208333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0e3eeba528a66c839644d5954209c341ea50e05 | 106 | py | Python | ACM-Solution/GAUNGUN.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 2 | 2016-04-26T15:40:40.000Z | 2018-07-18T10:16:42.000Z | ACM-Solution/GAUNGUN.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2016-04-26T15:44:15.000Z | 2016-04-29T14:44:40.000Z | ACM-Solution/GAUNGUN.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2018-10-02T16:12:19.000Z | 2018-10-02T16:12:19.000Z | try:
while 1:
n=int(input())
k=(n-10)//9
m=n-10-9*k
print(81*(k+1)+m*(m+2)+1)
except:pass
| 13.25 | 28 | 0.490566 | 25 | 106 | 2.08 | 0.6 | 0.115385 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0.226415 | 106 | 7 | 29 | 15.142857 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e0ecd089dfee172779839ce36df23e10330ff693 | 261 | py | Python | tic_tac_toe/slash_command/command_center/abstract_command.py | mohan8990/tic_tac_toe_slack | 2a5662f995857c81716616366de163deb11ac6a2 | [
"MIT"
] | 3 | 2018-03-30T00:46:01.000Z | 2018-09-13T22:31:18.000Z | tic_tac_toe/slash_command/command_center/abstract_command.py | mohan8990/tic_tac_toe_slack | 2a5662f995857c81716616366de163deb11ac6a2 | [
"MIT"
] | 2 | 2018-01-08T05:09:57.000Z | 2018-01-09T08:28:06.000Z | tic_tac_toe/slash_command/command_center/abstract_command.py | mohan8990/tic_tac_toe_slack | 2a5662f995857c81716616366de163deb11ac6a2 | [
"MIT"
] | null | null | null | from abc import ABCMeta
from abc import abstractmethod
class AbstractSlashCommand(object):
__metaclass__ = ABCMeta
@abstractmethod
def handle(self, invokingChannelId, invokingChannelName, invokingUserId, invokingUserName, command, cmdParamsAsText):
pass
| 26.1 | 118 | 0.831418 | 24 | 261 | 8.875 | 0.791667 | 0.065728 | 0.122066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 261 | 9 | 119 | 29 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.285714 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e0efbffab97f27784f740bbedd25901f1dcc2ae5 | 65 | py | Python | codesignal/arcade/python/the_core_05_max_multiple.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | codesignal/arcade/python/the_core_05_max_multiple.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | codesignal/arcade/python/the_core_05_max_multiple.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | def solution(divisor, bound):
return bound - bound % divisor
| 21.666667 | 34 | 0.707692 | 8 | 65 | 5.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 2 | 35 | 32.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
e0f7b960c6240e6957abb61605563cd32cf64ed2 | 7,605 | py | Python | project1/indexer.py | suryamp97/Covid-and-vaccine-tweets-scraping-using-Twitter-API-and-indexing-using-Apache-Solr | f0b6828edc976aea7cc62f61b102689cc95b90d3 | [
"MIT"
] | null | null | null | project1/indexer.py | suryamp97/Covid-and-vaccine-tweets-scraping-using-Twitter-API-and-indexing-using-Apache-Solr | f0b6828edc976aea7cc62f61b102689cc95b90d3 | [
"MIT"
] | null | null | null | project1/indexer.py | suryamp97/Covid-and-vaccine-tweets-scraping-using-Twitter-API-and-indexing-using-Apache-Solr | f0b6828edc976aea7cc62f61b102689cc95b90d3 | [
"MIT"
] | null | null | null | '''
@author: Souvik Das
Institute: University at Buffalo
'''
import os
import pysolr
import requests
import json
# https://tecadmin.net/install-apache-solr-on-ubuntu/
CORE_NAME = "FINAL"
AWS_IP = "localhost"
# [CAUTION] :: Run this script once, i.e. during core creation
def delete_core(core=CORE_NAME):
prin... | 28.483146 | 103 | 0.32952 | 488 | 7,605 | 4.989754 | 0.276639 | 0.210267 | 0.221766 | 0.188501 | 0.475154 | 0.243943 | 0.156057 | 0.107187 | 0.107187 | 0.044353 | 0 | 0.006122 | 0.548981 | 7,605 | 266 | 104 | 28.590226 | 0.70379 | 0.027613 | 0 | 0.321888 | 0 | 0.004292 | 0.214005 | 0.013545 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025751 | false | 0 | 0.017167 | 0 | 0.04721 | 0.034335 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
e0fc0e8c8f9ff29aa0db5e858ba6357506e809fc | 14,733 | py | Python | sdk/python/pulumi_azure/kusto/_inputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/kusto/_inputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/kusto/_inputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 46.184953 | 621 | 0.692595 | 1,829 | 14,733 | 5.301258 | 0.094587 | 0.114583 | 0.080858 | 0.072195 | 0.81054 | 0.719884 | 0.675743 | 0.618193 | 0.576836 | 0.460087 | 0 | 0.013271 | 0.197041 | 14,733 | 318 | 622 | 46.330189 | 0.80634 | 0.304215 | 0 | 0.157895 | 1 | 0 | 0.129718 | 0.068333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205263 | false | 0 | 0.026316 | 0 | 0.347368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
460c4298823fa96c8e37289e592cc6f216a23c28 | 95 | py | Python | unittest_reinvent/scoring_tests/console_invoked/__init__.py | MolecularAI/reinvent-scoring | f7e052ceeffd29e17e1672c33607189873c82a45 | [
"MIT"
] | null | null | null | unittest_reinvent/scoring_tests/console_invoked/__init__.py | MolecularAI/reinvent-scoring | f7e052ceeffd29e17e1672c33607189873c82a45 | [
"MIT"
] | 2 | 2021-11-01T23:19:42.000Z | 2021-11-22T23:41:39.000Z | unittest_reinvent/scoring_tests/console_invoked/__init__.py | MolecularAI/reinvent-scoring | f7e052ceeffd29e17e1672c33607189873c82a45 | [
"MIT"
] | 2 | 2021-11-18T13:14:22.000Z | 2022-03-16T07:52:57.000Z | from unittest_reinvent.scoring_tests.console_invoked.test_icolos import Test_structural_Icolos
| 47.5 | 94 | 0.926316 | 13 | 95 | 6.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 95 | 1 | 95 | 95 | 0.901099 | 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 | 0 | 0 | 0 | 4 |
1ca0f51c9e6b2240d2a46c221410160e8aa37dca | 55 | py | Python | plugin/src/test/resources/quickFixes/PyMakeFunctionFromMethodQuickFixTest/usageAssignment_after.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | plugin/src/test/resources/quickFixes/PyMakeFunctionFromMethodQuickFixTest/usageAssignment_after.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | 11 | 2017-02-27T22:35:32.000Z | 2021-12-24T08:07:40.000Z | plugin/src/test/resources/quickFixes/PyMakeFunctionFromMethodQuickFixTest/usageAssignment_after.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | def m():
print 1
class A: pass
b = A()
a = m()
| 5.5 | 13 | 0.436364 | 11 | 55 | 2.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.381818 | 55 | 9 | 14 | 6.111111 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0 | null | null | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1cacdbf810863473f98e6a2e7a9fe81ba235cc7c | 2,483 | py | Python | test/layers_test.py | RobinBaumann/TF-AtlasNetV2 | 32bd962407becacc9b9bee6c76c96216818e4c89 | [
"MIT"
] | null | null | null | test/layers_test.py | RobinBaumann/TF-AtlasNetV2 | 32bd962407becacc9b9bee6c76c96216818e4c89 | [
"MIT"
] | null | null | null | test/layers_test.py | RobinBaumann/TF-AtlasNetV2 | 32bd962407becacc9b9bee6c76c96216818e4c89 | [
"MIT"
] | null | null | null | """
Created by Robin Baumann <mail@robin-baumann.com> on May 13, 2020.
"""
import tensorflow as tf
from atlasnet_v2 import layers
BATCH_SIZE = 2
LATENT_SIZE = 64
N_POINTS = 5000
STRUCTS = 5
POINTS_PER_STRUCT = N_POINTS // STRUCTS
class PointAtlasTest(tf.test.TestCase):
def test_linear_adjust_structure_shape(se... | 42.084746 | 123 | 0.715264 | 353 | 2,483 | 4.711048 | 0.181303 | 0.072159 | 0.081179 | 0.076969 | 0.847865 | 0.838244 | 0.719182 | 0.684305 | 0.670475 | 0.670475 | 0 | 0.027094 | 0.182441 | 2,483 | 58 | 124 | 42.810345 | 0.792118 | 0.07209 | 0 | 0.475 | 0 | 0 | 0.00785 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.1 | false | 0 | 0.05 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ce7e8e1e67a597a0fb81dd0ceba0bc1bfbbba36 | 336 | py | Python | app1/b11.py | yosais/Computer-Simulation-Book | 87b2d83eded02f69cd7b8d839adfa554b25ae19d | [
"MIT"
] | 16 | 2017-10-26T02:35:31.000Z | 2021-11-24T04:31:32.000Z | app1/b11.py | yosais/Computer-Simulation-Book | 87b2d83eded02f69cd7b8d839adfa554b25ae19d | [
"MIT"
] | null | null | null | app1/b11.py | yosais/Computer-Simulation-Book | 87b2d83eded02f69cd7b8d839adfa554b25ae19d | [
"MIT"
] | 11 | 2018-02-04T05:10:11.000Z | 2021-11-24T05:30:45.000Z | def doIt (func, x, y):
z = func (x, y)
return z
def add (arg1, arg2):
return arg1 + arg2
def sub (arg1, arg2):
return arg1 - arg2
print ('Addition:')
print ( doIt (add, 2, 3) ) # Passing the name of the function
# and its arguments
print ('Subtraction:')
print ( do... | 21 | 65 | 0.541667 | 48 | 336 | 3.791667 | 0.5 | 0.175824 | 0.065934 | 0.197802 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.330357 | 336 | 16 | 66 | 21 | 0.755556 | 0.151786 | 0 | 0 | 0 | 0 | 0.074205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.545455 | 0.363636 | 0 | 0 | 0 | null | 0 | 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 | 4 |
e8036bb0d4ac799eb96559d13f0d813539d33475 | 50 | py | Python | src/experimental_code/simple_learning_tests/trajectory_learning.py | Roboy/LSM_SpiNNaker_MyoArm | 04fa1eaf78778edea3ba3afa4c527d20c491718e | [
"BSD-3-Clause"
] | 2 | 2020-11-01T13:22:11.000Z | 2020-11-01T13:22:20.000Z | src/experimental_code/simple_learning_tests/trajectory_learning.py | Roboy/LSM_SpiNNaker_MyoArm | 04fa1eaf78778edea3ba3afa4c527d20c491718e | [
"BSD-3-Clause"
] | null | null | null | src/experimental_code/simple_learning_tests/trajectory_learning.py | Roboy/LSM_SpiNNaker_MyoArm | 04fa1eaf78778edea3ba3afa4c527d20c491718e | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
#%%
a= 5
print 'hello world' | 8.333333 | 19 | 0.64 | 9 | 50 | 3.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.24 | 50 | 6 | 20 | 8.333333 | 0.815789 | 0.04 | 0 | 0 | 0 | 0 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e806b2ebd018c4a29bd3f1fb659cf0285e989a1d | 20,967 | py | Python | tests/test_service.py | afflux/someip | b08a17260e934afa4c2f150023be690b25f9add9 | [
"MIT"
] | 22 | 2020-05-08T15:32:41.000Z | 2022-02-10T11:41:53.000Z | tests/test_service.py | afflux/someip | b08a17260e934afa4c2f150023be690b25f9add9 | [
"MIT"
] | 8 | 2020-07-17T04:30:47.000Z | 2022-03-18T18:58:25.000Z | tests/test_service.py | afflux/someip | b08a17260e934afa4c2f150023be690b25f9add9 | [
"MIT"
] | 14 | 2020-10-22T02:25:37.000Z | 2022-03-20T13:37:05.000Z | from __future__ import annotations
import asyncio
import logging
import ipaddress
import os
import typing
import unittest
import unittest.mock
from dataclasses import replace
import someip.config as cfg
import someip.header as hdr
import someip.sd as sd
import someip.service as service
logging.captureWarnings(True)
... | 31.768182 | 84 | 0.578719 | 2,246 | 20,967 | 5.184773 | 0.10285 | 0.070073 | 0.037097 | 0.039674 | 0.76711 | 0.740833 | 0.730786 | 0.720223 | 0.69824 | 0.695234 | 0 | 0.018434 | 0.327324 | 20,967 | 659 | 85 | 31.816388 | 0.807218 | 0.02523 | 0 | 0.66791 | 0 | 0 | 0.009893 | 0 | 0 | 0 | 0.006759 | 0 | 0.065299 | 1 | 0.039179 | false | 0 | 0.024254 | 0.001866 | 0.087687 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 4 |
e81661b91f88467f6590d05fbe542ba16e557116 | 2,669 | py | Python | tests/test_docmetadata.py | rstojnic/arxiv-browse | 8847fb8bcd79cc2b162fd3de16db8fba1a1df020 | [
"MIT"
] | 61 | 2019-01-10T21:15:00.000Z | 2022-02-21T13:22:22.000Z | tests/test_docmetadata.py | rstojnic/arxiv-browse | 8847fb8bcd79cc2b162fd3de16db8fba1a1df020 | [
"MIT"
] | 91 | 2019-01-14T21:12:06.000Z | 2022-03-09T19:52:59.000Z | tests/test_docmetadata.py | rstojnic/arxiv-browse | 8847fb8bcd79cc2b162fd3de16db8fba1a1df020 | [
"MIT"
] | 38 | 2019-01-10T22:01:30.000Z | 2022-03-10T23:07:00.000Z |
from typing import Any, Dict
from unittest import TestCase
from browse.domain.metadata import DocMetadata
class DocMetadataTest(TestCase):
fields: Dict[str, Any]
def __init__(self, *args: str, **kwargs: Dict) -> None:
"""Set up some common variables."""
super().__init__(*args, **kwargs)
... | 43.048387 | 89 | 0.664668 | 337 | 2,669 | 5.172107 | 0.311573 | 0.208835 | 0.119334 | 0.253586 | 0.609868 | 0.598394 | 0.45611 | 0.223752 | 0.088353 | 0.088353 | 0 | 0.000962 | 0.220682 | 2,669 | 61 | 90 | 43.754098 | 0.837019 | 0.12027 | 0 | 0.046512 | 0 | 0 | 0.122098 | 0 | 0 | 0 | 0 | 0.016393 | 0.627907 | 1 | 0.093023 | false | 0 | 0.069767 | 0.023256 | 0.232558 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e825b0df3b8dc119fb98a05206106a30f579f4c2 | 18,403 | py | Python | tests/testgen_opr.py | dstogov/udis86 | 87dca0ab2116011fed39eedd893c6514deceeb33 | [
"BSD-2-Clause"
] | 3 | 2018-04-19T11:40:49.000Z | 2018-06-07T16:45:11.000Z | tests/testgen_opr.py | dstogov/udis86 | 87dca0ab2116011fed39eedd893c6514deceeb33 | [
"BSD-2-Clause"
] | null | null | null | tests/testgen_opr.py | dstogov/udis86 | 87dca0ab2116011fed39eedd893c6514deceeb33 | [
"BSD-2-Clause"
] | null | null | null |
OperandSet = {
'Ib' : {
'16' : ( "0x10", ),
'32' : ( "0x10", ),
'64' : ( "0x20", )
},
'Eb_Gb' : {
'16' : ( "[bx+si], al", ),
'32' : ( "[eax+ebx], ch", "[ebx+ecx*4], bl", "[bx+0x10], dh"),
'64' : ( "[rax], r8b", )
... | 21.934446 | 95 | 0.139271 | 1,005 | 18,403 | 2.41791 | 0.141294 | 0.258436 | 0.340741 | 0.055967 | 0.128807 | 0.041152 | 0.020576 | 0.020576 | 0.020576 | 0 | 0 | 0.193743 | 0.63006 | 18,403 | 838 | 96 | 21.960621 | 0.16319 | 0 | 0 | 0.530466 | 0 | 0 | 0.152483 | 0 | 0 | 0 | 0.01076 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e82dcd40f7088fb33bc31e00b5657ecf27e9ff9a | 250 | py | Python | deep_learning_template/__init__.py | nathanpainchaud/deep-learning-template | 32c48bb367cf12957e332afdec0869365294f402 | [
"MIT"
] | 1 | 2020-12-27T20:13:37.000Z | 2020-12-27T20:13:37.000Z | deep_learning_template/__init__.py | nathanpainchaud/deep-learning-template | 32c48bb367cf12957e332afdec0869365294f402 | [
"MIT"
] | null | null | null | deep_learning_template/__init__.py | nathanpainchaud/deep-learning-template | 32c48bb367cf12957e332afdec0869365294f402 | [
"MIT"
] | null | null | null | __version__ = "0.1.0"
from deep_learning_template import datamodules, models, tasks
from deep_learning_template.core import BaseDataModule, BaseModel, BaseTask
__all__ = ["BaseDataModule", "BaseModel", "BaseTask", "datamodules", "models", "tasks"]
| 35.714286 | 87 | 0.78 | 28 | 250 | 6.535714 | 0.571429 | 0.087432 | 0.174863 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.1 | 250 | 6 | 88 | 41.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e82ddc4f89ae64aa13b94988a2193b63715768ac | 56,231 | py | Python | Project/Jobs_DB_Project/Code/Yahoo_Finance_Omniscript.py | nikbearbrown/INFO_6210 | 39e9dbaba0777e624af88ed045161fcf8a5d3dec | [
"MIT"
] | 20 | 2019-01-08T17:32:01.000Z | 2021-12-05T09:44:13.000Z | Project/Jobs_DB_Project/Code/Yahoo_Finance_Omniscript.py | nikbearbrown/INFO_6210 | 39e9dbaba0777e624af88ed045161fcf8a5d3dec | [
"MIT"
] | null | null | null | Project/Jobs_DB_Project/Code/Yahoo_Finance_Omniscript.py | nikbearbrown/INFO_6210 | 39e9dbaba0777e624af88ed045161fcf8a5d3dec | [
"MIT"
] | 14 | 2019-01-19T05:05:33.000Z | 2021-12-05T09:44:15.000Z | #Copyright (c) <2015> <Peter Lu>
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, s... | 214.622137 | 51,281 | 0.483328 | 7,861 | 56,231 | 3.449561 | 0.809439 | 0.00767 | 0.005679 | 0.005753 | 0.011506 | 0.007449 | 0.005753 | 0.00354 | 0 | 0 | 0 | 0.001114 | 0.137575 | 56,231 | 261 | 51,282 | 215.444444 | 0.558058 | 0.023297 | 0 | 0.276596 | 0 | 0.010638 | 0.460319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.085106 | 0.031915 | null | null | 0.223404 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1c25a81e34f0563dab29bb6e1d63273e1e739bbc | 91 | py | Python | src/main/java/com/rubin/demo/Utils/BaiduSerchImgApi-master/apps.py | LynnGu/Rubindemo | 0ffe52af74643db8d8bfae048ee256824836e277 | [
"MIT"
] | null | null | null | src/main/java/com/rubin/demo/Utils/BaiduSerchImgApi-master/apps.py | LynnGu/Rubindemo | 0ffe52af74643db8d8bfae048ee256824836e277 | [
"MIT"
] | null | null | null | src/main/java/com/rubin/demo/Utils/BaiduSerchImgApi-master/apps.py | LynnGu/Rubindemo | 0ffe52af74643db8d8bfae048ee256824836e277 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SoutuappConfig(AppConfig):
name = 'soutuapp'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1c320c87b3d8770c338cf4316ed1452f8194399a | 27 | py | Python | src/access/access_exam.py | monkeychen/python-tutorial | a24785da6b4d857200b819ad4d960885b1ef7a20 | [
"Apache-2.0"
] | null | null | null | src/access/access_exam.py | monkeychen/python-tutorial | a24785da6b4d857200b819ad4d960885b1ef7a20 | [
"Apache-2.0"
] | null | null | null | src/access/access_exam.py | monkeychen/python-tutorial | a24785da6b4d857200b819ad4d960885b1ef7a20 | [
"Apache-2.0"
] | null | null | null | print("hello")
a = "test"
| 6.75 | 14 | 0.555556 | 4 | 27 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 3 | 15 | 9 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1c328ba4a136a085fa44642c7e34ce0bed1de999 | 53,828 | py | Python | data/transcoder_evaluation_gfg/python/MOBILE_NUMERIC_KEYPAD_PROBLEM.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 241 | 2021-07-20T08:35:20.000Z | 2022-03-31T02:39:08.000Z | data/transcoder_evaluation_gfg/python/MOBILE_NUMERIC_KEYPAD_PROBLEM.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 49 | 2021-07-22T23:18:42.000Z | 2022-03-24T09:15:26.000Z | data/transcoder_evaluation_gfg/python/MOBILE_NUMERIC_KEYPAD_PROBLEM.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 71 | 2021-07-21T05:17:52.000Z | 2022-03-29T23:49:28.000Z | # Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold ( keypad , n ) :
if ( not keypad or n <= 0 ) :
return 0
if ( n == 1 ) :
return 10
odd = [... | 737.369863 | 10,683 | 0.204447 | 10,371 | 53,828 | 1.059493 | 0.009064 | 0.131962 | 0.12723 | 0.119039 | 0.349472 | 0.284401 | 0.246633 | 0.228067 | 0.220422 | 0.212869 | 0 | 0.111224 | 0.211117 | 53,828 | 73 | 10,684 | 737.369863 | 0.147537 | 0.003437 | 0 | 0.142857 | 0 | 0 | 0.189574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0 | 0 | 0.063492 | 0.015873 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c43db677624e3a656cc3cea81f95f7b0f6b3c81 | 353 | py | Python | bitcoin/metrics.py | darbik/work | 7f5640822fc5bbbd4033385d6377878b22785cb2 | [
"MIT"
] | null | null | null | bitcoin/metrics.py | darbik/work | 7f5640822fc5bbbd4033385d6377878b22785cb2 | [
"MIT"
] | 3 | 2016-08-04T18:12:05.000Z | 2016-08-09T16:55:09.000Z | bitcoin/metrics.py | darbik/bitcoin | 7f5640822fc5bbbd4033385d6377878b22785cb2 | [
"MIT"
] | null | null | null | from time import strftime
def get_volume(atmid, price, amount):
volume = (atmid, price, amount)
return volume
def get_time(atmid):
time = (atmid, strftime("%Y-%m-%d %H:%M:%S")) # time format is in UTC
return time
def get_fees(atmid, price, amount):
feesMade = (atmid, (amount / pric... | 16.809524 | 79 | 0.620397 | 50 | 353 | 4.32 | 0.48 | 0.083333 | 0.222222 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011321 | 0.249292 | 353 | 20 | 80 | 17.65 | 0.803774 | 0.05949 | 0 | 0 | 0 | 0 | 0.051672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.7 | 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 | 0 | 1 | 0 | 0 | 4 |
1c4438564c78ea33e922ec1b15a0905f72d7a386 | 3,669 | py | Python | Tests/test_weakset_stdlib.py | pxl9588/ironpython3 | 3417b2d29f4116b8f44af31defb9a098686cd566 | [
"Apache-2.0"
] | 1 | 2019-06-27T13:04:33.000Z | 2019-06-27T13:04:33.000Z | Tests/test_weakset_stdlib.py | pxl9588/ironpython3 | 3417b2d29f4116b8f44af31defb9a098686cd566 | [
"Apache-2.0"
] | null | null | null | Tests/test_weakset_stdlib.py | pxl9588/ironpython3 | 3417b2d29f4116b8f44af31defb9a098686cd566 | [
"Apache-2.0"
] | null | null | null | # Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information.
##
## Run selected tests from test_weakset from StdLib
##
import unittest
import sys
from iptest import run_te... | 53.955882 | 101 | 0.746525 | 454 | 3,669 | 5.762115 | 0.215859 | 0.193425 | 0.258028 | 0.328746 | 0.764144 | 0.764144 | 0.764144 | 0.426988 | 0.154434 | 0 | 0 | 0.000631 | 0.136549 | 3,669 | 67 | 102 | 54.761194 | 0.825126 | 0.110112 | 0 | 0 | 0 | 0 | 0.172456 | 0.058715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.076923 | 0 | 0.134615 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
1c4827c357cf7a405de0181536ad034ca79debe7 | 124 | py | Python | scripts/secrets.py | Aviah/one-click-django-dev-ubuntu-14-04-trusty | b6f5da980185eedde8a7a99f7efe76304c6f5c40 | [
"MIT"
] | 10 | 2016-03-22T22:14:40.000Z | 2021-07-23T22:00:02.000Z | scripts/secrets.py | Aviah/one-click-django-dev-ubuntu-14-04-trusty | b6f5da980185eedde8a7a99f7efe76304c6f5c40 | [
"MIT"
] | 1 | 2017-06-03T12:11:47.000Z | 2017-06-03T12:11:47.000Z | scripts/secrets.py | Aviah/one-click-django-dev-osx-el-capitan | ea6832f57e126d30499c9bc66c5b4c77d0ef4020 | [
"MIT"
] | 4 | 2016-04-05T05:41:15.000Z | 2017-01-08T10:03:25.000Z | # Add here secrets, password etc you don't want to keep in the repository
# e.g. django SECRET_KEY, database credentials etc | 62 | 73 | 0.782258 | 22 | 124 | 4.363636 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 124 | 2 | 74 | 62 | 0.923077 | 0.967742 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c66a1733bc55175b08c12e5f6bcceaea2f24711 | 91 | py | Python | datasetinsights/datasets/exceptions.py | Unity-Technologies/dataset-insights | 62849b1412e3e63a2f4a6f56bd27272cb4c1dfc1 | [
"Apache-2.0"
] | 3 | 2020-07-22T02:35:20.000Z | 2020-07-22T19:45:57.000Z | datasetinsights/datasets/exceptions.py | Unity-Technologies/dataset-insights | 62849b1412e3e63a2f4a6f56bd27272cb4c1dfc1 | [
"Apache-2.0"
] | 8 | 2020-07-24T22:23:51.000Z | 2020-08-03T23:02:13.000Z | datasetinsights/datasets/exceptions.py | Unity-Technologies/dataset-insights | 62849b1412e3e63a2f4a6f56bd27272cb4c1dfc1 | [
"Apache-2.0"
] | 2 | 2020-07-22T19:33:28.000Z | 2020-07-31T17:44:50.000Z | class DatasetNotFoundError(Exception):
"""Raise when a dataset file can't be found."""
| 30.333333 | 51 | 0.725275 | 12 | 91 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 2 | 52 | 45.5 | 0.857143 | 0.450549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
1c853046b454a3cb8181d122411b0e1a003ea018 | 3,083 | py | Python | lib/_included_packages/plexnet/threadutils.py | aleenator/plex-for-kodi | e6610e42ce1afd115cf59632b949e18597625323 | [
"BSD-3-Clause"
] | 233 | 2016-12-01T10:00:33.000Z | 2022-03-26T21:43:47.000Z | lib/_included_packages/plexnet/threadutils.py | aleenator/plex-for-kodi | e6610e42ce1afd115cf59632b949e18597625323 | [
"BSD-3-Clause"
] | 327 | 2016-11-30T18:27:32.000Z | 2022-03-13T20:49:27.000Z | lib/_included_packages/plexnet/threadutils.py | aleenator/plex-for-kodi | e6610e42ce1afd115cf59632b949e18597625323 | [
"BSD-3-Clause"
] | 140 | 2016-12-01T18:41:24.000Z | 2022-03-08T17:08:44.000Z | # import inspect
# import ctypes
from __future__ import absolute_import
import threading
# import time
# def _async_raise(tid, exctype):
# '''Raises an exception in the threads with id tid'''
# if not inspect.isclass(exctype):
# raise TypeError("Only types can be raised (not instances)")
# try:
#... | 32.452632 | 105 | 0.601687 | 362 | 3,083 | 5.019337 | 0.378453 | 0.034673 | 0.026417 | 0.03082 | 0.170611 | 0.164007 | 0.164007 | 0.124381 | 0.066043 | 0.066043 | 0 | 0.004215 | 0.307493 | 3,083 | 94 | 106 | 32.797872 | 0.846838 | 0.807331 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
98bea5cbd34ac29824e97c63af844c444e245110 | 175 | py | Python | tests/run_tests.py | seirl/42sh | e8e2b584ddc857fedea3ec2fd9ee45ebbc9b66d8 | [
"Beerware"
] | null | null | null | tests/run_tests.py | seirl/42sh | e8e2b584ddc857fedea3ec2fd9ee45ebbc9b66d8 | [
"Beerware"
] | null | null | null | tests/run_tests.py | seirl/42sh | e8e2b584ddc857fedea3ec2fd9ee45ebbc9b66d8 | [
"Beerware"
] | null | null | null | #!/usr/bin/env python3.3
import os
from qdunittest.program import TestProgram
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
TestProgram(module=None)
| 21.875 | 42 | 0.742857 | 24 | 175 | 4.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.131429 | 175 | 7 | 43 | 25 | 0.763158 | 0.131429 | 0 | 0 | 0 | 0 | 0.05298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 4 |
98c11bc04587bce742c2ba7f86ae293f6b696821 | 34 | py | Python | codejail/__init__.py | miquelvir/codejail | d176ad26f4e041b01441ed0d2e38b71fe3ad1afb | [
"Apache-2.0"
] | null | null | null | codejail/__init__.py | miquelvir/codejail | d176ad26f4e041b01441ed0d2e38b71fe3ad1afb | [
"Apache-2.0"
] | null | null | null | codejail/__init__.py | miquelvir/codejail | d176ad26f4e041b01441ed0d2e38b71fe3ad1afb | [
"Apache-2.0"
] | null | null | null | """init"""
__version__ = '3.1.5'
| 8.5 | 21 | 0.529412 | 5 | 34 | 2.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.147059 | 34 | 3 | 22 | 11.333333 | 0.37931 | 0.117647 | 0 | 0 | 0 | 0 | 0.208333 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98f5cccdd6662e25c386a1257bca1434b2887de9 | 186 | py | Python | src/simple/day.py | kbvatral/mafia-simulation | e401b080bf84d594d15bbfa8474acf208719f8bd | [
"MIT"
] | null | null | null | src/simple/day.py | kbvatral/mafia-simulation | e401b080bf84d594d15bbfa8474acf208719f8bd | [
"MIT"
] | null | null | null | src/simple/day.py | kbvatral/mafia-simulation | e401b080bf84d594d15bbfa8474acf208719f8bd | [
"MIT"
] | null | null | null | import numpy as np
def runDay(players):
""" Function to run the day phase of the game """
elimOne = np.random.choice(players, len(players) -1, replace=False)
return elimOne | 31 | 71 | 0.688172 | 28 | 186 | 4.571429 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.204301 | 186 | 6 | 72 | 31 | 0.858108 | 0.22043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c706993017baae46844fe9e80472761528edc9b3 | 795 | py | Python | ehrapy/api/plot/_plot_util.py | theislab/ehrapy | a71391708e49df7c6b78c4329fe9e0368c6a4a79 | [
"Apache-2.0"
] | 8 | 2021-06-11T13:02:37.000Z | 2022-02-13T15:30:36.000Z | ehrapy/api/plot/_plot_util.py | theislab/ehrapy | a71391708e49df7c6b78c4329fe9e0368c6a4a79 | [
"Apache-2.0"
] | 196 | 2021-06-15T07:56:05.000Z | 2022-03-30T07:26:52.000Z | ehrapy/api/plot/_plot_util.py | theislab/ehrapy | a71391708e49df7c6b78c4329fe9e0368c6a4a79 | [
"Apache-2.0"
] | 1 | 2022-02-02T14:12:25.000Z | 2022-02-02T14:12:25.000Z | from enum import Enum
from matplotlib.colors import LinearSegmentedColormap
class Colormaps(Enum):
"""
Available colormaps:
| grey_red
| grey_blue
| grey_green
| gray_yellow
| grey_violet
"""
grey_red = LinearSegmentedColormap.from_list("grouping", ["lightgray... | 37.857143 | 114 | 0.690566 | 79 | 795 | 6.759494 | 0.367089 | 0.252809 | 0.290262 | 0.365169 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.169811 | 795 | 20 | 115 | 39.75 | 0.786364 | 0.130818 | 0 | 0 | 0 | 0 | 0.256489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c70b0c0cede39d2a94fb1ef44d9ab881989903c8 | 384 | py | Python | xos/openstack_observer/steps/__init__.py | wathsalav/xos | f6bcaa37a948ee41729236afe7fce0802e002404 | [
"Apache-2.0"
] | null | null | null | xos/openstack_observer/steps/__init__.py | wathsalav/xos | f6bcaa37a948ee41729236afe7fce0802e002404 | [
"Apache-2.0"
] | 5 | 2020-06-05T17:47:15.000Z | 2021-09-23T23:21:27.000Z | xos/openstack_observer/steps/__init__.py | wathsalav/xos | f6bcaa37a948ee41729236afe7fce0802e002404 | [
"Apache-2.0"
] | null | null | null | #from .sync_controller_sites import SyncControllerSites
#from .sync_controller_slices import SyncControllerSlices
#from .sync_controller_users import SyncControllerUsers
#from .sync_controller_site_privileges import SyncControllerSitePrivileges
#from .sync_controller_slice_privileges import SyncControllerSlicePrivilege... | 54.857143 | 76 | 0.90625 | 38 | 384 | 8.789474 | 0.447368 | 0.143713 | 0.323353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 384 | 6 | 77 | 64 | 0.927778 | 0.96875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 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 | 4 |
c70ea53efeea0fed71f3545073872e3b31d7aebc | 32 | py | Python | pofy/fields/__init__.py | an-otter-world/pofy | 738fff7b2d56f7a979d0623dbda69c2bb29770b0 | [
"WTFPL"
] | 1 | 2020-01-02T22:16:21.000Z | 2020-01-02T22:16:21.000Z | pofy/fields/__init__.py | an-otter-world/pofy | 738fff7b2d56f7a979d0623dbda69c2bb29770b0 | [
"WTFPL"
] | 55 | 2020-01-02T00:17:58.000Z | 2021-02-07T23:26:26.000Z | pofy/fields/__init__.py | an-otter-world/pofy | 738fff7b2d56f7a979d0623dbda69c2bb29770b0 | [
"WTFPL"
] | null | null | null | """Pofy field types package."""
| 16 | 31 | 0.65625 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.75 | 0.78125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c736a7a9878732ea2aa1d5e6904087a9b20ff108 | 245 | py | Python | sphinxcontrib/jupyter/directive/exercise.py | chabotsi/sphinxcontrib-jupyter | 2a6e40e49c15c25ce396b4b0d9b4972003129e82 | [
"BSD-3-Clause"
] | null | null | null | sphinxcontrib/jupyter/directive/exercise.py | chabotsi/sphinxcontrib-jupyter | 2a6e40e49c15c25ce396b4b0d9b4972003129e82 | [
"BSD-3-Clause"
] | null | null | null | sphinxcontrib/jupyter/directive/exercise.py | chabotsi/sphinxcontrib-jupyter | 2a6e40e49c15c25ce396b4b0d9b4972003129e82 | [
"BSD-3-Clause"
] | null | null | null | from docutils.nodes import Admonition, Element
from docutils.parsers.rst.directives.admonitions import BaseAdmonition
class exercise_node(Admonition, Element):
pass
class ExerciseDirective(BaseAdmonition):
node_class = exercise_node
| 22.272727 | 70 | 0.820408 | 27 | 245 | 7.333333 | 0.592593 | 0.121212 | 0.171717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 245 | 10 | 71 | 24.5 | 0.92093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c74050f2035353c5fcb35911821a1b969bb3f09a | 242 | py | Python | exercise_customization_database/admin.py | itsClay/Exercise-Customization-Database | 512370115d66b21e1b958a38fad16a1eccd3fcd7 | [
"MIT"
] | null | null | null | exercise_customization_database/admin.py | itsClay/Exercise-Customization-Database | 512370115d66b21e1b958a38fad16a1eccd3fcd7 | [
"MIT"
] | 4 | 2015-06-03T16:21:57.000Z | 2015-06-08T16:50:23.000Z | exercise_customization_database/admin.py | itsClay/Exercise-Customization-Database | 512370115d66b21e1b958a38fad16a1eccd3fcd7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from models import UserProfile, Workout, Exercise, Rating
# Register your models here.
admin.site.register(UserProfile)
admin.site.register(Workout)
admin.site.register(Exercise)
admin.site.register(Rating)
| 24.2 | 57 | 0.818182 | 32 | 242 | 6.1875 | 0.4375 | 0.181818 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 242 | 9 | 58 | 26.888889 | 0.9 | 0.107438 | 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 | 0 | 0 | 0 | 0 | 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 | 4 |
c779e0b5d951f8e4278ef9baf9c289ad6b25a8ee | 22,035 | py | Python | src/train_agent.py | carljohanhoel/EnsembleQuantileNetworks | 7dfbed562f3e0c7552fa98a821db502ea565618c | [
"MIT"
] | 9 | 2021-05-29T14:55:27.000Z | 2022-03-08T11:19:44.000Z | src/train_agent.py | carljohanhoel/EnsembleQuantileNetworks | 7dfbed562f3e0c7552fa98a821db502ea565618c | [
"MIT"
] | 1 | 2021-09-27T08:59:43.000Z | 2022-01-13T14:13:03.000Z | src/train_agent.py | carljohanhoel/EnsembleQuantileNetworks | 7dfbed562f3e0c7552fa98a821db502ea565618c | [
"MIT"
] | 1 | 2022-02-03T14:17:36.000Z | 2022-02-03T14:17:36.000Z | """
Train an agent with the DQN, IQN, RPF, or EQN method.
This script should be called from the folder src, where the script is located.
The parameters of the training are set in "parameters.py", where both type of agent and all other parameters are set.
The parameters of the intersection driving environment are set ... | 66.975684 | 120 | 0.582256 | 2,500 | 22,035 | 4.78 | 0.1164 | 0.085356 | 0.128033 | 0.043264 | 0.723013 | 0.709791 | 0.700753 | 0.700753 | 0.693305 | 0.681506 | 0 | 0.001279 | 0.326027 | 22,035 | 328 | 121 | 67.179878 | 0.80338 | 0.086 | 0 | 0.654676 | 0 | 0 | 0.12782 | 0.012971 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086331 | 0 | 0.086331 | 0.021583 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 4 |
c77ac0e49d00bbde2248a228a61fd47a12179dbd | 164 | py | Python | 12_data_persistence/custom_class_unyaml.py | lluxury/P_U_S_A | 1eb9d1fef74f9ce3618ae950f5223f598510be84 | [
"MIT"
] | null | null | null | 12_data_persistence/custom_class_unyaml.py | lluxury/P_U_S_A | 1eb9d1fef74f9ce3618ae950f5223f598510be84 | [
"MIT"
] | null | null | null | 12_data_persistence/custom_class_unyaml.py | lluxury/P_U_S_A | 1eb9d1fef74f9ce3618ae950f5223f598510be84 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import yaml
import custom_class
yaml_file = open('custom_class.yaml', 'r')
my_obj = yaml.load(yaml_file)
print (my_obj)
yaml_file.close()
| 13.666667 | 42 | 0.737805 | 28 | 164 | 4.071429 | 0.571429 | 0.210526 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 164 | 11 | 43 | 14.909091 | 0.791667 | 0.121951 | 0 | 0 | 0 | 0 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c77e88a665240cbec4a67fd083d0e1309fd7d7bc | 74 | py | Python | App/__init__.py | sayanbhatta7/Python-Project | 3bfdff51ab3fbcb3f195d8bac4355e3b886a45a5 | [
"MIT"
] | null | null | null | App/__init__.py | sayanbhatta7/Python-Project | 3bfdff51ab3fbcb3f195d8bac4355e3b886a45a5 | [
"MIT"
] | null | null | null | App/__init__.py | sayanbhatta7/Python-Project | 3bfdff51ab3fbcb3f195d8bac4355e3b886a45a5 | [
"MIT"
] | null | null | null | from flask import Flask
app= Flask(__name__)
from App import BankApp | 14.8 | 24 | 0.756757 | 11 | 74 | 4.727273 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 74 | 5 | 25 | 14.8 | 0.881356 | 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 | 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 | 0 | 1 | 0 | 0 | 4 |
c79a58f556fcdc402ad4b73e4f45ce6592bc47dd | 142 | py | Python | file_utils/__init__.py | SamujjwalSam/MatchingNetworks4XC | 2519cc1a527ea121c4966c1a860d890d5182f887 | [
"MIT"
] | null | null | null | file_utils/__init__.py | SamujjwalSam/MatchingNetworks4XC | 2519cc1a527ea121c4966c1a860d890d5182f887 | [
"MIT"
] | null | null | null | file_utils/__init__.py | SamujjwalSam/MatchingNetworks4XC | 2519cc1a527ea121c4966c1a860d890d5182f887 | [
"MIT"
] | null | null | null | from .File_Util import load_npz, save_npz, save_pickle, load_pickle, save_json, load_json, write_file
# These are not required
del File_Util
| 28.4 | 101 | 0.816901 | 25 | 142 | 4.28 | 0.6 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 4 | 102 | 35.5 | 0.862903 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 4 |
c7aa9a38141c4a515396c92d036e923cc43f4199 | 199 | py | Python | Modulo_4/semana 2/practica 2/servicioweb/tablero/apps.py | AutodidactaMx/cocid_python | 11628f465ff362807a692c79ede26bf30dd8e26a | [
"MIT"
] | null | null | null | Modulo_4/semana 2/practica 2/servicioweb/tablero/apps.py | AutodidactaMx/cocid_python | 11628f465ff362807a692c79ede26bf30dd8e26a | [
"MIT"
] | null | null | null | Modulo_4/semana 2/practica 2/servicioweb/tablero/apps.py | AutodidactaMx/cocid_python | 11628f465ff362807a692c79ede26bf30dd8e26a | [
"MIT"
] | 1 | 2022-03-04T00:57:18.000Z | 2022-03-04T00:57:18.000Z | from tabnanny import verbose
from django.apps import AppConfig
class TableroConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'tablero'
verbose = 'Tablero'
| 22.111111 | 56 | 0.753769 | 23 | 199 | 6.434783 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165829 | 199 | 8 | 57 | 24.875 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0.21608 | 0.145729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c7b9fb9055a4acb95b5b9ad3ac57cd7590814980 | 936 | py | Python | teste.py | coutoccaio/bau_geolinks | e04aedd36aa45192a8b92a7bd178e8c170501888 | [
"MIT"
] | null | null | null | teste.py | coutoccaio/bau_geolinks | e04aedd36aa45192a8b92a7bd178e8c170501888 | [
"MIT"
] | null | null | null | teste.py | coutoccaio/bau_geolinks | e04aedd36aa45192a8b92a7bd178e8c170501888 | [
"MIT"
] | null | null | null | # import geopandas as gpd
# import folium
# import matplotlib.pyplot as plt
#
#
# def teste():
#
# # Lê os dados
# url = 'https://geoservicos.pbh.gov.br/geoserver/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=ide_bhgeo:BAIRRO&srsName=EPSG:31983&outputFormat=application%2Fjson'
# gdf = gpd.read_f... | 25.297297 | 180 | 0.626068 | 131 | 936 | 4.40458 | 0.671756 | 0.036395 | 0.045061 | 0.07279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026027 | 0.220085 | 936 | 36 | 181 | 26 | 0.764384 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c7e7755f474a4f9b35dee0d05f4f5cad5e7b7880 | 287 | py | Python | gdal/swig/python/scripts/ogrmerge.py | jpapadakis/gdal | f07aa15fd65af36b04291303cc6834c87f662814 | [
"MIT"
] | 18 | 2021-01-27T00:07:35.000Z | 2022-03-25T22:20:13.000Z | gdal/swig/python/scripts/ogrmerge.py | jpapadakis/gdal | f07aa15fd65af36b04291303cc6834c87f662814 | [
"MIT"
] | 1 | 2015-04-14T00:19:57.000Z | 2015-04-14T00:29:29.000Z | gdal/swig/python/scripts/ogrmerge.py | jpapadakis/gdal | f07aa15fd65af36b04291303cc6834c87f662814 | [
"MIT"
] | 1 | 2022-02-21T06:31:07.000Z | 2022-02-21T06:31:07.000Z | #!/usr/bin/env python3
import sys
# import osgeo.utils.ogrmerge as a convenience to use as a script
from osgeo.utils.ogrmerge import * # noqa
from osgeo.utils.ogrmerge import main
from osgeo.gdal import deprecation_warn
deprecation_warn('ogrmerge', 'utils')
sys.exit(main(sys.argv))
| 23.916667 | 65 | 0.777003 | 45 | 287 | 4.911111 | 0.511111 | 0.135747 | 0.244344 | 0.199095 | 0.253394 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003984 | 0.125436 | 287 | 11 | 66 | 26.090909 | 0.876494 | 0.313589 | 0 | 0 | 0 | 0 | 0.06701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c7ee604798aee96dac57cecddbd711a5977196b2 | 194 | py | Python | app/commands.py | alphagov/notifications-govuk-alerts | ebbc8bffc6965d579370ccf1b62440cbd7f163ad | [
"MIT"
] | 3 | 2021-05-17T13:42:25.000Z | 2021-07-05T19:46:38.000Z | app/commands.py | alphagov/notifications-govuk-alerts | ebbc8bffc6965d579370ccf1b62440cbd7f163ad | [
"MIT"
] | 28 | 2021-05-18T12:00:21.000Z | 2022-03-15T13:00:43.000Z | app/commands.py | alphagov/notifications-govuk-alerts | ebbc8bffc6965d579370ccf1b62440cbd7f163ad | [
"MIT"
] | 3 | 2021-02-12T17:20:52.000Z | 2021-06-18T11:17:54.000Z | import click
from app.celery.tasks import publish_govuk_alerts
def setup_commands(app):
app.cli.add_command(publish)
@click.command('publish')
def publish():
publish_govuk_alerts()
| 14.923077 | 49 | 0.762887 | 27 | 194 | 5.259259 | 0.555556 | 0.169014 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 194 | 12 | 50 | 16.166667 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0.036082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c7f4f3b0fd3994d437a06f0887258117610b7ded | 188 | py | Python | test/test_files/test_dynamic/test_dynamic_method.py | SoftwareUnderstanding/inspect4py | 9c4d7252535082ad938b26baf281d93f3a27285e | [
"BSD-3-Clause"
] | 2 | 2022-02-15T20:30:57.000Z | 2022-03-17T00:50:37.000Z | test/test_files/test_dynamic/test_dynamic_method.py | SoftwareUnderstanding/code_inspector | a820b5a7bb18f5df9c3e79346108d8280b20c39a | [
"BSD-3-Clause"
] | 101 | 2021-06-09T14:19:59.000Z | 2022-01-24T13:24:39.000Z | test/test_files/test_dynamic/test_dynamic_method.py | SoftwareUnderstanding/inspect4py | 9c4d7252535082ad938b26baf281d93f3a27285e | [
"BSD-3-Clause"
] | 1 | 2021-09-22T06:59:32.000Z | 2021-09-22T06:59:32.000Z | class MyClass:
def func_1(self):
return "1"
def func_2(func):
return func()
def main():
a=func_2(MyClass().func_1)
print(a)
if __name__ == '__main__':
main()
| 12.533333 | 30 | 0.585106 | 28 | 188 | 3.5 | 0.464286 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.260638 | 188 | 14 | 31 | 13.428571 | 0.669065 | 0 | 0 | 0 | 0 | 0 | 0.047872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0.1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
402e71d194777b45d6563223f6cd638c6c719838 | 241 | py | Python | flask_taxonomies/proxies.py | oarepo/flask-taxonomies | 50d704adfc2d5c80d90b040e147abeb00fff3766 | [
"MIT"
] | null | null | null | flask_taxonomies/proxies.py | oarepo/flask-taxonomies | 50d704adfc2d5c80d90b040e147abeb00fff3766 | [
"MIT"
] | 39 | 2019-06-17T08:01:29.000Z | 2021-06-25T15:21:59.000Z | flask_taxonomies/proxies.py | oarepo/flask-taxonomies | 50d704adfc2d5c80d90b040e147abeb00fff3766 | [
"MIT"
] | 4 | 2019-08-16T09:55:28.000Z | 2020-07-07T06:18:54.000Z | from flask import current_app
from werkzeug.local import LocalProxy
if False:
import flask_taxonomies.api
current_flask_taxonomies = LocalProxy( # type: flask_taxonomies.api.Api
lambda: current_app.extensions['flask-taxonomies'])
| 26.777778 | 72 | 0.80083 | 31 | 241 | 6.032258 | 0.483871 | 0.320856 | 0.192513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128631 | 241 | 8 | 73 | 30.125 | 0.890476 | 0.124481 | 0 | 0 | 0 | 0 | 0.076555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4061079120dc57168795741998561cb1785857e9 | 59 | py | Python | cogbot/extensions/nbt/errors/__init__.py | Arcensoth/cogbot | ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0 | [
"MIT"
] | 8 | 2016-12-26T14:10:38.000Z | 2021-01-02T03:50:05.000Z | cogbot/extensions/nbt/errors/__init__.py | Arcensoth/cogbot | ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0 | [
"MIT"
] | 28 | 2016-12-12T04:06:53.000Z | 2020-04-23T06:18:55.000Z | cogbot/extensions/nbt/errors/__init__.py | Arcensoth/cogbot | ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0 | [
"MIT"
] | 9 | 2017-06-03T00:33:57.000Z | 2020-10-29T18:16:02.000Z | from .schema_validation_error import SchemaValidationError
| 29.5 | 58 | 0.915254 | 6 | 59 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.945455 | 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 | 0 | 0 | 0 | 4 |
40ae54c768a81c201172a659435811dea1a22e3e | 851 | gyp | Python | using_skia.gyp | j-tetteroo/skiatest | 64ca9d31682fe3952ba822a2a3168dca8b666730 | [
"MIT"
] | null | null | null | using_skia.gyp | j-tetteroo/skiatest | 64ca9d31682fe3952ba822a2a3168dca8b666730 | [
"MIT"
] | null | null | null | using_skia.gyp | j-tetteroo/skiatest | 64ca9d31682fe3952ba822a2a3168dca8b666730 | [
"MIT"
] | null | null | null | {
'targets': [
{
'configurations': {
'Debug': { },
'Release': { }
},
'target_name': 'appels',
'type': 'executable',
'dependencies': [
'third_party/skia/skia.gyp:alltargets',
'third_party/skia/gyp/sdl.gyp:sdl',
],
'include_dirs': [
'... | 24.314286 | 81 | 0.495887 | 82 | 851 | 5 | 0.512195 | 0.243902 | 0.307317 | 0.256098 | 0.117073 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005085 | 0.306698 | 851 | 34 | 82 | 25.029412 | 0.689831 | 0 | 0 | 0.117647 | 0 | 0 | 0.553467 | 0.367803 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40b9c77790d0d67b6ea2bd21c08d7322daf6e7fc | 272 | py | Python | external/netdef_models/netdef_slim/tensorflow/core/ops/__init__.py | zhuhu00/MOTSFusion_modify | 190224a7c3fbded69fedf9645a0ebbf08227fb6d | [
"MIT"
] | null | null | null | external/netdef_models/netdef_slim/tensorflow/core/ops/__init__.py | zhuhu00/MOTSFusion_modify | 190224a7c3fbded69fedf9645a0ebbf08227fb6d | [
"MIT"
] | null | null | null | external/netdef_models/netdef_slim/tensorflow/core/ops/__init__.py | zhuhu00/MOTSFusion_modify | 190224a7c3fbded69fedf9645a0ebbf08227fb6d | [
"MIT"
] | null | null | null | from .scale import nothing
from .compute import nothing
from .blob import nothing
from .resample import nothing
from .conv import nothing
from .upconv import nothing
from .accuracy import nothing
from .flow_disp import nothing
from .metrics import nothing
nothing = None
| 22.666667 | 30 | 0.816176 | 39 | 272 | 5.666667 | 0.358974 | 0.529412 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 272 | 11 | 31 | 24.727273 | 0.952586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9 | 0 | 0.9 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
40ec775ae40ceba1c7a6595565e11628814510c0 | 95 | py | Python | insurance_backend/insurance_backend/__init__.py | tocilla/Insurance | f1f43101412e8a56a7615f961984d507ab0d0e06 | [
"MIT"
] | null | null | null | insurance_backend/insurance_backend/__init__.py | tocilla/Insurance | f1f43101412e8a56a7615f961984d507ab0d0e06 | [
"MIT"
] | null | null | null | insurance_backend/insurance_backend/__init__.py | tocilla/Insurance | f1f43101412e8a56a7615f961984d507ab0d0e06 | [
"MIT"
] | null | null | null | # try:
# import pymysql
# pymysql.install_as_MySQLdb()
# except ImportError:
# pass | 19 | 34 | 0.652632 | 10 | 95 | 6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242105 | 95 | 5 | 35 | 19 | 0.833333 | 0.894737 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
907a1d4246cc6b2242a069fff7c4713d485e6a42 | 295 | py | Python | commonware/decorators.py | pmac/commonware | 5250da6c4d88e628bcbb1d9c0db1c289d04c1c08 | [
"BSD-3-Clause"
] | 8 | 2017-12-15T18:45:06.000Z | 2021-11-18T08:38:40.000Z | commonware/decorators.py | pmac/commonware | 5250da6c4d88e628bcbb1d9c0db1c289d04c1c08 | [
"BSD-3-Clause"
] | 7 | 2017-07-17T21:39:37.000Z | 2021-04-16T12:51:27.000Z | commonware/decorators.py | pmac/commonware | 5250da6c4d88e628bcbb1d9c0db1c289d04c1c08 | [
"BSD-3-Clause"
] | 6 | 2017-07-25T14:13:46.000Z | 2022-03-16T12:26:15.000Z | from commonware.response.decorators import (xframe_sameorigin,
xframe_allow,
xframe_deny,
xrobots_exempt,
xrobots_tag)
| 49.166667 | 62 | 0.349153 | 15 | 295 | 6.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.623729 | 295 | 5 | 63 | 59 | 0.882883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
908cd5b2224c855c6ca876e5b942eac440590eaf | 200 | py | Python | django/schedule/admin.py | viniciusfpe/patient_schedules | 3636a7a0fdc3062f25914b1d7c2c842b1e4e83a1 | [
"MIT"
] | null | null | null | django/schedule/admin.py | viniciusfpe/patient_schedules | 3636a7a0fdc3062f25914b1d7c2c842b1e4e83a1 | [
"MIT"
] | 1 | 2020-06-05T18:18:19.000Z | 2020-06-05T18:18:19.000Z | django/schedule/admin.py | viniciusfpe/patient_schedules | 3636a7a0fdc3062f25914b1d7c2c842b1e4e83a1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from schedule.models import Schedule
@admin.register(Schedule)
class ScheduleAdmin(admin.ModelAdmin):
"""Schedule Admin."""
pass
| 14.285714 | 38 | 0.705 | 23 | 200 | 6.130435 | 0.652174 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.165 | 200 | 13 | 39 | 15.384615 | 0.838323 | 0.19 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
9094040333d4ca99bc990250a6496ea3f7829287 | 52 | py | Python | src/py310/lesson05/imported.py | UWPCE-Python-Course-2-Materials/py310_sp2021 | 584e37b9d96654c1241fc787d157c292301d5bf7 | [
"MIT"
] | null | null | null | src/py310/lesson05/imported.py | UWPCE-Python-Course-2-Materials/py310_sp2021 | 584e37b9d96654c1241fc787d157c292301d5bf7 | [
"MIT"
] | null | null | null | src/py310/lesson05/imported.py | UWPCE-Python-Course-2-Materials/py310_sp2021 | 584e37b9d96654c1241fc787d157c292301d5bf7 | [
"MIT"
] | 2 | 2021-06-03T02:59:49.000Z | 2021-06-14T20:42:12.000Z | def doit():
print("MMMMMMMMMMM")
return 999
| 13 | 24 | 0.615385 | 6 | 52 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.25 | 52 | 3 | 25 | 17.333333 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9095bbdbff6962df89c1be64f250abbf68e74866 | 63 | py | Python | dynamic_models/__init__.py | DistPub/django-dynamic-models | 62e85f3cf9f9a174d6c3b55905aee657b17451e1 | [
"MIT"
] | 1 | 2019-07-28T17:25:28.000Z | 2019-07-28T17:25:28.000Z | dynamic_models/__init__.py | DistPub/django-dynamic-models | 62e85f3cf9f9a174d6c3b55905aee657b17451e1 | [
"MIT"
] | null | null | null | dynamic_models/__init__.py | DistPub/django-dynamic-models | 62e85f3cf9f9a174d6c3b55905aee657b17451e1 | [
"MIT"
] | 1 | 2019-08-29T22:05:03.000Z | 2019-08-29T22:05:03.000Z | default_app_config = 'dynamic_models.apps.DynamicModelsConfig'
| 31.5 | 62 | 0.873016 | 7 | 63 | 7.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 63 | 1 | 63 | 63 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90c2fbccb32e900e2a8ef78499bbbdc277d201aa | 53 | py | Python | varible.py | iqran-star/python_for_beginner-day1 | dcf6fd1293ce46b7a4d53b98fa0e3223c4c83e39 | [
"MIT"
] | null | null | null | varible.py | iqran-star/python_for_beginner-day1 | dcf6fd1293ce46b7a4d53b98fa0e3223c4c83e39 | [
"MIT"
] | null | null | null | varible.py | iqran-star/python_for_beginner-day1 | dcf6fd1293ce46b7a4d53b98fa0e3223c4c83e39 | [
"MIT"
] | null | null | null | a=1
b=2
print('a=',a,'b=',b)
x=3
y=3
z=3
print(x,y,z) | 7.571429 | 20 | 0.509434 | 19 | 53 | 1.421053 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.113208 | 53 | 7 | 21 | 7.571429 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90e2e56c77ce9e117d18eff0a065da70488faebe | 2,337 | py | Python | ifilters/__init__.py | kkew3/py-ifilters | 93b34947fd254c7e3080da36c5c8214c089c5308 | [
"MIT"
] | null | null | null | ifilters/__init__.py | kkew3/py-ifilters | 93b34947fd254c7e3080da36c5c8214c089c5308 | [
"MIT"
] | null | null | null | ifilters/__init__.py | kkew3/py-ifilters | 93b34947fd254c7e3080da36c5c8214c089c5308 | [
"MIT"
] | null | null | null | """
Filter integers or integer sequences as per numpy-like advanced indexing.
``ifilters`` provides predicate class that produces predicator according to
the provided numpy-like advanced indexing pattern. For example,
- ``1-2``: :math:`\\{1, 2\\}`
- ``-1--2``: \\{\\}
- ``-2--1``: \\{-2, -1\\}
- ``1,3`... | 38.95 | 79 | 0.639709 | 335 | 2,337 | 4.462687 | 0.358209 | 0.009365 | 0.060201 | 0.052174 | 0.165886 | 0.11505 | 0.11505 | 0.11505 | 0.064214 | 0.064214 | 0 | 0.032376 | 0.180573 | 2,337 | 59 | 80 | 39.610169 | 0.748303 | 0.925973 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
90efa78f4323ceef0f2547ccb5bc927e1e6d1b27 | 135 | py | Python | pynullweb/__init__.py | t73fde/pynullweb | 7836b2b51165001782699a0cff7e1fa7332c0a11 | [
"Apache-2.0"
] | null | null | null | pynullweb/__init__.py | t73fde/pynullweb | 7836b2b51165001782699a0cff7e1fa7332c0a11 | [
"Apache-2.0"
] | null | null | null | pynullweb/__init__.py | t73fde/pynullweb | 7836b2b51165001782699a0cff7e1fa7332c0a11 | [
"Apache-2.0"
] | null | null | null | """
PyNullWeb - a web server that returns minimal content.
:copyright: (c) 2017 by Detlef Kreuz
:license: Apache 2.0, see LICENSE
"""
| 19.285714 | 54 | 0.711111 | 20 | 135 | 4.8 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.17037 | 135 | 6 | 55 | 22.5 | 0.803571 | 0.933333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90fc25791ca04d9fb1bae141044fcb202ffbb806 | 50 | py | Python | Chapter 07/Chap07_Example7.47.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.47.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.47.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | myl1 = [1,2,3,4,5]
myl3 = myl1 + 6
print(myl3)
| 12.5 | 19 | 0.54 | 11 | 50 | 2.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.24 | 50 | 3 | 20 | 16.666667 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90fc721588fb1c4d28f1fb4565ff25f8df4e4a71 | 1,361 | py | Python | tools/leetcode.013.Roman to Integer/leetcode.013.Roman to Integer.submission0.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | 4 | 2015-10-10T00:30:55.000Z | 2020-07-27T19:45:54.000Z | tools/leetcode.013.Roman to Integer/leetcode.013.Roman to Integer.submission0.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | tools/leetcode.013.Roman to Integer/leetcode.013.Roman to Integer.submission0.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | class Solution(object):
def romanToInt(self, s):
"""
:type s: str
:rtype: int
"""
res = 0
i = 0
l = len(s)
while i < l:
if s[i] == 'M':
res += 1000
elif s[i] == 'D':
res += 500
elif s[... | 1,361 | 1,361 | 0.218957 | 149 | 1,361 | 2 | 0.268456 | 0.127517 | 0.07047 | 0.120805 | 0.261745 | 0.261745 | 0.261745 | 0.261745 | 0.151007 | 0.151007 | 0 | 0.103376 | 0.651727 | 1,361 | 1 | 1,361 | 1,361 | 0.525316 | 0.017634 | 0 | 0.232558 | 0 | 0 | 0.009954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
290947ddbbc2813dad514a21e63cf04c238648b4 | 80 | py | Python | twitoff/forms/__init__.py | ekoly/twitoff-app | b9e8271d2e9388aad67b036255cc3bcbcbbdf701 | [
"MIT"
] | null | null | null | twitoff/forms/__init__.py | ekoly/twitoff-app | b9e8271d2e9388aad67b036255cc3bcbcbbdf701 | [
"MIT"
] | 5 | 2021-06-08T21:01:27.000Z | 2022-03-12T00:20:27.000Z | twitoff/forms/__init__.py | ekoly/twitoff-app | b9e8271d2e9388aad67b036255cc3bcbcbbdf701 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
This module contains forms used by the app.
"""
| 13.333333 | 47 | 0.6375 | 12 | 80 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.2125 | 80 | 5 | 48 | 16 | 0.793651 | 0.8125 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
293a9acbc9550132fb19c628e7994a611dce79ca | 110 | py | Python | vulfocus-api/vulfocus/__init__.py | x98zy/vulfocus | a4a63ab9a282c91ff4de921dd8cdba50891f6720 | [
"Apache-2.0"
] | 3 | 2021-12-05T11:54:02.000Z | 2022-01-24T05:15:26.000Z | vulfocus-api/vulfocus/__init__.py | x98zy/vulfocus | a4a63ab9a282c91ff4de921dd8cdba50891f6720 | [
"Apache-2.0"
] | null | null | null | vulfocus-api/vulfocus/__init__.py | x98zy/vulfocus | a4a63ab9a282c91ff4de921dd8cdba50891f6720 | [
"Apache-2.0"
] | 1 | 2022-02-15T08:05:56.000Z | 2022-02-15T08:05:56.000Z | from .celery import app as celery_app
import pymysql
__all__ = ('celery_app',)
pymysql.install_as_MySQLdb()
| 15.714286 | 37 | 0.781818 | 16 | 110 | 4.875 | 0.5625 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 110 | 6 | 38 | 18.333333 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
294c4c4ef6df37c2d853246ab5ab398b7a886418 | 270 | py | Python | finder.py | LechMadeyski/PhD19MarekSosnicki | 9ea8af436e451f47062a132abc02f21b00403876 | [
"Apache-2.0"
] | 2 | 2021-03-23T18:23:27.000Z | 2021-06-22T20:01:59.000Z | finder.py | LechMadeyski/AutomatedSearchHelper | 9ea8af436e451f47062a132abc02f21b00403876 | [
"Apache-2.0"
] | null | null | null | finder.py | LechMadeyski/AutomatedSearchHelper | 9ea8af436e451f47062a132abc02f21b00403876 | [
"Apache-2.0"
] | null | null | null | from TextSearchEngine.search_functions import *
# finder = AND(
# PARTIAL_WORD("mutation testing"),
# OR(
# EXACT_WORD("C", caseSensitive = True),
# EXACT_WORD("LLVM", caseSensitive = True)))
finder = AND(
PARTIAL_WORD("mutation testing")) | 24.545455 | 52 | 0.648148 | 28 | 270 | 6.071429 | 0.607143 | 0.105882 | 0.188235 | 0.235294 | 0.411765 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214815 | 270 | 11 | 53 | 24.545455 | 0.801887 | 0.581481 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2974af7031038c6333b62496423daf37ecfa538b | 135 | py | Python | PythonLearn/basic/hello.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | PythonLearn/basic/hello.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | PythonLearn/basic/hello.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | #! python3
# -*- coding: utf-8 -*-
import sys
if len(sys.argv) >1 :
print('hello,' + sys.argv[1])
else:
print('hello,')
| 15 | 33 | 0.525926 | 19 | 135 | 3.736842 | 0.684211 | 0.197183 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.244444 | 135 | 8 | 34 | 16.875 | 0.656863 | 0.22963 | 0 | 0 | 0 | 0 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
461c44c66e3a959b0fcaacef612d4688bb0df25a | 388 | py | Python | server/mongo/mongo_client.py | jamesrappazzo/beta-list | 5b52630080b4d3b16f27f1be63cfecad50d28ba6 | [
"MIT"
] | null | null | null | server/mongo/mongo_client.py | jamesrappazzo/beta-list | 5b52630080b4d3b16f27f1be63cfecad50d28ba6 | [
"MIT"
] | null | null | null | server/mongo/mongo_client.py | jamesrappazzo/beta-list | 5b52630080b4d3b16f27f1be63cfecad50d28ba6 | [
"MIT"
] | null | null | null | from mongoengine import connect
class Connect(object):
@staticmethod
def connect(table="test", username="superuser", password="Seltzer123#", authentication_source="admin"):
# return MongoClient("mongodb://superuser:Seltzer123#@localhost:27017/admin?authSource=admin")
connect('test', username... | 64.666667 | 107 | 0.739691 | 38 | 388 | 7.5 | 0.605263 | 0.084211 | 0.147368 | 0.203509 | 0.449123 | 0.449123 | 0.449123 | 0.449123 | 0 | 0 | 0 | 0.040936 | 0.118557 | 388 | 6 | 108 | 64.666667 | 0.792398 | 0.234536 | 0 | 0 | 0 | 0 | 0.19661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.4 | 0.2 | 0 | 0.6 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
46485d8810817d6244be9e04bb95e7e6bb51a56a | 17,202 | py | Python | docusign_esign/models/user_account_management_granular_information.py | hunk/docusign-python-client | a643c42c1236715e74eef6fc279a1b29da1b5455 | [
"MIT"
] | null | null | null | docusign_esign/models/user_account_management_granular_information.py | hunk/docusign-python-client | a643c42c1236715e74eef6fc279a1b29da1b5455 | [
"MIT"
] | null | null | null | docusign_esign/models/user_account_management_granular_information.py | hunk/docusign-python-client | a643c42c1236715e74eef6fc279a1b29da1b5455 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
DocuSign REST API
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from p... | 39.18451 | 502 | 0.721253 | 1,752 | 17,202 | 6.618721 | 0.079909 | 0.184719 | 0.093825 | 0.070369 | 0.813643 | 0.755002 | 0.708951 | 0.592877 | 0.424629 | 0.215678 | 0 | 0.000449 | 0.223521 | 17,202 | 438 | 503 | 39.273973 | 0.86771 | 0.395535 | 0 | 0.269939 | 0 | 0 | 0.13969 | 0.099699 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208589 | false | 0 | 0.018405 | 0 | 0.349693 | 0.006135 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
464b5f6e24fb4f1430df72530e0e2a500b44bf9e | 159 | py | Python | codigo.py | BrandonMont-git/HCAP2021 | 7a608d3262313267f8824ead5054094d161791ac | [
"MIT"
] | null | null | null | codigo.py | BrandonMont-git/HCAP2021 | 7a608d3262313267f8824ead5054094d161791ac | [
"MIT"
] | null | null | null | codigo.py | BrandonMont-git/HCAP2021 | 7a608d3262313267f8824ead5054094d161791ac | [
"MIT"
] | null | null | null | import math
print (math.pi)
<<<<<<< HEAD
print ("Nueva linea")
=======
print ("Hola esta es una nueva linea")
>>>>>>> de3751321333e8cb4059c589cb5f6641ac4e4b35
| 19.875 | 48 | 0.679245 | 17 | 159 | 6.352941 | 0.705882 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192857 | 0.119497 | 159 | 7 | 49 | 22.714286 | 0.578571 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
464c9c7d7b14ff87c3ba7830736d6b24b33ee0b0 | 113 | py | Python | ladim_plugins/utils/__init__.py | pnsaevik/ladim_plugins | 2097a451346e2517e50f735be8b31862f24e64e2 | [
"MIT"
] | null | null | null | ladim_plugins/utils/__init__.py | pnsaevik/ladim_plugins | 2097a451346e2517e50f735be8b31862f24e64e2 | [
"MIT"
] | null | null | null | ladim_plugins/utils/__init__.py | pnsaevik/ladim_plugins | 2097a451346e2517e50f735be8b31862f24e64e2 | [
"MIT"
] | 1 | 2020-07-09T08:18:36.000Z | 2020-07-09T08:18:36.000Z | from .light import light
from .eos import calc_density as density, viscosity
from .rasterize import ladim_raster
| 28.25 | 51 | 0.831858 | 17 | 113 | 5.411765 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 113 | 3 | 52 | 37.666667 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 4 |
4685f2ac2d41085c5e97cebfce5dd9cde9ad2161 | 134 | py | Python | financier/utils.py | JakeVestal/financier | 0ace41f3b39bb2e4252cb90eeecf316767679e34 | [
"MIT"
] | null | null | null | financier/utils.py | JakeVestal/financier | 0ace41f3b39bb2e4252cb90eeecf316767679e34 | [
"MIT"
] | null | null | null | financier/utils.py | JakeVestal/financier | 0ace41f3b39bb2e4252cb90eeecf316767679e34 | [
"MIT"
] | 1 | 2021-11-21T20:52:41.000Z | 2021-11-21T20:52:41.000Z | import numpy as np
import pandas as pd
def exp_cov(df):
cov_matrix = df.cov(min_periods=None, ddof=0).values
return cov_matrix | 26.8 | 56 | 0.746269 | 25 | 134 | 3.84 | 0.72 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.171642 | 134 | 5 | 57 | 26.8 | 0.855856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 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 | 0 | 1 | 0 | 0 | 4 |
46a57e9f9dacc5095ad4bb0f301de70ecc16f02d | 476 | py | Python | week10/NaLDo627/target-number.py | NaLDo627/Study_Algorithm_Team_1 | 9e01d08e4b7c9cdc4a3e06246ce9d8f96431b836 | [
"MIT"
] | null | null | null | week10/NaLDo627/target-number.py | NaLDo627/Study_Algorithm_Team_1 | 9e01d08e4b7c9cdc4a3e06246ce9d8f96431b836 | [
"MIT"
] | 15 | 2021-02-26T13:45:35.000Z | 2021-05-29T11:14:09.000Z | week10/NaLDo627/target-number.py | NaLDo627/Study_Algorithm_Team_1 | 9e01d08e4b7c9cdc4a3e06246ce9d8f96431b836 | [
"MIT"
] | 4 | 2021-02-27T05:41:29.000Z | 2021-03-02T06:06:39.000Z | def dfs(numbers, target, current_value, index):
if index == len(numbers):
if current_value == target:
return 1
return 0
number = numbers[index]
return dfs(numbers, target, current_value + number, index + 1) + \
dfs(numbers, target, current_value - number, index + 1)
... | 28 | 70 | 0.634454 | 67 | 476 | 4.447761 | 0.477612 | 0.218121 | 0.214765 | 0.231544 | 0.362416 | 0.268456 | 0.268456 | 0.268456 | 0 | 0 | 0 | 0.017143 | 0.264706 | 476 | 16 | 71 | 29.75 | 0.834286 | 0.165966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.1 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d3ba3a88b7e77eb944ffc34b5c307c66596b0397 | 44 | py | Python | bot/plugins/__init__.py | BluLupo/GoogleAssistantBot | 32c975747493de6b0139d0038cf8e778e1c39723 | [
"Apache-2.0"
] | 4 | 2020-07-29T22:53:04.000Z | 2021-11-08T23:09:05.000Z | bot/plugins/__init__.py | BluLupo/GoogleAssistantBot | 32c975747493de6b0139d0038cf8e778e1c39723 | [
"Apache-2.0"
] | 3 | 2020-10-04T15:26:30.000Z | 2021-05-02T20:17:30.000Z | bot/plugins/__init__.py | BluLupo/GoogleAssistantBot | 32c975747493de6b0139d0038cf8e778e1c39723 | [
"Apache-2.0"
] | 6 | 2020-08-23T18:08:45.000Z | 2020-09-12T09:46:03.000Z | __all__ = ["weather"]
from plugins import * | 14.666667 | 21 | 0.704545 | 5 | 44 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 3 | 22 | 14.666667 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d3cf261ae27679267cff9491c3023b9d3b71bfc7 | 1,024 | py | Python | python ex5.py | IMDCGP105-1819/portfolio-s184286 | e5485f640f341090823bbcaabe287376a048b2c4 | [
"MIT"
] | null | null | null | python ex5.py | IMDCGP105-1819/portfolio-s184286 | e5485f640f341090823bbcaabe287376a048b2c4 | [
"MIT"
] | null | null | null | python ex5.py | IMDCGP105-1819/portfolio-s184286 | e5485f640f341090823bbcaabe287376a048b2c4 | [
"MIT"
] | null | null | null |
## 99 bottles using while loop..
n = 99
while n > 0:
print(n,"bottles of beer on the wall,","Take one down, pass it around,")
n = n - 1
print('No more bottles of beer on the wall, no more bottles of beer. Go to the store and buy some more, 99 bottles of beer on the wall…')
"""
# 99 bottles usin... | 36.571429 | 138 | 0.561523 | 171 | 1,024 | 3.380117 | 0.239766 | 0.134948 | 0.224913 | 0.17128 | 0.641869 | 0.553633 | 0.287197 | 0.197232 | 0 | 0 | 0 | 0.036711 | 0.334961 | 1,024 | 27 | 139 | 37.925926 | 0.807636 | 0.02832 | 0 | 0 | 0 | 0.2 | 0.732283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0.4 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d3e6666d2d52eac11760d31257600d95b802142e | 1,002 | py | Python | backend/lists/permissions.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | backend/lists/permissions.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | backend/lists/permissions.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import get_object_or_404
from rest_framework import permissions
from boards.models import Board
class IsAuthorOrParticipantOrAdminForCreateList(permissions.BasePermission):
def has_permission(self, request, view):
board = get_object_or_404(Board, id=request.data['board'])
... | 29.470588 | 76 | 0.727545 | 119 | 1,002 | 5.983193 | 0.327731 | 0.108146 | 0.157303 | 0.174157 | 0.438202 | 0.438202 | 0.438202 | 0.438202 | 0.321629 | 0.321629 | 0 | 0.007326 | 0.182635 | 1,002 | 33 | 77 | 30.363636 | 0.862027 | 0 | 0 | 0.157895 | 0 | 0 | 0.00499 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.157895 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
d3fa51d724a792ac53226dfcdc1711243147b453 | 143 | py | Python | services/group_service_interface.py | Priyeshpandey/splitwise | db1af921a1ebf3f4034a6672cd3a2515aaeeecd5 | [
"MIT"
] | null | null | null | services/group_service_interface.py | Priyeshpandey/splitwise | db1af921a1ebf3f4034a6672cd3a2515aaeeecd5 | [
"MIT"
] | null | null | null | services/group_service_interface.py | Priyeshpandey/splitwise | db1af921a1ebf3f4034a6672cd3a2515aaeeecd5 | [
"MIT"
] | null | null | null | import abc
class GroupServiceInterface(metaclass=abc.ABCMeta):
@abc.abstractmethod
def addGroup(self, id, name, members):
pass | 23.833333 | 51 | 0.72028 | 16 | 143 | 6.4375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188811 | 143 | 6 | 52 | 23.833333 | 0.887931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d3fd902c48c4a9c32d7d1027647b2947a627fe76 | 118 | py | Python | refinery/lib/thirdparty/__init__.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | null | null | null | refinery/lib/thirdparty/__init__.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | null | null | null | refinery/lib/thirdparty/__init__.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | null | null | null | """
This module contains third-party libraries that usually have different licensing than
Binary Refinery itself.
"""
| 23.6 | 85 | 0.79661 | 15 | 118 | 6.266667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 4 | 86 | 29.5 | 0.921569 | 0.923729 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
314961970a585649da4cf56d2195fa7ec29b5732 | 79 | py | Python | src/jianshou/__init__.py | p1slave/jianshou-client | 7e94c305bf5928988cfee11dbeb3645985370db3 | [
"MIT"
] | null | null | null | src/jianshou/__init__.py | p1slave/jianshou-client | 7e94c305bf5928988cfee11dbeb3645985370db3 | [
"MIT"
] | null | null | null | src/jianshou/__init__.py | p1slave/jianshou-client | 7e94c305bf5928988cfee11dbeb3645985370db3 | [
"MIT"
] | null | null | null | from .api import JianshouClient
JianshouClient
# __all__ = ["JianshouClient"] | 15.8 | 31 | 0.78481 | 7 | 79 | 8.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 5 | 32 | 15.8 | 0.84058 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 4 |
314f58e4cfd5861cbacc98682098feddb4582103 | 1,506 | py | Python | tests/functional/adapter/test_basic.py | mdesmet/dbt-trino | 2a1f03902b1375262d0bead06fc650d1c992fa0b | [
"Apache-2.0"
] | 37 | 2021-10-05T13:47:08.000Z | 2022-03-26T23:31:53.000Z | tests/functional/adapter/test_basic.py | mdesmet/dbt-trino | 2a1f03902b1375262d0bead06fc650d1c992fa0b | [
"Apache-2.0"
] | 36 | 2021-09-27T17:25:26.000Z | 2022-03-28T08:41:40.000Z | tests/functional/adapter/test_basic.py | mdesmet/dbt-trino | 2a1f03902b1375262d0bead06fc650d1c992fa0b | [
"Apache-2.0"
] | 11 | 2021-12-14T04:40:38.000Z | 2022-03-27T02:17:25.000Z | import pytest
from dbt.tests.adapter.basic.test_adapter_methods import BaseAdapterMethod
from dbt.tests.adapter.basic.test_base import BaseSimpleMaterializations
from dbt.tests.adapter.basic.test_singular_tests import BaseSingularTests
from dbt.tests.adapter.basic.test_singular_tests_ephemeral import BaseSingularTests... | 27.381818 | 92 | 0.846614 | 160 | 1,506 | 7.85625 | 0.3 | 0.055688 | 0.095465 | 0.151154 | 0.351631 | 0.351631 | 0.217979 | 0.1607 | 0.095465 | 0.095465 | 0 | 0 | 0.094954 | 1,506 | 54 | 93 | 27.888889 | 0.92223 | 0 | 0 | 0.363636 | 0 | 0 | 0.046481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.30303 | 0.333333 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
317f8bf51c29079fcfbbea19dd0cb67a93c1ddfc | 2,335 | py | Python | tests/dicts/parse/test_parse_util.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 365 | 2019-05-21T05:50:30.000Z | 2022-03-29T11:35:35.000Z | tests/dicts/parse/test_parse_util.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 78 | 2019-11-16T12:22:54.000Z | 2022-03-14T12:21:30.000Z | tests/dicts/parse/test_parse_util.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 26 | 2019-12-16T06:34:12.000Z | 2022-02-28T07:16:41.000Z | # -*- coding: utf-8 -*-
from benedict.dicts.parse import parse_util
import unittest
class parse_util_test_case(unittest.TestCase):
def test_parse_bool(self):
f = parse_util.parse_bool
self.assertTrue(f(1))
self.assertTrue(f(True))
self.assertTrue(f('1'))
self.assertTrue(... | 25.380435 | 91 | 0.574304 | 305 | 2,335 | 4.203279 | 0.2 | 0.087363 | 0.149766 | 0.117005 | 0.651326 | 0.617785 | 0.406396 | 0.358034 | 0.358034 | 0.358034 | 0 | 0.01716 | 0.276231 | 2,335 | 91 | 92 | 25.659341 | 0.74142 | 0.032548 | 0 | 0.254237 | 0 | 0 | 0.042297 | 0 | 0 | 0 | 0 | 0.010989 | 0.40678 | 1 | 0.271186 | false | 0.186441 | 0.033898 | 0 | 0.322034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
31ab5d74f81f1f6c1796b0cf1966a31da4ff4714 | 330 | py | Python | awl/tests/test_logtools.py | cltrudeau/django-awl | e74f697d992bf96f9e448bb618141b4aa4a62a7e | [
"MIT"
] | 5 | 2020-04-07T01:56:24.000Z | 2021-07-15T04:57:43.000Z | awl/tests/test_logtools.py | cltrudeau/django-awl | e74f697d992bf96f9e448bb618141b4aa4a62a7e | [
"MIT"
] | 9 | 2020-02-11T22:15:30.000Z | 2021-12-20T21:21:08.000Z | awl/tests/test_logtools.py | cltrudeau/django-awl | e74f697d992bf96f9e448bb618141b4aa4a62a7e | [
"MIT"
] | null | null | null | from django.test import TestCase
from awl.logtools import django_logging_dict
# ============================================================================
class LogToolsTests(TestCase):
def test_django_logging_dict(self):
# not much to test here besides that it doesn't blow up
django_logging_di... | 30 | 78 | 0.572727 | 37 | 330 | 4.918919 | 0.675676 | 0.214286 | 0.28022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 330 | 10 | 79 | 33 | 0.65 | 0.393939 | 0 | 0 | 0 | 0 | 0.015228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
31ee1e1b6f663eb8868af9752ff06e908feb7cc5 | 221 | py | Python | universality/tov/__init__.py | isaaclegred/universality | 9eac607a78b7cb67c1509ea68f4de631437f393a | [
"MIT"
] | 1 | 2021-06-02T13:41:46.000Z | 2021-06-02T13:41:46.000Z | universality/tov/__init__.py | isaaclegred/universality | 9eac607a78b7cb67c1509ea68f4de631437f393a | [
"MIT"
] | 25 | 2018-01-31T15:14:27.000Z | 2021-01-10T21:32:05.000Z | universality/tov/__init__.py | isaaclegred/universality | 9eac607a78b7cb67c1509ea68f4de631437f393a | [
"MIT"
] | 2 | 2018-12-07T04:04:33.000Z | 2021-09-10T19:00:17.000Z | """a module that houses our routines to solve the TOV equations, etc
"""
__author__ = "Reed Essick (reed.essick@gmail.com)"
#-------------------------------------------------
from .sequences import *
from .ode import *
| 24.555556 | 68 | 0.556561 | 25 | 221 | 4.76 | 0.84 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131222 | 221 | 8 | 69 | 27.625 | 0.619792 | 0.520362 | 0 | 0 | 0 | 0 | 0.353535 | 0.232323 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9ed40b73ce716be0427e4551cd71735cddf6f2df | 799 | py | Python | ssasse_platform/scripts/utils/printAllAttributes.py | garretseppalapnnl/ssass-e | 6fcc0198422aa649c45344f1a6ba079b1ebf384e | [
"BSD-3-Clause"
] | 4 | 2021-02-16T17:27:37.000Z | 2022-01-25T09:29:30.000Z | ssasse_platform/scripts/utils/printAllAttributes.py | garretseppalapnnl/ssass-e | 6fcc0198422aa649c45344f1a6ba079b1ebf384e | [
"BSD-3-Clause"
] | 3 | 2021-05-05T16:38:54.000Z | 2021-06-04T20:05:28.000Z | ssasse_platform/scripts/utils/printAllAttributes.py | garretseppalapnnl/ssass-e | 6fcc0198422aa649c45344f1a6ba079b1ebf384e | [
"BSD-3-Clause"
] | 5 | 2021-04-16T21:50:57.000Z | 2021-05-25T16:36:26.000Z | import sys
if sys.version_info[0] >= 3:
unicode = str
import json
from ssasse_platform.InferenceEngine.Databases import dbManagerNew
from ssasse_platform.InferenceEngine import helper
import datetime
import time
database_path = "ssasse_platform/InferenceEngine/Databases/"
profiles_path = "ssasse_platform/Inferenc... | 31.96 | 66 | 0.809762 | 94 | 799 | 6.680851 | 0.382979 | 0.047771 | 0.184713 | 0.186306 | 0.269108 | 0.269108 | 0.197452 | 0.197452 | 0.197452 | 0 | 0 | 0.006849 | 0.086358 | 799 | 24 | 67 | 33.291667 | 0.853425 | 0.010013 | 0 | 0 | 0 | 0 | 0.269962 | 0.105196 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
9edceba874af5dd2f59995a88baf715c038b6a51 | 10,413 | py | Python | system/controllers/controllers.py | JHUAPL/meta-system | d3e80e50d64e1a9e83d81efbcb8de1ec9cc34e03 | [
"Apache-2.0"
] | 5 | 2021-07-30T00:59:59.000Z | 2022-03-23T16:52:46.000Z | system/controllers/controllers.py | JHUAPL/meta-system | d3e80e50d64e1a9e83d81efbcb8de1ec9cc34e03 | [
"Apache-2.0"
] | null | null | null | system/controllers/controllers.py | JHUAPL/meta-system | d3e80e50d64e1a9e83d81efbcb8de1ec9cc34e03 | [
"Apache-2.0"
] | null | null | null | # **********************************************************************
# Copyright (C) 2020 Johns Hopkins University Applied Physics Laboratory
#
# All Rights Reserved.
# For any other permission, please contact the Legal Office at JHU/APL.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# y... | 37.05694 | 102 | 0.665418 | 1,432 | 10,413 | 4.750698 | 0.142458 | 0.046891 | 0.050272 | 0.047038 | 0.760547 | 0.735264 | 0.710275 | 0.68705 | 0.663678 | 0.643099 | 0 | 0.001146 | 0.245847 | 10,413 | 280 | 103 | 37.189286 | 0.865147 | 0.40776 | 0 | 0.707483 | 0 | 0 | 0.04907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068027 | false | 0 | 0.034014 | 0 | 0.22449 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9efc4563d60e0a7c288c80de6af94869901337fa | 150 | py | Python | bootcamp/agents/agent.py | jasonkriss/bootcamp | c97aabac1edcc30ce2e37d9d6e3490d6d456615e | [
"MIT"
] | null | null | null | bootcamp/agents/agent.py | jasonkriss/bootcamp | c97aabac1edcc30ce2e37d9d6e3490d6d456615e | [
"MIT"
] | null | null | null | bootcamp/agents/agent.py | jasonkriss/bootcamp | c97aabac1edcc30ce2e37d9d6e3490d6d456615e | [
"MIT"
] | null | null | null | class Agent(object):
def train(self, batch):
raise NotImplementedError
def act(self, observation):
raise NotImplementedError
| 21.428571 | 33 | 0.68 | 15 | 150 | 6.8 | 0.733333 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246667 | 150 | 6 | 34 | 25 | 0.902655 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
731057f3b68f45b75519708f5ba44aeb72d0a811 | 86 | py | Python | os_ken/topology/__init__.py | faucetsdn/python3-os-ken | 31037f6388b7885c859391802451b867c30f1694 | [
"Apache-2.0"
] | 4 | 2018-10-25T08:42:56.000Z | 2019-04-24T04:01:26.000Z | os_ken/topology/__init__.py | anlaneg/os-ken | 379a7694c3129cc0156343af71f4fca8830d9de5 | [
"Apache-2.0"
] | 1 | 2021-05-09T06:14:16.000Z | 2021-05-09T06:14:18.000Z | os_ken/topology/__init__.py | anlaneg/os-ken | 379a7694c3129cc0156343af71f4fca8830d9de5 | [
"Apache-2.0"
] | 5 | 2019-04-24T04:01:01.000Z | 2020-06-20T14:38:04.000Z | """
Switch and link discovery module. Planned to replace os_ken/controller/dpset.
"""
| 21.5 | 77 | 0.755814 | 12 | 86 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 3 | 78 | 28.666667 | 0.853333 | 0.895349 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7312dbde897c4ab3b8eb34764fbd570ca52c8735 | 5,439 | py | Python | gtam_tools/io/nwp.py | sap-toronto/gtam-tools | 9f36e0afdc25e84862804e2b633f4996c2d97d02 | [
"MIT"
] | null | null | null | gtam_tools/io/nwp.py | sap-toronto/gtam-tools | 9f36e0afdc25e84862804e2b633f4996c2d97d02 | [
"MIT"
] | null | null | null | gtam_tools/io/nwp.py | sap-toronto/gtam-tools | 9f36e0afdc25e84862804e2b633f4996c2d97d02 | [
"MIT"
] | null | null | null | import pandas as pd
from pathlib import Path
from typing import List, Tuple, Union
from warnings import warn
import balsa.routines.io.nwp as nwp_tools
deprecated_msg = 'This method is deprecated and will be removed in future releases. Please use a newer version of this method from `balsa.routines.io.nwp` instead.'
... | 37.770833 | 164 | 0.723295 | 777 | 5,439 | 4.911197 | 0.162162 | 0.035377 | 0.04717 | 0.061321 | 0.754717 | 0.732966 | 0.681604 | 0.645702 | 0.631813 | 0.631813 | 0 | 0.002521 | 0.197647 | 5,439 | 143 | 165 | 38.034965 | 0.871907 | 0.522155 | 0 | 0.272727 | 0 | 0.030303 | 0.063043 | 0.01 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.151515 | 0 | 0.69697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
73241e52ab9053565fc0f15c8a0ace63177a6001 | 398 | py | Python | project_management/project_management_system/doctype/sprint/sprint.py | ayushipatel126/project_management | 995752512889ed5ac48b84266fcabb65fd2d4054 | [
"MIT"
] | null | null | null | project_management/project_management_system/doctype/sprint/sprint.py | ayushipatel126/project_management | 995752512889ed5ac48b84266fcabb65fd2d4054 | [
"MIT"
] | null | null | null | project_management/project_management_system/doctype/sprint/sprint.py | ayushipatel126/project_management | 995752512889ed5ac48b84266fcabb65fd2d4054 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2019, Ayushi Patel and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class Sprint(Document):
pass
@frappe.whitelist()
def get_sprint_list_by_project(project):
... | 22.111111 | 77 | 0.758794 | 52 | 398 | 5.615385 | 0.692308 | 0.09589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014327 | 0.123116 | 398 | 17 | 78 | 23.411765 | 0.82235 | 0.298995 | 0 | 0 | 0 | 0 | 0.050909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0.125 | 0.75 | 0.375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 4 |
73254f79a765f04f355a4e0ffa51b13b72034cb3 | 86 | py | Python | util.py | joshsalvi/Actigraphy | d784277e6bd4c1721308a76903f83ba6896c0068 | [
"Apache-2.0"
] | null | null | null | util.py | joshsalvi/Actigraphy | d784277e6bd4c1721308a76903f83ba6896c0068 | [
"Apache-2.0"
] | null | null | null | util.py | joshsalvi/Actigraphy | d784277e6bd4c1721308a76903f83ba6896c0068 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pandas as pd
print('Hello, this is agreat utility file!')
| 17.2 | 45 | 0.744186 | 15 | 86 | 4.266667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 46 | 21.5 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 | 0 | 0 | 0 | 4 |
73439a7b9801f3f61f6607171314f6216823a1d1 | 172 | py | Python | init_db.py | MaritimeMartin/socialnetworking | 955c13e1c540b0e15b9c259b0242a26f82a42cf9 | [
"MIT"
] | null | null | null | init_db.py | MaritimeMartin/socialnetworking | 955c13e1c540b0e15b9c259b0242a26f82a42cf9 | [
"MIT"
] | null | null | null | init_db.py | MaritimeMartin/socialnetworking | 955c13e1c540b0e15b9c259b0242a26f82a42cf9 | [
"MIT"
] | null | null | null | from datamodel import DB
if __name__ == "__main__":
DB.bind(provider="sqlite", filename="db_model.sqlite", create_db=True)
DB.generate_mapping(create_tables=True)
| 28.666667 | 74 | 0.75 | 24 | 172 | 4.875 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122093 | 172 | 5 | 75 | 34.4 | 0.774834 | 0 | 0 | 0 | 1 | 0 | 0.168605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b404a945077db61cd742ea6219081d47c502fd7a | 713 | py | Python | fixit/cli/utils.py | sk-/Fixit | ee0c2c9699f3cf5557b7f1210447c68be1542024 | [
"Apache-2.0"
] | 313 | 2020-09-02T20:35:57.000Z | 2022-03-29T07:55:37.000Z | fixit/cli/utils.py | sk-/Fixit | ee0c2c9699f3cf5557b7f1210447c68be1542024 | [
"Apache-2.0"
] | 93 | 2020-09-02T19:51:22.000Z | 2022-01-19T18:29:46.000Z | fixit/cli/utils.py | sk-/Fixit | ee0c2c9699f3cf5557b7f1210447c68be1542024 | [
"Apache-2.0"
] | 46 | 2020-09-02T21:16:57.000Z | 2022-03-16T18:49:37.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
def print_color(code: int, message: str) -> None:
print(f"\033[{code}m{message}\033[00m")
def print_green(message: str) -> None:
pr... | 23.766667 | 65 | 0.691445 | 109 | 713 | 4.412844 | 0.513761 | 0.08316 | 0.14553 | 0.197505 | 0.199584 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027257 | 0.176718 | 713 | 29 | 66 | 24.586207 | 0.792164 | 0.304348 | 0 | 0 | 0 | 0 | 0.061602 | 0.059548 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.583333 | 0.833333 | 0 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 0 | 4 |
b40a88115b8572159b7954aa14f6187b642cd2d6 | 187 | py | Python | configs/lcgn/lcgn_gqa.py | linxi1158/iMIX | af87a17275f02c94932bb2e29f132a84db812002 | [
"Apache-2.0"
] | 23 | 2021-06-26T08:45:19.000Z | 2022-03-02T02:13:33.000Z | configs/lcgn/lcgn_gqa.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | null | null | null | configs/lcgn/lcgn_gqa.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 9 | 2021-06-10T02:36:20.000Z | 2021-11-09T02:18:16.000Z | _base_ = [
'../_base_/models/lcgn_config.py',
'../_base_/datasets/gqa_dataset.py',
'../_base_/schedules/schedule_vqa.py',
'../_base_/default_runtime.py'
] # yapf:disable
| 26.714286 | 42 | 0.647059 | 22 | 187 | 4.863636 | 0.681818 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144385 | 187 | 6 | 43 | 31.166667 | 0.66875 | 0.064171 | 0 | 0 | 0 | 0 | 0.734104 | 0.734104 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.