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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db249be3f893ded1bda4712cddefdef18c11570b | 217 | py | Python | modules/adapters/adapter/__init__.py | timfjord/sublime_debugger | 3dae233f307264d103e687fb641275c38889d814 | [
"MIT"
] | 225 | 2019-07-18T17:32:46.000Z | 2022-03-20T02:21:03.000Z | modules/adapters/adapter/__init__.py | timfjord/sublime_debugger | 3dae233f307264d103e687fb641275c38889d814 | [
"MIT"
] | 134 | 2019-07-23T01:07:58.000Z | 2022-03-31T15:37:08.000Z | modules/adapters/adapter/__init__.py | timfjord/sublime_debugger | 3dae233f307264d103e687fb641275c38889d814 | [
"MIT"
] | 39 | 2019-07-27T05:41:38.000Z | 2022-03-28T04:39:06.000Z | from ...dap import AdapterConfiguration
from .transports import SocketTransport, StdioTransport, Process
from .dependencies import get_and_warn_require_node
from .import git
from .import openvsx
from .import vscode
| 24.111111 | 64 | 0.83871 | 27 | 217 | 6.592593 | 0.62963 | 0.168539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115207 | 217 | 8 | 65 | 27.125 | 0.927083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e1f42a679d750432387c0e456d07bc56673835a7 | 87 | py | Python | vlab_vlan/lib/views/__init__.py | willnx/vlab_vlan | 9bb2617226e189c6787c72b3611837c0be9dc8cc | [
"Apache-2.0"
] | 1 | 2019-04-10T16:17:22.000Z | 2019-04-10T16:17:22.000Z | vlab_vlan/lib/views/__init__.py | willnx/vlab_vlan | 9bb2617226e189c6787c72b3611837c0be9dc8cc | [
"Apache-2.0"
] | 1 | 2019-01-04T16:53:14.000Z | 2019-01-04T16:53:14.000Z | vlab_vlan/lib/views/__init__.py | willnx/vlab_vlan | 9bb2617226e189c6787c72b3611837c0be9dc8cc | [
"Apache-2.0"
] | null | null | null | # -*- coding: UTF-8 -*-
from .vlan import VlanView
from .healthcheck import HealthView
| 21.75 | 35 | 0.724138 | 11 | 87 | 5.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.149425 | 87 | 3 | 36 | 29 | 0.837838 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c00c2759ec2062b92fa6737bf819172d34051b9f | 56 | py | Python | ostinato/contentfilters/__init__.py | andrewebdev/django-ostinato | 2c435dea23319be6e9011e7381afca2b4092b5a2 | [
"MIT"
] | 5 | 2015-01-28T09:56:48.000Z | 2020-05-22T21:07:30.000Z | ostinato/contentfilters/__init__.py | andrewebdev/django-ostinato | 2c435dea23319be6e9011e7381afca2b4092b5a2 | [
"MIT"
] | 18 | 2015-02-03T15:37:22.000Z | 2020-06-05T16:41:15.000Z | ostinato/contentfilters/__init__.py | andrewebdev/django-ostinato | 2c435dea23319be6e9011e7381afca2b4092b5a2 | [
"MIT"
] | 2 | 2015-02-23T19:34:59.000Z | 2017-01-22T02:10:12.000Z | from templatetags.content_filters import ContentFilter
| 18.666667 | 54 | 0.892857 | 6 | 56 | 8.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 2 | 55 | 28 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2207f7c6a6f9b08aa3243b0de9ddcbc819bc5257 | 94 | py | Python | utils/__init__.py | JasonZuu/Frame-Selection | 3eb6ecdbf8e5695ba53752bdd8446def9c5cfbb9 | [
"BSD-3-Clause"
] | 1 | 2022-03-29T03:11:24.000Z | 2022-03-29T03:11:24.000Z | utils/__init__.py | JasonZuu/Frame-Selection | 3eb6ecdbf8e5695ba53752bdd8446def9c5cfbb9 | [
"BSD-3-Clause"
] | null | null | null | utils/__init__.py | JasonZuu/Frame-Selection | 3eb6ecdbf8e5695ba53752bdd8446def9c5cfbb9 | [
"BSD-3-Clause"
] | null | null | null | from .transforms import Transforms
from .normalize import norm
from .faces import PullFaceTool | 31.333333 | 34 | 0.851064 | 12 | 94 | 6.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 3 | 35 | 31.333333 | 0.963855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2240ef05a9c95d91b17179245920ff7047383fc9 | 44 | py | Python | Scripts/dk/point.py | hhg128/DKGL | c61bc6546ac5655da97462cc532a9034ba08516d | [
"PSF-2.0",
"BSD-3-Clause"
] | 14 | 2015-09-12T01:32:05.000Z | 2021-10-13T02:52:53.000Z | Scripts/dk/point.py | hhg128/DKGL | c61bc6546ac5655da97462cc532a9034ba08516d | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | Scripts/dk/point.py | hhg128/DKGL | c61bc6546ac5655da97462cc532a9034ba08516d | [
"PSF-2.0",
"BSD-3-Clause"
] | 3 | 2015-11-10T03:12:49.000Z | 2018-10-15T15:38:31.000Z | import _dk_core as core
Point = core.Point
| 11 | 23 | 0.772727 | 8 | 44 | 4 | 0.625 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 24 | 14.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 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 | 5 |
226b3faad882436e446fb4e55204994e21bf1df6 | 4,114 | py | Python | day_9.py | kurtrm/advent_of_code_2018 | a3db9df31de730479c8c2b3f2869b274a0e024e9 | [
"MIT"
] | null | null | null | day_9.py | kurtrm/advent_of_code_2018 | a3db9df31de730479c8c2b3f2869b274a0e024e9 | [
"MIT"
] | null | null | null | day_9.py | kurtrm/advent_of_code_2018 | a3db9df31de730479c8c2b3f2869b274a0e024e9 | [
"MIT"
] | null | null | null | """
"""
from itertools import cycle
from collections import defaultdict
# if __name__ == '__main__':
"""
466 players; last marble is worth 71436
"""
# import sys
# i = 3
# idx = 1
# players = cycle(range(1, int(sys.argv[1])+1))
# next(players)
# next(players)
# listy = [0, 2,... | 28.569444 | 81 | 0.464268 | 497 | 4,114 | 3.663984 | 0.134809 | 0.069193 | 0.054366 | 0.046129 | 0.795717 | 0.795717 | 0.795717 | 0.795717 | 0.795717 | 0.766063 | 0 | 0.04551 | 0.407146 | 4,114 | 143 | 82 | 28.769231 | 0.701107 | 0.693486 | 0 | 0.24 | 0 | 0 | 0.008969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.12 | 0 | 0.2 | 0.08 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
22778d2684755b5274c931b4ce1b8607a579c3e8 | 270 | py | Python | app/apirest/apirest.py | Phyton-es-mi-typo/tyempo | a7f98a3f84d4fca6e80ccdbfd86060204a32f31c | [
"MIT"
] | null | null | null | app/apirest/apirest.py | Phyton-es-mi-typo/tyempo | a7f98a3f84d4fca6e80ccdbfd86060204a32f31c | [
"MIT"
] | 28 | 2021-02-27T17:10:28.000Z | 2021-03-18T11:18:05.000Z | app/apirest/apirest.py | Phyton-es-mi-typo/tyempo | a7f98a3f84d4fca6e80ccdbfd86060204a32f31c | [
"MIT"
] | 1 | 2021-02-22T16:04:41.000Z | 2021-02-22T16:04:41.000Z | from fastapi import FastAPI
from .notion.routes import router as notion
from .weather.routes import router as weather
app = FastAPI(title='Tyempo')
app.include_router(notion)
app.include_router(weather)
@app.get('/')
def hello_world():
return {'hello': 'world'}
| 19.285714 | 45 | 0.748148 | 38 | 270 | 5.236842 | 0.447368 | 0.120603 | 0.180905 | 0.201005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 270 | 13 | 46 | 20.769231 | 0.846809 | 0 | 0 | 0 | 0 | 0 | 0.062963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.555556 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
227c5caa80b08da76360362aaa3e4582b8dc1523 | 247 | py | Python | pynars/NAL/Functions/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NAL/Functions/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NAL/Functions/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | from .ExtendedBooleanFunctions import *
from .TruthValueFunctions import *
from .UncertaintyMappingFunctions import *
from .BudgetFunctions import *
from .TemporalFunctions import *
from .StampFunctions import *
from .DesireValueFunctions import * | 35.285714 | 42 | 0.834008 | 21 | 247 | 9.809524 | 0.428571 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109312 | 247 | 7 | 43 | 35.285714 | 0.936364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
97f2368f804b71ac5351862d7c02d6637078cc76 | 140 | py | Python | plans/admin.py | skupriienko/nickfitness | 3104ce0a61760222015ca55e6087591fcdfb6b71 | [
"MIT"
] | null | null | null | plans/admin.py | skupriienko/nickfitness | 3104ce0a61760222015ca55e6087591fcdfb6b71 | [
"MIT"
] | null | null | null | plans/admin.py | skupriienko/nickfitness | 3104ce0a61760222015ca55e6087591fcdfb6b71 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import FitnessPlan, Customer
admin.site.register(FitnessPlan)
admin.site.register(Customer)
| 20 | 41 | 0.828571 | 18 | 140 | 6.444444 | 0.555556 | 0.155172 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 140 | 6 | 42 | 23.333333 | 0.913386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3f3658dd323b8b0c2ea411e776fe5708e57f9b45 | 152 | py | Python | src/python/binary/binary/__init__.py | anglofox/bazel-pex-rule | a08606baf573a6f14e0a5eb858377a6474df92cb | [
"Apache-2.0"
] | 1 | 2021-05-10T22:14:23.000Z | 2021-05-10T22:14:23.000Z | src/python/binary/binary/__init__.py | anglofox/bazel-pex-rule | a08606baf573a6f14e0a5eb858377a6474df92cb | [
"Apache-2.0"
] | null | null | null | src/python/binary/binary/__init__.py | anglofox/bazel-pex-rule | a08606baf573a6f14e0a5eb858377a6474df92cb | [
"Apache-2.0"
] | null | null | null | from library import Library
class Binary:
def __init__(self):
self._lib = Library()
def value(self):
return self._lib.output
| 15.2 | 31 | 0.638158 | 19 | 152 | 4.789474 | 0.631579 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276316 | 152 | 9 | 32 | 16.888889 | 0.827273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
58c0e06ad60cfdf592dd16e8a82644f296f61581 | 103 | py | Python | examples/3-foreach/2-1-set.py | muzi131313/pythonLearn | 705ae6e3e4e1480e4ac541efc9c4065e08befc7b | [
"MIT"
] | null | null | null | examples/3-foreach/2-1-set.py | muzi131313/pythonLearn | 705ae6e3e4e1480e4ac541efc9c4065e08befc7b | [
"MIT"
] | null | null | null | examples/3-foreach/2-1-set.py | muzi131313/pythonLearn | 705ae6e3e4e1480e4ac541efc9c4065e08befc7b | [
"MIT"
] | null | null | null |
# set: https://eastlakeside.gitbooks.io/interpy-zh/content/set_data_structure/set_data_structure.html
| 34.333333 | 101 | 0.834951 | 15 | 103 | 5.466667 | 0.733333 | 0.170732 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 103 | 2 | 102 | 51.5 | 0.828283 | 0.961165 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 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 | 5 |
58c3d3c4195953772ab3e8de1d395f2b998c2c9b | 1,896 | py | Python | ltc/base/utils/confluence/helpers.py | v0devil/jltom | b302a39a187b8e1154c6deda636a4db8b30bb40b | [
"MIT"
] | 4 | 2016-12-30T13:26:59.000Z | 2017-04-26T12:07:36.000Z | ltc/base/utils/confluence/helpers.py | v0devil/jltom | b302a39a187b8e1154c6deda636a4db8b30bb40b | [
"MIT"
] | null | null | null | ltc/base/utils/confluence/helpers.py | v0devil/jltom | b302a39a187b8e1154c6deda636a4db8b30bb40b | [
"MIT"
] | null | null | null | def generate_confluence_graph(
project, data, type='bar', x_axis='name',
exclude_metrics=['started_at'],
):
exclude_metrics.append(x_axis)
metric_names = []
for k in data[0]:
if k not in exclude_metrics:
metric_names.append(k)
html = ""
html += '''
<ac:structured-... | 37.176471 | 118 | 0.58597 | 237 | 1,896 | 4.616034 | 0.324895 | 0.241316 | 0.285192 | 0.186472 | 0.384826 | 0.36106 | 0.189214 | 0.106947 | 0 | 0 | 0 | 0.024188 | 0.236814 | 1,896 | 50 | 119 | 37.92 | 0.731859 | 0 | 0 | 0.16 | 1 | 0.04 | 0.678797 | 0.28692 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0 | 0 | 0.04 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
58c671f5b2080c1748e95ac87ce72ccd2535a4c7 | 1,027 | py | Python | test/test_input_cons3rt_template_data_for_binding.py | cons3rt/cons3rt-python-sdk | f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0 | [
"RSA-MD"
] | null | null | null | test/test_input_cons3rt_template_data_for_binding.py | cons3rt/cons3rt-python-sdk | f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0 | [
"RSA-MD"
] | null | null | null | test/test_input_cons3rt_template_data_for_binding.py | cons3rt/cons3rt-python-sdk | f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0 | [
"RSA-MD"
] | null | null | null | # coding: utf-8
"""
CONS3RT Web API
A CONS3RT ReSTful API # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: Fred@gigagantic-server.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import cons3rt
from cons3rt.models.inp... | 25.04878 | 123 | 0.743914 | 107 | 1,027 | 6.925234 | 0.598131 | 0.032389 | 0.048583 | 0.067476 | 0.126856 | 0.126856 | 0.126856 | 0.126856 | 0 | 0 | 0 | 0.032258 | 0.185005 | 1,027 | 40 | 124 | 25.675 | 0.853047 | 0.46446 | 0 | 0.214286 | 1 | 0 | 0.015748 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
450a1eb848670630a5e03222ba1663ba362bbf37 | 196 | py | Python | Robomak - Sphero/Final Solution/sphero/connection/exceptions/__init__.py | dimitrov9/my-projects | dfd6b38b24a1faf179517e74e8b466962fe342c7 | [
"MIT"
] | null | null | null | Robomak - Sphero/Final Solution/sphero/connection/exceptions/__init__.py | dimitrov9/my-projects | dfd6b38b24a1faf179517e74e8b466962fe342c7 | [
"MIT"
] | null | null | null | Robomak - Sphero/Final Solution/sphero/connection/exceptions/__init__.py | dimitrov9/my-projects | dfd6b38b24a1faf179517e74e8b466962fe342c7 | [
"MIT"
] | null | null | null | from sphero.connection.exceptions.connectionfailed import ConnectionFailed
from sphero.connection.exceptions.connectionlost import ConnectionLost
__all__ = ['ConnectionFailed', 'ConnectionLost']
| 39.2 | 74 | 0.862245 | 17 | 196 | 9.705882 | 0.470588 | 0.121212 | 0.242424 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066327 | 196 | 4 | 75 | 49 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4533043e57d7fe0adf8e653f8643bfc30d02d550 | 1,377 | py | Python | quspin/tools/__init__.py | Alehud/QuSpin | c72d5fb2b2e9cd9a37d6917bba0337faf3b6c201 | [
"BSD-3-Clause"
] | 195 | 2016-10-24T18:05:31.000Z | 2022-03-29T10:11:56.000Z | quspin/tools/__init__.py | markusschmitt/QuSpin | c239d01e6ce76253b03440cda3c8819a9f63e288 | [
"BSD-3-Clause"
] | 303 | 2016-10-25T20:08:11.000Z | 2022-03-31T16:52:09.000Z | quspin/tools/__init__.py | markusschmitt/QuSpin | c239d01e6ce76253b03440cda3c8819a9f63e288 | [
"BSD-3-Clause"
] | 54 | 2017-01-03T18:47:52.000Z | 2022-03-16T06:54:33.000Z | """
==================================
Tools module (:mod:`quspin.tools`)
==================================
.. currentmodule:: quspin.tools
Classes and functions to manipulate quantum states and do calculations.
evolution
----------
.. currentmodule:: quspin.tools.evolution
.. autosummary::
:toctree: generated/... | 14.967391 | 71 | 0.664488 | 140 | 1,377 | 6.292857 | 0.442857 | 0.099886 | 0.190692 | 0.065834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172113 | 1,377 | 91 | 72 | 15.131868 | 0.772807 | 0.891068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 5 |
188a248fc1a8d3a9e67d0e79abe7b5945a5f7d74 | 47 | py | Python | tf_core/nltoolkit/views.py | xflows/tf_core | 0b8ce80e6d8e38dcec17ec4c2f2100ba30e183fa | [
"MIT"
] | 1 | 2017-02-21T13:52:22.000Z | 2017-02-21T13:52:22.000Z | tf_core/nltoolkit/views.py | xflows/tf_core | 0b8ce80e6d8e38dcec17ec4c2f2100ba30e183fa | [
"MIT"
] | 10 | 2019-12-08T18:57:32.000Z | 2021-12-13T20:39:31.000Z | tf_core/nltoolkit/views.py | xflows/tf_core | 0b8ce80e6d8e38dcec17ec4c2f2100ba30e183fa | [
"MIT"
] | 1 | 2017-03-17T04:13:59.000Z | 2017-03-17T04:13:59.000Z | #view are implemented in visualization_views.py | 47 | 47 | 0.87234 | 7 | 47 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0.978723 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18bba66f49068e39387682a5f8ae046c295f3b6a | 14,746 | py | Python | maxfw/tests/test_image_utils.py | MillerMedia/MAX-Framework | 220c52681a6c85672290b4698228399326233b15 | [
"Apache-2.0"
] | 24 | 2018-12-04T19:47:09.000Z | 2021-07-30T07:36:01.000Z | maxfw/tests/test_image_utils.py | MillerMedia/MAX-Framework | 220c52681a6c85672290b4698228399326233b15 | [
"Apache-2.0"
] | 26 | 2018-12-06T12:55:54.000Z | 2021-04-01T19:58:31.000Z | maxfw/tests/test_image_utils.py | MillerMedia/MAX-Framework | 220c52681a6c85672290b4698228399326233b15 | [
"Apache-2.0"
] | 18 | 2018-12-04T11:20:13.000Z | 2021-06-06T02:30:53.000Z | #
# Copyright 2018-2019 IBM Corp. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 38.501305 | 118 | 0.701614 | 1,871 | 14,746 | 5.34046 | 0.111705 | 0.170136 | 0.095076 | 0.117694 | 0.796938 | 0.767714 | 0.754604 | 0.729484 | 0.718775 | 0.671637 | 0 | 0.030044 | 0.176116 | 14,746 | 382 | 119 | 38.602094 | 0.792411 | 0.174149 | 0 | 0.627706 | 0 | 0 | 0.031478 | 0.002154 | 0 | 0 | 0 | 0 | 0.194805 | 1 | 0.034632 | false | 0 | 0.025974 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18e488970cecfbe507c08c30a1fc4c9d9a70f5d7 | 11,068 | py | Python | smartscript_web/py_checker/GenerateCurve.py | jncsw/Smart-Script | a4353c6a8363b8531a6edd278ce09e1fec1fbfde | [
"MIT"
] | 2 | 2021-07-08T14:26:02.000Z | 2021-07-08T16:14:58.000Z | smartscript_web/py_checker/GenerateCurve.py | jncsw/Smart-Script | a4353c6a8363b8531a6edd278ce09e1fec1fbfde | [
"MIT"
] | null | null | null | smartscript_web/py_checker/GenerateCurve.py | jncsw/Smart-Script | a4353c6a8363b8531a6edd278ce09e1fec1fbfde | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[1]:
import os
def updateWeb():
DIR = "./coll_stat/"
print("Updating")
# def compare(x, y):
# stat_x = os.stat(DIR + "/" + x)
# stat_y = os.stat(DIR + "/" + y)
# if stat_x.st_ctime < stat_y.st_ctime:
# return -1
# elif... | 25.920375 | 144 | 0.499458 | 1,219 | 11,068 | 4.493027 | 0.21411 | 0.052584 | 0.056235 | 0.073033 | 0.734709 | 0.724484 | 0.706956 | 0.706956 | 0.698558 | 0.683221 | 0 | 0.02454 | 0.322552 | 11,068 | 426 | 145 | 25.981221 | 0.705922 | 0.109143 | 0 | 0.455939 | 0 | 0.076628 | 0.771625 | 0.138295 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003831 | false | 0 | 0.003831 | 0 | 0.007663 | 0.003831 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18fe82dbe92a6b757ce685f6d4fd0fa600185181 | 223 | py | Python | main/PluginDemos/RandomFieldInitializer/Simulation/randomFieldInitializer.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/PluginDemos/RandomFieldInitializer/Simulation/randomFieldInitializer.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/PluginDemos/RandomFieldInitializer/Simulation/randomFieldInitializer.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | 1 | 2021-02-26T21:50:29.000Z | 2021-02-26T21:50:29.000Z | from cc3d import CompuCellSetup
from randomFieldInitializerSteppables import randomFieldInitializerSteppable
CompuCellSetup.register_steppable(steppable=randomFieldInitializerSteppable(frequency=1))
CompuCellSetup.run()
| 27.875 | 89 | 0.896861 | 17 | 223 | 11.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.058296 | 223 | 7 | 90 | 31.857143 | 0.938095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7a13a4a65b79d45a78502dd6f5833af94d39a8bf | 230 | py | Python | integration/tests_failed/predicate.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | integration/tests_failed/predicate.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | integration/tests_failed/predicate.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | from app import app
@app.route("/predicate/error/type")
def predicate_error_type():
return """{
"status": true,
"message": "0",
"count": 1,
"empty": "",
"number": 1.0,
"list": [1,2,3]
}"""
| 16.428571 | 35 | 0.5 | 28 | 230 | 4.035714 | 0.714286 | 0.247788 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041916 | 0.273913 | 230 | 13 | 36 | 17.692308 | 0.634731 | 0 | 0 | 0 | 0 | 0 | 0.63913 | 0.091304 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0.090909 | 0.090909 | 0.272727 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e1377053535c59c69d1cfb08052f0fa82034cd7d | 164 | py | Python | utils.py | Mathieu-R/tchernobyl-simulation | 9861a43b4de75ef9966982b4f458b4e091bf3e92 | [
"MIT"
] | null | null | null | utils.py | Mathieu-R/tchernobyl-simulation | 9861a43b4de75ef9966982b4f458b4e091bf3e92 | [
"MIT"
] | 3 | 2021-09-08T01:32:36.000Z | 2022-03-12T00:09:11.000Z | utils.py | Mathieu-R/tchernobyl-simulation | 9861a43b4de75ef9966982b4f458b4e091bf3e92 | [
"MIT"
] | null | null | null | def day_to_seconds(day):
return day * 24 * 60 * 60
def hour_to_seconds(hour):
return hour * 60 * 60
def seconds_to_hour(seconds):
return seconds / (60 * 60) | 20.5 | 29 | 0.689024 | 28 | 164 | 3.821429 | 0.285714 | 0.11215 | 0.130841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 0.20122 | 164 | 8 | 30 | 20.5 | 0.709924 | 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 | 1 | 0 | 0 | 5 |
e1be0b41a642ff7279a144db45adec61e0013496 | 28,226 | py | Python | crossproduct/line.py | stevenkfirth/crossproduct | 292fdfffb8310a46b12893d5fc96f77213244a5e | [
"MIT"
] | 1 | 2021-02-02T20:14:39.000Z | 2021-02-02T20:14:39.000Z | crossproduct/line.py | stevenkfirth/crossproduct | 292fdfffb8310a46b12893d5fc96f77213244a5e | [
"MIT"
] | null | null | null | crossproduct/line.py | stevenkfirth/crossproduct | 292fdfffb8310a46b12893d5fc96f77213244a5e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import math
from .point import Point
from .vector import Vector
ABS_TOL = 1e-7 # default value for math.isclose
class Line():
"""A line, as described by a Point and a Vector
Equation of the line is P(t) = P0 + vL*t where:
- P(t) is a point on the line;
- ... | 28.282565 | 103 | 0.478956 | 3,368 | 28,226 | 3.934976 | 0.065618 | 0.018562 | 0.006112 | 0.04316 | 0.797103 | 0.766015 | 0.758168 | 0.738172 | 0.716592 | 0.703992 | 0 | 0.045771 | 0.40941 | 28,226 | 997 | 104 | 28.310933 | 0.74925 | 0.534188 | 0 | 0.562814 | 0 | 0 | 0.037782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165829 | false | 0 | 0.015075 | 0 | 0.447236 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e1cf7fc9b5534addbc7c56891b761ec90c4d55ff | 90 | py | Python | mysite/posts/admin.py | Lee-Geon-Yeong/py_pro | 309e711992f9b8aaf41d0f18f3920c3b31533b9c | [
"MIT"
] | null | null | null | mysite/posts/admin.py | Lee-Geon-Yeong/py_pro | 309e711992f9b8aaf41d0f18f3920c3b31533b9c | [
"MIT"
] | null | null | null | mysite/posts/admin.py | Lee-Geon-Yeong/py_pro | 309e711992f9b8aaf41d0f18f3920c3b31533b9c | [
"MIT"
] | null | null | null | from django.contrib import admin
from posts.models import Blog
admin.site.register(Blog)
| 18 | 32 | 0.822222 | 14 | 90 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 4 | 33 | 22.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bed082ab946e1c8b7db5542b0952b00619a4f6b1 | 2,681 | py | Python | flaskBackend/test_alarm.py | PirateRoberts98/capstone-hygeine-managment | 0efb41324c47c78acf03bc506294d5a7d0891ea9 | [
"MIT"
] | 3 | 2020-03-25T19:44:21.000Z | 2020-03-28T19:45:13.000Z | flaskBackend/test_alarm.py | PirateRoberts98/capstone-hygeine-managment | 0efb41324c47c78acf03bc506294d5a7d0891ea9 | [
"MIT"
] | 6 | 2020-03-28T12:24:28.000Z | 2021-09-02T16:56:13.000Z | flaskBackend/test_alarm.py | PirateRoberts98/capstone-hygeine-managment | 0efb41324c47c78acf03bc506294d5a7d0891ea9 | [
"MIT"
] | null | null | null | import unittest
from alarm import waterTemperature, humidityLevel, timesEntered, timesUsed
class TestAlarm(unittest.TestCase):
def test_waterTemperature(self):
waterTemperature(1, 1)
result = waterTemperature(1, 120000000)
self.assertEqual(result['status'], True)
waterTemperature... | 30.123596 | 74 | 0.635957 | 256 | 2,681 | 6.613281 | 0.140625 | 0.15062 | 0.210868 | 0.271116 | 0.797401 | 0.784997 | 0.77909 | 0.617247 | 0.581217 | 0.428825 | 0 | 0.099751 | 0.252145 | 2,681 | 88 | 75 | 30.465909 | 0.744638 | 0 | 0 | 0.716418 | 0 | 0 | 0.041029 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 1 | 0.059701 | false | 0 | 0.029851 | 0 | 0.104478 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bedfbc367f5a3470494e89f63108978ba28769ce | 120 | py | Python | test/test_pyservice.py | adomokos/pyservice | e79b4aeacec84bea31b1f3492cdef7bec47d9f1a | [
"MIT"
] | 1 | 2021-01-06T01:50:44.000Z | 2021-01-06T01:50:44.000Z | test/test_pyservice.py | adomokos/pyservice | e79b4aeacec84bea31b1f3492cdef7bec47d9f1a | [
"MIT"
] | null | null | null | test/test_pyservice.py | adomokos/pyservice | e79b4aeacec84bea31b1f3492cdef7bec47d9f1a | [
"MIT"
] | null | null | null | from pyservice import __version__
def test_verifies_the_package_version() -> None:
assert __version__ == "0.0.11"
| 20 | 48 | 0.758333 | 16 | 120 | 4.9375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.15 | 120 | 5 | 49 | 24 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bee09b2c9c08c3d7da31dedad45c7121c4fc7044 | 11,483 | py | Python | pytorch_translate/research/test/test_unsupervised_morphology.py | dzhulgakov/translate | 018d3eed8d93ff32e86c912e68045c7a3f4ed0b7 | [
"BSD-3-Clause"
] | 1 | 2020-07-24T10:59:17.000Z | 2020-07-24T10:59:17.000Z | pytorch_translate/research/test/test_unsupervised_morphology.py | dzhulgakov/translate | 018d3eed8d93ff32e86c912e68045c7a3f4ed0b7 | [
"BSD-3-Clause"
] | null | null | null | pytorch_translate/research/test/test_unsupervised_morphology.py | dzhulgakov/translate | 018d3eed8d93ff32e86c912e68045c7a3f4ed0b7 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
import math
import random
import shutil
import tempfile
import unittest
from os import path
from unittest.mock import Mock, patch
from pytorch_translate.research.unsupervised_morphology import unsupervised_morphology
def get_all_substrings(string):
length = len(string)
for i in range(... | 37.89769 | 88 | 0.574763 | 1,227 | 11,483 | 4.987775 | 0.136104 | 0.067974 | 0.055229 | 0.080719 | 0.76781 | 0.746242 | 0.709314 | 0.709314 | 0.707843 | 0.707843 | 0 | 0.086945 | 0.336933 | 11,483 | 302 | 89 | 38.023179 | 0.716837 | 0.012714 | 0 | 0.603774 | 0 | 0 | 0.102021 | 0 | 0 | 0 | 0 | 0.003311 | 0.075472 | 1 | 0.05283 | false | 0 | 0.030189 | 0 | 0.086792 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bef226bbdd9d90d6084c6d9a6e86c05efe346d4c | 72 | py | Python | CodeWars/8 Kyu/Fake Binary.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Fake Binary.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Fake Binary.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def fake_bin(x):
return "".join('0' if int(a)<5 else '1' for a in x) | 36 | 55 | 0.583333 | 17 | 72 | 2.411765 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.208333 | 72 | 2 | 55 | 36 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 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 | 1 | 0 | 0 | 5 |
830df8816d6d51de64a6027640a908c410d55970 | 232 | py | Python | requirements/admin.py | georgiashay/fireroad-server2 | fe6be11d3aaa6496c5464a764ef9a4cbfcba1bd7 | [
"MIT"
] | 7 | 2019-01-22T07:30:58.000Z | 2022-02-10T01:51:37.000Z | requirements/admin.py | georgiashay/fireroad-server2 | fe6be11d3aaa6496c5464a764ef9a4cbfcba1bd7 | [
"MIT"
] | 18 | 2019-05-08T21:08:01.000Z | 2021-02-03T00:07:39.000Z | requirements/admin.py | georgiashay/fireroad-server2 | fe6be11d3aaa6496c5464a764ef9a4cbfcba1bd7 | [
"MIT"
] | 3 | 2019-01-29T04:09:03.000Z | 2020-07-19T07:43:24.000Z | from django.contrib import admin
# Register your models here.
from .models import *
admin.site.register(RequirementsList)
admin.site.register(EditRequest)
admin.site.register(RequirementsStatement)
admin.site.register(Deployment)
| 23.2 | 42 | 0.827586 | 28 | 232 | 6.857143 | 0.5 | 0.1875 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081897 | 232 | 9 | 43 | 25.777778 | 0.901408 | 0.112069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8317b3b79cdb24e1b3ef439b0d6e8e366222ea93 | 42 | py | Python | tests/__init__.py | Alexplose/samsung-tv-ws-api | f92648cddc10f1263cb96281944b0c2c3978826a | [
"MIT"
] | null | null | null | tests/__init__.py | Alexplose/samsung-tv-ws-api | f92648cddc10f1263cb96281944b0c2c3978826a | [
"MIT"
] | null | null | null | tests/__init__.py | Alexplose/samsung-tv-ws-api | f92648cddc10f1263cb96281944b0c2c3978826a | [
"MIT"
] | null | null | null | """Test suite for samsungtvws package."""
| 21 | 41 | 0.714286 | 5 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.810811 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
83208043002709d5b3613914e548c2cdbe9bf558 | 370 | py | Python | tests/cosrlibtests/signals/test_wikidata.py | commonsearch/cosr-back | 28ca0c1b938dde52bf4f59a835c98dd5ab22cad6 | [
"Apache-2.0"
] | 141 | 2016-02-17T14:27:57.000Z | 2021-12-27T02:56:48.000Z | tests/cosrlibtests/signals/test_wikidata.py | commonsearch/cosr-back | 28ca0c1b938dde52bf4f59a835c98dd5ab22cad6 | [
"Apache-2.0"
] | 69 | 2016-02-20T02:06:59.000Z | 2017-01-29T22:23:46.000Z | tests/cosrlibtests/signals/test_wikidata.py | commonsearch/cosr-back | 28ca0c1b938dde52bf4f59a835c98dd5ab22cad6 | [
"Apache-2.0"
] | 38 | 2016-02-25T04:40:07.000Z | 2020-06-11T07:22:44.000Z |
def test_signal_wikidata_url(ranker):
rank = lambda url: ranker.client.get_signal_value_from_url("wikidata_url", url)
assert rank("http://www.douglasadams.com") > 0.5
assert rank("http://www.douglasadams.com/?a=b") > 0.5
assert rank("http://www.douglasadams.com/page2") == 0. # TODO, check domain?
... | 41.111111 | 83 | 0.683784 | 55 | 370 | 4.454545 | 0.472727 | 0.163265 | 0.228571 | 0.277551 | 0.408163 | 0.408163 | 0.277551 | 0.277551 | 0 | 0 | 0 | 0.021944 | 0.137838 | 370 | 8 | 84 | 46.25 | 0.746082 | 0.051351 | 0 | 0 | 0 | 0 | 0.376437 | 0 | 0 | 0 | 0 | 0.125 | 0.666667 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8321335b09b8d7feda6de2f50aa198b15283082c | 37 | py | Python | tests/__init__.py | the-wondersmith/sqlalchemy-dataflex | ef441ecb29645156070268f6bb41755dca7c8a6e | [
"MIT"
] | null | null | null | tests/__init__.py | the-wondersmith/sqlalchemy-dataflex | ef441ecb29645156070268f6bb41755dca7c8a6e | [
"MIT"
] | null | null | null | tests/__init__.py | the-wondersmith/sqlalchemy-dataflex | ef441ecb29645156070268f6bb41755dca7c8a6e | [
"MIT"
] | null | null | null | """Tests for SQLAlchemy-Dataflex."""
| 18.5 | 36 | 0.702703 | 4 | 37 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.764706 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
832507367acf4aab571b904a0f9a0eb027eb0c3e | 114 | py | Python | linkapp/tests.py | Isaacg94/Neighbourhood-Watch | e448cfed099128288df733495d418f725dae7e9c | [
"MIT"
] | null | null | null | linkapp/tests.py | Isaacg94/Neighbourhood-Watch | e448cfed099128288df733495d418f725dae7e9c | [
"MIT"
] | 1 | 2020-06-06T00:21:16.000Z | 2020-06-06T00:21:16.000Z | linkapp/tests.py | Isaacg94/Neighbourhood-Watch | e448cfed099128288df733495d418f725dae7e9c | [
"MIT"
] | null | null | null | from django.test import TestCase
from .models import Neighborhood,Profile,Business,Post
# Create your tests here.
| 28.5 | 54 | 0.824561 | 16 | 114 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 114 | 3 | 55 | 38 | 0.930693 | 0.201754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
83539101224b4004fac5336949b76663994d09bf | 302 | py | Python | crypt.py | cyroilt/game | 49dba23c8e361f8d870cb3260f3421ca9f9e16de | [
"BSD-3-Clause"
] | null | null | null | crypt.py | cyroilt/game | 49dba23c8e361f8d870cb3260f3421ca9f9e16de | [
"BSD-3-Clause"
] | null | null | null | crypt.py | cyroilt/game | 49dba23c8e361f8d870cb3260f3421ca9f9e16de | [
"BSD-3-Clause"
] | null | null | null | from cryptography.fernet import Fernet
class crypto():
def gen_nkey():
return Fernet.generate_key()
def encrypt(data,key):
return Fernet(key).encrypt(data.encode())
def decrypt(data,key):
print(type(key))
return Fernet(key).decrypt(data).decode()
| 27.454545 | 50 | 0.629139 | 37 | 302 | 5.081081 | 0.513514 | 0.191489 | 0.159574 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245033 | 302 | 10 | 51 | 30.2 | 0.824561 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.888889 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
83687547db611dbc2910625b1f4ea76f0f6092cb | 2,185 | py | Python | _assignments/design-patterns/decorator/decorator_func_e.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _assignments/design-patterns/decorator/decorator_func_e.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _assignments/design-patterns/decorator/decorator_func_e.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | """
* Assignment: Decorator Function Memoization
* Complexity: easy
* Lines of code: 3 lines
* Time: 8 min
English:
1. Create decorator `@cache`
2. Decorator must check before running function, if for given argument
the computation was already done:
a. if yes, return from `_cache`
b. if ... | 31.666667 | 85 | 0.618307 | 282 | 2,185 | 4.741135 | 0.567376 | 0.02917 | 0.022438 | 0.007479 | 0.088257 | 0.088257 | 0.088257 | 0.034405 | 0.034405 | 0 | 0 | 0.047559 | 0.26865 | 2,185 | 68 | 86 | 32.132353 | 0.789111 | 0.951945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
36197082622c9ddf956d1e4ea2afbf2fd266e95b | 31,897 | py | Python | lang/python/github/com/metaprov/modelaapi/services/conversation/v1/conversation_pb2.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 5 | 2022-02-18T03:40:10.000Z | 2022-03-01T16:11:24.000Z | lang/python/github/com/metaprov/modelaapi/services/conversation/v1/conversation_pb2.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-01-07T19:59:25.000Z | 2022-02-04T01:21:14.000Z | lang/python/github/com/metaprov/modelaapi/services/conversation/v1/conversation_pb2.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:21:43.000Z | 2022-03-25T10:21:43.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: github.com/metaprov/modelaapi/services/review/v1/review.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf impo... | 45.894964 | 3,368 | 0.78487 | 3,746 | 31,897 | 6.38441 | 0.074212 | 0.042775 | 0.077772 | 0.095668 | 0.755059 | 0.715504 | 0.704926 | 0.693009 | 0.644506 | 0.602107 | 0 | 0.033521 | 0.09468 | 31,897 | 694 | 3,369 | 45.961095 | 0.794681 | 0.052387 | 0 | 0.658147 | 1 | 0.0623 | 0.268516 | 0.222925 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011182 | 0 | 0.011182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
361aae7fc24fa20a774d0d171dd2c81b0a0a785a | 39 | py | Python | test/login.py | blackcat168/test21 | b13cf5c41f12b375dc4a1cf4326b2597e2362243 | [
"MIT"
] | null | null | null | test/login.py | blackcat168/test21 | b13cf5c41f12b375dc4a1cf4326b2597e2362243 | [
"MIT"
] | null | null | null | test/login.py | blackcat168/test21 | b13cf5c41f12b375dc4a1cf4326b2597e2362243 | [
"MIT"
] | null | null | null | num1 = 1
num2 = 2
num3 = 45
num4 = 23
| 6.5 | 9 | 0.564103 | 8 | 39 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0.333333 | 39 | 5 | 10 | 7.8 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3633a65af9c66b0e74d4391b2e624c1369c39503 | 162 | py | Python | main.py | SambhavBhurtel/ShareMunshi | 0e82792c2d26afa6acc4b3fffb339a258b782530 | [
"MIT"
] | 1 | 2021-05-21T11:07:48.000Z | 2021-05-21T11:07:48.000Z | main.py | SambhavBhurtel/ShareMunshi | 0e82792c2d26afa6acc4b3fffb339a258b782530 | [
"MIT"
] | 1 | 2021-01-31T17:46:20.000Z | 2021-02-02T16:22:29.000Z | main.py | SambhavBhurtel/ShareMunshi | 0e82792c2d26afa6acc4b3fffb339a258b782530 | [
"MIT"
] | null | null | null | #! .\\venv\\Scripts\\python.exe
from Scrapper.ScrapeName import scrip_info
from Scrapper.ScrapeMD import md_printer
md_printer(False)
print(scrip_info('PLI')) | 18 | 42 | 0.783951 | 23 | 162 | 5.347826 | 0.695652 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 162 | 9 | 43 | 18 | 0.836735 | 0.185185 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.75 | 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 | 1 | 0 | 5 |
3688aff4a2012966580b4573c580aa34f3cddfad | 169 | py | Python | text2qdmr/model/modules/__init__.py | guoyi118/sparqling-queries | 8c9b9f517d6e05ac465a84df79f40484bc852c26 | [
"MIT"
] | 21 | 2021-09-14T11:33:05.000Z | 2022-03-29T13:22:19.000Z | text2qdmr/model/modules/__init__.py | guoyi118/sparqling-queries | 8c9b9f517d6e05ac465a84df79f40484bc852c26 | [
"MIT"
] | 1 | 2022-02-14T21:13:15.000Z | 2022-02-18T20:23:36.000Z | text2qdmr/model/modules/__init__.py | guoyi118/sparqling-queries | 8c9b9f517d6e05ac465a84df79f40484bc852c26 | [
"MIT"
] | 5 | 2021-09-20T08:54:55.000Z | 2022-02-10T00:59:54.000Z | from . import abstract_preproc
from . import attention
from . import decoder_utils
from . import encoder_modules
from . import transformer
from . import variational_lstm | 28.166667 | 30 | 0.828402 | 22 | 169 | 6.181818 | 0.545455 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 169 | 6 | 31 | 28.166667 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3699c6802ee13533e98c48b902be73fe0bd7cfc6 | 1,077 | py | Python | src/HafrenHaver/pattern.py | InnovAnon-Inc/HafrenHaver | 5283ae3817c500f2365d1c8108dd3270aceb28fa | [
"Unlicense"
] | 2 | 2020-11-09T19:30:26.000Z | 2020-12-29T21:38:40.000Z | src/HafrenHaver/pattern.py | InnovAnon-Inc/HafrenHaver | 5283ae3817c500f2365d1c8108dd3270aceb28fa | [
"Unlicense"
] | null | null | null | src/HafrenHaver/pattern.py | InnovAnon-Inc/HafrenHaver | 5283ae3817c500f2365d1c8108dd3270aceb28fa | [
"Unlicense"
] | null | null | null | #! /usr/bin/env python3
class Pattern:
def __init__ (self, order):
#rev = {}
#I = range (0, len (order))
#for i, v in zip (I, order):
# if v in rev: temp = rev[v]
# else: temp = []
# rev[v] = tuple (temp + [i])
self.order = order
#self.rev = rev
def __repr__ (self): return "Pattern [order=... | 28.342105 | 65 | 0.597029 | 168 | 1,077 | 3.625 | 0.279762 | 0.206897 | 0.098522 | 0.034483 | 0.052545 | 0.052545 | 0.052545 | 0 | 0 | 0 | 0 | 0.003672 | 0.241411 | 1,077 | 37 | 66 | 29.108108 | 0.741738 | 0.178273 | 0 | 0 | 0 | 0 | 0.032028 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.818182 | false | 0 | 0 | 0.727273 | 0.909091 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
36ac6b11fcc86936a072fcccc4b9689ebc4a7107 | 623 | py | Python | colour/constants/__init__.py | aurelienpierre/colour | 3ac45c12fbc0493e49ba4d4b2cb253df9fe14c47 | [
"BSD-3-Clause"
] | null | null | null | colour/constants/__init__.py | aurelienpierre/colour | 3ac45c12fbc0493e49ba4d4b2cb253df9fe14c47 | [
"BSD-3-Clause"
] | null | null | null | colour/constants/__init__.py | aurelienpierre/colour | 3ac45c12fbc0493e49ba4d4b2cb253df9fe14c47 | [
"BSD-3-Clause"
] | null | null | null | from .cie import CONSTANT_K_M, CONSTANT_KP_M
from .codata import (
CONSTANT_AVOGADRO,
CONSTANT_BOLTZMANN,
CONSTANT_LIGHT_SPEED,
CONSTANT_PLANCK,
)
from .common import (
FLOATING_POINT_NUMBER_PATTERN,
INTEGER_THRESHOLD,
EPSILON,
DEFAULT_INT_DTYPE,
DEFAULT_FLOAT_DTYPE,
)
__all__ = [
... | 18.878788 | 44 | 0.696629 | 68 | 623 | 5.705882 | 0.382353 | 0.072165 | 0.051546 | 0.092784 | 0.860825 | 0.860825 | 0.752577 | 0.752577 | 0.752577 | 0.417526 | 0 | 0 | 0.205457 | 623 | 32 | 45 | 19.46875 | 0.783838 | 0 | 0 | 0.064516 | 0 | 0 | 0.295345 | 0.046549 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096774 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
36cd272629ee7945ebf458cd3d261a5b51d9d605 | 1,492 | py | Python | Ordered-Collection-Data-Types.py | thejacobhardman/Ordered-Collection-Data-Types | bedec6151427a30a7e16483c2fcebb41cb10f31d | [
"MIT"
] | null | null | null | Ordered-Collection-Data-Types.py | thejacobhardman/Ordered-Collection-Data-Types | bedec6151427a30a7e16483c2fcebb41cb10f31d | [
"MIT"
] | null | null | null | Ordered-Collection-Data-Types.py | thejacobhardman/Ordered-Collection-Data-Types | bedec6151427a30a7e16483c2fcebb41cb10f31d | [
"MIT"
] | null | null | null | #Jacob Hardman
#CS301 Algorithms and Data Structures
#Dr. Nathaniel Miller
#Stack
class Stack:
def __init__(self):
self.items = []
def push(self, item):
self.items.append(item)
def pop(self):
return self.items.pop()
def peek(self):
return self.items[len(self.items)-1]... | 18.195122 | 44 | 0.579088 | 186 | 1,492 | 4.55914 | 0.247312 | 0.201651 | 0.165094 | 0.179245 | 0.543632 | 0.543632 | 0.40684 | 0.278302 | 0.205189 | 0.205189 | 0 | 0.0077 | 0.303619 | 1,492 | 81 | 45 | 18.419753 | 0.80847 | 0.058981 | 0 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.45098 | false | 0 | 0 | 0.254902 | 0.784314 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
36d6f5b03374d2cb20bc0b0f25d99f6acfec8445 | 9,440 | py | Python | froide/tests/live/test_request.py | rufuspollock/froide | 8ef4dbdd54a74f8c986d59e90348dfdbd85c5da4 | [
"MIT"
] | null | null | null | froide/tests/live/test_request.py | rufuspollock/froide | 8ef4dbdd54a74f8c986d59e90348dfdbd85c5da4 | [
"MIT"
] | null | null | null | froide/tests/live/test_request.py | rufuspollock/froide | 8ef4dbdd54a74f8c986d59e90348dfdbd85c5da4 | [
"MIT"
] | null | null | null | import time
from django.conf import settings
from django.core.urlresolvers import reverse
from django.test import LiveServerTestCase
from django.contrib.auth.models import User
from selenium.webdriver.support.wait import WebDriverWait
from froide.foirequest.tests import factories
from froide.foirequest.models import... | 49.684211 | 98 | 0.692903 | 1,195 | 9,440 | 5.185774 | 0.12636 | 0.120058 | 0.111183 | 0.096821 | 0.767468 | 0.754881 | 0.750686 | 0.734065 | 0.716314 | 0.714539 | 0 | 0.003915 | 0.188242 | 9,440 | 189 | 99 | 49.94709 | 0.804776 | 0 | 0 | 0.574713 | 0 | 0 | 0.140784 | 0.023623 | 0 | 0 | 0 | 0 | 0.097701 | 1 | 0.051724 | false | 0.011494 | 0.068966 | 0 | 0.143678 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3d4901c32cce4343e035e945d5cfab485c4236e9 | 422 | py | Python | zoho_subscriptions/tests/subscription_test.py | st8st8/django-zoho-subscriptions | d788a6c8305d61907b1772e698c41234d4c26e98 | [
"MIT"
] | null | null | null | zoho_subscriptions/tests/subscription_test.py | st8st8/django-zoho-subscriptions | d788a6c8305d61907b1772e698c41234d4c26e98 | [
"MIT"
] | null | null | null | zoho_subscriptions/tests/subscription_test.py | st8st8/django-zoho-subscriptions | d788a6c8305d61907b1772e698c41234d4c26e98 | [
"MIT"
] | null | null | null | from django.test import TestCase
from zoho_subscriptions.subscriptions.subscription import Subscription
class SubscriptionTest(TestCase):
def get_list(self):
subscriptions = Subscription()
print(subscriptions.list_subscriptions_by_customer("112407000000035015"))
def get_details(self):
... | 30.142857 | 81 | 0.767773 | 39 | 422 | 8.128205 | 0.512821 | 0.236593 | 0.182965 | 0.214511 | 0.29653 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0.156398 | 422 | 13 | 82 | 32.461538 | 0.789326 | 0 | 0 | 0.222222 | 0 | 0 | 0.085511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0.222222 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
3d490364411b379dd317310b787bf25362efe3fa | 127 | py | Python | axf_project/axf_project/__init__.py | General-ITer/Django-Introduction | e88b12682f9abc46a90a0fc79e7443537230a506 | [
"Apache-2.0"
] | null | null | null | axf_project/axf_project/__init__.py | General-ITer/Django-Introduction | e88b12682f9abc46a90a0fc79e7443537230a506 | [
"Apache-2.0"
] | 1 | 2020-12-09T18:26:36.000Z | 2020-12-09T18:26:36.000Z | axf_project/axf_project/__init__.py | General-ITer/Django-Introduction | e88b12682f9abc46a90a0fc79e7443537230a506 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from .celery import app as celery_app
import pymysql
pymysql.install_as_MySQLdb() | 25.4 | 40 | 0.818898 | 18 | 127 | 5.333333 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149606 | 127 | 5 | 41 | 25.4 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e9e5d9a3ae0bebc1ce4244eb8c1ccb7d501dedd0 | 89 | py | Python | ucp/__init__.py | MattBBaker/ucx-py | c94a7400cf0df0fdf7a9e48e8a09c8231c194385 | [
"BSD-3-Clause"
] | null | null | null | ucp/__init__.py | MattBBaker/ucx-py | c94a7400cf0df0fdf7a9e48e8a09c8231c194385 | [
"BSD-3-Clause"
] | null | null | null | ucp/__init__.py | MattBBaker/ucx-py | c94a7400cf0df0fdf7a9e48e8a09c8231c194385 | [
"BSD-3-Clause"
] | null | null | null | from ._utils import get_address, make_server # noqa
from ._libs.ucp_py import * # noqa
| 29.666667 | 52 | 0.752809 | 14 | 89 | 4.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 2 | 53 | 44.5 | 0.837838 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18039dbaf78bdc80fe8bc0d584c7c57dd2640dfb | 23,206 | py | Python | pcdet/models/rpn/rpn_unet.py | charlesyz/PCDet | 1eb6b1dc5a3d563d7532b1c8ee3be007cbeafc80 | [
"Apache-2.0"
] | null | null | null | pcdet/models/rpn/rpn_unet.py | charlesyz/PCDet | 1eb6b1dc5a3d563d7532b1c8ee3be007cbeafc80 | [
"Apache-2.0"
] | null | null | null | pcdet/models/rpn/rpn_unet.py | charlesyz/PCDet | 1eb6b1dc5a3d563d7532b1c8ee3be007cbeafc80 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import spconv
from functools import partial
from ..model_utils.resnet_utils import SparseBasicBlock
from ...config import cfg
from ...utils import common_utils, loss_utils
from ...ops.roiaware_pool3d import roiaware_pool3d_utils
class UNetHead(nn.Mod... | 43.784906 | 120 | 0.600233 | 3,260 | 23,206 | 3.95092 | 0.084663 | 0.047516 | 0.034161 | 0.040994 | 0.798447 | 0.773059 | 0.749534 | 0.727329 | 0.727329 | 0.727329 | 0 | 0.06307 | 0.277127 | 23,206 | 529 | 121 | 43.867675 | 0.704739 | 0.078859 | 0 | 0.649596 | 0 | 0 | 0.048984 | 0 | 0 | 0 | 0 | 0 | 0.005391 | 1 | 0.037736 | false | 0 | 0.024259 | 0 | 0.09973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18049abde6a8ada0b5d08dea6245e157b181230d | 102 | py | Python | custom_components/eko_karta_zagreb/__init__.py | kpisacic/EkoKartaZg-home-assistant-custom-component | 7c6150a156033d884e9aa9cf14a08cdae32d078e | [
"MIT"
] | null | null | null | custom_components/eko_karta_zagreb/__init__.py | kpisacic/EkoKartaZg-home-assistant-custom-component | 7c6150a156033d884e9aa9cf14a08cdae32d078e | [
"MIT"
] | 1 | 2020-05-13T13:54:47.000Z | 2020-05-22T13:46:18.000Z | custom_components/eko_karta_zagreb/__init__.py | kpisacic/EkoKartaZg-home-assistant-custom-component | 7c6150a156033d884e9aa9cf14a08cdae32d078e | [
"MIT"
] | null | null | null | """A component for EKO KARTA ZAGREB (https://ekokartazagreb.stampar.hr/) weather and air-quality."""
| 51 | 101 | 0.735294 | 14 | 102 | 5.357143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 1 | 102 | 102 | 0.824176 | 0.921569 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1848291172cb40b1cec8f0a50fd1ff3bdc01ef65 | 272 | py | Python | python/testData/quickFixes/PyAddFieldQuickFixTest/addFieldAddConstructorWithTypeAnnotation_after.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyAddFieldQuickFixTest/addFieldAddConstructorWithTypeAnnotation_after.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 1 | 2020-07-30T19:04:47.000Z | 2020-07-30T19:04:47.000Z | python/testData/quickFixes/PyAddFieldQuickFixTest/addFieldAddConstructorWithTypeAnnotation_after.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | class BaseClassAnnotated:
def __init__(self, name: str):
self.name = name
class DerivedClass(BaseClassAnnotated):
def __init__(self, name: str):
super().__init__(name)
self.param = None
def get_param(self):
return self.param
| 20.923077 | 39 | 0.643382 | 31 | 272 | 5.225806 | 0.419355 | 0.148148 | 0.308642 | 0.358025 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257353 | 272 | 12 | 40 | 22.666667 | 0.80198 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1865ae0663466e957faaceb95fdd18cabe70f527 | 26,521 | py | Python | src/models/model_builder.py | guowenying111/SEKE | a913a19090eb690c3188036795559210a5262f2b | [
"Apache-2.0"
] | null | null | null | src/models/model_builder.py | guowenying111/SEKE | a913a19090eb690c3188036795559210a5262f2b | [
"Apache-2.0"
] | null | null | null | src/models/model_builder.py | guowenying111/SEKE | a913a19090eb690c3188036795559210a5262f2b | [
"Apache-2.0"
] | null | null | null | import copy
from collections import OrderedDict
import torch
from models.layer_attention import Layer_Attention
import numpy as np
from sklearn.metrics.pairwise import cosine_similarity
from sklearn.preprocessing import normalize
import torch.nn as nn
from transformers import BertModel, BertConfig
from torch.nn.init im... | 50.51619 | 253 | 0.615324 | 3,466 | 26,521 | 4.475188 | 0.071552 | 0.027851 | 0.032493 | 0.026949 | 0.796467 | 0.764038 | 0.7505 | 0.736703 | 0.728773 | 0.71459 | 0 | 0.016416 | 0.260397 | 26,521 | 524 | 254 | 50.612595 | 0.774356 | 0.066626 | 0 | 0.657471 | 0 | 0 | 0.028094 | 0.005748 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078161 | false | 0 | 0.034483 | 0 | 0.177011 | 0.006897 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18798ef7c33947468d03fb9d33b777bd5ce0ddf7 | 1,451 | py | Python | tests/test_a0063uniquepathsii.py | nirofang/pyleet | 600d58ad97028c9a14148af4ef468683a011a515 | [
"MIT"
] | 3 | 2019-11-06T13:10:38.000Z | 2021-11-17T07:29:54.000Z | tests/test_a0063uniquepathsii.py | nirofang/pyleet | 600d58ad97028c9a14148af4ef468683a011a515 | [
"MIT"
] | 1 | 2020-12-17T22:18:05.000Z | 2020-12-17T22:18:05.000Z | tests/test_a0063uniquepathsii.py | nirofang/pyleet | 600d58ad97028c9a14148af4ef468683a011a515 | [
"MIT"
] | 1 | 2019-11-06T13:10:45.000Z | 2019-11-06T13:10:45.000Z | from solutions.a0063uniquepathsii import Solution
import json
solution = Solution()
def test_uniquePaths1():
obstacleGrid = json.loads("""
[
[0,0,0],
[0,1,0],
[0,0,0]
]
""")
expect = 2
actual = solution.uniquePathsWithObstacles(obstacleGrid)
assert actual == expect
def test_uniq... | 16.872093 | 58 | 0.622329 | 134 | 1,451 | 6.686567 | 0.179104 | 0.020089 | 0.164063 | 0.390625 | 0.776786 | 0.776786 | 0.715402 | 0.715402 | 0.715402 | 0.547991 | 0 | 0.034608 | 0.243281 | 1,451 | 85 | 59 | 17.070588 | 0.781421 | 0 | 0 | 0.471429 | 0 | 0 | 0.164714 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.028571 | 0 | 0.128571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
187b5497c5988c695c1c8e77fa09f1278091053f | 127 | py | Python | Software/PokemonDataObtainer/models/pokedex.py | goodguyplayer/UniProject-AlolaPokedex | 44a20fa08feb8ba57fdd4ca9319a07d35b3f459a | [
"MIT"
] | null | null | null | Software/PokemonDataObtainer/models/pokedex.py | goodguyplayer/UniProject-AlolaPokedex | 44a20fa08feb8ba57fdd4ca9319a07d35b3f459a | [
"MIT"
] | null | null | null | Software/PokemonDataObtainer/models/pokedex.py | goodguyplayer/UniProject-AlolaPokedex | 44a20fa08feb8ba57fdd4ca9319a07d35b3f459a | [
"MIT"
] | null | null | null | import pokebase as pb
class Pokedex:
def __init__(self, id):
self.pokemon_entries = pb.pokedex(id).pokemon_entries | 25.4 | 61 | 0.724409 | 18 | 127 | 4.777778 | 0.666667 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 127 | 5 | 61 | 25.4 | 0.834951 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a10594f7a29d6b19f3fdb23aa2e074b3963f31f1 | 17,714 | py | Python | pytition/petition/tests/tests_PetitionTemplateViews.py | lpoujade/Pytition | b66a4b358dc4e7dc368ec30e34e124f21920371e | [
"BSD-3-Clause"
] | 64 | 2019-03-07T15:32:37.000Z | 2022-03-13T19:05:44.000Z | pytition/petition/tests/tests_PetitionTemplateViews.py | lpoujade/Pytition | b66a4b358dc4e7dc368ec30e34e124f21920371e | [
"BSD-3-Clause"
] | 157 | 2019-02-28T07:32:03.000Z | 2021-09-24T07:07:09.000Z | pytition/petition/tests/tests_PetitionTemplateViews.py | lpoujade/Pytition | b66a4b358dc4e7dc368ec30e34e124f21920371e | [
"BSD-3-Clause"
] | 33 | 2019-04-14T23:40:33.000Z | 2022-03-25T11:11:05.000Z | from django.test import TestCase
from django.urls import reverse
from django.conf import settings
from django.contrib.auth import get_user_model
from petition.models import Organization, Petition, PytitionUser, PetitionTemplate
from petition.models import Permission
from .utils import add_default_data
import os
clas... | 51.795322 | 104 | 0.677487 | 2,027 | 17,714 | 5.708929 | 0.101135 | 0.080194 | 0.074663 | 0.09644 | 0.80496 | 0.775665 | 0.743087 | 0.736433 | 0.690892 | 0.675856 | 0 | 0.009589 | 0.205261 | 17,714 | 341 | 105 | 51.947214 | 0.812402 | 0.027154 | 0 | 0.527397 | 0 | 0 | 0.185564 | 0.092288 | 0 | 0 | 0 | 0 | 0.383562 | 1 | 0.054795 | false | 0.013699 | 0.027397 | 0 | 0.089041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a12861ca78d56b718d42fa8127d316b4d9bc4411 | 297 | py | Python | src/whoishistory/exceptions/__init__.py | whois-api-llc/whois-history-py | 4f65596be52d844f7d49937390db6c53052f556f | [
"MIT"
] | null | null | null | src/whoishistory/exceptions/__init__.py | whois-api-llc/whois-history-py | 4f65596be52d844f7d49937390db6c53052f556f | [
"MIT"
] | null | null | null | src/whoishistory/exceptions/__init__.py | whois-api-llc/whois-history-py | 4f65596be52d844f7d49937390db6c53052f556f | [
"MIT"
] | null | null | null | __all__ = [
'EmptyResponseException',
'ServerErrorException',
'UnparsableResponseException',
]
from .empty_response_exception import EmptyResponseException
from .server_error_exception import ServerErrorException
from .unparsable_response_exception import UnparsableResponseException
| 29.7 | 70 | 0.841751 | 22 | 297 | 10.909091 | 0.545455 | 0.1875 | 0.191667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107744 | 297 | 9 | 71 | 33 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0.232323 | 0.164983 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a12903695b353c09bc09f10ccff6be5e38d4ff6d | 180 | py | Python | compiler/__init__.py | zr40/scc | 56166c85a69a8ec408c38d2c6d12417d83fc3aae | [
"MIT"
] | 1 | 2022-03-17T03:55:41.000Z | 2022-03-17T03:55:41.000Z | compiler/__init__.py | Excloudx6/scc | 56166c85a69a8ec408c38d2c6d12417d83fc3aae | [
"MIT"
] | null | null | null | compiler/__init__.py | Excloudx6/scc | 56166c85a69a8ec408c38d2c6d12417d83fc3aae | [
"MIT"
] | 1 | 2022-03-17T03:54:36.000Z | 2022-03-17T03:54:36.000Z | from asmgenerator import Asm, nextlabel
from compilererror import CompilerError
from sccompiler import SCCompiler
from scparser import SCParser
from sctokenizer import SCTokenizer
| 30 | 39 | 0.877778 | 21 | 180 | 7.52381 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 180 | 5 | 40 | 36 | 0.993711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a147648d267dab2f6d8cd4c15e4d3a5ad7cf7be6 | 110 | py | Python | nipype/interfaces/dipy/__init__.py | nicholsn/nipype | 6601b00aac39d17bb9fb3a6801f5a740a6ebb1e3 | [
"BSD-3-Clause"
] | null | null | null | nipype/interfaces/dipy/__init__.py | nicholsn/nipype | 6601b00aac39d17bb9fb3a6801f5a740a6ebb1e3 | [
"BSD-3-Clause"
] | null | null | null | nipype/interfaces/dipy/__init__.py | nicholsn/nipype | 6601b00aac39d17bb9fb3a6801f5a740a6ebb1e3 | [
"BSD-3-Clause"
] | null | null | null | from .tracks import TrackDensityMap
from .tensors import TensorMode
from .preprocess import Resample, Denoise
| 27.5 | 41 | 0.845455 | 13 | 110 | 7.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 3 | 42 | 36.666667 | 0.958763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a1481cb9055aa8e8bdfe7b08ee09d42702391a59 | 201 | py | Python | airmail/utils/config.py | nymag/leviosa | 6dabbb417a6a54fec956c132dd89b2e7117bd9de | [
"MIT"
] | null | null | null | airmail/utils/config.py | nymag/leviosa | 6dabbb417a6a54fec956c132dd89b2e7117bd9de | [
"MIT"
] | 10 | 2019-02-07T13:59:16.000Z | 2019-03-28T13:16:16.000Z | airmail/utils/config.py | nymag/leviosa | 6dabbb417a6a54fec956c132dd89b2e7117bd9de | [
"MIT"
] | 1 | 2019-02-09T18:35:41.000Z | 2019-02-09T18:35:41.000Z | from functools import reduce
def build_config(transforms, config):
"""Reduces a dictionary through functions to modify the dictionary"""
return reduce(lambda c, fn: fn(c), transforms, config)
| 33.5 | 73 | 0.751244 | 27 | 201 | 5.555556 | 0.740741 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 201 | 5 | 74 | 40.2 | 0.887574 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a16c375b950329781d4ec13ae4dfb2441e365e86 | 22 | py | Python | src/connect.py | CoolTechOrganisation/raspberry-api | 704d4c5ccef21cf0ea7667b98d07547578e17f51 | [
"MIT"
] | null | null | null | src/connect.py | CoolTechOrganisation/raspberry-api | 704d4c5ccef21cf0ea7667b98d07547578e17f51 | [
"MIT"
] | null | null | null | src/connect.py | CoolTechOrganisation/raspberry-api | 704d4c5ccef21cf0ea7667b98d07547578e17f51 | [
"MIT"
] | null | null | null | #Connect to database
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a178700dba45a0988f3e2c26004fec43e69012da | 212 | py | Python | image_gallery/image_gallery/storage_backends.py | rqroz/django_image_gallery | 95ecd154d46e0439997b4ddb9cc440a33cd6563e | [
"MIT"
] | null | null | null | image_gallery/image_gallery/storage_backends.py | rqroz/django_image_gallery | 95ecd154d46e0439997b4ddb9cc440a33cd6563e | [
"MIT"
] | null | null | null | image_gallery/image_gallery/storage_backends.py | rqroz/django_image_gallery | 95ecd154d46e0439997b4ddb9cc440a33cd6563e | [
"MIT"
] | null | null | null | from storages.backends.s3boto3 import S3Boto3Storage
from .settings import AWS_PUBLIC_MEDIA_LOCATION
class PublicMediaStorage(S3Boto3Storage):
location = AWS_PUBLIC_MEDIA_LOCATION
file_overwrite = False
| 30.285714 | 52 | 0.84434 | 24 | 212 | 7.166667 | 0.666667 | 0.104651 | 0.162791 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032086 | 0.117925 | 212 | 6 | 53 | 35.333333 | 0.887701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
a179bc934efb416310021c3c66e125e5930ac6a5 | 62 | py | Python | pdsa/helpers/hashing/__init__.py | victox5/pdsa | cfac2b02bcbcfdabc3c758b8ad4fe895e58c5cb1 | [
"MIT"
] | 86 | 2017-10-27T06:48:48.000Z | 2022-03-27T15:46:05.000Z | pdsa/helpers/hashing/__init__.py | victox5/pdsa | cfac2b02bcbcfdabc3c758b8ad4fe895e58c5cb1 | [
"MIT"
] | 8 | 2019-09-28T08:54:20.000Z | 2020-02-24T09:49:34.000Z | pdsa/helpers/hashing/__init__.py | victox5/pdsa | cfac2b02bcbcfdabc3c758b8ad4fe895e58c5cb1 | [
"MIT"
] | 20 | 2017-08-18T09:07:04.000Z | 2022-03-27T15:46:00.000Z | from .mmh import mmh3_x86_32bit
__all__ = ["mmh3_x86_32bit"]
| 15.5 | 31 | 0.774194 | 10 | 62 | 4 | 0.7 | 0.35 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0.129032 | 62 | 3 | 32 | 20.666667 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a18846b7a869ba08475dcfe827e4dd03bb6742f3 | 5,840 | py | Python | softwares/socket_utils.py | Wizard-collab/wizard_2 | a2cb23362e178a0205f6dd0b9b4328c329b5b142 | [
"MIT"
] | 1 | 2021-10-13T15:07:32.000Z | 2021-10-13T15:07:32.000Z | softwares/socket_utils.py | Wizard-collab/wizard_2 | a2cb23362e178a0205f6dd0b9b4328c329b5b142 | [
"MIT"
] | null | null | null | softwares/socket_utils.py | Wizard-collab/wizard_2 | a2cb23362e178a0205f6dd0b9b4328c329b5b142 | [
"MIT"
] | null | null | null | # coding: utf-8
# Author: Leo BRUNEL
# Contact: contact@leobrunel.com
# Python modules
import socket
import json
import traceback
import struct
import sys
import logging
logger = logging.getLogger(__name__)
# Handle ConnectionRefusedError in python 2
if sys.version_info[0] == 2:
from socket import error as Conne... | 33.757225 | 95 | 0.605137 | 709 | 5,840 | 4.895628 | 0.145275 | 0.066263 | 0.038317 | 0.043791 | 0.741285 | 0.719389 | 0.702103 | 0.702103 | 0.684241 | 0.684241 | 0 | 0.014884 | 0.263699 | 5,840 | 173 | 96 | 33.757225 | 0.792326 | 0.020548 | 0 | 0.746835 | 0 | 0 | 0.125459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044304 | false | 0 | 0.044304 | 0 | 0.28481 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a19e06c7a1a486af4e2d3e4c30c3febce96732e8 | 7,186 | py | Python | runtime/bindings/python/src/compatibility/ngraph/__init__.py | omartiny/openvino | 4d27590fa19f7eecd5a1043c22307e7c7d01061e | [
"Apache-2.0"
] | null | null | null | runtime/bindings/python/src/compatibility/ngraph/__init__.py | omartiny/openvino | 4d27590fa19f7eecd5a1043c22307e7c7d01061e | [
"Apache-2.0"
] | 40 | 2020-11-17T10:09:20.000Z | 2022-02-21T13:14:20.000Z | runtime/bindings/python/src/compatibility/ngraph/__init__.py | antonvor/openvino | af19b26980da566b422282ae958151ef2b0e5f83 | [
"Apache-2.0"
] | 1 | 2021-09-08T02:47:44.000Z | 2021-09-08T02:47:44.000Z | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""ngraph module namespace, exposing factory functions for all ops and other classes."""
# noqa: F401
try:
from ngraph.impl import util
__version__ = util.get_ngraph_version_string()
except ImportError:
__version__ = "0.0.0.... | 35.574257 | 88 | 0.850682 | 1,084 | 7,186 | 5.47048 | 0.22417 | 0.286678 | 0.412816 | 0.567622 | 0.465767 | 0.1457 | 0.03946 | 0 | 0 | 0 | 0 | 0.027146 | 0.113137 | 7,186 | 201 | 89 | 35.751244 | 0.903342 | 0.030337 | 0 | 0 | 0 | 0 | 0.001437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9 | 0 | 0.9 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
a1bfd5343039d3e144afaf1ff06259bc34ef6f87 | 321 | py | Python | website/views.py | alidastjani/mysite | 23f2e76dda5397e75f29ff1af092602aad7dfa4a | [
"MIT"
] | null | null | null | website/views.py | alidastjani/mysite | 23f2e76dda5397e75f29ff1af092602aad7dfa4a | [
"MIT"
] | null | null | null | website/views.py | alidastjani/mysite | 23f2e76dda5397e75f29ff1af092602aad7dfa4a | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse, JsonResponse
def index_view(request):
return render(request, 'website/index.html')
def about_view(request):
return render(request, 'website/about.html')
def contact_view(request):
return render(request, 'website/contact.html')
... | 18.882353 | 50 | 0.760125 | 41 | 321 | 5.878049 | 0.414634 | 0.136929 | 0.211618 | 0.286307 | 0.460581 | 0.460581 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137072 | 321 | 16 | 51 | 20.0625 | 0.870036 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a1cb34dc6150390bbc764c84e2c019ecd20025dc | 314 | py | Python | shangmi_v1/serializers.py | wd-idonan/share_item | 80b222f139a5f97d37bda9625012c838d9ccd655 | [
"MIT"
] | null | null | null | shangmi_v1/serializers.py | wd-idonan/share_item | 80b222f139a5f97d37bda9625012c838d9ccd655 | [
"MIT"
] | null | null | null | shangmi_v1/serializers.py | wd-idonan/share_item | 80b222f139a5f97d37bda9625012c838d9ccd655 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import *
class AdvertiseSerializer(serializers.ModelSerializer):
class Meta:
model = Advertise
fields = ["name","icon"]
class ActiveSerializer(serializers.ModelSerializer):
class Meta:
model = Active
fields = "__all__" | 22.428571 | 55 | 0.694268 | 29 | 314 | 7.344828 | 0.62069 | 0.244131 | 0.29108 | 0.328639 | 0.375587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226115 | 314 | 14 | 56 | 22.428571 | 0.876543 | 0 | 0 | 0.2 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b82295dbc37722160441e303142f7cc59a84823b | 168 | py | Python | pymls/__init__.py | OlivierDAZEL/pymls | cd0e149f97f9c17f59125c827db5ca1b5b1d8630 | [
"MIT"
] | 1 | 2019-06-27T07:01:18.000Z | 2019-06-27T07:01:18.000Z | pymls/__init__.py | OlivierDAZEL/pymls | cd0e149f97f9c17f59125c827db5ca1b5b1d8630 | [
"MIT"
] | null | null | null | pymls/__init__.py | OlivierDAZEL/pymls | cd0e149f97f9c17f59125c827db5ca1b5b1d8630 | [
"MIT"
] | null | null | null | __VERSION__ = '1.4'
from pymls.solver import Solver
from pymls.layers import Layer, StochasticLayer
from pymls.media import from_yaml
import pymls.backing as backing
| 21 | 47 | 0.815476 | 25 | 168 | 5.28 | 0.56 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.130952 | 168 | 7 | 48 | 24 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
62a0fe805c0c5a5e4bdb08cfe907d49b6878260c | 228 | py | Python | tests/conftest.py | admdev8/git-portfolio | 4269923bac2d31c9058b76bb6facfdadd4045603 | [
"MIT"
] | 3 | 2020-07-28T05:02:40.000Z | 2021-10-17T17:12:46.000Z | tests/conftest.py | staticdev/git-portfolio | 3ec1aa1d98324068b6019274ed2b099b744e14a0 | [
"MIT"
] | 218 | 2020-06-20T18:19:16.000Z | 2022-03-31T11:58:24.000Z | tests/conftest.py | admdev8/git-portfolio | 4269923bac2d31c9058b76bb6facfdadd4045603 | [
"MIT"
] | 2 | 2020-10-17T13:03:24.000Z | 2021-02-11T07:11:19.000Z | """Package-wide test fixtures."""
import _pytest.config
def pytest_configure(config: _pytest.config.Config) -> None:
"""Pytest configuration hook."""
config.addinivalue_line("markers", "e2e: mark as end-to-end test.")
| 28.5 | 71 | 0.714912 | 29 | 228 | 5.482759 | 0.689655 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005025 | 0.127193 | 228 | 7 | 72 | 32.571429 | 0.79397 | 0.236842 | 0 | 0 | 0 | 0 | 0.220859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
62ad9506447e1a68c7c385b4cd796bfc34dde9d9 | 237 | py | Python | source/placentagen/__init__.py | stephleighton/placentagen | 968685955fce7ca5503a85713113f62c1e5c74a4 | [
"Apache-2.0"
] | 2 | 2019-06-11T21:35:54.000Z | 2022-03-10T01:53:43.000Z | source/placentagen/__init__.py | stephleighton/placentagen | 968685955fce7ca5503a85713113f62c1e5c74a4 | [
"Apache-2.0"
] | 31 | 2018-03-14T01:43:19.000Z | 2020-07-23T21:23:27.000Z | source/placentagen/__init__.py | stephleighton/placentagen | 968685955fce7ca5503a85713113f62c1e5c74a4 | [
"Apache-2.0"
] | 6 | 2018-04-29T23:42:48.000Z | 2021-09-14T01:33:53.000Z | from .generate_shapes import *
from .imports_and_exports import *
from .grow_tree import *
from .analyse_tree import *
from .pg_utilities import *
from .flow_models import *
from .visualisation import *
from .skeleton_to_tree import *
| 21.545455 | 34 | 0.78903 | 33 | 237 | 5.393939 | 0.515152 | 0.393258 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14346 | 237 | 10 | 35 | 23.7 | 0.876847 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
62adeb471e097f7a5d764705e6a14921d8f90408 | 34 | py | Python | multitool/__init__.py | alexpdev/multitool | 8a635410d5010d9be2e5118b887e26244589a5df | [
"MIT"
] | null | null | null | multitool/__init__.py | alexpdev/multitool | 8a635410d5010d9be2e5118b887e26244589a5df | [
"MIT"
] | null | null | null | multitool/__init__.py | alexpdev/multitool | 8a635410d5010d9be2e5118b887e26244589a5df | [
"MIT"
] | null | null | null | from multitool.cli import execute
| 17 | 33 | 0.852941 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
62bdbb44fc34451e205c51fd49138444b893a285 | 161 | py | Python | 0x04-python-more_data_structures/3-common_elements.py | oluwaseun-ebenezer/holbertonschool-higher_level_programming | e830f969d3ca71abf0a2f6d4f7c64a82337eccd7 | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/3-common_elements.py | oluwaseun-ebenezer/holbertonschool-higher_level_programming | e830f969d3ca71abf0a2f6d4f7c64a82337eccd7 | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/3-common_elements.py | oluwaseun-ebenezer/holbertonschool-higher_level_programming | e830f969d3ca71abf0a2f6d4f7c64a82337eccd7 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# 3-common_elements.py
def common_elements(set_1, set_2):
"""Return a set of common elements in two sets."""
return (set_1 & set_2)
| 20.125 | 54 | 0.68323 | 28 | 161 | 3.714286 | 0.607143 | 0.403846 | 0.134615 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.180124 | 161 | 7 | 55 | 23 | 0.742424 | 0.515528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
62c6dc583017e554ae683f4355ec76fb9f24cba4 | 123 | py | Python | run_codemod.py | anthony2025/jstranslate | e92db84ac1a93b79381762f8dd9a651918b113ae | [
"CC0-1.0"
] | null | null | null | run_codemod.py | anthony2025/jstranslate | e92db84ac1a93b79381762f8dd9a651918b113ae | [
"CC0-1.0"
] | null | null | null | run_codemod.py | anthony2025/jstranslate | e92db84ac1a93b79381762f8dd9a651918b113ae | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/python3
import os
import codemod
# iterate over all keywords in csv
# codemod.Query(...).run_interactive()
| 17.571429 | 42 | 0.715447 | 17 | 123 | 5.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.154472 | 123 | 6 | 43 | 20.5 | 0.826923 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a0d19c64f92306f05f67f2642fb2ea40518e63f | 19 | py | Python | cloudmesh/common/__version__.py | dkkolli/cloudmesh-common | a37a8960baf967362be3db91542ad98abc41b388 | [
"Apache-2.0"
] | null | null | null | cloudmesh/common/__version__.py | dkkolli/cloudmesh-common | a37a8960baf967362be3db91542ad98abc41b388 | [
"Apache-2.0"
] | null | null | null | cloudmesh/common/__version__.py | dkkolli/cloudmesh-common | a37a8960baf967362be3db91542ad98abc41b388 | [
"Apache-2.0"
] | null | null | null | version = "4.3.58"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a7e55ee80a4e696b2750a33c5e37c3da767c32ae | 107 | py | Python | services/web/project/api/v1/user/__init__.py | arsalasif/flask-rest-api | 7e86cf69440f53a57cd49819825e20b0e94f6624 | [
"MIT"
] | 8 | 2020-07-17T16:23:31.000Z | 2022-01-05T01:52:06.000Z | services/web/project/api/v1/user/__init__.py | arsalasif/flask-rest-api | 7e86cf69440f53a57cd49819825e20b0e94f6624 | [
"MIT"
] | null | null | null | services/web/project/api/v1/user/__init__.py | arsalasif/flask-rest-api | 7e86cf69440f53a57cd49819825e20b0e94f6624 | [
"MIT"
] | 3 | 2020-12-24T03:45:29.000Z | 2021-12-09T15:04:30.000Z | from .user import user_blueprint
"""
Add your user blueprints here
"""
user_blueprints = [user_blueprint]
| 15.285714 | 34 | 0.766355 | 14 | 107 | 5.642857 | 0.571429 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 6 | 35 | 17.833333 | 0.858696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 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 | 1 | 0 | 5 |
a7e70fe46a88bcc5077429b7a1d5824d7bb64e18 | 21,632 | py | Python | tests/unit/MoranProcess3D.py | AngryMaciek/angry-moran-simulator | a76dab43a511640a8fa474c1da4f54f36f39db66 | [
"MIT"
] | 5 | 2020-09-01T06:06:37.000Z | 2022-01-17T23:34:41.000Z | tests/unit/MoranProcess3D.py | AngryMaciek/angry-moran-simulator | a76dab43a511640a8fa474c1da4f54f36f39db66 | [
"MIT"
] | 24 | 2020-07-25T21:05:56.000Z | 2021-05-28T22:29:23.000Z | tests/unit/MoranProcess3D.py | AngryMaciek/angry-moran-simulator | a76dab43a511640a8fa474c1da4f54f36f39db66 | [
"MIT"
] | 5 | 2020-08-24T19:29:29.000Z | 2022-02-05T00:43:36.000Z | """
##############################################################################
#
# Unit tests for the 3D population evolution
#
# AUTHOR: Maciej_Bak
# AFFILIATION: University_of_Basel
# AFFILIATION: Swiss_Institute_of_Bioinformatics
# CONTACT: wsciekly.maciek@gmail.com
# CREATED: 15-08-2020
# LICENSE:... | 36.113523 | 86 | 0.404863 | 2,149 | 21,632 | 4.000465 | 0.084225 | 0.073514 | 0.088287 | 0.094917 | 0.790276 | 0.770967 | 0.756194 | 0.737816 | 0.722461 | 0.722461 | 0 | 0.060965 | 0.407036 | 21,632 | 598 | 87 | 36.173913 | 0.609262 | 0.078634 | 0 | 0.699234 | 0 | 0 | 0.036244 | 0.002772 | 0 | 0 | 0 | 0 | 0.070881 | 1 | 0.021073 | false | 0 | 0.007663 | 0 | 0.030651 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a7f87f0d4e9ba65078dce1de68a4ca58fb2420f6 | 21 | py | Python | lib/dice/__init__.py | tunityy/Neon8-Discord-Bot | 3cea7a05356ae5dadd2d7adabbf932bebfb849d8 | [
"MIT"
] | null | null | null | lib/dice/__init__.py | tunityy/Neon8-Discord-Bot | 3cea7a05356ae5dadd2d7adabbf932bebfb849d8 | [
"MIT"
] | null | null | null | lib/dice/__init__.py | tunityy/Neon8-Discord-Bot | 3cea7a05356ae5dadd2d7adabbf932bebfb849d8 | [
"MIT"
] | null | null | null | # from . import rolls | 21 | 21 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0.904762 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c50bdefdbe0e4052ef1143304d74902411237077 | 2,194 | py | Python | tests/validators/ndarray/test_shape.py | tfiers/parachute | 7a88c0708274670d8b381282cae829c928a7c344 | [
"MIT"
] | null | null | null | tests/validators/ndarray/test_shape.py | tfiers/parachute | 7a88c0708274670d8b381282cae829c928a7c344 | [
"MIT"
] | 9 | 2018-09-12T17:58:07.000Z | 2018-09-16T21:26:31.000Z | tests/validators/ndarray/test_shape.py | tfiers/parachute | 7a88c0708274670d8b381282cae829c928a7c344 | [
"MIT"
] | null | null | null | import numpy as np
from parachute import shape
def test_shapespec_any():
Shape = shape(None)
assert not Shape("not a shapespec").is_valid()
assert not Shape((4, "4")).is_valid()
assert not Shape((4, None)).is_valid()
assert not Shape((None,)).is_valid()
assert Shape(()).is_valid()
assert ... | 30.901408 | 57 | 0.60392 | 328 | 2,194 | 3.890244 | 0.140244 | 0.202978 | 0.336207 | 0.225705 | 0.688871 | 0.688871 | 0.615987 | 0.615987 | 0.615987 | 0.615987 | 0 | 0.052269 | 0.206472 | 2,194 | 70 | 58 | 31.342857 | 0.680643 | 0 | 0 | 0.465517 | 0 | 0 | 0.082042 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 1 | 0.086207 | false | 0 | 0.034483 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c51c1a241d148c1e765b3f2533e04f3efa32fff2 | 41 | py | Python | test.py | ritzgeorge/Salient-codes | 83fa614a55dd3ab798ba86fd64362fd5d1f28b6b | [
"Apache-2.0"
] | null | null | null | test.py | ritzgeorge/Salient-codes | 83fa614a55dd3ab798ba86fd64362fd5d1f28b6b | [
"Apache-2.0"
] | null | null | null | test.py | ritzgeorge/Salient-codes | 83fa614a55dd3ab798ba86fd64362fd5d1f28b6b | [
"Apache-2.0"
] | null | null | null | print('abc')
print('bgf')
print(chr(27)) | 13.666667 | 15 | 0.634146 | 7 | 41 | 3.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.073171 | 41 | 3 | 15 | 13.666667 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3daa27e697120994562c725246e249b9ee6166f7 | 126 | py | Python | views.py | xelnod/otus_web_04 | 1545b61447cd90c63fa4016c9ff2c85385abe10a | [
"MIT"
] | null | null | null | views.py | xelnod/otus_web_04 | 1545b61447cd90c63fa4016c9ff2c85385abe10a | [
"MIT"
] | null | null | null | views.py | xelnod/otus_web_04 | 1545b61447cd90c63fa4016c9ff2c85385abe10a | [
"MIT"
] | null | null | null | from otus04.renderer import render
# Write your views here
def index(request):
return render('templates/index.html')
| 15.75 | 41 | 0.738095 | 17 | 126 | 5.470588 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.174603 | 126 | 7 | 42 | 18 | 0.875 | 0.166667 | 0 | 0 | 0 | 0 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
3dba777915b6e95ad8b0fc4b22d67f8135c57b7d | 382 | py | Python | octicons16px/plus_circle.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/plus_circle.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/plus_circle.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_PLUS_CIRCLE = """
<svg class="octicon octicon-plus-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zm.75 4.75a.75.75 0 00-1.5 0v2.5h-2.5a.75.75 0 000 1.5h2.5v2.5a.75.75 0 00... | 76.4 | 350 | 0.659686 | 98 | 382 | 2.55102 | 0.520408 | 0.064 | 0.08 | 0.084 | 0.088 | 0.088 | 0 | 0 | 0 | 0 | 0 | 0.347305 | 0.125654 | 382 | 4 | 351 | 95.5 | 0.401198 | 0 | 0 | 0 | 0 | 0.333333 | 0.923885 | 0.086614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3dd76324dd9917e1e5f7a2a349f1510cf8dd7942 | 17,333 | py | Python | sdk/python/pulumi_ovh/iploadbalancing_http_route.py | legitbee/pulumi-ovh | 23205a76a958edfbfcd96242d9663b3d7c81ccd9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_ovh/iploadbalancing_http_route.py | legitbee/pulumi-ovh | 23205a76a958edfbfcd96242d9663b3d7c81ccd9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_ovh/iploadbalancing_http_route.py | legitbee/pulumi-ovh | 23205a76a958edfbfcd96242d9663b3d7c81ccd9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # 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 ... | 43.224439 | 157 | 0.649743 | 1,946 | 17,333 | 5.581706 | 0.087359 | 0.088105 | 0.082213 | 0.038483 | 0.781992 | 0.761278 | 0.743417 | 0.715522 | 0.694071 | 0.680446 | 0 | 0.002766 | 0.249005 | 17,333 | 400 | 158 | 43.3325 | 0.831682 | 0.284082 | 0 | 0.65 | 1 | 0 | 0.126507 | 0.055753 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158333 | false | 0.004167 | 0.029167 | 0 | 0.283333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3ddea911ba19a44668228cf27a59e140f2a081ff | 49 | py | Python | tests/__init__.py | Greenroom-Robotics/pyblaze | e45e27fbd400b6ae2365ad2347165c7b5154ac51 | [
"MIT"
] | 20 | 2020-03-29T08:43:15.000Z | 2021-12-17T21:38:17.000Z | tests/__init__.py | borchero/bxtorch | 8d01568c8ee9fc05f5b3c84ca3ec68ea74eef9eb | [
"MIT"
] | 4 | 2020-10-27T20:43:40.000Z | 2021-04-29T12:19:39.000Z | tests/__init__.py | borchero/bxtorch | 8d01568c8ee9fc05f5b3c84ca3ec68ea74eef9eb | [
"MIT"
] | 2 | 2020-08-16T18:10:49.000Z | 2021-03-31T23:17:28.000Z | from .multiprocessing import *
from .nn import *
| 16.333333 | 30 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 31 | 24.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9a840342d23463b8711f9da41d184ee2073a493f | 107 | py | Python | modules/dials/array_family/shared.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/dials/array_family/shared.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/dials/array_family/shared.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | from __future__ import absolute_import, division, print_function
from scitbx.array_family.shared import *
| 26.75 | 64 | 0.850467 | 14 | 107 | 6 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 107 | 3 | 65 | 35.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 1 | 0 | 5 |
9a98e6726238b633b893b9b38d189321dcb65c1e | 4,311 | py | Python | partial_date/tests.py | martijnbentum/partial_date | 1edf0d8978d6e7f7b699a7d70400b79577bc311f | [
"MIT"
] | null | null | null | partial_date/tests.py | martijnbentum/partial_date | 1edf0d8978d6e7f7b699a7d70400b79577bc311f | [
"MIT"
] | null | null | null | partial_date/tests.py | martijnbentum/partial_date | 1edf0d8978d6e7f7b699a7d70400b79577bc311f | [
"MIT"
] | null | null | null | from partial_date import PartialDate as pd
import unittest
from datetime import datetime as dt
class TestCreation(unittest.TestCase):
def test_year(self):
# check year partial date formats and output
for y in range(1,2200):
self.assertEqual(pd(str(y)).pretty_string(),dt(y,1,1).strftime('%Y'))
self.assertEq... | 49.551724 | 90 | 0.688007 | 704 | 4,311 | 4.144886 | 0.12642 | 0.179918 | 0.203907 | 0.074023 | 0.783413 | 0.734064 | 0.700137 | 0.6878 | 0.62817 | 0.621316 | 0 | 0.089929 | 0.117838 | 4,311 | 86 | 91 | 50.127907 | 0.67736 | 0.232661 | 0 | 0.105263 | 0 | 0 | 0.141598 | 0 | 0 | 0 | 0 | 0 | 0.614035 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.175439 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9a9ee0ca70af09c57941573f9204a46ad7914ec9 | 28 | py | Python | robinhood/common/__init__.py | Marxvim/Robinhood-1 | c3c83391dcb3eb1b1584bf83a0d965d82c4679ed | [
"MIT"
] | 17 | 2020-03-21T14:19:11.000Z | 2021-12-29T07:16:01.000Z | robinhood/common/__init__.py | Marxvim/Robinhood-1 | c3c83391dcb3eb1b1584bf83a0d965d82c4679ed | [
"MIT"
] | null | null | null | robinhood/common/__init__.py | Marxvim/Robinhood-1 | c3c83391dcb3eb1b1584bf83a0d965d82c4679ed | [
"MIT"
] | 5 | 2020-06-11T20:51:44.000Z | 2022-01-10T06:35:25.000Z | # from .ticker import Ticker | 28 | 28 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9ad067bfbb901f646987e7b24a99ea336eca401c | 464 | gyp | Python | binding.gyp | foysavas/node-kexec | e34be47779a07de59996e0dd05d555907a9a8c1b | [
"MIT"
] | null | null | null | binding.gyp | foysavas/node-kexec | e34be47779a07de59996e0dd05d555907a9a8c1b | [
"MIT"
] | null | null | null | binding.gyp | foysavas/node-kexec | e34be47779a07de59996e0dd05d555907a9a8c1b | [
"MIT"
] | null | null | null | {
'targets': [
{
'target_name': 'kexec',
'sources': [ 'src/kexec.cc' ],
'defines': [
'<!@(node -v |grep "v4" > /dev/null && echo "__NODE_V4__" || true)',
'<!@(node -v |grep "v0.1[12]" > /dev/null && echo "__NODE_V0_11_OR_12__" || true)',
'<!@(command -v iojs > /dev/null &... | 30.933333 | 91 | 0.478448 | 58 | 464 | 3.344828 | 0.413793 | 0.14433 | 0.226804 | 0.309278 | 0.5 | 0.278351 | 0.278351 | 0.278351 | 0.278351 | 0 | 0 | 0.065282 | 0.273707 | 464 | 14 | 92 | 33.142857 | 0.510386 | 0 | 0 | 0 | 0 | 0.214286 | 0.724138 | 0.094828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9add4c996bc3c0a60ff6875e28dc7813ad8b3e3f | 123 | py | Python | ravel/app/base/__init__.py | gigaquads/pybiz | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | 2 | 2021-02-26T15:30:44.000Z | 2021-05-22T14:06:17.000Z | ravel/app/base/__init__.py | gigaquads/ravel | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | null | null | null | ravel/app/base/__init__.py | gigaquads/ravel | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | null | null | null | from .application import Application
from .action_decorator import ActionDecorator
from .action import Action, AsyncAction
| 30.75 | 45 | 0.861789 | 14 | 123 | 7.5 | 0.5 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 123 | 3 | 46 | 41 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
492e4fcb3e7faff9d54c462b04c23ffdb0d354a8 | 191 | py | Python | docker/d-streamon-master/d-streamon/streamon/daemon/tests/jsonrpc/mytest.py | ferrarimarco/open-scissor | d54718a1969701798f3e2d57f3db68d829da1cc0 | [
"Apache-2.0"
] | 2 | 2017-12-02T10:38:05.000Z | 2018-04-22T17:15:01.000Z | docker/d-streamon-master/d-streamon/streamon/daemon/tests/jsonrpc/mytest.py | scissor-project/open-scissor | d54718a1969701798f3e2d57f3db68d829da1cc0 | [
"Apache-2.0"
] | 67 | 2017-11-11T15:22:34.000Z | 2018-04-24T06:44:59.000Z | docker/d-streamon-master/d-streamon/streamon/daemon/tests/jsonrpc/mytest.py | ferrarimarco/open-scissor | d54718a1969701798f3e2d57f3db68d829da1cc0 | [
"Apache-2.0"
] | 1 | 2017-12-07T08:18:49.000Z | 2017-12-07T08:18:49.000Z | class MyTest:
def __init__(self):
self.__foo = 1
self.__bar = "hello"
def get_foo(self):
return self.__foo
def get_bar(self):
return self.__bar
| 15.916667 | 28 | 0.565445 | 25 | 191 | 3.76 | 0.44 | 0.148936 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.340314 | 191 | 11 | 29 | 17.363636 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.026178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 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 | 1 | 1 | 0 | 0 | 5 |
49481d908cfc6f748919bbb97b81c940c0977881 | 37 | py | Python | wsgi.py | MaayanLab/IsItUp | 19cab2d4688bd161f9cffb68643d86e070c4c3bc | [
"MIT"
] | null | null | null | wsgi.py | MaayanLab/IsItUp | 19cab2d4688bd161f9cffb68643d86e070c4c3bc | [
"MIT"
] | null | null | null | wsgi.py | MaayanLab/IsItUp | 19cab2d4688bd161f9cffb68643d86e070c4c3bc | [
"MIT"
] | null | null | null | from IsItUp import app as application | 37 | 37 | 0.864865 | 6 | 37 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
498d9a1f3c56d3e030dac486e946e3687ff05e93 | 117 | py | Python | dao/scroll.py | BadSeedX/play_label-main | 09048d0f08fb15e2e7102769ac8cec0f7b8dfba7 | [
"Apache-2.0"
] | null | null | null | dao/scroll.py | BadSeedX/play_label-main | 09048d0f08fb15e2e7102769ac8cec0f7b8dfba7 | [
"Apache-2.0"
] | null | null | null | dao/scroll.py | BadSeedX/play_label-main | 09048d0f08fb15e2e7102769ac8cec0f7b8dfba7 | [
"Apache-2.0"
] | null | null | null | from PyQt5.QtWidgets import QScrollArea
class MyScroll(QScrollArea):
def wheelEvent(self, event):
pass | 16.714286 | 39 | 0.726496 | 13 | 117 | 6.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.205128 | 117 | 7 | 40 | 16.714286 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b8e7502cbdedf52c71a4e492373e805a73ac7b5f | 585,189 | py | Python | stubs/System/ComponentModel/__init__.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs/System/ComponentModel/__init__.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs/System/ComponentModel/__init__.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | # encoding: utf-8
# module System.ComponentModel calls itself ComponentModel
# from System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf385... | 39.988315 | 376 | 0.627895 | 60,018 | 585,189 | 5.971492 | 0.030974 | 0.024861 | 0.023164 | 0.029783 | 0.759169 | 0.724738 | 0.680876 | 0.647254 | 0.620466 | 0.60041 | 0.00001 | 0.000634 | 0.299754 | 585,189 | 14,633 | 377 | 39.991048 | 0.873968 | 0.030899 | 0 | 0.780938 | 0 | 0 | 0.000939 | 0.000186 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.369743 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
77340d4a81b0a602f0ec69ffe73cb8971674007e | 137 | py | Python | code/Solutions TP1/affiche.py | christophesaintjean/IntroProgS1_2020 | 99555d1e3681d88ee023592a16caecdec6f7c0b4 | [
"CC0-1.0"
] | null | null | null | code/Solutions TP1/affiche.py | christophesaintjean/IntroProgS1_2020 | 99555d1e3681d88ee023592a16caecdec6f7c0b4 | [
"CC0-1.0"
] | null | null | null | code/Solutions TP1/affiche.py | christophesaintjean/IntroProgS1_2020 | 99555d1e3681d88ee023592a16caecdec6f7c0b4 | [
"CC0-1.0"
] | null | null | null | print("Nous sommes en Septembre 2020,")
print("Mon premier programme Python")
print("a pour nom affiche, son code source est affiche.py") | 45.666667 | 59 | 0.766423 | 22 | 137 | 4.772727 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.124088 | 137 | 3 | 59 | 45.666667 | 0.841667 | 0 | 0 | 0 | 0 | 0 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
91f803941f3c4f1c8fd2578d3d8b6bb359a09820 | 150 | py | Python | src/loadimpact/urls.py | nffdiogosilva/Data-Center-REST-API | 7c34302103cf769f7f861cda970c41c4f9bbac27 | [
"MIT"
] | null | null | null | src/loadimpact/urls.py | nffdiogosilva/Data-Center-REST-API | 7c34302103cf769f7f861cda970c41c4f9bbac27 | [
"MIT"
] | null | null | null | src/loadimpact/urls.py | nffdiogosilva/Data-Center-REST-API | 7c34302103cf769f7f861cda970c41c4f9bbac27 | [
"MIT"
] | null | null | null | from django.urls import include, path
from .views import best_datacenter_setup
urlpatterns = [
path('best-dc-setup', best_datacenter_setup),
]
| 16.666667 | 49 | 0.76 | 20 | 150 | 5.5 | 0.6 | 0.254545 | 0.345455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 150 | 8 | 50 | 18.75 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.086667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6220959f131e925d700c6aacdd768e91354c56b7 | 139 | py | Python | mmdet3d/core/evaluation/evaluation_3d/matchers/__init__.py | SimonDoll/mmdetection3d | 742e325dc8a31ef1d6775bb592076de973eeccb8 | [
"Apache-2.0"
] | 1 | 2021-04-15T12:29:57.000Z | 2021-04-15T12:29:57.000Z | mmdet3d/core/evaluation/evaluation_3d/matchers/__init__.py | SimonDoll/mmdetection3d | 742e325dc8a31ef1d6775bb592076de973eeccb8 | [
"Apache-2.0"
] | null | null | null | mmdet3d/core/evaluation/evaluation_3d/matchers/__init__.py | SimonDoll/mmdetection3d | 742e325dc8a31ef1d6775bb592076de973eeccb8 | [
"Apache-2.0"
] | null | null | null | from .greedy_matcher import GreedyMatcher
from .hungarian_matcher import HungarianMatcher
__all__ = ["GreedyMatcher", "HungarianMatcher"]
| 27.8 | 47 | 0.834532 | 13 | 139 | 8.461538 | 0.615385 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093525 | 139 | 4 | 48 | 34.75 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0.208633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6249c11df18c203fa46250f8afa9e3cecf502437 | 90 | py | Python | docs/repo_util.py | djoulz22/pycom-esp-idf | ac081fd114befe25a8a754bffdf88c71e018beb1 | [
"Apache-2.0"
] | 104 | 2017-05-04T09:55:08.000Z | 2022-03-22T11:29:05.000Z | docs/repo_util.py | djoulz22/pycom-esp-idf | ac081fd114befe25a8a754bffdf88c71e018beb1 | [
"Apache-2.0"
] | 28 | 2017-08-01T09:19:23.000Z | 2017-12-26T13:41:14.000Z | docs/repo_util.py | djoulz22/pycom-esp-idf | ac081fd114befe25a8a754bffdf88c71e018beb1 | [
"Apache-2.0"
] | 59 | 2016-11-15T06:07:56.000Z | 2022-02-05T17:03:32.000Z | import re
import os
def run_cmd_get_output(cmd):
return os.popen(cmd).read().strip()
| 15 | 39 | 0.722222 | 16 | 90 | 3.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 5 | 40 | 18 | 0.805195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
624abb075b5de25e6283b8b36b00f68d4ac1eb43 | 240 | py | Python | tests/integration/cli/projects/script/scripts/site.py | Ninjagod1251/ape | 9b40ef15f25362ddb83cb6d571d60cab041fce4a | [
"Apache-2.0"
] | 1 | 2022-01-25T21:26:01.000Z | 2022-01-25T21:26:01.000Z | tests/integration/cli/projects/script/scripts/site.py | Ninjagod1251/ape | 9b40ef15f25362ddb83cb6d571d60cab041fce4a | [
"Apache-2.0"
] | 1 | 2022-02-12T01:31:16.000Z | 2022-02-22T00:26:49.000Z | tests/integration/cli/projects/script/scripts/site.py | Ninjagod1251/ape | 9b40ef15f25362ddb83cb6d571d60cab041fce4a | [
"Apache-2.0"
] | null | null | null | # This script proves that we are allowed to have scripts
# with the same name as a built-in site package, e.g. `site.py`.
# This script also shows that the module doesn't load until called.
print("Super secret script output") # noqa: T001
| 48 | 67 | 0.741667 | 43 | 240 | 4.139535 | 0.860465 | 0.11236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015228 | 0.179167 | 240 | 4 | 68 | 60 | 0.888325 | 0.808333 | 0 | 0 | 0 | 0 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
627683893547991c70e71e08ba90395024b9700b | 5,106 | py | Python | api/sdis/machine_components/interface.py | cypherpath/sdios-api-sdk | dbef980ee68844688e9911443571eca06ee02a6a | [
"MIT"
] | 1 | 2020-12-04T13:32:19.000Z | 2020-12-04T13:32:19.000Z | api/sdis/machine_components/interface.py | cypherpath/sdios-api-sdk | dbef980ee68844688e9911443571eca06ee02a6a | [
"MIT"
] | null | null | null | api/sdis/machine_components/interface.py | cypherpath/sdios-api-sdk | dbef980ee68844688e9911443571eca06ee02a6a | [
"MIT"
] | 4 | 2019-05-07T00:35:06.000Z | 2020-02-08T17:35:33.000Z | """InterfaceDriver class object"""
from typing import Any, Dict
from api.sdis.machine_components.base_machine import BaseMachine
from api.driver import APIDriver
from api.driver import APIResponse
from settings.urls import APICategory
class InterfaceDriver(BaseMachine):
"""Make all machine interface API calls.""... | 63.037037 | 184 | 0.686643 | 763 | 5,106 | 4.306684 | 0.093054 | 0.12325 | 0.059343 | 0.073037 | 0.786062 | 0.77815 | 0.745587 | 0.71972 | 0.580949 | 0.552648 | 0 | 0 | 0.168038 | 5,106 | 80 | 185 | 63.825 | 0.77354 | 0.178026 | 0 | 0 | 0 | 0 | 0.158785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.410256 | false | 0 | 0.128205 | 0 | 0.974359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
655743849ed53ab7cf5608a70ec6498f7b471980 | 184 | py | Python | khs/internet_check/admin.py | KaiserMovet/k-homeServer3 | d45395fbbf1eb9b1f38f65411db60b6b927381f8 | [
"MIT"
] | 1 | 2021-01-07T15:54:40.000Z | 2021-01-07T15:54:40.000Z | khs/internet_check/admin.py | KaiserMovet/k-home_server_3 | d45395fbbf1eb9b1f38f65411db60b6b927381f8 | [
"MIT"
] | null | null | null | khs/internet_check/admin.py | KaiserMovet/k-home_server_3 | d45395fbbf1eb9b1f38f65411db60b6b927381f8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import InternetSpeed, InternetStatus
# Register your models here.
admin.site.register(InternetSpeed)
admin.site.register(InternetStatus)
| 26.285714 | 49 | 0.836957 | 22 | 184 | 7 | 0.545455 | 0.116883 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092391 | 184 | 6 | 50 | 30.666667 | 0.922156 | 0.141304 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
65796578a2965cd02a52bbefa44f88bc7da0a580 | 32 | py | Python | app/core/tools/__init__.py | Matexer/BSPR | a503a8795cb0f4cebe2eedd148aa00aea75b570e | [
"MIT"
] | null | null | null | app/core/tools/__init__.py | Matexer/BSPR | a503a8795cb0f4cebe2eedd148aa00aea75b570e | [
"MIT"
] | null | null | null | app/core/tools/__init__.py | Matexer/BSPR | a503a8795cb0f4cebe2eedd148aa00aea75b570e | [
"MIT"
] | null | null | null | from .integrals import Integrals | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
658546e1d30f1883f3a70f3c7ae902906acda005 | 23 | py | Python | mOle32/__init__.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | 2 | 2019-08-01T15:08:25.000Z | 2021-01-30T07:29:34.000Z | mOle32/__init__.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | null | null | null | mOle32/__init__.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | null | null | null | from .mOle32 import *;
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.173913 | 23 | 1 | 23 | 23 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
658a90db6ea0f0c4a2b4a672bb7e3faeb46f07c6 | 47 | py | Python | tests/__init__.py | Casperjamin/Plasmidsimilarity | 8cdd38e92cf9fd735fec2265fbbebbeb11e3e2c1 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | Casperjamin/Plasmidsimilarity | 8cdd38e92cf9fd735fec2265fbbebbeb11e3e2c1 | [
"BSD-3-Clause"
] | 10 | 2020-03-29T18:05:42.000Z | 2022-01-25T13:41:04.000Z | tests/__init__.py | Casperjamin/Plasmidsimilarity | 8cdd38e92cf9fd735fec2265fbbebbeb11e3e2c1 | [
"BSD-3-Clause"
] | 1 | 2020-07-08T08:07:08.000Z | 2020-07-08T08:07:08.000Z | """Unit test package for Plasmidsimilarity."""
| 23.5 | 46 | 0.744681 | 5 | 47 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.833333 | 0.851064 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
65b56b0b4d2dcd27ba760b90fab8e02b6216f1e1 | 34 | py | Python | code_analysis/old/new_parser/__init__.py | AnacletoLAB/ensmallen_graph | b2c1b18fb1e5801712852bcc239f239e03076f09 | [
"MIT"
] | 5 | 2021-02-17T00:44:45.000Z | 2021-08-09T16:41:47.000Z | code_analysis/old/new_parser/__init__.py | AnacletoLAB/ensmallen_graph | b2c1b18fb1e5801712852bcc239f239e03076f09 | [
"MIT"
] | 18 | 2021-01-07T16:47:39.000Z | 2021-08-12T21:51:32.000Z | code_analysis/old/new_parser/__init__.py | AnacletoLAB/ensmallen | b2c1b18fb1e5801712852bcc239f239e03076f09 | [
"MIT"
] | 3 | 2021-01-14T02:20:59.000Z | 2021-08-04T19:09:52.000Z | from .analysis import get_analysis | 34 | 34 | 0.882353 | 5 | 34 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
65befe079f5eb3c87b707ef488a6eca8817702d1 | 162 | py | Python | TinyintException/tinyintexception.py | santiagogeliz/TinyintException- | b85d3cf823079dd41b9045a14ef9e13817b6453e | [
"MIT"
] | null | null | null | TinyintException/tinyintexception.py | santiagogeliz/TinyintException- | b85d3cf823079dd41b9045a14ef9e13817b6453e | [
"MIT"
] | null | null | null | TinyintException/tinyintexception.py | santiagogeliz/TinyintException- | b85d3cf823079dd41b9045a14ef9e13817b6453e | [
"MIT"
] | null | null | null | class TinyIntError(Exception):
def __init__(self):
self.message = 'El numero entregado NO es un dato tipo TinyInt'
def __str__(self):
return self.message
| 23.142857 | 65 | 0.746914 | 23 | 162 | 4.913043 | 0.782609 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 162 | 6 | 66 | 27 | 0.837037 | 0 | 0 | 0 | 0 | 0 | 0.283951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.