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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce688b216cd578a4183b70a43e2841e236a6e94e | 750 | py | Python | src/tabela_simbolos/Variable.py | matheusfbonfim/BahTche-Language-Compiler | 531a4fb784914718fcc8a8a8f2e421b068362624 | [
"MIT"
] | 1 | 2021-12-10T14:14:36.000Z | 2021-12-10T14:14:36.000Z | src/tabela_simbolos/Variable.py | matheusfbonfim/BahTche-Language-Compiler | 531a4fb784914718fcc8a8a8f2e421b068362624 | [
"MIT"
] | null | null | null | src/tabela_simbolos/Variable.py | matheusfbonfim/BahTche-Language-Compiler | 531a4fb784914718fcc8a8a8f2e421b068362624 | [
"MIT"
] | null | null | null |
class Variable():
def __init__(self, name, type):
# Informacoes da variavel
self.__name = name # Nome da variavel
self.__type = type # Tipo da variavel
self.__used = False # Indica se a variavel ja foi utilizada
def getName(self):
return self.__name
... | 25.862069 | 124 | 0.586667 | 90 | 750 | 4.6 | 0.333333 | 0.096618 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306667 | 750 | 28 | 125 | 26.785714 | 0.796154 | 0.126667 | 0 | 0.210526 | 0 | 0.052632 | 0.163328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0 | 0 | 0.210526 | 0.684211 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
ce7c66c88e4481ae943370aeaf9ea0e7281cbb81 | 930 | py | Python | problems/bfs/Solution815.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/bfs/Solution815.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/bfs/Solution815.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | """ We have a list of bus routes. Each routes[i] is a bus route that the i-th bus
repeats forever. For example if routes[0] = [1, 5, 7], this means that the
first bus (0-th indexed) travels in the sequence 1->5->7->1->5->7->1->...
forever.
We start at bus stop S (initially not on a bus), and we want t... | 35.769231 | 83 | 0.656989 | 176 | 930 | 3.471591 | 0.494318 | 0.045827 | 0.01473 | 0.013093 | 0.0491 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039416 | 0.263441 | 930 | 25 | 84 | 37.2 | 0.852555 | 0.890323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ce7dc0a9b06d24666686656fc9a52c76c0f36f98 | 945 | py | Python | tests/test_games.py | mikegoodspeed/supercheckers-python | 220c271913cedfd5a816b8a2d220e92591c3d936 | [
"MIT"
] | null | null | null | tests/test_games.py | mikegoodspeed/supercheckers-python | 220c271913cedfd5a816b8a2d220e92591c3d936 | [
"MIT"
] | null | null | null | tests/test_games.py | mikegoodspeed/supercheckers-python | 220c271913cedfd5a816b8a2d220e92591c3d936 | [
"MIT"
] | null | null | null | from unittest.mock import MagicMock, Mock
import pytest
import supercheckers as sc
from supercheckers import games
@pytest.fixture
def mock_player_1() -> Mock:
return Mock(sc.Player)
@pytest.fixture
def mock_player_2() -> Mock:
return Mock(sc.Player)
@pytest.fixture
def mock_journal() -> MagicMock:
... | 24.868421 | 83 | 0.779894 | 140 | 945 | 4.942857 | 0.228571 | 0.115607 | 0.07948 | 0.086705 | 0.458092 | 0.216763 | 0.216763 | 0.216763 | 0.121387 | 0 | 0 | 0.018315 | 0.133333 | 945 | 37 | 84 | 25.540541 | 0.826618 | 0 | 0 | 0.26087 | 0 | 0 | 0.01164 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.26087 | false | 0 | 0.173913 | 0.173913 | 0.608696 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
ce84f2e9cc9a9ada0f0ebb9d487134c95acc3772 | 165 | py | Python | test/mkdata.py | ascr-ecx/eth | 53c6f68f2ef091c00e9cdd87aa2756cddb252dd9 | [
"BSD-3-Clause"
] | 2 | 2019-10-13T06:00:21.000Z | 2019-10-14T22:29:22.000Z | test/mkdata.py | ascr-ecx/eth | 53c6f68f2ef091c00e9cdd87aa2756cddb252dd9 | [
"BSD-3-Clause"
] | null | null | null | test/mkdata.py | ascr-ecx/eth | 53c6f68f2ef091c00e9cdd87aa2756cddb252dd9 | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env pvpython
from paraview.simple import *
w = Wavelet()
t = Tetrahedralize(Input=w)
SaveData("wavelet.vti", proxy=w)
SaveData("wavelet.vtu", proxy=t)
| 18.333333 | 32 | 0.715152 | 24 | 165 | 4.916667 | 0.708333 | 0.152542 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115152 | 165 | 8 | 33 | 20.625 | 0.808219 | 0.139394 | 0 | 0 | 0 | 0 | 0.156028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ce8544dbe8637a143f55d2aa0ec3cd722718449f | 146 | py | Python | container/src/app.py | PowercoderJr/oonote | 619e7a0146c0239232b3d9a7effe597ab899b88e | [
"MIT"
] | null | null | null | container/src/app.py | PowercoderJr/oonote | 619e7a0146c0239232b3d9a7effe597ab899b88e | [
"MIT"
] | null | null | null | container/src/app.py | PowercoderJr/oonote | 619e7a0146c0239232b3d9a7effe597ab899b88e | [
"MIT"
] | null | null | null | from flask import Flask
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config.from_pyfile('settings.py')
db = SQLAlchemy(app)
| 20.857143 | 39 | 0.80137 | 21 | 146 | 5.285714 | 0.52381 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 146 | 6 | 40 | 24.333333 | 0.853846 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ce8b0345b9807aca7605044552796a6ae92bc016 | 118 | py | Python | wsgi.py | szkkteam/agrosys | a390332202f7200632d2ff3816e1b0f3cc76f586 | [
"MIT"
] | 69 | 2018-10-10T01:59:11.000Z | 2022-03-29T17:29:30.000Z | wsgi.py | szkkteam/agrosys | a390332202f7200632d2ff3816e1b0f3cc76f586 | [
"MIT"
] | 18 | 2018-11-17T12:42:02.000Z | 2021-05-22T18:45:27.000Z | wsgi.py | szkkteam/agrosys | a390332202f7200632d2ff3816e1b0f3cc76f586 | [
"MIT"
] | 7 | 2018-10-12T16:20:25.000Z | 2021-10-06T12:18:21.000Z | import os
from flask_unchained import AppFactory, PROD
app = AppFactory().create_app(os.getenv('FLASK_ENV', PROD))
| 16.857143 | 59 | 0.771186 | 17 | 118 | 5.176471 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 6 | 60 | 19.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 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 | 0 | 0 | 0 | 3 |
ce8b300c64ebfc27b50fce3b155e171674349759 | 1,990 | py | Python | stubs.min/Autodesk/Revit/DB/__init___parts/CompoundStructureError.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/Autodesk/Revit/DB/__init___parts/CompoundStructureError.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/Autodesk/Revit/DB/__init___parts/CompoundStructureError.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class CompoundStructureError(Enum,IComparable,IFormattable,IConvertible):
"""
When CompoundStructure::isValid() returns false,it uses these values to indicate precise nature of defect.
enum CompoundStructureError,values: BadShellOrder (0),BadShellsStructure (5),CoreTooThin (1),DeckCantBoundAbove (12),DeckCan... | 39.8 | 525 | 0.769849 | 196 | 1,990 | 7.331633 | 0.428571 | 0.055672 | 0.058455 | 0.06263 | 0.08977 | 0.08977 | 0.08977 | 0.078636 | 0.078636 | 0.078636 | 0 | 0.015402 | 0.119095 | 1,990 | 49 | 526 | 40.612245 | 0.804335 | 0.482915 | 0 | 0.25 | 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 | 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 | 3 |
ce8d5fe4cf6e9178e92e28da11bc50529973bad8 | 427 | py | Python | sequential.py | chiragob/keras | 00dad79c19aacb375b76b09d7cb522035551b863 | [
"MIT"
] | null | null | null | sequential.py | chiragob/keras | 00dad79c19aacb375b76b09d7cb522035551b863 | [
"MIT"
] | null | null | null | sequential.py | chiragob/keras | 00dad79c19aacb375b76b09d7cb522035551b863 | [
"MIT"
] | null | null | null | from f keras.models import Sequential
from keras.layers import Dense
model = Sequential([Dense(2, input_dim=1), Dense(1)])
# from keras.models import Sequential
# from keras.layers import Dense
# from keras.utils import plot_model
# model = Sequential()
# model.add(Dense(2, input_dim=1))
# model.add(Dense(1))
# summari... | 30.5 | 60 | 0.76815 | 65 | 427 | 4.938462 | 0.384615 | 0.11215 | 0.105919 | 0.168224 | 0.423676 | 0.330218 | 0.330218 | 0.330218 | 0.330218 | 0 | 0 | 0.015789 | 0.11007 | 427 | 13 | 61 | 32.846154 | 0.828947 | 0.47541 | 0 | 0 | 0 | 0 | 0.144186 | 0.144186 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ce9366b16d2bbd0af9c0efac3945f2e5a7c6cff9 | 250 | py | Python | src/__init__.py | kenoseni/Flight-Booking | ce67113dbf303a155274e02aa520d4d116197b9d | [
"MIT"
] | null | null | null | src/__init__.py | kenoseni/Flight-Booking | ce67113dbf303a155274e02aa520d4d116197b9d | [
"MIT"
] | null | null | null | src/__init__.py | kenoseni/Flight-Booking | ce67113dbf303a155274e02aa520d4d116197b9d | [
"MIT"
] | null | null | null | """App Blueprint"""
from flask import Blueprint
from flask_restplus import Api
from .database import db
api_blueprint = Blueprint('api', __name__, url_prefix='/api/v1')
api = Api(api_blueprint, doc='/docs')
errors = Blueprint('errors', __name__)
| 20.833333 | 64 | 0.744 | 34 | 250 | 5.117647 | 0.470588 | 0.149425 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.124 | 250 | 11 | 65 | 22.727273 | 0.789954 | 0.052 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
cea1369e7ab6777af3268a88005e3a76894b7b07 | 332 | py | Python | app/database/queries.py | natanascimento/school-controll-data-process | ac65553c51a7c8aca1c786aaa396b9f3e275a1af | [
"MIT"
] | null | null | null | app/database/queries.py | natanascimento/school-controll-data-process | ac65553c51a7c8aca1c786aaa396b9f3e275a1af | [
"MIT"
] | null | null | null | app/database/queries.py | natanascimento/school-controll-data-process | ac65553c51a7c8aca1c786aaa396b9f3e275a1af | [
"MIT"
] | null | null | null | class Queries:
def __init__(self, file_path: str) -> None:
self.__file_path = file_path
@staticmethod
def read_sql_file(file_path: str):
file = open(file_path, 'r')
sql = file.read().split(';')
file.close()
return sql
@property
def get(self):
return self.read_sql_file(self._... | 20.75 | 47 | 0.64759 | 47 | 332 | 4.191489 | 0.404255 | 0.243655 | 0.182741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225904 | 332 | 15 | 48 | 22.133333 | 0.766537 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.083333 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ceaabd399346f4294feb572b2334934a453ccdc7 | 69 | py | Python | Configuration/ProcessModifiers/python/pp_on_AA_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Configuration/ProcessModifiers/python/pp_on_AA_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Configuration/ProcessModifiers/python/pp_on_AA_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
pp_on_AA = cms.Modifier()
| 17.25 | 40 | 0.782609 | 11 | 69 | 4.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 3 | 41 | 23 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ceb3aed1d087e39f42c82d040973f0777ddb26f0 | 850 | py | Python | env/Lib/site-packages/OpenGL/_opaque.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | env/Lib/site-packages/OpenGL/_opaque.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | env/Lib/site-packages/OpenGL/_opaque.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | """Data-type definitions for EGL/GLES"""
import ctypes
pointer = ctypes.pointer
class _Opaque( ctypes.Structure ):
"""An Opaque Structure reference (base class)"""
class _opaque_pointer( ctypes.POINTER( _Opaque ) ):
_type_ = _Opaque
@classmethod
def from_param( cls, value ):
return ctypes.cast(... | 32.692308 | 70 | 0.656471 | 106 | 850 | 5.037736 | 0.443396 | 0.097378 | 0.074906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227059 | 850 | 25 | 71 | 34 | 0.812785 | 0.215294 | 0 | 0.1 | 0 | 0 | 0.021672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.05 | 0.15 | 0.7 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
cec599ace688ba5145c3365647c740bd0658bd34 | 358 | py | Python | Documentation/LASOMMaterial/LASOM2_1102250002/Example/LASOM_demo.py | lorenzpammer/olfStim | d56baacbe19271b3c844aed90461c3851adf875d | [
"MIT"
] | null | null | null | Documentation/LASOMMaterial/LASOM2_1102250002/Example/LASOM_demo.py | lorenzpammer/olfStim | d56baacbe19271b3c844aed90461c3851adf875d | [
"MIT"
] | 19 | 2015-01-03T11:55:55.000Z | 2015-02-25T16:19:30.000Z | Documentation/LASOMMaterial/LASOM2_1102250002/Example/LASOM_demo.py | lorenzpammer/olfStim | d56baacbe19271b3c844aed90461c3851adf875d | [
"MIT"
] | null | null | null | from ctypes import *
cdll.LoadLibrary("LASOM_LV")
ret = cdll.LASOM_LV.LASOM_LV_Open(0,0) # should return 0
if (0 != ret) :
print "LASOM open failed, ret = ",ret
else :
slave = 1
valve_on = 1
valve_off = 0
cdll.LASOM_LV.LASOM_LV_SetOdorValve(slave,2,valve_on) # odor 2 on
cdll.LASOM_LV.LASOM_LV_SetGateVal... | 27.538462 | 69 | 0.706704 | 63 | 358 | 3.793651 | 0.428571 | 0.205021 | 0.138075 | 0.200837 | 0.225941 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044218 | 0.178771 | 358 | 12 | 70 | 29.833333 | 0.768707 | 0.100559 | 0 | 0 | 0 | 0 | 0.108197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.090909 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cedc7f82c66a9023662ca12e25c42cc31d8229ab | 194 | py | Python | data_collection/gazette/spiders/sc_rio_fortuna.py | Jefersonalves/diario-oficial | 9a4bdfe2e31414c993d88831a67160c49a5ee657 | [
"MIT"
] | 3 | 2021-08-18T17:50:31.000Z | 2021-11-12T23:36:33.000Z | data_collection/gazette/spiders/sc_rio_fortuna.py | Jefersonalves/diario-oficial | 9a4bdfe2e31414c993d88831a67160c49a5ee657 | [
"MIT"
] | 4 | 2021-02-10T02:36:48.000Z | 2022-03-02T14:55:34.000Z | data_collection/gazette/spiders/sc_rio_fortuna.py | Jefersonalves/diario-oficial | 9a4bdfe2e31414c993d88831a67160c49a5ee657 | [
"MIT"
] | null | null | null | from gazette.spiders.base import FecamGazetteSpider
class ScRioFortunaSpider(FecamGazetteSpider):
name = "sc_rio_fortuna"
FECAM_QUERY = "cod_entidade:221"
TERRITORY_ID = "4214904"
| 24.25 | 51 | 0.773196 | 21 | 194 | 6.904762 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.149485 | 194 | 7 | 52 | 27.714286 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.190722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
0c78ce97e400a82be2a5fb0b975ca1c45c7ac119 | 609 | py | Python | Lab6/Lab6-1-HelloBlinky.py | vppillai/Vidyuth20 | f325f4958b05d9dfc5c3b305b995202c02ef2b02 | [
"MIT"
] | 1 | 2021-02-04T09:57:38.000Z | 2021-02-04T09:57:38.000Z | Lab6/Lab6-1-HelloBlinky.py | vppillai/Vidyuth20 | f325f4958b05d9dfc5c3b305b995202c02ef2b02 | [
"MIT"
] | null | null | null | Lab6/Lab6-1-HelloBlinky.py | vppillai/Vidyuth20 | f325f4958b05d9dfc5c3b305b995202c02ef2b02 | [
"MIT"
] | null | null | null | """Save your file as "code.py" or "main.py" to run on the actual device.
Getting started with CPX and CircuitPython intro on:
https://learn.adafruit.com/circuitpython-made-easy-on-circuit-playground-express/circuit-playground-express-library
Find example code for CPX on:
https://github.com/adafruit/Adafruit_Cir... | 29 | 116 | 0.737274 | 88 | 609 | 5.045455 | 0.602273 | 0.031532 | 0.108108 | 0.04955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007921 | 0.170772 | 609 | 20 | 117 | 30.45 | 0.871287 | 0.658456 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0 | true | 0.125 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0c7e45780491c5d1acf617561acc857d13b2f579 | 288 | py | Python | airdrop/domain/models/airdrop_window_rule.py | prashantramangupta/airdrop-services | dca101faa475793ad93bf4ab69ae9555718469fd | [
"MIT"
] | null | null | null | airdrop/domain/models/airdrop_window_rule.py | prashantramangupta/airdrop-services | dca101faa475793ad93bf4ab69ae9555718469fd | [
"MIT"
] | 5 | 2021-09-27T05:08:41.000Z | 2022-03-02T03:58:04.000Z | airdrop/domain/models/airdrop_window_rule.py | prashantramangupta/airdrop-services | dca101faa475793ad93bf4ab69ae9555718469fd | [
"MIT"
] | 8 | 2021-09-24T10:52:50.000Z | 2022-01-14T12:07:41.000Z | class AirdropWindowRule:
def __init__(self, title, rule):
self._title = title
self._rule = rule
def to_dict(self):
return {
"airdrop_window_eligibility_title": self._title,
"airdrop_window_eligibility_rule": self._rule,
}
| 26.181818 | 61 | 0.611111 | 30 | 288 | 5.366667 | 0.433333 | 0.167702 | 0.298137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302083 | 288 | 10 | 62 | 28.8 | 0.800995 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.444444 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
0cad1421e6600a8d16624916d15cb453a745fe03 | 171 | py | Python | pythonCore/ch02/E16.py | Furzoom/learnpython | a3034584e481d4e7c55912d9da06439688aa67ea | [
"MIT"
] | null | null | null | pythonCore/ch02/E16.py | Furzoom/learnpython | a3034584e481d4e7c55912d9da06439688aa67ea | [
"MIT"
] | null | null | null | pythonCore/ch02/E16.py | Furzoom/learnpython | a3034584e481d4e7c55912d9da06439688aa67ea | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
filename = raw_input('Enter file name: ')
fobj = open(filename, 'r')
for eachline in fobj:
print eachline,
fobj.close()
| 19 | 41 | 0.649123 | 25 | 171 | 4.4 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.169591 | 171 | 8 | 42 | 21.375 | 0.767606 | 0.245614 | 0 | 0 | 0 | 0 | 0.141732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0cb725796e7806236692046df0d53959a32a9e51 | 429 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/problems/problem_08_builtins.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/problems/problem_08_builtins.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/problems/problem_08_builtins.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | # BUILTINS
#
# Write a function named "filter_small_lists" that accepts an iterable
# containing lists and returns a list of the lists that have more than two
# elements in them.
#
# Use the "filter" method to do this.
#
# Test data is at the bottom.
# WRITE YOUR CODE HERE
# TEST DATA
print(filter_small_lists([[1], ... | 22.578947 | 74 | 0.652681 | 74 | 429 | 3.702703 | 0.594595 | 0.036496 | 0.043796 | 0.153285 | 0.051095 | 0.051095 | 0.051095 | 0 | 0 | 0 | 0 | 0.049419 | 0.198135 | 429 | 18 | 75 | 23.833333 | 0.747093 | 0.701632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0cba121a691001e769addcb61232db5e2acc7a01 | 773 | py | Python | fixture/session.py | oostapenko84/My-project | eba54a6f6d58f486b650877417457404962483e0 | [
"Apache-2.0"
] | null | null | null | fixture/session.py | oostapenko84/My-project | eba54a6f6d58f486b650877417457404962483e0 | [
"Apache-2.0"
] | null | null | null | fixture/session.py | oostapenko84/My-project | eba54a6f6d58f486b650877417457404962483e0 | [
"Apache-2.0"
] | null | null | null | __author__ = 'olga.ostapenko'
class SessionHelper:
def __init__(self, app):
self.app = app
def login(self, username, password):
wd = self.app.wd
self.app.open_home_page()
wd.find_element_by_id("public_site_login").click()
wd.find_element_by_id("login_login").click()
... | 33.608696 | 67 | 0.67141 | 110 | 773 | 4.272727 | 0.263636 | 0.114894 | 0.248936 | 0.287234 | 0.546809 | 0.474468 | 0.42766 | 0.146809 | 0.146809 | 0 | 0 | 0 | 0.19793 | 773 | 22 | 68 | 35.136364 | 0.758065 | 0 | 0 | 0.111111 | 0 | 0 | 0.16947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.222222 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0cc72f974e70d18a4e361cded7d56d96893cc4ef | 644 | py | Python | backend/simple_project_manager/settings/production.py | HerlanAssis/simple-project-manager | 800c833ec0cbeba848264753d79c5ecedc54cc39 | [
"MIT"
] | 1 | 2019-06-14T20:34:19.000Z | 2019-06-14T20:34:19.000Z | backend/simple_project_manager/settings/production.py | HerlanAssis/simple-project-manager | 800c833ec0cbeba848264753d79c5ecedc54cc39 | [
"MIT"
] | 3 | 2020-02-11T23:42:20.000Z | 2020-06-25T17:35:48.000Z | backend/simple_project_manager/settings/production.py | HerlanAssis/simple-project-manager | 800c833ec0cbeba848264753d79c5ecedc54cc39 | [
"MIT"
] | null | null | null | from .common import *
# Database
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': os.environ.get("PG_NAME"),
'USER': os.environ.get("PG_USER"),
'HOST': os.environ.get("PG_HOST"),
'PASSWORD': os.environ.ge... | 30.666667 | 63 | 0.698758 | 93 | 644 | 4.645161 | 0.419355 | 0.1875 | 0.25 | 0.162037 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003509 | 0.114907 | 644 | 21 | 64 | 30.666667 | 0.754386 | 0.107143 | 0 | 0 | 0 | 0 | 0.321678 | 0.125874 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.117647 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0cc90d0b671ae2db0e53477b631b545101f85964 | 636 | py | Python | Python/lc_101_symmetric_tree.py | cmattey/leetcode_problems | fe57e668db23f7c480835c0a10f363d718fbaefd | [
"MIT"
] | 6 | 2019-07-01T22:03:25.000Z | 2020-04-06T15:17:46.000Z | Python/lc_101_symmetric_tree.py | cmattey/leetcode_problems | fe57e668db23f7c480835c0a10f363d718fbaefd | [
"MIT"
] | null | null | null | Python/lc_101_symmetric_tree.py | cmattey/leetcode_problems | fe57e668db23f7c480835c0a10f363d718fbaefd | [
"MIT"
] | 1 | 2020-04-01T22:31:41.000Z | 2020-04-01T22:31:41.000Z | # Time: O(size(tree))
# Space: O(size(tree)), for recursion stack
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution:
def isSymmetric(self, root: TreeNode) -> bool:
return self.uti... | 26.5 | 86 | 0.605346 | 89 | 636 | 4.280899 | 0.41573 | 0.062992 | 0.047244 | 0.08399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.284591 | 636 | 23 | 87 | 27.652174 | 0.806593 | 0.331761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.777778 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
0ce92af8516d90c004433b2e94bf1094b5a72459 | 3,329 | py | Python | simple_salesforce/exceptions.py | cmitzel/simple-salesforce | c210452ef64425e95129ed7cca36d146e722fe00 | [
"Apache-2.0"
] | 1 | 2020-11-19T22:12:23.000Z | 2020-11-19T22:12:23.000Z | simple_salesforce/exceptions.py | cmitzel/simple-salesforce | c210452ef64425e95129ed7cca36d146e722fe00 | [
"Apache-2.0"
] | null | null | null | simple_salesforce/exceptions.py | cmitzel/simple-salesforce | c210452ef64425e95129ed7cca36d146e722fe00 | [
"Apache-2.0"
] | null | null | null | """All exceptions for Simple Salesforce"""
class SalesforceError(Exception):
"""Base Salesforce API exception"""
message = "Unknown error occurred for {url}. Response content: {content}"
def __init__(self, url, status, resource_name, content):
"""Initialize the SalesforceError exception
... | 29.460177 | 81 | 0.679784 | 388 | 3,329 | 5.737113 | 0.32732 | 0.056604 | 0.069182 | 0.056155 | 0.259659 | 0.210243 | 0.165768 | 0.165768 | 0.165768 | 0.144654 | 0 | 0.005896 | 0.235807 | 3,329 | 112 | 82 | 29.723214 | 0.869104 | 0.403124 | 0 | 0.121212 | 0 | 0 | 0.22619 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.212121 | false | 0 | 0 | 0.151515 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
0cec56fb5e4b63e1ea82e3333f04e93a275809d7 | 74 | py | Python | env/lib/python3.7/hashlib.py | MarcoMancha/BreastCancerDetector | be0dfdcebd1ae66da6d0cf48e2525c24942ae877 | [
"Apache-2.0"
] | 4 | 2020-02-05T11:26:47.000Z | 2021-05-26T07:48:46.000Z | env/lib/python3.7/hashlib.py | MarcoMancha/BreastCancerDetector | be0dfdcebd1ae66da6d0cf48e2525c24942ae877 | [
"Apache-2.0"
] | 10 | 2019-11-25T16:54:39.000Z | 2022-02-10T08:29:51.000Z | frontend/env/lib/python3.7/hashlib.py | US579/Seddit | 116a676efd0fa31c8cc6fe4c723b739203d9428b | [
"MIT"
] | 7 | 2019-05-30T05:48:39.000Z | 2019-06-27T12:26:54.000Z | /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/hashlib.py | 74 | 74 | 0.837838 | 12 | 74 | 5.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 74 | 1 | 74 | 74 | 0.783784 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0cf4553244e50126edb5dd91af11db948adb2049 | 1,338 | py | Python | mysite/blog/models.py | wuxiaobai24/django-blog | 6247732f1a4666d18057bb1341a3d7f7e5685a07 | [
"MIT"
] | null | null | null | mysite/blog/models.py | wuxiaobai24/django-blog | 6247732f1a4666d18057bb1341a3d7f7e5685a07 | [
"MIT"
] | null | null | null | mysite/blog/models.py | wuxiaobai24/django-blog | 6247732f1a4666d18057bb1341a3d7f7e5685a07 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
from mdeditor.fields import MDTextField
from django.utils import timezone
# Create your models here.
class Category(models.Model):
name = models.CharField(max_length=100)
def __str__(self):
return self.name
def get_count(se... | 25.245283 | 68 | 0.702541 | 170 | 1,338 | 5.388235 | 0.358824 | 0.076419 | 0.078603 | 0.104803 | 0.445415 | 0.364629 | 0.364629 | 0.329694 | 0.329694 | 0.329694 | 0 | 0.012071 | 0.195067 | 1,338 | 52 | 69 | 25.730769 | 0.83844 | 0.088191 | 0 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.129032 | 0.225806 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
0cf7b269422caeffddedb8adbc4be64bbeb1da17 | 159 | py | Python | dbx_unittest2pytest/main.py | dropbox/unittest2pytest | dd4c596d2cd81ef1458a27cc0cf339bb9a57bd39 | [
"Apache-2.0"
] | 25 | 2016-02-12T08:26:45.000Z | 2016-05-17T08:48:16.000Z | dbx_unittest2pytest/main.py | dropbox/dbx-unittest2pytest | dd4c596d2cd81ef1458a27cc0cf339bb9a57bd39 | [
"Apache-2.0"
] | 4 | 2016-05-25T22:10:17.000Z | 2020-09-29T23:49:16.000Z | dbx_unittest2pytest/main.py | dropbox/unittest2pytest | dd4c596d2cd81ef1458a27cc0cf339bb9a57bd39 | [
"Apache-2.0"
] | 3 | 2016-05-06T11:32:46.000Z | 2016-05-25T09:37:16.000Z | import sys
from lib2to3.main import main as lib_main
def main():
sys.exit(lib_main("dbx_unittest2pytest.fixes"))
if __name__ == '__main__':
main()
| 14.454545 | 51 | 0.704403 | 23 | 159 | 4.391304 | 0.608696 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.176101 | 159 | 10 | 52 | 15.9 | 0.748092 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 0.157233 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 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 | 0 | 0 | 0 | 3 |
0b29085405e87486e2839f90818a8a472b62f013 | 1,033 | py | Python | tests/AMBPatcher/files_to_check.py | OSA413/Sonic4_ModLoader | 569c974d85f68d0d9c4dd65aefd5fadc3450c271 | [
"MIT"
] | 9 | 2019-04-17T06:42:58.000Z | 2022-03-14T03:23:40.000Z | tests/AMBPatcher/files_to_check.py | OSA413/Sonic4_ModLoader | 569c974d85f68d0d9c4dd65aefd5fadc3450c271 | [
"MIT"
] | null | null | null | tests/AMBPatcher/files_to_check.py | OSA413/Sonic4_ModLoader | 569c974d85f68d0d9c4dd65aefd5fadc3450c271 | [
"MIT"
] | 1 | 2022-03-04T18:24:33.000Z | 2022-03-04T18:24:33.000Z | def get_files(test_name, MAIN_AMB=""):
tests = {
"swap_endianness_x2": "add",
"add_to_swapped": "swap_endianness",
"extract": ["#ALL", "#EXCEPT:"+MAIN_AMB],
"extract_swapped": "extract",
"add_from_dir": "add",
"edge_extracted": ["#ALL", "#EXCEPT:files.amb_extracted*"... | 35.62069 | 67 | 0.509197 | 115 | 1,033 | 4.269565 | 0.347826 | 0.256619 | 0.317719 | 0.336049 | 0.313646 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010256 | 0.244918 | 1,033 | 29 | 68 | 35.62069 | 0.619231 | 0 | 0 | 0 | 0 | 0 | 0.476789 | 0.027079 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.12 | 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 | 0 | 0 | 0 | 3 |
0b2d044d567c7952ac7a1631afb96715d0e13e62 | 316 | py | Python | jd/api/rest/KplOpenItemFindcanusecouponsRequest.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 5 | 2019-10-30T01:16:30.000Z | 2020-06-14T03:32:19.000Z | jd/api/rest/KplOpenItemFindcanusecouponsRequest.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 2 | 2020-10-12T07:12:48.000Z | 2021-06-02T03:15:47.000Z | jd/api/rest/KplOpenItemFindcanusecouponsRequest.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 3 | 2019-12-06T17:33:49.000Z | 2021-03-01T13:24:22.000Z | from jd.api.base import RestApi
class KplOpenItemFindcanusecouponsRequest(RestApi):
def __init__(self,domain='gw.api.360buy.com',port=80):
RestApi.__init__(self,domain, port)
self.uid = None
self.cid = None
self.sku = None
def getapiname(self):
return 'jd.kpl.open.item.findcanusecoupons'
| 17.555556 | 56 | 0.724684 | 42 | 316 | 5.261905 | 0.642857 | 0.072398 | 0.126697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018797 | 0.158228 | 316 | 17 | 57 | 18.588235 | 0.81203 | 0 | 0 | 0 | 0 | 0 | 0.164516 | 0.109677 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
0b576fafc7ee71ddda3df87639ebca0706e91172 | 105 | py | Python | Database/Project/favorite_list/apps.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | Database/Project/favorite_list/apps.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | Database/Project/favorite_list/apps.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FavoriteListConfig(AppConfig):
name = 'favorite_list'
| 17.5 | 37 | 0.742857 | 11 | 105 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 105 | 5 | 38 | 21 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 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 | 0 | 0 | 0 | 3 |
0b6306debf59cb5cd2d8a13c8a36237191a8f560 | 188 | py | Python | session_12_API_requests/samples/0_zipcodes.py | alalulop/python-intro | aaafdd0cec377ab8b5eb0773d2fb07f582796dc6 | [
"MIT"
] | null | null | null | session_12_API_requests/samples/0_zipcodes.py | alalulop/python-intro | aaafdd0cec377ab8b5eb0773d2fb07f582796dc6 | [
"MIT"
] | null | null | null | session_12_API_requests/samples/0_zipcodes.py | alalulop/python-intro | aaafdd0cec377ab8b5eb0773d2fb07f582796dc6 | [
"MIT"
] | null | null | null | import requests
url = 'https://api.zippopotam.us/us/33162'
response = requests.get(url)
print(response.status_code)
if response:
print('Response OK')
else:
print('Response Failed') | 23.5 | 42 | 0.734043 | 26 | 188 | 5.269231 | 0.653846 | 0.284672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.12234 | 188 | 8 | 43 | 23.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.375 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b64dcac28ad259a063a63cde9ba3defbe55838c | 272 | py | Python | scrapyd/scripts/scrapyd_run.py | Libertus-Lab/scrapyd | 5ff6724bec27d6bd5018f139ec73aac52853a145 | [
"BSD-3-Clause"
] | null | null | null | scrapyd/scripts/scrapyd_run.py | Libertus-Lab/scrapyd | 5ff6724bec27d6bd5018f139ec73aac52853a145 | [
"BSD-3-Clause"
] | null | null | null | scrapyd/scripts/scrapyd_run.py | Libertus-Lab/scrapyd | 5ff6724bec27d6bd5018f139ec73aac52853a145 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from os.path import dirname, join
from sys import argv
from twisted.scripts.twistd import run
import scrapyd
def main():
argv[1:1] = ['-n', '-y', join(dirname(scrapyd.__file__), 'txapp.py')]
run()
if __name__ == '__main__':
main()
| 15.111111 | 73 | 0.654412 | 40 | 272 | 4.15 | 0.675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.183824 | 272 | 17 | 74 | 16 | 0.738739 | 0.073529 | 0 | 0 | 0 | 0 | 0.079681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.444444 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0b6c653ff461096ec02de22292a2b80a65a6a45e | 4,125 | py | Python | application/script/common/win.py | fengshukun/kcweb | 313bce537818f0152a363101c91bf2eed50e9502 | [
"MIT"
] | null | null | null | application/script/common/win.py | fengshukun/kcweb | 313bce537818f0152a363101c91bf2eed50e9502 | [
"MIT"
] | null | null | null | application/script/common/win.py | fengshukun/kcweb | 313bce537818f0152a363101c91bf2eed50e9502 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#当前模块的公共类可以写在这里
from ${appname}.common import *
# import win32con,win32api #安装 pip install -i https://mirrors.aliyun.com/pypi/simple/ pypiwin32 当前模块在windows系统上运行
# class win:
# __code=None
# def GetCursorPos(self):
# "获取鼠标位置"
# return win32api.GetCursorPos()
# def s... | 30.783582 | 115 | 0.476848 | 492 | 4,125 | 3.719512 | 0.302846 | 0.183607 | 0.018033 | 0.056831 | 0.347541 | 0.256831 | 0.231694 | 0.181421 | 0.142077 | 0.120765 | 0 | 0.066128 | 0.369455 | 4,125 | 134 | 116 | 30.783582 | 0.637447 | 0.924364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0b6e3170c53419dbf9f64c83e56548d2ea6d9561 | 11,611 | py | Python | pretrain/tasks/protein/finetune.py | BAAI-WuDao/ProteinLM | 8975fc72bc24b1fe1e793b20b1eb4e650d2aa11c | [
"Apache-2.0"
] | 2 | 2021-08-16T09:40:25.000Z | 2022-01-20T15:23:10.000Z | pretrain/tasks/protein/finetune.py | BAAI-WuDao/ProteinLM | 8975fc72bc24b1fe1e793b20b1eb4e650d2aa11c | [
"Apache-2.0"
] | null | null | null | pretrain/tasks/protein/finetune.py | BAAI-WuDao/ProteinLM | 8975fc72bc24b1fe1e793b20b1eb4e650d2aa11c | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
"""Protein finetuning/evaluation."""
import torch
from megatron import get_args
from megatron import print_rank_0
from megatron import print_rank_last
from megatron import get_tokenizer
from megatron import mpu
from megatron.model.classification import Classification, ClassificationFirstStage, Classific... | 41.320285 | 187 | 0.667384 | 1,186 | 11,611 | 6.215852 | 0.112142 | 0.066468 | 0.05643 | 0.043407 | 0.755833 | 0.742811 | 0.7344 | 0.717173 | 0.659387 | 0.59509 | 0 | 0.004663 | 0.261132 | 11,611 | 280 | 188 | 41.467857 | 0.854645 | 0.083714 | 0 | 0.699507 | 0 | 0 | 0.043849 | 0 | 0 | 0 | 0 | 0.003571 | 0 | 1 | 0.128079 | false | 0 | 0.103448 | 0.024631 | 0.334975 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b8198b77daed1468e905d6ced547e4677e8b589 | 10,611 | py | Python | Victory.py | AlexanderUrban2/Mensch | 1005f275ce93f4ca626a4702ce7ac3da9af6b27b | [
"CC-BY-4.0"
] | null | null | null | Victory.py | AlexanderUrban2/Mensch | 1005f275ce93f4ca626a4702ce7ac3da9af6b27b | [
"CC-BY-4.0"
] | null | null | null | Victory.py | AlexanderUrban2/Mensch | 1005f275ce93f4ca626a4702ce7ac3da9af6b27b | [
"CC-BY-4.0"
] | null | null | null | # Author: Christoph Böhringer, Alexander Urban
# Date: 05/28/2020
# Version: 1.2
import pygame
import Screen
import Engine
import json
import SoundHelper
class Victory:
screen_width: float
screen_height: float
screen_size_multiplier: float
screen_class: Screen
engine: Engine
screen: pygame... | 44.029046 | 253 | 0.670908 | 1,399 | 10,611 | 4.832023 | 0.106505 | 0.224852 | 0.343195 | 0.408284 | 0.68003 | 0.615089 | 0.552219 | 0.552219 | 0.552219 | 0.542899 | 0 | 0.031239 | 0.218641 | 10,611 | 240 | 254 | 44.2125 | 0.783983 | 0.020827 | 0 | 0.20339 | 0 | 0 | 0.010439 | 0.004785 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067797 | false | 0 | 0.042373 | 0 | 0.220339 | 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 | 0 | 0 | 0 | 3 |
0b84307a22d9c91d43340675a43135419dd1b536 | 63 | py | Python | plugins/socket.py | lucasbbr98/spotilearn | 5c1154e2659245d73bf38f0903a23e543a2d2800 | [
"MIT"
] | null | null | null | plugins/socket.py | lucasbbr98/spotilearn | 5c1154e2659245d73bf38f0903a23e543a2d2800 | [
"MIT"
] | null | null | null | plugins/socket.py | lucasbbr98/spotilearn | 5c1154e2659245d73bf38f0903a23e543a2d2800 | [
"MIT"
] | null | null | null | from flask_socketio import SocketIO
socket_manager = SocketIO() | 31.5 | 35 | 0.857143 | 8 | 63 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 63 | 2 | 36 | 31.5 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e7ee3fdcc975cd3b76daf5bd1dab5540e6eef46e | 297 | py | Python | output/models/nist_data/atomic/normalized_string/schema_instance/nistschema_sv_iv_atomic_normalized_string_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/normalized_string/schema_instance/nistschema_sv_iv_atomic_normalized_string_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/normalized_string/schema_instance/nistschema_sv_iv_atomic_normalized_string_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.normalized_string.schema_instance.nistschema_sv_iv_atomic_normalized_string_pattern_1_xsd.nistschema_sv_iv_atomic_normalized_string_pattern_1 import NistschemaSvIvAtomicNormalizedStringPattern1
__all__ = [
"NistschemaSvIvAtomicNormalizedStringPattern1",
]
| 49.5 | 229 | 0.909091 | 31 | 297 | 8 | 0.612903 | 0.193548 | 0.266129 | 0.16129 | 0.354839 | 0.354839 | 0.354839 | 0.354839 | 0 | 0 | 0 | 0.014134 | 0.047138 | 297 | 5 | 230 | 59.4 | 0.862191 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e7f26e0441a0184c5c36b23d7e604512b63d5eef | 298 | py | Python | URI/1-Beginner/1037.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | URI/1-Beginner/1037.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | URI/1-Beginner/1037.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
number = float(raw_input())
if number < 0 or number > 100:
print 'Fora de intervalo'
elif number <= 25:
print 'Intervalo [0,25]'
elif number <= 50:
print 'Intervalo (25,50]'
elif number <= 75:
print 'Intervalo (50,75]'
else:
print 'Intervalo (75,100]'
| 19.866667 | 30 | 0.610738 | 43 | 298 | 4.209302 | 0.465116 | 0.309392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 0.224832 | 298 | 14 | 31 | 21.285714 | 0.666667 | 0.07047 | 0 | 0 | 0 | 0 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e7f5de487e218070a6bd48124edf39ed8b98345d | 213 | py | Python | InstagramBot/Posts.py | JaySShah7/InstagramBot | 1978f1e88105a5f65e248657e1cf9d12e94d3e88 | [
"MIT"
] | 14 | 2018-05-11T00:48:20.000Z | 2022-01-23T16:08:53.000Z | InstagramBot/Posts.py | JaySShah7/InstagramBot | 1978f1e88105a5f65e248657e1cf9d12e94d3e88 | [
"MIT"
] | null | null | null | InstagramBot/Posts.py | JaySShah7/InstagramBot | 1978f1e88105a5f65e248657e1cf9d12e94d3e88 | [
"MIT"
] | 3 | 2019-03-16T20:17:28.000Z | 2021-11-13T12:54:04.000Z | Posts= [{'File': 'images\\0.jpg', 'Title': 'Jose the "bully" #Mourinho #MUFC'},
{'File': 'images\\1.jpg',
'Title': "Former Southampton coach Jason Dodd about Luke Shaw's situation. "
'#Shaw #MUFC'}]
| 42.6 | 79 | 0.605634 | 28 | 213 | 4.607143 | 0.785714 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011429 | 0.178404 | 213 | 4 | 80 | 53.25 | 0.725714 | 0 | 0 | 0 | 0 | 0 | 0.713615 | 0 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e7f8054b9efcc08e0144cab118e36efec8e160cc | 433 | py | Python | data/snippets/cs/delegates.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | null | null | null | data/snippets/cs/delegates.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | null | null | null | data/snippets/cs/delegates.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | null | null | null |
from common import FILE_TEMPLATE
#================================================================================================
DELEGATE_TEMPLATE = """\
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate %(rettype)s dgt_%(name)s(%(arglist)s);"""
DELEGATES_FILE_TEMPLATE = FILE_... | 28.866667 | 98 | 0.385681 | 24 | 433 | 6.708333 | 0.666667 | 0.223602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106236 | 433 | 14 | 99 | 30.928571 | 0.416021 | 0.443418 | 0 | 0 | 0 | 0 | 0.517857 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f02313212e2da2ffa24d91b85c65c7c469bb76b3 | 185 | py | Python | test_openjdk.py | okirch/m8a-tests | e7606d934fc024d58d0443f3b3ee130c80c01135 | [
"Apache-2.0"
] | null | null | null | test_openjdk.py | okirch/m8a-tests | e7606d934fc024d58d0443f3b3ee130c80c01135 | [
"Apache-2.0"
] | null | null | null | test_openjdk.py | okirch/m8a-tests | e7606d934fc024d58d0443f3b3ee130c80c01135 | [
"Apache-2.0"
] | null | null | null | import pytest
import testinfra
def test_jdk_version(container):
assert "openjdk {}".format(
container.version
) in container.connection.check_output("java --version")
| 20.555556 | 60 | 0.724324 | 21 | 185 | 6.238095 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172973 | 185 | 8 | 61 | 23.125 | 0.856209 | 0 | 0 | 0 | 0 | 0 | 0.12973 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f02bfa1800663ce1d8c3d202836c2c2a174e7f3b | 634 | py | Python | me/commands/shell.py | johnbenjaminlewis/me | 974d11ea2dd2a877785351f200e4c8546672c1c4 | [
"MIT"
] | 1 | 2015-11-24T15:10:20.000Z | 2015-11-24T15:10:20.000Z | me/commands/shell.py | johnbenjaminlewis/me | 974d11ea2dd2a877785351f200e4c8546672c1c4 | [
"MIT"
] | null | null | null | me/commands/shell.py | johnbenjaminlewis/me | 974d11ea2dd2a877785351f200e4c8546672c1c4 | [
"MIT"
] | null | null | null | """Drop into a Python REPL with application objects pre-imported
"""
import click
from me.app import create_app
def _create_context():
"""Returns a dictionary with application objects defined and
configured
"""
return {
'app': create_app()
}
@click.command()
@click.pass_context
def ipyt... | 19.212121 | 71 | 0.654574 | 77 | 634 | 5.298701 | 0.545455 | 0.044118 | 0.107843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250789 | 634 | 32 | 72 | 19.8125 | 0.858947 | 0.239748 | 0 | 0 | 0 | 0 | 0.112088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.052632 | 0.421053 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
f02fb81e353cf06ecbec37eef413762b74dbac9c | 20,657 | py | Python | src/utils/classification_models.py | AIRI-Institute/uncertainty_transformers | 982b5ae8b39cb484ce3559a72f95d18f30487e38 | [
"MIT"
] | null | null | null | src/utils/classification_models.py | AIRI-Institute/uncertainty_transformers | 982b5ae8b39cb484ce3559a72f95d18f30487e38 | [
"MIT"
] | null | null | null | src/utils/classification_models.py | AIRI-Institute/uncertainty_transformers | 982b5ae8b39cb484ce3559a72f95d18f30487e38 | [
"MIT"
] | null | null | null | from ue4nlp.transformers_cached import (
ElectraForSequenceClassificationCached,
ElectraForSequenceClassificationAllLayers,
BertForSequenceClassificationCached,
RobertaForSequenceClassificationCached,
DebertaForSequenceClassificationCached,
DistilBertForSequenceClassificationCached
)
from ue4nl... | 47.81713 | 131 | 0.645689 | 2,247 | 20,657 | 5.651535 | 0.082332 | 0.035436 | 0.043311 | 0.05906 | 0.773525 | 0.736751 | 0.701866 | 0.681313 | 0.66643 | 0.649185 | 0 | 0.00121 | 0.28005 | 20,657 | 432 | 132 | 47.81713 | 0.852676 | 0.02193 | 0 | 0.693095 | 0 | 0 | 0.095488 | 0.010945 | 0 | 0 | 0 | 0.002315 | 0 | 1 | 0.025575 | false | 0 | 0.028133 | 0.002558 | 0.071611 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f04c8ac719b77fdad54364b40724b65078930950 | 59 | py | Python | rover/roverview/rviewer/__init__.py | CSUFTitanRover/TitanRover2018 | 4926d377322a37ba644d7e852faa305fb8bb9b55 | [
"Apache-2.0"
] | 16 | 2017-09-01T23:33:17.000Z | 2021-01-04T02:41:19.000Z | rover/roverview/rviewer/__init__.py | CSUFTitanRover/TitanRover2018 | 4926d377322a37ba644d7e852faa305fb8bb9b55 | [
"Apache-2.0"
] | 56 | 2017-08-30T01:14:46.000Z | 2021-02-28T22:18:44.000Z | rover/roverview/rviewer/__init__.py | CSUFTitanRover/TitanRover2018 | 4926d377322a37ba644d7e852faa305fb8bb9b55 | [
"Apache-2.0"
] | 15 | 2017-09-14T19:55:55.000Z | 2020-05-03T19:44:39.000Z | from rviewer.viewer import Viewer
__all__ = ["Viewer"]
| 14.75 | 34 | 0.711864 | 7 | 59 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 3 | 35 | 19.666667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f06fcca22d49754e3f45971fffd5f31d0cc7aa4f | 54 | py | Python | datastore/__init__.py | rietta-inc/django-datastore | 57c8f4112141bbeed74f3892dc230d80fa134277 | [
"X11"
] | 4 | 2019-08-08T15:19:38.000Z | 2020-09-09T13:42:29.000Z | datastore/__init__.py | rietta-inc/django-datastore | 57c8f4112141bbeed74f3892dc230d80fa134277 | [
"X11"
] | 2 | 2020-08-24T13:54:36.000Z | 2020-09-02T16:52:25.000Z | datastore/__init__.py | rietta-inc/django-datastore | 57c8f4112141bbeed74f3892dc230d80fa134277 | [
"X11"
] | 2 | 2019-05-10T13:43:09.000Z | 2021-06-15T04:39:15.000Z | default_app_config = 'datastore.apps.DatastoreConfig'
| 27 | 53 | 0.851852 | 6 | 54 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0.555556 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2b451dcb0b9e4e67372af9208927ef373cee112 | 168 | py | Python | utils/utils.py | RaghavPalLabs/PythonAutomationFramework_1 | 45a8572ccfded5104316a0321cc1f8af5fda1909 | [
"MIT"
] | 8 | 2019-11-15T21:00:15.000Z | 2021-12-21T22:09:42.000Z | utils/utils.py | RaghavPalLabs/PythonAutomationFramework_1 | 45a8572ccfded5104316a0321cc1f8af5fda1909 | [
"MIT"
] | null | null | null | utils/utils.py | RaghavPalLabs/PythonAutomationFramework_1 | 45a8572ccfded5104316a0321cc1f8af5fda1909 | [
"MIT"
] | 21 | 2019-03-11T04:25:23.000Z | 2022-02-03T08:54:33.000Z | #CONSTANTS
import inspect
URL = "https://opensource-demo.orangehrmlive.com/"
USERNAME = "Admin"
PASSWORD = "admin123"
def whoami():
return inspect.stack()[1][3]
| 15.272727 | 50 | 0.702381 | 20 | 168 | 5.9 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.136905 | 168 | 10 | 51 | 16.8 | 0.77931 | 0.053571 | 0 | 0 | 0 | 0 | 0.348101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
b2bef729b358a67aa6a56cb50269d8f26333e5ad | 1,684 | py | Python | tests/test_unit_field_array.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 44 | 2017-03-18T08:08:04.000Z | 2021-11-10T16:11:15.000Z | tests/test_unit_field_array.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 22 | 2017-04-04T21:20:31.000Z | 2022-03-09T19:05:30.000Z | tests/test_unit_field_array.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 5 | 2017-07-07T02:56:56.000Z | 2020-09-30T20:10:49.000Z | import unittest
import gfapy
class TestUnitFieldArray(unittest.TestCase):
def test_initialize(self):
a = gfapy.FieldArray("i", [1,2,3])
# from a FieldArray:
z = gfapy.FieldArray("Z", a)
# no validations by default:
gfapy.FieldArray("i", [1,2,"a"])
gfapy.FieldArray("wrong", [1,2])
def test... | 33.019608 | 67 | 0.644893 | 251 | 1,684 | 4.187251 | 0.187251 | 0.256898 | 0.21313 | 0.226451 | 0.537583 | 0.474786 | 0.401522 | 0.391056 | 0.311132 | 0.16746 | 0 | 0.041579 | 0.157363 | 1,684 | 50 | 68 | 33.68 | 0.699084 | 0.026722 | 0 | 0.153846 | 0 | 0 | 0.04526 | 0.013456 | 0 | 0 | 0 | 0 | 0.25641 | 1 | 0.179487 | false | 0 | 0.051282 | 0 | 0.25641 | 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 | 0 | 0 | 0 | 3 |
b2c9f1bc0cfd81606ec0d89cb21baaa2fbff22d2 | 130 | py | Python | books/tables.py | spapas/django_table_filtering | d82b89a871779b6a000945da14455c9acb8c47bb | [
"Unlicense"
] | 5 | 2017-10-11T19:37:47.000Z | 2021-12-19T07:09:53.000Z | books/tables.py | spapas/django_table_filtering | d82b89a871779b6a000945da14455c9acb8c47bb | [
"Unlicense"
] | 2 | 2016-07-04T18:27:51.000Z | 2016-11-22T21:13:15.000Z | books/tables.py | spapas/django_table_filtering | d82b89a871779b6a000945da14455c9acb8c47bb | [
"Unlicense"
] | 4 | 2016-10-07T12:44:10.000Z | 2018-05-24T01:17:28.000Z | import django_tables2 as tables
from books.models import Book
class BookTable(tables.Table):
class Meta:
model = Book | 21.666667 | 31 | 0.738462 | 18 | 130 | 5.277778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.207692 | 130 | 6 | 32 | 21.666667 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
b2ddadb5ad5ffab30b5c2a34c46a5071220077a4 | 77 | py | Python | misc/empty.py | zachbarrow/talon_community | 8873a51e2687be93cd77294c159ec5fd3e5dbd6d | [
"0BSD"
] | 125 | 2018-09-01T03:03:04.000Z | 2021-07-12T18:43:15.000Z | misc/empty.py | zachbarrow/talon_community | 8873a51e2687be93cd77294c159ec5fd3e5dbd6d | [
"0BSD"
] | 122 | 2018-09-11T22:15:24.000Z | 2021-04-09T22:54:51.000Z | misc/empty.py | zachbarrow/talon_community | 8873a51e2687be93cd77294c159ec5fd3e5dbd6d | [
"0BSD"
] | 148 | 2018-09-01T06:30:53.000Z | 2022-03-13T16:38:09.000Z | from talon.voice import Context, Key
ctx = Context("empty")
ctx.keymap({})
| 12.833333 | 36 | 0.701299 | 11 | 77 | 4.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 5 | 37 | 15.4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b2e9416becfec859dbfcf911ebeef2a68be38332 | 1,893 | py | Python | components/fatfs/fatfsgen_utils/utils.py | hfudev/esp-idf | 53015490e30ade80029277d77786d3e3a224e2a3 | [
"Apache-2.0"
] | 5 | 2021-11-22T06:47:54.000Z | 2022-01-04T06:58:43.000Z | components/fatfs/fatfsgen_utils/utils.py | hfudev/esp-idf | 53015490e30ade80029277d77786d3e3a224e2a3 | [
"Apache-2.0"
] | null | null | null | components/fatfs/fatfsgen_utils/utils.py | hfudev/esp-idf | 53015490e30ade80029277d77786d3e3a224e2a3 | [
"Apache-2.0"
] | 1 | 2021-03-01T11:52:31.000Z | 2021-03-01T11:52:31.000Z | # SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import os
import typing
from construct import Int16ul
def required_clusters_count(cluster_size: int, content: str) -> int:
# compute number of required clusters for file text
return (len(content) + clust... | 31.032787 | 88 | 0.709984 | 278 | 1,893 | 4.629496 | 0.395683 | 0.034188 | 0.037296 | 0.043512 | 0.188034 | 0.138306 | 0.138306 | 0.138306 | 0.096348 | 0.096348 | 0 | 0.039846 | 0.178024 | 1,893 | 60 | 89 | 31.55 | 0.787275 | 0.201796 | 0 | 0 | 0 | 0 | 0.000681 | 0 | 0 | 0 | 0.013615 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.148148 | 0.703704 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
b2ef149dc917dec0a4e914820cac28cc4b6ffe99 | 157 | py | Python | September Long Challenge/travelPass.py | dibyanshushekhardey/Coding-Practice | 885d87212221083f890c334e0fe0b70510ef9c37 | [
"MIT"
] | null | null | null | September Long Challenge/travelPass.py | dibyanshushekhardey/Coding-Practice | 885d87212221083f890c334e0fe0b70510ef9c37 | [
"MIT"
] | null | null | null | September Long Challenge/travelPass.py | dibyanshushekhardey/Coding-Practice | 885d87212221083f890c334e0fe0b70510ef9c37 | [
"MIT"
] | null | null | null | t = int(input())
for _ in range(t):
n, a, b = map(int, input().split())
s = input()
total = s.count('0') * a + s.count('1') * b
print(total) | 26.166667 | 47 | 0.490446 | 27 | 157 | 2.814815 | 0.62963 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.267516 | 157 | 6 | 48 | 26.166667 | 0.643478 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
650697474fbc67ef402e88248237218e993931ff | 2,551 | py | Python | blogs/migrations/0002_auto_20210711_0730.py | zain-Z/humimp | fd7e4e211dce62639e2fce2dd9f9506240a7a3d9 | [
"MIT"
] | null | null | null | blogs/migrations/0002_auto_20210711_0730.py | zain-Z/humimp | fd7e4e211dce62639e2fce2dd9f9506240a7a3d9 | [
"MIT"
] | null | null | null | blogs/migrations/0002_auto_20210711_0730.py | zain-Z/humimp | fd7e4e211dce62639e2fce2dd9f9506240a7a3d9 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.6 on 2021-07-11 05:30
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('blogs', '0001_initial'),
]
operations = [
migrations.RenameModel(
old_name='StoriesDetail',
new_name='StoryDetail',
... | 29.662791 | 51 | 0.560172 | 226 | 2,551 | 5.938053 | 0.216814 | 0.073025 | 0.251863 | 0.290611 | 0.611773 | 0.611773 | 0.611773 | 0.611773 | 0.611773 | 0.149776 | 0 | 0.01962 | 0.340651 | 2,551 | 85 | 52 | 30.011765 | 0.77824 | 0.01764 | 0 | 0.518987 | 1 | 0 | 0.255192 | 0.099042 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012658 | 0 | 0.050633 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6524b086e8f6b587fae46da9795c7bb333f797bf | 230 | py | Python | vol/admin.py | volCommunity/vol-django | 06c625f1cb2ca4b619dfcfa04a9ded445600ad7f | [
"Apache-2.0"
] | 5 | 2017-10-11T03:40:07.000Z | 2018-07-09T12:30:13.000Z | vol/admin.py | volCommunity/vol-django | 06c625f1cb2ca4b619dfcfa04a9ded445600ad7f | [
"Apache-2.0"
] | 105 | 2017-09-28T00:41:00.000Z | 2021-06-01T21:26:03.000Z | vol/admin.py | volCommunity/vol-django | 06c625f1cb2ca4b619dfcfa04a9ded445600ad7f | [
"Apache-2.0"
] | 3 | 2017-10-26T22:53:51.000Z | 2017-11-01T18:43:22.000Z | from django.contrib import admin
# Register your models here.
from .models import Labels, Organisation, Site, Job
admin.site.register(Labels)
admin.site.register(Organisation)
admin.site.register(Site)
admin.site.register(Job)
| 20.909091 | 51 | 0.8 | 32 | 230 | 5.75 | 0.40625 | 0.195652 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 230 | 10 | 52 | 23 | 0.888889 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
65352795f76ed8b4833058ac1c95ab54a535c852 | 418 | py | Python | demo_numpy.py | The1GrayGhost/astr-119-day-4 | faedb620fa734e62f7359d2e42bb98e2beb239f9 | [
"MIT"
] | null | null | null | demo_numpy.py | The1GrayGhost/astr-119-day-4 | faedb620fa734e62f7359d2e42bb98e2beb239f9 | [
"MIT"
] | null | null | null | demo_numpy.py | The1GrayGhost/astr-119-day-4 | faedb620fa734e62f7359d2e42bb98e2beb239f9 | [
"MIT"
] | null | null | null | import numpy as np
x=1.0 #define float
y=2.0 #define another float
#trigonometry
print(np.sin(x))
print(np.cos(x))
print(np.tan(x))
print(np.arcsin(x))
print(np.arccos(x))
print(np.arctan(x))
print(np.arctan2(x,y)) #arctan(x/y)
print(np.rad2deg(x)) #convert radians to degrees
#hyperbolic functions
print(np.sinh(x))
... | 19 | 48 | 0.715311 | 82 | 418 | 3.646341 | 0.414634 | 0.327759 | 0.294314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015666 | 0.083732 | 418 | 22 | 49 | 19 | 0.765013 | 0.241627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.823529 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
653c448a63653257b7b646f5c4d3a8eded394a17 | 6,319 | py | Python | examples/ensemble_run.py | wangcongcong123/covidsearch | f9a4a7ce0a127015e1b8cb5075238b3aaefe894e | [
"MIT"
] | 5 | 2020-03-30T19:21:55.000Z | 2020-07-17T09:22:08.000Z | examples/ensemble_run.py | wangcongcong123/covidsearch | f9a4a7ce0a127015e1b8cb5075238b3aaefe894e | [
"MIT"
] | null | null | null | examples/ensemble_run.py | wangcongcong123/covidsearch | f9a4a7ce0a127015e1b8cb5075238b3aaefe894e | [
"MIT"
] | 1 | 2020-11-02T00:54:42.000Z | 2020-11-02T00:54:42.000Z | from cord import *
# make sure put the paper collections (four .tar.gz files) and medataset csv file under the dataset_folder
dataset_folder = "../dataset/"
# load metadata and full texts of papers
metadata = load_metadata_papers(dataset_folder, "metadata.csv")
full_papers = load_full_papers(dataset_folder)
# initial... | 103.590164 | 1,583 | 0.746795 | 887 | 6,319 | 5.262683 | 0.438557 | 0.026992 | 0.023136 | 0.015424 | 0.083548 | 0.046701 | 0.038132 | 0.038132 | 0.038132 | 0.017138 | 0 | 0.03722 | 0.136889 | 6,319 | 61 | 1,584 | 103.590164 | 0.818665 | 0.729546 | 0 | 0 | 0 | 0 | 0.258795 | 0.096005 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 0.407407 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
653e08613a9903c65568fd84b9c05c2187c5498e | 145 | py | Python | isimip_data/search/tests/test_models.py | ISI-MIP/isimip-data | a0e4772362cc60db91e7689ec397840dcaaacddb | [
"MIT"
] | 3 | 2020-02-10T10:13:17.000Z | 2021-12-21T09:10:50.000Z | isimip_data/search/tests/test_models.py | ISI-MIP/isimip-data | a0e4772362cc60db91e7689ec397840dcaaacddb | [
"MIT"
] | 17 | 2020-02-10T16:09:12.000Z | 2021-07-02T09:03:37.000Z | isimip_data/search/tests/test_models.py | ISI-MIP/isimip-data | a0e4772362cc60db91e7689ec397840dcaaacddb | [
"MIT"
] | null | null | null | from isimip_data.search.models import Facet
def test_layer(db, client):
facet = Facet.objects.first()
assert str(facet) == facet.title
| 20.714286 | 43 | 0.724138 | 21 | 145 | 4.904762 | 0.809524 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165517 | 145 | 6 | 44 | 24.166667 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e8fb92d318d37c98d993e48ce6aa60f411ba562b | 383 | py | Python | Geraldo-0.4.17/geraldo/generators/html.py | Willix0801/django_intouch | 50c1ee7ba2cd03e86f523da222866dcda0f7d680 | [
"MIT"
] | 1 | 2015-08-06T20:58:05.000Z | 2015-08-06T20:58:05.000Z | Geraldo-0.4.17/geraldo/generators/html.py | Willix0801/django_intouch | 50c1ee7ba2cd03e86f523da222866dcda0f7d680 | [
"MIT"
] | null | null | null | Geraldo-0.4.17/geraldo/generators/html.py | Willix0801/django_intouch | 50c1ee7ba2cd03e86f523da222866dcda0f7d680 | [
"MIT"
] | 1 | 2020-01-26T20:48:06.000Z | 2020-01-26T20:48:06.000Z | # TODO
from base import ReportGenerator
class HTMLGenerator(ReportGenerator):
"""This is a generator to output a XHTML that uses CSS and best practices
on standards."""
filename = None
def __init__(self, report, filename):
super(HTMLGenerator, self).__init__(report, *args, **kwargs)
... | 21.277778 | 77 | 0.67624 | 45 | 383 | 5.577778 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237598 | 383 | 17 | 78 | 22.529412 | 0.859589 | 0.234987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
330253e8f7f7b959887b0fb65496af9fc8afb440 | 120 | py | Python | frame_logging/apps.py | ItsfBisounours/frame_logging | 0481fde129d27ea757e3fc9bed1a1c8472d146b3 | [
"MIT"
] | null | null | null | frame_logging/apps.py | ItsfBisounours/frame_logging | 0481fde129d27ea757e3fc9bed1a1c8472d146b3 | [
"MIT"
] | null | null | null | frame_logging/apps.py | ItsfBisounours/frame_logging | 0481fde129d27ea757e3fc9bed1a1c8472d146b3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8
from django.apps import AppConfig
class FrameLoggingConfig(AppConfig):
name = 'frame_logging'
| 17.142857 | 36 | 0.733333 | 14 | 120 | 6.214286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.158333 | 120 | 6 | 37 | 20 | 0.851485 | 0.141667 | 0 | 0 | 0 | 0 | 0.128713 | 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 | 0 | 0 | 0 | 3 |
33104a649fbbd353e73fffbec7b73dfb08437776 | 1,001 | py | Python | news/migrations/0015_auto_20210412_2304.py | renodubois/site | 028caa79cbb6d116aeb57aaf12a693cda6382072 | [
"MIT"
] | null | null | null | news/migrations/0015_auto_20210412_2304.py | renodubois/site | 028caa79cbb6d116aeb57aaf12a693cda6382072 | [
"MIT"
] | null | null | null | news/migrations/0015_auto_20210412_2304.py | renodubois/site | 028caa79cbb6d116aeb57aaf12a693cda6382072 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.8 on 2021-04-13 04:04
from django.db import migrations
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [
('news', '0014_auto_20210412_2254'),
]
operations = [
migrations.Al... | 45.5 | 589 | 0.688312 | 109 | 1,001 | 6.284404 | 0.458716 | 0.208759 | 0.272993 | 0.122628 | 0.381022 | 0.381022 | 0.381022 | 0.381022 | 0.381022 | 0.381022 | 0 | 0.035797 | 0.134865 | 1,001 | 21 | 590 | 47.666667 | 0.755196 | 0.044955 | 0 | 0 | 1 | 0 | 0.118449 | 0.024109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.266667 | 0 | 0.466667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3317ee7dd8b07a133144802bb245ac2978214967 | 277 | py | Python | tests/t51.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | 3 | 2019-08-21T22:01:35.000Z | 2021-07-25T00:21:28.000Z | tests/t51.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | tests/t51.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | print 1 and 2
print 1 and 45
print 1 and 0
print 0 and 2
print 1.0 and 0.0
print 0.0 and 2.0
print 2 or 3
print 2 or 0
print 2.0 or 3.0
print 2.0 or 0.0
print not 0
print not False
print not True
class A:
x = 2
a = A()
print (None or a).x
b = []
c = [1,2,3]
print (b or c)
| 12.043478 | 19 | 0.635379 | 77 | 277 | 2.285714 | 0.220779 | 0.238636 | 0.153409 | 0.113636 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 0.270758 | 277 | 22 | 20 | 12.590909 | 0.70297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3336a4daf950511a728153a0d2a4d14d25259bd1 | 1,215 | py | Python | src/reinf_learning/cowboy_task.py | lopiola/cowboys_ai | 275e64d83299b82e36d388e0da9174211cf4cfd9 | [
"MIT"
] | null | null | null | src/reinf_learning/cowboy_task.py | lopiola/cowboys_ai | 275e64d83299b82e36d388e0da9174211cf4cfd9 | [
"MIT"
] | null | null | null | src/reinf_learning/cowboy_task.py | lopiola/cowboys_ai | 275e64d83299b82e36d388e0da9174211cf4cfd9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
from pybrain.rl.environments.task import Task
class CowboyTask(Task):
""" A task is associating a purpose with an environment. It decides how to evaluate the observations, potentially returning reinforcement rewards or fitness values.
Furthermore it is a filter for what s... | 34.714286 | 168 | 0.676543 | 154 | 1,215 | 5.305195 | 0.538961 | 0.051408 | 0.063647 | 0.063647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001088 | 0.243621 | 1,215 | 34 | 169 | 35.735294 | 0.887922 | 0.512757 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.0625 | 0.125 | 0.75 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
333c61b0b085ecb11b379ffc88f93521046a9810 | 6,395 | py | Python | stubs/m5stack_flowui-1_4_0-beta/machine.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 38 | 2020-10-18T21:59:44.000Z | 2022-03-17T03:03:28.000Z | stubs/m5stack_flowui-1_4_0-beta/machine.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 176 | 2020-10-18T14:31:03.000Z | 2022-03-30T23:22:39.000Z | stubs/m5stack_flowui-1_4_0-beta/machine.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 6 | 2019-10-08T05:31:21.000Z | 2021-04-22T10:21:01.000Z | """
Module: 'machine' on M5 FlowUI v1.4.0-beta
"""
# MCU: (sysname='esp32', nodename='esp32', release='1.11.0', version='v1.11-284-g5d8e1c867 on 2019-08-30', machine='ESP32 module with ESP32')
# Stubber: 1.3.1
class ADC:
''
ATTN_0DB = 0
ATTN_11DB = 3
ATTN_2_5DB = 1
ATTN_6DB = 2
HALL = 8
WID... | 11.953271 | 141 | 0.491321 | 768 | 6,395 | 3.936198 | 0.329427 | 0.263976 | 0.038703 | 0.047635 | 0.160437 | 0.058882 | 0.058882 | 0.041019 | 0.020509 | 0 | 0 | 0.066182 | 0.418765 | 6,395 | 534 | 142 | 11.975655 | 0.747108 | 0.030962 | 0 | 0.47013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.34026 | false | 0.34026 | 0 | 0 | 0.584416 | 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 | 0 | 0 | 0 | 3 |
334347ad8a6bc520cde40e829c0cbb315c6a2945 | 11,421 | py | Python | Jumpscale/data/types/PrimitiveTypes.py | Dinaamagdy/jumpscale_core | dec5d42e368ab2b5b2e40837b71d27a59cb501ab | [
"Apache-2.0"
] | null | null | null | Jumpscale/data/types/PrimitiveTypes.py | Dinaamagdy/jumpscale_core | dec5d42e368ab2b5b2e40837b71d27a59cb501ab | [
"Apache-2.0"
] | null | null | null | Jumpscale/data/types/PrimitiveTypes.py | Dinaamagdy/jumpscale_core | dec5d42e368ab2b5b2e40837b71d27a59cb501ab | [
"Apache-2.0"
] | null | null | null | # from jumpscale import j
from Jumpscale import j
'''Definition of several primitive type properties (integer, string,...)'''
class String():
'''
Generic string type
stored in capnp as string
'''
NAME = 'string'
BASETYPE = 'string'
def fromString(self, s):
"""
return str... | 23.260692 | 103 | 0.522721 | 1,357 | 11,421 | 4.3493 | 0.122329 | 0.054897 | 0.032531 | 0.025923 | 0.599966 | 0.561843 | 0.534565 | 0.514571 | 0.478651 | 0.461538 | 0 | 0.007751 | 0.356098 | 11,421 | 490 | 104 | 23.308163 | 0.794806 | 0.174065 | 0 | 0.605948 | 0 | 0 | 0.066232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27881 | false | 0 | 0.003717 | 0.118959 | 0.669145 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
334c0740d2c8904961a6b21f1039f2b50ed20b7d | 1,790 | py | Python | qf_lib/backtesting/portfolio/backtest_equity_position.py | quarkfin/QF-Lib | 1504c65c9ed8bbbd19948088fe7b924a7b6be709 | [
"Apache-2.0"
] | null | null | null | qf_lib/backtesting/portfolio/backtest_equity_position.py | quarkfin/QF-Lib | 1504c65c9ed8bbbd19948088fe7b924a7b6be709 | [
"Apache-2.0"
] | null | null | null | qf_lib/backtesting/portfolio/backtest_equity_position.py | quarkfin/QF-Lib | 1504c65c9ed8bbbd19948088fe7b924a7b6be709 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016-present CERN – European Organization for Nuclear Research
#
# 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... | 44.75 | 114 | 0.715642 | 234 | 1,790 | 5.367521 | 0.542735 | 0.047771 | 0.020701 | 0.025478 | 0.119427 | 0.073248 | 0.073248 | 0.073248 | 0.073248 | 0 | 0 | 0.007885 | 0.22067 | 1,790 | 39 | 115 | 45.897436 | 0.891756 | 0.459777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.166667 | 0.111111 | 0.722222 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
336e07d0e63988bc60df20815103882a0cb91b59 | 1,212 | py | Python | anvil/tables/anvilTables.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | 6 | 2021-11-14T22:49:40.000Z | 2022-03-26T17:40:40.000Z | anvil/tables/anvilTables.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | null | null | null | anvil/tables/anvilTables.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | 1 | 2022-01-31T01:18:32.000Z | 2022-01-31T01:18:32.000Z | from dataclasses import dataclass
@dataclass
class Transaction:
def __enter__(self):
"""Begin the transaction """
pass
def __exit__(self):
"""End the transaction """
pass
def abort(self):
"""Abort this transaction. When it ends, all write operations performed du... | 31.894737 | 115 | 0.709571 | 170 | 1,212 | 4.970588 | 0.558824 | 0.033136 | 0.042604 | 0.049704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226073 | 1,212 | 37 | 116 | 32.756757 | 0.900853 | 0.660891 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.0625 | 0 | 0.5625 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3372539da7df4f663656629db59251b40fd33df9 | 16,164 | py | Python | db_tools/data/category_data.py | Starrynighty0917/FoodMarket | 7978cc7671d52f1ba421d8db8c463870a4866328 | [
"MIT"
] | null | null | null | db_tools/data/category_data.py | Starrynighty0917/FoodMarket | 7978cc7671d52f1ba421d8db8c463870a4866328 | [
"MIT"
] | 7 | 2020-06-05T19:42:28.000Z | 2022-01-13T01:00:57.000Z | db_tools/data/category_data.py | Starrynighty0917/FoodMarket | 7978cc7671d52f1ba421d8db8c463870a4866328 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
row_data = [
{
'sub_categorys': [
{
'sub_categorys': [
{
'code': 'yr',
'name': '羊肉'
},
{
'code... | 26.070968 | 43 | 0.151262 | 617 | 16,164 | 3.871961 | 0.291734 | 0.271243 | 0.308079 | 0.080368 | 0.113018 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000225 | 0.724635 | 16,164 | 620 | 44 | 26.070968 | 0.536509 | 0.002227 | 0 | 0.19322 | 0 | 0 | 0.156629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6824e44e5cd7e914737c821c90ae769cbe55b206 | 1,113 | py | Python | insertionsort_test.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null | insertionsort_test.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null | insertionsort_test.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null | import unittest
from insertionsort import sort
class InsertionSortTest(unittest.TestCase):
def test_sort1(self):
testcase = [3]
expected = [3]
self.assertEqual(sort(testcase), expected)
def test_sort2(self):
testcase = [3,2]
expected = [2,3]
self.assertEqu... | 24.195652 | 50 | 0.575921 | 138 | 1,113 | 4.536232 | 0.224638 | 0.078275 | 0.21246 | 0.301917 | 0.525559 | 0.421725 | 0.421725 | 0.421725 | 0.284345 | 0.14377 | 0 | 0.067089 | 0.290207 | 1,113 | 46 | 51 | 24.195652 | 0.725316 | 0 | 0 | 0.212121 | 0 | 0 | 0.007181 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 1 | 0.212121 | false | 0 | 0.060606 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
682edd0d9c5da5df36451dcbf0788bd107074646 | 377 | py | Python | testing/matchers.py | closure-reference/python-dd-testing | 94c8bad35302b7d14d392e7fe506735144d624f3 | [
"WTFPL"
] | null | null | null | testing/matchers.py | closure-reference/python-dd-testing | 94c8bad35302b7d14d392e7fe506735144d624f3 | [
"WTFPL"
] | null | null | null | testing/matchers.py | closure-reference/python-dd-testing | 94c8bad35302b7d14d392e7fe506735144d624f3 | [
"WTFPL"
] | null | null | null | from .add_matcher import _
@_
def default(s, *, it, i, e):
return {
"title": it,
"expected": e,
"actual": s(*i)
}
@_
def plain(s, *, it, i, e):
return {
"title": it,
"expected": e,
"actual": i
}
@_
def compare(s, *, it, e):
return {
"titl... | 13 | 28 | 0.411141 | 43 | 377 | 3.488372 | 0.372093 | 0.06 | 0.24 | 0.28 | 0.646667 | 0.646667 | 0.646667 | 0.646667 | 0.44 | 0.44 | 0 | 0 | 0.405836 | 377 | 28 | 29 | 13.464286 | 0.669643 | 0 | 0 | 0.545455 | 0 | 0 | 0.151194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0.136364 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
689f39cf0ba1d37e3d8170281e6df5001bd5231f | 148 | py | Python | chapters/chapter_3/other/math_chart.py | Penguin-Run/PyTorchBook | a310246ffed33d53a70cd7f2fd971f1626dcbebf | [
"Apache-2.0"
] | null | null | null | chapters/chapter_3/other/math_chart.py | Penguin-Run/PyTorchBook | a310246ffed33d53a70cd7f2fd971f1626dcbebf | [
"Apache-2.0"
] | null | null | null | chapters/chapter_3/other/math_chart.py | Penguin-Run/PyTorchBook | a310246ffed33d53a70cd7f2fd971f1626dcbebf | [
"Apache-2.0"
] | null | null | null | import torch
import matplotlib.pyplot as plt
x = torch.arange(-5., 5., 0.1)
y = torch.sigmoid(x)
plt.plot(x.numpy(), y.detach().numpy())
plt.show() | 21.142857 | 39 | 0.675676 | 27 | 148 | 3.703704 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.114865 | 148 | 7 | 40 | 21.142857 | 0.732824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
68aa8428b071c1078c6e40574d833d4e4b398d7a | 426 | py | Python | run/var/descriptor.py | run-hub/run | 67072c4e837982aca4962f006c7eb180337e8ebc | [
"Unlicense"
] | 1 | 2016-01-14T19:37:31.000Z | 2016-01-14T19:37:31.000Z | run/var/descriptor.py | roll/run | 67072c4e837982aca4962f006c7eb180337e8ebc | [
"Unlicense"
] | null | null | null | run/var/descriptor.py | roll/run | 67072c4e837982aca4962f006c7eb180337e8ebc | [
"Unlicense"
] | null | null | null | import inspect
from .var import Var
class DescriptorVar(Var):
# Public
def __init__(self, descriptor):
self.__descriptor = descriptor
@property
def Docstring(self):
default = str(inspect.getdoc(self.__descriptor)).strip()
return self.Inspect('Docstring', default=default)
... | 21.3 | 64 | 0.659624 | 46 | 426 | 5.804348 | 0.478261 | 0.209738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237089 | 426 | 19 | 65 | 22.421053 | 0.821538 | 0.014085 | 0 | 0 | 0 | 0 | 0.021531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.083333 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 3 |
68b34759153cafa939a15e71dcacf340c091c473 | 5,469 | py | Python | atnresilience/networka/data_analysis.py | TimKrash/airport-viz | 9a56ae2fd6c7dcc508ca722120e8d5860860d816 | [
"Unlicense"
] | null | null | null | atnresilience/networka/data_analysis.py | TimKrash/airport-viz | 9a56ae2fd6c7dcc508ca722120e8d5860860d816 | [
"Unlicense"
] | null | null | null | atnresilience/networka/data_analysis.py | TimKrash/airport-viz | 9a56ae2fd6c7dcc508ca722120e8d5860860d816 | [
"Unlicense"
] | null | null | null | import os
import pandas as pd
import numpy as np
def filter_fields(file_name):
""" Filters raw data from existing BTS csv files and creates a processed
file with only required fields
Args :
file_name: Takes a string of the file name as an argument
Returns:
'... | 65.891566 | 118 | 0.663741 | 784 | 5,469 | 4.306122 | 0.206633 | 0.211493 | 0.248815 | 0.240521 | 0.362855 | 0.295024 | 0.254739 | 0.234597 | 0.184242 | 0.174171 | 0 | 0.052829 | 0.221247 | 5,469 | 82 | 119 | 66.695122 | 0.739845 | 0.304078 | 0 | 0 | 0 | 0 | 0.228291 | 0.039869 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.0625 | 0 | 0.104167 | 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 | 0 | 0 | 0 | 3 |
d79f4f8b4f829fa5480f50b6f98a3bcdfd6e2ae4 | 59 | py | Python | consplice/__init__.py | mikecormier/ConSplice | 93bc839fbc08179bc48d14f542131c3f71422dcc | [
"MIT"
] | 6 | 2022-02-09T12:11:27.000Z | 2022-03-10T03:46:43.000Z | consplice/__init__.py | mikecormier/ConSplice | 93bc839fbc08179bc48d14f542131c3f71422dcc | [
"MIT"
] | 1 | 2022-03-18T16:43:33.000Z | 2022-03-18T17:24:32.000Z | consplice/__init__.py | mikecormier/ConSplice | 93bc839fbc08179bc48d14f542131c3f71422dcc | [
"MIT"
] | 1 | 2022-03-15T23:04:52.000Z | 2022-03-15T23:04:52.000Z | import os
__version__ = "0.0.6"
__cur_path__ = __file__
| 8.428571 | 23 | 0.711864 | 9 | 59 | 3.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.186441 | 59 | 6 | 24 | 9.833333 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d7c270019b9183135817b6215419a535b9bb7926 | 166 | py | Python | aiocloudflare/api/zones/settings/always_use_https/always_use_https.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 2 | 2021-09-14T13:20:55.000Z | 2022-02-24T14:18:24.000Z | aiocloudflare/api/zones/settings/always_use_https/always_use_https.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 46 | 2021-09-08T08:39:45.000Z | 2022-03-29T12:31:05.000Z | aiocloudflare/api/zones/settings/always_use_https/always_use_https.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 1 | 2021-12-30T23:02:23.000Z | 2021-12-30T23:02:23.000Z | from aiocloudflare.commons.auth import Auth
class AlwaysUseHttps(Auth):
_endpoint1 = "zones"
_endpoint2 = "settings/always_use_https"
_endpoint3 = None
| 20.75 | 44 | 0.746988 | 18 | 166 | 6.611111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0.174699 | 166 | 7 | 45 | 23.714286 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 0.150602 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
cc0bb00bc7d4b22c1f558133d30cae730bd3a480 | 91 | py | Python | utils/checks.py | LastAeon77/LibraryOfRuinaBot | 87bbec4a796b6973a975e6eee3c2042754d8ae67 | [
"MIT"
] | 1 | 2020-08-26T12:16:22.000Z | 2020-08-26T12:16:22.000Z | utils/checks.py | LastAeon77/LibraryOfRuinaBot | 87bbec4a796b6973a975e6eee3c2042754d8ae67 | [
"MIT"
] | null | null | null | utils/checks.py | LastAeon77/LibraryOfRuinaBot | 87bbec4a796b6973a975e6eee3c2042754d8ae67 | [
"MIT"
] | null | null | null | async def owner_check(ctx):
return ctx.author.id == ctx.bot.config["discord"]["owner"]
| 30.333333 | 62 | 0.692308 | 14 | 91 | 4.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 2 | 63 | 45.5 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0bf8616d74be3fc481dedb89bbc3073ed16bb9a6 | 223 | py | Python | p99/python3/p04.py | jlou2u/katas | bbdeef5f2bf3c26d9764c173793724df3f01341f | [
"MIT"
] | null | null | null | p99/python3/p04.py | jlou2u/katas | bbdeef5f2bf3c26d9764c173793724df3f01341f | [
"MIT"
] | null | null | null | p99/python3/p04.py | jlou2u/katas | bbdeef5f2bf3c26d9764c173793724df3f01341f | [
"MIT"
] | null | null | null |
# find the number of elements of a list
def length(l):
return len(l)
from hypothesis import given
import hypothesis.strategies as st
@given(st.lists(st.integers()))
def test_hyp(l):
assert len(l) == length(l)
| 14.866667 | 39 | 0.699552 | 37 | 223 | 4.189189 | 0.648649 | 0.090323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188341 | 223 | 14 | 40 | 15.928571 | 0.856354 | 0.165919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.714286 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
0414571e48bd91df5855e54a9a12f9f2f38c8e34 | 542 | py | Python | python/helpers/python-skeletons/django/forms/formsets.py | myvyang/intellij-community | 8b5734173a6c2ae0e3c8627e884d8476692a6576 | [
"Apache-2.0"
] | null | null | null | python/helpers/python-skeletons/django/forms/formsets.py | myvyang/intellij-community | 8b5734173a6c2ae0e3c8627e884d8476692a6576 | [
"Apache-2.0"
] | null | null | null | python/helpers/python-skeletons/django/forms/formsets.py | myvyang/intellij-community | 8b5734173a6c2ae0e3c8627e884d8476692a6576 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | from django.forms import BaseForm
class BaseFormSet(object):
"""
A collection of instances of the same Form class.
"""
def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None,
initial=None, error_class=ErrorList, form_kwargs=None):
"""
:rtype: BaseFormSe... | 20.846154 | 75 | 0.538745 | 57 | 542 | 4.842105 | 0.649123 | 0.036232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333948 | 542 | 25 | 76 | 21.68 | 0.764543 | 0.232472 | 0 | 0.25 | 0 | 0 | 0.015198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.25 | 0.125 | 0 | 0.625 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
041df821c10931017a9b410147a1e8d02812d332 | 69 | py | Python | Python3/scripts-python3/fases/fase009.py | Joey-Resende/Estudando-Python | d38212dd6753b35d4f8d2aae79ec41f92cf16d58 | [
"MIT"
] | null | null | null | Python3/scripts-python3/fases/fase009.py | Joey-Resende/Estudando-Python | d38212dd6753b35d4f8d2aae79ec41f92cf16d58 | [
"MIT"
] | null | null | null | Python3/scripts-python3/fases/fase009.py | Joey-Resende/Estudando-Python | d38212dd6753b35d4f8d2aae79ec41f92cf16d58 | [
"MIT"
] | null | null | null | frase = 'Curso em Vídeo Python'
print(len(frase))
print(frase[9::3])
| 17.25 | 31 | 0.695652 | 12 | 69 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.115942 | 69 | 3 | 32 | 23 | 0.754098 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
043d9268166f3eac5202d274411144ec02c94367 | 53,028 | py | Python | gfdx/analysis/spanish_gfdx_redcap_algorithm.py | nanthony007/gfdx | 2ca37496f681d91572e6a8237f9b0f1a0056fd8f | [
"MIT"
] | null | null | null | gfdx/analysis/spanish_gfdx_redcap_algorithm.py | nanthony007/gfdx | 2ca37496f681d91572e6a8237f9b0f1a0056fd8f | [
"MIT"
] | null | null | null | gfdx/analysis/spanish_gfdx_redcap_algorithm.py | nanthony007/gfdx | 2ca37496f681d91572e6a8237f9b0f1a0056fd8f | [
"MIT"
] | 1 | 2020-11-28T19:49:17.000Z | 2020-11-28T19:49:17.000Z | # -*- coding: utf-8 -*-
"""1-Spanish-gfdx-redcap-algorithm.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/13h63HQG5Xfw_LzloYQH7MUMrq7clvTi-
## GFDx Notebook: Food Fortification Opportunity Algorithm SPANISH
---
"""
# Install package to allow... | 48.076156 | 495 | 0.699046 | 7,128 | 53,028 | 5.019641 | 0.088524 | 0.02152 | 0.031023 | 0.029681 | 0.773337 | 0.723672 | 0.692929 | 0.674595 | 0.655031 | 0.622555 | 0 | 0.007704 | 0.219148 | 53,028 | 1,102 | 496 | 48.119782 | 0.856401 | 0.05812 | 0 | 0.570175 | 1 | 0.069079 | 0.481816 | 0.052749 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032895 | false | 0 | 0.038377 | 0 | 0.245614 | 0.001096 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04439d4c4a92dc867f429b1df0dbc0753092eba6 | 188 | py | Python | scripts/study_case/ID_2/config.py | kzbnb/numerical_bugs | bc22e72bcc06df6ce7889a25e0aeed027bde910b | [
"Apache-2.0"
] | 8 | 2021-06-30T06:55:14.000Z | 2022-03-18T01:57:14.000Z | scripts/study_case/ID_2/config.py | kzbnb/numerical_bugs | bc22e72bcc06df6ce7889a25e0aeed027bde910b | [
"Apache-2.0"
] | 1 | 2021-06-30T03:08:15.000Z | 2021-06-30T03:08:15.000Z | scripts/study_case/ID_2/config.py | kzbnb/numerical_bugs | bc22e72bcc06df6ce7889a25e0aeed027bde910b | [
"Apache-2.0"
] | 2 | 2021-11-17T11:19:48.000Z | 2021-11-18T03:05:58.000Z | models_dir = 'stored_models/' # dir to save/restore stored_models
data_dir = 'data/' # directory to store algorithm data
summary_dir = 'logs/' # directory to store tensorflow summaries
| 47 | 66 | 0.760638 | 26 | 188 | 5.307692 | 0.538462 | 0.130435 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154255 | 188 | 3 | 67 | 62.666667 | 0.867925 | 0.569149 | 0 | 0 | 0 | 0 | 0.311688 | 0 | 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 | 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 | 3 |
0456327a26c1b7e8df897c78b536bfab71146c4c | 559 | py | Python | tf_idf.py | Avikalp7/OSN-Sub-Event-Detection | 52fc4c6c0ebc817dd256c64227a7a9b48612709a | [
"MIT"
] | null | null | null | tf_idf.py | Avikalp7/OSN-Sub-Event-Detection | 52fc4c6c0ebc817dd256c64227a7a9b48612709a | [
"MIT"
] | null | null | null | tf_idf.py | Avikalp7/OSN-Sub-Event-Detection | 52fc4c6c0ebc817dd256c64227a7a9b48612709a | [
"MIT"
] | null | null | null | import math
def freq(word, doc):
return doc.count(word)
def word_count(doc):
return len(doc)
def getTF(word, doc):
return (freq(word, doc) / float(word_count(doc)))
def num_docs_containing(word, list_of_docs):
count = 0
for document in list_of_docs:
if freq(word, document) > 0:
count += 1
return... | 19.964286 | 84 | 0.726297 | 95 | 559 | 4.010526 | 0.273684 | 0.07874 | 0.131234 | 0.110236 | 0.16273 | 0.16273 | 0.16273 | 0 | 0 | 0 | 0 | 0.008493 | 0.157424 | 559 | 28 | 85 | 19.964286 | 0.800425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.058824 | 0.294118 | 0.764706 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
0457fc97d52e812f9761054a792a47c676ec2062 | 665 | py | Python | cpc/asm/ImmediateValue.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | 1 | 2021-05-09T07:10:19.000Z | 2021-05-09T07:10:19.000Z | cpc/asm/ImmediateValue.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | cpc/asm/ImmediateValue.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | from .Operand import Operand
from .IntegerLiteral import IntegerLiteral
class ImmediateValue(Operand):
def __init__(self,n):
if isinstance(n,int):
self._expr = IntegerLiteral(n)
else :
self._expr = n
def equals(self,other):
if not isinstance(other,ImmediateValue... | 25.576923 | 59 | 0.609023 | 75 | 665 | 5.226667 | 0.373333 | 0.122449 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 665 | 26 | 59 | 25.576923 | 0.825263 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.05 | 0.1 | 0.15 | 0.7 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
f097171781cc151826b60bb150407ef872cb55f5 | 3,958 | py | Python | mc/plugins/PluginProxy.py | zy-sunshine/falkon-pyqt5 | bc2b60aa21c9b136439bd57a11f391d68c736f99 | [
"MIT"
] | 1 | 2021-04-29T05:36:44.000Z | 2021-04-29T05:36:44.000Z | mc/plugins/PluginProxy.py | zy-sunshine/falkon-pyqt5 | bc2b60aa21c9b136439bd57a11f391d68c736f99 | [
"MIT"
] | 1 | 2020-03-28T17:43:18.000Z | 2020-03-28T17:43:18.000Z | mc/plugins/PluginProxy.py | zy-sunshine/falkon-pyqt5 | bc2b60aa21c9b136439bd57a11f391d68c736f99 | [
"MIT"
] | 1 | 2021-01-15T20:09:24.000Z | 2021-01-15T20:09:24.000Z | from .Plugins import Plugins
from mc.webengine.WebPage import WebPage
from mc.app.BrowserWindow import BrowserWindow
from PyQt5.Qt import pyqtSignal
class PluginProxy(Plugins):
# enum EnventHandlerType
MouseDoubleClickHandler = 0
MousePressHandler = 1
MouseReleaseHandler = 2
MouseMoveHandler = 3
... | 25.050633 | 69 | 0.576806 | 327 | 3,958 | 6.874618 | 0.293578 | 0.043594 | 0.039146 | 0.060498 | 0.336744 | 0.336744 | 0.302936 | 0.275356 | 0.275356 | 0.275356 | 0 | 0.003011 | 0.328701 | 3,958 | 157 | 70 | 25.210191 | 0.843056 | 0.318848 | 0 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.298246 | false | 0.280702 | 0.070175 | 0 | 0.578947 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f0a75450719d211f7bffe0cc10eb0db079465d9b | 20,435 | py | Python | sdk/python/core/tests/test_sanity_service_errors.py | cspeidel/ydk-gen | 9b629849b63c01cd1be287528c2f0089844765fb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/core/tests/test_sanity_service_errors.py | cspeidel/ydk-gen | 9b629849b63c01cd1be287528c2f0089844765fb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/core/tests/test_sanity_service_errors.py | cspeidel/ydk-gen | 9b629849b63c01cd1be287528c2f0089844765fb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # ----------------------------------------------------------------
# Copyright 2016 Cisco Systems
#
# 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/LICENS... | 39.679612 | 274 | 0.657108 | 2,461 | 20,435 | 5.251524 | 0.105648 | 0.034045 | 0.033426 | 0.02476 | 0.778784 | 0.72965 | 0.713788 | 0.682993 | 0.664036 | 0.64887 | 0 | 0.014102 | 0.233129 | 20,435 | 514 | 275 | 39.756809 | 0.810606 | 0.039393 | 0 | 0.553699 | 0 | 0.016706 | 0.228263 | 0.068183 | 0 | 0 | 0 | 0 | 0.105012 | 1 | 0.114558 | false | 0.00716 | 0.033413 | 0 | 0.171838 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f0e725db7a84ece8656fbef11e90854a1e44e71d | 225 | py | Python | mskit/stats/__init__.py | gureann/MSKit | 8b360d38288100476740ad808e11b6c1b454dc2c | [
"MIT"
] | null | null | null | mskit/stats/__init__.py | gureann/MSKit | 8b360d38288100476740ad808e11b6c1b454dc2c | [
"MIT"
] | null | null | null | mskit/stats/__init__.py | gureann/MSKit | 8b360d38288100476740ad808e11b6c1b454dc2c | [
"MIT"
] | null | null | null | from .rt_corr import delta_tx, r_square
from .spec_similarity import (
inten_pair_from_dict, inten_pair_from_array,
get_frag_list, calc_sa, calc_pcc, calc_pcc_with_dictdata, calc_sa_with_dictdata, frag_sa, frag_pcc
)
| 37.5 | 102 | 0.822222 | 39 | 225 | 4.179487 | 0.564103 | 0.110429 | 0.159509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 225 | 5 | 103 | 45 | 0.823232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 3 |
f0fc2039c636d7926e6c58f063f1ccf5bcbe4166 | 211 | py | Python | PythonDownload/pythonexercicios/ex007.py | GitGuii/PythonExs | afab77b311d23f7ed88d94e9ce927653cf648b29 | [
"MIT"
] | 1 | 2021-08-10T15:00:34.000Z | 2021-08-10T15:00:34.000Z | PythonDownload/pythonexercicios/ex007.py | GitGuii/PythonExs | afab77b311d23f7ed88d94e9ce927653cf648b29 | [
"MIT"
] | null | null | null | PythonDownload/pythonexercicios/ex007.py | GitGuii/PythonExs | afab77b311d23f7ed88d94e9ce927653cf648b29 | [
"MIT"
] | null | null | null | n1= float(input('Digite a primeira nota nota do aluno'))
n2= float(input('Digite a segunda nota nota do aluno'))
soma = n1+n2
media= soma/2
print('A média entre {} e {} do aluno foi: {:.1f}'.format(n1,n2,media)) | 42.2 | 71 | 0.687204 | 39 | 211 | 3.717949 | 0.538462 | 0.144828 | 0.22069 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044199 | 0.14218 | 211 | 5 | 71 | 42.2 | 0.756906 | 0 | 0 | 0 | 0 | 0 | 0.533019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b1ba4c26408e33c65033271eaffeb6671552fea | 148 | py | Python | showcase/apps.py | KieranSweeden/fol.io | a6f231e3f9fb96841387b04d72131470c5fc3239 | [
"OLDAP-2.5",
"OLDAP-2.4",
"OLDAP-2.3"
] | null | null | null | showcase/apps.py | KieranSweeden/fol.io | a6f231e3f9fb96841387b04d72131470c5fc3239 | [
"OLDAP-2.5",
"OLDAP-2.4",
"OLDAP-2.3"
] | null | null | null | showcase/apps.py | KieranSweeden/fol.io | a6f231e3f9fb96841387b04d72131470c5fc3239 | [
"OLDAP-2.5",
"OLDAP-2.4",
"OLDAP-2.3"
] | null | null | null | from django.apps import AppConfig
class ShowcaseConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'showcase'
| 21.142857 | 56 | 0.763514 | 17 | 148 | 6.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 6 | 57 | 24.666667 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.195946 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
9bc481413fb41dc095a79972c617ecce99abad64 | 59 | py | Python | notebooks/_solutions/case1_bike_count1.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/_solutions/case1_bike_count1.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/_solutions/case1_bike_count1.py | jorisvandenbossche/ICES-python-data | 63864947657f37cb26cb4e2dcd67ff106dffe9cd | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | df = pd.read_csv("data/fietstellingencoupure.csv", sep=';') | 59 | 59 | 0.728814 | 8 | 59 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.516667 | 0.5 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9bc8c6b81c078793233181f963ea07aba06cc2f4 | 559 | py | Python | pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_class_with_lambda_decorated_callables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_class_with_lambda_decorated_callables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_class_with_lambda_decorated_callables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | from trochilidae.interoperable_with_metaclass import interoperable_with_metaclass_future
from pavo_cristatus.tests.doubles.module_fakes.module_fake_class import ModuleFakeClass
__all__ = ["ModuleFakeClassWithLambdaDecoratedCallables"]
class ModuleFakeClassWithLambdaDecoratedCallables(interoperable_with_metaclass_fut... | 39.928571 | 104 | 0.78712 | 71 | 559 | 5.901408 | 0.478873 | 0.047733 | 0.057279 | 0.152745 | 0.238663 | 0.138425 | 0.138425 | 0.138425 | 0.138425 | 0.138425 | 0 | 0 | 0.121646 | 559 | 13 | 105 | 43 | 0.85336 | 0 | 0 | 0.25 | 0 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.625 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9bca125478f60fe69c0714d487439025bafd431d | 2,022 | py | Python | aliyun-python-sdk-afs/aliyunsdkafs/request/v20180112/AuthenticateSigRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-afs/aliyunsdkafs/request/v20180112/AuthenticateSigRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-afs/aliyunsdkafs/request/v20180112/AuthenticateSigRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 30.636364 | 74 | 0.743818 | 294 | 2,022 | 4.945578 | 0.343537 | 0.028886 | 0.0674 | 0.081843 | 0.149243 | 0.149243 | 0.149243 | 0 | 0 | 0 | 0 | 0.006973 | 0.148863 | 2,022 | 66 | 75 | 30.636364 | 0.837885 | 0.372898 | 0 | 0 | 0 | 0 | 0.09851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.46875 | false | 0 | 0.03125 | 0.21875 | 0.75 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
9bfc8c18486f057467b02ec05b9906e67fd218f0 | 94 | py | Python | ABC173/A.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | ABC173/A.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | ABC173/A.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | answer = 1000 - int(int(input())%1000)
if answer == 1000:
print(0)
else:
print(answer) | 18.8 | 38 | 0.617021 | 14 | 94 | 4.142857 | 0.571429 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 0.202128 | 94 | 5 | 39 | 18.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
500431832bb17ce28ca790e407008aef47ed8cf1 | 266 | py | Python | setup.py | Karuji/GMProjectImporter | 2e810dcaf740304550a82315e720ad39cdbc4fe7 | [
"MIT"
] | null | null | null | setup.py | Karuji/GMProjectImporter | 2e810dcaf740304550a82315e720ad39cdbc4fe7 | [
"MIT"
] | null | null | null | setup.py | Karuji/GMProjectImporter | 2e810dcaf740304550a82315e720ad39cdbc4fe7 | [
"MIT"
] | null | null | null | import sys
from cx_Freeze import setup, Executable
setup(
name = "GMProjectImporter",
version = "0.l",
description = "Program for the bulk renaming of files in an ordered manner",
executables = [Executable("GMProjectImporter.py", base = "Console")]) | 33.25 | 80 | 0.710526 | 32 | 266 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.184211 | 266 | 8 | 81 | 33.25 | 0.861751 | 0 | 0 | 0 | 0 | 0 | 0.397004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 3 |
50069f453fcfc7dbeab02ba5d59ffd2ce373e9d5 | 324 | py | Python | UE4Parse/Versions/Versions.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | 13 | 2021-06-09T09:21:00.000Z | 2022-03-30T22:13:24.000Z | UE4Parse/Versions/Versions.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | 3 | 2021-09-04T22:23:02.000Z | 2022-03-04T09:45:45.000Z | UE4Parse/Versions/Versions.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | 6 | 2021-09-02T10:28:21.000Z | 2022-03-30T22:13:37.000Z | from typing import Optional
from UE4Parse.Versions.EUEVersion import EUEVersion
class VersionContainer:
UEVersion: EUEVersion = EUEVersion.LATEST
def __init__(self, ue_version: EUEVersion) -> None:
self.UEVersion = ue_version
@classmethod
def default(cls):
return cls(EUEVersion.LATE... | 21.6 | 55 | 0.731481 | 35 | 324 | 6.6 | 0.6 | 0.138528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003861 | 0.200617 | 324 | 14 | 56 | 23.142857 | 0.888031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
50071edec398b96f3c5e901835e61966e0c550b0 | 138 | py | Python | sheets/apps.py | mitodl/mit-xpro | 981d6c87d963837f0b9ccdd996067fe81394dba4 | [
"BSD-3-Clause"
] | 10 | 2019-02-20T18:41:32.000Z | 2021-07-26T10:39:58.000Z | sheets/apps.py | mitodl/mit-xpro | 981d6c87d963837f0b9ccdd996067fe81394dba4 | [
"BSD-3-Clause"
] | 2,226 | 2019-02-20T20:03:57.000Z | 2022-03-31T11:18:56.000Z | sheets/apps.py | mitodl/mit-xpro | 981d6c87d963837f0b9ccdd996067fe81394dba4 | [
"BSD-3-Clause"
] | 4 | 2020-08-26T19:26:02.000Z | 2021-03-09T17:46:47.000Z | """
Django App
"""
from django.apps import AppConfig
class SheetsConfig(AppConfig):
"""AppConfig for Sheets"""
name = "sheets"
| 12.545455 | 33 | 0.666667 | 15 | 138 | 6.133333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 138 | 10 | 34 | 13.8 | 0.828829 | 0.224638 | 0 | 0 | 0 | 0 | 0.06383 | 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 | 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 | 3 |
500e7b3ccae8a37d649635af39aa8a1cf6f8c2e4 | 763 | py | Python | django projects/untitled/untitled/model/UserModel.py | gagan1994/servevr_app | 2c097bf2b38eb5b114db9bc3618add68d54179ad | [
"Apache-2.0"
] | null | null | null | django projects/untitled/untitled/model/UserModel.py | gagan1994/servevr_app | 2c097bf2b38eb5b114db9bc3618add68d54179ad | [
"Apache-2.0"
] | null | null | null | django projects/untitled/untitled/model/UserModel.py | gagan1994/servevr_app | 2c097bf2b38eb5b114db9bc3618add68d54179ad | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from django.db import models
class User(models.Model):
id = models.IntegerField(max_length=10, blank=True, primary_key=True)
password = models.CharField(max_length=50, blank=True, null=True)
last_login = models.DateTimeField(default=datetime.now())
is_superuser = models.Bo... | 47.6875 | 74 | 0.750983 | 104 | 763 | 5.375 | 0.365385 | 0.112701 | 0.161002 | 0.214669 | 0.545617 | 0.413238 | 0.413238 | 0.413238 | 0.413238 | 0.259392 | 0 | 0.018127 | 0.132372 | 763 | 15 | 75 | 50.866667 | 0.826284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.142857 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
501350abb8c5160c10d914cc4e9f9f4483006ed2 | 1,752 | py | Python | extension/src/xdevice_extension/_core/environment/emulator.py | openharmony-gitee-mirror/test_xdevice | 1d24201649d4f6a3e5aa381989f794bb8cfe15b9 | [
"Apache-2.0"
] | 2 | 2021-12-20T03:22:21.000Z | 2022-02-10T07:26:38.000Z | extension/src/xdevice_extension/_core/environment/emulator.py | openharmony-gitee-mirror/test_xdevice | 1d24201649d4f6a3e5aa381989f794bb8cfe15b9 | [
"Apache-2.0"
] | null | null | null | extension/src/xdevice_extension/_core/environment/emulator.py | openharmony-gitee-mirror/test_xdevice | 1d24201649d4f6a3e5aa381989f794bb8cfe15b9 | [
"Apache-2.0"
] | 2 | 2021-09-13T11:13:53.000Z | 2022-02-28T21:54:23.000Z | #!/usr/bin/env python3
# coding=utf-8
#
# Copyright (c) 2021 Huawei Device Co., Ltd.
# 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... | 29.2 | 77 | 0.691781 | 227 | 1,752 | 5.154185 | 0.511013 | 0.054701 | 0.051282 | 0.02735 | 0.123077 | 0.088889 | 0.088889 | 0.088889 | 0 | 0 | 0 | 0.007496 | 0.238584 | 1,752 | 59 | 78 | 29.694915 | 0.869565 | 0.464612 | 0 | 0.190476 | 0 | 0 | 0.00984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.095238 | 0.190476 | 0.047619 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
501ee61de5870ded521b363f1916abe8d0eb4894 | 362 | py | Python | vxmessenger/webapp/views.py | praekeltfoundation/vumi-messenger | 69dd7d00fc573b241f3fdb8b5333a735c40ca498 | [
"BSD-3-Clause"
] | 1 | 2016-11-16T06:38:29.000Z | 2016-11-16T06:38:29.000Z | vxmessenger/webapp/views.py | praekeltfoundation/vumi-messenger | 69dd7d00fc573b241f3fdb8b5333a735c40ca498 | [
"BSD-3-Clause"
] | 10 | 2016-04-16T07:29:57.000Z | 2017-06-21T09:01:29.000Z | vxmessenger/webapp/views.py | praekeltfoundation/vumi-messenger | 69dd7d00fc573b241f3fdb8b5333a735c40ca498 | [
"BSD-3-Clause"
] | 2 | 2016-04-20T19:15:45.000Z | 2017-01-09T07:37:42.000Z | from django.shortcuts import render
from django.http import HttpResponse
def privacy(request):
return render(request, 'privacy.html', {
})
def home(request):
return render(request, 'home.html', {
})
def challenge(request):
# Rather use vxmessenger.webhook from the command line
return HttpR... | 20.111111 | 58 | 0.712707 | 44 | 362 | 5.863636 | 0.522727 | 0.077519 | 0.147287 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176796 | 362 | 17 | 59 | 21.294118 | 0.865772 | 0.143646 | 0 | 0.2 | 0 | 0 | 0.11039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.3 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
50256ed7ce7cd688b9c264e80bacb5ca14d20272 | 23 | py | Python | pyfakefs/_version.py | gpshead/pyfakefs | 518ab38ccf77c2185b5341cf49f1ba3ca8dfdd87 | [
"Apache-2.0"
] | null | null | null | pyfakefs/_version.py | gpshead/pyfakefs | 518ab38ccf77c2185b5341cf49f1ba3ca8dfdd87 | [
"Apache-2.0"
] | null | null | null | pyfakefs/_version.py | gpshead/pyfakefs | 518ab38ccf77c2185b5341cf49f1ba3ca8dfdd87 | [
"Apache-2.0"
] | 1 | 2021-12-25T16:05:34.000Z | 2021-12-25T16:05:34.000Z | __version__ = '4.4dev'
| 11.5 | 22 | 0.695652 | 3 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.130435 | 23 | 1 | 23 | 23 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
502d5bc473ee9e1006fa382c643fd9eabd3e5d85 | 237 | py | Python | core/login/urls.py | danyBautista/sit-system | 24cdeb5442ca8ee0be4ca3ae087370f3815afb86 | [
"Apache-2.0"
] | null | null | null | core/login/urls.py | danyBautista/sit-system | 24cdeb5442ca8ee0be4ca3ae087370f3815afb86 | [
"Apache-2.0"
] | null | null | null | core/login/urls.py | danyBautista/sit-system | 24cdeb5442ca8ee0be4ca3ae087370f3815afb86 | [
"Apache-2.0"
] | 1 | 2022-02-16T22:15:41.000Z | 2022-02-16T22:15:41.000Z | from django.urls import path
from core.login.views import LoginFormView, LogoutView, LogoutRedirecView
urlpatterns = [
path('', LoginFormView.as_view(), name='login'),
path('logout', LogoutRedirecView.as_view(), name='logout')
] | 33.857143 | 73 | 0.742616 | 27 | 237 | 6.444444 | 0.592593 | 0.068966 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118143 | 237 | 7 | 74 | 33.857143 | 0.832536 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
503c096d9d9da370dad0bdd428597c726cf7bd9e | 120 | py | Python | eprl/__init__.py | borysn/eprl | 45111f8822af4f8f339e6b2bd9bbbeecb9d6e54c | [
"MIT"
] | 4 | 2017-05-08T23:45:42.000Z | 2021-03-21T16:15:38.000Z | eprl/__init__.py | borysn/eprl | 45111f8822af4f8f339e6b2bd9bbbeecb9d6e54c | [
"MIT"
] | null | null | null | eprl/__init__.py | borysn/eprl | 45111f8822af4f8f339e6b2bd9bbbeecb9d6e54c | [
"MIT"
] | null | null | null | # __init__.py
# author: borysn
# license: MIT
from eprl import util
# __init__.py
__version__ = util.getEprlVersion();
| 15 | 36 | 0.741667 | 15 | 120 | 5.133333 | 0.8 | 0.155844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 120 | 7 | 37 | 17.142857 | 0.754902 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
503f0a84112d09d077464afda36f69d726aafd22 | 596 | py | Python | pyWFEditor/watchface/errors.py | baskiton/pyWFEditor | 310f40c2bf1643e90c234a442e0706f86960464d | [
"MIT"
] | 1 | 2022-03-27T11:40:07.000Z | 2022-03-27T11:40:07.000Z | pyWFEditor/watchface/errors.py | baskiton/pyWFEditor | 310f40c2bf1643e90c234a442e0706f86960464d | [
"MIT"
] | null | null | null | pyWFEditor/watchface/errors.py | baskiton/pyWFEditor | 310f40c2bf1643e90c234a442e0706f86960464d | [
"MIT"
] | null | null | null | class WFError(Exception):
def __init__(self, msg):
super().__init__(msg)
self.message = msg
def __repr__(self):
return self.message
class WFFileUnsupportedFormat(WFError):
def __init__(self, msg=''):
txt = 'Unsupported Watchface file'
if msg:
txt += f':... | 22.923077 | 60 | 0.624161 | 65 | 596 | 5.169231 | 0.4 | 0.083333 | 0.130952 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251678 | 596 | 25 | 61 | 23.84 | 0.753363 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0 | 0.055556 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5048d7231f77ef9f85c142bd8454a96710f8b441 | 131 | py | Python | webapi/api/__init__.py | tcc-collab/Website_scraper | 93a516f2cafef3efc12816d3240cfb196c37143f | [
"MIT"
] | null | null | null | webapi/api/__init__.py | tcc-collab/Website_scraper | 93a516f2cafef3efc12816d3240cfb196c37143f | [
"MIT"
] | null | null | null | webapi/api/__init__.py | tcc-collab/Website_scraper | 93a516f2cafef3efc12816d3240cfb196c37143f | [
"MIT"
] | null | null | null | """
import requests
type = "all"
url = f"http://localhost:5000/notice?type={type}"
result = requests.get(url)
print(result)
"""
| 11.909091 | 49 | 0.664122 | 18 | 131 | 4.833333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.129771 | 131 | 10 | 50 | 13.1 | 0.72807 | 0.923664 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
aca5f3968f07fd70d33a0980e1bc7ce24052d484 | 1,044 | py | Python | src/kernel-density-estimation.py | sugakoji/scratch-kernel-density-estimation | 0e79e2f53c1fa6f11736c2cd0f6b818f9ab01f32 | [
"MIT"
] | null | null | null | src/kernel-density-estimation.py | sugakoji/scratch-kernel-density-estimation | 0e79e2f53c1fa6f11736c2cd0f6b818f9ab01f32 | [
"MIT"
] | null | null | null | src/kernel-density-estimation.py | sugakoji/scratch-kernel-density-estimation | 0e79e2f53c1fa6f11736c2cd0f6b818f9ab01f32 | [
"MIT"
] | null | null | null | import math
import numpy as np
class Kernel_d_estimator(object):
"""
カーネル密度推定法のスクラッチ実装クラス
"""
def __init__(self):
pass
def _gauss_kernel(self, xi, xj, band):
"""ガウスカーネルによる距離の計算
:param xi np.array: x
:param xj np.array: xi
:param band: バンド幅
:return:... | 20.076923 | 72 | 0.489464 | 128 | 1,044 | 3.867188 | 0.375 | 0.060606 | 0.032323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015198 | 0.369732 | 1,044 | 51 | 73 | 20.470588 | 0.737082 | 0.234674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.058824 | 0.117647 | 0 | 0.647059 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.