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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
81328ef0347d3a6ae301699943a67ef4f0701935 | 2,345 | py | Python | release/stubs.min/System/__init___parts/CharEnumerator.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/__init___parts/CharEnumerator.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/__init___parts/CharEnumerator.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | class CharEnumerator(object):
""" Supports iterating over a System.String object and reading its individual characters. This class cannot be inherited. """
def ZZZ(self):
"""hardcoded/mock instance of the class"""
return CharEnumerator()
instance=ZZZ()
"""hardcoded/returns an instance of the class"""
de... | 35 | 215 | 0.692964 | 290 | 2,345 | 5.3 | 0.334483 | 0.050098 | 0.04229 | 0.035133 | 0.193234 | 0.154196 | 0.129473 | 0.129473 | 0.07352 | 0.07352 | 0 | 0 | 0.189765 | 2,345 | 66 | 216 | 35.530303 | 0.808947 | 0.581663 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.448276 | false | 0.413793 | 0 | 0 | 0.586207 | 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 |
8133672c14b4b385a9d7555f731ee05a987d9f73 | 143 | py | Python | src/home_automation_hub/config.py | levidavis/py-home | 3cc30e19d506824de9816ad9dbcfba4338a7dfa8 | [
"MIT"
] | null | null | null | src/home_automation_hub/config.py | levidavis/py-home | 3cc30e19d506824de9816ad9dbcfba4338a7dfa8 | [
"MIT"
] | null | null | null | src/home_automation_hub/config.py | levidavis/py-home | 3cc30e19d506824de9816ad9dbcfba4338a7dfa8 | [
"MIT"
] | null | null | null | from .config_store import ConfigStore
config = ConfigStore()
config.set_mqtt_broker("mqtt", 1883)
config.set_redis_config("redis", 6379, 0)
| 17.875 | 41 | 0.776224 | 20 | 143 | 5.3 | 0.6 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 0.104895 | 143 | 7 | 42 | 20.428571 | 0.757813 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
813ffa71bdba0211d608c2b11546d97e7ed15b73 | 9,307 | py | Python | hw1.py | ptsurko/coursera_crypt | ec952800c441a9b07ac427045851285fee8c6543 | [
"MIT"
] | null | null | null | hw1.py | ptsurko/coursera_crypt | ec952800c441a9b07ac427045851285fee8c6543 | [
"MIT"
] | null | null | null | hw1.py | ptsurko/coursera_crypt | ec952800c441a9b07ac427045851285fee8c6543 | [
"MIT"
] | null | null | null | import string
from timeit import itertools
s1 = '315c4eeaa8b5f8aaf9174145bf43e1784b8fa00dc71d885a804e5ee9fa40b16349c146fb778cdf2d3aff021dfff5b403b510d0d0455468aeb98622b137dae857553ccd8883a7bc37520e06e515d22c954eba5025b8cc57ee59418ce7dc6bc41556bdb36bbca3e8774301fbcaa3b83b220809560987815f65286764703de0f3d524400a19b15961... | 44.745192 | 379 | 0.659933 | 973 | 9,307 | 6.099692 | 0.217883 | 0.074979 | 0.159393 | 0.16984 | 0.28829 | 0.051896 | 0.035046 | 0.026959 | 0.026959 | 0.026959 | 0 | 0.282873 | 0.222091 | 9,307 | 208 | 380 | 44.745192 | 0.536878 | 0.03449 | 0 | 0.092486 | 0 | 0.00578 | 0.350446 | 0.322321 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011561 | null | null | 0.023121 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
d48c84bf13aa3330a9778d95947b20e6d95dfadf | 194 | py | Python | polls/tests.py | bunya017/Django-Polls-App | 7b71ac9d1ffb66518e1d0345bc0f11ee5907c1be | [
"MIT"
] | null | null | null | polls/tests.py | bunya017/Django-Polls-App | 7b71ac9d1ffb66518e1d0345bc0f11ee5907c1be | [
"MIT"
] | 4 | 2020-06-05T18:14:33.000Z | 2022-01-13T00:45:05.000Z | polls/tests.py | bunya017/Django-Polls-App | 7b71ac9d1ffb66518e1d0345bc0f11ee5907c1be | [
"MIT"
] | 1 | 2018-05-23T11:36:36.000Z | 2018-05-23T11:36:36.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.test import TestCase
class RandomTestCase(TestCase):
def test_one_plus_one1(self):
self.assertEqual(1+1, 2)
| 14.923077 | 39 | 0.742268 | 27 | 194 | 5.037037 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.149485 | 194 | 12 | 40 | 16.166667 | 0.793939 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d4a7c3329ad1568f426144783b7f79e1a58585b3 | 855 | py | Python | clients/client/python/ory_client/__init__.py | ory/sdk-generator | 958314d130922ad6f20f439b5230141a832231a5 | [
"Apache-2.0"
] | null | null | null | clients/client/python/ory_client/__init__.py | ory/sdk-generator | 958314d130922ad6f20f439b5230141a832231a5 | [
"Apache-2.0"
] | null | null | null | clients/client/python/ory_client/__init__.py | ory/sdk-generator | 958314d130922ad6f20f439b5230141a832231a5 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
"""
Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
The version of the OpenAPI document: v0.0.1-alpha.187
Contact: support@ory.sh
... | 29.482759 | 194 | 0.803509 | 115 | 855 | 5.86087 | 0.495652 | 0.083086 | 0.154303 | 0.204748 | 0.293769 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021858 | 0.14386 | 855 | 28 | 195 | 30.535714 | 0.898907 | 0.460819 | 0 | 0 | 0 | 0 | 0.037209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d4c40e31402ea3868fe157e89d210c3347a2c155 | 287 | py | Python | design_patterns/pubsub/simple_events/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 3 | 2017-05-02T10:28:13.000Z | 2019-02-06T09:10:11.000Z | design_patterns/pubsub/simple_events/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2017-06-21T20:39:14.000Z | 2020-02-25T10:28:57.000Z | design_patterns/pubsub/simple_events/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2016-07-29T04:35:22.000Z | 2017-01-18T17:05:36.000Z | class Event:
def __init__(self):
self.handlers = set()
def subscribe(self, func):
self.handlers.add(func)
def unsubscribe(self, func):
self.handlers.remove(func)
def emit(self, *args):
for func in self.handlers:
func(*args)
| 20.5 | 34 | 0.581882 | 35 | 287 | 4.657143 | 0.457143 | 0.294479 | 0.147239 | 0.245399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299652 | 287 | 13 | 35 | 22.076923 | 0.810945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4ca74c07139ca34712a0c4f0276402a1f20a541 | 23,370 | py | Python | plaidml2/edsl/__init__.py | ZhouXiaolin/plaidml | dac460b6ae19a62299d15eeb17b402d8c26d0c2b | [
"Apache-2.0"
] | 4,535 | 2017-10-20T05:03:57.000Z | 2022-03-30T15:42:33.000Z | plaidml2/edsl/__init__.py | ZhouXiaolin/plaidml | dac460b6ae19a62299d15eeb17b402d8c26d0c2b | [
"Apache-2.0"
] | 984 | 2017-10-20T17:16:09.000Z | 2022-03-30T05:43:18.000Z | plaidml2/edsl/__init__.py | ZhouXiaolin/plaidml | dac460b6ae19a62299d15eeb17b402d8c26d0c2b | [
"Apache-2.0"
] | 492 | 2017-10-20T18:22:32.000Z | 2022-03-30T09:00:05.000Z | # Copyright 2019 Intel Corporation.
import logging
from collections import namedtuple
import numpy as np
import six
from plaidml2 import DType
from plaidml2.core import TensorShape, Buffer
from plaidml2.ffi import ForeignObject, ffi, ffi_call, lib
logger = logging.getLogger(__name__)
def __init():
"""Docstrin... | 29.2125 | 98 | 0.631365 | 3,163 | 23,370 | 4.319001 | 0.095795 | 0.070273 | 0.035869 | 0.059732 | 0.489056 | 0.398873 | 0.319523 | 0.257229 | 0.208037 | 0.178025 | 0 | 0.00336 | 0.261361 | 23,370 | 799 | 99 | 29.249061 | 0.788032 | 0.082285 | 0 | 0.234637 | 0 | 0 | 0.039418 | 0.001032 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240223 | false | 0.001862 | 0.013035 | 0.167598 | 0.52514 | 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 |
d4f79ba15482dc239d99373d27359b1da32e98ba | 1,172 | py | Python | kissim/cli/encode.py | AJK-dev/kissim | 15375000d47b5d5485322fc725809f853a3659de | [
"MIT"
] | 15 | 2020-06-23T14:46:07.000Z | 2022-02-03T04:23:56.000Z | kissim/cli/encode.py | volkamerlab/kissim | 35198a5efd4b651dd3952bf26ac5098fd1c4dfaa | [
"MIT"
] | 66 | 2020-11-05T11:45:21.000Z | 2021-12-15T12:11:20.000Z | kissim/cli/encode.py | AJK-dev/kissim | 15375000d47b5d5485322fc725809f853a3659de | [
"MIT"
] | 3 | 2021-02-27T12:56:27.000Z | 2022-02-03T04:23:57.000Z | """
kissim.cli.encode
Encode structures (generate fingerprints) from CLI arguments.
"""
import numpy as np
from kissim.api import encode
from kissim.cli.utils import configure_logger
def encode_from_cli(args):
"""
Encode structures.
Parameters
----------
args : argsparse.Namespace
CLI ... | 22.113208 | 97 | 0.654437 | 150 | 1,172 | 4.913333 | 0.413333 | 0.227951 | 0.253731 | 0.089552 | 0.084125 | 0.084125 | 0 | 0 | 0 | 0 | 0 | 0.003398 | 0.246587 | 1,172 | 52 | 98 | 22.538462 | 0.831257 | 0.353242 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.1875 | 0 | 0.375 | 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 |
be004417db97934b47985fcf6b9c727896247c48 | 220 | py | Python | CodeChef/problems/IMDB/main.py | object-oriented-human/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | 1 | 2022-02-21T15:43:01.000Z | 2022-02-21T15:43:01.000Z | CodeChef/problems/IMDB/main.py | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | CodeChef/problems/IMDB/main.py | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | tc = int(input())
while tc:
tc -= 1
best = 0
n, x = map(int, input().split())
for i in range(n):
s, r = map(int, input().split())
if x >= s:
best = max(best, r)
print(best) | 22 | 40 | 0.445455 | 35 | 220 | 2.8 | 0.571429 | 0.244898 | 0.22449 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014388 | 0.368182 | 220 | 10 | 41 | 22 | 0.690647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.1 | 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 |
be05ff012f40e6f5a4b594110683f58699e3309e | 412 | py | Python | top/api/rest/FenxiaoRefundMessageAddRequest.py | forestsheep/middleman | 34d54f9ffd9d7bcd775a8dcce4f00dd6c5bb1acd | [
"MIT"
] | null | null | null | top/api/rest/FenxiaoRefundMessageAddRequest.py | forestsheep/middleman | 34d54f9ffd9d7bcd775a8dcce4f00dd6c5bb1acd | [
"MIT"
] | null | null | null | top/api/rest/FenxiaoRefundMessageAddRequest.py | forestsheep/middleman | 34d54f9ffd9d7bcd775a8dcce4f00dd6c5bb1acd | [
"MIT"
] | null | null | null | '''
Created by auto_sdk on 2016.04.13
'''
from top.api.base import RestApi
class FenxiaoRefundMessageAddRequest(RestApi):
def __init__(self,domain='gw.api.taobao.com',port=80):
RestApi.__init__(self,domain, port)
self.image = None
self.message_content = None
self.sub_order_id = None
def getapiname(self):
r... | 24.235294 | 55 | 0.75 | 58 | 412 | 5.12069 | 0.655172 | 0.053872 | 0.094276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027701 | 0.123786 | 412 | 16 | 56 | 25.75 | 0.795014 | 0.080097 | 0 | 0 | 0 | 0 | 0.148248 | 0.088949 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
be193942a6e1e90e82121a1e52ce25e1006effc3 | 488 | py | Python | wasatch/ROI.py | adiravishankara/Wasatch.PY | 058b3de2c9399e9aea6347fa360f9c7dbbf296aa | [
"MIT"
] | 9 | 2018-10-31T11:38:18.000Z | 2021-11-23T19:20:54.000Z | wasatch/ROI.py | adiravishankara/Wasatch.PY | 058b3de2c9399e9aea6347fa360f9c7dbbf296aa | [
"MIT"
] | 3 | 2018-11-01T10:28:53.000Z | 2022-03-21T17:40:05.000Z | wasatch/ROI.py | adiravishankara/Wasatch.PY | 058b3de2c9399e9aea6347fa360f9c7dbbf296aa | [
"MIT"
] | 4 | 2018-08-03T08:46:08.000Z | 2022-03-23T01:09:27.000Z | ##
# This class encapsulates a Region Of Interest, which may be either horizontal
# (pixels) or vertical (rows/lines).
class ROI:
def __init__(self, start, end):
self.start = start
self.end = end
self.len = end - start + 1
def valid(self):
return self.start >= 0 and self.start ... | 27.111111 | 79 | 0.622951 | 68 | 488 | 4.411765 | 0.485294 | 0.18 | 0.12 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00838 | 0.266393 | 488 | 17 | 80 | 28.705882 | 0.829609 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.727273 | 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 |
be2be4ab8f891e1d119f0c6cbe7bc4c566727644 | 547 | py | Python | py/tests/test_valid_parentheses.py | Dragonway/LeetCode | 53ed9e9bcc1ed6955b013e0d37d2a684c2ec7135 | [
"MIT"
] | null | null | null | py/tests/test_valid_parentheses.py | Dragonway/LeetCode | 53ed9e9bcc1ed6955b013e0d37d2a684c2ec7135 | [
"MIT"
] | null | null | null | py/tests/test_valid_parentheses.py | Dragonway/LeetCode | 53ed9e9bcc1ed6955b013e0d37d2a684c2ec7135 | [
"MIT"
] | null | null | null | import unittest
from py.tests.utils import test
from py import valid_parentheses as vp
class TestValidParentheses(unittest.TestCase):
@test(vp.Solution.is_valid)
def test_valid_parentheses(self) -> None:
test("()", result=True)
test("()[]{}", result=True)
test("(]", ... | 30.388889 | 46 | 0.521024 | 54 | 547 | 5.203704 | 0.407407 | 0.284698 | 0.199288 | 0.256228 | 0.412811 | 0.412811 | 0.412811 | 0.412811 | 0.412811 | 0.412811 | 0 | 0 | 0.303473 | 547 | 17 | 47 | 32.176471 | 0.737533 | 0 | 0 | 0 | 0 | 0 | 0.058501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.214286 | 0 | 0.357143 | 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 |
0780e5ec41de515a271f19ff0412527f1e12bd8f | 287 | py | Python | health_care/health_care/doctype/practitioner/practitioner.py | Jnalis/frappe-health-care | ed347c216f568cc044c1365965d35945697cf7dc | [
"MIT"
] | null | null | null | health_care/health_care/doctype/practitioner/practitioner.py | Jnalis/frappe-health-care | ed347c216f568cc044c1365965d35945697cf7dc | [
"MIT"
] | null | null | null | health_care/health_care/doctype/practitioner/practitioner.py | Jnalis/frappe-health-care | ed347c216f568cc044c1365965d35945697cf7dc | [
"MIT"
] | null | null | null | # Copyright (c) 2022, Juve and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class Practitioner(Document):
def before_save(self):
self.practitioner_full_name = f'{self.first_name} {self.second_name or ""}'
| 28.7 | 77 | 0.777003 | 40 | 287 | 5.45 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015936 | 0.125436 | 287 | 9 | 78 | 31.888889 | 0.85259 | 0.358885 | 0 | 0 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0785a9ecd33b25242a059e89ddfae1ca8b3c0298 | 518 | py | Python | tests/workflow/test_workflow_ingest_accepted_submission.py | elifesciences/elife-bot | d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9 | [
"MIT"
] | 17 | 2015-02-10T07:10:29.000Z | 2021-05-14T22:24:45.000Z | tests/workflow/test_workflow_ingest_accepted_submission.py | elifesciences/elife-bot | d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9 | [
"MIT"
] | 459 | 2015-03-31T18:24:23.000Z | 2022-03-30T19:44:40.000Z | tests/workflow/test_workflow_ingest_accepted_submission.py | elifesciences/elife-bot | d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9 | [
"MIT"
] | 9 | 2015-04-18T16:57:31.000Z | 2020-10-30T11:49:13.000Z | import unittest
import tests.settings_mock as settings_mock
from tests.activity.classes_mock import FakeLogger
from workflow.workflow_IngestAcceptedSubmission import workflow_IngestAcceptedSubmission
class TestWorkflowIngestAcceptedSubmission(unittest.TestCase):
def setUp(self):
self.workflow = workflow_I... | 34.533333 | 88 | 0.783784 | 51 | 518 | 7.803922 | 0.45098 | 0.090452 | 0.201005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15251 | 518 | 14 | 89 | 37 | 0.906606 | 0 | 0 | 0 | 0 | 0 | 0.046332 | 0.046332 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.181818 | false | 0 | 0.363636 | 0 | 0.636364 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
078c924330df0f8ffe4dba08335fcd4ca824b7c3 | 125 | py | Python | electrondiffraction/__init__.py | drix00/ElectronDiffraction | 9dc258d90d0b73745b904b1bb6e1e3e794403a27 | [
"Apache-2.0"
] | 1 | 2020-07-23T12:24:09.000Z | 2020-07-23T12:24:09.000Z | python/xraynomenclature/xraynomenclature/__init__.py | drix00/xray-nomenclature | 92d3e15b9ebb505482a084522c6639ba09bbdd02 | [
"Apache-2.0"
] | null | null | null | python/xraynomenclature/xraynomenclature/__init__.py | drix00/xray-nomenclature | 92d3e15b9ebb505482a084522c6639ba09bbdd02 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
__author__ = """Hendrix Demers"""
__email__ = 'hendrix.demers@mail.mcgill.ca'
__version__ = '0.1.0'
| 20.833333 | 43 | 0.648 | 16 | 125 | 4.3125 | 0.8125 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.128 | 125 | 5 | 44 | 25 | 0.59633 | 0.168 | 0 | 0 | 0 | 0 | 0.470588 | 0.284314 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
07b69c4f080b6ae079038a0250ba13b6035a0cda | 191 | py | Python | scripts/transpose.py | saikrishnarallabandi/python_connectionist | e3f8f92c8de865190ad727951eb2b0e514248afc | [
"Apache-2.0"
] | null | null | null | scripts/transpose.py | saikrishnarallabandi/python_connectionist | e3f8f92c8de865190ad727951eb2b0e514248afc | [
"Apache-2.0"
] | null | null | null | scripts/transpose.py | saikrishnarallabandi/python_connectionist | e3f8f92c8de865190ad727951eb2b0e514248afc | [
"Apache-2.0"
] | null | null | null | import numpy
g = open('/home/srallaba/mgc/transposed/arctic_a0404.mgc','w')
x = numpy.loadtxt('/home/srallaba/mgc_spaces/arctic_a0404.mgc')
numpy.savetxt(g, numpy.transpose(x))
g.close()
| 31.833333 | 64 | 0.73822 | 30 | 191 | 4.6 | 0.566667 | 0.173913 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.078534 | 191 | 5 | 65 | 38.2 | 0.738636 | 0 | 0 | 0 | 0 | 0 | 0.465969 | 0.460733 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07bd6b46f25dcc6cd80de3063def3b5b81539dae | 161 | py | Python | text_classification/config.py | MardanovTimur/kaggle | 62392863a07fcc5de9821c28cf9c6dbbf39ced59 | [
"MIT"
] | null | null | null | text_classification/config.py | MardanovTimur/kaggle | 62392863a07fcc5de9821c28cf9c6dbbf39ced59 | [
"MIT"
] | null | null | null | text_classification/config.py | MardanovTimur/kaggle | 62392863a07fcc5de9821c28cf9c6dbbf39ced59 | [
"MIT"
] | null | null | null | import logging
import pathlib
logging.basicConfig(level=logging.INFO)
# Dirs
ROOT_DIR = pathlib.Path(__file__).parent.absolute()
DUMP_DIR = ROOT_DIR / 'dumps'
| 17.888889 | 51 | 0.782609 | 22 | 161 | 5.409091 | 0.681818 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10559 | 161 | 8 | 52 | 20.125 | 0.826389 | 0.024845 | 0 | 0 | 0 | 0 | 0.032258 | 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 |
07de8a38f3e34f5218e591e882773caeb8f88eba | 1,256 | py | Python | ocdsmerge/exceptions.py | open-contracting/ocds-merge | 80c7cb380d191c75f88feefd34b607bc0de13ee1 | [
"BSD-3-Clause"
] | 4 | 2017-09-06T06:14:09.000Z | 2019-07-05T13:11:40.000Z | ocdsmerge/exceptions.py | open-contracting/ocds-merge | 80c7cb380d191c75f88feefd34b607bc0de13ee1 | [
"BSD-3-Clause"
] | 20 | 2017-11-25T02:29:41.000Z | 2020-01-08T18:45:49.000Z | ocdsmerge/exceptions.py | open-contracting/ocds-merge | 80c7cb380d191c75f88feefd34b607bc0de13ee1 | [
"BSD-3-Clause"
] | 1 | 2018-11-07T14:05:12.000Z | 2018-11-07T14:05:12.000Z | class OCDSMergeError(Exception):
"""Base class for exceptions from within this package"""
class MissingDateKeyError(OCDSMergeError, KeyError):
"""Raised when a release is missing a 'date' key"""
def __init__(self, key, message):
self.key = key
self.message = message
def __str__(self)... | 27.304348 | 97 | 0.700637 | 152 | 1,256 | 5.684211 | 0.394737 | 0.05787 | 0.063657 | 0.083333 | 0.387731 | 0.262731 | 0.215278 | 0.215278 | 0.111111 | 0.111111 | 0 | 0 | 0.204618 | 1,256 | 45 | 98 | 27.911111 | 0.864865 | 0.348726 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0 | 0.105263 | 0.736842 | 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 |
07e312b03c9acc9dee5930a523090053e38045ca | 85,560 | py | Python | Installation/nnAudio/Spectrogram.py | tasercake/nnAudio | 5edc37b7b73674598d533261314429b875ba285d | [
"MIT"
] | null | null | null | Installation/nnAudio/Spectrogram.py | tasercake/nnAudio | 5edc37b7b73674598d533261314429b875ba285d | [
"MIT"
] | null | null | null | Installation/nnAudio/Spectrogram.py | tasercake/nnAudio | 5edc37b7b73674598d533261314429b875ba285d | [
"MIT"
] | null | null | null | """
Module containing all the spectrogram classes
"""
# 0.2.0
import torch
import torch.nn as nn
from torch.nn.functional import conv1d, conv2d, fold
import numpy as np
from time import time
from nnAudio.librosa_functions import *
from nnAudio.utils import *
sz_float = 4 # size of a float
epsilon = 10e-8 # fudg... | 41.695906 | 172 | 0.593233 | 10,919 | 85,560 | 4.506457 | 0.06649 | 0.021542 | 0.012803 | 0.007316 | 0.759033 | 0.731191 | 0.706804 | 0.692355 | 0.679612 | 0.66307 | 0 | 0.015438 | 0.311057 | 85,560 | 2,051 | 173 | 41.716236 | 0.819326 | 0.426706 | 0 | 0.606132 | 0 | 0 | 0.061766 | 0.001006 | 0 | 0 | 0 | 0.000975 | 0.004717 | 1 | 0.038915 | false | 0.018868 | 0.008255 | 0.005896 | 0.102594 | 0.03184 | 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 |
07f0cc1a2096d19875fd8be0522fd82d52ff8b5c | 128 | py | Python | setup.py | rizar/CLOSURE | 57f80d4e89fa281830bb9c8b6a7a2498747e727a | [
"MIT"
] | 14 | 2019-12-08T04:38:57.000Z | 2021-07-13T15:46:57.000Z | setup.py | rizar/CLOSURE | 57f80d4e89fa281830bb9c8b6a7a2498747e727a | [
"MIT"
] | null | null | null | setup.py | rizar/CLOSURE | 57f80d4e89fa281830bb9c8b6a7a2498747e727a | [
"MIT"
] | 2 | 2020-09-01T10:21:27.000Z | 2021-01-15T02:38:25.000Z | from setuptools import setup
setup(
name="nmn-iwp",
version="0.1",
keywords="",
packages=["vr", "vr.models"]
)
| 14.222222 | 32 | 0.585938 | 16 | 128 | 4.6875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.21875 | 128 | 8 | 33 | 16 | 0.73 | 0 | 0 | 0 | 0 | 0 | 0.164063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 |
07fdb99131cb0d8251646bea304d79ad58fc7ab6 | 157 | py | Python | Mundo 1/Ex33.py | legna7/Python | 52e0b642d1b7acc592ec82dd360c5697fb0765db | [
"MIT"
] | null | null | null | Mundo 1/Ex33.py | legna7/Python | 52e0b642d1b7acc592ec82dd360c5697fb0765db | [
"MIT"
] | null | null | null | Mundo 1/Ex33.py | legna7/Python | 52e0b642d1b7acc592ec82dd360c5697fb0765db | [
"MIT"
] | null | null | null | salario = float(input('digite o seu salario: '))
aumento = (salario + (salario * 15)/100 if salario <= 1250 else salario + (salario * 10)/100)
print(aumento) | 52.333333 | 93 | 0.687898 | 22 | 157 | 4.909091 | 0.636364 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.152866 | 157 | 3 | 94 | 52.333333 | 0.706767 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58023a0843c7993ed1535e882c1755e33a7a8544 | 116 | py | Python | solved_bronze/num11720.py | ilmntr/white_study | 51d69d122b07e9a0922dddb134bff4ec79077eb9 | [
"MIT"
] | null | null | null | solved_bronze/num11720.py | ilmntr/white_study | 51d69d122b07e9a0922dddb134bff4ec79077eb9 | [
"MIT"
] | null | null | null | solved_bronze/num11720.py | ilmntr/white_study | 51d69d122b07e9a0922dddb134bff4ec79077eb9 | [
"MIT"
] | null | null | null | cnt = int(input())
num = list(map(int, input()))
sum = 0
for i in range(len(num)):
sum = sum + num[i]
print(sum) | 19.333333 | 29 | 0.586207 | 22 | 116 | 3.090909 | 0.636364 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.198276 | 116 | 6 | 30 | 19.333333 | 0.72043 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
6af266c300822127b8933d07e4d514dfddafdca3 | 575 | py | Python | sider/warnings.py | PCManticore/sider | cd11b38b2a1bf1ea3600eb287abfe3c2b40c67c1 | [
"MIT"
] | 19 | 2015-01-17T18:24:36.000Z | 2022-02-05T06:33:41.000Z | sider/warnings.py | PCManticore/sider | cd11b38b2a1bf1ea3600eb287abfe3c2b40c67c1 | [
"MIT"
] | 5 | 2016-01-13T14:19:44.000Z | 2016-06-01T18:50:36.000Z | sider/warnings.py | PCManticore/sider | cd11b38b2a1bf1ea3600eb287abfe3c2b40c67c1 | [
"MIT"
] | 6 | 2015-08-16T10:32:09.000Z | 2019-11-29T09:57:06.000Z | """:mod:`sider.warnings` --- Warning categories
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This module defines several custom warning category classes.
"""
class SiderWarning(Warning):
"""All warning classes used by Sider extend this base class."""
class PerformanceWarning(SiderWarning, RuntimeWarning):
... | 25 | 71 | 0.683478 | 57 | 575 | 6.894737 | 0.631579 | 0.132316 | 0.147583 | 0.188295 | 0.26972 | 0.26972 | 0.26972 | 0 | 0 | 0 | 0 | 0 | 0.151304 | 575 | 22 | 72 | 26.136364 | 0.805328 | 0.657391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ed0157759bef39b622e00be4f990c696bc0f3dd8 | 110 | py | Python | src/FYP/fifaRecords/urls.py | MustafaAbbas110/FinalProject | 30d371f06a8a1875285cfd4a8940ca3610ec1274 | [
"BSD-3-Clause"
] | null | null | null | src/FYP/fifaRecords/urls.py | MustafaAbbas110/FinalProject | 30d371f06a8a1875285cfd4a8940ca3610ec1274 | [
"BSD-3-Clause"
] | null | null | null | src/FYP/fifaRecords/urls.py | MustafaAbbas110/FinalProject | 30d371f06a8a1875285cfd4a8940ca3610ec1274 | [
"BSD-3-Clause"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.Records, name ="fRec"),
] | 18.333333 | 42 | 0.672727 | 14 | 110 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 6 | 43 | 18.333333 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 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 |
ed0ba1aa04531d363f3421c385e69a867b69168b | 2,949 | py | Python | saleor/dashboard/urls.py | Chaoslecion123/Diver | 8c5c493701422eada49cbf95b0b0add08f1ea561 | [
"BSD-3-Clause"
] | null | null | null | saleor/dashboard/urls.py | Chaoslecion123/Diver | 8c5c493701422eada49cbf95b0b0add08f1ea561 | [
"BSD-3-Clause"
] | null | null | null | saleor/dashboard/urls.py | Chaoslecion123/Diver | 8c5c493701422eada49cbf95b0b0add08f1ea561 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import include, url
from django.views.generic.base import TemplateView
from . import views as core_views
from .category.urls import urlpatterns as category_urls
from .collection.urls import urlpatterns as collection_urls
from .customer.urls import urlpatterns as customer_urls
from .discount.urls ... | 49.15 | 83 | 0.714819 | 389 | 2,949 | 5.254499 | 0.167095 | 0.117417 | 0.236301 | 0.258806 | 0.026419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120041 | 2,949 | 59 | 84 | 49.983051 | 0.787669 | 0.107833 | 0 | 0 | 0 | 0 | 0.08381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ed0d8ae3aab7a47853ec71583d13c54d255d0f51 | 2,430 | py | Python | gym_pcgrl/envs/reps/wide_3D_rep.py | JiangZehua/gym-pcgrl | 80ddbde173803e81060578c2c4167d8d1f5cacba | [
"MIT"
] | null | null | null | gym_pcgrl/envs/reps/wide_3D_rep.py | JiangZehua/gym-pcgrl | 80ddbde173803e81060578c2c4167d8d1f5cacba | [
"MIT"
] | null | null | null | gym_pcgrl/envs/reps/wide_3D_rep.py | JiangZehua/gym-pcgrl | 80ddbde173803e81060578c2c4167d8d1f5cacba | [
"MIT"
] | null | null | null | from gym_pcgrl.envs.reps.representation3D import Representation3D
from PIL import Image
from gym import spaces
import numpy as np
from gym_pcgrl.envs.probs.minecraft.mc_render import reps_3D_render
"""
The wide representation where the agent can pick the tile position and tile value at each update.
"""
class Wide3DRep... | 32.837838 | 101 | 0.671605 | 324 | 2,430 | 4.953704 | 0.308642 | 0.062305 | 0.048598 | 0.037383 | 0.404361 | 0.346417 | 0.346417 | 0.346417 | 0.346417 | 0.241745 | 0 | 0.01261 | 0.249383 | 2,430 | 73 | 102 | 33.287671 | 0.867325 | 0.023457 | 0 | 0 | 0 | 0 | 0.006006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.227273 | 0.136364 | 0.681818 | 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 |
ed15a4196531124a25ec9256f08c4c288fc464c6 | 1,784 | py | Python | test_molecule.py | zee93/molecule_parser | 42f5a3722d733ef9f7243bfa2b0b9a08c7bc5d23 | [
"MIT"
] | null | null | null | test_molecule.py | zee93/molecule_parser | 42f5a3722d733ef9f7243bfa2b0b9a08c7bc5d23 | [
"MIT"
] | null | null | null | test_molecule.py | zee93/molecule_parser | 42f5a3722d733ef9f7243bfa2b0b9a08c7bc5d23 | [
"MIT"
] | null | null | null | import unittest
from molecule import onize_formula, update_equation_with_multiplier, flaten_formula, parse_molecule
class MoleculeParserTestCases(unittest.TestCase):
def test_onizing_formulas(self):
self.assertEqual(onize_formula('H'), 'H1')
self.assertEqual(onize_formula('H2O'), 'H2O1')
... | 39.644444 | 100 | 0.669283 | 235 | 1,784 | 4.842553 | 0.268085 | 0.289982 | 0.166081 | 0.197715 | 0.480668 | 0.254833 | 0.151142 | 0.093146 | 0.093146 | 0.093146 | 0 | 0.055593 | 0.173206 | 1,784 | 44 | 101 | 40.545455 | 0.715932 | 0 | 0 | 0.058824 | 0 | 0 | 0.108744 | 0 | 0 | 0 | 0 | 0 | 0.647059 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.205882 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed1dd7ccddd4e92e0775574a201cc45ae9f018c0 | 57 | py | Python | kendall_w/__init__.py | ugolbck/KendallW | ace7c68d6c3c2dfcf6b3ee5fb3817240ed050c9b | [
"BSD-3-Clause"
] | 4 | 2020-03-28T13:42:58.000Z | 2021-04-05T12:45:25.000Z | kendall_w/__init__.py | ugolbck/KendallW | ace7c68d6c3c2dfcf6b3ee5fb3817240ed050c9b | [
"BSD-3-Clause"
] | null | null | null | kendall_w/__init__.py | ugolbck/KendallW | ace7c68d6c3c2dfcf6b3ee5fb3817240ed050c9b | [
"BSD-3-Clause"
] | 2 | 2020-08-05T03:36:43.000Z | 2020-09-09T00:33:06.000Z | from .kendall_w import compute_w
__version__ = (1, 0, 0) | 19 | 32 | 0.736842 | 10 | 57 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.157895 | 57 | 3 | 33 | 19 | 0.6875 | 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 |
ed50775b4eac2d767b8b5f1e618533d64da3321f | 1,882 | py | Python | CraftProtocol/NBT/NBTTagList.py | Toranktto/CraftProtocol | a6f4a67756c3868820ab76df5e148d76b020d990 | [
"MIT"
] | 21 | 2018-05-12T20:18:02.000Z | 2022-02-18T17:33:50.000Z | CraftProtocol/NBT/NBTTagList.py | Toranktto/CraftProtocol | a6f4a67756c3868820ab76df5e148d76b020d990 | [
"MIT"
] | 1 | 2018-06-23T09:13:39.000Z | 2018-06-27T01:22:27.000Z | CraftProtocol/NBT/NBTTagList.py | Toranktto/CraftProtocol | a6f4a67756c3868820ab76df5e148d76b020d990 | [
"MIT"
] | 2 | 2018-05-19T21:36:00.000Z | 2020-10-02T03:23:13.000Z | #!/usr/bin/env python
from CraftProtocol.NBT.NBTBase import NBTBase
from CraftProtocol.NBT.NBTProvider import NBTProvider
from CraftProtocol.StreamIO import StreamIO
class NBTTagList(NBTBase):
TYPE_ID = 0x09
def __init__(self, tag_type, values=None):
NBTBase.__init__(self)
if values is None... | 25.093333 | 88 | 0.643996 | 245 | 1,882 | 4.469388 | 0.220408 | 0.115068 | 0.090411 | 0.054795 | 0.150685 | 0.150685 | 0.150685 | 0.150685 | 0.122374 | 0.122374 | 0 | 0.002135 | 0.253454 | 1,882 | 74 | 89 | 25.432432 | 0.777224 | 0.010627 | 0 | 0.122449 | 0 | 0 | 0.020419 | 0 | 0 | 0 | 0.002149 | 0 | 0.061224 | 1 | 0.265306 | false | 0 | 0.061224 | 0.122449 | 0.510204 | 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 |
ed5085f9be9c98ff85fd3851495ed53a851d06cd | 25,960 | py | Python | examples/0b02b172-ad67-449b-b4a2-ff645b28c508.py | lapaniku/GAS | e49ce302689af683da744cd172e0359c0ba0af86 | [
"MIT"
] | 37 | 2021-12-12T17:36:24.000Z | 2022-03-12T15:46:56.000Z | examples/0b02b172-ad67-449b-b4a2-ff645b28c508.py | lapaniku/GAS | e49ce302689af683da744cd172e0359c0ba0af86 | [
"MIT"
] | 1 | 2021-12-19T12:39:10.000Z | 2021-12-19T12:39:10.000Z | examples/0b02b172-ad67-449b-b4a2-ff645b28c508.py | lapaniku/GAS | e49ce302689af683da744cd172e0359c0ba0af86 | [
"MIT"
] | 3 | 2021-12-17T17:29:35.000Z | 2022-03-12T15:26:49.000Z | # This program was generated by "Generative Art Synthesizer"
# Generation date: 2021-11-28 09:21:40 UTC
# GAS change date: 2021-11-28 09:20:21 UTC
# GAS md5 hash: ad55481e87ca5a7e9a8e92cd336d1cad
# Python version: 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]
# For more informat... | 64.9 | 346 | 0.689908 | 3,816 | 25,960 | 4.669025 | 0.211478 | 0.064826 | 0.088399 | 0.01145 | 0.135545 | 0.063535 | 0.037492 | 0.028512 | 0.023573 | 0.018409 | 0 | 0.536433 | 0.130894 | 25,960 | 399 | 347 | 65.062657 | 0.253258 | 0.022265 | 0 | 0.058496 | 1 | 0 | 0.002918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030641 | false | 0 | 0.008357 | 0 | 0.069638 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed6da0909e41c7d13eeccbce6856b66ed6774782 | 1,273 | py | Python | yudzuki/role.py | LunaProject-Discord/yudzuki.py | 7ff2d1f9e39ed5300a46c48fb95df50046814ede | [
"MIT"
] | 6 | 2021-04-29T12:48:55.000Z | 2021-06-25T06:54:37.000Z | yudzuki/role.py | LunaProject-Discord/yudzuki.py | 7ff2d1f9e39ed5300a46c48fb95df50046814ede | [
"MIT"
] | null | null | null | yudzuki/role.py | LunaProject-Discord/yudzuki.py | 7ff2d1f9e39ed5300a46c48fb95df50046814ede | [
"MIT"
] | null | null | null | __all__ = (
"Role",
)
class Role:
def __init__(self, data):
self.data = data
self._update(data)
def _get_json(self):
return self.data
def __repr__(self):
return (
f"<Role id={self.id} name={self.name}>"
)
def __str__(self):
... | 19.584615 | 51 | 0.531815 | 136 | 1,273 | 4.683824 | 0.176471 | 0.172684 | 0.197802 | 0.050235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358995 | 1,273 | 64 | 52 | 19.890625 | 0.780637 | 0 | 0 | 0.2 | 0 | 0 | 0.080911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26 | false | 0 | 0 | 0.22 | 0.5 | 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 |
ed79d1c413293473a8ee91b105de6df7218762d5 | 1,865 | py | Python | var/spack/repos/builtin/packages/r-multicool/package.py | varioustoxins/spack | cab0e4cb240f34891a6d753f3393e512f9a99e9a | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | var/spack/repos/builtin/packages/r-multicool/package.py | varioustoxins/spack | cab0e4cb240f34891a6d753f3393e512f9a99e9a | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 6 | 2022-01-08T08:41:11.000Z | 2022-03-14T19:28:07.000Z | var/spack/repos/builtin/packages/r-multicool/package.py | foeroyingur/spack | 5300cbbb2e569190015c72d0970d25425ea38647 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RMulticool(RPackage):
"""Permutations of multisets in cool-lex order
A set of tools t... | 51.805556 | 97 | 0.759249 | 254 | 1,865 | 5.562992 | 0.566929 | 0.036093 | 0.023355 | 0.038217 | 0.085633 | 0.070771 | 0.070771 | 0.070771 | 0.070771 | 0.070771 | 0 | 0.084444 | 0.155496 | 1,865 | 35 | 98 | 53.285714 | 0.812698 | 0.659517 | 0 | 0 | 0 | 0.25 | 0.637809 | 0.226148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ed87f843694726a8943e8ca3120951277107fd9a | 108,939 | gyp | Python | net/net.gyp | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/net.gyp | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/net.gyp | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:25:45.000Z | 2020-11-04T07:25:45.000Z | # Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
'linux_link_kerberos%': 0,
'conditions': [
['chromeos==1 or OS=="android" or OS=="ios"', {
... | 39.074247 | 106 | 0.589587 | 12,482 | 108,939 | 4.75701 | 0.061368 | 0.04362 | 0.015326 | 0.022904 | 0.747495 | 0.566634 | 0.395742 | 0.303468 | 0.259595 | 0.232447 | 0 | 0.006844 | 0.279707 | 108,939 | 2,787 | 107 | 39.088267 | 0.74986 | 0.036103 | 0 | 0.395357 | 0 | 0.001474 | 0.633089 | 0.544995 | 0 | 0 | 0 | 0.000359 | 0 | 1 | 0 | true | 0.001105 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
71eb4d213edb33b0bf4b80a95a7ac788fefb3194 | 892 | py | Python | char_map.py | rakib313/Bangla-End2End-Speech-Recognition | 67e776841bf2bb3f108e94d0567dc707497605ff | [
"MIT"
] | null | null | null | char_map.py | rakib313/Bangla-End2End-Speech-Recognition | 67e776841bf2bb3f108e94d0567dc707497605ff | [
"MIT"
] | null | null | null | char_map.py | rakib313/Bangla-End2End-Speech-Recognition | 67e776841bf2bb3f108e94d0567dc707497605ff | [
"MIT"
] | null | null | null | """
Defines two dictionaries for converting
between text and integer sequences.
"""
char_map_str = """
' 0
<SPACE> 1
ব 2
া 3
ং 4
ল 5
দ 6
ে 7
শ 8
য 9
় 10
ি 11
ত 12
্ 13
ন 14
এ 15
ধ 16
র 17
ণ 18
ক 19
ড 20
হ 21
উ 22
প 23
জ 24
অ 25
থ 26
স 27
ষ 28
ই 29
আ 30
ছ 31
গ 32
ু 33
ো 34
ও 35
ভ 36
ী 37
ট 38
ূ 39
ম 40
ৈ 41
ৃ 42
ঙ 4... | 7.023622 | 45 | 0.600897 | 273 | 892 | 2 | 0.857143 | 0.051282 | 0.03663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.397373 | 0.317265 | 892 | 127 | 46 | 7.023622 | 0.46798 | 0.128924 | 0 | 0 | 0 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
71f8c70583f9e40977155faf528bc04d31d42d94 | 123 | py | Python | EX025.py | gjaosdij/PythonProject | ae27990efa93462b632f165d13c08c7fd93beb38 | [
"MIT"
] | null | null | null | EX025.py | gjaosdij/PythonProject | ae27990efa93462b632f165d13c08c7fd93beb38 | [
"MIT"
] | null | null | null | EX025.py | gjaosdij/PythonProject | ae27990efa93462b632f165d13c08c7fd93beb38 | [
"MIT"
] | null | null | null | print('Digite seu nome completo: ')
nome = input().strip().upper()
print('Seu nome tem "Silva"?')
print('SILVA' in nome)
| 17.571429 | 35 | 0.658537 | 18 | 123 | 4.5 | 0.611111 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 6 | 36 | 20.5 | 0.764151 | 0 | 0 | 0 | 0 | 0 | 0.422764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9c0a5c02779cee26231b6b416177aadae209d132 | 83 | py | Python | torch_geometric/nn/unpool/__init__.py | mwussow/pytorch_geometric | 01c68f9b58c94d9efd1f6e39b9c85177aae521bb | [
"MIT"
] | 13 | 2019-11-07T02:57:41.000Z | 2021-12-28T08:19:56.000Z | torch_geometric/nn/unpool/__init__.py | mwussow/pytorch_geometric | 01c68f9b58c94d9efd1f6e39b9c85177aae521bb | [
"MIT"
] | 3 | 2019-10-30T20:20:27.000Z | 2022-03-12T22:56:11.000Z | torch_geometric/nn/unpool/__init__.py | mwussow/pytorch_geometric | 01c68f9b58c94d9efd1f6e39b9c85177aae521bb | [
"MIT"
] | 3 | 2020-10-19T02:53:20.000Z | 2022-01-31T04:31:02.000Z | from .knn_interpolate import knn_interpolate
__all__ = [
'knn_interpolate',
]
| 13.833333 | 44 | 0.746988 | 9 | 83 | 6.111111 | 0.555556 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 5 | 45 | 16.6 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c12bc71f759e734d137bff21cddbea3b1e6369f | 90 | py | Python | regtests/calling/function_expression.py | bpmbank/PythonJS | 591a80afd8233fb715493591db2b68f1748558d9 | [
"BSD-3-Clause"
] | 319 | 2015-01-02T11:34:16.000Z | 2022-03-25T00:43:33.000Z | regtests/calling/function_expression.py | bpmbank/PythonJS | 591a80afd8233fb715493591db2b68f1748558d9 | [
"BSD-3-Clause"
] | 10 | 2015-02-03T02:33:09.000Z | 2021-11-09T21:41:00.000Z | regtests/calling/function_expression.py | bpmbank/PythonJS | 591a80afd8233fb715493591db2b68f1748558d9 | [
"BSD-3-Clause"
] | 61 | 2015-01-02T12:01:56.000Z | 2021-12-08T07:16:16.000Z | """func expr"""
F = function( x,y ):
return x+y
def main():
TestError( F(1,2) == 3 )
| 10 | 25 | 0.522222 | 16 | 90 | 2.9375 | 0.8125 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.233333 | 90 | 8 | 26 | 11.25 | 0.637681 | 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 |
9c17deaa4c71e1a4a4c819492abf40341d7c1817 | 629 | py | Python | helpers/time_utils.py | mandalorian-101/badger-system | 2b0ee9bd77a2cc6f875b9b984ae4dfe713bbc55c | [
"MIT"
] | null | null | null | helpers/time_utils.py | mandalorian-101/badger-system | 2b0ee9bd77a2cc6f875b9b984ae4dfe713bbc55c | [
"MIT"
] | null | null | null | helpers/time_utils.py | mandalorian-101/badger-system | 2b0ee9bd77a2cc6f875b9b984ae4dfe713bbc55c | [
"MIT"
] | null | null | null | import datetime
ONE_MINUTE = 60
ONE_HOUR = 3600
ONE_DAY = 24 * ONE_HOUR
ONE_YEAR = 1 * 365 * ONE_DAY
def days(days):
return int(days * 86400.0)
def hours(hours):
return int(hours * 3600.0)
def minutes(minutes):
return int(minutes * 60.0)
def to_utc_date(timestamp):
return datetime.datetime.utcfro... | 18.5 | 87 | 0.702703 | 95 | 629 | 4.494737 | 0.347368 | 0.058548 | 0.154567 | 0.175644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05029 | 0.17806 | 629 | 34 | 88 | 18.5 | 0.775629 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.045455 | 0.318182 | 0.772727 | 0.045455 | 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 |
9c2757bc39980fb41a4822e37ad9596b865f8c2a | 24 | py | Python | nima/models/productos/constants.py | erichav/NIMA | 6ca845047e2d1764f07af76bfbbed9f1a82bc10f | [
"MIT"
] | null | null | null | nima/models/productos/constants.py | erichav/NIMA | 6ca845047e2d1764f07af76bfbbed9f1a82bc10f | [
"MIT"
] | null | null | null | nima/models/productos/constants.py | erichav/NIMA | 6ca845047e2d1764f07af76bfbbed9f1a82bc10f | [
"MIT"
] | 1 | 2018-11-18T03:58:53.000Z | 2018-11-18T03:58:53.000Z | COLLECTION = 'productos' | 24 | 24 | 0.791667 | 2 | 24 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.36 | 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 |
9c2b5cff1157d02c2e830e9f89af05add8167ae9 | 247,996 | py | Python | Python/4 kyu/Snail/test_snail.py | newtonsspawn/codewars_challenges | 62b20d4e729c8ba79eac7cae6a179af57abd45d4 | [
"MIT"
] | 3 | 2020-05-29T23:29:35.000Z | 2021-08-12T03:16:44.000Z | Python/4 kyu/Snail/test_snail.py | newtonsspawn/codewars_challenges | 62b20d4e729c8ba79eac7cae6a179af57abd45d4 | [
"MIT"
] | null | null | null | Python/4 kyu/Snail/test_snail.py | newtonsspawn/codewars_challenges | 62b20d4e729c8ba79eac7cae6a179af57abd45d4 | [
"MIT"
] | 3 | 2020-05-22T12:14:55.000Z | 2021-04-15T12:52:42.000Z | from unittest import TestCase
from snail import snail
class TestSnail(TestCase):
def test_snail_001(self):
self.assertEqual(snail([[]]), [])
def test_snail_002(self):
self.assertEqual(snail([[1]]), [1])
def test_snail_003(self):
self.assertEqual(snail([[1, 2, 3], [4... | 69.447214 | 80 | 0.361711 | 30,427 | 247,996 | 2.941236 | 0.036481 | 0.008213 | 0.014079 | 0.028159 | 0.280916 | 0.260166 | 0.244678 | 0.227448 | 0.211648 | 0.190216 | 0 | 0.69859 | 0.505649 | 247,996 | 3,570 | 81 | 69.466667 | 0.031387 | 0 | 0 | 0.011265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030329 | 1 | 0.030329 | false | 0 | 0.000578 | 0 | 0.031196 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c2f576718895138632a90d08831ce15358276a1 | 147 | py | Python | app/core/utils.py | yayunl/llfselfhelp | 55994003ad51e1664a733c84ed6afcb9f28b6499 | [
"MIT"
] | null | null | null | app/core/utils.py | yayunl/llfselfhelp | 55994003ad51e1664a733c84ed6afcb9f28b6499 | [
"MIT"
] | 4 | 2021-04-08T21:37:08.000Z | 2021-09-22T19:31:17.000Z | app/core/utils.py | yayunl/llfselfhelp | 55994003ad51e1664a733c84ed6afcb9f28b6499 | [
"MIT"
] | null | null | null | from django.views.generic import \
UpdateView as BaseUpdateView
class UpdateView(BaseUpdateView):
template_name_suffix = '_form_update'
| 18.375 | 41 | 0.782313 | 16 | 147 | 6.9375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156463 | 147 | 7 | 42 | 21 | 0.895161 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9c39ca309133fbcd82d6b8365784a041e4f82e97 | 1,391 | py | Python | sklearn/utils/_bunch.py | jlopezNEU/scikit-learn | 593495eebc3c2f2ffdb244036adf57fab707a47d | [
"BSD-3-Clause"
] | 3 | 2021-09-16T14:23:46.000Z | 2022-01-02T22:45:15.000Z | sklearn/utils/_bunch.py | jlopezNEU/scikit-learn | 593495eebc3c2f2ffdb244036adf57fab707a47d | [
"BSD-3-Clause"
] | 11 | 2019-11-15T04:21:29.000Z | 2022-03-15T03:11:29.000Z | sklearn/utils/_bunch.py | jlopezNEU/scikit-learn | 593495eebc3c2f2ffdb244036adf57fab707a47d | [
"BSD-3-Clause"
] | 4 | 2019-11-13T15:04:46.000Z | 2021-12-23T17:50:16.000Z | class Bunch(dict):
"""Container object exposing keys as attributes.
Bunch objects are sometimes used as an output for functions and methods.
They extend dictionaries by enabling values to be accessed by key,
`bunch["value_key"]`, or by an attribute, `bunch.value_key`.
Examples
--------
>>>... | 28.387755 | 76 | 0.599569 | 183 | 1,391 | 4.306011 | 0.568306 | 0.035533 | 0.011421 | 0.010152 | 0.011421 | 0.011421 | 0 | 0 | 0 | 0 | 0 | 0.018219 | 0.28972 | 1,391 | 48 | 77 | 28.979167 | 0.779352 | 0.601725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.071429 | 0 | 0.071429 | 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 |
9c47e111b35b005c12b173bba50fdccaf56fa07f | 742 | py | Python | setup.py | jtauber/greek-utils | 1da19a5a784c4dac9d205ae1afdc5516ddcae9b4 | [
"MIT"
] | 13 | 2016-01-18T00:39:20.000Z | 2019-12-13T12:55:28.000Z | setup.py | jtauber/greek-utils | 1da19a5a784c4dac9d205ae1afdc5516ddcae9b4 | [
"MIT"
] | 2 | 2016-11-01T01:11:22.000Z | 2016-12-24T05:33:06.000Z | setup.py | jtauber/greek-utils | 1da19a5a784c4dac9d205ae1afdc5516ddcae9b4 | [
"MIT"
] | 5 | 2016-01-17T21:28:16.000Z | 2018-08-03T22:04:05.000Z | from setuptools import setup
setup(
name="greek-utils",
version="0.2",
description="various utilities for processing Ancient Greek",
license="MIT",
url="http://github.com/jtauber/greek-utils",
author="James Tauber",
author_email="jtauber@jtauber.com",
packages=["greekutils"],
classi... | 30.916667 | 65 | 0.598383 | 76 | 742 | 5.828947 | 0.592105 | 0.171558 | 0.225734 | 0.234763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019749 | 0.249326 | 742 | 23 | 66 | 32.26087 | 0.775583 | 0 | 0 | 0 | 0 | 0 | 0.590297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.045455 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c62aef1446638f9fa0188683ca923feaaa75706 | 408 | py | Python | imread/tests/test_bmp.py | luispedro/imread | 7960b744623fe03e6d968893a539bca969715860 | [
"MIT"
] | 51 | 2015-01-09T14:07:37.000Z | 2022-03-03T13:54:30.000Z | imread/tests/test_bmp.py | luispedro/imread | 7960b744623fe03e6d968893a539bca969715860 | [
"MIT"
] | 16 | 2015-08-09T13:40:44.000Z | 2020-04-14T10:01:41.000Z | imread/tests/test_bmp.py | luispedro/imread | 7960b744623fe03e6d968893a539bca969715860 | [
"MIT"
] | 15 | 2015-05-22T10:41:52.000Z | 2021-05-03T11:11:59.000Z | import numpy as np
from imread import imread
from . import file_path
def test_read():
im = imread(file_path('star1.bmp'))
assert np.any(im)
assert im.shape == (128, 128, 3)
def test_indexed():
im = imread(file_path('py-installer-indexed.bmp'))
assert np.any(im)
assert im.shape == (352, 162, 3)... | 24 | 54 | 0.622549 | 67 | 408 | 3.716418 | 0.402985 | 0.160643 | 0.220884 | 0.261044 | 0.232932 | 0.232932 | 0.232932 | 0.232932 | 0 | 0 | 0 | 0.055215 | 0.20098 | 408 | 16 | 55 | 25.5 | 0.708589 | 0 | 0 | 0.142857 | 0 | 0 | 0.080882 | 0.058824 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.142857 | false | 0 | 0.214286 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c68432891ca359406f39890007723907fdc1968 | 4,181 | py | Python | test_app/settings.py | Lenders-Cooperative/Django-DocuSign | 676d966065f6e1e64e1f0db9b7691b9f0c5d73a5 | [
"BSD-3-Clause"
] | null | null | null | test_app/settings.py | Lenders-Cooperative/Django-DocuSign | 676d966065f6e1e64e1f0db9b7691b9f0c5d73a5 | [
"BSD-3-Clause"
] | null | null | null | test_app/settings.py | Lenders-Cooperative/Django-DocuSign | 676d966065f6e1e64e1f0db9b7691b9f0c5d73a5 | [
"BSD-3-Clause"
] | 2 | 2021-12-03T19:40:35.000Z | 2021-12-03T19:47:59.000Z | #
# Created on Tue Dec 21 2021
#
# Copyright (c) 2021 Lenders Cooperative, a division of Summit Technology Group, Inc.
#
"""
Django settings for test_app project.
Generated by 'django-admin startproject' using Django 3.1.7.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
... | 27.326797 | 91 | 0.708443 | 482 | 4,181 | 5.977178 | 0.421162 | 0.067685 | 0.053454 | 0.060743 | 0.185699 | 0.166262 | 0.092676 | 0.092676 | 0.041652 | 0 | 0 | 0.015977 | 0.161684 | 4,181 | 152 | 92 | 27.506579 | 0.805991 | 0.261182 | 0 | 0 | 1 | 0.010989 | 0.54002 | 0.417184 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.065934 | 0.021978 | 0 | 0.021978 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9c69f20de39f2f2cbc5461ca8a9902a34b2bc1f3 | 165 | py | Python | devopsipy/decorators.py | kharnam/devopsipy | c3379b1dd5f66e71c826045afde1702030e495d4 | [
"MIT"
] | null | null | null | devopsipy/decorators.py | kharnam/devopsipy | c3379b1dd5f66e71c826045afde1702030e495d4 | [
"MIT"
] | 2 | 2018-10-31T01:43:42.000Z | 2018-10-31T02:05:55.000Z | devopsipy/decorators.py | kharnam/devopsipy | c3379b1dd5f66e71c826045afde1702030e495d4 | [
"MIT"
] | null | null | null | """
Module to contain Pywork decorators
"""
__author__ = 'sergey kharnam'
import re
import time
import itertools
import logging
log = logging.getLogger(__name__)
| 12.692308 | 35 | 0.769697 | 20 | 165 | 5.95 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 165 | 12 | 36 | 13.75 | 0.85 | 0.212121 | 0 | 0 | 0 | 0 | 0.114754 | 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 | 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 |
9c6fcb64c497c5bc80d5ed65052770cfc9db0316 | 156 | py | Python | env.example.py | wilcoln/klazor | 8f3c40a03a7e61c07eceb6cdbe4d1bb05693727e | [
"MIT"
] | 8 | 2020-01-18T09:33:51.000Z | 2020-01-19T10:47:51.000Z | env.example.py | wilcoln/klazor | 8f3c40a03a7e61c07eceb6cdbe4d1bb05693727e | [
"MIT"
] | 8 | 2019-08-09T03:54:44.000Z | 2022-02-12T16:55:51.000Z | env.example.py | wilcoln/klazor | 8f3c40a03a7e61c07eceb6cdbe4d1bb05693727e | [
"MIT"
] | null | null | null | DATABASE_OPTIONS = {
'database': 'klazor',
'user': 'root',
'password': '',
'charset': 'utf8mb4',
}
HOSTS = ['127.0.0.1', '67.209.115.211']
| 17.333333 | 39 | 0.525641 | 18 | 156 | 4.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154472 | 0.211538 | 156 | 8 | 40 | 19.5 | 0.504065 | 0 | 0 | 0 | 0 | 0 | 0.429487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9c70026f65fce93a4cf97730e00fb2afc1c7f5b5 | 818 | py | Python | misc/_local_settings.py | lzantal/djskell | cef71bab8a4dd163b632128666c315e228cc8f0f | [
"MIT"
] | 4 | 2018-08-06T19:18:03.000Z | 2019-09-26T14:52:01.000Z | misc/_local_settings.py | lzantal/djskell | cef71bab8a4dd163b632128666c315e228cc8f0f | [
"MIT"
] | 2 | 2018-08-06T19:17:57.000Z | 2020-02-12T22:59:40.000Z | misc/_local_settings.py | lzantal/djskell | cef71bab8a4dd163b632128666c315e228cc8f0f | [
"MIT"
] | null | null | null | """
Django settings.
Generated by 'django-admin startproject' using Django 2.2.4.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
#DEBUG = False
DEBUG = True
SERV... | 24.058824 | 64 | 0.640587 | 102 | 818 | 5.117647 | 0.588235 | 0.091954 | 0.10728 | 0.168582 | 0.17433 | 0.122605 | 0.122605 | 0.122605 | 0 | 0 | 0 | 0.03177 | 0.191932 | 818 | 33 | 65 | 24.787879 | 0.757943 | 0.581907 | 0 | 0 | 1 | 0 | 0.344512 | 0.088415 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9c7c6f724eb34b62e9ef21f46c99bd86675f4bf5 | 295 | py | Python | mixin.py | delimatorres/foodbasket | 2f043d713337581be2165259cdbba4e4a24b656b | [
"Apache-2.0"
] | null | null | null | mixin.py | delimatorres/foodbasket | 2f043d713337581be2165259cdbba4e4a24b656b | [
"Apache-2.0"
] | null | null | null | mixin.py | delimatorres/foodbasket | 2f043d713337581be2165259cdbba4e4a24b656b | [
"Apache-2.0"
] | null | null | null | import signal
class KillableProcess(object):
def __init__(self):
self.interrupt = False
signal.signal(signal.SIGTERM, self._signal_handler)
signal.signal(signal.SIGINT, self._signal_handler)
def _signal_handler(self, sign, frame):
self.interrupt = True | 26.818182 | 59 | 0.698305 | 34 | 295 | 5.764706 | 0.470588 | 0.244898 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210169 | 295 | 11 | 60 | 26.818182 | 0.841202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 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 |
9c7f2a0eaaf692b24bd48b78aa80933467348c66 | 80 | py | Python | uts/uts_17_aut_py/2/A.py | viad00/code_olymp | 90f20f9fd075e8967d02baf7554fcf24f4ae089c | [
"MIT"
] | null | null | null | uts/uts_17_aut_py/2/A.py | viad00/code_olymp | 90f20f9fd075e8967d02baf7554fcf24f4ae089c | [
"MIT"
] | null | null | null | uts/uts_17_aut_py/2/A.py | viad00/code_olymp | 90f20f9fd075e8967d02baf7554fcf24f4ae089c | [
"MIT"
] | null | null | null | ser = int(input())
mas = list(map(int, input().split()))
mas.sort()
print(*mas)
| 16 | 37 | 0.6125 | 13 | 80 | 3.769231 | 0.692308 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 4 | 38 | 20 | 0.690141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c7f78a252c83665660e04bc5a8e1cea157db269 | 1,415 | py | Python | esque_wire/protocol/serializers/api/elect_preferred_leaders_request.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | null | null | null | esque_wire/protocol/serializers/api/elect_preferred_leaders_request.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | 7 | 2019-11-26T08:19:49.000Z | 2021-03-15T14:27:47.000Z | esque_wire/protocol/serializers/api/elect_preferred_leaders_request.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | null | null | null | ###############################################################
# Autogenerated module. Please don't modify. #
# Edit according file in protocol_generator/templates instead #
###############################################################
from typing import Dict
from ...structs.api.elect_preferred_le... | 41.617647 | 109 | 0.733569 | 99 | 1,415 | 10.393939 | 0.494949 | 0.027211 | 0.025267 | 0.027211 | 0.083576 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01018 | 0.097527 | 1,415 | 33 | 110 | 42.878788 | 0.795615 | 0.084806 | 0 | 0 | 1 | 0 | 0.036973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
92bcea551d4afd1053bbca8f841cc813051b6539 | 484 | py | Python | apps/extensions/migrations/0012_imports_path_urlfield_to_charfield.py | StepicOrg/stepik-apps | 5825bc9b2444ad4690681964d1bed172706f8796 | [
"Apache-2.0"
] | 5 | 2017-03-17T10:01:25.000Z | 2018-03-23T05:56:25.000Z | apps/extensions/migrations/0012_imports_path_urlfield_to_charfield.py | StepicOrg/stepik-apps | 5825bc9b2444ad4690681964d1bed172706f8796 | [
"Apache-2.0"
] | 4 | 2020-06-05T17:34:05.000Z | 2021-04-19T12:58:48.000Z | apps/extensions/migrations/0012_imports_path_urlfield_to_charfield.py | StepicOrg/stepik-apps | 5825bc9b2444ad4690681964d1bed172706f8796 | [
"Apache-2.0"
] | 2 | 2017-03-21T13:01:28.000Z | 2017-04-27T14:33:20.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-06-09 03:01
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('extensions', '0011_auto_20170502_0908'),
]
operations = [
migrations.AlterF... | 23.047619 | 71 | 0.630165 | 53 | 484 | 5.54717 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 0.25 | 484 | 20 | 72 | 24.2 | 0.710744 | 0.140496 | 0 | 0 | 1 | 0 | 0.150121 | 0.05569 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
92c39bcd73eb7b9f3010061b7c3106141036133d | 111 | py | Python | Coursera/Python for Everybody Specialization/Python for everybody basics/hourly rate.py | ejgarcia1991/Courses-and-other-non-professional-projects | 94794dd1d6cf626de174330311e3fde4d10cd460 | [
"MIT"
] | 1 | 2021-02-19T22:33:55.000Z | 2021-02-19T22:33:55.000Z | Coursera/Python for Everybody Specialization/Python for everybody basics/hourly rate.py | ejgarcia1991/Courses-and-other-non-professional-projects | 94794dd1d6cf626de174330311e3fde4d10cd460 | [
"MIT"
] | null | null | null | Coursera/Python for Everybody Specialization/Python for everybody basics/hourly rate.py | ejgarcia1991/Courses-and-other-non-professional-projects | 94794dd1d6cf626de174330311e3fde4d10cd460 | [
"MIT"
] | null | null | null | hrs = input("Enter Hours:")
rate = input("Enter rate:")
pay = float(hrs) * float(rate)
print("Pay: " +str(pay)) | 27.75 | 30 | 0.630631 | 17 | 111 | 4.117647 | 0.529412 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 111 | 4 | 31 | 27.75 | 0.729167 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
92d06ca78c4166453aab94fc3bfe5663b950cc53 | 261 | py | Python | XMLHttpRequest/resources/shift-jis-html.py | watilde/web-platform-tests | 97e16bef6d6599ae805521e2007a9430a12aa144 | [
"BSD-3-Clause"
] | 4 | 2020-09-09T15:28:01.000Z | 2021-12-01T00:59:56.000Z | XMLHttpRequest/resources/shift-jis-html.py | watilde/web-platform-tests | 97e16bef6d6599ae805521e2007a9430a12aa144 | [
"BSD-3-Clause"
] | 1 | 2021-03-31T20:23:55.000Z | 2021-03-31T20:23:55.000Z | XMLHttpRequest/resources/shift-jis-html.py | watilde/web-platform-tests | 97e16bef6d6599ae805521e2007a9430a12aa144 | [
"BSD-3-Clause"
] | 1 | 2020-03-31T17:20:54.000Z | 2020-03-31T17:20:54.000Z | def main(request, response):
headers = [("Content-type", "text/html;charset=shift-jis")]
# Shift-JIS bytes for katakana TE SU TO ('test')
content = chr(0x83) + chr(0x65) + chr(0x83) + chr(0x58) + chr(0x83) + chr(0x67);
return headers, content
| 37.285714 | 85 | 0.636015 | 37 | 261 | 4.486486 | 0.675676 | 0.126506 | 0.180723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085308 | 0.191571 | 261 | 6 | 86 | 43.5 | 0.701422 | 0.176245 | 0 | 0 | 0 | 0 | 0.183099 | 0.126761 | 0 | 0 | 0.112676 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
92dadd375392924dd104471b2991098481772c78 | 132 | py | Python | mspray/apps/reveal/__init__.py | onaio/mspray | b3e0f4b5855abbf0298de6b66f2e9f472f2bf838 | [
"Apache-2.0"
] | null | null | null | mspray/apps/reveal/__init__.py | onaio/mspray | b3e0f4b5855abbf0298de6b66f2e9f472f2bf838 | [
"Apache-2.0"
] | 76 | 2018-03-15T09:37:56.000Z | 2019-05-15T12:45:51.000Z | mspray/apps/reveal/__init__.py | onaio/mspray | b3e0f4b5855abbf0298de6b66f2e9f472f2bf838 | [
"Apache-2.0"
] | 1 | 2020-10-31T07:15:22.000Z | 2020-10-31T07:15:22.000Z | """init module for reveal app"""
# pylint: disable=invalid-name
default_app_config = "mspray.apps.reveal.apps.RevealConfig" # noqa
| 33 | 67 | 0.757576 | 18 | 132 | 5.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 3 | 68 | 44 | 0.830508 | 0.462121 | 0 | 0 | 0 | 0 | 0.5625 | 0.5625 | 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 |
130f1aca25388c2ce8dd308d2bb872e5263f8305 | 140 | py | Python | Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 01/Exercicio_16.py | c4st1lh0/Projetos-de-Aula | e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302 | [
"MIT"
] | null | null | null | Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 01/Exercicio_16.py | c4st1lh0/Projetos-de-Aula | e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302 | [
"MIT"
] | null | null | null | Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 01/Exercicio_16.py | c4st1lh0/Projetos-de-Aula | e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302 | [
"MIT"
] | null | null | null | import math
num = float(input('Digite um numero real qualquer: '))
print('O numero: {} tem a parte inteira {}'.format(num, math.trunc(num))) | 46.666667 | 73 | 0.7 | 22 | 140 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 140 | 3 | 73 | 46.666667 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.475177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
131a15a3a8feaf503c53fb7ce15a6a9a4850f413 | 37,988 | py | Python | mfem/_par/gridfunc.py | mfem/PyMFEM | b7b7c3d3de1082eac1015e3a313cf513db06fd7b | [
"BSD-3-Clause"
] | 93 | 2017-03-01T16:45:33.000Z | 2022-03-27T22:10:33.000Z | mfem/_par/gridfunc.py | mfem/PyMFEM | b7b7c3d3de1082eac1015e3a313cf513db06fd7b | [
"BSD-3-Clause"
] | 64 | 2017-03-15T21:47:31.000Z | 2022-03-31T23:59:00.000Z | mfem/_par/gridfunc.py | mfem/PyMFEM | b7b7c3d3de1082eac1015e3a313cf513db06fd7b | [
"BSD-3-Clause"
] | 32 | 2017-03-02T22:13:38.000Z | 2022-03-26T13:09:31.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise Runtime... | 49.335065 | 201 | 0.740076 | 3,960 | 37,988 | 6.804545 | 0.095707 | 0.112818 | 0.04676 | 0.065464 | 0.502672 | 0.400913 | 0.234692 | 0.196207 | 0.152898 | 0.12436 | 0 | 0.004659 | 0.169475 | 37,988 | 769 | 202 | 49.39922 | 0.849414 | 0.352585 | 0 | 0.060976 | 1 | 0 | 0.00931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20935 | false | 0 | 0.077236 | 0.002033 | 0.70122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
132bcf51e26ca1f03ed60b32fc0ad65159783864 | 107 | py | Python | examples/catapi/feeder.py | IniZio/py-skygear | 88479678f91e678fd931c28295189bfea2148c79 | [
"Apache-2.0"
] | 8 | 2016-06-24T03:26:45.000Z | 2018-05-12T09:06:33.000Z | examples/catapi/feeder.py | IniZio/py-skygear | 88479678f91e678fd931c28295189bfea2148c79 | [
"Apache-2.0"
] | 183 | 2016-03-23T08:03:28.000Z | 2018-08-14T05:49:45.000Z | examples/catapi/feeder.py | IniZio/py-skygear | 88479678f91e678fd931c28295189bfea2148c79 | [
"Apache-2.0"
] | 24 | 2016-03-21T02:39:39.000Z | 2020-09-17T12:28:58.000Z | def pick_food(name):
if name == "chima":
return "chicken"
else:
return "dry food"
| 15.285714 | 25 | 0.53271 | 13 | 107 | 4.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345794 | 107 | 6 | 26 | 17.833333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
133ed5289cb6b6aa42d9780aa225db43b59d7e06 | 154 | py | Python | HelloWorldPython/IfStatements.py | SamIge7/Tutorials | 7a3361768432a6493313d1f0ea1ccc8b2b916aa2 | [
"MIT"
] | null | null | null | HelloWorldPython/IfStatements.py | SamIge7/Tutorials | 7a3361768432a6493313d1f0ea1ccc8b2b916aa2 | [
"MIT"
] | null | null | null | HelloWorldPython/IfStatements.py | SamIge7/Tutorials | 7a3361768432a6493313d1f0ea1ccc8b2b916aa2 | [
"MIT"
] | null | null | null | hasGoodCredit = True
price = 1000000
deposit = 0
if hasGoodCredit:
deposit = price/10
else:
deposit = price/5
print(f"Deposit needed: £{deposit}") | 19.25 | 36 | 0.707792 | 21 | 154 | 5.238095 | 0.666667 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087302 | 0.181818 | 154 | 8 | 36 | 19.25 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.167742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 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 |
13427c6b2da4367eae23b3d65430a2f826b58232 | 106,827 | py | Python | obswebsocket/requests.py | PanBartosz/obs-websocket-py | e92960a475d3f1096a4ea41763cbc776b23f0a37 | [
"MIT"
] | 123 | 2017-06-19T05:34:58.000Z | 2022-03-23T12:48:19.000Z | obswebsocket/requests.py | PanBartosz/obs-websocket-py | e92960a475d3f1096a4ea41763cbc776b23f0a37 | [
"MIT"
] | 67 | 2017-06-20T11:31:08.000Z | 2022-03-25T20:30:41.000Z | obswebsocket/requests.py | PanBartosz/obs-websocket-py | e92960a475d3f1096a4ea41763cbc776b23f0a37 | [
"MIT"
] | 51 | 2017-10-09T19:03:12.000Z | 2022-03-28T19:25:02.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# THIS FILE WAS GENERATED BY generate_classes.py - DO NOT EDIT #
# (Generated on 2020-12-20 18:26:33.661372) #
from .base_classes import Baserequests
class GetVersion(Baserequests):
"""Returns the latest version of the plugin and the API.
:Returns:
*vers... | 29.682412 | 417 | 0.601075 | 11,295 | 106,827 | 5.570075 | 0.092253 | 0.049592 | 0.034714 | 0.049592 | 0.521458 | 0.443733 | 0.362686 | 0.318419 | 0.260149 | 0.206631 | 0 | 0.003246 | 0.307797 | 106,827 | 3,598 | 418 | 29.690661 | 0.847564 | 0.508869 | 0 | 0.384283 | 1 | 0 | 0.141892 | 0.016215 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240069 | false | 0 | 0.000864 | 0.134715 | 0.481002 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
1351156463c6a25e82b73e57ee20368b3d832d46 | 2,017 | py | Python | app/grandchallenge/challenges/migrations/0023_auto_20200123_1102.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | 1 | 2021-02-09T10:30:44.000Z | 2021-02-09T10:30:44.000Z | app/grandchallenge/challenges/migrations/0023_auto_20200123_1102.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | null | null | null | app/grandchallenge/challenges/migrations/0023_auto_20200123_1102.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.2 on 2020-01-23 11:02
import re
import django.contrib.postgres.fields.citext
import django.core.validators
from django.db import migrations
import grandchallenge.challenges.models
class Migration(migrations.Migration):
dependencies = [
("challenges", "0022_auto_20200121_1639"... | 36.017857 | 103 | 0.543877 | 182 | 2,017 | 5.923077 | 0.434066 | 0.050093 | 0.139147 | 0.141002 | 0.715213 | 0.684601 | 0.684601 | 0.684601 | 0.684601 | 0.684601 | 0 | 0.030374 | 0.363411 | 2,017 | 55 | 104 | 36.672727 | 0.80919 | 0.02231 | 0 | 0.723404 | 1 | 0 | 0.209645 | 0.011675 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.106383 | 0 | 0.170213 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1354ab456ba9280a4363560bf56997305ed54a5f | 3,692 | py | Python | BaseTools/Source/Python/UPT/Object/Parser/InfMisc.py | KaoTuz/edk2-stable202108 | 49d9306e7bf64b2f07d8473be1f2faea49d0a012 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 9 | 2021-07-26T17:02:51.000Z | 2021-12-30T10:49:46.000Z | BaseTools/Source/Python/UPT/Object/Parser/InfMisc.py | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | BaseTools/Source/Python/UPT/Object/Parser/InfMisc.py | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | ## @file
# This file is used to define class objects of INF file miscellaneous.
# Include BootMode/HOB/Event and others. It will consumed by InfParser.
#
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
'''
InfMisc
'''
import Logger.Log as Logge... | 25.818182 | 77 | 0.628115 | 359 | 3,692 | 6.384401 | 0.320334 | 0.073298 | 0.06719 | 0.026178 | 0.287086 | 0.247819 | 0.247819 | 0.206806 | 0.206806 | 0.206806 | 0 | 0.004913 | 0.283315 | 3,692 | 142 | 78 | 26 | 0.8613 | 0.103196 | 0 | 0.408602 | 0 | 0 | 0.002748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0 | 0.053763 | 0.11828 | 0.516129 | 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 |
135a363584e253a0fd487ab5902e769a0e03931f | 1,236 | py | Python | src/part_2_automation/test_test1.py | AndreiHustiuc/IT_Factory_Course | c6f3e4a9282a1c19c0f52c79f0c81f026814a02a | [
"MIT"
] | null | null | null | src/part_2_automation/test_test1.py | AndreiHustiuc/IT_Factory_Course | c6f3e4a9282a1c19c0f52c79f0c81f026814a02a | [
"MIT"
] | null | null | null | src/part_2_automation/test_test1.py | AndreiHustiuc/IT_Factory_Course | c6f3e4a9282a1c19c0f52c79f0c81f026814a02a | [
"MIT"
] | 1 | 2022-03-16T10:39:03.000Z | 2022-03-16T10:39:03.000Z | # Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWa... | 38.625 | 89 | 0.768608 | 166 | 1,236 | 5.608434 | 0.415663 | 0.118153 | 0.135338 | 0.112782 | 0.354458 | 0.298604 | 0.298604 | 0.186896 | 0.094522 | 0 | 0 | 0.020018 | 0.110841 | 1,236 | 31 | 90 | 39.870968 | 0.827116 | 0.020227 | 0 | 0 | 1 | 0 | 0.136476 | 0.019851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.384615 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
135f9b393c2da1b1ae7cb6b4ea51c6e47c87c3b3 | 2,976 | py | Python | web3/_utils/module_testing/math_contract.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null | web3/_utils/module_testing/math_contract.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null | web3/_utils/module_testing/math_contract.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null |
MATH_BYTECODE = (
"606060405261022e806100126000396000f360606040523615610074576000357c01000000000000"
"000000000000000000000000000000000000000000009004806316216f391461007657806361bc22"
"1a146100995780637cf5dab0146100bc578063a5f3c23b146100e8578063d09de08a1461011d5780"
"63dcf537b11461014057610074565b... | 32.347826 | 87 | 0.576949 | 118 | 2,976 | 14.533898 | 0.355932 | 0.038484 | 0.055394 | 0.067055 | 0.197085 | 0.197085 | 0.188338 | 0.165598 | 0.110787 | 0.110787 | 0 | 0.512966 | 0.287298 | 2,976 | 91 | 88 | 32.703297 | 0.295615 | 0 | 0 | 0.477273 | 0 | 0 | 0.574549 | 0.399445 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13662d9d6240c63c9a734dfc856cbc7f4107d5e2 | 160 | py | Python | objects/fun_return.py | padmacho/pythontutorial | 80c58d2d6efc0c3598f92b627338c6cd9fda1759 | [
"Apache-2.0"
] | null | null | null | objects/fun_return.py | padmacho/pythontutorial | 80c58d2d6efc0c3598f92b627338c6cd9fda1759 | [
"Apache-2.0"
] | null | null | null | objects/fun_return.py | padmacho/pythontutorial | 80c58d2d6efc0c3598f92b627338c6cd9fda1759 | [
"Apache-2.0"
] | null | null | null | def modify(y):
return y # returns same reference. No new object is created
x = [1, 2, 3]
y = modify(x)
print("x == y", x == y)
print("x == y", x is y) | 26.666667 | 65 | 0.55625 | 31 | 160 | 2.870968 | 0.548387 | 0.067416 | 0.157303 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.2625 | 160 | 6 | 66 | 26.666667 | 0.728814 | 0.3 | 0 | 0 | 0 | 0 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
136832386a64df8b748feecd13c99a4dc30fc9d5 | 735 | py | Python | test/test_utils.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | test/test_utils.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | test/test_utils.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | import unittest
from recipe import utils
class UtilTestCase(unittest.TestCase):
def test_valid_project_slug(self):
project_slug = "Recipe0123456789_mock"
self.assertTrue(utils.valid_project_slug(project_slug))
project_slug = 'Recipe00000000000000000000000000000000000000000000'
... | 33.409091 | 77 | 0.719728 | 70 | 735 | 7.2 | 0.285714 | 0.349206 | 0.321429 | 0.392857 | 0.549603 | 0.549603 | 0.549603 | 0.549603 | 0.549603 | 0.549603 | 0 | 0.166948 | 0.193197 | 735 | 21 | 78 | 35 | 0.682968 | 0 | 0 | 0.357143 | 0 | 0 | 0.189076 | 0.170868 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.285714 | 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 |
13716a3c1d81e757e4d87853e2f35128b1e83ff1 | 5,329 | py | Python | src/pkgcore/restrictions/restriction.py | mgorny/pkgcore | ab4a718aa1626f4edeb385383f5595a1e262b0dc | [
"BSD-3-Clause"
] | null | null | null | src/pkgcore/restrictions/restriction.py | mgorny/pkgcore | ab4a718aa1626f4edeb385383f5595a1e262b0dc | [
"BSD-3-Clause"
] | null | null | null | src/pkgcore/restrictions/restriction.py | mgorny/pkgcore | ab4a718aa1626f4edeb385383f5595a1e262b0dc | [
"BSD-3-Clause"
] | null | null | null | # Copyright: 2005-2012 Brian Harring <ferringb@gmail.com
# Copyright: 2006 Marien Zwart <marienz@gentoo.org>
# License: BSD/GPL2
"""
base restriction class
"""
from functools import partial
from snakeoil import caching, klass
from snakeoil.currying import pretty_docs
class base(object, metaclass=caching.WeakInstMe... | 27.611399 | 78 | 0.627698 | 645 | 5,329 | 4.869767 | 0.268217 | 0.050939 | 0.026743 | 0.020694 | 0.279529 | 0.24801 | 0.212034 | 0.180834 | 0.161095 | 0.099968 | 0 | 0.004034 | 0.25577 | 5,329 | 192 | 79 | 27.755208 | 0.787948 | 0.289923 | 0 | 0.308511 | 0 | 0 | 0.078687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.255319 | false | 0 | 0.031915 | 0.170213 | 0.648936 | 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 |
137960c813f4163613ba4247cf3f11614175c045 | 320 | py | Python | Lekcija08/script01.py | islamspahic/python-uup | ea7c9c655ad8e678bca5ee52138836732266799f | [
"Apache-2.0"
] | null | null | null | Lekcija08/script01.py | islamspahic/python-uup | ea7c9c655ad8e678bca5ee52138836732266799f | [
"Apache-2.0"
] | null | null | null | Lekcija08/script01.py | islamspahic/python-uup | ea7c9c655ad8e678bca5ee52138836732266799f | [
"Apache-2.0"
] | null | null | null | tajniBroj = 51
broj = 2
while tajniBroj != broj:
broj = int(input("Pogodite tajni broj: "))
if tajniBroj == broj:
print("Pogodak!")
elif tajniBroj < broj:
print("Tajni broj je manji od tog broja.")
else:
print("Tajni broj je veci od tog broja.")
print("Kraj programa")
| 21.333333 | 50 | 0.590625 | 41 | 320 | 4.609756 | 0.536585 | 0.206349 | 0.190476 | 0.169312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013216 | 0.290625 | 320 | 14 | 51 | 22.857143 | 0.819383 | 0 | 0 | 0 | 0 | 0 | 0.334375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.363636 | 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 |
137bf77da0a4c318b41b184deddd1c0849f9d010 | 11,196 | py | Python | verification/tb_template.py | ahmednofal/DFFRAM | 7d7ebc28befe12ec3f232c0d2f5b8ea786227d45 | [
"Apache-2.0"
] | null | null | null | verification/tb_template.py | ahmednofal/DFFRAM | 7d7ebc28befe12ec3f232c0d2f5b8ea786227d45 | [
"Apache-2.0"
] | null | null | null | verification/tb_template.py | ahmednofal/DFFRAM | 7d7ebc28befe12ec3f232c0d2f5b8ea786227d45 | [
"Apache-2.0"
] | null | null | null | # Copyright ©2020-2021 The American University in Cairo and the Cloud V Project.
#
# This file is part of the DFFRAM Memory Compiler.
# See https://github.com/Cloud-V/DFFRAM for further info.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Li... | 27.108959 | 91 | 0.530368 | 1,579 | 11,196 | 3.616213 | 0.155161 | 0.009457 | 0.012609 | 0.014711 | 0.741506 | 0.711033 | 0.648336 | 0.616112 | 0.583888 | 0.578984 | 0 | 0.05727 | 0.296624 | 11,196 | 412 | 92 | 27.174757 | 0.667683 | 0.062969 | 0 | 0.713864 | 0 | 0.041298 | 0.964197 | 0.164121 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
139b3faa5c126c4a50efcad5c0824965049d5697 | 258 | py | Python | venv/lib/python3.7/site-packages/leancloud/engine/utils.py | corgiclub/CorgiBot_telegram | a63d91a74ee497b9a405e93bd3b303367ef95268 | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/leancloud/engine/utils.py | corgiclub/CorgiBot_telegram | a63d91a74ee497b9a405e93bd3b303367ef95268 | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/leancloud/engine/utils.py | corgiclub/CorgiBot_telegram | a63d91a74ee497b9a405e93bd3b303367ef95268 | [
"MIT"
] |