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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9e9b470c615d9d1bf8d4e1e421231a97b1799cc2 | 31 | py | Python | prvdoracle/__init__.py | provideplatform/provide-python-oracle | 6cbf0b6f94a69d228b82610e8bced760dab822de | [
"MIT"
] | 1 | 2020-11-22T12:58:01.000Z | 2020-11-22T12:58:01.000Z | prvdoracle/__init__.py | provideservices/provide-python-oracle | 6cbf0b6f94a69d228b82610e8bced760dab822de | [
"MIT"
] | 5 | 2020-03-24T17:49:04.000Z | 2021-04-30T21:33:53.000Z | prvdoracle/__init__.py | provideservices/provide-python-oracle | 6cbf0b6f94a69d228b82610e8bced760dab822de | [
"MIT"
] | null | null | null | '''prvd'''
__all__ = ['main']
| 7.75 | 18 | 0.483871 | 3 | 31 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 3 | 19 | 10.333333 | 0.423077 | 0.129032 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e9ebe6bd44be581391ad692717a1c2fee3f9d63 | 1,968 | py | Python | scripts/testspv.py | ghxwm/tflow | f246ad0990e07943670e85864c2a26869e836e2d | [
"Apache-2.0"
] | 1 | 2018-07-21T18:57:31.000Z | 2018-07-21T18:57:31.000Z | scripts/testspv.py | ghxwm/tflow | f246ad0990e07943670e85864c2a26869e836e2d | [
"Apache-2.0"
] | null | null | null | scripts/testspv.py | ghxwm/tflow | f246ad0990e07943670e85864c2a26869e836e2d | [
"Apache-2.0"
] | null | null | null | from subprocess import check_output, CalledProcessError
import sys
import subprocess
import fnmatch
import os
tests = [
"tests/sunspider1/3d-cube",
"tests/sunspider1/3d-morph",
"tests/sunspider1/3d-raytrace",
"tests/sunspider1/access-binary-trees",
"tests/sunspider1/access-fannkuch",
"tests/sun... | 31.741935 | 140 | 0.681911 | 243 | 1,968 | 5.502058 | 0.399177 | 0.291698 | 0.078534 | 0.022438 | 0.046372 | 0.046372 | 0 | 0 | 0 | 0 | 0 | 0.024346 | 0.165142 | 1,968 | 61 | 141 | 32.262295 | 0.78941 | 0 | 0 | 0.034483 | 0 | 0 | 0.506098 | 0.455793 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.051724 | 0.086207 | null | null | 0.103448 | 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 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
9ea2d9aedd875e612544309fba1f0a9c162e09c7 | 166 | py | Python | dataminer/__init__.py | Bmbus/DiscordAnalytica | 663ebbe83789432804e45929fdea136b957a6237 | [
"MIT"
] | 1 | 2019-09-15T14:31:05.000Z | 2019-09-15T14:31:05.000Z | dataminer/__init__.py | Bmbus/DiscordAnalytica | 663ebbe83789432804e45929fdea136b957a6237 | [
"MIT"
] | null | null | null | dataminer/__init__.py | Bmbus/DiscordAnalytica | 663ebbe83789432804e45929fdea136b957a6237 | [
"MIT"
] | null | null | null | """
IN THIS FOLLDER IS EVERY SCRIPT FOR COLLECTING DATA & PUSH IT TO THE DB
"""
from datetime import datetime
utcnow = datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S") | 33.2 | 71 | 0.698795 | 28 | 166 | 4.142857 | 0.857143 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 166 | 5 | 72 | 33.2 | 0.816901 | 0.427711 | 0 | 0 | 0 | 0 | 0.193182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9eaeb956ce59d520e0d6ab4754734998c10527be | 205 | py | Python | mlprodict/tools/__init__.py | henrywu2019/mlprodict | 4c09dc39d5ba7a7235fa321d80c81b5bf4f078ad | [
"MIT"
] | null | null | null | mlprodict/tools/__init__.py | henrywu2019/mlprodict | 4c09dc39d5ba7a7235fa321d80c81b5bf4f078ad | [
"MIT"
] | null | null | null | mlprodict/tools/__init__.py | henrywu2019/mlprodict | 4c09dc39d5ba7a7235fa321d80c81b5bf4f078ad | [
"MIT"
] | null | null | null | """
@file
@brief Shortcuts to tools.
"""
from .asv_options_helper import get_opset_number_from_onnx, get_ir_version_from_onnx
from .code_helper import change_style
from .speed_measure import measure_time
| 22.777778 | 84 | 0.834146 | 32 | 205 | 4.90625 | 0.6875 | 0.152866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102439 | 205 | 8 | 85 | 25.625 | 0.853261 | 0.156098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9ec0c3a86712ad48d30122672e508a78f0321c34 | 282 | py | Python | swem/models/__init__.py | mvonpapen/swem | a2058de5000767bc16c976c096af53768fb9578e | [
"MIT"
] | 1 | 2021-09-26T14:19:55.000Z | 2021-09-26T14:19:55.000Z | swem/models/__init__.py | schoennenbeck/swem | db21e8f2083c2f8b0b011b8907fdf9540201b877 | [
"MIT"
] | null | null | null | swem/models/__init__.py | schoennenbeck/swem | db21e8f2083c2f8b0b011b8907fdf9540201b877 | [
"MIT"
] | null | null | null | """Implementation of various pytorch models."""
from swem.models.pooling import (
AttentionPooling,
HierarchicalPooling,
MaxPooling,
MeanPooling,
SwemPoolingLayer,
)
from swem.models.swem import Swem
from swem.models.word_drop_embedding import WordDropEmbedding
| 25.636364 | 61 | 0.776596 | 29 | 282 | 7.482759 | 0.62069 | 0.110599 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152482 | 282 | 10 | 62 | 28.2 | 0.90795 | 0.14539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7b613924aff4787644fb6b80f374adcbe2fc91f2 | 185 | py | Python | Python-For-Everyone-Horstmann/Chapter1-Introduction/P1.11.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | null | null | null | Python-For-Everyone-Horstmann/Chapter1-Introduction/P1.11.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | null | null | null | Python-For-Everyone-Horstmann/Chapter1-Introduction/P1.11.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | 1 | 2019-09-22T06:27:49.000Z | 2019-09-22T06:27:49.000Z | #Write a program that prints three items, such as the names of your three best friends
#or favorite movies, on three separate lines.
print("breathing")
print("learning")
print("living") | 37 | 86 | 0.772973 | 29 | 185 | 4.931034 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 185 | 5 | 87 | 37 | 0.89375 | 0.697297 | 0 | 0 | 0 | 0 | 0.418182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7b931b18e6843bcf3b5be6e5e806d7f30d94e38b | 61 | py | Python | src/downloadcounter/__init__.py | spapas/wagtail-download-counter | 266bf843475e2f6c3cd6c8a0ae193950176ef10b | [
"BSD-3-Clause"
] | null | null | null | src/downloadcounter/__init__.py | spapas/wagtail-download-counter | 266bf843475e2f6c3cd6c8a0ae193950176ef10b | [
"BSD-3-Clause"
] | null | null | null | src/downloadcounter/__init__.py | spapas/wagtail-download-counter | 266bf843475e2f6c3cd6c8a0ae193950176ef10b | [
"BSD-3-Clause"
] | null | null | null | default_app_config = 'downloadcounter.apps.CounterAppConfig'
| 30.5 | 60 | 0.868852 | 6 | 61 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 61 | 1 | 61 | 61 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0.606557 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7b9890c53676d8c5494a786dfe08758a221e5b53 | 770 | py | Python | sockslib/socksauth.py | woo200/sockslib | f9a4769fb018171fe5cca373f8dc20745c812df3 | [
"MIT"
] | 2 | 2021-09-01T16:29:18.000Z | 2021-09-10T21:56:48.000Z | sockslib/socksauth.py | woo200/sockslib | f9a4769fb018171fe5cca373f8dc20745c812df3 | [
"MIT"
] | null | null | null | sockslib/socksauth.py | woo200/sockslib | f9a4769fb018171fe5cca373f8dc20745c812df3 | [
"MIT"
] | null | null | null | from sockslib.socks import AuthenticationMethod
from sockslib.socks import Socks
import struct
class UserPassAuth(AuthenticationMethod):
def __init__(self, username, password):
self.username = username
self.password = password
def getId(self):
return 0x02 # 0x02 means password authenti... | 36.666667 | 188 | 0.701299 | 93 | 770 | 5.763441 | 0.483871 | 0.089552 | 0.063433 | 0.085821 | 0.067164 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024155 | 0.193506 | 770 | 20 | 189 | 38.5 | 0.838969 | 0.202597 | 0 | 0 | 0 | 0 | 0.009868 | 0 | 0 | 0 | 0.013158 | 0 | 0 | 1 | 0.266667 | false | 0.266667 | 0.2 | 0.133333 | 0.733333 | 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 | 1 | 1 | 0 | 0 | 4 |
7ba21152ba791cf0319a223f713fd2a3489f42e6 | 166 | py | Python | articles/gsoc/design-tensor-product-type/__article__.py | jakelishman/binhbar | c358acdf426062174176b3700ebd9bd7f368c9cf | [
"MIT"
] | null | null | null | articles/gsoc/design-tensor-product-type/__article__.py | jakelishman/binhbar | c358acdf426062174176b3700ebd9bd7f368c9cf | [
"MIT"
] | null | null | null | articles/gsoc/design-tensor-product-type/__article__.py | jakelishman/binhbar | c358acdf426062174176b3700ebd9bd7f368c9cf | [
"MIT"
] | null | null | null | {
"id": "c0417a",
"title": "Design draft: improving tensor-product dimensions in QuTiP",
"date": "2020-07-13",
"tags": ['GSoC', 'QuTiP', 'python'],
}
| 23.714286 | 74 | 0.566265 | 19 | 166 | 4.947368 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.204819 | 166 | 6 | 75 | 27.666667 | 0.621212 | 0 | 0 | 0 | 0 | 0 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7bae82ced7a44c80e2b0586cc1fbe3442897b985 | 6,391 | py | Python | login_plaync.py | georgexuedz/plaync_auto_login | acc88ded26e6e3dedc0f556563e75c91c7c5f583 | [
"Apache-2.0"
] | null | null | null | login_plaync.py | georgexuedz/plaync_auto_login | acc88ded26e6e3dedc0f556563e75c91c7c5f583 | [
"Apache-2.0"
] | null | null | null | login_plaync.py | georgexuedz/plaync_auto_login | acc88ded26e6e3dedc0f556563e75c91c7c5f583 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
import requests
import urlparse
import os
import sys
import time
import traceback
import datetime
import json
import re
import functools
reload(sys)
sys.setdefaultencoding('utf-8')
print datetime.datetime.now()
login_cookie = 'SCOUTER=z7h3ocirne8gdt'
headers = {
"Accep... | 38.269461 | 140 | 0.619934 | 833 | 6,391 | 4.668667 | 0.206483 | 0.007714 | 0.007714 | 0.030856 | 0.772692 | 0.755207 | 0.713808 | 0.666495 | 0.654667 | 0.632039 | 0 | 0.052056 | 0.170396 | 6,391 | 166 | 141 | 38.5 | 0.681441 | 0.021906 | 0 | 0.558621 | 0 | 0.082759 | 0.553955 | 0.166507 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006897 | 0.068966 | null | null | 0.096552 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7bb68d9f941570397f99776387561046d8fe3704 | 357 | py | Python | bann/b_hyper_optim/optimiser/fun_const/hyper_const.py | arturOnRails/BANN | 027af04349304941fb73c2ede502aca4b76f1ad1 | [
"MIT"
] | null | null | null | bann/b_hyper_optim/optimiser/fun_const/hyper_const.py | arturOnRails/BANN | 027af04349304941fb73c2ede502aca4b76f1ad1 | [
"MIT"
] | null | null | null | bann/b_hyper_optim/optimiser/fun_const/hyper_const.py | arturOnRails/BANN | 027af04349304941fb73c2ede502aca4b76f1ad1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
""".. moduleauthor:: Artur Lissin"""
from dataclasses import dataclass
from typing import Optional, final
@dataclass
class HyperOArgs:
end_fitness: Optional[float]
repeats: int
@final
@dataclass
class RandomOArgs(HyperOArgs):
package: int
@final
@dataclass
class SimplyTrainOArg... | 14.875 | 36 | 0.714286 | 39 | 357 | 6.512821 | 0.589744 | 0.165354 | 0.224409 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003425 | 0.182073 | 357 | 23 | 37 | 15.521739 | 0.866438 | 0.148459 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.133333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7bbba408d185e81b1e3d09cc41b0084270deb3ac | 433 | py | Python | Tests/is_jenkins_up_test.py | Python-QAForEveryone/jenkins-testing | f9166b2d6f7de661868f9bc224420508754fe6de | [
"MIT"
] | null | null | null | Tests/is_jenkins_up_test.py | Python-QAForEveryone/jenkins-testing | f9166b2d6f7de661868f9bc224420508754fe6de | [
"MIT"
] | null | null | null | Tests/is_jenkins_up_test.py | Python-QAForEveryone/jenkins-testing | f9166b2d6f7de661868f9bc224420508754fe6de | [
"MIT"
] | null | null | null | from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
class TestJenkinsUp:
def test_jenkins_is_up(self):
self.driver.get("http://localhost:8080/")
WebDriverWait(self.driver, 30).until(EC... | 36.083333 | 103 | 0.752887 | 58 | 433 | 5.5 | 0.672414 | 0.112853 | 0.197492 | 0.175549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016043 | 0.136259 | 433 | 11 | 104 | 39.363636 | 0.836898 | 0 | 0 | 0 | 0 | 0 | 0.122402 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 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 | 1 | 0 | 0 | 4 |
c8cd415bb76fc791860e0c9a1221a8914d0c26b3 | 137 | py | Python | gnatsd_streaming/datadog_checks/gnatsd_streaming/__init__.py | divyamamgai/integrations-extras | 8c40a9cf870578687cc224ee91d3c70cd3a435a4 | [
"BSD-3-Clause"
] | 158 | 2016-06-02T16:25:31.000Z | 2022-03-16T15:55:14.000Z | gnatsd_streaming/datadog_checks/gnatsd_streaming/__init__.py | divyamamgai/integrations-extras | 8c40a9cf870578687cc224ee91d3c70cd3a435a4 | [
"BSD-3-Clause"
] | 554 | 2016-03-15T17:39:12.000Z | 2022-03-31T10:29:16.000Z | gnatsd_streaming/datadog_checks/gnatsd_streaming/__init__.py | divyamamgai/integrations-extras | 8c40a9cf870578687cc224ee91d3c70cd3a435a4 | [
"BSD-3-Clause"
] | 431 | 2016-05-13T15:33:13.000Z | 2022-03-31T10:06:46.000Z | from .__about__ import __version__
from .gnatsd_streaming import GnatsdStreamingCheck
__all__ = ['__version__', 'GnatsdStreamingCheck']
| 27.4 | 50 | 0.832117 | 12 | 137 | 8.083333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 4 | 51 | 34.25 | 0.782258 | 0 | 0 | 0 | 0 | 0 | 0.226277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c8e7ad7f31d9af29fed34380959d3abb9b79b01c | 201 | py | Python | bot/services/base_service.py | svengeance/ClemBot | 42e739f64fe8b3ad1daa72fda0e5bef0de59519f | [
"MIT"
] | null | null | null | bot/services/base_service.py | svengeance/ClemBot | 42e739f64fe8b3ad1daa72fda0e5bef0de59519f | [
"MIT"
] | null | null | null | bot/services/base_service.py | svengeance/ClemBot | 42e739f64fe8b3ad1daa72fda0e5bef0de59519f | [
"MIT"
] | null | null | null | """
This is the base service class that all services must inherit from
The bot reflects over itself at runtime and loads all instances with
this class as a base class
"""
class BaseService:
pass
| 22.333333 | 69 | 0.761194 | 33 | 201 | 4.636364 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20398 | 201 | 8 | 70 | 25.125 | 0.95625 | 0.810945 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
74022a34beb2e38928d649e9f748eac77abf725e | 220 | py | Python | serwer/app/__init__.py | DawidPiechota/Mapa-literacka-dla-korpus-w | c2460c77bb2165d32bb9c2ad917bc0f69c0bd0e0 | [
"MIT"
] | null | null | null | serwer/app/__init__.py | DawidPiechota/Mapa-literacka-dla-korpus-w | c2460c77bb2165d32bb9c2ad917bc0f69c0bd0e0 | [
"MIT"
] | 2 | 2021-01-31T11:25:31.000Z | 2021-02-01T17:38:02.000Z | serwer/app/__init__.py | DawidPiechota/Mapa-literacka-dla-korpus-w | c2460c77bb2165d32bb9c2ad917bc0f69c0bd0e0 | [
"MIT"
] | 1 | 2021-03-22T20:20:56.000Z | 2021-03-22T20:20:56.000Z | from app.controllers import init_routes
from flask_cors import CORS
from app.services.app import app as flask_app
from app.services.db import init_db
def init_app():
CORS(flask_app)
init_db()
init_routes()
| 20 | 45 | 0.768182 | 37 | 220 | 4.351351 | 0.324324 | 0.130435 | 0.186335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168182 | 220 | 10 | 46 | 22 | 0.879781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.5 | 0 | 0.625 | 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 | 1 | 0 | 0 | 4 |
cdcedccbc74094759884132ddc80fd059c839f4a | 45 | py | Python | cdtimer/__init__.py | danielvogler/countdown_tool | 8e3b42842a18e7c9f4888f062f1606f945ce09d9 | [
"MIT"
] | null | null | null | cdtimer/__init__.py | danielvogler/countdown_tool | 8e3b42842a18e7c9f4888f062f1606f945ce09d9 | [
"MIT"
] | null | null | null | cdtimer/__init__.py | danielvogler/countdown_tool | 8e3b42842a18e7c9f4888f062f1606f945ce09d9 | [
"MIT"
] | null | null | null | from .cdtimer import *
__version__ = '0.0.2'
| 15 | 22 | 0.688889 | 7 | 45 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.155556 | 45 | 2 | 23 | 22.5 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a80c58ffceb7b7b887e7e969f7e4befae8a177aa | 112 | py | Python | spatial_inequality/core/__init__.py | nunomota/spatial-inequality | 55c1631e9786c1d8683a07453cff9198cc2aec06 | [
"MIT"
] | 2 | 2021-04-07T17:06:58.000Z | 2022-02-15T18:38:01.000Z | spatial_inequality/core/__init__.py | nunomota/spatial-inequality | 55c1631e9786c1d8683a07453cff9198cc2aec06 | [
"MIT"
] | null | null | null | spatial_inequality/core/__init__.py | nunomota/spatial-inequality | 55c1631e9786c1d8683a07453cff9198cc2aec06 | [
"MIT"
] | null | null | null | """
Core logic of our algorithm, to minimize spatial inequality across public
schooling districts in the US.
""" | 28 | 73 | 0.776786 | 16 | 112 | 5.4375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 4 | 74 | 28 | 0.915789 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a814991e27b981330c9ae87e152b360def53da49 | 153 | py | Python | pystogram/dateutil.py | claymation/pystogram | f286bc30c16e8c05c4c7b47489119b828c127512 | [
"BSD-2-Clause"
] | 1 | 2017-03-29T07:04:22.000Z | 2017-03-29T07:04:22.000Z | pystogram/dateutil.py | claymation/pystogram | f286bc30c16e8c05c4c7b47489119b828c127512 | [
"BSD-2-Clause"
] | null | null | null | pystogram/dateutil.py | claymation/pystogram | f286bc30c16e8c05c4c7b47489119b828c127512 | [
"BSD-2-Clause"
] | null | null | null | import calendar
# FIXME: i18n/l10n? strptime parsing should alleviate this concern.
MONTHS = dict({ (v,k) for k,v in enumerate(calendar.month_abbr) })
| 25.5 | 67 | 0.745098 | 23 | 153 | 4.913043 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.143791 | 153 | 5 | 68 | 30.6 | 0.832061 | 0.424837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a8173920a51970f84abce524c23ae01b6a237f59 | 285 | py | Python | src/ecs_tasks_ops_qt5/__main__.py | ppalazon/ecs-tasks-ops | faa442b6e80058fca55b7e7703a71f60470758b5 | [
"MIT"
] | null | null | null | src/ecs_tasks_ops_qt5/__main__.py | ppalazon/ecs-tasks-ops | faa442b6e80058fca55b7e7703a71f60470758b5 | [
"MIT"
] | 2 | 2022-01-06T16:26:54.000Z | 2022-03-15T16:21:12.000Z | src/ecs_tasks_ops_qt5/__main__.py | ppalazon/ecs-tasks-ops | faa442b6e80058fca55b7e7703a71f60470758b5 | [
"MIT"
] | null | null | null | """Qt5 UI Initialization."""
import click
from ecs_tasks_ops import ecs_conf
from ecs_tasks_ops_qt5 import qt5_gui
@click.version_option()
def main() -> None:
"""Open Qt5 User Interface."""
ecs_conf.load_config()
qt5_gui.main_gui()
if __name__ == "__main__":
pass
| 16.764706 | 37 | 0.705263 | 42 | 285 | 4.309524 | 0.571429 | 0.077348 | 0.132597 | 0.165746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.175439 | 285 | 16 | 38 | 17.8125 | 0.748936 | 0.164912 | 0 | 0 | 0 | 0 | 0.035242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0.111111 | 0.333333 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
a820e860730c71cf6694c1769f0458c016ece588 | 144 | py | Python | exception/urls.py | reeshabhkumarranjan/SocPay | ba3f3ea0b7b814e1ca40293b14f192b6d40adbbd | [
"MIT"
] | null | null | null | exception/urls.py | reeshabhkumarranjan/SocPay | ba3f3ea0b7b814e1ca40293b14f192b6d40adbbd | [
"MIT"
] | null | null | null | exception/urls.py | reeshabhkumarranjan/SocPay | ba3f3ea0b7b814e1ca40293b14f192b6d40adbbd | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
app_name = 'exception'
urlpatterns = [
path('error/', views.exception, name='exception')
] | 20.571429 | 53 | 0.715278 | 18 | 144 | 5.666667 | 0.611111 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 144 | 7 | 54 | 20.571429 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.165517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b52d8998d9b324d83be5cf405fb13a1f68248f4a | 167 | py | Python | myprojects/Set.py | parthasarathipandeygcp/gcpade001 | 1c353d48d21d276cc0597e88107f77525518264f | [
"Apache-2.0"
] | null | null | null | myprojects/Set.py | parthasarathipandeygcp/gcpade001 | 1c353d48d21d276cc0597e88107f77525518264f | [
"Apache-2.0"
] | null | null | null | myprojects/Set.py | parthasarathipandeygcp/gcpade001 | 1c353d48d21d276cc0597e88107f77525518264f | [
"Apache-2.0"
] | null | null | null | myset=set()
print(myset)
myset.add(1)
print(myset)
myset.add(2)
print(myset)
myset.add(2)
print(myset)
mylist={1,1,1,1,2,2,2,2,3,3,3,3}
set(mylist)
print(mylist)
| 9.823529 | 32 | 0.676647 | 36 | 167 | 3.138889 | 0.222222 | 0.353982 | 0.39823 | 0.477876 | 0.424779 | 0.424779 | 0.424779 | 0 | 0 | 0 | 0 | 0.099338 | 0.095808 | 167 | 16 | 33 | 10.4375 | 0.649007 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 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 | 1 | 0 | 4 |
a92f3a135525032787a01f1a61565f3f997c6c8e | 3,305 | py | Python | DailyProgrammer/DP20160226C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20160226C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20160226C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2016-02-26] Challenge #255 [Hard] Hacking a search engine
https://www.reddit.com/r/dailyprogrammer/comments/47o4b6/20160226_challenge_255_hard_hacking_a_search/
# Problem description
Let's consider a simple search engine: one that searches over a large list of short, pithy sayings. It can take a 5+
letter string... | 50.846154 | 119 | 0.75885 | 552 | 3,305 | 4.514493 | 0.476449 | 0.028892 | 0.01565 | 0.014446 | 0.189005 | 0.189005 | 0.164928 | 0.164928 | 0.130819 | 0.130819 | 0 | 0.019835 | 0.191528 | 3,305 | 64 | 120 | 51.640625 | 0.912799 | 0.978215 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a934c9f653d06182e2eac8cd30fbaf1e0701168d | 66 | py | Python | main.py | tronxi/tetris-maude | 745977803b579eb15735429dd465fde76c8ab7f1 | [
"MIT"
] | 3 | 2021-12-21T12:17:55.000Z | 2022-01-01T19:59:47.000Z | main.py | tronxi/tetris-maude | 745977803b579eb15735429dd465fde76c8ab7f1 | [
"MIT"
] | null | null | null | main.py | tronxi/tetris-maude | 745977803b579eb15735429dd465fde76c8ab7f1 | [
"MIT"
] | null | null | null | from interface.interface import Interface
interface = Interface() | 22 | 41 | 0.833333 | 7 | 66 | 7.857143 | 0.428571 | 0.981818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 3 | 42 | 22 | 0.932203 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a940241721a927fba8f0f74545c31941cb57ccb9 | 37 | py | Python | week1/14.py | kamorozov/coursera_python | 706bc1bc46839f8b3debdf293240ad5ce20c9775 | [
"Unlicense"
] | 2 | 2019-05-17T13:42:02.000Z | 2019-05-18T04:00:35.000Z | week1/14.py | kamorozov/coursera_python | 706bc1bc46839f8b3debdf293240ad5ce20c9775 | [
"Unlicense"
] | null | null | null | week1/14.py | kamorozov/coursera_python | 706bc1bc46839f8b3debdf293240ad5ce20c9775 | [
"Unlicense"
] | 2 | 2019-10-03T09:07:44.000Z | 2019-12-28T19:17:20.000Z | A = int(input())
print((A - 1)**A)
| 12.333333 | 18 | 0.459459 | 7 | 37 | 2.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.216216 | 37 | 2 | 19 | 18.5 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a966293aa33b930e45a4c219b7d2b2cf69c7a2df | 206 | py | Python | distributed_frontera/backends/remote/__init__.py | abael/ScrapyFronteraDistributed | 50a636be9dbff1e27698f55968ffb0a0b53a6123 | [
"BSD-3-Clause"
] | 1 | 2021-05-04T08:14:03.000Z | 2021-05-04T08:14:03.000Z | distributed_frontera/backends/remote/__init__.py | abael/ScrapyFronteraDistributed | 50a636be9dbff1e27698f55968ffb0a0b53a6123 | [
"BSD-3-Clause"
] | null | null | null | distributed_frontera/backends/remote/__init__.py | abael/ScrapyFronteraDistributed | 50a636be9dbff1e27698f55968ffb0a0b53a6123 | [
"BSD-3-Clause"
] | 2 | 2018-05-26T21:10:26.000Z | 2020-08-05T07:37:21.000Z | # -*- coding: utf-8 -*-
from distributed_frontera.backends.remote.remote import KafkaBackend, KafkaOverusedBackend
__all__ = ['KafkaBackend', 'KafkaOverusedBackend', 'KafkaJSONDecoder', 'KafkaJSONEncoder'] | 51.5 | 90 | 0.791262 | 17 | 206 | 9.294118 | 0.823529 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.07767 | 206 | 4 | 91 | 51.5 | 0.826316 | 0.101942 | 0 | 0 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a96a054e6466df5d250e61128dc3b1eba4803bfe | 106 | py | Python | nickmatthews713/Projects/Guessing Game/guessing_game.py | Hivemind-Solution/ISU-CODE | 7e09d4bd3acb16baa95a30999e0ec6251a22f449 | [
"MIT"
] | 2 | 2020-05-07T05:12:39.000Z | 2022-01-25T15:43:17.000Z | nickmatthews713/Projects/Guessing Game/guessing_game.py | Hivemind-Solution/ISU-CODE | 7e09d4bd3acb16baa95a30999e0ec6251a22f449 | [
"MIT"
] | null | null | null | nickmatthews713/Projects/Guessing Game/guessing_game.py | Hivemind-Solution/ISU-CODE | 7e09d4bd3acb16baa95a30999e0ec6251a22f449 | [
"MIT"
] | null | null | null | def main():
print("Hello")
if __name__ == "__main__":
main()
print("WOW big progress Nick... ") | 13.25 | 34 | 0.584906 | 13 | 106 | 4.153846 | 0.769231 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216981 | 106 | 8 | 34 | 13.25 | 0.650602 | 0 | 0 | 0 | 0 | 0 | 0.35514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9753d17d70cdce569d6bcb09b09a234e322c1f0 | 96 | py | Python | portfolio/helpers.py | samshultz/techbitsdata | 753309cbfee7bfa9a08804786f29b37f2b058436 | [
"BSD-3-Clause"
] | null | null | null | portfolio/helpers.py | samshultz/techbitsdata | 753309cbfee7bfa9a08804786f29b37f2b058436 | [
"BSD-3-Clause"
] | null | null | null | portfolio/helpers.py | samshultz/techbitsdata | 753309cbfee7bfa9a08804786f29b37f2b058436 | [
"BSD-3-Clause"
] | null | null | null | def grouped(queryset, n):
for i in range(0, len(queryset), n):
yield queryset[i:i+n] | 32 | 40 | 0.614583 | 17 | 96 | 3.470588 | 0.647059 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.229167 | 96 | 3 | 41 | 32 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9783a734f164501028307809e4beba49afdafaf | 223 | py | Python | robosuite/devices/__init__.py | SomeshDaga/robosuite | 74ee79945ade6e059f46c7d651e1a90e27636c47 | [
"MIT"
] | null | null | null | robosuite/devices/__init__.py | SomeshDaga/robosuite | 74ee79945ade6e059f46c7d651e1a90e27636c47 | [
"MIT"
] | null | null | null | robosuite/devices/__init__.py | SomeshDaga/robosuite | 74ee79945ade6e059f46c7d651e1a90e27636c47 | [
"MIT"
] | null | null | null | from .device import Device
from .grasp_device import GraspDevice
from .keyboard import Keyboard
from .senseglove import SGDeviceManager, SenseGlove
from .spacemouse import SpaceMouse
from .vivetracker import HTCViveTracker
| 31.857143 | 51 | 0.856502 | 26 | 223 | 7.307692 | 0.423077 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112108 | 223 | 6 | 52 | 37.166667 | 0.959596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a985e325d1e8db95441a1ef68a0bb460c00fef2b | 199 | py | Python | demo/code/2015-12-14/pytest-fixture/test_appsetup.py | uxlsl/uxlsl.github.io | 91b62eb01fad38b913016236bb687eb6f0fe2012 | [
"MIT"
] | null | null | null | demo/code/2015-12-14/pytest-fixture/test_appsetup.py | uxlsl/uxlsl.github.io | 91b62eb01fad38b913016236bb687eb6f0fe2012 | [
"MIT"
] | null | null | null | demo/code/2015-12-14/pytest-fixture/test_appsetup.py | uxlsl/uxlsl.github.io | 91b62eb01fad38b913016236bb687eb6f0fe2012 | [
"MIT"
] | null | null | null |
import pytest
class App:
def __init__(self, smtp):
self.smtp = smtp
@pytest.fixture(scope="module")
def app(smtp):
return App(smtp)
def test_smtp_exists(app):
assert app.smtp
| 14.214286 | 31 | 0.668342 | 29 | 199 | 4.37931 | 0.517241 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21608 | 199 | 13 | 32 | 15.307692 | 0.814103 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8d4bec308c557304c385ebad1d3dd1b907564768 | 3,464 | py | Python | app/models.py | CupOfGeo/dash_on_flask | ce6f78bbe0eac27a9d5e7700873d01cbdbf8639c | [
"MIT"
] | null | null | null | app/models.py | CupOfGeo/dash_on_flask | ce6f78bbe0eac27a9d5e7700873d01cbdbf8639c | [
"MIT"
] | null | null | null | app/models.py | CupOfGeo/dash_on_flask | ce6f78bbe0eac27a9d5e7700873d01cbdbf8639c | [
"MIT"
] | null | null | null | from flask_login import UserMixin
from flask_login import current_user
from sqlalchemy import and_
from werkzeug.security import check_password_hash
from werkzeug.security import generate_password_hash
from datetime import datetime, timezone
from app.extensions import db
from app.extensions import login
# flask db ... | 28.162602 | 99 | 0.682448 | 502 | 3,464 | 4.496016 | 0.2749 | 0.042534 | 0.053168 | 0.037661 | 0.178556 | 0.1214 | 0.099247 | 0.099247 | 0.065574 | 0.065574 | 0 | 0.005928 | 0.220843 | 3,464 | 122 | 100 | 28.393443 | 0.830308 | 0.146363 | 0 | 0.082192 | 1 | 0 | 0.005444 | 0 | 0 | 0 | 0 | 0.008197 | 0 | 1 | 0.246575 | false | 0.09589 | 0.109589 | 0.054795 | 0.630137 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8d91dd23f8c852603f26276924de31cff00b2e47 | 300 | py | Python | pyunits/exceptions.py | djpetti/pyunits | a2d3ed5dc30f8e20432c0ca8e72a34288d720202 | [
"MIT"
] | null | null | null | pyunits/exceptions.py | djpetti/pyunits | a2d3ed5dc30f8e20432c0ca8e72a34288d720202 | [
"MIT"
] | 9 | 2019-11-12T02:30:17.000Z | 2020-02-09T01:46:45.000Z | pyunits/exceptions.py | djpetti/pyunits | a2d3ed5dc30f8e20432c0ca8e72a34288d720202 | [
"MIT"
] | null | null | null | class UnitError(Exception):
"""
General error for units.
"""
pass
class CastError(Exception):
"""
Raised when a cast fails.
"""
class InterningError(Exception):
"""
Raised when we try to use an interned class in a way that would break the
pattern.
"""
| 15.789474 | 77 | 0.61 | 36 | 300 | 5.083333 | 0.777778 | 0.163934 | 0.20765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29 | 300 | 18 | 78 | 16.666667 | 0.859155 | 0.443333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8da6fda05f85bb67de8860a2eee05c577d694fa5 | 95 | py | Python | conectapet/apps.py | louisekmm/conectapet | 6427a6d0129b7ccc48960cc00b88576cfe5f48d2 | [
"Unlicense"
] | null | null | null | conectapet/apps.py | louisekmm/conectapet | 6427a6d0129b7ccc48960cc00b88576cfe5f48d2 | [
"Unlicense"
] | null | null | null | conectapet/apps.py | louisekmm/conectapet | 6427a6d0129b7ccc48960cc00b88576cfe5f48d2 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class ConectapetConfig(AppConfig):
name = 'conectapet'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a5cbfa2fb5b9647f183cab51d1702120e63b89fb | 198 | py | Python | SAM2017/deadline/admin.py | jpavelw/sam-2017 | 2f1eba1d8fc91bfc0c53483f46cc6d60fa6d00fd | [
"MIT"
] | 1 | 2016-08-31T16:49:17.000Z | 2016-08-31T16:49:17.000Z | SAM2017/deadline/admin.py | jpavelw/sam-2017 | 2f1eba1d8fc91bfc0c53483f46cc6d60fa6d00fd | [
"MIT"
] | null | null | null | SAM2017/deadline/admin.py | jpavelw/sam-2017 | 2f1eba1d8fc91bfc0c53483f46cc6d60fa6d00fd | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
class DeadlineFilter(admin.ModelAdmin):
fields = ['date']
admin.site.register(models.Deadline, DeadlineFilter) | 28.285714 | 52 | 0.782828 | 24 | 198 | 6.458333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 198 | 7 | 52 | 28.285714 | 0.890805 | 0.131313 | 0 | 0 | 0 | 0 | 0.023392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a5e57eb70f0904bc4da06ff6a7f1b5ff17aa40fc | 923 | py | Python | app/entity/language_entity.py | JunFuruya/Ratsnake | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | null | null | null | app/entity/language_entity.py | JunFuruya/Ratsnake | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | 5 | 2018-05-17T04:03:39.000Z | 2021-09-08T01:03:17.000Z | app/entity/language_entity.py | JunFuruya/Hideout | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
from app.entity.base_web_entity import BaseWebEntity
class LanguageEntity(BaseWebEntity):
__language_id = ''
__user_id = ''
__language_name = ''
def set_error_message(self, error_message):
self.__error_message = error_message
return self
def get_error_... | 24.289474 | 52 | 0.648971 | 115 | 923 | 4.713043 | 0.226087 | 0.147601 | 0.095941 | 0.118081 | 0.405904 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001508 | 0.28169 | 923 | 38 | 53 | 24.289474 | 0.815988 | 0.03792 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.32 | false | 0 | 0.04 | 0.16 | 0.84 | 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 | 1 | 0 | 0 | 4 |
a5fba648ece007f4b63dfc84d04154edc938661a | 271 | py | Python | appengine/chromium_cq_status/model/password.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 2 | 2021-04-13T21:22:18.000Z | 2021-09-07T02:11:57.000Z | appengine/chromium_cq_status/model/password.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 21 | 2020-09-06T02:41:05.000Z | 2022-03-02T04:40:01.000Z | appengine/chromium_cq_status/model/password.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2014 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.
from google.appengine.ext import ndb
class Password(ndb.Model):
sha1 = ndb.StringProperty(required=True)
| 30.111111 | 72 | 0.774908 | 43 | 271 | 4.883721 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02193 | 0.158672 | 271 | 8 | 73 | 33.875 | 0.899123 | 0.571956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
570be93a4dfe8660b278c02ad4b195407e0ebae7 | 50 | py | Python | rasterio/rio/__init__.py | nmandery/rasterio | ba5e90c487bd1930f52e57dba999e889b4df9ade | [
"BSD-3-Clause"
] | 1,479 | 2015-01-10T12:35:07.000Z | 2021-10-18T16:17:15.000Z | rasterio/rio/__init__.py | nmandery/rasterio | ba5e90c487bd1930f52e57dba999e889b4df9ade | [
"BSD-3-Clause"
] | 1,819 | 2015-01-06T21:56:25.000Z | 2021-10-20T02:28:27.000Z | rasterio/rio/__init__.py | nmandery/rasterio | ba5e90c487bd1930f52e57dba999e889b4df9ade | [
"BSD-3-Clause"
] | 509 | 2015-01-06T20:59:12.000Z | 2021-10-18T14:14:57.000Z | """
Rasterio commandline interface components
"""
| 12.5 | 41 | 0.76 | 4 | 50 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 3 | 42 | 16.666667 | 0.863636 | 0.82 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
572456733e0811c64f78199c2447f2d7c753a5cf | 32 | py | Python | Python/Tests/TestData/Grammar/CallsIllegal.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | Python/Tests/TestData/Grammar/CallsIllegal.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/Grammar/CallsIllegal.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | fob(oar = 1, oar = 2)
fob(1 = 2) | 16 | 21 | 0.5 | 8 | 32 | 2 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.25 | 32 | 2 | 22 | 16 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
573ed347aa665bb342b0812900517c09e17f441e | 189 | py | Python | Examples/AppKit/iClass/main.py | Khan/pyobjc-framework-Cocoa | f8b015ea2a72d8d78be6084fb12925c4785b8f1f | [
"MIT"
] | 132 | 2015-01-01T10:02:42.000Z | 2022-03-09T12:51:01.000Z | mac/pyobjc-framework-Cocoa/Examples/AppKit/iClass/main.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 6 | 2015-01-06T08:23:19.000Z | 2019-03-14T12:22:06.000Z | mac/pyobjc-framework-Cocoa/Examples/AppKit/iClass/main.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 27 | 2015-02-23T11:51:43.000Z | 2022-03-07T02:34:18.000Z | """
"""
import time
from AppKit import NSApplicationMain
from PyObjCTools import AppHelper
from Foundation import NSBundle
import sys
import os
import datasource
AppHelper.runEventLoop()
| 14.538462 | 36 | 0.820106 | 22 | 189 | 7.045455 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132275 | 189 | 12 | 37 | 15.75 | 0.945122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
57445f8524a45f8158dfb5fafcc7e39d2051474c | 603 | py | Python | python/anyascii/_data/_213.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_213.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_213.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='Bet Fan Kok Ce Fat Qiao Cha Xin Chi Day Dia Ham Zao Kui Fei Ta Guai Duo Gui Zhi Baan Mang Dam Genh Chan Nao Hu Tao Che Vung Lam Dum Mun Nui Them Xui Yi Go Ben Nie Zhai Huan Du Qi Ce Chui Da Zeon Zhi Geng Weng Du Chi Sai An Kuo... | 603 | 603 | 0.573798 | 108 | 603 | 3.203704 | 0.898148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.421227 | 603 | 1 | 603 | 603 | 0.991404 | 0 | 0 | 0 | 0 | 1 | 0.991722 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
574760475a075e5082cf6844df3648cc8a886dfa | 1,546 | py | Python | Aula_02/Aula02.py | elcbasilio/letscode | ea2ed5ee80485d98fad2c77a7a50927a7d524793 | [
"MIT"
] | null | null | null | Aula_02/Aula02.py | elcbasilio/letscode | ea2ed5ee80485d98fad2c77a7a50927a7d524793 | [
"MIT"
] | null | null | null | Aula_02/Aula02.py | elcbasilio/letscode | ea2ed5ee80485d98fad2c77a7a50927a7d524793 | [
"MIT"
] | null | null | null | # COMANDO WHILE
print ('Seja bem-vindo ao Pyrque')
# looping infinito (CUIDADO)
while True:
local = input ('Digite o local que deseja ir: ')
if local != 'Embora':
print ('Uhu!!!!')
else:
print ('Volte logo!')
break
# COMANDO WHILE - OUTRA MANEIRA
print ('Seja bem-vindo ao Pyrque')
... | 24.539683 | 75 | 0.580854 | 211 | 1,546 | 4.255924 | 0.298578 | 0.048998 | 0.040089 | 0.056793 | 0.726058 | 0.726058 | 0.726058 | 0.673719 | 0.640312 | 0.640312 | 0 | 0.055906 | 0.282665 | 1,546 | 63 | 76 | 24.539683 | 0.753832 | 0.161708 | 0 | 0.680851 | 0 | 0 | 0.354037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.446809 | 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 | 1 | 0 | 4 |
9399f570d554018ded81465538ab6f703d18aa7a | 57 | py | Python | tests/data/demo-project/run.py | youngquan/goldenmask | 5b16eea94df7ddd988fae0c1a4e265b16af9ded2 | [
"Apache-2.0"
] | 6 | 2020-04-28T18:13:54.000Z | 2021-12-23T18:26:30.000Z | tests/data/demo-project/run.py | youngquan/goldenmask | 5b16eea94df7ddd988fae0c1a4e265b16af9ded2 | [
"Apache-2.0"
] | 1 | 2020-04-28T18:08:46.000Z | 2020-04-30T12:49:46.000Z | tests/data/demo-project/run.py | youngquan/goldenmask | 5b16eea94df7ddd988fae0c1a4e265b16af9ded2 | [
"Apache-2.0"
] | 1 | 2020-08-18T21:03:39.000Z | 2020-08-18T21:03:39.000Z | from demo.a import a
if __name__ == "__main__":
a()
| 11.4 | 26 | 0.614035 | 9 | 57 | 3 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245614 | 57 | 4 | 27 | 14.25 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
93ec294d96c15982cf495f8cbf90ecd7d554423e | 527 | py | Python | unidad_2_python/ejercicio_9.py | SofiPrez/practicas | 924459ef331be3a941a096bf33cecd16002acab0 | [
"PSF-2.0"
] | 1 | 2017-08-27T21:24:18.000Z | 2017-08-27T21:24:18.000Z | unidad_2_python/ejercicio_9.py | SofiPrez/practicas | 924459ef331be3a941a096bf33cecd16002acab0 | [
"PSF-2.0"
] | null | null | null | unidad_2_python/ejercicio_9.py | SofiPrez/practicas | 924459ef331be3a941a096bf33cecd16002acab0 | [
"PSF-2.0"
] | null | null | null | #!/usr/bin/python
akira =int(input ("ingrese nro de pasajeros: "))
if akira ==0:
print "no hay transporte"
elif akira==1 and akira< 2:
print "su transporte es bicicleta"
elif akira==2 or akira<3:
print "su transporte es moto"
elif akira==3 or akira<5:
print "su transporte es auto"
elif akira==5 or akira<13:
... | 27.736842 | 48 | 0.71537 | 90 | 527 | 4.188889 | 0.422222 | 0.129973 | 0.270557 | 0.302387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043779 | 0.176471 | 527 | 18 | 49 | 29.277778 | 0.824885 | 0.030361 | 0 | 0 | 0 | 0 | 0.419608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.470588 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
93f2e8ff86ad5e156bc8d888ffc274c0b9e828a1 | 1,065 | py | Python | blog/models.py | jamessqr/james-squires-dotcom | 8e4e5e52d362d40f14af43e4fa347e4edb44384c | [
"BSD-3-Clause"
] | 1 | 2016-05-08T07:55:38.000Z | 2016-05-08T07:55:38.000Z | blog/models.py | jamessqr/james-squires-dotcom | 8e4e5e52d362d40f14af43e4fa347e4edb44384c | [
"BSD-3-Clause"
] | null | null | null | blog/models.py | jamessqr/james-squires-dotcom | 8e4e5e52d362d40f14af43e4fa347e4edb44384c | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
import datetime
class Category(models.Model):
title = models.CharField(max_length=250, help_text='Maximum 250 characters')
slug = models.SlugField()
description = models.TextField()
class Meta:
ordering = ['title']
verbose_name_plural = "Categories"
class Admin:
pass
#TO... | 24.204545 | 77 | 0.716432 | 137 | 1,065 | 5.40146 | 0.467153 | 0.054054 | 0.043243 | 0.059459 | 0.391892 | 0.391892 | 0.391892 | 0.286486 | 0.191892 | 0.191892 | 0 | 0.01326 | 0.150235 | 1,065 | 44 | 78 | 24.204545 | 0.80442 | 0.098592 | 0 | 0.533333 | 0 | 0 | 0.104384 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.133333 | false | 0.066667 | 0.066667 | 0.133333 | 0.8 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
93fb5ce895e8f4a02926490728991929cf56da97 | 8,413 | py | Python | gaze_project/dataCollection/gui/icon_rc.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | 1 | 2022-01-18T01:53:34.000Z | 2022-01-18T01:53:34.000Z | gaze_project/dataCollection/gui/icon_rc.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | gaze_project/dataCollection/gui/icon_rc.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.12.5)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x06\x74\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
... | 52.254658 | 104 | 0.713182 | 1,917 | 8,413 | 3.110068 | 0.159624 | 0.110701 | 0.098121 | 0.066421 | 0.147937 | 0.147937 | 0.133177 | 0.133177 | 0.133177 | 0.124119 | 0 | 0.325921 | 0.048496 | 8,413 | 160 | 105 | 52.58125 | 0.418863 | 0.018067 | 0 | 0.055556 | 0 | 0.763889 | 0.000124 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.013889 | false | 0 | 0.006944 | 0 | 0.020833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e1389daa88fabb549441cc3bd82409a4d0fabc6 | 210 | py | Python | scripts/set_env_variables.py | kmarable/swiss_apartment_search | bddc92dceadfea0a3e849d54791c992f1caff39f | [
"MIT"
] | null | null | null | scripts/set_env_variables.py | kmarable/swiss_apartment_search | bddc92dceadfea0a3e849d54791c992f1caff39f | [
"MIT"
] | null | null | null | scripts/set_env_variables.py | kmarable/swiss_apartment_search | bddc92dceadfea0a3e849d54791c992f1caff39f | [
"MIT"
] | null | null | null | import sys
import os
project_folder = os.path.dirname(os.path.dirname(__file__))
print('project folder', os.environ['PROJECT_FOLDER'])
if project_folder not in sys.path:
sys.path.insert(0, project_folder)
| 26.25 | 59 | 0.771429 | 33 | 210 | 4.666667 | 0.454545 | 0.422078 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.104762 | 210 | 7 | 60 | 30 | 0.81383 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9e1afce9e9fb1174a4ac683b2d958922bb0f8d03 | 33 | py | Python | jupiter/use_cases/inbox_tasks/__init__.py | horia141/jupiter | 2c721d1d44e1cd2607ad9936e54a20ea254741dc | [
"MIT"
] | 15 | 2019-05-05T14:34:58.000Z | 2022-02-25T09:57:28.000Z | jupiter/use_cases/inbox_tasks/__init__.py | horia141/jupiter | 2c721d1d44e1cd2607ad9936e54a20ea254741dc | [
"MIT"
] | 3 | 2020-02-22T16:09:39.000Z | 2021-12-18T21:33:06.000Z | jupiter/use_cases/inbox_tasks/__init__.py | horia141/jupiter | 2c721d1d44e1cd2607ad9936e54a20ea254741dc | [
"MIT"
] | null | null | null | """Use cases for inbox tasks."""
| 16.5 | 32 | 0.636364 | 5 | 33 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.75 | 0.787879 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f5103de461bdf453dc54803d92a61ad1266e1ce6 | 673 | py | Python | sklr/metrics/__init__.py | alfaro96/scikit-lr | 9849425c30f3cb62c6794c406aba17074ea7b3af | [
"MIT"
] | 11 | 2019-12-04T12:57:54.000Z | 2022-03-09T18:01:16.000Z | sklr/metrics/__init__.py | alfaro96/PLR | 9849425c30f3cb62c6794c406aba17074ea7b3af | [
"MIT"
] | 50 | 2019-12-11T11:41:09.000Z | 2021-07-05T16:18:47.000Z | sklr/metrics/__init__.py | alfaro96/PLR | 9849425c30f3cb62c6794c406aba17074ea7b3af | [
"MIT"
] | 5 | 2020-03-13T16:59:40.000Z | 2022-02-17T11:40:04.000Z | """
The :mod:`sklr.metrics` module includes score functions, performance metrics
and pairwise metrics and distance computations.
"""
# =============================================================================
# Imports
# =============================================================================
# Local applic... | 33.65 | 79 | 0.414562 | 46 | 673 | 5.73913 | 0.586957 | 0.075758 | 0.136364 | 0.174242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077266 | 673 | 19 | 80 | 35.421053 | 0.425121 | 0.720654 | 0 | 0 | 0 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
f513c9f557a6b589e7c4361ece1a400090091a53 | 65 | py | Python | tests/lazy/conftest.py | fbartolic/starry | d50576caf964ad925c490c9f3ffe1273ab155397 | [
"MIT"
] | null | null | null | tests/lazy/conftest.py | fbartolic/starry | d50576caf964ad925c490c9f3ffe1273ab155397 | [
"MIT"
] | null | null | null | tests/lazy/conftest.py | fbartolic/starry | d50576caf964ad925c490c9f3ffe1273ab155397 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import starry
starry.config.lazy = True
| 13 | 25 | 0.646154 | 9 | 65 | 4.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.169231 | 65 | 4 | 26 | 16.25 | 0.759259 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f5235c13a881f423065bf8c5e5fb6bc3a1c55e21 | 119 | py | Python | createdb.py | gauthierginier/adc-heroku | fdc66f74e9f164a993ed848de0f511c1f6b9722e | [
"MIT"
] | null | null | null | createdb.py | gauthierginier/adc-heroku | fdc66f74e9f164a993ed848de0f511c1f6b9722e | [
"MIT"
] | null | null | null | createdb.py | gauthierginier/adc-heroku | fdc66f74e9f164a993ed848de0f511c1f6b9722e | [
"MIT"
] | null | null | null | import os
from app import db, create_app
if not os.path.exists("app/db.sqlite"):
db.create_all(app=create_app())
| 19.833333 | 39 | 0.722689 | 22 | 119 | 3.772727 | 0.545455 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 119 | 5 | 40 | 23.8 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f53da25e0512d8d4d81c282e720b619dd3e80581 | 246 | py | Python | Computer science/Programming languages/Python/Working with data/Working with files/Reading files/Line number/exercise.py | chanchanchong/PYTHON-TRACK-IN-HYPERSKILL | 462fe08ff4a2b183fd45a0235ab1ec7a788bd54c | [
"MIT"
] | null | null | null | Computer science/Programming languages/Python/Working with data/Working with files/Reading files/Line number/exercise.py | chanchanchong/PYTHON-TRACK-IN-HYPERSKILL | 462fe08ff4a2b183fd45a0235ab1ec7a788bd54c | [
"MIT"
] | null | null | null | Computer science/Programming languages/Python/Working with data/Working with files/Reading files/Line number/exercise.py | chanchanchong/PYTHON-TRACK-IN-HYPERSKILL | 462fe08ff4a2b183fd45a0235ab1ec7a788bd54c | [
"MIT"
] | null | null | null | # Line number
# Read the file sample.txt and print the number of lines that this file has.
# Don't forget to close the file!
# read sample.txt and print the number of lines
with open('sample.txt', 'r') as file:
print(len(file.readlines()))
| 27.333333 | 76 | 0.711382 | 44 | 246 | 3.977273 | 0.568182 | 0.154286 | 0.137143 | 0.194286 | 0.377143 | 0.377143 | 0.377143 | 0.377143 | 0 | 0 | 0 | 0 | 0.186992 | 246 | 8 | 77 | 30.75 | 0.875 | 0.666667 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f56d88ee3092c47d8a6b1a66dd6b642df767106a | 44 | py | Python | dsfp/__init__.py | phaeta/dsfp | 572b398a1bad9bfc3ea36ff2c26d715fa1191bf7 | [
"MIT"
] | null | null | null | dsfp/__init__.py | phaeta/dsfp | 572b398a1bad9bfc3ea36ff2c26d715fa1191bf7 | [
"MIT"
] | null | null | null | dsfp/__init__.py | phaeta/dsfp | 572b398a1bad9bfc3ea36ff2c26d715fa1191bf7 | [
"MIT"
] | null | null | null | from .dsfp import *
__VERSION__ = (0, 0, 1)
| 14.666667 | 23 | 0.636364 | 7 | 44 | 3.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.204545 | 44 | 2 | 24 | 22 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f5738ea2fecd3f806b887a21b7a3b9921bd67a84 | 5,542 | py | Python | test_hand.py | Jon-LaFlamme/cribbage | a74adeb4d3ebda0ec36d6612eab4faa9a160c0fd | [
"MIT"
] | null | null | null | test_hand.py | Jon-LaFlamme/cribbage | a74adeb4d3ebda0ec36d6612eab4faa9a160c0fd | [
"MIT"
] | null | null | null | test_hand.py | Jon-LaFlamme/cribbage | a74adeb4d3ebda0ec36d6612eab4faa9a160c0fd | [
"MIT"
] | null | null | null | import hand
import deck
def test_hand_constructor():
print("\n--------- TEST hand constructor -------------\n")
d = deck.Deck()
d.shuffle()
cards = []
for i in range(6):
cards.append(d.deal_one())
h = hand.Hand(list_of_cards=cards)
if h.turncard:
print(f'- turncard: {h.tur... | 28.27551 | 72 | 0.536449 | 754 | 5,542 | 3.802387 | 0.082228 | 0.125567 | 0.073247 | 0.027904 | 0.719567 | 0.649459 | 0.647715 | 0.639344 | 0.627485 | 0.627485 | 0 | 0.002815 | 0.230783 | 5,542 | 195 | 73 | 28.420513 | 0.669716 | 0.046373 | 0 | 0.751515 | 0 | 0 | 0.322464 | 0.044929 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.012121 | null | null | 0.460606 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f5828b4b601a27b793ba5d32314921986604dfc8 | 834 | py | Python | bot/decorators.py | Things-N-Stuff/Turt | 3c17d86870823b54be63c4bb11a0053a85e26d67 | [
"MIT"
] | null | null | null | bot/decorators.py | Things-N-Stuff/Turt | 3c17d86870823b54be63c4bb11a0053a85e26d67 | [
"MIT"
] | null | null | null | bot/decorators.py | Things-N-Stuff/Turt | 3c17d86870823b54be63c4bb11a0053a85e26d67 | [
"MIT"
] | null | null | null | # discord
import discord
from discord.ext import commands
# python
from typing import Callable
# checks
from bot.checks import in_server, is_whitelisted, is_server_owner, is_bot_hoster
# We currently have none
def server_only() -> Callable:
def predicate(ctx:commands.Context):
return in_server(ctx)
... | 23.166667 | 80 | 0.730216 | 108 | 834 | 5.472222 | 0.296296 | 0.081218 | 0.101523 | 0.162437 | 0.554992 | 0.450085 | 0.335025 | 0.335025 | 0.253807 | 0 | 0 | 0 | 0.185851 | 834 | 35 | 81 | 23.828571 | 0.870398 | 0.07554 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
f597e4f46654b94db8e08c80fdf93d305466dafe | 35 | py | Python | imagetagger/venv/lib/python3.7/reprlib.py | wrigsa/ImageTagger | d8a7ab7d004eeda8deae423eccc7236c4accab47 | [
"MIT"
] | 8 | 2020-04-09T13:37:16.000Z | 2021-11-22T01:26:02.000Z | env/lib/python3.7/reprlib.py | karenhao/Office-365-Flask-App-kudos | 95500ec55169f49eb281fff9905ad0b7f94d6fa3 | [
"MIT"
] | 23 | 2019-01-19T08:54:48.000Z | 2022-03-11T23:39:37.000Z | env/lib/python3.7/reprlib.py | karenhao/Office-365-Flask-App-kudos | 95500ec55169f49eb281fff9905ad0b7f94d6fa3 | [
"MIT"
] | 5 | 2021-01-12T07:03:31.000Z | 2021-09-27T16:30:24.000Z | /anaconda3/lib/python3.7/reprlib.py | 35 | 35 | 0.828571 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 35 | 1 | 35 | 35 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f5a29887682bc2504ff2c92060451127a579f20e | 1,806 | py | Python | workbench/audit/migrations/0002_auto_20190321_1626.py | yoshson/workbench | 701558cac3357cd82e4dc99f0fefed12ee81ddc5 | [
"MIT"
] | 15 | 2020-09-02T22:17:34.000Z | 2022-02-01T20:09:10.000Z | workbench/audit/migrations/0002_auto_20190321_1626.py | yoshson/workbench | 701558cac3357cd82e4dc99f0fefed12ee81ddc5 | [
"MIT"
] | 18 | 2020-01-08T15:28:26.000Z | 2022-02-28T02:46:41.000Z | workbench/audit/migrations/0002_auto_20190321_1626.py | yoshson/workbench | 701558cac3357cd82e4dc99f0fefed12ee81ddc5 | [
"MIT"
] | 8 | 2020-09-29T08:00:24.000Z | 2022-01-16T11:58:19.000Z | # Generated by Django 2.1.7 on 2019-03-21 15:26
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("audit", "0001_initial"),
("credit_control", "0003_auto_20190321_1447"),
("logbook", "0001_initial"),
]
operations = [
migrations.Run... | 45.15 | 100 | 0.649502 | 200 | 1,806 | 5.55 | 0.295 | 0.109009 | 0.12973 | 0.17027 | 0.44955 | 0.293694 | 0.293694 | 0.16036 | 0 | 0 | 0 | 0.028179 | 0.233666 | 1,806 | 39 | 101 | 46.307692 | 0.773844 | 0.024917 | 0 | 0.121212 | 1 | 0 | 0.681637 | 0.409892 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.121212 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f5a805c451113c6d1bfce4cce0e36275b2f2adf0 | 192 | py | Python | unit_commitment/distributed_unit_commitment/__init__.py | Matrixeigs/EnergyManagementSourceCodes | 1ea824941fe87528622ec7aa8148024752a3947c | [
"MIT"
] | 3 | 2021-10-21T07:28:38.000Z | 2022-02-17T11:30:52.000Z | unit_commitment/distributed_unit_commitment/__init__.py | Matrixeigs/EnergyManagementSourceCodes | 1ea824941fe87528622ec7aa8148024752a3947c | [
"MIT"
] | null | null | null | unit_commitment/distributed_unit_commitment/__init__.py | Matrixeigs/EnergyManagementSourceCodes | 1ea824941fe87528622ec7aa8148024752a3947c | [
"MIT"
] | null | null | null | """
Distributed unit commitment package
1) Micro-grid power park
2) Transmission networks
3) Distributed networks
4) Hybrid AC/DC networks
@author: Tianyang Zhao
@e-mail:zhaoty@ntu.edu.sh
"""
| 19.2 | 35 | 0.770833 | 29 | 192 | 5.103448 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.125 | 192 | 9 | 36 | 21.333333 | 0.857143 | 0.953125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
193c21593ddae9d71a735809dc1fa14a2900e393 | 138 | py | Python | definitions.py | statnett/relevant_assets | 3b29c64677b63c485c09fbef14d933fe49fd7fc0 | [
"Apache-2.0"
] | 1 | 2020-04-29T13:29:22.000Z | 2020-04-29T13:29:22.000Z | definitions.py | statnett/relevant_assets | 3b29c64677b63c485c09fbef14d933fe49fd7fc0 | [
"Apache-2.0"
] | null | null | null | definitions.py | statnett/relevant_assets | 3b29c64677b63c485c09fbef14d933fe49fd7fc0 | [
"Apache-2.0"
] | null | null | null | import os
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
TOPOLOGY_DIR = os.path.join(ROOT_DIR, 'project_code', 'topology_getter')
| 27.6 | 72 | 0.775362 | 22 | 138 | 4.454545 | 0.590909 | 0.183673 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 138 | 4 | 73 | 34.5 | 0.771654 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1945d1f717e4ada75fe0958150c5925e08a0fd50 | 157 | py | Python | src/neurlink/nn/modules/__init__.py | tjyuyao/neurlink | 6077c526704c5cc57f88eb9ea1e03b1dc9dccba3 | [
"MIT"
] | null | null | null | src/neurlink/nn/modules/__init__.py | tjyuyao/neurlink | 6077c526704c5cc57f88eb9ea1e03b1dc9dccba3 | [
"MIT"
] | null | null | null | src/neurlink/nn/modules/__init__.py | tjyuyao/neurlink | 6077c526704c5cc57f88eb9ea1e03b1dc9dccba3 | [
"MIT"
] | null | null | null | from torch.nn import Identity as I
from .regularization import DropPath
from einops.layers.torch import Rearrange
__all__ = ["Rearrange", "DropPath", "I"]
| 22.428571 | 41 | 0.770701 | 21 | 157 | 5.571429 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133758 | 157 | 6 | 42 | 26.166667 | 0.860294 | 0 | 0 | 0 | 0 | 0 | 0.11465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1958d4112dbe5d944031d5d5995ec0cb71bf9e18 | 289 | py | Python | profiles/forms.py | luiseduardogfranca/djtwapp | 41bd3f4544c3a890d48082e9cd62593654dded3a | [
"MIT"
] | null | null | null | profiles/forms.py | luiseduardogfranca/djtwapp | 41bd3f4544c3a890d48082e9cd62593654dded3a | [
"MIT"
] | null | null | null | profiles/forms.py | luiseduardogfranca/djtwapp | 41bd3f4544c3a890d48082e9cd62593654dded3a | [
"MIT"
] | null | null | null | from django import forms
from .models import BOT_EXPLICATIONS
def get_bot_explications():
return [(str(count), explication) for count, explication in enumerate(BOT_EXPLICATIONS)]
class BotExplicationForm:
choices = forms.ChoiceField(choices=get_bot_explications())
| 24.083333 | 93 | 0.761246 | 33 | 289 | 6.484848 | 0.606061 | 0.280374 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16263 | 289 | 11 | 94 | 26.272727 | 0.884298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
19a2a345ab5b2c7eb2e49b32b92770d6b515f957 | 90 | py | Python | main.py | rellymat/Mail-In-Ballot | d81361d69c79ef7d35a84e63d3a3ba204aabe978 | [
"CC0-1.0"
] | null | null | null | main.py | rellymat/Mail-In-Ballot | d81361d69c79ef7d35a84e63d3a3ba204aabe978 | [
"CC0-1.0"
] | 1 | 2020-12-09T13:07:00.000Z | 2020-12-09T13:07:00.000Z | main.py | rellymat/Mail-In-Ballot | d81361d69c79ef7d35a84e63d3a3ba204aabe978 | [
"CC0-1.0"
] | null | null | null | import User
if __name__ == '__main__':
user = User.User()
user.start_menu()
| 15 | 27 | 0.6 | 11 | 90 | 4.090909 | 0.636364 | 0.533333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 90 | 5 | 28 | 18 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
270d0980b44e4e104700bbe19cccf22c273f2792 | 4,490 | py | Python | apiclients/model.py | weizhard/justgivingapi | 4cda8cffac7abf1b44dba405724ee4353a72262d | [
"Apache-2.0"
] | null | null | null | apiclients/model.py | weizhard/justgivingapi | 4cda8cffac7abf1b44dba405724ee4353a72262d | [
"Apache-2.0"
] | null | null | null | apiclients/model.py | weizhard/justgivingapi | 4cda8cffac7abf1b44dba405724ee4353a72262d | [
"Apache-2.0"
] | null | null | null | ''' Bongani Ndlovu :: Justgiving API PYTHON CLIENT Models '''
class SetterProperty(object):
def __init__(self, func, doc=None):
self.func = func
self.__doc__ = doc if doc is not None else func.__doc__
def __set__(self, obj, value):
return self.func(obj, value)
class Address(object):
... | 29.933333 | 63 | 0.643875 | 431 | 4,490 | 6.290023 | 0.162413 | 0.244559 | 0.187016 | 0.238288 | 0.08779 | 0.08779 | 0.08779 | 0.05533 | 0.05533 | 0.05533 | 0 | 0.001173 | 0.240757 | 4,490 | 149 | 64 | 30.134228 | 0.794075 | 0.040089 | 0 | 0.343511 | 0 | 0 | 0.086042 | 0.005611 | 0 | 0 | 0 | 0 | 0 | 1 | 0.320611 | false | 0.015267 | 0 | 0.007634 | 0.374046 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
272c0a8e08a4bcd661d428cba94de93129fdd2bd | 235 | py | Python | projects/form.py | ianshulx/egiportal | 3a147a4a61e58f2a6229e08a5a4c256d7b674b81 | [
"MIT"
] | 1 | 2022-02-17T10:34:21.000Z | 2022-02-17T10:34:21.000Z | projects/form.py | ianshulx/egiportal | 3a147a4a61e58f2a6229e08a5a4c256d7b674b81 | [
"MIT"
] | null | null | null | projects/form.py | ianshulx/egiportal | 3a147a4a61e58f2a6229e08a5a4c256d7b674b81 | [
"MIT"
] | null | null | null | from django import forms
from django.forms import fields
from .models import project
class projectform(forms.ModelForm):
class Meta:
model=project
fields=("Project_name", "Github_link", "Project_image") | 29.375 | 67 | 0.697872 | 28 | 235 | 5.75 | 0.571429 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221277 | 235 | 8 | 67 | 29.375 | 0.879781 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
27460355624a8842fdaf1a0b84690371de43f905 | 1,063 | py | Python | models/networks/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | models/networks/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | models/networks/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | from config import ConfigPackageProvider
from .generator import *
from .discriminator import *
from .mapping_network import *
from .network_cops import NetworkCOP
from .gan_loss import GANLossCOP, GANMode, GANLoss
from .initialization import NetworkInitializationCOP, InitializationType, init_weights_with_config_values,... | 39.37037 | 119 | 0.821261 | 101 | 1,063 | 8.39604 | 0.455446 | 0.035377 | 0.063679 | 0.091981 | 0.167453 | 0.167453 | 0.167453 | 0.167453 | 0.167453 | 0 | 0 | 0 | 0.125118 | 1,063 | 26 | 120 | 40.884615 | 0.911828 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.47619 | 0.142857 | 0.857143 | 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 | 1 | 1 | 0 | 0 | 4 |
274c26e0079f83dafdd1110f4dff4adaff4fcf17 | 90 | py | Python | yambopy/double_grid/__init__.py | alexmoratalla/yambopy | 8ec0e1e18868ccaadb3eab36c55e6a47021e257d | [
"BSD-3-Clause"
] | 1 | 2017-04-12T15:38:34.000Z | 2017-04-12T15:38:34.000Z | yambopy/double_grid/__init__.py | alexmoratalla/yambopy | 8ec0e1e18868ccaadb3eab36c55e6a47021e257d | [
"BSD-3-Clause"
] | null | null | null | yambopy/double_grid/__init__.py | alexmoratalla/yambopy | 8ec0e1e18868ccaadb3eab36c55e6a47021e257d | [
"BSD-3-Clause"
] | null | null | null | #
# This file is part of yambopy
#
"""
submodule with classes to read DG calculations
"""
| 12.857143 | 46 | 0.7 | 13 | 90 | 4.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 90 | 6 | 47 | 15 | 0.875 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2771ac9c93206bf7925b4374269dbfbefdbc4133 | 147 | py | Python | test.py | nicehero/kcpTest | a2dae9cbd750ff49ab88fbb533bd4658cc68903f | [
"MIT"
] | 1 | 2019-07-09T09:24:24.000Z | 2019-07-09T09:24:24.000Z | test.py | nicehero/kcpTest | a2dae9cbd750ff49ab88fbb533bd4658cc68903f | [
"MIT"
] | null | null | null | test.py | nicehero/kcpTest | a2dae9cbd750ff49ab88fbb533bd4658cc68903f | [
"MIT"
] | null | null | null | from subprocess import Popen, PIPE
import time
p1 = Popen("./kcpTest")
p2 = Popen(["./kcpTest","1"])
while 1:
time.sleep(0.5)
pass
| 18.375 | 34 | 0.605442 | 21 | 147 | 4.238095 | 0.714286 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.22449 | 147 | 7 | 35 | 21 | 0.72807 | 0 | 0 | 0 | 0 | 0 | 0.129252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2793f9e390381c2212e824cc5448eb3fbb52bbdd | 169,866 | py | Python | 3algo/homo/3_16_4datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | null | null | null | 3algo/homo/3_16_4datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | null | null | null | 3algo/homo/3_16_4datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | 1 | 2021-03-21T17:54:26.000Z | 2021-03-21T17:54:26.000Z |
wt3_16_4 = {'192.168.122.111': [12.4154, 9.2921, 8.1588, 7.6252, 7.6302, 7.6511, 7.5397, 8.0852, 9.2902, 9.5141, 9.1403, 9.3366, 9.158, 9.0508, 8.8231, 8.7038, 8.5203, 8.6398, 8.5856, 8.7358, 8.5911, 8.7096, 8.6047, 8.3721, 8.5464, 8.4352, 8.3412, 8.4543, 8.2102, 8.2007, 8.1135, 8.0674, 8.0126, 8.0049, 7.9352, 7.8751,... | 10,616.625 | 145,317 | 0.618876 | 43,148 | 169,866 | 2.435524 | 0.134467 | 0.001085 | 0.002398 | 0.003901 | 0.404823 | 0.103523 | 0.101981 | 0.037216 | 0.037216 | 0.027843 | 0 | 0.707973 | 0.127112 | 169,866 | 16 | 145,318 | 10,616.625 | 0.000769 | 0 | 0 | 0 | 0 | 0 | 0.00063 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
27cb9d318162112894edc1b18775a2f2ab610925 | 181 | py | Python | servicios_profesionales/photologue_custom/form.py | acs-um/ServiciosProfesionales | b29d67cda42f3d975a8abaf58203d92c9d1a3f57 | [
"MIT"
] | 1 | 2018-05-24T23:33:02.000Z | 2018-05-24T23:33:02.000Z | servicios_profesionales/photologue_custom/form.py | acs-um/ServiciosProfesionales | b29d67cda42f3d975a8abaf58203d92c9d1a3f57 | [
"MIT"
] | 22 | 2018-05-07T20:46:27.000Z | 2018-06-10T23:59:49.000Z | servicios_profesionales/photologue_custom/form.py | acs-um/ServiciosProfesionales | b29d67cda42f3d975a8abaf58203d92c9d1a3f57 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from photologue.models import Gallery
class GalleryExtendedForm(ModelForm):
class Meta:
model = Gallery
fields = '__all__'
| 18.1 | 37 | 0.718232 | 19 | 181 | 6.631579 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226519 | 181 | 9 | 38 | 20.111111 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.038674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
27f10cf208f10973e7d21cfcbb42b1f988b5e6d2 | 112 | py | Python | uvtools/__init__.py | LBJ-Wade/uvtools | b1bbe5fd8cff06354bed6ca4ab195bf82b8db976 | [
"MIT"
] | null | null | null | uvtools/__init__.py | LBJ-Wade/uvtools | b1bbe5fd8cff06354bed6ca4ab195bf82b8db976 | [
"MIT"
] | 122 | 2017-06-26T21:09:41.000Z | 2022-03-29T17:36:09.000Z | uvtools/__init__.py | LBJ-Wade/uvtools | b1bbe5fd8cff06354bed6ca4ab195bf82b8db976 | [
"MIT"
] | 1 | 2018-01-27T06:58:54.000Z | 2018-01-27T06:58:54.000Z | from . import dspec
from . import plot
from . import version
from . import utils
__version__ = version.version
| 16 | 29 | 0.767857 | 15 | 112 | 5.466667 | 0.4 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 6 | 30 | 18.666667 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7e07f0a5fb2c07269a8d51dc652fb3aade082594 | 258 | py | Python | cosmic-core/systemvm/patches/centos7/opt/cosmic/router/bin/databag/cs_cmdline.py | sanderv32/cosmic | 9a9d86500b67255a1c743a9438a05c0d969fd210 | [
"Apache-2.0"
] | 64 | 2016-01-30T13:31:00.000Z | 2022-02-21T02:13:25.000Z | cosmic-core/systemvm/patches/centos7/opt/cosmic/router/bin/databag/cs_cmdline.py | sanderv32/cosmic | 9a9d86500b67255a1c743a9438a05c0d969fd210 | [
"Apache-2.0"
] | 525 | 2016-01-22T10:46:31.000Z | 2022-02-23T11:08:01.000Z | cosmic-core/systemvm/patches/centos7/opt/cosmic/router/bin/databag/cs_cmdline.py | sanderv32/cosmic | 9a9d86500b67255a1c743a9438a05c0d969fd210 | [
"Apache-2.0"
] | 25 | 2016-01-13T16:46:46.000Z | 2021-07-23T15:22:27.000Z | def merge(dbag, cmdline):
if 'redundant_router' in cmdline['cmd_line']:
cmdline['cmd_line']['redundant_router'] = "true"
else:
cmdline['cmd_line']['redundant_router'] = "false"
dbag['config'] = cmdline['cmd_line']
return dbag
| 32.25 | 57 | 0.635659 | 31 | 258 | 5.064516 | 0.483871 | 0.254777 | 0.356688 | 0.292994 | 0.369427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197674 | 258 | 7 | 58 | 36.857143 | 0.758454 | 0 | 0 | 0 | 0 | 0 | 0.368217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fd735450df423d63a068fc8b35a24626847f6b12 | 318 | py | Python | test.py | multiplay/python-mailchimp | b810821b9a792e820e21eabf124d467799f82a4e | [
"MIT"
] | null | null | null | test.py | multiplay/python-mailchimp | b810821b9a792e820e21eabf124d467799f82a4e | [
"MIT"
] | null | null | null | test.py | multiplay/python-mailchimp | b810821b9a792e820e21eabf124d467799f82a4e | [
"MIT"
] | 1 | 2022-02-12T11:32:46.000Z | 2022-02-12T11:32:46.000Z | from mailchimp3 import MailChimp
client = MailChimp('didierserrat', 'dde1a01e091c530def679e42f2390b46-us9')
# print client.authorized_app.all()
# print client.authorized_app.get('870970111619')
# print client.automation.all()
# print client.automation.start('870970111619')
print client.growth.all('2822d76480')
| 22.714286 | 74 | 0.789308 | 34 | 318 | 7.323529 | 0.529412 | 0.220884 | 0.168675 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 0.08805 | 318 | 13 | 75 | 24.461538 | 0.668966 | 0.493711 | 0 | 0 | 0 | 0 | 0.371795 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
fd8b13491aa48e8e2b9a1b8d36ea04b78ae9b99c | 216 | py | Python | _tests/test_global_functions.py | EinsteinCarrey/Shoppinglist | 8a5dbd22687619b189d69522090c0bc226384663 | [
"MIT"
] | null | null | null | _tests/test_global_functions.py | EinsteinCarrey/Shoppinglist | 8a5dbd22687619b189d69522090c0bc226384663 | [
"MIT"
] | 8 | 2017-08-29T02:47:57.000Z | 2019-10-18T16:32:23.000Z | _tests/test_global_functions.py | EinsteinNjoroge/Shoppinglist | 8a5dbd22687619b189d69522090c0bc226384663 | [
"MIT"
] | 3 | 2017-08-29T08:49:08.000Z | 2018-03-02T03:43:01.000Z | from unittest import TestCase
import global_functions
case = TestCase()
def test_get_attributes_from_class_returns_dict():
case.assertIsInstance(
global_functions.get_attributes_from_class(""), dict)
| 19.636364 | 61 | 0.791667 | 26 | 216 | 6.153846 | 0.576923 | 0.1875 | 0.2125 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 216 | 10 | 62 | 21.6 | 0.860215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fdffac45ecdb363dc7d92cc3f4bfd0f46a24994c | 366 | py | Python | yanhao/study/Duck.py | qsyPython/Python_play_now | 278b6d5d30082f8f93b26902c854737c4919405a | [
"MIT"
] | 2 | 2018-03-29T08:26:17.000Z | 2019-06-17T10:56:19.000Z | yanhao/study/Duck.py | qsyPython/Python_play_now | 278b6d5d30082f8f93b26902c854737c4919405a | [
"MIT"
] | 1 | 2022-03-22T20:26:08.000Z | 2022-03-22T20:26:08.000Z | yanhao/study/Duck.py | qsyPython/Python_play_now | 278b6d5d30082f8f93b26902c854737c4919405a | [
"MIT"
] | 1 | 2019-02-18T10:44:20.000Z | 2019-02-18T10:44:20.000Z | class Cat(object):
def say(self):
print("i am cat")
class Dog(object):
def say(self):
print("I am dog")
class Duck(object):
def say(self):
print("I am a duck")
animal = Cat
animal().say()
class Animal():
def say(self):
print("i am a animal")
class Dog(
Animal):
... | 14.076923 | 30 | 0.538251 | 55 | 366 | 3.581818 | 0.236364 | 0.152284 | 0.253807 | 0.380711 | 0.649746 | 0.649746 | 0.649746 | 0 | 0 | 0 | 0 | 0 | 0.308743 | 366 | 25 | 31 | 14.64 | 0.778656 | 0 | 0 | 0.388889 | 0 | 0 | 0.131507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0 | 0 | 0.555556 | 0.277778 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8bf91d0f3ab30111369f1381246b80262c232214 | 239 | py | Python | packages/jet_bridge_base/jet_bridge_base/exceptions/sql.py | bokal2/jet-bridge | dddc4f55c2d5a28c02ce9515dffc750e3887450f | [
"MIT"
] | 1,247 | 2019-01-10T22:22:08.000Z | 2022-03-29T20:54:32.000Z | packages/jet_bridge_base/jet_bridge_base/exceptions/sql.py | bokal2/jet-bridge | dddc4f55c2d5a28c02ce9515dffc750e3887450f | [
"MIT"
] | 12 | 2019-03-15T20:06:14.000Z | 2022-01-07T10:28:20.000Z | packages/jet_bridge_base/jet_bridge_base/exceptions/sql.py | bokal2/jet-bridge | dddc4f55c2d5a28c02ce9515dffc750e3887450f | [
"MIT"
] | 130 | 2019-02-26T17:36:53.000Z | 2022-03-17T22:46:27.000Z | from jet_bridge_base import status
from jet_bridge_base.exceptions.api import APIException
class SqlError(APIException):
status_code = status.HTTP_400_BAD_REQUEST
default_detail = 'Query failed'
default_code = 'query_failed'
| 26.555556 | 55 | 0.803347 | 32 | 239 | 5.65625 | 0.625 | 0.077348 | 0.143646 | 0.187845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014634 | 0.142259 | 239 | 8 | 56 | 29.875 | 0.868293 | 0 | 0 | 0 | 0 | 0 | 0.100418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e36e884bdefce8cf8fd45e47542e989de4794fd2 | 370 | py | Python | examples/toyfit/__init__.py | WilliamAshbee/gan | ab75e87681b9113d3af8df8a3cd97bf3bd69c6ac | [
"Apache-2.0"
] | 6 | 2020-01-27T11:25:12.000Z | 2020-08-16T02:35:46.000Z | examples/toyfit/__init__.py | WilliamAshbee/gan | ab75e87681b9113d3af8df8a3cd97bf3bd69c6ac | [
"Apache-2.0"
] | 1 | 2020-04-30T18:27:46.000Z | 2020-06-08T09:38:22.000Z | examples/toyfit/__init__.py | WilliamAshbee/gan | ab75e87681b9113d3af8df8a3cd97bf3bd69c6ac | [
"Apache-2.0"
] | 3 | 2020-06-23T13:35:34.000Z | 2020-12-10T20:22:28.000Z | # flake8: noqa
import sys
sys.path.insert(-1, '.') # TODO: remove this terrible workaround
from catalyst.dl import registry
from catalyst_gan.core.runner import GanRunner as Runner
from . import callbacks, models, transforms
from .experiment import MnistGanExperiment as Experiment
registry.CALLBACKS.add_from_module(c... | 33.636364 | 65 | 0.818919 | 50 | 370 | 5.96 | 0.56 | 0.080537 | 0.087248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006042 | 0.105405 | 370 | 10 | 66 | 37 | 0.89426 | 0.135135 | 0 | 0 | 0 | 0 | 0.003155 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | true | 0 | 0.625 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8b66a659945a462daec74d41aa0a66e86f318122 | 102 | py | Python | mnsit/run.py | augusyan/Kaggle-Competition | 484f1a1419a55014ebcde8f4930aa373872771a2 | [
"Apache-2.0"
] | null | null | null | mnsit/run.py | augusyan/Kaggle-Competition | 484f1a1419a55014ebcde8f4930aa373872771a2 | [
"Apache-2.0"
] | null | null | null | mnsit/run.py | augusyan/Kaggle-Competition | 484f1a1419a55014ebcde8f4930aa373872771a2 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
"""
@author : Augus Yan
@file : run.py
@time : 2019/4/30 21:12
@function :
""" | 14.571429 | 23 | 0.54902 | 16 | 102 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 0.186275 | 102 | 7 | 24 | 14.571429 | 0.53012 | 0.911765 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b8ced0b048beb85c50f6e973e62b7a422a69cd5 | 2,781 | py | Python | nex/parsing/condition_rules.py | eddiejessup/nex | d61005aacb3b87f8cf1a1e2080ca760d757d5751 | [
"MIT"
] | null | null | null | nex/parsing/condition_rules.py | eddiejessup/nex | d61005aacb3b87f8cf1a1e2080ca760d757d5751 | [
"MIT"
] | null | null | null | nex/parsing/condition_rules.py | eddiejessup/nex | d61005aacb3b87f8cf1a1e2080ca760d757d5751 | [
"MIT"
] | null | null | null | from ..tokens import BuiltToken
def add_condition_rules(pg):
@pg.production('condition : IF_NUM number relation number')
def condition_if_num(p):
return BuiltToken(
type_=p[0].type,
value={'left_number': p[1],
'right_number': p[3],
'relatio... | 28.96875 | 63 | 0.561309 | 326 | 2,781 | 4.579755 | 0.153374 | 0.206296 | 0.239116 | 0.261889 | 0.61219 | 0.496986 | 0.496986 | 0.496986 | 0.496986 | 0.448761 | 0 | 0.011405 | 0.306365 | 2,781 | 95 | 64 | 29.273684 | 0.762571 | 0.144193 | 0 | 0.438356 | 0 | 0 | 0.218143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136986 | false | 0 | 0.013699 | 0.123288 | 0.273973 | 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 | 1 | 0 | 0 | 0 | 4 |
8b974f53d6ac076b8811d92f8778a457a216e4e6 | 212 | py | Python | clearbox_wrapper/__init__.py | Clearbox-AI/clearbox-wrapper | 3629923763629d2a12cb96723695b5ab497ad756 | [
"Apache-2.0"
] | 14 | 2020-06-26T13:38:54.000Z | 2022-03-16T18:30:09.000Z | clearbox_wrapper/__init__.py | Clearbox-AI/clearbox-wrapper | 3629923763629d2a12cb96723695b5ab497ad756 | [
"Apache-2.0"
] | 9 | 2020-09-21T07:20:59.000Z | 2021-09-02T13:49:45.000Z | clearbox_wrapper/__init__.py | Clearbox-AI/clearbox-wrapper | 3629923763629d2a12cb96723695b5ab497ad756 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.3.11"
from .exceptions import ClearboxWrapperException
from .model import Model
from .wrapper import load_model, save_model
__all__ = [ClearboxWrapperException, load_model, Model, save_model]
| 23.555556 | 67 | 0.811321 | 26 | 212 | 6.153846 | 0.5 | 0.1125 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02139 | 0.117925 | 212 | 8 | 68 | 26.5 | 0.834225 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
8bb59d89456cb6b8235256a87b663fa607bb8408 | 521 | py | Python | contest/abc157/B.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | contest/abc157/B.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | contest/abc157/B.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | a = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
ans = "No"
for _ in range(n):
b = int(input())
for i in range(3):
for j in range(3):
if a[i][j] == b:
a[i][j] = -1
for i in range(3):
if a[i][0] == a[i][1] == a[i][2] == -1:
ans = "Yes"
for j... | 24.809524 | 55 | 0.395393 | 105 | 521 | 1.942857 | 0.209524 | 0.205882 | 0.196078 | 0.147059 | 0.446078 | 0.318627 | 0.147059 | 0 | 0 | 0 | 0 | 0.078652 | 0.316699 | 521 | 20 | 56 | 26.05 | 0.494382 | 0 | 0 | 0.4 | 0 | 0 | 0.026871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 1 | null | 1 | 1 | 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 | 4 |
47431b90ed4c60e83bf8f92b7267127d3ea74bac | 178 | py | Python | hamiltonians/quasi_heisenberg/__init__.py | macthecadillac/Interacting-Fermions | 6122d2a7e67533b28e581929995ce8e2a2ad41fc | [
"BSD-3-Clause"
] | 1 | 2020-07-29T06:06:12.000Z | 2020-07-29T06:06:12.000Z | hamiltonians/quasi_heisenberg/__init__.py | macthecadillac/Interacting-Fermions | 6122d2a7e67533b28e581929995ce8e2a2ad41fc | [
"BSD-3-Clause"
] | null | null | null | hamiltonians/quasi_heisenberg/__init__.py | macthecadillac/Interacting-Fermions | 6122d2a7e67533b28e581929995ce8e2a2ad41fc | [
"BSD-3-Clause"
] | null | null | null | from . import nleg
from . import nleg_blkdiag
from . import oneleg
from . import oneleg_blkdiag
__all__ = [
"nleg",
"nleg_blkdiag",
"oneleg",
"oneleg_blkdiag"
]
| 14.833333 | 28 | 0.668539 | 21 | 178 | 5.285714 | 0.285714 | 0.36036 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230337 | 178 | 11 | 29 | 16.181818 | 0.810219 | 0 | 0 | 0 | 0 | 0 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
474f7b0236a31892c92f174299489a3ab40a3370 | 584 | py | Python | repos/upgrade/models/ifaceresult.py | jmikovic/leapp-actors | eb8773c632eaa12d72e8c637dbedd72523b3044e | [
"Apache-2.0"
] | 3 | 2017-09-06T11:38:42.000Z | 2018-08-10T13:01:27.000Z | repos/upgrade/models/ifaceresult.py | jmikovic/leapp-actors | eb8773c632eaa12d72e8c637dbedd72523b3044e | [
"Apache-2.0"
] | 62 | 2017-11-20T08:08:24.000Z | 2018-11-20T15:37:06.000Z | repos/upgrade/models/ifaceresult.py | jmikovic/leapp-actors | eb8773c632eaa12d72e8c637dbedd72523b3044e | [
"Apache-2.0"
] | 17 | 2017-09-07T12:59:58.000Z | 2020-10-01T01:55:37.000Z | from leapp.models import Model, fields
from leapp.topics import NetworkInfoTopic
class IfacesInfo(Model):
topic = NetworkInfoTopic
if_name = fields.String(required=True)
hwaddr = fields.String(required=True)
driver = fields.String(required=True)
ipv4addr = fields.String(required=True)
bond_sta... | 30.736842 | 76 | 0.746575 | 69 | 584 | 6.26087 | 0.405797 | 0.222222 | 0.324074 | 0.388889 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00202 | 0.152397 | 584 | 18 | 77 | 32.444444 | 0.870707 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
475f4e9c32369b65dde24878e5b6e76ac30f4bb1 | 380 | py | Python | tests/rules/test_ls_all.py | pybenchmark/thefuck | 993a661c6048063e84645015cc832602b6ec32df | [
"MIT"
] | 1 | 2018-07-06T04:10:56.000Z | 2018-07-06T04:10:56.000Z | tests/rules/test_ls_all.py | pybenchmark/thefuck | 993a661c6048063e84645015cc832602b6ec32df | [
"MIT"
] | 4 | 2020-12-23T15:44:08.000Z | 2020-12-23T16:48:59.000Z | tests/rules/test_ls_all.py | pybenchmark/thefuck | 993a661c6048063e84645015cc832602b6ec32df | [
"MIT"
] | 1 | 2020-12-23T14:46:54.000Z | 2020-12-23T14:46:54.000Z | from thefuck.rules.ls_all import match, get_new_command
from tests.utils import Command
def test_match():
assert match(Command(script='ls'))
assert not match(Command(script='ls', stdout='file.py\n'))
def test_get_new_command():
assert get_new_command(Command(script='ls empty_dir')) == 'ls -A empty_dir'
... | 29.230769 | 79 | 0.723684 | 60 | 380 | 4.366667 | 0.4 | 0.091603 | 0.198473 | 0.152672 | 0.259542 | 0.259542 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0.134211 | 380 | 12 | 80 | 31.666667 | 0.796353 | 0 | 0 | 0 | 0 | 0 | 0.123684 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47705cd49cf02a243453f10fa5f324377e728754 | 135 | py | Python | demo/code/2021-11-15/f.py | uxlsl/uxlsl.github.io | 91b62eb01fad38b913016236bb687eb6f0fe2012 | [
"MIT"
] | null | null | null | demo/code/2021-11-15/f.py | uxlsl/uxlsl.github.io | 91b62eb01fad38b913016236bb687eb6f0fe2012 | [
"MIT"
] | null | null | null | demo/code/2021-11-15/f.py | uxlsl/uxlsl.github.io | 91b62eb01fad38b913016236bb687eb6f0fe2012 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def f(k, n):
pass
assert f(1, 2) == 2
assert f(2, 6) == 3
assert f(3, 14) == 14
| 10.384615 | 23 | 0.496296 | 27 | 135 | 2.481481 | 0.666667 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.259259 | 135 | 12 | 24 | 11.25 | 0.55 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
477a0d439a93588f946e67f9e96a4962b1876225 | 65 | py | Python | knx_stack/decode/layer/network/n_data_group/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 2 | 2021-07-28T07:42:28.000Z | 2022-01-25T18:56:05.000Z | knx_stack/decode/layer/network/n_data_group/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 6 | 2021-07-25T21:36:01.000Z | 2022-02-20T21:11:31.000Z | knx_stack/decode/layer/network/n_data_group/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | null | null | null | from knx_stack.decode.layer.network.n_data_group import con, ind
| 32.5 | 64 | 0.846154 | 12 | 65 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4793cac741fbe1d66fe0b2047379e5e43a60fa1f | 350 | py | Python | Layer/__init__.py | sal-versij/Neuronal-Network-Study | b78fc1c6959b25e44f981ae6daab0cde9d5759b5 | [
"MIT"
] | null | null | null | Layer/__init__.py | sal-versij/Neuronal-Network-Study | b78fc1c6959b25e44f981ae6daab0cde9d5759b5 | [
"MIT"
] | null | null | null | Layer/__init__.py | sal-versij/Neuronal-Network-Study | b78fc1c6959b25e44f981ae6daab0cde9d5759b5 | [
"MIT"
] | null | null | null | import numpy as np
class Layer:
def forward(self, inputs):
pass
class Dense(Layer):
def __init__(self, n_inputs, n_neurons):
self.weights = .10 * (np.random.randn(n_inputs,n_neurons))
self.biases = np.zeros((1,n_neurons))
def forward(self, inputs):
self.output = np.dot(inpu... | 29.166667 | 66 | 0.651429 | 51 | 350 | 4.294118 | 0.470588 | 0.109589 | 0.127854 | 0.182648 | 0.173516 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.22 | 350 | 12 | 67 | 29.166667 | 0.791209 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.1 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
47c06af4c735e040397b5ea6a7a34e0217f94833 | 109 | py | Python | emoticonvis/apps/corpus/__init__.py | nanchenchen/emoticon-analysis | 722bcf9d9f380267e980fa4c6d5c191abe7bafa1 | [
"MIT"
] | 10 | 2015-12-04T07:43:11.000Z | 2021-01-23T00:44:56.000Z | emoticonvis/apps/corpus/__init__.py | nanchenchen/emoticon-analysis | 722bcf9d9f380267e980fa4c6d5c191abe7bafa1 | [
"MIT"
] | 200 | 2015-02-11T05:41:57.000Z | 2015-11-13T03:47:25.000Z | emoticonvis/apps/corpus/__init__.py | nanchenchen/emoticon-analysis | 722bcf9d9f380267e980fa4c6d5c191abe7bafa1 | [
"MIT"
] | 6 | 2015-10-02T18:01:09.000Z | 2021-01-23T00:44:58.000Z | """
The Corpus app is concerned with the representation
of raw message data and its associated metadata.
"""
| 21.8 | 51 | 0.770642 | 16 | 109 | 5.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 4 | 52 | 27.25 | 0.923077 | 0.917431 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47c4300d06323e01a94f1b88fe1f436eaa68f74d | 6,395 | py | Python | k1lib/graphEqn.py | 157239n/k1lib | 285520b8364ad5b21cb736b44471aa939e692e9b | [
"MIT"
] | 1 | 2021-08-11T19:10:08.000Z | 2021-08-11T19:10:08.000Z | k1lib/graphEqn.py | 157239n/k1lib | 285520b8364ad5b21cb736b44471aa939e692e9b | [
"MIT"
] | null | null | null | k1lib/graphEqn.py | 157239n/k1lib | 285520b8364ad5b21cb736b44471aa939e692e9b | [
"MIT"
] | null | null | null | # AUTOGENERATED FILE! PLEASE DON'T EDIT
"""This module is for creating dynamic graphs using plain old
equations. For example::
from k1lib.imports import *
x = graphEqn.Variable()
y = x * 3 + 5
z = y ** 5
z(2) # returns 161051 (from (2 * 3 + 5) ** 5)
Point is, ``x`` is an unknown, ``y`` is a "... | 43.80137 | 134 | 0.660203 | 967 | 6,395 | 4.201655 | 0.234747 | 0.012798 | 0.021659 | 0.024366 | 0.116416 | 0.116416 | 0.09968 | 0.07876 | 0.07876 | 0.07876 | 0 | 0.012764 | 0.21595 | 6,395 | 146 | 135 | 43.80137 | 0.797567 | 0.333542 | 0 | 0.123596 | 1 | 0 | 0.054576 | 0.005243 | 0 | 0 | 0 | 0 | 0 | 1 | 0.359551 | false | 0 | 0.022472 | 0.168539 | 0.505618 | 0.022472 | 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 | 1 | 0 | 0 | 4 |
47c47a2bf6a52a6c7c543eb2caa66e24f8fc9099 | 82 | py | Python | dataloaders/country_codes.py | Zhiji022/Global-health-and-sanitation-analysis | 06d8db4c996429cda8eac6221352c0362f638b85 | [
"MIT"
] | null | null | null | dataloaders/country_codes.py | Zhiji022/Global-health-and-sanitation-analysis | 06d8db4c996429cda8eac6221352c0362f638b85 | [
"MIT"
] | null | null | null | dataloaders/country_codes.py | Zhiji022/Global-health-and-sanitation-analysis | 06d8db4c996429cda8eac6221352c0362f638b85 | [
"MIT"
] | null | null | null | import pandas as pd
codes=pd.read_csv('datasets/plotly_countries_and_codes.csv')
| 20.5 | 60 | 0.829268 | 14 | 82 | 4.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 82 | 3 | 61 | 27.333333 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.47561 | 0.47561 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
47ce9bee66e39245aedf900cc8403ae5412bb6d7 | 147 | py | Python | code/joris.py | jorisdeguet/IntroInfo | fe94ee612173b32d020a2ee53dadcc4c7379a725 | [
"MIT"
] | null | null | null | code/joris.py | jorisdeguet/IntroInfo | fe94ee612173b32d020a2ee53dadcc4c7379a725 | [
"MIT"
] | null | null | null | code/joris.py | jorisdeguet/IntroInfo | fe94ee612173b32d020a2ee53dadcc4c7379a725 | [
"MIT"
] | 1 | 2020-08-28T05:36:05.000Z | 2020-08-28T05:36:05.000Z | import turtle
tina = turtle.Turtle()
tina.shape('turtle')
number_list = range(1,200)
tina.color("green")
for number in number_list:
# TODO | 16.333333 | 27 | 0.70068 | 22 | 147 | 4.590909 | 0.636364 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.163265 | 147 | 9 | 28 | 16.333333 | 0.788618 | 0.027211 | 0 | 0 | 0 | 0 | 0.077465 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | null | null | 0 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47d2d28aa484d339ebcac3063c806e03ec136ed7 | 142 | py | Python | guardianbot/filter/allowlist.py | shiftinv/GuardianBot | 2c5faef7ba4bf35e9f7fc814dd88f432f0af89da | [
"Apache-2.0"
] | 2 | 2021-11-21T12:30:44.000Z | 2021-11-22T13:39:27.000Z | guardianbot/filter/allowlist.py | shiftinv/GuardianBot | 2c5faef7ba4bf35e9f7fc814dd88f432f0af89da | [
"Apache-2.0"
] | null | null | null | guardianbot/filter/allowlist.py | shiftinv/GuardianBot | 2c5faef7ba4bf35e9f7fc814dd88f432f0af89da | [
"Apache-2.0"
] | null | null | null | from ._base import ManualBaseChecker
class AllowList(ManualBaseChecker):
def __init__(self):
super().__init__('allowlist.json')
| 20.285714 | 42 | 0.732394 | 14 | 142 | 6.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 142 | 6 | 43 | 23.666667 | 0.798319 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
47d4bde9187c2d27949a8ddcfc34296730783fb2 | 6,649 | py | Python | tests/test_formatters.py | makeitheady/knackpy | 3acb763cfe9139697079f3c4e0e9a83576f4c211 | [
"CC0-1.0"
] | 50 | 2017-08-13T16:19:14.000Z | 2022-02-24T05:11:35.000Z | tests/test_formatters.py | makeitheady/knackpy | 3acb763cfe9139697079f3c4e0e9a83576f4c211 | [
"CC0-1.0"
] | 52 | 2018-01-16T17:33:03.000Z | 2022-03-10T21:02:47.000Z | tests/test_formatters.py | makeitheady/knackpy | 3acb763cfe9139697079f3c4e0e9a83576f4c211 | [
"CC0-1.0"
] | 15 | 2018-03-19T21:23:53.000Z | 2022-02-24T05:11:37.000Z | import pytest
import pytz
import knackpy
@pytest.fixture
def record():
return {
"address_field": {
"street": "123 Fake St",
"street2": "APT C",
"city": "London",
"state": "London",
"zip": "ABC123",
"country": "United Kingdom",
... | 49.619403 | 2,548 | 0.600993 | 1,230 | 6,649 | 3.178862 | 0.209756 | 0.010742 | 0.070588 | 0.081586 | 0.197698 | 0.171611 | 0.138619 | 0.090026 | 0.079795 | 0.079795 | 0 | 0.284547 | 0.227252 | 6,649 | 133 | 2,549 | 49.992481 | 0.47645 | 0.001354 | 0 | 0.088235 | 0 | 0.019608 | 0.612174 | 0.118578 | 0 | 0 | 0 | 0 | 0.137255 | 1 | 0.147059 | false | 0 | 0.029412 | 0.009804 | 0.186275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47ec10aa2bad85f56d7b8fd61d0cdd31c54e49ca | 1,182 | py | Python | configs/deepim/lmCropBlenderSO/FlowNet512_1.5AugCosyAAEGray_AggressiveV2_Flat_lmCropBlender_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveV2_Flat_Blender_15_phone.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/lmCropBlenderSO/FlowNet512_1.5AugCosyAAEGray_AggressiveV2_Flat_lmCropBlender_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveV2_Flat_Blender_15_phone.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/lmCropBlenderSO/FlowNet512_1.5AugCosyAAEGray_AggressiveV2_Flat_lmCropBlender_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveV2_Flat_Blender_15_phone.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./FlowNet512_1.5AugCosyAAEGray_AggressiveV2_Flat_Blender_01_ape.py"
OUTPUT_DIR = "output/deepim/lmCropBlenderSO/FlowNet512_1.5AugCosyAAEGray_AggressiveV2_Flat_lmCropBlender_SO/phone"
DATASETS = dict(TRAIN=("lm_blender_phone_train",), TEST=("lm_crop_phone_test",))
# bbnc6
# iter0
# objects phone Avg(1)
# ad... | 26.266667 | 114 | 0.598985 | 246 | 1,182 | 2.674797 | 0.308943 | 0.06079 | 0.042553 | 0.06079 | 0.370821 | 0.103343 | 0.045593 | 0 | 0 | 0 | 0 | 0.381904 | 0.280034 | 1,182 | 44 | 115 | 26.863636 | 0.391304 | 0.698816 | 0 | 0 | 0 | 0 | 0.650794 | 0.593651 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47f3f65077f6fc8dcaecdeaf43d2f65be50b1fe2 | 67 | py | Python | tools/builder/template/{package_name}/radiome/workflows/{package_name}/__init__.py | radiome-flow/radiome | d43ea6286098066c4a28ba399dcf4a444fecf77e | [
"BSD-3-Clause"
] | 2 | 2019-12-19T19:03:55.000Z | 2019-12-23T11:21:22.000Z | tools/builder/template/{package_name}/radiome/workflows/{package_name}/__init__.py | radiome-lab/radiome | d43ea6286098066c4a28ba399dcf4a444fecf77e | [
"BSD-3-Clause"
] | 63 | 2020-01-16T00:16:49.000Z | 2020-08-07T06:16:14.000Z | tools/builder/template/{package_name}/radiome/workflows/{package_name}/__init__.py | radiome-lab/radiome | d43ea6286098066c4a28ba399dcf4a444fecf77e | [
"BSD-3-Clause"
] | 2 | 2019-11-20T16:10:02.000Z | 2019-11-20T19:41:00.000Z | from .workflow import create_workflow
__all__ = [create_workflow]
| 16.75 | 37 | 0.820896 | 8 | 67 | 6.125 | 0.625 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 3 | 38 | 22.333333 | 0.830508 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
47fff64dec34ec1b3183d7779ab21455e7094148 | 242 | py | Python | hypha/apply/utils/testing/factories.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 20 | 2021-04-08T16:38:49.000Z | 2022-02-09T20:05:57.000Z | hypha/apply/utils/testing/factories.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 1,098 | 2017-12-15T11:23:03.000Z | 2020-01-24T07:58:07.000Z | hypha/apply/utils/testing/factories.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 17 | 2020-02-07T14:55:54.000Z | 2021-04-04T19:32:38.000Z | from hypha.apply.stream_forms.testing.factories import FormFieldBlockFactory
from hypha.apply.utils.blocks import RichTextFieldBlock
class RichTextFieldBlockFactory(FormFieldBlockFactory):
class Meta:
model = RichTextFieldBlock
| 30.25 | 76 | 0.830579 | 23 | 242 | 8.695652 | 0.695652 | 0.09 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119835 | 242 | 7 | 77 | 34.571429 | 0.938967 | 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 | 1 | 0 | 0 | 4 |
9a009ebe4f30ce79982922f6bd2471083006ab8d | 519 | py | Python | devops-console/apps/devops/utils.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | 4 | 2019-12-06T06:19:33.000Z | 2021-12-23T13:05:06.000Z | devops-console/apps/devops/utils.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | 8 | 2020-03-15T03:40:38.000Z | 2022-03-12T00:50:27.000Z | devops-console/apps/devops/utils.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
from functools import partial
from common.utils import LocalProxy
try:
from threading import local
except ImportError:
from django.utils._threading_local import local
_thread_locals = local()
def set_current_request(request):
setattr(_thread_locals, 'current_request', request... | 17.896552 | 63 | 0.753372 | 64 | 519 | 5.8125 | 0.453125 | 0.225806 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002273 | 0.152216 | 519 | 28 | 64 | 18.535714 | 0.843182 | 0.040462 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 0.142857 | 0.714286 | 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 | 1 | 1 | 0 | 0 | 0 | 4 |
9a27cc3254feba6d88aebba1c526c49534f2c8d9 | 51 | py | Python | tests/components/openhardwaremonitor/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/openhardwaremonitor/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/openhardwaremonitor/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the openhardwaremonitor component."""
| 25.5 | 50 | 0.764706 | 5 | 51 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 1 | 51 | 51 | 0.847826 | 0.862745 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9a4f7bea7f02e181e7d32ae9c0f1d911253dd94f | 168 | py | Python | editor/model.py | JCash/fontcreator | 05297452ee18cf574988471e3cca8ddf0681d6e0 | [
"Zlib"
] | 5 | 2016-07-27T10:52:53.000Z | 2021-02-22T16:03:49.000Z | editor/model.py | JCash/fontcreator | 05297452ee18cf574988471e3cca8ddf0681d6e0 | [
"Zlib"
] | null | null | null | editor/model.py | JCash/fontcreator | 05297452ee18cf574988471e3cca8ddf0681d6e0 | [
"Zlib"
] | 2 | 2015-01-25T09:56:03.000Z | 2016-07-27T10:52:56.000Z | from fontinfo import SFontInfo
class Model(object):
def __init__(self, options):
self.options = options
self.fontinfo = SFontInfo(options)
| 21 | 43 | 0.660714 | 18 | 168 | 5.944444 | 0.611111 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 168 | 7 | 44 | 24 | 0.862903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 4 |
7bdd3a8edeb1ead8d56bcbf3ad031fd3821cf56b | 50 | py | Python | run.py | ganesharulanantham/word-master | 32f0cc9e55dc9caa10d0c0deb7bb11a5790ab097 | [
"MIT"
] | null | null | null | run.py | ganesharulanantham/word-master | 32f0cc9e55dc9caa10d0c0deb7bb11a5790ab097 | [
"MIT"
] | null | null | null | run.py | ganesharulanantham/word-master | 32f0cc9e55dc9caa10d0c0deb7bb11a5790ab097 | [
"MIT"
] | null | null | null | from app import socketio, app
socketio.run(app)
| 10 | 29 | 0.76 | 8 | 50 | 4.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 4 | 30 | 12.5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7be238fa8902e93376cd4a42ef7aaf9f060ff759 | 795 | py | Python | map_matching/aequilibrae/__init__.py | ianberg-volpe/map_matching | 5f3db9f9adae0320dfbb7b39b8f0f9dc0ebe82a5 | [
"Apache-2.0"
] | 30 | 2017-05-15T01:43:36.000Z | 2022-03-30T14:11:08.000Z | map_matching/aequilibrae/__init__.py | ianberg-volpe/map_matching | 5f3db9f9adae0320dfbb7b39b8f0f9dc0ebe82a5 | [
"Apache-2.0"
] | 7 | 2018-01-06T08:11:57.000Z | 2020-08-26T04:24:52.000Z | map_matching/aequilibrae/__init__.py | ianberg-volpe/map_matching | 5f3db9f9adae0320dfbb7b39b8f0f9dc0ebe82a5 | [
"Apache-2.0"
] | 7 | 2018-01-14T21:28:15.000Z | 2022-03-22T07:11:29.000Z | """
/***************************************************************************
AequilibraE - www.aequilibrae.com
Name: QGIS plugin initializer
-------------------
begin : 2014-03-19
copyright : AequilibraE developers 2014
Or... | 34.565217 | 77 | 0.506918 | 72 | 795 | 5.541667 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.237736 | 795 | 22 | 78 | 36.136364 | 0.638614 | 0.801258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7be669c264da4cd5018942322e758bdb17d0b9c3 | 93 | py | Python | src/events/admin.py | zwidny/graphite | 2c9296f5b7185b7d7ecd08cb192d5e705a47f7ea | [
"BSD-3-Clause"
] | 1 | 2016-02-09T23:46:39.000Z | 2016-02-09T23:46:39.000Z | src/events/admin.py | zwidny/graphite | 2c9296f5b7185b7d7ecd08cb192d5e705a47f7ea | [
"BSD-3-Clause"
] | null | null | null | src/events/admin.py | zwidny/graphite | 2c9296f5b7185b7d7ecd08cb192d5e705a47f7ea | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from events.models import Event
admin.site.register(Event)
| 18.6 | 32 | 0.827957 | 14 | 93 | 5.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 4 | 33 | 23.25 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d04a456eccf02505b79af45996da53147cb600fa | 1,697 | py | Python | day7/migrations/0002_auto_20210817_2100.py | RitisBarauskas/worker | 0f2b3f96cb00839b363e61d3aecef956a948dc42 | [
"MIT"
] | null | null | null | day7/migrations/0002_auto_20210817_2100.py | RitisBarauskas/worker | 0f2b3f96cb00839b363e61d3aecef956a948dc42 | [
"MIT"
] | null | null | null | day7/migrations/0002_auto_20210817_2100.py | RitisBarauskas/worker | 0f2b3f96cb00839b363e61d3aecef956a948dc42 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.6 on 2021-08-17 16:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('day7', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='customer',
name='id',
field=... | 34.632653 | 111 | 0.599882 | 172 | 1,697 | 5.75 | 0.302326 | 0.072801 | 0.176946 | 0.205258 | 0.713852 | 0.713852 | 0.662285 | 0.662285 | 0.662285 | 0.662285 | 0 | 0.017974 | 0.278727 | 1,697 | 48 | 112 | 35.354167 | 0.790033 | 0.026517 | 0 | 0.666667 | 1 | 0 | 0.070303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.