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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3369a3926251fd182ecd59d70c903fa3b85b6eef | 175 | py | Python | test/app_config.py | timgates42/r3 | cc6b4eb55c7ae30a8f75af2be165504565dbeb79 | [
"Unlicense",
"MIT"
] | 49 | 2015-01-06T19:10:41.000Z | 2021-08-01T03:39:39.000Z | test/app_config.py | timgates42/r3 | cc6b4eb55c7ae30a8f75af2be165504565dbeb79 | [
"Unlicense",
"MIT"
] | 3 | 2015-03-30T12:37:00.000Z | 2021-06-09T20:31:54.000Z | test/app_config.py | timgates42/r3 | cc6b4eb55c7ae30a8f75af2be165504565dbeb79 | [
"Unlicense",
"MIT"
] | 12 | 2015-02-27T13:51:09.000Z | 2021-06-09T20:30:59.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
INPUT_STREAMS = [
'test.count_words_stream.CountWordsStream'
]
REDUCERS = [
'test.count_words_reducer.CountWordsReducer'
]
| 15.909091 | 48 | 0.691429 | 19 | 175 | 6.105263 | 0.842105 | 0.155172 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.148571 | 175 | 10 | 49 | 17.5 | 0.771812 | 0.217143 | 0 | 0 | 0 | 0 | 0.607407 | 0.607407 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6824a2fa9d80c6be254b1f38937236fb5bc57b90 | 3,667 | py | Python | fonts/romfonts/vga1_8x8.py | slabua/st7789py_mpy | 31e6f94592563e2b5ad716c48486e605ca3911bb | [
"MIT"
] | 153 | 2020-02-02T11:03:14.000Z | 2022-03-30T05:47:07.000Z | fonts/bitmap/vga1_8x8.py | skylin008/st7789_mpy | f304991fc5558be653df5f0de928494b85cbc60d | [
"MIT"
] | 58 | 2020-04-11T23:23:02.000Z | 2022-03-26T20:45:23.000Z | fonts/bitmap/vga1_8x8.py | skylin008/st7789_mpy | f304991fc5558be653df5f0de928494b85cbc60d | [
"MIT"
] | 50 | 2020-02-02T11:05:23.000Z | 2022-03-22T15:24:42.000Z | """converted from vga_8x8.bin """
WIDTH = 8
HEIGHT = 8
FIRST = 0x20
LAST = 0x7f
_FONT =\
b'\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x18\x3c\x3c\x18\x18\x00\x18\x00'\
b'\x66\x66\x24\x00\x00\x00\x00\x00'\
b'\x6c\x6c\xfe\x6c\xfe\x6c\x6c\x00'\
b'\x18\x3e\x60\x3c\x06\x7c\x18\x00'\
b'\x00\xc6\xcc\x18\x30\x66\xc6\x00'\
b'\x38\x6... | 34.92381 | 36 | 0.675484 | 881 | 3,667 | 2.808173 | 0.07151 | 0.139046 | 0.127324 | 0.116411 | 0.523444 | 0.363379 | 0.271221 | 0.139046 | 0.056589 | 0.036378 | 0 | 0.324317 | 0.032179 | 3,667 | 104 | 37 | 35.259615 | 0.372781 | 0.00709 | 0 | 0 | 0 | 0 | 0.845349 | 0.845349 | 0 | 0 | 0.002201 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
685046820784a9cb78c955dd0cd8a3379cf212b2 | 70,880 | py | Python | src/test/subscriber/subscriberTest.py | huseyinbolt/cord-tester | ed9b79916e6326a45bfaf3227b8ff922d76df4f1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/test/subscriber/subscriberTest.py | huseyinbolt/cord-tester | ed9b79916e6326a45bfaf3227b8ff922d76df4f1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/test/subscriber/subscriberTest.py | huseyinbolt/cord-tester | ed9b79916e6326a45bfaf3227b8ff922d76df4f1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 54.64919 | 238 | 0.568115 | 7,976 | 70,880 | 4.81181 | 0.067076 | 0.03898 | 0.043409 | 0.042341 | 0.740014 | 0.717345 | 0.695615 | 0.677949 | 0.658824 | 0.638657 | 0 | 0.029952 | 0.346205 | 70,880 | 1,296 | 239 | 54.691358 | 0.798235 | 0.042565 | 0 | 0.569991 | 0 | 0.013724 | 0.152739 | 0.033336 | 0 | 1 | 0 | 0 | 0.059469 | 0 | null | null | 0 | 0.021043 | null | null | 0.00183 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6856ea4bef16b4aca6aca1ae6752ae8a328bbf4c | 77 | py | Python | _sadm/web/view/__init__.py | jrmsdev/pysadm | 0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37 | [
"BSD-3-Clause"
] | 1 | 2019-10-15T08:37:56.000Z | 2019-10-15T08:37:56.000Z | _sadm/web/view/__init__.py | jrmsdev/pysadm | 0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37 | [
"BSD-3-Clause"
] | null | null | null | _sadm/web/view/__init__.py | jrmsdev/pysadm | 0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) Jeremías Casteglione <jrmsdev@gmail.com>
# See LICENSE file.
| 25.666667 | 56 | 0.753247 | 10 | 77 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 2 | 57 | 38.5 | 0.865672 | 0.935065 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
68951276a486bb6455a3c6d4a9e61d81300ee697 | 99 | py | Python | src/gcj/__init__.py | shang-lin/gcj | c5f34ecc4b63fc6a60c3ae3277c408d513cb53f1 | [
"MIT"
] | null | null | null | src/gcj/__init__.py | shang-lin/gcj | c5f34ecc4b63fc6a60c3ae3277c408d513cb53f1 | [
"MIT"
] | null | null | null | src/gcj/__init__.py | shang-lin/gcj | c5f34ecc4b63fc6a60c3ae3277c408d513cb53f1 | [
"MIT"
] | null | null | null | from .codejam import CodeJam
from .utils import CodeJamUtils
__all__ = ['CodeJam', 'CodeJamUtils'] | 24.75 | 37 | 0.777778 | 11 | 99 | 6.636364 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 99 | 4 | 37 | 24.75 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0.19 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6896c343b9b9770905d2cd892b5c50ca66f4c02a | 116 | py | Python | d06p2.py | cahorn/aoc21 | 84c6da3cea0e07d7a673f69e5948bf845da78482 | [
"WTFPL"
] | null | null | null | d06p2.py | cahorn/aoc21 | 84c6da3cea0e07d7a673f69e5948bf845da78482 | [
"WTFPL"
] | null | null | null | d06p2.py | cahorn/aoc21 | 84c6da3cea0e07d7a673f69e5948bf845da78482 | [
"WTFPL"
] | null | null | null | from d06p1 import *
if __name__ == "__main__":
print(population(256, fish(map(int, stdin.read().split(",")))))
| 23.2 | 67 | 0.646552 | 15 | 116 | 4.466667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.137931 | 116 | 4 | 68 | 29 | 0.61 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
68ac5d7dde7fabacf149686798512e5fbbbc10c0 | 12,801 | py | Python | test/test_base_mission_generation.py | eriksalt/blades_helper_proj | 96e9d856b0e7f7a9cfc26c9f1bdc89c574eebdbc | [
"MIT"
] | null | null | null | test/test_base_mission_generation.py | eriksalt/blades_helper_proj | 96e9d856b0e7f7a9cfc26c9f1bdc89c574eebdbc | [
"MIT"
] | null | null | null | test/test_base_mission_generation.py | eriksalt/blades_helper_proj | 96e9d856b0e7f7a9cfc26c9f1bdc89c574eebdbc | [
"MIT"
] | null | null | null | import pytest
import test.mock_data_gateway
from blades_helper.mission_generator import _get_next_mission_type, _can_use_mission_type, _generate_base_missions
from blades_helper.mission_generator_constants import MissionGeneratorConstants as con
def setup_one_mission_base_build(mock, note, type):
mock.mission_coun... | 44.447917 | 158 | 0.763847 | 1,791 | 12,801 | 5.120045 | 0.062535 | 0.051581 | 0.034024 | 0.041439 | 0.810251 | 0.755834 | 0.717557 | 0.692912 | 0.645911 | 0.582661 | 0 | 0.005413 | 0.13413 | 12,801 | 287 | 159 | 44.602787 | 0.821905 | 0.005625 | 0 | 0.502075 | 1 | 0 | 0.007938 | 0 | 0 | 0 | 0 | 0 | 0.112033 | 1 | 0.136929 | false | 0 | 0.016598 | 0.004149 | 0.174274 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d7c4b3adc0520c13dfffd5160f89ef9071d0d998 | 6,118 | py | Python | dirigible/fts/tests/test_2734_ClearCells.py | EnoX1/dirigible-spreadsheet | 9a3289c67a93c40190565ad5a555710c50c5f958 | [
"MIT"
] | 168 | 2015-01-03T02:09:30.000Z | 2022-03-31T22:28:00.000Z | dirigible/fts/tests/test_2734_ClearCells.py | EnoX1/dirigible-spreadsheet | 9a3289c67a93c40190565ad5a555710c50c5f958 | [
"MIT"
] | 4 | 2017-03-14T20:49:49.000Z | 2020-04-02T16:13:00.000Z | dirigible/fts/tests/test_2734_ClearCells.py | EnoX1/dirigible-spreadsheet | 9a3289c67a93c40190565ad5a555710c50c5f958 | [
"MIT"
] | 46 | 2015-01-18T04:39:24.000Z | 2022-02-17T22:33:05.000Z | # Copyright (c) 2010 Resolver Systems Ltd.
# All Rights Reserved
#
try:
import unittest2 as unittest
except ImportError:
import unittest
from functionaltest import FunctionalTest
import key_codes
from textwrap import dedent
class Test_2734_ClearCells(FunctionalTest):
def test_delete_key_clears_selected... | 35.364162 | 88 | 0.650866 | 897 | 6,118 | 4.167224 | 0.160535 | 0.062065 | 0.08534 | 0.116372 | 0.79374 | 0.776083 | 0.761905 | 0.716426 | 0.690209 | 0.671482 | 0 | 0.035667 | 0.253024 | 6,118 | 172 | 89 | 35.569767 | 0.782276 | 0.194345 | 0 | 0.663265 | 0 | 0 | 0.242393 | 0.071268 | 0 | 0 | 0 | 0 | 0.030612 | 1 | 0.071429 | false | 0 | 0.061224 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d7e16d169c99996ba790fc5bd559f091602d1968 | 191 | py | Python | 07_calculation_game_on_web/01_multiplication.py | shakiyam/python4kids | 39db55aabe8d02682aaad30080320f944b31258c | [
"MIT"
] | null | null | null | 07_calculation_game_on_web/01_multiplication.py | shakiyam/python4kids | 39db55aabe8d02682aaad30080320f944b31258c | [
"MIT"
] | null | null | null | 07_calculation_game_on_web/01_multiplication.py | shakiyam/python4kids | 39db55aabe8d02682aaad30080320f944b31258c | [
"MIT"
] | null | null | null | import random
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
a = random.randrange(1, 10)
b = random.randrange(1, 10)
return f'{a} * {b} = {a * b}'
| 14.692308 | 33 | 0.591623 | 29 | 191 | 3.758621 | 0.551724 | 0.275229 | 0.293578 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.230366 | 191 | 12 | 34 | 15.916667 | 0.70068 | 0 | 0 | 0 | 0 | 0 | 0.104712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.5 | 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 | 0 | 0 | 0 | 4 |
d7ee0c1e3be65d8eaba71bbe86681e88e75f985b | 156 | py | Python | Aula 07/ex05.py | rafa-santana/Curso-Python | 765c919e45449bd9364905e7a43204f2428fc087 | [
"MIT"
] | 1 | 2021-07-20T16:29:50.000Z | 2021-07-20T16:29:50.000Z | Aula 07/ex05.py | rafa-santana/Curso-Python | 765c919e45449bd9364905e7a43204f2428fc087 | [
"MIT"
] | null | null | null | Aula 07/ex05.py | rafa-santana/Curso-Python | 765c919e45449bd9364905e7a43204f2428fc087 | [
"MIT"
] | null | null | null | n = int(input('Digite um número e descubra o seu sucessor e antecesor: '))
print ('O seu sucessor é igual a {} e o antecessor é igual a {}'.format(n+1,n-1)) | 78 | 81 | 0.685897 | 31 | 156 | 3.451613 | 0.612903 | 0.074766 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.173077 | 156 | 2 | 81 | 78 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.707006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
cc1b552bcf088199b39aca8551f159c12170a452 | 400 | py | Python | test-data/unit/fixtures/module_all.py | ddfisher/mypy | be0e8f2f9e40b50de8219994867e0102e017129a | [
"PSF-2.0"
] | null | null | null | test-data/unit/fixtures/module_all.py | ddfisher/mypy | be0e8f2f9e40b50de8219994867e0102e017129a | [
"PSF-2.0"
] | null | null | null | test-data/unit/fixtures/module_all.py | ddfisher/mypy | be0e8f2f9e40b50de8219994867e0102e017129a | [
"PSF-2.0"
] | null | null | null | from typing import Generic, Sequence, TypeVar
_T = TypeVar('_T')
class object:
def __init__(self) -> None: pass
class module: pass
class type: pass
class function: pass
class int: pass
class str: pass
class list(Generic[_T], Sequence[_T]):
def append(self, x: _T): pass
def extend(self, x: Sequence[_T]): pa... | 25 | 58 | 0.6975 | 62 | 400 | 4.241935 | 0.419355 | 0.239544 | 0.060837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1775 | 400 | 15 | 59 | 26.666667 | 0.799392 | 0 | 0 | 0 | 0 | 0 | 0.005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.714286 | 0.071429 | 0 | 0.928571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
cc1b9bef8ca8d5acf42c5e4a92ae8cefc60c12e3 | 106 | py | Python | dcl/tradegecko/fixerio/exceptions.py | OlamideD/zutron | 42a3b360f7603fc4755d519904ecdb1712296ec2 | [
"MIT"
] | 16 | 2017-05-31T19:11:10.000Z | 2022-02-20T09:46:08.000Z | dcl/tradegecko/fixerio/exceptions.py | OlamideD/zutron | 42a3b360f7603fc4755d519904ecdb1712296ec2 | [
"MIT"
] | 42 | 2016-05-08T09:40:02.000Z | 2021-06-01T22:29:03.000Z | dcl/tradegecko/fixerio/exceptions.py | OlamideD/zutron | 42a3b360f7603fc4755d519904ecdb1712296ec2 | [
"MIT"
] | 12 | 2016-05-08T09:28:15.000Z | 2021-02-06T17:11:58.000Z | class FixerioException(BaseException):
""" Common base class for all fixerio exceptions. """
pass
| 26.5 | 57 | 0.716981 | 11 | 106 | 6.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 106 | 3 | 58 | 35.333333 | 0.883721 | 0.424528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cc2a635b535d393f06204b8db1a07c31fd570805 | 22 | py | Python | flaskapp/blueprints/users/__init__.py | crockmitnic/question-paper-generator | 3f5339226aedd4332c562913945a08cdb45983b0 | [
"MIT"
] | 6 | 2020-08-02T20:58:34.000Z | 2022-03-23T20:33:20.000Z | flaskapp/blueprints/users/__init__.py | arushikhokhar/question-paper-generator | ed7c39e38b13c13c66c673bbde80511d96c2dae3 | [
"MIT"
] | 209 | 2020-02-12T17:09:15.000Z | 2021-06-03T20:34:35.000Z | flaskapp/blueprints/users/__init__.py | arushikhokhar/question-paper-generator | ed7c39e38b13c13c66c673bbde80511d96c2dae3 | [
"MIT"
] | 54 | 2020-02-18T14:54:35.000Z | 2021-09-05T06:31:12.000Z | """users blueprint"""
| 11 | 21 | 0.636364 | 2 | 22 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.7 | 0.681818 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0bc7519a8826cc350f152e84810c561b1b2f1c19 | 829 | py | Python | packages/gtmcore/gtmcore/exceptions/exceptions.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 60 | 2018-09-26T15:46:00.000Z | 2021-10-10T02:37:14.000Z | packages/gtmcore/gtmcore/exceptions/exceptions.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 1,706 | 2018-09-26T16:11:22.000Z | 2021-08-20T13:37:59.000Z | packages/gtmcore/gtmcore/exceptions/exceptions.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 11 | 2019-03-14T13:23:51.000Z | 2022-01-25T01:29:16.000Z |
# TODO: Finish exception implementation, with single exception used to manage hiding error details from user in UI
class GigantumException(Exception):
"""Any Exception arising from inside the Labbook class will be cast as a LabbookException.
This is to avoid having "except Exception" clauses in the client cod... | 46.055556 | 115 | 0.761158 | 126 | 829 | 5.007937 | 0.634921 | 0.031696 | 0.025357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202654 | 829 | 17 | 116 | 48.764706 | 0.954614 | 0.814234 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0403581092cb5a2783d8f97cdff8ad420b0ccd02 | 319 | py | Python | Code Templates/Google.py | cnm06/Competitive-Programming | 94242ae458570d503b8218f37624b88cc5020d23 | [
"MIT"
] | 994 | 2017-02-28T06:13:47.000Z | 2022-03-31T10:49:00.000Z | Code Templates/Google.py | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 16 | 2018-01-01T02:59:55.000Z | 2021-11-22T12:49:16.000Z | Code Templates/Google.py | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 325 | 2017-06-15T03:32:43.000Z | 2022-03-28T22:43:42.000Z | f = open('sample-input.txt')
o = open('sample-output.txt', 'w')
t = int(f.readline().strip())
for i in xrange(1, t + 1):
o.write("Case #{}: ".format(i))
n = int(f.readline().strip())
x = [int(j) for j in f.readline().strip().split()]
y = [int(j) for j in f.readline().strip().split()]
o.write("\n")
| 31.9 | 54 | 0.548589 | 56 | 319 | 3.125 | 0.446429 | 0.205714 | 0.32 | 0.194286 | 0.331429 | 0.331429 | 0.331429 | 0.331429 | 0.331429 | 0 | 0 | 0.007663 | 0.181818 | 319 | 9 | 55 | 35.444444 | 0.662835 | 0 | 0 | 0 | 0 | 0 | 0.144201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f0b99f071749a37dba9f666e50c8d1d226e08eaf | 129 | py | Python | 0x06-python-classes/0-square.py | Dev-Loup/holbertonschool-higher_level_programming | af6fe9a05c87dcdbb88270eec4c7ec81d6a70d9b | [
"FSFAP"
] | null | null | null | 0x06-python-classes/0-square.py | Dev-Loup/holbertonschool-higher_level_programming | af6fe9a05c87dcdbb88270eec4c7ec81d6a70d9b | [
"FSFAP"
] | null | null | null | 0x06-python-classes/0-square.py | Dev-Loup/holbertonschool-higher_level_programming | af6fe9a05c87dcdbb88270eec4c7ec81d6a70d9b | [
"FSFAP"
] | null | null | null | #!/usr/bin/python3
"""Square class creation
"""
class Square:
"""Bypass attributes or methods declaration
"""
pass
| 12.9 | 47 | 0.643411 | 14 | 129 | 5.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.217054 | 129 | 9 | 48 | 14.333333 | 0.811881 | 0.658915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f0d38969e6e08260fdb1910aa2450219efe2e6d3 | 1,263 | py | Python | write/models.py | power3247/project3 | 0702d4754b3cb2b570b1d01df77d412c51eb28a6 | [
"Apache-2.0"
] | 1 | 2021-11-09T20:31:55.000Z | 2021-11-09T20:31:55.000Z | write/models.py | power3247/project3 | 0702d4754b3cb2b570b1d01df77d412c51eb28a6 | [
"Apache-2.0"
] | null | null | null | write/models.py | power3247/project3 | 0702d4754b3cb2b570b1d01df77d412c51eb28a6 | [
"Apache-2.0"
] | 3 | 2021-08-11T03:34:30.000Z | 2021-10-05T05:12:01.000Z | from django.db import models
# Create your models here.
# class Essay(models.Model):
# score = models.IntegerField()
# essayA = models.TextField()
# essayQ = models.TextField()
# name = models.CharField(max_length=20)
#
# def __str__(self):
# return self.score
class choice(models.Model):... | 35.083333 | 60 | 0.728424 | 172 | 1,263 | 5.162791 | 0.284884 | 0.263514 | 0.307432 | 0.39527 | 0.644144 | 0.644144 | 0.644144 | 0.644144 | 0 | 0 | 0 | 0.05042 | 0.152019 | 1,263 | 35 | 61 | 36.085714 | 0.778711 | 0.190816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f0f41930e66849decd7d4ea285445efddcac993e | 176 | py | Python | app/blueprints/question.py | rubberduckdebuggingtwitch/pond | ef574c53e3737b2a07cb368f07f3815514a17375 | [
"MIT"
] | null | null | null | app/blueprints/question.py | rubberduckdebuggingtwitch/pond | ef574c53e3737b2a07cb368f07f3815514a17375 | [
"MIT"
] | null | null | null | app/blueprints/question.py | rubberduckdebuggingtwitch/pond | ef574c53e3737b2a07cb368f07f3815514a17375 | [
"MIT"
] | null | null | null | from flask import Blueprint
from app import db
question = Blueprint('question', __name__)
@question.route('/question/create/<newquestion>')
def ask(newquestion):
| 22 | 49 | 0.721591 | 20 | 176 | 6.15 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164773 | 176 | 8 | 50 | 22 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0.214689 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f0fd45a8575ac9dfa8852c67edce9137c34ff558 | 105 | py | Python | start.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | 474 | 2015-08-10T17:47:15.000Z | 2022-03-31T21:10:55.000Z | start.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | 355 | 2015-08-17T09:35:53.000Z | 2022-03-31T21:29:52.000Z | start.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | 95 | 2015-08-11T14:36:12.000Z | 2022-03-31T23:01:01.000Z | #!/usr/bin/env python3
from angrmanagement.__main__ import main
if __name__ == '__main__':
main()
| 13.125 | 40 | 0.704762 | 13 | 105 | 4.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.171429 | 105 | 7 | 41 | 15 | 0.701149 | 0.2 | 0 | 0 | 0 | 0 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0b073328b44a512f16e623fff28f545b42e6fd51 | 1,112 | py | Python | contrib/drf_introspection/tests.py | hluk/product-definition-center | af79f73c30fa5f5709ba03d584b7a49b83166b81 | [
"MIT"
] | 18 | 2015-12-15T17:56:18.000Z | 2021-04-10T13:49:48.000Z | contrib/drf_introspection/tests.py | hluk/product-definition-center | af79f73c30fa5f5709ba03d584b7a49b83166b81 | [
"MIT"
] | 303 | 2015-11-18T07:37:06.000Z | 2021-05-26T12:34:01.000Z | contrib/drf_introspection/tests.py | hluk/product-definition-center | af79f73c30fa5f5709ba03d584b7a49b83166b81 | [
"MIT"
] | 27 | 2015-11-19T20:33:54.000Z | 2021-03-25T08:15:28.000Z | #
# Copyright (c) 2018 Red Hat
# Licensed under The MIT License (MIT)
# https://opensource.org/licenses/MIT
#
import unittest
from .serializers import _normalized_fields_set
class TestNormalizedFieldsSet(unittest.TestCase):
def test_normal(self):
self.assertEqual(_normalized_fields_set("a"), set(['a']))... | 35.870968 | 84 | 0.660971 | 137 | 1,112 | 5.058394 | 0.262774 | 0.080808 | 0.329004 | 0.492063 | 0.634921 | 0.634921 | 0.574315 | 0.554113 | 0.546898 | 0.546898 | 0 | 0.00426 | 0.155576 | 1,112 | 30 | 85 | 37.066667 | 0.733759 | 0.089029 | 0 | 0 | 0 | 0 | 0.028798 | 0 | 0 | 0 | 0 | 0 | 0.611111 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.388889 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9bc23169e0f63a1bbdb4498037d1aae47163bebf | 7,203 | py | Python | test/dataset_test.py | LFrancesco/pytorch_geometric_temporal | 0964515a6041ce0cceb12e36ed640df22c046b4d | [
"MIT"
] | null | null | null | test/dataset_test.py | LFrancesco/pytorch_geometric_temporal | 0964515a6041ce0cceb12e36ed640df22c046b4d | [
"MIT"
] | null | null | null | test/dataset_test.py | LFrancesco/pytorch_geometric_temporal | 0964515a6041ce0cceb12e36ed640df22c046b4d | [
"MIT"
] | null | null | null | import numpy as np
import networkx as nx
from torch_geometric_temporal.data.dataset import ChickenpoxDatasetLoader, METRLADatasetLoader, PemsBayDatasetLoader, PedalMeDatasetLoader
from torch_geometric_temporal.data.discrete.static_graph_discrete_signal import StaticGraphDiscreteSignal
from torch_geometric_temporal.data... | 38.725806 | 138 | 0.663196 | 933 | 7,203 | 4.92926 | 0.105038 | 0.182648 | 0.117417 | 0.095021 | 0.813438 | 0.775603 | 0.678626 | 0.665362 | 0.665362 | 0.665145 | 0 | 0.044107 | 0.231987 | 7,203 | 185 | 139 | 38.935135 | 0.787238 | 0 | 0 | 0.696552 | 0 | 0 | 0.002777 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 1 | 0.096552 | false | 0 | 0.041379 | 0.006897 | 0.151724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 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 | 4 |
9beaceba19bfb9191d121bea874be4bb75b34444 | 108 | py | Python | psdconvert/__init__.py | mrstephenneal/psdconvert | 7e7d288e6db39067ecb6308cd24e45ff8ba01ab2 | [
"MIT"
] | null | null | null | psdconvert/__init__.py | mrstephenneal/psdconvert | 7e7d288e6db39067ecb6308cd24e45ff8ba01ab2 | [
"MIT"
] | 3 | 2018-09-25T23:30:39.000Z | 2018-10-04T13:33:36.000Z | psdconvert/__init__.py | sfneal/psdconvert | 7e7d288e6db39067ecb6308cd24e45ff8ba01ab2 | [
"MIT"
] | null | null | null | from psdconvert.psdconvert import BatchConvertPSD, ConvertPSD
__all__ = ["BatchConvertPSD", "ConvertPSD"]
| 21.6 | 61 | 0.805556 | 9 | 108 | 9.222222 | 0.666667 | 0.60241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 4 | 62 | 27 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0.231481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
501e079318139adccd587d244ec440f8f2c88d8b | 154 | py | Python | N64RET/Loader/SegmentImpl.py | N64RET/decomp-framework | e74b13e365deae31dd1233642753af008bd2e1cf | [
"Beerware"
] | 1 | 2021-03-13T16:56:08.000Z | 2021-03-13T16:56:08.000Z | N64RET/Loader/SegmentImpl.py | N64RET/decomp-framework | e74b13e365deae31dd1233642753af008bd2e1cf | [
"Beerware"
] | null | null | null | N64RET/Loader/SegmentImpl.py | N64RET/decomp-framework | e74b13e365deae31dd1233642753af008bd2e1cf | [
"Beerware"
] | null | null | null | from N64RET.Loader.Abstract.SegmentInterface import SegmentInterface
class Segment(SegmentInterface):
def processCallback(self):
return True
| 25.666667 | 68 | 0.792208 | 15 | 154 | 8.133333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.149351 | 154 | 5 | 69 | 30.8 | 0.916031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
502602450de870086ebf09d9839bf3344c16fe6e | 219 | py | Python | python/loom_viewer/__init__.py | arao11/pattern_viz | 3123f19a127c9775fadcca25f83aebfc8dc3b9f9 | [
"BSD-2-Clause"
] | 34 | 2017-10-18T06:09:16.000Z | 2022-03-21T18:53:16.000Z | python/loom_viewer/__init__.py | arao11/pattern_viz | 3123f19a127c9775fadcca25f83aebfc8dc3b9f9 | [
"BSD-2-Clause"
] | 52 | 2017-10-19T13:35:39.000Z | 2021-06-03T08:54:55.000Z | python/loom_viewer/__init__.py | arao11/pattern_viz | 3123f19a127c9775fadcca25f83aebfc8dc3b9f9 | [
"BSD-2-Clause"
] | 6 | 2018-05-28T06:16:26.000Z | 2020-08-17T11:49:34.000Z | from ._version import __version__
import loompy
from loompy import LoomConnection
from .loom_tiles import LoomTiles
from .loom_expand import LoomExpand
from .loom_datasets import LoomDatasets
from .loom_cli import main
| 27.375 | 39 | 0.858447 | 30 | 219 | 5.966667 | 0.466667 | 0.178771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118721 | 219 | 7 | 40 | 31.285714 | 0.927461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ac9f39a58c658ee1166883057bfe2de40db482b6 | 145 | py | Python | baselines/mend/efk_hparams.py | kmeng01/rome | 5ae38a91f384fbf2c526b2fb36406fb3c43262ac | [
"MIT"
] | 38 | 2022-02-11T01:49:00.000Z | 2022-03-27T21:52:33.000Z | baselines/mend/efk_hparams.py | kmeng01/rome | 5ae38a91f384fbf2c526b2fb36406fb3c43262ac | [
"MIT"
] | 3 | 2022-02-17T07:11:09.000Z | 2022-03-28T19:39:04.000Z | baselines/mend/efk_hparams.py | kmeng01/rome | 5ae38a91f384fbf2c526b2fb36406fb3c43262ac | [
"MIT"
] | 10 | 2022-02-11T09:30:09.000Z | 2022-03-24T15:23:56.000Z | from util.hparams import HyperParams
class EFKHyperParams(HyperParams):
KEYS = ["lr_scale", "n_toks", "model_name", "counterfact", "zsre"]
| 24.166667 | 70 | 0.724138 | 17 | 145 | 6 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 5 | 71 | 29 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.268966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
acc7f190747ceb066cb3eafea0bad6c34e75ff3b | 123 | py | Python | wristband/stages/serializers.py | hmrc/wristband | 35648a15b91dea4a927e486bfe0ace5e00b44dcc | [
"Apache-2.0"
] | 1 | 2015-07-14T14:32:17.000Z | 2015-07-14T14:32:17.000Z | wristband/stages/serializers.py | hmrc/wristband | 35648a15b91dea4a927e486bfe0ace5e00b44dcc | [
"Apache-2.0"
] | 4 | 2015-08-03T11:17:37.000Z | 2015-09-24T10:06:02.000Z | wristband/stages/serializers.py | hmrc/wristband | 35648a15b91dea4a927e486bfe0ace5e00b44dcc | [
"Apache-2.0"
] | 2 | 2020-05-05T13:56:47.000Z | 2021-04-10T23:51:52.000Z | from rest_framework import serializers
class StageSerializer(serializers.Serializer):
name = serializers.CharField()
| 20.5 | 46 | 0.813008 | 12 | 123 | 8.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 123 | 5 | 47 | 24.6 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
acf0fa0f42937c92e8479db335f4f6b6e27ae971 | 97 | py | Python | lang/py/cookbook/v2/source/cb2_8_10_sol_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_8_10_sol_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_8_10_sol_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | .
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
| 19.4 | 70 | 0.175258 | 7 | 97 | 2.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0.082474 | 97 | 4 | 71 | 24.25 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c588c772b7ba948e4224be62a4cc65eedc1d202b | 248 | py | Python | address_extractor/street_type.py | shaynem/address_extractor | 5288c93780b00ef48c986e179d191f06c0f33d85 | [
"MIT"
] | 1 | 2018-02-27T13:31:36.000Z | 2018-02-27T13:31:36.000Z | address_extractor/street_type.py | shaynem/address_extractor | 5288c93780b00ef48c986e179d191f06c0f33d85 | [
"MIT"
] | 1 | 2017-12-17T06:53:42.000Z | 2017-12-17T06:53:42.000Z | address_extractor/street_type.py | shaynem/address_extractor | 5288c93780b00ef48c986e179d191f06c0f33d85 | [
"MIT"
] | 3 | 2018-02-08T09:48:10.000Z | 2021-09-08T08:47:45.000Z |
from address_extractor import datafile
def load_street_types():
return set(line.strip().lower() for line in datafile.read_street_types())
STREET_TYPES = load_street_types()
def is_valid(token):
return token.lower() in STREET_TYPES
| 20.666667 | 81 | 0.754032 | 36 | 248 | 4.916667 | 0.555556 | 0.310734 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 248 | 11 | 82 | 22.545455 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c5986677f17ef21bd3c5262812a31cd734c014ba | 5,398 | py | Python | integration-tests/test_hub.py | MayeulC/the-littlest-jupyterhub | 1bf50d6c203df7572066353734dfaddb889ced87 | [
"BSD-3-Clause"
] | null | null | null | integration-tests/test_hub.py | MayeulC/the-littlest-jupyterhub | 1bf50d6c203df7572066353734dfaddb889ced87 | [
"BSD-3-Clause"
] | null | null | null | integration-tests/test_hub.py | MayeulC/the-littlest-jupyterhub | 1bf50d6c203df7572066353734dfaddb889ced87 | [
"BSD-3-Clause"
] | null | null | null | import requests
from hubtraf.user import User
from hubtraf.auth.dummy import login_dummy
import secrets
import pytest
from functools import partial
import asyncio
import pwd
import grp
import sys
import subprocess
from tljh.normalize import generate_system_username
# Use sudo to invoke it, since this is how users inv... | 38.557143 | 147 | 0.667655 | 734 | 5,398 | 4.771117 | 0.208447 | 0.039977 | 0.05197 | 0.058252 | 0.735009 | 0.727584 | 0.70474 | 0.676185 | 0.666191 | 0.666191 | 0 | 0.006928 | 0.224528 | 5,398 | 140 | 148 | 38.557143 | 0.82967 | 0.146721 | 0 | 0.538462 | 0 | 0 | 0.149569 | 0.035475 | 0 | 0 | 0 | 0.007143 | 0.25641 | 1 | 0.012821 | false | 0.051282 | 0.153846 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c5a349d6ba75afaef353f222b55adb68c887c175 | 847 | py | Python | server/users/forms.py | NRshka/distconfig | 8634fd7e245c649f00f97eda06a3c1d8a6d134d6 | [
"Apache-2.0"
] | null | null | null | server/users/forms.py | NRshka/distconfig | 8634fd7e245c649f00f97eda06a3c1d8a6d134d6 | [
"Apache-2.0"
] | null | null | null | server/users/forms.py | NRshka/distconfig | 8634fd7e245c649f00f97eda06a3c1d8a6d134d6 | [
"Apache-2.0"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import TextField, PasswordField
from wtforms.validators import DataRequired, Length, Email, EqualTo
class LoginForm(FlaskForm):
username = TextField("Login", validators=[DataRequired(), Length(min=6, max=20)])
password = PasswordField("Password", validators=... | 40.333333 | 93 | 0.693034 | 84 | 847 | 6.97619 | 0.345238 | 0.262799 | 0.191126 | 0.211604 | 0.457338 | 0.457338 | 0.457338 | 0.457338 | 0.457338 | 0.457338 | 0 | 0.016973 | 0.165289 | 847 | 20 | 94 | 42.35 | 0.811881 | 0 | 0 | 0.125 | 0 | 0 | 0.076179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.375 | 0.1875 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c5a35f7509d7bdb7cccd692066cb93fa5ace99bd | 178 | py | Python | src/domain/component.py | gmdlba/simulation | d47b58417bf7380f2bbf552275f9b3e51253e1a5 | [
"MIT"
] | null | null | null | src/domain/component.py | gmdlba/simulation | d47b58417bf7380f2bbf552275f9b3e51253e1a5 | [
"MIT"
] | null | null | null | src/domain/component.py | gmdlba/simulation | d47b58417bf7380f2bbf552275f9b3e51253e1a5 | [
"MIT"
] | null | null | null | class Component:
def __init__(self, fail_ratio, repair_ratio, state):
self.fail_ratio = fail_ratio
self.repair_ratio = repair_ratio
self.state = state | 35.6 | 56 | 0.685393 | 23 | 178 | 4.869565 | 0.391304 | 0.241071 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241573 | 178 | 5 | 57 | 35.6 | 0.82963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
c5aa07220689d198ea5b80b2db2193cc3ab1e16c | 315 | py | Python | vega/core/__init__.py | wnov/vega | bf51cbe389d41033c4ae4bc02e5078c3c247c845 | [
"MIT"
] | 6 | 2020-11-13T15:44:47.000Z | 2021-12-02T08:14:06.000Z | vega/core/__init__.py | JacobLee121/vega | 19256aca4d047bfad3b461f0a927e1c2abb9eb03 | [
"MIT"
] | null | null | null | vega/core/__init__.py | JacobLee121/vega | 19256aca4d047bfad3b461f0a927e1c2abb9eb03 | [
"MIT"
] | 2 | 2021-06-25T09:42:32.000Z | 2021-08-06T18:00:09.000Z | from .run import run, env_args, init_local_cluster_args
from .backend_register import set_backend
from zeus import is_gpu_device, is_npu_device, is_torch_backend, is_tf_backend, is_ms_backend
from zeus.trainer import *
# from .evaluator import *
from zeus.common import FileOps, TaskOps, UserConfig, module_existed
| 45 | 93 | 0.838095 | 50 | 315 | 4.94 | 0.54 | 0.097166 | 0.121457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107937 | 315 | 6 | 94 | 52.5 | 0.879004 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c5fdc4383e9faab0f88e45a84bcc2b6b742f1722 | 128 | py | Python | Curso_em_Video_py3/ex034.py | Rodrigo98Matos/Projetos_py | 6428e2c09d28fd8a717743f4434bc788e7d7d3cc | [
"MIT"
] | 1 | 2021-05-11T12:39:43.000Z | 2021-05-11T12:39:43.000Z | Curso_em_Video_py3/ex034.py | Rodrigo98Matos/Projetos_py | 6428e2c09d28fd8a717743f4434bc788e7d7d3cc | [
"MIT"
] | null | null | null | Curso_em_Video_py3/ex034.py | Rodrigo98Matos/Projetos_py | 6428e2c09d28fd8a717743f4434bc788e7d7d3cc | [
"MIT"
] | null | null | null | s = float(input('Salário: '))
if s <= 1250:
s = s * 1.15
if s > 1250:
s = s * 1.1
print('Novo salário: R${}'.format(s))
| 18.285714 | 37 | 0.507813 | 24 | 128 | 2.708333 | 0.5 | 0.092308 | 0.215385 | 0.246154 | 0.307692 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 0.257813 | 128 | 6 | 38 | 21.333333 | 0.547368 | 0 | 0 | 0 | 0 | 0 | 0.210938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
680c38a3549fb1ad41a0acb314a27f4a18f29f46 | 155 | py | Python | src/vision/utils.py | ncl-ROVers/surface-2019-20 | 209c06008803971d0430fd3993ef36f9a4686646 | [
"MIT"
] | 3 | 2021-01-21T07:18:30.000Z | 2021-12-20T11:09:29.000Z | src/vision/utils.py | ncl-ROVers/surface-2019-20 | 209c06008803971d0430fd3993ef36f9a4686646 | [
"MIT"
] | null | null | null | src/vision/utils.py | ncl-ROVers/surface-2019-20 | 209c06008803971d0430fd3993ef36f9a4686646 | [
"MIT"
] | 3 | 2020-11-24T11:46:23.000Z | 2021-08-05T18:02:07.000Z | """
Computer vision Utils
=====================
Standard utils module storing common to the package classes, functions, constants, and other objects.
"""
| 22.142857 | 101 | 0.664516 | 17 | 155 | 6.058824 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135484 | 155 | 6 | 102 | 25.833333 | 0.768657 | 0.941935 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a863b84feb4f230e620e16f0a251daaa8d5f40e2 | 23,270 | py | Python | speclus4py/assembler.py | ml4py/speclus4py | 6f70b9e052c2e06f45bd9a44aed2522ecbb84d2b | [
"BSD-2-Clause"
] | null | null | null | speclus4py/assembler.py | ml4py/speclus4py | 6f70b9e052c2e06f45bd9a44aed2522ecbb84d2b | [
"BSD-2-Clause"
] | 2 | 2021-02-02T16:34:31.000Z | 2021-03-24T08:01:02.000Z | speclus4py/assembler.py | mpecha/speclus4py | 6f70b9e052c2e06f45bd9a44aed2522ecbb84d2b | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from numba import jit
import pyflann
from petsc4py import PETSc
from mpi4py import MPI
from speclus4py.types import DataObject, DataType, GraphType, OperatorType, OperatorContainer
@jit(nopython=True)
def get_global_index(x, y, ydim):
return y + x * ydim
@jit(nopython=True)
def get_global_i... | 38.913043 | 118 | 0.527374 | 2,981 | 23,270 | 3.886951 | 0.077826 | 0.0586 | 0.062139 | 0.034176 | 0.816777 | 0.791059 | 0.756538 | 0.698887 | 0.682575 | 0.660395 | 0 | 0.042768 | 0.374001 | 23,270 | 597 | 119 | 38.978224 | 0.75266 | 0.125398 | 0 | 0.573265 | 0 | 0 | 0.015832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03856 | false | 0 | 0.015424 | 0.007712 | 0.069409 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8684b12d8db872b37355b83fb5d31fea99930fd | 120 | py | Python | src/python_patterns/factory/rectangle.py | NostraDavid/python-patterns | 35b4807b81c21ba9b53d61284edb76152d57e4bc | [
"MIT"
] | null | null | null | src/python_patterns/factory/rectangle.py | NostraDavid/python-patterns | 35b4807b81c21ba9b53d61284edb76152d57e4bc | [
"MIT"
] | null | null | null | src/python_patterns/factory/rectangle.py | NostraDavid/python-patterns | 35b4807b81c21ba9b53d61284edb76152d57e4bc | [
"MIT"
] | null | null | null | from shape import IShape
class Rectangle(IShape):
def draw(self):
print("Inside Rectangle::draw() method.")
| 17.142857 | 47 | 0.683333 | 15 | 120 | 5.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191667 | 120 | 6 | 48 | 20 | 0.845361 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a87cfb5aa370c41f24696bc843b3043067992de7 | 147 | py | Python | dnsimple/exceptions.py | mherrmann/dnsimple-python | a89127f0bafb2a001c902206fba87cbc4f3bc2d1 | [
"MIT"
] | 12 | 2020-06-18T17:16:03.000Z | 2022-03-23T08:35:49.000Z | dnsimple/exceptions.py | mherrmann/dnsimple-python | a89127f0bafb2a001c902206fba87cbc4f3bc2d1 | [
"MIT"
] | 129 | 2020-06-25T12:15:51.000Z | 2022-03-23T09:42:16.000Z | dnsimple/exceptions.py | mherrmann/dnsimple-python | a89127f0bafb2a001c902206fba87cbc4f3bc2d1 | [
"MIT"
] | 6 | 2020-07-03T09:34:01.000Z | 2021-12-20T04:29:59.000Z | class DNSimpleException(Exception):
def __init__(self, message=None, errors=None):
self.message = message
self.errors = errors
| 29.4 | 50 | 0.687075 | 16 | 147 | 6.0625 | 0.5625 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217687 | 147 | 4 | 51 | 36.75 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8a1665c318195b4381f9ac27cb7f849891f3922 | 1,146 | py | Python | reg/models.py | saurabh00031/Coding-Avengers-007 | fac90680f1a9cc96ce0c22e23b7081745b59eee9 | [
"MIT"
] | 2 | 2021-11-18T20:34:26.000Z | 2021-12-18T04:48:23.000Z | reg/models.py | saurabh00031/Coding-Avengers-007 | fac90680f1a9cc96ce0c22e23b7081745b59eee9 | [
"MIT"
] | null | null | null | reg/models.py | saurabh00031/Coding-Avengers-007 | fac90680f1a9cc96ce0c22e23b7081745b59eee9 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.
class User(AbstractUser):
is_user = models.BooleanField(default=False)
is_hospital = models.BooleanField(default=False)
class hspinfo(models.Model):
user = models.OneToOneField(User, on_delete=mode... | 33.705882 | 63 | 0.740838 | 152 | 1,146 | 5.375 | 0.328947 | 0.220318 | 0.264382 | 0.352509 | 0.658507 | 0.626683 | 0.626683 | 0.474908 | 0.474908 | 0.474908 | 0 | 0.025934 | 0.158813 | 1,146 | 34 | 64 | 33.705882 | 0.821577 | 0.020942 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0.076923 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a8b20b0ac64e54937531f1210cdcc85a4cac8d6c | 671 | py | Python | modelchimp/migrations/0049_auto_20190516_0759.py | samzer/modelchimp-server | 48668d0f73025b2cc967006b3193b67aaf970ad7 | [
"BSD-2-Clause"
] | 134 | 2018-11-07T08:35:47.000Z | 2022-01-09T00:39:40.000Z | modelchimp/migrations/0049_auto_20190516_0759.py | samzer/modelchimp-server | 48668d0f73025b2cc967006b3193b67aaf970ad7 | [
"BSD-2-Clause"
] | 841 | 2018-11-06T19:45:04.000Z | 2022-03-31T13:07:16.000Z | modelchimp/migrations/0049_auto_20190516_0759.py | samzer/modelchimp-server | 48668d0f73025b2cc967006b3193b67aaf970ad7 | [
"BSD-2-Clause"
] | 16 | 2019-02-08T12:48:17.000Z | 2021-02-18T22:11:38.000Z | # Generated by Django 2.2 on 2019-05-16 07:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('modelchimp', '0048_auto_20190515_1032'),
]
operations = [
migrations.RemoveField(
model_name='experiment',
name='algorithm',
... | 22.366667 | 50 | 0.551416 | 56 | 671 | 6.464286 | 0.553571 | 0.232044 | 0.287293 | 0.331492 | 0.530387 | 0.530387 | 0.287293 | 0 | 0 | 0 | 0 | 0.067873 | 0.341282 | 671 | 29 | 51 | 23.137931 | 0.751131 | 0.064083 | 0 | 0.521739 | 1 | 0 | 0.182109 | 0.036741 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7634515bc4bcec09b8dbae019020677adfe3e362 | 76 | py | Python | grr/server/grr_response_server/__init__.py | tsehori/grr | 048506f22f74642bfe61749069a45ddf496fdab3 | [
"Apache-2.0"
] | 1 | 2021-07-01T01:43:06.000Z | 2021-07-01T01:43:06.000Z | grr/server/grr_response_server/__init__.py | tsehori/grr | 048506f22f74642bfe61749069a45ddf496fdab3 | [
"Apache-2.0"
] | 44 | 2021-05-14T22:49:24.000Z | 2022-03-13T21:54:02.000Z | grr/server/grr_response_server/__init__.py | tsehori/grr | 048506f22f74642bfe61749069a45ddf496fdab3 | [
"Apache-2.0"
] | 1 | 2020-06-25T14:25:54.000Z | 2020-06-25T14:25:54.000Z | #!/usr/bin/env python
# Lint as: python3
"""Server-specific GRR classes."""
| 19 | 34 | 0.684211 | 11 | 76 | 4.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.118421 | 76 | 3 | 35 | 25.333333 | 0.761194 | 0.868421 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
766c83b766f6f4e8f20059773bcc9f263122f800 | 84 | py | Python | examples/__init__.py | gelijergensen/PermutationImportance | 7a09a407e42745c223055e0597c5226ff64b2f3c | [
"MIT"
] | 4 | 2019-02-01T17:49:14.000Z | 2020-06-25T15:09:56.000Z | examples/__init__.py | gelijergensen/PermutationImportance | 7a09a407e42745c223055e0597c5226ff64b2f3c | [
"MIT"
] | 42 | 2018-09-27T19:35:32.000Z | 2020-10-09T17:56:57.000Z | examples/__init__.py | gelijergensen/PermutationImportance | 7a09a407e42745c223055e0597c5226ff64b2f3c | [
"MIT"
] | 4 | 2018-09-27T19:34:33.000Z | 2021-02-12T19:41:31.000Z | """These are just examples of using the various methods in PermutationImportance"""
| 42 | 83 | 0.797619 | 11 | 84 | 6.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 1 | 84 | 84 | 0.917808 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
76b9536a1935368189da32f54e7611ec0e043a3f | 103 | py | Python | tavastiaevents/apps.py | dymesolutions/HameEvents | 7962bb05af63695da79009fe1548e7094822b7e6 | [
"MIT"
] | null | null | null | tavastiaevents/apps.py | dymesolutions/HameEvents | 7962bb05af63695da79009fe1548e7094822b7e6 | [
"MIT"
] | null | null | null | tavastiaevents/apps.py | dymesolutions/HameEvents | 7962bb05af63695da79009fe1548e7094822b7e6 | [
"MIT"
] | 1 | 2021-05-29T19:32:31.000Z | 2021-05-29T19:32:31.000Z | from django.apps import AppConfig
class TavastiaeventsConfig(AppConfig):
name = 'tavastiaevents'
| 17.166667 | 38 | 0.786408 | 10 | 103 | 8.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 39 | 20.6 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4f11ef4ff178807475c9337e11e8da8dcdc831ab | 107 | py | Python | purchaseRequests/apps.py | MLavrentyev/TeamManager | cbddb49fb831c7c749253a017353fd04baebe4e4 | [
"MIT"
] | 1 | 2019-10-24T21:20:49.000Z | 2019-10-24T21:20:49.000Z | purchaseRequests/apps.py | MLavrentyev/TeamManager | cbddb49fb831c7c749253a017353fd04baebe4e4 | [
"MIT"
] | 32 | 2018-12-22T17:33:30.000Z | 2022-02-10T07:25:59.000Z | purchaseRequests/apps.py | MLavrentyev/TeamManager | cbddb49fb831c7c749253a017353fd04baebe4e4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PurchaserequestsConfig(AppConfig):
name = 'purchaseRequests'
| 17.833333 | 40 | 0.794393 | 10 | 107 | 8.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 41 | 21.4 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4f19ed3cc7c5a13779926c2a41c4c8722732bca6 | 248 | py | Python | utils/warnings.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | 1 | 2021-03-22T14:16:43.000Z | 2021-03-22T14:16:43.000Z | utils/warnings.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | null | null | null | utils/warnings.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | null | null | null | import sys
def custom_warn(msg, category=UserWarning, filename='', lineno=-1, *args, **kwargs):
print(f'{category.__name__}: {msg}', file=sys.stderr, flush=True)
print(f' issued from: {filename}:{lineno}', file=sys.stderr, flush=True)
| 35.428571 | 84 | 0.681452 | 34 | 248 | 4.823529 | 0.647059 | 0.170732 | 0.158537 | 0.219512 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.129032 | 248 | 6 | 85 | 41.333333 | 0.75463 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4f35f7f56df5326b780043fc6119c1ec046f05e0 | 171 | py | Python | main.py | kamacizy/trading_bot | 567bbecb4820d68ab65fc66788fcf28d6abd65da | [
"MIT"
] | null | null | null | main.py | kamacizy/trading_bot | 567bbecb4820d68ab65fc66788fcf28d6abd65da | [
"MIT"
] | null | null | null | main.py | kamacizy/trading_bot | 567bbecb4820d68ab65fc66788fcf28d6abd65da | [
"MIT"
] | null | null | null | import robinhood
import reddit
import twitter
#prompt = input('What you want?')
def MAIN():
#reddit.CROSS_CHECK()
twitter.search()
MAIN() | 10.058824 | 34 | 0.602339 | 19 | 171 | 5.368421 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28655 | 171 | 17 | 35 | 10.058824 | 0.836066 | 0.304094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4f68104ea263246e3c6b13c09eca0616b23d2185 | 53 | py | Python | tasks.py | MinchinWeb/gpx-reader | 772adff6c5803826f130286f8ec078aad7c49508 | [
"MIT"
] | 1 | 2021-06-03T03:35:55.000Z | 2021-06-03T03:35:55.000Z | tasks.py | MinchinWeb/gpx-reader | 772adff6c5803826f130286f8ec078aad7c49508 | [
"MIT"
] | null | null | null | tasks.py | MinchinWeb/gpx-reader | 772adff6c5803826f130286f8ec078aad7c49508 | [
"MIT"
] | null | null | null | from minchin.releaser import make_release, vendorize
| 26.5 | 52 | 0.867925 | 7 | 53 | 6.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4f69bcbd3a6250bc26d88e0b2c21491dd07d6260 | 60 | py | Python | tests/__init__.py | paulross/typin | 113224d868c95e93b9ae724b0a9d9cfe3e3c78f8 | [
"MIT"
] | 7 | 2017-11-12T21:29:18.000Z | 2019-01-30T01:50:47.000Z | tests/__init__.py | paulross/typin | 113224d868c95e93b9ae724b0a9d9cfe3e3c78f8 | [
"MIT"
] | null | null | null | tests/__init__.py | paulross/typin | 113224d868c95e93b9ae724b0a9d9cfe3e3c78f8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit test package for typin."""
| 15 | 34 | 0.55 | 8 | 60 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.183333 | 60 | 3 | 35 | 20 | 0.653061 | 0.85 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f759845bd0851030a881eca335acd085512ad0a | 387 | py | Python | TWLight/message_storage.py | aacaldwell/TWLight | 68e6d0d81ddd52596025f15d2c9a75dcdf504734 | [
"MIT"
] | 67 | 2017-12-14T22:27:48.000Z | 2022-03-13T18:21:31.000Z | TWLight/message_storage.py | aacaldwell/TWLight | 68e6d0d81ddd52596025f15d2c9a75dcdf504734 | [
"MIT"
] | 433 | 2017-03-24T22:51:23.000Z | 2022-03-31T19:36:22.000Z | TWLight/message_storage.py | Mahuton/TWLight | 90b299d07b0479f21dc90e17b8d05f5a221b0de1 | [
"MIT"
] | 105 | 2017-06-23T03:53:41.000Z | 2022-03-30T17:24:29.000Z | from django.contrib.messages.storage.session import SessionStorage
from django.contrib.messages.storage.base import Message
from .view_mixins import DedupMessageMixin
class SessionDedupStorage(DedupMessageMixin, SessionStorage):
"""
Custom session storage to prevent storing duplicate messages.
cribbed dir... | 29.769231 | 66 | 0.793282 | 42 | 387 | 7.285714 | 0.666667 | 0.065359 | 0.111111 | 0.163399 | 0.20915 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.136951 | 387 | 12 | 67 | 32.25 | 0.892216 | 0.312662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
4f9512e895e21e02b844a3b9adbea0b5edbaaa9f | 114 | py | Python | api/models/__init__.py | weng-lab/SCREEN | e8e7203e2f9baa2de70e2f75bdad3ae24b568367 | [
"MIT"
] | 5 | 2020-07-30T02:35:20.000Z | 2020-12-24T01:26:47.000Z | heatmaps/API/heatmaps/__init__.py | weng-lab/SCREEN | e8e7203e2f9baa2de70e2f75bdad3ae24b568367 | [
"MIT"
] | 6 | 2021-03-04T10:30:11.000Z | 2022-03-16T16:47:47.000Z | api/models/__init__.py | weng-lab/SCREEN | e8e7203e2f9baa2de70e2f75bdad3ae24b568367 | [
"MIT"
] | 2 | 2020-12-08T10:05:02.000Z | 2022-03-10T09:41:19.000Z |
# SPDX-License-Identifier: MIT
# Copyright (c) 2016-2020 Michael Purcaro, Henry Pratt, Jill Moore, Zhiping Weng
| 22.8 | 80 | 0.754386 | 16 | 114 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0.149123 | 114 | 4 | 81 | 28.5 | 0.804124 | 0.938596 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96ded746228047ffb5a146da8dc9983d122c408c | 185 | py | Python | src/shart/__init__.py | insert-username/shart | 0ee05ff28c62371018211d7f2fc6b7cae9279760 | [
"MIT"
] | null | null | null | src/shart/__init__.py | insert-username/shart | 0ee05ff28c62371018211d7f2fc6b7cae9279760 | [
"MIT"
] | null | null | null | src/shart/__init__.py | insert-username/shart | 0ee05ff28c62371018211d7f2fc6b7cae9279760 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import math
import numpy as np
import shapely as sh
import shapely.affinity
import shapely.geometry
__all__ = [ "box", "coordinates", "group", "utils" ]
| 10.882353 | 52 | 0.708108 | 25 | 185 | 5.08 | 0.72 | 0.307087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.178378 | 185 | 16 | 53 | 11.5625 | 0.828947 | 0.113514 | 0 | 0 | 0 | 0 | 0.152866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8c2a4c3e460876ef7e73c5d7ae105c1010689449 | 1,112 | py | Python | groupdocsclassificationcloud/__init__.py | groupdocs-classification-cloud/groupdocs-classification-cloud-python | 5538e34808be16d57fb7709194d5c8837c64ba80 | [
"MIT"
] | 3 | 2019-10-31T09:32:24.000Z | 2020-11-09T07:30:43.000Z | groupdocsclassificationcloud/__init__.py | groupdocs-classification-cloud/groupdocs-classification-cloud-python | 5538e34808be16d57fb7709194d5c8837c64ba80 | [
"MIT"
] | null | null | null | groupdocsclassificationcloud/__init__.py | groupdocs-classification-cloud/groupdocs-classification-cloud-python | 5538e34808be16d57fb7709194d5c8837c64ba80 | [
"MIT"
] | 1 | 2020-04-17T13:39:44.000Z | 2020-04-17T13:39:44.000Z | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import apis into sdk package
from groupdocsclassificationcloud.apis.classification_api import ClassificationApi
# import ApiClient
from groupdocsclassificationcloud.api_client import ApiClient
from groupdocsclassificationcloud.configuration imp... | 48.347826 | 113 | 0.903777 | 105 | 1,112 | 9.4 | 0.390476 | 0.389058 | 0.346505 | 0.036474 | 0.093212 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001932 | 0.069245 | 1,112 | 23 | 113 | 48.347826 | 0.951691 | 0.092626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8c59db3fa2162dfc0679b03d66074f48ec6815e7 | 213 | py | Python | ml/logistic/sklogistic.py | ruiyangio/ml-sentiment | 2fd69d1289faa700b0298ec3dbce47eafe40b756 | [
"MIT"
] | null | null | null | ml/logistic/sklogistic.py | ruiyangio/ml-sentiment | 2fd69d1289faa700b0298ec3dbce47eafe40b756 | [
"MIT"
] | null | null | null | ml/logistic/sklogistic.py | ruiyangio/ml-sentiment | 2fd69d1289faa700b0298ec3dbce47eafe40b756 | [
"MIT"
] | null | null | null | from sklearn.linear_model import LogisticRegression
from modelbase import ModelBase
class SkLogistic(ModelBase):
def __init__(self):
ModelBase.__init__(self)
self.model = LogisticRegression()
| 26.625 | 51 | 0.760563 | 22 | 213 | 6.954545 | 0.545455 | 0.104575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173709 | 213 | 7 | 52 | 30.428571 | 0.869318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8c5d370ab78decf9d091240d67c931a2029185b5 | 92 | py | Python | pdbparse/construct/formats/filesystem/ext3.py | ax330d/ida_pdb_loader | 051b6806810d8aaa40f973442b06c3c0e4c24131 | [
"MIT"
] | 50 | 2016-12-16T17:33:33.000Z | 2022-03-17T06:15:43.000Z | lib/honcore/lib/construct/formats/filesystem/ext3.py | keabard/KeaBot | b4c39c88a11b171738d3623a9cd234e2e4342b7d | [
"Unlicense"
] | null | null | null | lib/honcore/lib/construct/formats/filesystem/ext3.py | keabard/KeaBot | b4c39c88a11b171738d3623a9cd234e2e4342b7d | [
"Unlicense"
] | 29 | 2016-12-17T04:17:10.000Z | 2022-03-17T06:15:45.000Z | """
Extension 3 (ext3)
Used primarily for concurrent Linux systems (ext2 + journalling)
"""
| 18.4 | 64 | 0.728261 | 11 | 92 | 6.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.152174 | 92 | 4 | 65 | 23 | 0.820513 | 0.902174 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4fb4e16b295d6055651f45aa3baa0180ec3f88ad | 131 | py | Python | High School/9th Grade APCSP (Python)/Unit 8/08.01.01.py | SomewhereOutInSpace/Computer-Science-Class | f5d21850236a7a18dc53b4a650ecbe9a11781f1d | [
"Unlicense"
] | null | null | null | High School/9th Grade APCSP (Python)/Unit 8/08.01.01.py | SomewhereOutInSpace/Computer-Science-Class | f5d21850236a7a18dc53b4a650ecbe9a11781f1d | [
"Unlicense"
] | null | null | null | High School/9th Grade APCSP (Python)/Unit 8/08.01.01.py | SomewhereOutInSpace/Computer-Science-Class | f5d21850236a7a18dc53b4a650ecbe9a11781f1d | [
"Unlicense"
] | null | null | null | lis = []
for i in range (10):
num = int(input())
lis.append(num)
print(lis)
for i in range (len(lis)):
print(lis[i])
| 13.1 | 26 | 0.557252 | 23 | 131 | 3.173913 | 0.521739 | 0.164384 | 0.191781 | 0.246575 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.251908 | 131 | 9 | 27 | 14.555556 | 0.72449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4fba10f6e9d901b7c8b62244cc83c46bc06cafd8 | 256 | py | Python | python/sandbox.py | LightningDash1755/HE | 5605b69400f9d91e951e71336e53c7040983d628 | [
"MIT"
] | 61 | 2019-10-20T10:47:26.000Z | 2022-03-10T13:26:27.000Z | python/sandbox.py | LightningDash1755/HE | 5605b69400f9d91e951e71336e53c7040983d628 | [
"MIT"
] | 13 | 2019-10-20T12:44:38.000Z | 2022-02-24T21:41:49.000Z | python/sandbox.py | LightningDash1755/HE | 5605b69400f9d91e951e71336e53c7040983d628 | [
"MIT"
] | 40 | 2019-10-20T10:47:29.000Z | 2022-03-02T16:51:19.000Z | # import gettext
# gettext.bindtextdomain('messages', '/var/www/locale')
# gettext.textdomain('messages')
# t = gettext.translation('pt', '/var/www/locale', fallback=True)
# _ = t.ugettext
# # ...
# print _('Missing fields.')
print _('Task Managerr') | 18.285714 | 65 | 0.667969 | 28 | 256 | 6 | 0.678571 | 0.071429 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128906 | 256 | 14 | 66 | 18.285714 | 0.753363 | 0.820313 | 0 | 0 | 0 | 0 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4fbc44da97883a048c56752c60a37296fd2d4117 | 127 | py | Python | pycodeanalyzer/core/configuration/__init__.py | miong/pycodeanalyzer | 6728d8f77385a1145db67952167710cf412b2343 | [
"MIT"
] | 3 | 2022-03-25T16:13:16.000Z | 2022-03-26T06:42:39.000Z | pycodeanalyzer/core/configuration/__init__.py | miong/pycodeanalyzer | 6728d8f77385a1145db67952167710cf412b2343 | [
"MIT"
] | null | null | null | pycodeanalyzer/core/configuration/__init__.py | miong/pycodeanalyzer | 6728d8f77385a1145db67952167710cf412b2343 | [
"MIT"
] | null | null | null | """Configuration package.
This package handle all information that could be given to pycodeanalyzer in the configuration.
"""
| 25.4 | 95 | 0.795276 | 16 | 127 | 6.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 127 | 4 | 96 | 31.75 | 0.926606 | 0.937008 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4fd2c5133d1128fe9577d0c92d73f1c1e8d7d664 | 244 | py | Python | apiempleados/admin.py | acroooo/registroempleados-spa | 77310967ef10dc769fc7ab60d51dfbb19504ff9e | [
"MIT"
] | null | null | null | apiempleados/admin.py | acroooo/registroempleados-spa | 77310967ef10dc769fc7ab60d51dfbb19504ff9e | [
"MIT"
] | null | null | null | apiempleados/admin.py | acroooo/registroempleados-spa | 77310967ef10dc769fc7ab60d51dfbb19504ff9e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Empleado
# Register your models here.
class EmpleadoAdmin(admin.ModelAdmin):
lista = ['nombre_completo', 'email', 'contacto', 'direccion']
admin.site.register(Empleado, EmpleadoAdmin)
| 24.4 | 65 | 0.766393 | 28 | 244 | 6.642857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 244 | 9 | 66 | 27.111111 | 0.869159 | 0.106557 | 0 | 0 | 0 | 0 | 0.171296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4fd523bc32c09da15a6aed54a6d883eb6ea0c576 | 10,189 | py | Python | boating/tests.py | iago1460/pedal-boating | 1ba1b66ff5177f12a75cd2d91e9ef6f5ac5d9526 | [
"BSD-3-Clause"
] | null | null | null | boating/tests.py | iago1460/pedal-boating | 1ba1b66ff5177f12a75cd2d91e9ef6f5ac5d9526 | [
"BSD-3-Clause"
] | null | null | null | boating/tests.py | iago1460/pedal-boating | 1ba1b66ff5177f12a75cd2d91e9ef6f5ac5d9526 | [
"BSD-3-Clause"
] | null | null | null | import datetime
from django.test import TestCase
from boating.choices import MONDAY, SATURDAY, SUNDAY
from boating.models import Booking, OpeningTimes, HirePoint, Boat
from boating.views import place_booking
class HirePointMixin(object):
hire_point1 = None
hire_point2 = None
def setUp(self):
hi... | 44.3 | 112 | 0.604574 | 1,289 | 10,189 | 4.577192 | 0.09775 | 0.088136 | 0.065085 | 0.074915 | 0.803898 | 0.77339 | 0.716949 | 0.695763 | 0.689492 | 0.645254 | 0 | 0.071016 | 0.286878 | 10,189 | 229 | 113 | 44.49345 | 0.740985 | 0.021396 | 0 | 0.426316 | 0 | 0 | 0.012751 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.042105 | false | 0 | 0.026316 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4fd5b2339d55d9d09db8e7d9a3df98171104deed | 166 | py | Python | vampytest/core/result/__init__.py | HuyaneMatsu/vampytest | 631fbab2d70665adb7b587e012e6e921a90c065c | [
"MIT"
] | 1 | 2022-02-24T14:01:28.000Z | 2022-02-24T14:01:28.000Z | vampytest/core/result/__init__.py | HuyaneMatsu/vampytest | 631fbab2d70665adb7b587e012e6e921a90c065c | [
"MIT"
] | null | null | null | vampytest/core/result/__init__.py | HuyaneMatsu/vampytest | 631fbab2d70665adb7b587e012e6e921a90c065c | [
"MIT"
] | null | null | null | from .failures import *
from .result import *
from .result_group import *
__all__ = (
*failures.__all__,
*result.__all__,
*result_group.__all__,
)
| 13.833333 | 27 | 0.662651 | 18 | 166 | 5.111111 | 0.333333 | 0.217391 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 166 | 11 | 28 | 15.090909 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4fd9c9776f73cdbc6f8e76466ea58abfacad89e8 | 14,509 | py | Python | suites/API/HistoryApi/GetRelativeAccountHistory.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 1 | 2021-03-12T05:17:02.000Z | 2021-03-12T05:17:02.000Z | suites/API/HistoryApi/GetRelativeAccountHistory.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 1 | 2019-11-19T12:10:59.000Z | 2019-11-19T12:10:59.000Z | suites/API/HistoryApi/GetRelativeAccountHistory.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 2 | 2019-04-29T10:46:48.000Z | 2019-10-29T10:01:03.000Z | # -*- coding: utf-8 -*-
from common.base_test import BaseTest
import lemoncheesecake.api as lcc
from lemoncheesecake.matching import (
check_that, equal_to, has_length, is_, is_list, is_str, require_that, require_that_in
)
SUITE = {
"description": "Method 'get_relative_account_history'"
}
@lcc.prop("main", ... | 45.914557 | 119 | 0.678958 | 1,748 | 14,509 | 5.259725 | 0.090961 | 0.077659 | 0.058734 | 0.081575 | 0.795301 | 0.770285 | 0.712095 | 0.700348 | 0.682945 | 0.665869 | 0 | 0.007029 | 0.21559 | 14,509 | 315 | 120 | 46.060317 | 0.800808 | 0.001447 | 0 | 0.564103 | 0 | 0 | 0.240922 | 0.061301 | 0 | 0 | 0 | 0 | 0.003663 | 1 | 0.051282 | false | 0 | 0.010989 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4fe99f05091fb7a5a87d16d772a00e961730b235 | 161 | py | Python | f.py | Brzeczunio/nauka_gita | 4d36e3f846869a6517bca976eed4229400a86eb8 | [
"MIT"
] | null | null | null | f.py | Brzeczunio/nauka_gita | 4d36e3f846869a6517bca976eed4229400a86eb8 | [
"MIT"
] | null | null | null | f.py | Brzeczunio/nauka_gita | 4d36e3f846869a6517bca976eed4229400a86eb8 | [
"MIT"
] | null | null | null | def wypisz(par1, par2):
print('{0} {1}'.format(par1, par2))
def sprawdz(arg1, arg2):
if arg1 > arg2:
return True
else:
return False
| 17.888889 | 39 | 0.565217 | 22 | 161 | 4.136364 | 0.727273 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0.291925 | 161 | 8 | 40 | 20.125 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4ff235573affd588670bc01f4a5af06f6590a28c | 51 | py | Python | sklearn_dummies/__init__.py | gsmafra/sklearn-dummies | ce9cffe9d8485bda969c098e8dc497e348dbaf8f | [
"MIT"
] | 1 | 2017-03-03T03:53:03.000Z | 2017-03-03T03:53:03.000Z | sklearn_dummies/__init__.py | gsmafra/sklearn-dummies | ce9cffe9d8485bda969c098e8dc497e348dbaf8f | [
"MIT"
] | 2 | 2020-02-24T18:46:39.000Z | 2020-03-24T16:36:31.000Z | sklearn_dummies/__init__.py | gsmafra/sklearn-dummies | ce9cffe9d8485bda969c098e8dc497e348dbaf8f | [
"MIT"
] | null | null | null | from .base import DataFrameDummies, NPArrayDummies
| 25.5 | 50 | 0.862745 | 5 | 51 | 8.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 1 | 51 | 51 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4ff32173a1a92ee8cfaca782c0ce93d928db2451 | 140 | py | Python | PythonAdvance/re_example.py | JiaLei123/PythonCamp | 3ff2cee00bc4d8e65f3cc5c7d687da7ecbf9a79e | [
"MIT"
] | null | null | null | PythonAdvance/re_example.py | JiaLei123/PythonCamp | 3ff2cee00bc4d8e65f3cc5c7d687da7ecbf9a79e | [
"MIT"
] | null | null | null | PythonAdvance/re_example.py | JiaLei123/PythonCamp | 3ff2cee00bc4d8e65f3cc5c7d687da7ecbf9a79e | [
"MIT"
] | null | null | null | import re
pattern = re.compile(r'[0-9]+')
match = pattern.findall('hello world! hello')
print pattern.findall('station 1000 100 and 7')
| 15.555556 | 47 | 0.7 | 22 | 140 | 4.454545 | 0.772727 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 140 | 8 | 48 | 17.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b01701b2a81e834add2a1dbc31b166cc978f9a4 | 307 | py | Python | sistem_ozellikleri.py | melihcemipek/python | a0e6e8e5fbffb481c158f19181c10de6e58a8a13 | [
"MIT"
] | null | null | null | sistem_ozellikleri.py | melihcemipek/python | a0e6e8e5fbffb481c158f19181c10de6e58a8a13 | [
"MIT"
] | null | null | null | sistem_ozellikleri.py | melihcemipek/python | a0e6e8e5fbffb481c158f19181c10de6e58a8a13 | [
"MIT"
] | null | null | null | import platform
# İşletim sistemi
print(platform.system())
# İşlemci bilgisi
print(platform.processor())
# Nesil bilgisi
print(platform.release())
# PC Bağlantı adı
print(platform.node())
# Python Versiyonu
print(platform.python_version())
# Python Compiler Bilgisi
print(platform.python_compiler())
| 14.619048 | 33 | 0.76873 | 40 | 307 | 5.9 | 0.525 | 0.330508 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114007 | 307 | 20 | 34 | 15.35 | 0.860294 | 0.332248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.857143 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8b080076549f2a7e0cf11e53b20cbfd6201134d6 | 1,214 | py | Python | CLI.py | smiteshz/YLYLDadJokes | 32206aa4cf3450662c44d51403d81e65c8172da9 | [
"MIT"
] | 1 | 2018-11-09T23:51:49.000Z | 2018-11-09T23:51:49.000Z | CLI.py | smiteshz/YLYLDadJokes | 32206aa4cf3450662c44d51403d81e65c8172da9 | [
"MIT"
] | null | null | null | CLI.py | smiteshz/YLYLDadJokes | 32206aa4cf3450662c44d51403d81e65c8172da9 | [
"MIT"
] | null | null | null | import requests as req
print( " _ _ _____ _ ___ ___ ___ ___ ")
print( " | | | | / ____| | | |__ \ / _ \ / _ \ / _ \ ")
print( " | | ___ | | _____ | | __ ___ _ __ ___ _ __ __ _| |_ ___ _ ... | 39.16129 | 108 | 0.374794 | 76 | 1,214 | 4.105263 | 0.592105 | 0.192308 | 0.240385 | 0.25641 | 0.112179 | 0.112179 | 0 | 0 | 0 | 0 | 0 | 0 | 0.419275 | 1,214 | 30 | 109 | 40.466667 | 0.442553 | 0 | 0 | 0.076923 | 0 | 0.192308 | 0.708162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 0.307692 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b3d19482a3a35ceeb6ed61b761157050dfecb10 | 22 | py | Python | pymicropel/helper/__init__.py | vkorecky/pymicropel | 9333ba1d691664a01d0ec63f89ae13956f37d633 | [
"Apache-2.0"
] | null | null | null | pymicropel/helper/__init__.py | vkorecky/pymicropel | 9333ba1d691664a01d0ec63f89ae13956f37d633 | [
"Apache-2.0"
] | null | null | null | pymicropel/helper/__init__.py | vkorecky/pymicropel | 9333ba1d691664a01d0ec63f89ae13956f37d633 | [
"Apache-2.0"
] | null | null | null | """Helper classes."""
| 11 | 21 | 0.590909 | 2 | 22 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.65 | 0.681818 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b4810f1d04024f8c5ea1d1a73bc2e482dfbee3f | 201 | py | Python | remotelogin/devices/base_db_named.py | filintod/pyremotelogin | e2a4df7fd69d21eccdf1aec55c33a839de9157f1 | [
"MIT"
] | 1 | 2018-11-20T17:45:20.000Z | 2018-11-20T17:45:20.000Z | remotelogin/devices/base_db_named.py | filintod/pyremotelogin | e2a4df7fd69d21eccdf1aec55c33a839de9157f1 | [
"MIT"
] | 3 | 2018-10-16T18:07:50.000Z | 2018-10-16T18:10:06.000Z | remotelogin/devices/base_db_named.py | filintod/pyremotelogin | e2a4df7fd69d21eccdf1aec55c33a839de9157f1 | [
"MIT"
] | null | null | null | from remotelogin.devices.base import DeviceWithEncryptionSettings
from fdutils import db
class TableNamedDevice(DeviceWithEncryptionSettings, db.DeclarativeBaseWithTableName):
__abstract__ = True | 33.5 | 86 | 0.865672 | 17 | 201 | 10 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094527 | 201 | 6 | 87 | 33.5 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5070e6a753124a18a402c8dc2de530e44ae9e90d | 14,153 | py | Python | opp/sharpen_up_upper_test.py | heeryoncho/sensors2018cnnhar | 2c0ae84b83a95bd5b5ab13df0fb3f5e8529df91f | [
"MIT"
] | 10 | 2018-09-25T07:55:30.000Z | 2020-05-08T15:01:56.000Z | opp/sharpen_up_upper_test.py | heeryoncho/sensors2018cnnhar | 2c0ae84b83a95bd5b5ab13df0fb3f5e8529df91f | [
"MIT"
] | null | null | null | opp/sharpen_up_upper_test.py | heeryoncho/sensors2018cnnhar | 2c0ae84b83a95bd5b5ab13df0fb3f5e8529df91f | [
"MIT"
] | 5 | 2018-12-12T16:40:26.000Z | 2020-10-29T01:24:07.000Z | import numpy as np
from sklearn.metrics import accuracy_score, confusion_matrix
from keras.models import load_model
import select_data as sd
import warnings
warnings.simplefilter(action='ignore', category=UserWarning)
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
'''
See paper: Sensors 2018, 18(4), 1055; http... | 21.029718 | 247 | 0.668551 | 2,187 | 14,153 | 4.303155 | 0.202103 | 0.224631 | 0.047816 | 0.063755 | 0.550632 | 0.363617 | 0.289342 | 0.269897 | 0.260015 | 0.245776 | 0 | 0.411427 | 0.150427 | 14,153 | 673 | 248 | 21.029718 | 0.371257 | 0.000707 | 0 | 0 | 0 | 0 | 0.235654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.222222 | null | null | 0.37037 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5081c85d7d28dea6d50eb9f876b393cb23572e7a | 170 | py | Python | Networking/Packets/Incoming/PingPacket.py | henriquelino/pyrelay | b448cca3accc9a566616b756a03958ba096a5ebf | [
"MIT"
] | 26 | 2020-07-24T05:47:02.000Z | 2022-03-31T16:03:13.000Z | Networking/Packets/Incoming/PingPacket.py | henriquelino/pyrelay | b448cca3accc9a566616b756a03958ba096a5ebf | [
"MIT"
] | 17 | 2020-07-27T08:11:19.000Z | 2022-03-29T05:26:16.000Z | Networking/Packets/Incoming/PingPacket.py | henriquelino/pyrelay | b448cca3accc9a566616b756a03958ba096a5ebf | [
"MIT"
] | 16 | 2021-01-20T14:30:37.000Z | 2022-03-18T05:31:51.000Z | class PingPacket:
def __init__(self):
self.type = "PING"
self.serial = 0
def read(self, reader):
self.serial = reader.readInt32()
| 21.25 | 41 | 0.558824 | 19 | 170 | 4.789474 | 0.631579 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.329412 | 170 | 7 | 42 | 24.285714 | 0.77193 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50b03b82d482234c29dbd70a6a8dca15681e0ad1 | 105,199 | py | Python | trove/tests/unittests/guestagent/test_dbaas.py | zhujzhuo/openstack-trove | e9d073762732ba405828fd54c86a27dcac95cd25 | [
"Apache-2.0"
] | null | null | null | trove/tests/unittests/guestagent/test_dbaas.py | zhujzhuo/openstack-trove | e9d073762732ba405828fd54c86a27dcac95cd25 | [
"Apache-2.0"
] | null | null | null | trove/tests/unittests/guestagent/test_dbaas.py | zhujzhuo/openstack-trove | e9d073762732ba405828fd54c86a27dcac95cd25 | [
"Apache-2.0"
] | null | null | null | # Copyright 2012 OpenStack Foundation
#
# 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 l... | 41.729076 | 79 | 0.641803 | 11,428 | 105,199 | 5.614193 | 0.056003 | 0.016475 | 0.038716 | 0.048754 | 0.805359 | 0.760844 | 0.709893 | 0.667997 | 0.636559 | 0.607086 | 0 | 0.005538 | 0.268795 | 105,199 | 2,520 | 80 | 41.745635 | 0.828541 | 0.017272 | 0 | 0.598684 | 0 | 0 | 0.085857 | 0.018994 | 0 | 0 | 0 | 0 | 0.16498 | 1 | 0.112348 | false | 0.013158 | 0.032389 | 0.005061 | 0.165486 | 0.000506 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50b769c05cd39943ee087b82aa3b0b860d748dcd | 358 | bzl | Python | dependencies.bzl | todaypp/bazel-template | 6cd87fc595f86e55a7a92aabca07af6a47f543ec | [
"MIT"
] | null | null | null | dependencies.bzl | todaypp/bazel-template | 6cd87fc595f86e55a7a92aabca07af6a47f543ec | [
"MIT"
] | 2 | 2022-02-02T08:16:31.000Z | 2022-02-02T11:17:00.000Z | dependencies.bzl | todaypp/bazel-template | 6cd87fc595f86e55a7a92aabca07af6a47f543ec | [
"MIT"
] | null | null | null | """Define nodejs and yarn dependencies"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "a09edc4ba3931a856a5ac6836f248c302d55055d35d36e390a0549799c33145b",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download... | 35.8 | 108 | 0.76257 | 44 | 358 | 6 | 0.659091 | 0.125 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165644 | 0.089385 | 358 | 9 | 109 | 39.777778 | 0.644172 | 0.097765 | 0 | 0 | 0 | 0.166667 | 0.74448 | 0.416404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50cba86588fc72c1a7e823bb2be4d9ee03cd2965 | 190 | py | Python | Module 3/Chapter 4/ch4_30.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | 50 | 2016-12-11T13:49:01.000Z | 2022-03-20T19:47:55.000Z | Module 3/Chapter 4/ch4_30.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | null | null | null | Module 3/Chapter 4/ch4_30.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | 40 | 2017-06-14T14:02:48.000Z | 2021-10-14T06:25:00.000Z | import nltk
noun1=[("financial","NN"),("year","NN"),("account","NN"),("summary","NN")]
gram="NP:{<NN>+}"
find = nltk.RegexpParser(gram)
print(find.parse(noun1))
x=find.parse(noun1)
x.draw()
| 23.75 | 74 | 0.636842 | 28 | 190 | 4.321429 | 0.571429 | 0.14876 | 0.231405 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.052632 | 190 | 7 | 75 | 27.142857 | 0.655556 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f98097ead8f71ec8a5b6f0a7002f11c19efbfb2 | 348 | py | Python | release/stubs.min/Rhino/DocObjects/__init___parts/PointCloudObject.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/Rhino/DocObjects/__init___parts/PointCloudObject.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/Rhino/DocObjects/__init___parts/PointCloudObject.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class PointCloudObject(RhinoObject):
# no doc
def DuplicatePointCloudGeometry(self):
""" DuplicatePointCloudGeometry(self: PointCloudObject) -> PointCloud """
pass
PointCloudGeometry=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: PointCloudGeometry(self: PointCloudObject) ->... | 24.857143 | 90 | 0.729885 | 30 | 348 | 8.466667 | 0.566667 | 0.11811 | 0.23622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152299 | 348 | 13 | 91 | 26.769231 | 0.861017 | 0.212644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0f9abccd81979113ea564e184842cc72e720d799 | 260 | py | Python | setup.py | rpavlik/edid-json-tools | 0b44cfd477df3333e09dea278810eeb3926dedd9 | [
"BSD-3-Clause"
] | 2 | 2021-04-04T15:47:14.000Z | 2021-07-11T04:04:23.000Z | setup.py | rpavlik/edid-json-tools | 0b44cfd477df3333e09dea278810eeb3926dedd9 | [
"BSD-3-Clause"
] | null | null | null | setup.py | rpavlik/edid-json-tools | 0b44cfd477df3333e09dea278810eeb3926dedd9 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# Copyright (c) 2019-2021 The EDID JSON Tools authors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
# We need this stub of a script to be able to handle `pip install --editable .`
import setuptools
setuptools.setup()
| 26 | 79 | 0.742308 | 41 | 260 | 4.707317 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 260 | 9 | 80 | 28.888889 | 0.831818 | 0.811538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
0fba08ac93cfa33092a88eca9845ed8123638097 | 186 | py | Python | utils.py | Leaniz/gordologo | fcd8b8a3bfea1fb6e597dfd1701884ddd07db107 | [
"MIT"
] | 1 | 2021-08-03T20:06:42.000Z | 2021-08-03T20:06:42.000Z | utils.py | Leaniz/gordologo | fcd8b8a3bfea1fb6e597dfd1701884ddd07db107 | [
"MIT"
] | null | null | null | utils.py | Leaniz/gordologo | fcd8b8a3bfea1fb6e597dfd1701884ddd07db107 | [
"MIT"
] | null | null | null | from unidecode import unidecode
def compare_name(name_1, name_2):
name_1 = unidecode(name_1).lower()
name_2 = unidecode(name_2).lower()
return name_1 == name_2
| 23.25 | 42 | 0.672043 | 28 | 186 | 4.142857 | 0.357143 | 0.172414 | 0.155172 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 0.231183 | 186 | 7 | 43 | 26.571429 | 0.755245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
0fc313dd312cc4be6b6d09f8fe8d54c934571758 | 75 | py | Python | Algorithms/implementation_drawing_book.py | suketm/hackerrank | 1af471f6f88c40995c67d897ef22bc92b3162bdb | [
"MIT"
] | null | null | null | Algorithms/implementation_drawing_book.py | suketm/hackerrank | 1af471f6f88c40995c67d897ef22bc92b3162bdb | [
"MIT"
] | null | null | null | Algorithms/implementation_drawing_book.py | suketm/hackerrank | 1af471f6f88c40995c67d897ef22bc92b3162bdb | [
"MIT"
] | null | null | null |
n = int(input())
p = int(input())
print (min(p//2, ((n + (n+1)%2)-p)//2 )) | 18.75 | 40 | 0.453333 | 16 | 75 | 2.125 | 0.5 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.16 | 75 | 4 | 40 | 18.75 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0fd0bf63ef900c73648d42d204e377ca905a8f17 | 19 | py | Python | contrib/ruamel/__init__.py | reuterbal/ecbundle | 94118ffa4384795ceed9d54cf886c975db4af9af | [
"Apache-2.0"
] | null | null | null | contrib/ruamel/__init__.py | reuterbal/ecbundle | 94118ffa4384795ceed9d54cf886c975db4af9af | [
"Apache-2.0"
] | 2 | 2022-01-12T10:02:57.000Z | 2022-02-22T21:11:29.000Z | contrib/ruamel/__init__.py | reuterbal/ecbundle | 94118ffa4384795ceed9d54cf886c975db4af9af | [
"Apache-2.0"
] | 1 | 2022-02-22T20:39:14.000Z | 2022-02-22T20:39:14.000Z | __all__ = ["yaml"]
| 9.5 | 18 | 0.578947 | 2 | 19 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0fea3c7d4c5def8381fb9f14db9a030a6e779a23 | 2,044 | py | Python | brainfuck.py | MineRobber9000/pyfiles | ad2f2fc3ed827e8891a7d82c13e3e961bacc3294 | [
"MIT"
] | null | null | null | brainfuck.py | MineRobber9000/pyfiles | ad2f2fc3ed827e8891a7d82c13e3e961bacc3294 | [
"MIT"
] | null | null | null | brainfuck.py | MineRobber9000/pyfiles | ad2f2fc3ed827e8891a7d82c13e3e961bacc3294 | [
"MIT"
] | null | null | null | import sys
major = sys.version_info.major
def six(two,three):
return lambda: two if major==2 else three
def newmodule():
if major==2:
return __import__("new").classobj
elif major==3:
return lambda name,base,ns: __import__("types").new_class(name,base,dict(),lambda d: d.update(ns))
def wh(cond,func):
while c... | 47.534884 | 878 | 0.682485 | 337 | 2,044 | 3.824926 | 0.172107 | 0.080683 | 0.128006 | 0.162141 | 0.511249 | 0.465477 | 0.465477 | 0.465477 | 0.465477 | 0.465477 | 0 | 0.012215 | 0.078767 | 2,044 | 42 | 879 | 48.666667 | 0.672331 | 0 | 0 | 0 | 0 | 0 | 0.204012 | 0.172701 | 0.027778 | 0 | 0 | 0 | 0 | 1 | 0.305556 | false | 0 | 0.083333 | 0.166667 | 0.638889 | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0ff2b8d4b1464c2a121865dfaf3769de5e32ff5e | 37 | py | Python | src/internal_api/v1/__init__.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | 1 | 2022-01-29T17:50:38.000Z | 2022-01-29T17:50:38.000Z | src/internal_api/v1/__init__.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | null | null | null | src/internal_api/v1/__init__.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | null | null | null | from .v1 import v1
__all__ = ["v1"]
| 9.25 | 18 | 0.621622 | 6 | 37 | 3.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.216216 | 37 | 3 | 19 | 12.333333 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ba06c030d9ecf7761ad0a90684cb772000561a09 | 151 | py | Python | lib/test/vot20/stark_st50_lt.py | tzhhhh123/Stark | eaf7df3baf27ac064938f831211ae64659bc6808 | [
"MIT"
] | 376 | 2021-03-27T12:29:17.000Z | 2022-03-29T01:22:15.000Z | lib/test/vot20/stark_st50_lt.py | wp8733684/Stark | ba59f9596b06bc687d726f991e1e7fce8af6b5a5 | [
"MIT"
] | 75 | 2021-03-31T12:44:45.000Z | 2022-03-28T09:02:57.000Z | lib/test/vot20/stark_st50_lt.py | wp8733684/Stark | ba59f9596b06bc687d726f991e1e7fce8af6b5a5 | [
"MIT"
] | 82 | 2021-03-26T10:07:57.000Z | 2022-03-29T11:08:27.000Z | from lib.test.vot20.stark_vot20lt import run_vot_exp
import os
os.environ['CUDA_VISIBLE_DEVICES'] = '6'
run_vot_exp('stark_st', 'baseline', vis=False)
| 30.2 | 52 | 0.788079 | 26 | 151 | 4.269231 | 0.769231 | 0.108108 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.07947 | 151 | 4 | 53 | 37.75 | 0.76259 | 0 | 0 | 0 | 0 | 0 | 0.245033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ba0ad95385f821e6b19ef33e9e83dc825873cae7 | 137 | py | Python | ehmatthes-pcc_2e-078318e/beyond_pcc/chess_game/settings.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | 12 | 2020-10-22T14:03:27.000Z | 2022-03-28T08:14:22.000Z | ehmatthes-pcc_2e-078318e/beyond_pcc/chess_game/settings.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | null | null | null | ehmatthes-pcc_2e-078318e/beyond_pcc/chess_game/settings.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | 9 | 2020-12-22T10:22:12.000Z | 2022-03-28T08:14:53.000Z | class Settings:
def __init__(self):
self.screen_width, self.screen_height = 800, 300
self.bg_color = (225, 225, 225) | 27.4 | 56 | 0.642336 | 19 | 137 | 4.263158 | 0.684211 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 0.248175 | 137 | 5 | 57 | 27.4 | 0.640777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba2e645b37b60d7b52958ab04d4411563d3151fc | 97 | py | Python | backend/instruments/apps.py | codepanda64/logs-and-metas-for-stations | c2fca7b149eaea25b4df45e6cb4af01cc8ad7204 | [
"Apache-2.0"
] | null | null | null | backend/instruments/apps.py | codepanda64/logs-and-metas-for-stations | c2fca7b149eaea25b4df45e6cb4af01cc8ad7204 | [
"Apache-2.0"
] | null | null | null | backend/instruments/apps.py | codepanda64/logs-and-metas-for-stations | c2fca7b149eaea25b4df45e6cb4af01cc8ad7204 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class InstrumentsConfig(AppConfig):
name = 'instruments'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e84840babcba7ce0494e2d3b2cc9cac26d71a4f6 | 209 | py | Python | dxtorchutils/utils/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | 4 | 2020-12-14T15:35:11.000Z | 2021-05-26T07:16:10.000Z | build/lib/dxtorchutils/utils/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | null | null | null | build/lib/dxtorchutils/utils/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | null | null | null | __all__ = ["train", "utils", "optimizers", "metrics", "layers", "blocks", "losses", "info_logger"]
from .train import *
from .utils import *
from .metrics import *
from .layers import *
from .blocks import *
| 26.125 | 98 | 0.679426 | 25 | 209 | 5.48 | 0.48 | 0.291971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148325 | 209 | 7 | 99 | 29.857143 | 0.769663 | 0 | 0 | 0 | 0 | 0 | 0.267943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e88748f3d293f443b08796c40bcfa41178207f00 | 435 | py | Python | samples/django/echo/views.py | potykion/drel | d19033654b1bd1bf51a8965c49342e7ba919a49e | [
"MIT"
] | 1 | 2018-12-21T16:59:40.000Z | 2018-12-21T16:59:40.000Z | samples/django/echo/views.py | potykion/drel | d19033654b1bd1bf51a8965c49342e7ba919a49e | [
"MIT"
] | null | null | null | samples/django/echo/views.py | potykion/drel | d19033654b1bd1bf51a8965c49342e7ba919a49e | [
"MIT"
] | null | null | null | from django.http import HttpResponse, HttpRequest, JsonResponse
from rest_framework.decorators import api_view
from rest_framework.request import Request
@api_view(["POST"])
def success_view(request: Request) -> HttpResponse:
return JsonResponse({"status": "success", "body": request.data.get("field")})
def serv... | 33.461538 | 81 | 0.777011 | 52 | 435 | 6.365385 | 0.5 | 0.048338 | 0.102719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007732 | 0.108046 | 435 | 12 | 82 | 36.25 | 0.845361 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
e8915c7ad323f66418bcd7c0379e593253f92bb2 | 133 | py | Python | scripts/npc/shammos2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/npc/shammos2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/npc/shammos2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Message from Shammos (2022006) | Shammos PQ
sm.sendNext("Haha! FOOLS! I have betrayed you and have unsealed Rex, the Hoblin King!") | 66.5 | 87 | 0.75188 | 21 | 133 | 4.761905 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 0.150376 | 133 | 2 | 87 | 66.5 | 0.823009 | 0.323308 | 0 | 0 | 0 | 0 | 0.808989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e8bc0c3f111cc2a107ee919475e05e40fa86bc70 | 136 | py | Python | imagepy/menus/Image/Lookup table/Others/lookuptables_plg.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | imagepy/menus/Image/Lookup table/Others/lookuptables_plg.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | imagepy/menus/Image/Lookup table/Others/lookuptables_plg.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | from ..lookuptables_plg import LUT
from imagepy.app import ColorManager
plgs = [LUT(i, j) for i, j, _ in ColorManager.gets(tag="adv")]
| 27.2 | 62 | 0.735294 | 22 | 136 | 4.454545 | 0.727273 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 4 | 63 | 34 | 0.837607 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e8c1887de428a5e7a25c1230fdc3b4945fd8d3b3 | 91 | py | Python | fasttask/apps.py | huanjoyous/FasterRunner20190716 | 1702c7afd9548769bc1e7ed4fc04e0321659a89b | [
"MIT"
] | 2 | 2021-05-07T06:58:16.000Z | 2021-11-06T07:49:56.000Z | fasttask/apps.py | huanjoyous/FasterRunner20190716 | 1702c7afd9548769bc1e7ed4fc04e0321659a89b | [
"MIT"
] | 2 | 2020-02-11T23:38:06.000Z | 2020-07-31T10:18:35.000Z | fasttask/apps.py | huanjoyous/FasterRunner20190716 | 1702c7afd9548769bc1e7ed4fc04e0321659a89b | [
"MIT"
] | 1 | 2019-07-04T12:47:28.000Z | 2019-07-04T12:47:28.000Z | from django.apps import AppConfig
class FasttaskConfig(AppConfig):
name = 'fasttask'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e8c9f522d511af7ccdc119a49cb745229b0f6a72 | 7,404 | py | Python | bindings/python/test/time/test_time.py | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 7 | 2020-03-30T11:51:11.000Z | 2022-02-02T15:20:44.000Z | bindings/python/test/time/test_time.py | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 24 | 2018-06-25T08:06:39.000Z | 2020-01-05T20:34:02.000Z | bindings/python/test/time/test_time.py | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 3 | 2020-03-05T18:18:38.000Z | 2020-07-02T05:06:53.000Z | ################################################################################################################################################################
# @project Open Space Toolkit ▸ Physics
# @file bindings/python/test/time/test_time.py
# @author Lucas Brémond <lucas@loftorbital.com... | 33.351351 | 160 | 0.317396 | 542 | 7,404 | 4.184502 | 0.118081 | 0.126984 | 0.09127 | 0.052469 | 0.761023 | 0.727954 | 0.611993 | 0.465608 | 0.388889 | 0.356261 | 0 | 0.017504 | 0.112642 | 7,404 | 221 | 161 | 33.502262 | 0.327549 | 0.06591 | 0 | 0.390805 | 0 | 0 | 0.015681 | 0 | 0 | 0 | 0 | 0 | 0.402299 | 1 | 0.241379 | false | 0 | 0.034483 | 0 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2cddcf9c2df6ea64aa9f49645ac9ad58d8061477 | 3,592 | py | Python | footy/domain/Result.py | dallinb/footy | d6879481a85b4a84023805bf29bd7dff32afa67f | [
"BSD-3-Clause"
] | 2 | 2020-08-27T17:59:13.000Z | 2021-10-10T02:26:20.000Z | footy/domain/Result.py | FootyStats/footy | d6879481a85b4a84023805bf29bd7dff32afa67f | [
"BSD-3-Clause"
] | 32 | 2020-08-24T15:01:57.000Z | 2022-03-12T00:47:02.000Z | footy/domain/Result.py | dallinb/footy | d6879481a85b4a84023805bf29bd7dff32afa67f | [
"BSD-3-Clause"
] | null | null | null | """Result - Data structure for a result."""
# Is prediction before game is played, then actual once game ahs been played
# Return the outcome Briers score, home/away goals scored, Predictions if available, and actual
# result if game has been played
class Result:
"""Result - Data structure for a result."""
d... | 30.184874 | 96 | 0.609967 | 432 | 3,592 | 4.740741 | 0.189815 | 0.209473 | 0.263672 | 0.166992 | 0.599121 | 0.455566 | 0.379883 | 0.361328 | 0.256836 | 0.091797 | 0 | 0.001627 | 0.315423 | 3,592 | 118 | 97 | 30.440678 | 0.831232 | 0.483575 | 0 | 0.3 | 0 | 0 | 0.006731 | 0 | 0 | 0 | 0 | 0.008475 | 0 | 1 | 0.266667 | false | 0 | 0 | 0 | 0.433333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2cde45ab9cc8837898e8a0114856bf050e1d4382 | 175 | py | Python | core/apps.py | techacademypython/hackaton_amada | 407726b26296c842be2c0962c34994878e41868c | [
"MIT"
] | null | null | null | core/apps.py | techacademypython/hackaton_amada | 407726b26296c842be2c0962c34994878e41868c | [
"MIT"
] | null | null | null | core/apps.py | techacademypython/hackaton_amada | 407726b26296c842be2c0962c34994878e41868c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CoreConfig(AppConfig):
name = 'core'
def ready(self):
from mqtt.mqtt_file import client
client.loop_start()
| 17.5 | 41 | 0.674286 | 22 | 175 | 5.272727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245714 | 175 | 9 | 42 | 19.444444 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.022857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2cf5a05fd5d744d717f189e6462876e36c6bdacf | 423 | py | Python | tests/test_models.py | mishbahr/djangocms-responsive-wrapper | d12c1d6830fab204f812b00de3be46e14c101a5d | [
"BSD-3-Clause"
] | 18 | 2015-01-01T17:43:55.000Z | 2018-04-21T17:44:09.000Z | tests/test_models.py | mishbahr/djangocms-responsive-wrapper | d12c1d6830fab204f812b00de3be46e14c101a5d | [
"BSD-3-Clause"
] | null | null | null | tests/test_models.py | mishbahr/djangocms-responsive-wrapper | d12c1d6830fab204f812b00de3be46e14c101a5d | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_djangocms-responsive-wrapper
------------
Tests for `djangocms-responsive-wrapper` models module.
"""
from django.conf import settings
from django.test import TestCase
from responsive_wrapper import models
class TestResponsive_wrapper(TestCase):
def setU... | 16.269231 | 55 | 0.678487 | 50 | 423 | 5.66 | 0.58 | 0.180212 | 0.183746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002941 | 0.196217 | 423 | 26 | 56 | 16.269231 | 0.829412 | 0.345154 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.3 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
2cf685e058c00fbe4dcaab5552d5864cfd20b879 | 63 | py | Python | backend/moderation/__init__.py | ranwise/djangochannel | 9c719d292b5c1d0fd008a16a64509a309bdd642e | [
"BSD-3-Clause"
] | 45 | 2019-10-04T10:12:54.000Z | 2022-03-29T18:12:34.000Z | backend/moderation/__init__.py | ranwise/djangochannel | 9c719d292b5c1d0fd008a16a64509a309bdd642e | [
"BSD-3-Clause"
] | 6 | 2019-10-09T07:37:14.000Z | 2022-01-27T16:41:16.000Z | backend/moderation/__init__.py | ranwise/djangochannel | 9c719d292b5c1d0fd008a16a64509a309bdd642e | [
"BSD-3-Clause"
] | 35 | 2019-10-04T10:18:48.000Z | 2022-01-14T22:40:38.000Z | default_app_config = "backend.moderation.apps.ModerationConfig" | 63 | 63 | 0.873016 | 7 | 63 | 7.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 63 | 1 | 63 | 63 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa14e7f5897b9b0717744dcd31075cf946191d43 | 51 | py | Python | crabageprediction/venv/Lib/site-packages/mpl_toolkits/axes_grid/angle_helper.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 603 | 2020-12-23T13:49:32.000Z | 2022-03-31T23:38:03.000Z | venv/lib/python3.7/site-packages/mpl_toolkits/axes_grid/angle_helper.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 387 | 2020-12-15T14:54:04.000Z | 2022-03-31T07:00:21.000Z | venv/lib/python3.7/site-packages/mpl_toolkits/axes_grid/angle_helper.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 64 | 2018-04-25T08:51:57.000Z | 2022-01-29T14:13:57.000Z | from mpl_toolkits.axisartist.angle_helper import *
| 25.5 | 50 | 0.862745 | 7 | 51 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fa1bb9549ad6de849cde791f46c839fe51734529 | 1,272 | py | Python | tests/load/test_load_case.py | mhkc/scout | a7162f28c0f3490c3f3376268118fa8e6072a9db | [
"BSD-3-Clause"
] | 111 | 2015-01-15T11:53:20.000Z | 2022-03-26T19:55:24.000Z | tests/load/test_load_case.py | mhkc/scout | a7162f28c0f3490c3f3376268118fa8e6072a9db | [
"BSD-3-Clause"
] | 2,995 | 2015-01-15T16:14:20.000Z | 2022-03-31T13:36:32.000Z | tests/load/test_load_case.py | mhkc/scout | a7162f28c0f3490c3f3376268118fa8e6072a9db | [
"BSD-3-Clause"
] | 55 | 2015-05-31T19:09:49.000Z | 2021-11-01T10:50:31.000Z | def test_load_case(case_obj, adapter):
## GIVEN a database with no cases
assert adapter.case_collection.find_one() is None
## WHEN loading a case
adapter._add_case(case_obj)
## THEN assert that the case have been loaded with correct info
assert adapter.case_collection.find_one()
def test_lo... | 31.02439 | 84 | 0.728774 | 195 | 1,272 | 4.435897 | 0.184615 | 0.089017 | 0.145665 | 0.17341 | 0.787283 | 0.760694 | 0.671676 | 0.671676 | 0.671676 | 0.671676 | 0 | 0 | 0.177673 | 1,272 | 40 | 85 | 31.8 | 0.82696 | 0.284591 | 0 | 0.533333 | 0 | 0 | 0.117249 | 0.047351 | 0 | 0 | 0 | 0 | 0.466667 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa3386171405ac0ad3704cea6b057acc4f2dfa2b | 1,126 | py | Python | cngi/vis/ddijoin.py | wxiongccnu1990/cngi_prototype | 7a7230485acc9f8f2be534a832522339153d521e | [
"Apache-2.0"
] | null | null | null | cngi/vis/ddijoin.py | wxiongccnu1990/cngi_prototype | 7a7230485acc9f8f2be534a832522339153d521e | [
"Apache-2.0"
] | null | null | null | cngi/vis/ddijoin.py | wxiongccnu1990/cngi_prototype | 7a7230485acc9f8f2be534a832522339153d521e | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 AUI, Inc. Washington DC, USA
#
# 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 ... | 30.432432 | 76 | 0.674956 | 145 | 1,126 | 5.241379 | 0.641379 | 0.078947 | 0.067105 | 0.094737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013825 | 0.22913 | 1,126 | 36 | 77 | 31.277778 | 0.861751 | 0.857904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fa59227269fda3e5057637124e05fefe7f6da527 | 1,312 | py | Python | TopQuarkAnalysis/TopEventProducers/python/sequences/ttSemiLepEvtHypotheses_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | TopQuarkAnalysis/TopEventProducers/python/sequences/ttSemiLepEvtHypotheses_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | TopQuarkAnalysis/TopEventProducers/python/sequences/ttSemiLepEvtHypotheses_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
#
# produce ttSemiLep event hypotheses
#
## geom hypothesis
from TopQuarkAnalysis.TopJetCombination.TtSemiLepHypGeom_cff import *
## wMassDeltaTopMass hypothesis
from TopQuarkAnalysis.TopJetCombination.TtSemiLepHypWMassDeltaTopMass_cff import *
## wMassMaxSumPt hypothesis
fr... | 30.511628 | 82 | 0.852896 | 102 | 1,312 | 10.813725 | 0.460784 | 0.101541 | 0.217588 | 0.340888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099848 | 1,312 | 42 | 83 | 31.238095 | 0.933954 | 0.183689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.45 | 0 | 0.45 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d703bccc4b9a54b81a135ef537232beef8457c0b | 42,137 | py | Python | swamp/search/tests/test_searchtarget.py | rigdenlab/SWAMP | 3e93ab27f4acf0124f7cb2d78a151cc3352b9c6e | [
"BSD-3-Clause"
] | 2 | 2020-02-15T11:06:34.000Z | 2020-04-10T08:48:49.000Z | swamp/search/tests/test_searchtarget.py | rigdenlab/SWAMP | 3e93ab27f4acf0124f7cb2d78a151cc3352b9c6e | [
"BSD-3-Clause"
] | 15 | 2020-02-04T10:56:07.000Z | 2021-02-12T09:11:03.000Z | swamp/search/tests/test_searchtarget.py | rigdenlab/SWAMP | 3e93ab27f4acf0124f7cb2d78a151cc3352b9c6e | [
"BSD-3-Clause"
] | 4 | 2020-02-04T13:25:09.000Z | 2022-03-23T13:44:17.000Z | import os
import swamp
import unittest
import joblib
from operator import itemgetter
from swamp.utils import remove, create_tempfile
from swamp.search.searchtarget import SearchTarget
TOPCONS_DUMY = """TOPCONS predicted topology:
iiiiiiiiiiiiiiMMMMMMMMMMMMMMMMMMMMMooooooMMMMMMMMMMMMMMMMMMMMMiiiiiiiiiiMMMMMMMMMMMMMMMMM... | 67.744373 | 332 | 0.512709 | 7,264 | 42,137 | 2.918227 | 0.226459 | 0.025899 | 0.012454 | 0.011888 | 0.300311 | 0.079347 | 0.067271 | 0.067271 | 0.067271 | 0.065336 | 0 | 0.488787 | 0.423238 | 42,137 | 621 | 333 | 67.853462 | 0.383451 | 0 | 0 | 0.035 | 0 | 0.308333 | 0.857702 | 0.028621 | 0 | 0 | 0 | 0 | 0.031667 | 1 | 0.003333 | false | 0 | 0.011667 | 0 | 0.016667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d70985722186dbfbe55c0d01494dd41a4805e511 | 969 | py | Python | gui/serializers.py | narsi84/digilib | eec9632e7b7d3cb64a9832e313f47719621219c6 | [
"MIT"
] | null | null | null | gui/serializers.py | narsi84/digilib | eec9632e7b7d3cb64a9832e313f47719621219c6 | [
"MIT"
] | null | null | null | gui/serializers.py | narsi84/digilib | eec9632e7b7d3cb64a9832e313f47719621219c6 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User, Group
from rest_framework import serializers
from .models import *
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'username', 'email', 'groups')
class GroupSerializer(serializers.HyperlinkedMode... | 27.685714 | 66 | 0.717234 | 84 | 969 | 8.119048 | 0.392857 | 0.271261 | 0.307918 | 0.337243 | 0.3739 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001285 | 0.19711 | 969 | 34 | 67 | 28.5 | 0.875321 | 0.19195 | 0 | 0.333333 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.541667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d714876ec4c41661abdfaec64c90677a20ebfeef | 121 | py | Python | mgba_gamedata/gb/__init__.py | mgba-emu/gamedata | d8a167e61f1fade77d08db2f705e08c264208a44 | [
"BSD-2-Clause"
] | 2 | 2018-11-07T08:11:25.000Z | 2021-07-15T12:31:20.000Z | mgba_gamedata/gb/__init__.py | mgba-emu/gamedata | d8a167e61f1fade77d08db2f705e08c264208a44 | [
"BSD-2-Clause"
] | null | null | null | mgba_gamedata/gb/__init__.py | mgba-emu/gamedata | d8a167e61f1fade77d08db2f705e08c264208a44 | [
"BSD-2-Clause"
] | null | null | null | from mgba_gamedata.registry import Platform, Game
class GB(Platform):
pass
class GBGame(Game):
platform = GB
| 12.1 | 49 | 0.719008 | 16 | 121 | 5.375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 121 | 9 | 50 | 13.444444 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d761c4f51fd988692bea83fa884bc0447d1a062f | 824 | py | Python | drivers/driver.py | OttrOne/suivi | 9e53a39b0f50054b89cb960eb9055fd0a28a5ebf | [
"MIT"
] | null | null | null | drivers/driver.py | OttrOne/suivi | 9e53a39b0f50054b89cb960eb9055fd0a28a5ebf | [
"MIT"
] | 2 | 2022-01-11T15:50:04.000Z | 2022-01-13T01:53:53.000Z | drivers/driver.py | OttrOne/suivi | 9e53a39b0f50054b89cb960eb9055fd0a28a5ebf | [
"MIT"
] | null | null | null | class DriverMeta(type):
def __instancecheck__(cls, __instance) -> bool:
return cls.__subclasscheck__(type(__instance))
def __subclasscheck__(cls, __subclass: type) -> bool:
return (
hasattr(__subclass, 'create') and callable(__subclass.create)
) and (
... | 35.826087 | 79 | 0.582524 | 72 | 824 | 6.083333 | 0.319444 | 0.205479 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31432 | 824 | 22 | 80 | 37.454545 | 0.775221 | 0 | 0 | 0.263158 | 0 | 0 | 0.036408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.052632 | 0 | 0.105263 | 0.315789 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.