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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38517533bca31fb9088b1b77ace8762203f3d6e5 | 161 | py | Python | cadastro/admin.py | dayannaribas/tcc2 | 7f5cca209f88d0e719e3b5e52e8b8dc5ed0418aa | [
"MIT"
] | null | null | null | cadastro/admin.py | dayannaribas/tcc2 | 7f5cca209f88d0e719e3b5e52e8b8dc5ed0418aa | [
"MIT"
] | 6 | 2019-06-10T19:37:01.000Z | 2021-06-10T21:28:05.000Z | cadastro/admin.py | dayannaribas/tcc2 | 7f5cca209f88d0e719e3b5e52e8b8dc5ed0418aa | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Cadastro, Ligacao
admin.site.register(Cadastro)
admin.site.register(Ligacao)
| 20.125 | 37 | 0.807453 | 22 | 161 | 5.909091 | 0.545455 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 161 | 7 | 38 | 23 | 0.909091 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3874c1d6b13b411744855a8b0ed5d2f33a282d35 | 18 | py | Python | transferlearning/traditional/__init__.py | chsong513/TransferLearning | 0583e84157842433db78ce3561285257a532be8c | [
"MIT"
] | 1 | 2020-01-07T10:17:12.000Z | 2020-01-07T10:17:12.000Z | transferlearning/traditional/__init__.py | chsong513/TransferLearning | 0583e84157842433db78ce3561285257a532be8c | [
"MIT"
] | null | null | null | transferlearning/traditional/__init__.py | chsong513/TransferLearning | 0583e84157842433db78ce3561285257a532be8c | [
"MIT"
] | null | null | null | from .jda import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
38a5da7df8e734d14ce674b8645c9bcba3938e34 | 300 | py | Python | tests/command/elements.py | nadirhamid/protean | d31bc634e05c9221e82136bf18c2ceaa0982c1c8 | [
"BSD-3-Clause"
] | null | null | null | tests/command/elements.py | nadirhamid/protean | d31bc634e05c9221e82136bf18c2ceaa0982c1c8 | [
"BSD-3-Clause"
] | null | null | null | tests/command/elements.py | nadirhamid/protean | d31bc634e05c9221e82136bf18c2ceaa0982c1c8 | [
"BSD-3-Clause"
] | null | null | null | # Protean
from protean.core.command import BaseCommand
from protean.core.field.basic import String
class UserRegistrationCommand(BaseCommand):
email = String(required=True, max_length=250)
username = String(required=True, max_length=50)
password = String(required=True, max_length=255)
| 30 | 52 | 0.783333 | 38 | 300 | 6.105263 | 0.552632 | 0.181034 | 0.232759 | 0.271552 | 0.349138 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.126667 | 300 | 9 | 53 | 33.333333 | 0.854962 | 0.023333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
38c15e4e29fa2ad1bf01bd8ee1f77b5ac17fc491 | 185 | py | Python | Scripts/django-admin.py | code-with-kotaro/simple-todo-app | c6aecd53ec0f40bdf5290d526bf0f0d834035d3a | [
"bzip2-1.0.6"
] | null | null | null | Scripts/django-admin.py | code-with-kotaro/simple-todo-app | c6aecd53ec0f40bdf5290d526bf0f0d834035d3a | [
"bzip2-1.0.6"
] | 11 | 2020-06-05T20:37:58.000Z | 2022-03-12T00:12:19.000Z | Scripts/django-admin.py | code-with-kotaro/simple-todo-app | c6aecd53ec0f40bdf5290d526bf0f0d834035d3a | [
"bzip2-1.0.6"
] | null | null | null | #!c:\users\hussai~1\desktop\myself~1\python\django\todo_app\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 30.833333 | 78 | 0.789189 | 27 | 185 | 4.962963 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.081081 | 185 | 5 | 79 | 37 | 0.776471 | 0.416216 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
38e2a1b1ab97ce2b55320e167741f69a21d068e0 | 792 | py | Python | src/kmeans/point.py | engrana/vector-artist | 86ef7f9773ded847cc304d4792a2a1c6c932b9fd | [
"MIT"
] | null | null | null | src/kmeans/point.py | engrana/vector-artist | 86ef7f9773ded847cc304d4792a2a1c6c932b9fd | [
"MIT"
] | null | null | null | src/kmeans/point.py | engrana/vector-artist | 86ef7f9773ded847cc304d4792a2a1c6c932b9fd | [
"MIT"
] | null | null | null | import numpy as np
class Point:
def __init__(self, coordinates):
if isinstance(coordinates, np.ndarray):
self.coordinates = coordinates
else:
self.coordinates = np.array(coordinates)
def __add__(self, other):
return Point(self.coordinates + other.coordinates)
... | 25.548387 | 66 | 0.647727 | 90 | 792 | 5.333333 | 0.311111 | 0.3125 | 0.09375 | 0.1625 | 0.295833 | 0.225 | 0.225 | 0.225 | 0.225 | 0 | 0 | 0 | 0.252525 | 792 | 30 | 67 | 26.4 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.380952 | false | 0 | 0.047619 | 0.333333 | 0.809524 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
38e45ddd7986ca5667471a92f1a47bf2cc340712 | 174 | py | Python | pbo1-project/CustomExceptions/OrderNotFound.py | hifra01/PBO1-Project | 82b9abbdf1cab4da18e0f9514e92d298d9661b26 | [
"MIT"
] | null | null | null | pbo1-project/CustomExceptions/OrderNotFound.py | hifra01/PBO1-Project | 82b9abbdf1cab4da18e0f9514e92d298d9661b26 | [
"MIT"
] | null | null | null | pbo1-project/CustomExceptions/OrderNotFound.py | hifra01/PBO1-Project | 82b9abbdf1cab4da18e0f9514e92d298d9661b26 | [
"MIT"
] | null | null | null | class OrderNotFound(Exception):
def __init__(self, message='Order tidak ditemukan!'):
self.message = message
super().__init__(self.message)
pass
| 29 | 58 | 0.655172 | 18 | 174 | 5.888889 | 0.666667 | 0.311321 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235632 | 174 | 5 | 59 | 34.8 | 0.796992 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2a6e25bb9f7ed3ac328be1c6a3d9ee844e6297dc | 124 | py | Python | python/sprint1_nonfinals/f.py | Chiga2030/algorithms-templates | 6e0ee665e2420c77a3d56d153f67dcfab60be622 | [
"MIT"
] | 38 | 2021-09-14T08:22:32.000Z | 2022-03-15T08:52:20.000Z | python/sprint1_nonfinals/f.py | Chiga2030/algorithms-templates | 6e0ee665e2420c77a3d56d153f67dcfab60be622 | [
"MIT"
] | null | null | null | python/sprint1_nonfinals/f.py | Chiga2030/algorithms-templates | 6e0ee665e2420c77a3d56d153f67dcfab60be622 | [
"MIT"
] | 38 | 2021-10-04T14:06:35.000Z | 2022-03-31T12:24:04.000Z | def is_palindrome(line: str) -> bool:
# Здесь реализация вашего решения
pass
print(is_palindrome(input().strip()))
| 20.666667 | 37 | 0.701613 | 16 | 124 | 5.3125 | 0.875 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169355 | 124 | 5 | 38 | 24.8 | 0.825243 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2a85c3ab4148db94593d45e0a6ceae39971a8eed | 2,907 | py | Python | pirates/leveleditor/worldData/VolcanoSmallIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/VolcanoSmallIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/VolcanoSmallIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1141153785.89sdnaik': {'Type': 'Island','Name': 'VolcanoSmallIsland','Objects': {'1141154634.53sdnaik': {'Type': 'Rock','Hpr': Point3(0.0, 0.0, 0.0),'Pos': Point3(-1048.453, 118.341, 38.314),'Scale': VBase3(1.0, 1.0, 1.0),'Visual': {'Model': 'm... | 1,453.5 | 2,860 | 0.689714 | 408 | 2,907 | 4.757353 | 0.242647 | 0.028851 | 0.034003 | 0.032973 | 0.557445 | 0.557445 | 0.550747 | 0.550747 | 0.550747 | 0.550747 | 0 | 0.189462 | 0.046784 | 2,907 | 2 | 2,860 | 1,453.5 | 0.511007 | 0 | 0 | 0 | 0 | 0 | 0.632393 | 0.352476 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aa62855b186d9aa23b39c1fb7ab207ebfdfbc9ce | 56 | py | Python | coffee_machine/__init__.py | mpszumowski/Coffee-Machine | acab8b1b7769d856d5746257507529bcdc9ba7de | [
"MIT"
] | null | null | null | coffee_machine/__init__.py | mpszumowski/Coffee-Machine | acab8b1b7769d856d5746257507529bcdc9ba7de | [
"MIT"
] | null | null | null | coffee_machine/__init__.py | mpszumowski/Coffee-Machine | acab8b1b7769d856d5746257507529bcdc9ba7de | [
"MIT"
] | null | null | null | from coffee_machine import machine, components, coffees
| 28 | 55 | 0.857143 | 7 | 56 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 1 | 56 | 56 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aa6291de4b696090587847053246ed330448b447 | 158 | py | Python | python-toolbox/marvin_python_toolbox/management/templates/python-engine/project_package/prediction/__init__.py | tallandroid/incubator-marvin | 2ff33b26d5d362b6541125a400146ccf6153f83b | [
"Apache-2.0"
] | 149 | 2017-09-26T18:43:08.000Z | 2021-08-03T19:04:21.000Z | python-toolbox/marvin_python_toolbox/management/templates/python-engine/project_package/prediction/__init__.py | tallandroid/incubator-marvin | 2ff33b26d5d362b6541125a400146ccf6153f83b | [
"Apache-2.0"
] | 109 | 2017-09-27T14:41:04.000Z | 2018-11-09T16:31:20.000Z | python-toolbox/marvin_python_toolbox/management/templates/python-engine/project_package/prediction/__init__.py | tallandroid/incubator-marvin | 2ff33b26d5d362b6541125a400146ccf6153f83b | [
"Apache-2.0"
] | 69 | 2018-10-17T06:02:25.000Z | 2022-03-04T08:48:09.000Z | #!/usr/bin/env python
# coding=utf-8
from .prediction_preparator import PredictionPreparator
from .predictor import Predictor
from .feedback import Feedback
| 22.571429 | 55 | 0.822785 | 20 | 158 | 6.45 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.107595 | 158 | 6 | 56 | 26.333333 | 0.907801 | 0.208861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aa9898d1b04d8e0eb2de5d7de7bf5f22ce71d6d1 | 96 | py | Python | python/testData/intentions/joinIf.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/joinIf.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/joinIf.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo():
if <caret>a + 2 > 3:
if b < 4:
a = a and b
b = 4
| 16 | 24 | 0.291667 | 16 | 96 | 1.75 | 0.625 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.583333 | 96 | 5 | 25 | 19.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
aab3d5d7ee257fe008682a4b65a3c8684e3c20dd | 1,284 | py | Python | venv/lib/python3.6/site-packages/phonenumbers/shortdata/region_IT.py | exdeam/opencrm | dfdcfdf99f0b42eb3959171927cb6574583f5ee0 | [
"MIT"
] | null | null | null | venv/lib/python3.6/site-packages/phonenumbers/shortdata/region_IT.py | exdeam/opencrm | dfdcfdf99f0b42eb3959171927cb6574583f5ee0 | [
"MIT"
] | null | null | null | venv/lib/python3.6/site-packages/phonenumbers/shortdata/region_IT.py | exdeam/opencrm | dfdcfdf99f0b42eb3959171927cb6574583f5ee0 | [
"MIT"
] | 1 | 2020-09-08T14:45:34.000Z | 2020-09-08T14:45:34.000Z | """Auto-generated file, do not edit by hand. IT metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_IT = PhoneMetadata(id='IT', country_code=None, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='[14]\\d{2,6}', possible_length=(3, 4, 5... | 107 | 356 | 0.651869 | 221 | 1,284 | 3.638009 | 0.361991 | 0.029851 | 0.216418 | 0.268657 | 0.287313 | 0.195274 | 0.098259 | 0.039801 | 0.039801 | 0.039801 | 0 | 0.136929 | 0.061526 | 1,284 | 11 | 357 | 116.727273 | 0.53029 | 0.041277 | 0 | 0 | 1 | 0.333333 | 0.342857 | 0.310204 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2ab4dfa7f8fadd0a85a0bdc62d66f356eda9fc32 | 54 | py | Python | code1/sample.py | ManthanKeim/code-attempt1 | c57440b765024cfefd044e3c04fda716bc72dbf2 | [
"Apache-2.0"
] | null | null | null | code1/sample.py | ManthanKeim/code-attempt1 | c57440b765024cfefd044e3c04fda716bc72dbf2 | [
"Apache-2.0"
] | null | null | null | code1/sample.py | ManthanKeim/code-attempt1 | c57440b765024cfefd044e3c04fda716bc72dbf2 | [
"Apache-2.0"
] | null | null | null | print(__name__)
def cool():
print("You are Cool") | 13.5 | 25 | 0.648148 | 8 | 54 | 3.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 54 | 4 | 25 | 13.5 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2ac5680ccc123dbb23a8f0a34101606941b4b3af | 79 | py | Python | test cases/unit/11 cross prog/sometool.py | blobfish/meson | d0c7b5169303fb0a394201d90be1e74426d7b2d9 | [
"Apache-2.0"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | test cases/unit/11 cross prog/sometool.py | blobfish/meson | d0c7b5169303fb0a394201d90be1e74426d7b2d9 | [
"Apache-2.0"
] | 2 | 2015-03-23T15:30:17.000Z | 2015-03-23T20:19:19.000Z | test cases/unit/11 cross prog/sometool.py | blobfish/meson | d0c7b5169303fb0a394201d90be1e74426d7b2d9 | [
"Apache-2.0"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | #!/usr/bin/env python3
from __future__ import print_function
print('native')
| 13.166667 | 37 | 0.772152 | 11 | 79 | 5.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.113924 | 79 | 5 | 38 | 15.8 | 0.785714 | 0.265823 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 5 |
2ae7342b9907eee2db2e5113b7c525a9a73f2e45 | 42 | py | Python | examples/str.lstrip/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/str.lstrip/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/str.lstrip/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print('www.example.com'.lstrip('cmowz.'))
| 21 | 41 | 0.690476 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 42 | 1 | 42 | 42 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
631fba839f2a625fc6c6667a9730c3caa2ff47f3 | 1,006 | py | Python | setup.py | carlosp420/degenerate_dna | 09d9af6d4432103992f5df10957f83aedf5cb4b3 | [
"BSD-3-Clause"
] | 4 | 2016-03-22T21:33:43.000Z | 2016-03-23T04:01:26.000Z | setup.py | carlosp420/degenerate_dna | 09d9af6d4432103992f5df10957f83aedf5cb4b3 | [
"BSD-3-Clause"
] | 1 | 2015-07-30T13:39:48.000Z | 2015-07-31T06:30:18.000Z | setup.py | carlosp420/degenerate_dna | 09d9af6d4432103992f5df10957f83aedf5cb4b3 | [
"BSD-3-Clause"
] | null | null | null | import setuptools
setuptools.setup(
name="degenerate-dna",
version="0.0.9",
url="https://github.com/carlosp420/degenerate-dna",
author="Carlos Pena",
author_email="mycalesis@gmail.com",
description="Python implementation of the Degen Perl package by Zwick et al.",
long_description=open('R... | 29.588235 | 82 | 0.622266 | 106 | 1,006 | 5.849057 | 0.613208 | 0.245161 | 0.322581 | 0.167742 | 0.087097 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.230616 | 1,006 | 33 | 83 | 30.484848 | 0.777778 | 0 | 0 | 0 | 1 | 0 | 0.557654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.037037 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2d6e232175952a0aa2174282171396c2e28fe707 | 443 | py | Python | tests/test_successful_registration.py | jg-725/IS219-FlaskAppProject | 316aa298eda1bcda766ed085bb6f26ca7da7dfee | [
"BSD-3-Clause"
] | null | null | null | tests/test_successful_registration.py | jg-725/IS219-FlaskAppProject | 316aa298eda1bcda766ed085bb6f26ca7da7dfee | [
"BSD-3-Clause"
] | null | null | null | tests/test_successful_registration.py | jg-725/IS219-FlaskAppProject | 316aa298eda1bcda766ed085bb6f26ca7da7dfee | [
"BSD-3-Clause"
] | null | null | null | """This test's if user successfully registered """
def test_successful_register(successful_registration):
assert successful_registration.email == 'example@email.com'
assert successful_registration.password == 'Password'
assert successful_registration.confirm == 'Password'
response = successful_registra... | 49.222222 | 63 | 0.776524 | 48 | 443 | 7 | 0.583333 | 0.327381 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007792 | 0.130926 | 443 | 9 | 64 | 49.222222 | 0.864935 | 0.097065 | 0 | 0 | 0 | 0 | 0.185279 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | false | 0.285714 | 0 | 0 | 0.142857 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2d6f36f692b92259301adeabb08c87b76df9d9cf | 55 | py | Python | src/main.py | ZauJulio/LeaATP_III_IA | c7aec0795aa616cab17203a0df9aa1c95e27ed0c | [
"MIT"
] | null | null | null | src/main.py | ZauJulio/LeaATP_III_IA | c7aec0795aa616cab17203a0df9aa1c95e27ed0c | [
"MIT"
] | null | null | null | src/main.py | ZauJulio/LeaATP_III_IA | c7aec0795aa616cab17203a0df9aa1c95e27ed0c | [
"MIT"
] | null | null | null | import pandas as pd
import utils
import read
# Hello? | 9.166667 | 19 | 0.763636 | 9 | 55 | 4.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 6 | 20 | 9.166667 | 0.954545 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2da95e7e7b50570bd19f66fee0ae1ed12f0eebb4 | 1,883 | py | Python | free_style/tf_play/bench/test/test.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | 3 | 2018-06-12T09:03:41.000Z | 2019-01-14T05:34:57.000Z | free_style/tf_play/bench/test/test.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | null | null | null | free_style/tf_play/bench/test/test.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | null | null | null | import tensorflow as tf
import tflearn
import random
import numpy as np
#X = [[random.random(),random.random()] for x in range(1000)]
X = np.random.random([10,4,4,2])
Y = [[0] for x in X]
g1 = tf.Graph()
g2 = tf.Graph()
with g1.as_default():
input_layer = tflearn.input_data(shape=[None, 4, 4, 2])
net = tflearn.c... | 35.528302 | 89 | 0.708975 | 292 | 1,883 | 4.462329 | 0.246575 | 0.061397 | 0.049885 | 0.070606 | 0.76439 | 0.76439 | 0.76439 | 0.76439 | 0.76439 | 0.724482 | 0 | 0.053955 | 0.133829 | 1,883 | 52 | 90 | 36.211538 | 0.744942 | 0.040361 | 0 | 0.534884 | 0 | 0 | 0.032151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.093023 | 0 | 0.093023 | 0.046512 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2de7ab3a1766780f17fde8897bedd40d076c72ad | 188 | py | Python | tests/test_vec/test_t2v.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 18 | 2021-02-15T13:10:42.000Z | 2022-03-17T12:57:34.000Z | tests/test_vec/test_t2v.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 81 | 2021-06-02T07:45:20.000Z | 2022-03-29T15:21:32.000Z | tests/test_vec/test_t2v.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 29 | 2021-05-18T08:34:58.000Z | 2022-03-12T00:19:09.000Z | # coding: utf-8
# 2021/8/2 @ tongshiwei
import pytest
from EduNLP.Vector import get_pretrained_t2v
def test_t2v():
with pytest.raises(KeyError):
get_pretrained_t2v("error")
| 17.090909 | 44 | 0.723404 | 27 | 188 | 4.851852 | 0.740741 | 0.198473 | 0.244275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.175532 | 188 | 10 | 45 | 18.8 | 0.780645 | 0.18617 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 | 1 | 0 | 0 | 5 |
2dfe0d3ac09278281590fb6927a997de45c789f8 | 473 | py | Python | assignments/task_02/test_cases/test_01.py | Rlperez1207/stem | 1bdfb63bc7b9b28ca505cc4b71c3a70937613658 | [
"MIT"
] | null | null | null | assignments/task_02/test_cases/test_01.py | Rlperez1207/stem | 1bdfb63bc7b9b28ca505cc4b71c3a70937613658 | [
"MIT"
] | null | null | null | assignments/task_02/test_cases/test_01.py | Rlperez1207/stem | 1bdfb63bc7b9b28ca505cc4b71c3a70937613658 | [
"MIT"
] | null | null | null | 2227
247
2216
3705
555
166
977
1900
4858
1337
3934
3599
4200
1598
2940
2359
2756
3753
1332
3646
706
428
3958
974
2744
2501
1209
2579
4987
334
2169
2175
4273
2890
3569
1006
2539
3855
1353
2677
1369
2008
59
311
1294
3008
1717
3271
1563
867
3466
187
4939
4719
1485
1243
1898
1169
4667
228
1743
4146
661
2831
158
724
2289
19... | 4.683168 | 4 | 0.788584 | 100 | 473 | 3.73 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211416 | 473 | 100 | 5 | 4.73 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
93184bcb96e55d4e0a179f74e804382642e287e3 | 152 | py | Python | pyDSlib/ML/dask_ml_extend/model_selection/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null | pyDSlib/ML/dask_ml_extend/model_selection/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null | pyDSlib/ML/dask_ml_extend/model_selection/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null | """
This sub-module contains functions to run model_selection routines on dask dataframes
"""
#from . import _search
from ._search import GridSearchCV
| 21.714286 | 85 | 0.789474 | 20 | 152 | 5.85 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 152 | 6 | 86 | 25.333333 | 0.9 | 0.703947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
933f425c9730bd9b7f06e23a15fbb48f8add5134 | 185 | py | Python | mx3tools/__init__.py | peytondmurray/mx3tools | 0f367c0c1c0ebb1887bf105555bd2a1edb9fc654 | [
"MIT"
] | 3 | 2020-04-22T17:47:23.000Z | 2022-01-18T03:10:00.000Z | mx3tools/__init__.py | peytondmurray/mx3tools | 0f367c0c1c0ebb1887bf105555bd2a1edb9fc654 | [
"MIT"
] | 1 | 2021-05-31T07:27:41.000Z | 2021-06-05T15:51:05.000Z | mx3tools/__init__.py | peytondmurray/mx3tools | 0f367c0c1c0ebb1887bf105555bd2a1edb9fc654 | [
"MIT"
] | null | null | null | from .ioutil import *
from .ovftools import *
from .plotutil import *
from .simrun import *
from .statutil import *
from .datautil import *
__author__ = "Peyton Murray @peytondmurray"
| 20.555556 | 43 | 0.751351 | 22 | 185 | 6.136364 | 0.545455 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 185 | 8 | 44 | 23.125 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.151351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
93637384ec73fe7b1f6aacf6c0b9a1f4a8eeb513 | 1,599 | py | Python | src/genie/libs/parser/iosxe/tests/ShowStackPower/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowStackPower/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowStackPower/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"power_stack": {
"Powerstack-1": {
"allocated_power": 575,
"mode": "SP-PS",
"power_supply_num": 1,
"reserved_power": 0,
"switch_num": 1,
"switches": {
1: {
"allocated_power": 575,... | 30.169811 | 46 | 0.407755 | 129 | 1,599 | 4.682171 | 0.27907 | 0.109272 | 0.112583 | 0.084437 | 0.758278 | 0.758278 | 0.758278 | 0.758278 | 0.758278 | 0.758278 | 0 | 0.095465 | 0.475922 | 1,599 | 52 | 47 | 30.75 | 0.625298 | 0 | 0 | 0.615385 | 0 | 0 | 0.352095 | 0.056285 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
93723e470b522455a9c05734bc949c141b03210d | 113 | py | Python | enthought/permissions/default/role_assignment.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/permissions/default/role_assignment.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/permissions/default/role_assignment.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from apptools.permissions.default.role_assignment import *
| 28.25 | 58 | 0.858407 | 14 | 113 | 6.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 3 | 59 | 37.666667 | 0.892157 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa7b19988e7cc7d0dd147319a5115fbc3692ce60 | 1,980 | py | Python | backend/django/campsignup/backend/migrations/0023_auto_20200831_2009.py | Ring-deutscher-PfadfinderInnenverbande/campsignup | 1e182322d31dc41083fa06138d709eddc4f448be | [
"MIT"
] | null | null | null | backend/django/campsignup/backend/migrations/0023_auto_20200831_2009.py | Ring-deutscher-PfadfinderInnenverbande/campsignup | 1e182322d31dc41083fa06138d709eddc4f448be | [
"MIT"
] | null | null | null | backend/django/campsignup/backend/migrations/0023_auto_20200831_2009.py | Ring-deutscher-PfadfinderInnenverbande/campsignup | 1e182322d31dc41083fa06138d709eddc4f448be | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-08-31 20:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('backend', '0022_auto_20200831_2003'),
]
operations = [
migrations.AlterField(
model_name='group',
name='firstPlaceme... | 68.275862 | 466 | 0.650505 | 200 | 1,980 | 6.365 | 0.325 | 0.042419 | 0.070699 | 0.089552 | 0.826394 | 0.826394 | 0.796544 | 0.645719 | 0.645719 | 0.645719 | 0 | 0.026156 | 0.169697 | 1,980 | 28 | 467 | 70.714286 | 0.748175 | 0.022727 | 0 | 0.409091 | 1 | 0 | 0.478531 | 0.022763 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fab2672c5bf76ec5cdfcfaed4ee197321aa00173 | 205 | py | Python | MapAPP/views.py | MHuiG/Karat-Django-Backend | 8887417bb3eee302a1639e247957539479d2ef67 | [
"MIT"
] | null | null | null | MapAPP/views.py | MHuiG/Karat-Django-Backend | 8887417bb3eee302a1639e247957539479d2ef67 | [
"MIT"
] | null | null | null | MapAPP/views.py | MHuiG/Karat-Django-Backend | 8887417bb3eee302a1639e247957539479d2ef67 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from Karat.settings import RequestHost
def SchoolHistoryMuseum(request):
return render(request, 'test.html',{"RequestHost":RequestHost}) | 25.625 | 67 | 0.790244 | 24 | 205 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117073 | 205 | 8 | 67 | 25.625 | 0.895028 | 0.112195 | 0 | 0 | 0 | 0 | 0.110497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
fad0a082460946e2f630102d45ff3992ddc58bc9 | 450 | py | Python | src/xlaz/pb/__init__.py | shawwn/xlaz | ca386efd9813b040cc5509d2e8d4df33c4391fef | [
"MIT"
] | 3 | 2022-02-05T04:17:42.000Z | 2022-02-05T04:17:52.000Z | src/xlaz/pb/__init__.py | shawwn/xla | ca386efd9813b040cc5509d2e8d4df33c4391fef | [
"MIT"
] | null | null | null | src/xlaz/pb/__init__.py | shawwn/xla | ca386efd9813b040cc5509d2e8d4df33c4391fef | [
"MIT"
] | null | null | null | from tensorflow_checkpoint_reader.pb.tensorflow.compiler.xla.service import hlo_pb2
from tensorflow_checkpoint_reader.pb.tensorflow.compiler.xla import xla_pb2
from tensorflow_checkpoint_reader.pb.tensorflow.compiler.xla import xla_data_pb2
import sys as _sys
_sys.modules.update({
k.replace('tensorflow_checkpoint_r... | 34.615385 | 83 | 0.817778 | 66 | 450 | 5.242424 | 0.393939 | 0.289017 | 0.375723 | 0.404624 | 0.528902 | 0.528902 | 0.528902 | 0.528902 | 0.375723 | 0.375723 | 0 | 0.007282 | 0.084444 | 450 | 12 | 84 | 37.5 | 0.832524 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 0.142222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
87b16311fbbdc2ab1509a5eb7772b24afa3e015a | 1,497 | py | Python | ansible/filter_plugins/passwdhash.py | JurgenVM/bp_ansible | e069295a2575e8f4f213703b3eebc22d5fce0b74 | [
"MIT"
] | null | null | null | ansible/filter_plugins/passwdhash.py | JurgenVM/bp_ansible | e069295a2575e8f4f213703b3eebc22d5fce0b74 | [
"MIT"
] | null | null | null | ansible/filter_plugins/passwdhash.py | JurgenVM/bp_ansible | e069295a2575e8f4f213703b3eebc22d5fce0b74 | [
"MIT"
] | null | null | null | # filter_plugins/passwdhash.py
#
# Generate password hashes that can be used in /etc/shadow.
#
# Example usage:
#
# Assume you have the following variable defined in Yaml:
#
# users:
# - name: alice
# password: secret
# - name: bob
# password: letmein
#
# You can use this filter in your playbook like this:
... | 21.695652 | 78 | 0.676687 | 179 | 1,497 | 5.631285 | 0.592179 | 0.079365 | 0.077381 | 0.116071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033812 | 0.209753 | 1,497 | 68 | 79 | 22.014706 | 0.818259 | 0.468938 | 0 | 0 | 1 | 0 | 0.055263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.380952 | 0.142857 | 0.238095 | 0.761905 | 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 | 1 | 1 | 0 | 0 | 5 |
35546568ee9a2a29a4fd7753ec872d7d3a2e0755 | 129 | py | Python | lib/id3c/cli/__main__.py | UWIT-IAM/uw-redcap-client | 38a1eb426fa80697446df7a466a41e0305382606 | [
"MIT"
] | 21 | 2019-04-19T22:45:22.000Z | 2022-01-28T01:32:09.000Z | lib/id3c/cli/__main__.py | sonali-mhihim/id3c | 1e3967d6c24e9cadb34cae1c5e1e79415a2250dc | [
"MIT"
] | 219 | 2019-04-19T21:42:24.000Z | 2022-03-29T21:41:04.000Z | lib/id3c/cli/__main__.py | sonali-mhihim/id3c | 1e3967d6c24e9cadb34cae1c5e1e79415a2250dc | [
"MIT"
] | 9 | 2020-03-11T20:07:26.000Z | 2022-03-05T00:36:11.000Z | """
Invoked via ``python -m id3c.cli``.
"""
if __name__ == "__main__":
from id3c.cli import cli
cli(prog_name = "id3c")
| 16.125 | 35 | 0.604651 | 18 | 129 | 3.833333 | 0.666667 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.209302 | 129 | 7 | 36 | 18.428571 | 0.647059 | 0.271318 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
35553db231ddb0247882242dc5a6baf7265dde51 | 141 | py | Python | pixloc/pixlib/models/__init__.py | jmorlana/pixloc | 90f7e968398252e8557b284803ee774cb8d80cd0 | [
"Apache-2.0"
] | 457 | 2021-03-17T00:39:33.000Z | 2022-03-30T02:38:19.000Z | pixloc/pixlib/models/__init__.py | jmorlana/pixloc | 90f7e968398252e8557b284803ee774cb8d80cd0 | [
"Apache-2.0"
] | 31 | 2021-03-17T07:35:34.000Z | 2022-03-31T07:07:56.000Z | pixloc/pixlib/models/__init__.py | jmorlana/pixloc | 90f7e968398252e8557b284803ee774cb8d80cd0 | [
"Apache-2.0"
] | 56 | 2021-03-17T05:55:09.000Z | 2022-03-15T01:38:35.000Z | from ..utils.tools import get_class
from .base_model import BaseModel
def get_model(name):
return get_class(name, __name__, BaseModel)
| 20.142857 | 47 | 0.780142 | 21 | 141 | 4.857143 | 0.571429 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 6 | 48 | 23.5 | 0.842975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
355f4a5df501922d7cced07daae4a173d4d88eaf | 9,891 | py | Python | codes/models.py | RonDen/HanTokenization | 7fd61f3de33a1fc094784fcc49bd4b2808195c89 | [
"MIT"
] | 3 | 2021-04-04T03:28:41.000Z | 2021-04-23T02:57:20.000Z | codes/models.py | RonDen/HanTokenization | 7fd61f3de33a1fc094784fcc49bd4b2808195c89 | [
"MIT"
] | null | null | null | codes/models.py | RonDen/HanTokenization | 7fd61f3de33a1fc094784fcc49bd4b2808195c89 | [
"MIT"
] | 2 | 2021-04-13T11:34:35.000Z | 2021-04-20T00:51:41.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: Xukun Luo
# Date: 2021.04.08
import sys
sys.path.append("../")
import torch
import torch.nn as nn
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence
from codes.layers import CRF, TransformerLayer
class BiLstmModel(nn.Module):
def _... | 36.769517 | 99 | 0.574158 | 1,211 | 9,891 | 4.416185 | 0.109827 | 0.068998 | 0.074046 | 0.053291 | 0.794503 | 0.768512 | 0.757479 | 0.736911 | 0.729432 | 0.714473 | 0 | 0.018236 | 0.323628 | 9,891 | 269 | 100 | 36.769517 | 0.781166 | 0.205641 | 0 | 0.669014 | 0 | 0 | 0.003948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070423 | false | 0 | 0.035211 | 0 | 0.176056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
35b1394cca0c46c1ef157a69a36418c145ee575c | 36 | py | Python | tests/__init__.py | nabeen/logist | 452cc04756070de72a72f40797697b3812cb5f32 | [
"MIT"
] | null | null | null | tests/__init__.py | nabeen/logist | 452cc04756070de72a72f40797697b3812cb5f32 | [
"MIT"
] | null | null | null | tests/__init__.py | nabeen/logist | 452cc04756070de72a72f40797697b3812cb5f32 | [
"MIT"
] | null | null | null | """Unit test package for logist."""
| 18 | 35 | 0.666667 | 5 | 36 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.774194 | 0.805556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
35b561eb55983e1cf9cf3e2c589ede1823564c60 | 802 | py | Python | tests/colors_test.py | amancevice/dip | 0bb9499f470bfdebba2e6c821bcc1fb0ef5a942f | [
"MIT"
] | 9 | 2017-02-10T22:40:17.000Z | 2021-11-14T18:36:56.000Z | tests/colors_test.py | amancevice/dip | 0bb9499f470bfdebba2e6c821bcc1fb0ef5a942f | [
"MIT"
] | 7 | 2020-10-30T00:54:31.000Z | 2022-03-29T22:18:24.000Z | tests/colors_test.py | amancevice/dip | 0bb9499f470bfdebba2e6c821bcc1fb0ef5a942f | [
"MIT"
] | null | null | null | from unittest import mock
from dip import colors
@mock.patch('colored.stylize')
def test_amber(mock_style):
""" Shortcut for colored.stylize(). """
colors.amber('TEST')
mock_style.assert_called_once_with('TEST', colors.AMBER)
@mock.patch('colored.stylize')
def test_blue(mock_style):
""" Shortcut fo... | 25.0625 | 60 | 0.704489 | 108 | 802 | 5.009259 | 0.203704 | 0.207024 | 0.118299 | 0.170055 | 0.83549 | 0.83549 | 0.613678 | 0.31793 | 0.31793 | 0 | 0 | 0 | 0.13591 | 802 | 31 | 61 | 25.870968 | 0.780664 | 0.162095 | 0 | 0.222222 | 0 | 0 | 0.142415 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 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 | 5 |
35c4e135f945567fcca52561283903058b482613 | 59 | py | Python | web/chat/managers.py | SilinAlexander/django-chat | 11e59209d478469bd3ea91a0f3c7a504ff34758f | [
"MIT"
] | 2 | 2022-01-21T12:35:19.000Z | 2022-01-21T15:10:43.000Z | web/chat/managers.py | SilinAlexander/django-chat | 11e59209d478469bd3ea91a0f3c7a504ff34758f | [
"MIT"
] | 1 | 2022-03-28T08:23:26.000Z | 2022-03-28T08:23:26.000Z | web/chat/managers.py | SilinAlexander/django-chat | 11e59209d478469bd3ea91a0f3c7a504ff34758f | [
"MIT"
] | 6 | 2021-04-07T17:03:52.000Z | 2021-07-18T04:46:59.000Z | from django.db import models
# Create your managers here.
| 14.75 | 28 | 0.779661 | 9 | 59 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 59 | 3 | 29 | 19.666667 | 0.938776 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
35c6e10ce22ce8e94d211dcf44f571139e725262 | 99 | py | Python | django_dropbox_storage/__init__.py | patrickfitz/django-dropbox-storage | 6d2503f35d610eadffdb32b9332376d22bf4bad7 | [
"MIT"
] | null | null | null | django_dropbox_storage/__init__.py | patrickfitz/django-dropbox-storage | 6d2503f35d610eadffdb32b9332376d22bf4bad7 | [
"MIT"
] | null | null | null | django_dropbox_storage/__init__.py | patrickfitz/django-dropbox-storage | 6d2503f35d610eadffdb32b9332376d22bf4bad7 | [
"MIT"
] | null | null | null | VERSION = (0, 4, 2)
def get_version():
return '%s.%s.%s' % VERSION
version = get_version()
| 11 | 31 | 0.585859 | 15 | 99 | 3.733333 | 0.533333 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.222222 | 99 | 8 | 32 | 12.375 | 0.688312 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
35c8cfd13ed4b838b65d757d89f48ca1eeb0b65f | 252 | py | Python | suvec/common/__init__.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | 1 | 2021-05-07T16:48:16.000Z | 2021-05-07T16:48:16.000Z | suvec/common/__init__.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | null | null | null | suvec/common/__init__.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | null | null | null | from . import top_level_types
from . import executing
from . import utils
from . import requesting
from . import postproc
from . import listen_notify
from . import external_errors_handling
from .events_tracking.base_events_tracker import EventsTracker
| 28 | 62 | 0.837302 | 34 | 252 | 5.970588 | 0.558824 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 252 | 8 | 63 | 31.5 | 0.922727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
35e4b43426c8305bc7da1a3c87c52d847de578d3 | 4,618 | py | Python | codemaster/models/actors/npcs/skulls.py | japinol7/the-codemaster | 35f1c53a431b2fddf851c7fbf155cae968f1bad7 | [
"MIT"
] | null | null | null | codemaster/models/actors/npcs/skulls.py | japinol7/the-codemaster | 35f1c53a431b2fddf851c7fbf155cae968f1bad7 | [
"MIT"
] | null | null | null | codemaster/models/actors/npcs/skulls.py | japinol7/the-codemaster | 35f1c53a431b2fddf851c7fbf155cae968f1bad7 | [
"MIT"
] | null | null | null | """Module skulls."""
__author__ = 'Joan A. Pinol (japinol)'
from codemaster.config.constants import BM_SKULLS_FOLDER
from codemaster.models.actors.actor_types import ActorType
from codemaster.models.actors.actors import NPC, NPC_STRENGTH_BASE
from codemaster.models.stats import Stats
class Skull(NPC):
"""Repres... | 40.508772 | 81 | 0.606323 | 605 | 4,618 | 4.280992 | 0.135537 | 0.111197 | 0.063707 | 0.03861 | 0.771429 | 0.771429 | 0.771429 | 0.771429 | 0.771429 | 0.771429 | 0 | 0.015741 | 0.298398 | 4,618 | 113 | 82 | 40.867257 | 0.783642 | 0.037895 | 0 | 0.646341 | 0 | 0 | 0.009993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060976 | false | 0 | 0.04878 | 0 | 0.170732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ea1e7a7e7983b82667d611cb148e3825090f0a76 | 145 | py | Python | vector.py | kontemouhamed/course_python_vector_exercice | 0aaf93646c59df0e9e61f9900c23ce1f9ee786e9 | [
"BSD-2-Clause"
] | null | null | null | vector.py | kontemouhamed/course_python_vector_exercice | 0aaf93646c59df0e9e61f9900c23ce1f9ee786e9 | [
"BSD-2-Clause"
] | null | null | null | vector.py | kontemouhamed/course_python_vector_exercice | 0aaf93646c59df0e9e61f9900c23ce1f9ee786e9 | [
"BSD-2-Clause"
] | null | null | null | class Vector(object):
def __init__(self, x,y):
self.x = x
self.y = y
super(Vector, self).__init__(self, x,y)
| 24.166667 | 47 | 0.517241 | 21 | 145 | 3.190476 | 0.428571 | 0.223881 | 0.268657 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.344828 | 145 | 6 | 48 | 24.166667 | 0.705263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 5 |
ea6e690b02714a3849e61f10d9990e03aa66102e | 3,077 | py | Python | tests/conftest.py | hussinhassan80/galois | 5553d0f17d5f4dcf105f92028fcde8f6afd53b6d | [
"MIT"
] | null | null | null | tests/conftest.py | hussinhassan80/galois | 5553d0f17d5f4dcf105f92028fcde8f6afd53b6d | [
"MIT"
] | null | null | null | tests/conftest.py | hussinhassan80/galois | 5553d0f17d5f4dcf105f92028fcde8f6afd53b6d | [
"MIT"
] | null | null | null | """
A pytest conftest module that provides pytest fixtures for number theoretic functions.
"""
import os
import pickle
import pytest
import numpy as np
FOLDER = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data")
###############################################################################
# Helper f... | 22.136691 | 86 | 0.565811 | 336 | 3,077 | 5.014881 | 0.202381 | 0.130564 | 0.224332 | 0.311573 | 0.503858 | 0.462908 | 0.293769 | 0.17092 | 0.125816 | 0.074777 | 0 | 0 | 0.108872 | 3,077 | 138 | 87 | 22.297101 | 0.614515 | 0.069548 | 0 | 0.287671 | 0 | 0 | 0.193243 | 0.009459 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30137 | false | 0 | 0.054795 | 0.287671 | 0.657534 | 0.013699 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
576f2c34aa0fc2ddf8c38d7f797e96d92859227b | 3,473 | py | Python | app.py | weakit/GCI19-NasaApod | 597392a20c90ea256e6a3bc51fad0290189059fe | [
"MIT"
] | null | null | null | app.py | weakit/GCI19-NasaApod | 597392a20c90ea256e6a3bc51fad0290189059fe | [
"MIT"
] | null | null | null | app.py | weakit/GCI19-NasaApod | 597392a20c90ea256e6a3bc51fad0290189059fe | [
"MIT"
] | null | null | null | from flask import Flask, render_template, jsonify, send_file, redirect
from datetime import date, timedelta
from io import BytesIO
import pdfmd as p
import apod
import os
app = Flask(__name__)
@app.route('/')
@app.route('/today')
def root():
data = apod.get_apod(date.today())
while data is None:
data... | 29.683761 | 81 | 0.573855 | 459 | 3,473 | 4.235294 | 0.178649 | 0.08642 | 0.113169 | 0.061728 | 0.789609 | 0.731481 | 0.731481 | 0.731481 | 0.731481 | 0.731481 | 0 | 0.019585 | 0.264901 | 3,473 | 116 | 82 | 29.939655 | 0.741872 | 0 | 0 | 0.646465 | 0 | 0 | 0.144544 | 0.037144 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070707 | false | 0 | 0.060606 | 0.010101 | 0.323232 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
579387e59c81720f70d66e6bf4d150de736f4948 | 189 | py | Python | src/wired/__init__.py | theasylum/wired | 6b6a3e83702b18ebb41ca1f94e957bdf7e44986d | [
"MIT"
] | 12 | 2018-07-22T15:40:35.000Z | 2020-12-27T21:39:18.000Z | src/wired/__init__.py | theasylum/wired | 6b6a3e83702b18ebb41ca1f94e957bdf7e44986d | [
"MIT"
] | 36 | 2019-03-23T13:47:25.000Z | 2020-11-28T18:08:14.000Z | src/wired/__init__.py | theasylum/wired | 6b6a3e83702b18ebb41ca1f94e957bdf7e44986d | [
"MIT"
] | 6 | 2019-03-23T20:08:57.000Z | 2021-06-03T16:52:06.000Z | __all__ = ['ServiceContainer', 'ServiceRegistry', 'service_factory']
from .container import ServiceContainer
from .container import ServiceRegistry
from .decorators import service_factory
| 31.5 | 68 | 0.830688 | 18 | 189 | 8.388889 | 0.5 | 0.18543 | 0.251656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 189 | 5 | 69 | 37.8 | 0.883041 | 0 | 0 | 0 | 0 | 0 | 0.243386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 5 |
57d935114a3ae69c5ec6337e45bd2078ec5bca8c | 51 | py | Python | jade2/deep_learning/torch/lightning_modules/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | 1 | 2019-12-23T21:52:23.000Z | 2019-12-23T21:52:23.000Z | jade2/deep_learning/torch/lightning_modules/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | null | null | null | jade2/deep_learning/torch/lightning_modules/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | 2 | 2021-11-13T01:34:15.000Z | 2021-11-13T01:34:34.000Z | from .GraphTask import *
from .GeneralTask import * | 25.5 | 26 | 0.784314 | 6 | 51 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 26 | 25.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
17ac133cd84b2eeb7704d8256f9b016ab57107d4 | 71 | py | Python | tests/test_files/kwonly_arg_annotated.py | misteraverin/flake8-annotations-coverage | 5d9402d69bfec30e22088a6402a815c610b75c2a | [
"MIT"
] | 29 | 2019-02-06T15:58:48.000Z | 2021-12-22T07:13:33.000Z | tests/test_files/kwonly_arg_annotated.py | misteraverin/flake8-annotations-coverage | 5d9402d69bfec30e22088a6402a815c610b75c2a | [
"MIT"
] | 9 | 2019-02-06T11:48:18.000Z | 2021-11-04T16:51:26.000Z | tests/test_files/kwonly_arg_annotated.py | misteraverin/flake8-annotations-coverage | 5d9402d69bfec30e22088a6402a815c610b75c2a | [
"MIT"
] | 6 | 2019-02-06T11:44:02.000Z | 2020-12-21T10:25:23.000Z | def foo():
pass
def bar(*args, kwonly_arg: str = None):
pass
| 10.142857 | 39 | 0.577465 | 11 | 71 | 3.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28169 | 71 | 6 | 40 | 11.833333 | 0.784314 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
aa15d2e2000646deebcf18c3643706c6f39b70bb | 268 | py | Python | snmpagent_unity/unity_impl/HostInitiators.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/HostInitiators.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/HostInitiators.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class HostInitiators(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_host_initiators(idx_name)
class HostInitiatorsColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_hosts()
| 29.777778 | 57 | 0.746269 | 36 | 268 | 5.25 | 0.444444 | 0.232804 | 0.116402 | 0.232804 | 0.328042 | 0.328042 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 268 | 8 | 58 | 33.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
aa2b5c0141d040b857e1b0671c3b0650ebdf55db | 7,813 | py | Python | workbooks/migrations/0001_initial.py | isb-cgc/ISB-CGC-Webapp | 52ed5366ee295e938108a4687bad551a8dee6b34 | [
"Apache-2.0"
] | 13 | 2016-01-14T02:43:10.000Z | 2020-11-25T20:43:05.000Z | workbooks/migrations/0001_initial.py | isb-cgc/ISB-CGC-Webapp | 52ed5366ee295e938108a4687bad551a8dee6b34 | [
"Apache-2.0"
] | 84 | 2015-11-20T02:03:33.000Z | 2021-10-14T19:24:24.000Z | workbooks/migrations/0001_initial.py | isb-cgc/ISB-CGC-Webapp | 52ed5366ee295e938108a4687bad551a8dee6b34 | [
"Apache-2.0"
] | 5 | 2015-11-25T19:29:53.000Z | 2019-09-04T17:37:52.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('projects', '0001_initial'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('sha... | 46.230769 | 166 | 0.572507 | 739 | 7,813 | 5.85115 | 0.139378 | 0.066605 | 0.074931 | 0.099907 | 0.840426 | 0.807354 | 0.775902 | 0.759019 | 0.690102 | 0.646392 | 0 | 0.009906 | 0.289389 | 7,813 | 168 | 167 | 46.505952 | 0.768912 | 0.002688 | 0 | 0.67284 | 0 | 0 | 0.143261 | 0.032349 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa2bdad71c7e07a94eebdaed2613df38c38fa0c6 | 877 | py | Python | configs/kabum.py | rkrocha/shop_crawler | f51952beade22a7961008ec7949201390b14e09c | [
"MIT"
] | null | null | null | configs/kabum.py | rkrocha/shop_crawler | f51952beade22a7961008ec7949201390b14e09c | [
"MIT"
] | null | null | null | configs/kabum.py | rkrocha/shop_crawler | f51952beade22a7961008ec7949201390b14e09c | [
"MIT"
] | null | null | null |
KABUM_PAGES = {
"https://www.kabum.com.br/hardware/placas-mae?page_number=1&page_size=100&facet_filters=eyJwcmljZSI6eyJtaW4iOjM2NS45OCwibWF4IjoxMTE3NS4yOX19&sort=price": "placa-mae",
"https://www.kabum.com.br/hardware/processadores?page_number=1&page_size=100&facet_filters=eyJwcmljZSI6eyJtaW4iOjM1MC42OSwibWF4I... | 97.444444 | 172 | 0.8187 | 108 | 877 | 6.5 | 0.277778 | 0.05698 | 0.092593 | 0.11396 | 0.762108 | 0.762108 | 0.688034 | 0.688034 | 0.589744 | 0.465812 | 0 | 0.084323 | 0.039909 | 877 | 8 | 173 | 109.625 | 0.749406 | 0 | 0 | 0 | 0 | 0.714286 | 0.910959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
a4b729bb2b1e85a37ecdb46e74e36fe4ecc3261e | 196 | py | Python | buf/commands/__init__.py | jordan-benjamin/buf | a6ad4791c966afc5920369898adf1c637b176d38 | [
"MIT"
] | null | null | null | buf/commands/__init__.py | jordan-benjamin/buf | a6ad4791c966afc5920369898adf1c637b176d38 | [
"MIT"
] | null | null | null | buf/commands/__init__.py | jordan-benjamin/buf | a6ad4791c966afc5920369898adf1c637b176d38 | [
"MIT"
] | null | null | null | # File name: __init__.py
# Author: Jordan Juravsky
# Date created: 27-07-2018
# TODO: should I import the entire module, or just the relevant functions?
from . import chemical, recipe, make, help | 32.666667 | 74 | 0.75 | 30 | 196 | 4.766667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.163265 | 196 | 6 | 75 | 32.666667 | 0.823171 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a4cc7efc6c8f840c597316b5ba0c8c6323de5d81 | 39 | py | Python | tests/__init__.py | braingeneers/functional_depth_methods | 40bbd91fb1e154e5f6b9f21e76e6fb79976dad38 | [
"MIT"
] | 1 | 2021-01-18T21:45:02.000Z | 2021-01-18T21:45:02.000Z | tests/__init__.py | braingeneers/functional_depth_methods | 40bbd91fb1e154e5f6b9f21e76e6fb79976dad38 | [
"MIT"
] | 1 | 2021-03-22T16:03:20.000Z | 2021-03-22T16:03:20.000Z | tests/__init__.py | braingeneers/functional_depth_methods | 40bbd91fb1e154e5f6b9f21e76e6fb79976dad38 | [
"MIT"
] | null | null | null | """Unit test package for statdepth."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
351b086b3d55224b3761c0a9db38c38578e1e70a | 20 | py | Python | src/vbox/popen/__init__.py | autumnjolitz/vbox | 38015ee0bb2316982490172068b791762e092a85 | [
"BSD-3-Clause"
] | 1 | 2020-08-12T15:03:31.000Z | 2020-08-12T15:03:31.000Z | src/vbox/popen/__init__.py | autumnjolitz/vbox | 38015ee0bb2316982490172068b791762e092a85 | [
"BSD-3-Clause"
] | null | null | null | src/vbox/popen/__init__.py | autumnjolitz/vbox | 38015ee0bb2316982490172068b791762e092a85 | [
"BSD-3-Clause"
] | null | null | null | from .hub import Hub | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
101b8422587aef5756dfaafe48c95441307ebc49 | 1,661 | py | Python | common/util.py | gabalz/cvxreg | d2788391dd4debb877c9c3c21f357a35643e3df2 | [
"MIT"
] | null | null | null | common/util.py | gabalz/cvxreg | d2788391dd4debb877c9c3c21f357a35643e3df2 | [
"MIT"
] | null | null | null | common/util.py | gabalz/cvxreg | d2788391dd4debb877c9c3c21f357a35643e3df2 | [
"MIT"
] | null | null | null | from __future__ import print_function
import sys
import random
import numpy as np
def set_random_seed(seed):
"""Sets the random seed.
:param seed: new random seed
>>> set_random_seed(19)
>>> random.randint(0, 10000)
708
>>> np.random.rand(3, 2)
array([[0.6356515 , 0.15946741],
... | 29.660714 | 95 | 0.583384 | 229 | 1,661 | 4.174672 | 0.441048 | 0.018828 | 0.025105 | 0.029289 | 0.048117 | 0.048117 | 0.01046 | 0.01046 | 0.01046 | 0 | 0 | 0.283307 | 0.249849 | 1,661 | 55 | 96 | 30.2 | 0.483949 | 0.682119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.615385 | 0.230769 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
10441fbbbf972c20f0ab4fdaeaa4116efdbcd84a | 95 | py | Python | main.py | RajeshRam78/Data_miner | e9da4c5bfc06aba57ea0c6451ad1888f02ad9df2 | [
"MIT"
] | null | null | null | main.py | RajeshRam78/Data_miner | e9da4c5bfc06aba57ea0c6451ad1888f02ad9df2 | [
"MIT"
] | null | null | null | main.py | RajeshRam78/Data_miner | e9da4c5bfc06aba57ea0c6451ad1888f02ad9df2 | [
"MIT"
] | null | null | null | # TODO : CL argument handling
# TODO : Accept file / folder path and search sentence from CLI
| 23.75 | 63 | 0.736842 | 14 | 95 | 5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 95 | 3 | 64 | 31.666667 | 0.933333 | 0.936842 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
105a00b305d723133dde806730139d7b77334967 | 593 | py | Python | odoo-13.0/addons/l10n_latam_invoice_document/report/invoice_report.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/l10n_latam_invoice_document/report/invoice_report.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/l10n_latam_invoice_document/report/invoice_report.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | # Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, fields
class AccountInvoiceReport(models.Model):
_inherit = 'account.invoice.report'
l10n_latam_document_type_id = fields.Many2one('l10n_latam.document.type', 'Document Type', index=True)
_depends = {'acc... | 34.882353 | 106 | 0.738617 | 80 | 593 | 5.1125 | 0.5125 | 0.205379 | 0.249389 | 0.308068 | 0.325183 | 0.268949 | 0 | 0 | 0 | 0 | 0 | 0.025896 | 0.153457 | 593 | 16 | 107 | 37.0625 | 0.788845 | 0.121417 | 0 | 0 | 0 | 0 | 0.379576 | 0.315992 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
10a3058eec0635238c2f67062b3d0062b3dfff52 | 522 | py | Python | tripaille/commands/cmd_entity.py | mboudet/python-tripal | c1d0128b16b7c0d3794e217993b053bf0fb64a71 | [
"MIT"
] | 3 | 2017-09-08T15:16:07.000Z | 2019-07-18T12:00:18.000Z | tripaille/commands/cmd_entity.py | abretaud/python-tripal | 9988f5a648a40be21d2ae553b2eda91c15fa881e | [
"MIT"
] | 9 | 2018-04-21T14:33:50.000Z | 2019-02-08T09:59:32.000Z | tripaille/commands/cmd_entity.py | abretaud/python-tripal | 9988f5a648a40be21d2ae553b2eda91c15fa881e | [
"MIT"
] | 2 | 2018-09-04T13:00:40.000Z | 2018-12-04T14:59:33.000Z | import click
from tripaille.commands.entity.add_entity import cli as func0
from tripaille.commands.entity.get_bundles import cli as func1
from tripaille.commands.entity.get_entities import cli as func2
from tripaille.commands.entity.get_fields import cli as func3
from tripaille.commands.entity.publish import cli as fun... | 26.1 | 63 | 0.804598 | 82 | 522 | 5.012195 | 0.341463 | 0.158151 | 0.255474 | 0.328467 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021598 | 0.113027 | 522 | 19 | 64 | 27.473684 | 0.866091 | 0.065134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0.071429 | 0.428571 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
10a46257422a74c9ccd91689fb40d6d4f53d0229 | 11,309 | py | Python | consolidator_script.py | PeepalCapital/Portfolio-Consolidator | ec99e4b657776962b009106da9f4b7574cb8fabc | [
"MIT"
] | 1 | 2020-02-18T04:35:30.000Z | 2020-02-18T04:35:30.000Z | consolidator_script.py | PeepalCapital/Portfolio-Consolidator | ec99e4b657776962b009106da9f4b7574cb8fabc | [
"MIT"
] | null | null | null | consolidator_script.py | PeepalCapital/Portfolio-Consolidator | ec99e4b657776962b009106da9f4b7574cb8fabc | [
"MIT"
] | null | null | null | '''
This program downloads the following
1. One zerodha holding excel sheet
2. Two icici direct holding excel sheet
3. All listed active equities on NSE (not in active code)
4. All listed active equities on BSE (not in active code)
5. Moves all the above files to the current working directory
Credentials are stored in ... | 35.675079 | 160 | 0.693784 | 1,568 | 11,309 | 4.876276 | 0.148597 | 0.03662 | 0.062255 | 0.069579 | 0.812059 | 0.784986 | 0.767591 | 0.744049 | 0.688465 | 0.646743 | 0 | 0.016895 | 0.173048 | 11,309 | 316 | 161 | 35.787975 | 0.800684 | 0.077637 | 0 | 0.645161 | 0 | 0.064516 | 0.408447 | 0.137175 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.03871 | 0.058065 | 0 | 0.058065 | 0.122581 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10a989b7181e6ce3b66eefd5872c0bbda1df8e9d | 36,824 | py | Python | eventsourcing/tests/contrib_tests/suffixtrees_tests/test_suffix_tree_generalized.py | scbabacus/eventsourcing | 8404c5b26719ed9d9d1d257ebba774879c7243c4 | [
"BSD-3-Clause"
] | 1 | 2020-02-10T08:12:31.000Z | 2020-02-10T08:12:31.000Z | eventsourcing/tests/contrib_tests/suffixtrees_tests/test_suffix_tree_generalized.py | scbabacus/eventsourcing | 8404c5b26719ed9d9d1d257ebba774879c7243c4 | [
"BSD-3-Clause"
] | null | null | null | eventsourcing/tests/contrib_tests/suffixtrees_tests/test_suffix_tree_generalized.py | scbabacus/eventsourcing | 8404c5b26719ed9d9d1d257ebba774879c7243c4 | [
"BSD-3-Clause"
] | null | null | null | # # coding=utf-8
# from __future__ import unicode_literals
#
# import datetime
# import traceback
# import uuid
# from multiprocessing.pool import Pool
# from unittest.case import TestCase, skip
#
# import six
#
# from eventsourcing.contrib.suffixtrees.application import SuffixTreeApplication
# from eventsourcing.contr... | 42.571098 | 118 | 0.61946 | 4,809 | 36,824 | 4.530672 | 0.069453 | 0.063613 | 0.067652 | 0.06398 | 0.776207 | 0.758032 | 0.7349 | 0.666101 | 0.632596 | 0.610152 | 0 | 0.009956 | 0.24169 | 36,824 | 864 | 119 | 42.62037 | 0.770305 | 0.948376 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.001157 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
52ea1bbf626ed1664ae9c8418fc97df54db22111 | 21 | py | Python | SRers/ESRGAN.py | iBobbyTS/VSR | 7b8f695fedc4783d0bdc55a65f2ba116b9edaeb4 | [
"Apache-2.0"
] | null | null | null | SRers/ESRGAN.py | iBobbyTS/VSR | 7b8f695fedc4783d0bdc55a65f2ba116b9edaeb4 | [
"Apache-2.0"
] | null | null | null | SRers/ESRGAN.py | iBobbyTS/VSR | 7b8f695fedc4783d0bdc55a65f2ba116b9edaeb4 | [
"Apache-2.0"
] | null | null | null | class SRer:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5e219371aeff5192c4861b707909d8f9f16ca925 | 26 | py | Python | src/ui/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | 1 | 2021-07-24T11:05:20.000Z | 2021-07-24T11:05:20.000Z | src/ui/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | null | null | null | src/ui/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:14:02.000Z | 2021-08-08T11:14:02.000Z | from .windows import Main
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5e312c0b4111ed5724492f9aea054b32165c8072 | 470 | py | Python | python/4SumII.py | caleberi/LeetCode | fa170244648f73e76d316a6d7fc0e813adccaa82 | [
"MIT"
] | 1 | 2021-08-10T20:00:24.000Z | 2021-08-10T20:00:24.000Z | python/4SumII.py | caleberi/LeetCode | fa170244648f73e76d316a6d7fc0e813adccaa82 | [
"MIT"
] | null | null | null | python/4SumII.py | caleberi/LeetCode | fa170244648f73e76d316a6d7fc0e813adccaa82 | [
"MIT"
] | 3 | 2021-06-11T11:56:39.000Z | 2021-08-10T08:50:49.000Z | class Solution:
def fourSumCount(self, nums1: List[int], nums2: List[int], nums3: List[int], nums4: List[int]) -> int:
pass
#######################################################################################################################
"""
num1 => [1,2]
num2 => [-2,-1]
num3 => [-1,2]... | 26.111111 | 119 | 0.238298 | 32 | 470 | 3.5 | 0.59375 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042394 | 0.146809 | 470 | 18 | 120 | 26.111111 | 0.236908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5e3bdff9d162110ab98e9a793d376d12e317a2e8 | 320 | py | Python | 05_Practice1/Step05/5_5_sang.py | StudyForCoding/BEAKJOON | 84e1c5e463255e919ccf6b6a782978c205420dbf | [
"MIT"
] | null | null | null | 05_Practice1/Step05/5_5_sang.py | StudyForCoding/BEAKJOON | 84e1c5e463255e919ccf6b6a782978c205420dbf | [
"MIT"
] | 3 | 2020-11-04T05:38:53.000Z | 2021-03-02T02:15:19.000Z | 05_Practice1/Step05/5_5_sang.py | StudyForCoding/BEAKJOON | 84e1c5e463255e919ccf6b6a782978c205420dbf | [
"MIT"
] | null | null | null | n = int(input())
for i in range(n):
for j in range(i):
print(' ', end="")
for j in range((n - i) * 2 - 1):
print('*', end="")
print()
for i in range (n - 1):
for j in range(n - i - 2):
print(' ', end="")
for j in range((i + 1) * 2 + 1):
print('*', end="")
print()
| 22.857143 | 36 | 0.4125 | 52 | 320 | 2.538462 | 0.230769 | 0.318182 | 0.242424 | 0.333333 | 0.916667 | 0.416667 | 0.212121 | 0 | 0 | 0 | 0 | 0.033981 | 0.35625 | 320 | 13 | 37 | 24.615385 | 0.606796 | 0 | 0 | 0.461538 | 0 | 0 | 0.0125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.461538 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 5 |
eac1d14138d6d1634c9eaf2073f6c48d4d274110 | 74 | py | Python | tests/fixtures/defxmlschema/chapter01/__init__.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | tests/fixtures/defxmlschema/chapter01/__init__.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | tests/fixtures/defxmlschema/chapter01/__init__.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | from tests.fixtures.defxmlschema.chapter01.example0102 import ProductType
| 37 | 73 | 0.891892 | 8 | 74 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.054054 | 74 | 1 | 74 | 74 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eaceef670c8e7c33ded6d1b4541479504a803c5d | 65 | py | Python | model/__init__.py | bellos1203/tutorial2 | 017a9d82cedabb1c79b1bab9fdb17dd1c7f41b6c | [
"MIT"
] | null | null | null | model/__init__.py | bellos1203/tutorial2 | 017a9d82cedabb1c79b1bab9fdb17dd1c7f41b6c | [
"MIT"
] | null | null | null | model/__init__.py | bellos1203/tutorial2 | 017a9d82cedabb1c79b1bab9fdb17dd1c7f41b6c | [
"MIT"
] | null | null | null | print('The checkpoint files will be saved here during training')
| 32.5 | 64 | 0.8 | 10 | 65 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 1 | 65 | 65 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
eacf85324de0b9b2f2d45508beb7f786b1e6048f | 4,339 | py | Python | CodeXGLUE/Authorship-Attribution/dataset/process.py | soarsmu/attack-pretrain-models-of-code | 38fa2a6316859efde1507ef6186b4879e7b13748 | [
"MIT"
] | 3 | 2022-01-24T05:01:47.000Z | 2022-03-21T09:31:20.000Z | CodeXGLUE/Authorship-Attribution/dataset/process.py | soarsmu/attack-pretrain-models-of-code | 38fa2a6316859efde1507ef6186b4879e7b13748 | [
"MIT"
] | null | null | null | CodeXGLUE/Authorship-Attribution/dataset/process.py | soarsmu/attack-pretrain-models-of-code | 38fa2a6316859efde1507ef6186b4879e7b13748 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.append('../../../')
sys.path.append('../../../python_parser')
from run_parser import get_identifiers, get_code_tokens
from parser_folder import remove_comments_and_docstrings
def preprocess_gcjpy(split_portion):
'''
预处理文件.
需要将结果分成train和valid
'''
data_name = "gcjpy"
... | 37.08547 | 131 | 0.57617 | 534 | 4,339 | 4.462547 | 0.166667 | 0.042803 | 0.062946 | 0.047 | 0.751574 | 0.73311 | 0.729752 | 0.717583 | 0.652958 | 0.652958 | 0 | 0.006908 | 0.299378 | 4,339 | 117 | 132 | 37.08547 | 0.776974 | 0.032496 | 0 | 0.712644 | 0 | 0 | 0.065897 | 0.005291 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0 | 0.068966 | 0 | 0.091954 | 0.011494 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d82a572398282f9984fac7324d6cd19654747944 | 159 | py | Python | news/admin.py | guluzadef/News_Form_example | 212b40feb06b786f18aaae77c289278c38bc04f0 | [
"MIT"
] | null | null | null | news/admin.py | guluzadef/News_Form_example | 212b40feb06b786f18aaae77c289278c38bc04f0 | [
"MIT"
] | 12 | 2020-06-05T22:54:01.000Z | 2022-03-11T23:58:23.000Z | news/admin.py | guluzadef/News_Form_example | 212b40feb06b786f18aaae77c289278c38bc04f0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import News,Notification
# Register your models here.
admin.site.register(News)
admin.site.register(Notification) | 31.8 | 37 | 0.830189 | 22 | 159 | 6 | 0.545455 | 0.136364 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08805 | 159 | 5 | 38 | 31.8 | 0.910345 | 0.163522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d832d7e3716c7a9382e3e65e8118c0e4f85f0206 | 1,049 | py | Python | tests/layers/test_embedding.py | nsmetanin/keras-bert | 3b789d330ef97c5a8b450537ae03f506fed2673d | [
"MIT"
] | null | null | null | tests/layers/test_embedding.py | nsmetanin/keras-bert | 3b789d330ef97c5a8b450537ae03f506fed2673d | [
"MIT"
] | null | null | null | tests/layers/test_embedding.py | nsmetanin/keras-bert | 3b789d330ef97c5a8b450537ae03f506fed2673d | [
"MIT"
] | 1 | 2019-08-28T22:53:49.000Z | 2019-08-28T22:53:49.000Z | import unittest
import keras
from keras_bert.layers import get_inputs, get_embedding
class TestEmbedding(unittest.TestCase):
def test_sample(self):
inputs = get_inputs(seq_len=512)
embed_layer = get_embedding(inputs, token_num=12, embed_dim=768, pos_num=512)
model = keras.models.Model(inp... | 33.83871 | 103 | 0.638704 | 132 | 1,049 | 4.871212 | 0.371212 | 0.062208 | 0.040435 | 0.059098 | 0.771384 | 0.771384 | 0.771384 | 0.771384 | 0.771384 | 0.771384 | 0 | 0.055626 | 0.245949 | 1,049 | 30 | 104 | 34.966667 | 0.757269 | 0 | 0 | 0.615385 | 0 | 0 | 0.013346 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0 | 0.115385 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dc7025abca22cbcdc8df66fb2d4433d20b1677c3 | 201 | py | Python | tutorial/common/pricingengine.py | mfridental/iwlearn | 95f092556b8d8d235ddf4471b065322e04f7f8c8 | [
"Apache-2.0"
] | 1 | 2020-10-29T14:29:59.000Z | 2020-10-29T14:29:59.000Z | tutorial/common/pricingengine.py | mfridental/iwlearn | 95f092556b8d8d235ddf4471b065322e04f7f8c8 | [
"Apache-2.0"
] | null | null | null | tutorial/common/pricingengine.py | mfridental/iwlearn | 95f092556b8d8d235ddf4471b065322e04f7f8c8 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
import logging
import datetime as dt
def get_price(*param):
return 400
if __name__ == "__main__":
logging.basicConfig(stream=sys.stdout, level=logging.INFO) | 20.1 | 62 | 0.711443 | 28 | 201 | 4.785714 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0.159204 | 201 | 10 | 62 | 20.1 | 0.769231 | 0.104478 | 0 | 0 | 0 | 0 | 0.044693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0.142857 | 0.714286 | 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 | 1 | 1 | 0 | 0 | 5 |
dc7b6044c1f3c1f551ab291d2e5e8c28e52137e7 | 2,538 | py | Python | editor_api/database/output/reservoir.py | jphuart/swatplus-automatic-workflow | dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4 | [
"MIT"
] | 8 | 2020-06-28T07:50:29.000Z | 2022-01-05T16:29:48.000Z | editor_api/database/output/reservoir.py | jphuart/swatplus-automatic-workflow | dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4 | [
"MIT"
] | null | null | null | editor_api/database/output/reservoir.py | jphuart/swatplus-automatic-workflow | dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4 | [
"MIT"
] | 5 | 2020-06-28T07:50:31.000Z | 2021-08-16T07:09:59.000Z | from peewee import *
from .base import OutputBase, BaseModel
class Reservoir(OutputBase):
area = DoubleField(null=True)
precip = DoubleField(null=True)
evap = DoubleField(null=True)
seep = DoubleField(null=True)
flo_stor = DoubleField(null=True)
sed_stor = DoubleField(null=True)
orgn_stor = DoubleField(null=Tr... | 22.660714 | 39 | 0.767139 | 361 | 2,538 | 5.199446 | 0.121884 | 0.463506 | 0.587107 | 0.220565 | 0.041556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004052 | 0.124902 | 2,538 | 111 | 40 | 22.864865 | 0.841063 | 0 | 0 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.141176 | 0.023529 | 0 | 0.858824 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
f4c81370ecd2e6d87595e06fbd6fcbb85f80fb7a | 132 | py | Python | driver/loadpath.py | pallab-gain/slack-daily-update | 70d09336dea34d304f5c9f6557599db924c489f2 | [
"MIT"
] | null | null | null | driver/loadpath.py | pallab-gain/slack-daily-update | 70d09336dea34d304f5c9f6557599db924c489f2 | [
"MIT"
] | null | null | null | driver/loadpath.py | pallab-gain/slack-daily-update | 70d09336dea34d304f5c9f6557599db924c489f2 | [
"MIT"
] | null | null | null | import os
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
def load_path():
return os.path.join(ROOT_DIR,"chromedriver") | 18.857143 | 53 | 0.742424 | 21 | 132 | 4.333333 | 0.619048 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 132 | 7 | 54 | 18.857143 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 5 |
f4d450e3f2ae86de0be201e488b26b669ba6f590 | 49 | py | Python | settings/lecroy_scope_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | settings/lecroy_scope_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | settings/lecroy_scope_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | ip_address = 'id14l-scope.cars.aps.anl.gov:2000'
| 24.5 | 48 | 0.755102 | 9 | 49 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.061224 | 49 | 1 | 49 | 49 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.673469 | 0.673469 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7624c99f5046ec6bade9801e681ca29d30676e73 | 154 | py | Python | spotify/credentials.py | andeen171/Django-React-Spotify-Controller | 4dd6095b110cb8bc4f3bd516916768ef85efe77f | [
"Unlicense"
] | 2 | 2021-10-19T17:29:04.000Z | 2021-10-19T17:29:30.000Z | spotify/credentials.py | andeen171/Django-React-Spotify-Controller | 4dd6095b110cb8bc4f3bd516916768ef85efe77f | [
"Unlicense"
] | null | null | null | spotify/credentials.py | andeen171/Django-React-Spotify-Controller | 4dd6095b110cb8bc4f3bd516916768ef85efe77f | [
"Unlicense"
] | null | null | null | CLIENT_ID = "9ecf1e52d5034f01ac8fce5378decd00"
CLIENT_SECRET = "519c44e4a4764c208327e9ba8059f2fd"
REDIRECT_URI = "http://localhost:8000/spotify/redirect"
| 38.5 | 55 | 0.844156 | 13 | 154 | 9.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296552 | 0.058442 | 154 | 3 | 56 | 51.333333 | 0.57931 | 0 | 0 | 0 | 0 | 0 | 0.662338 | 0.415584 | 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 | 1 | 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 | 5 |
5220b0a0cc10e1813d6836fe0ed149c5ffa8cddf | 41 | py | Python | crane/exc.py | dmksnnk/crane | a5d8658a251e1feda4af5b7a6d0b3f7d2cff2224 | [
"MIT"
] | 102 | 2017-10-16T08:51:34.000Z | 2021-05-31T20:17:11.000Z | crane/exc.py | dmksnnk/crane | a5d8658a251e1feda4af5b7a6d0b3f7d2cff2224 | [
"MIT"
] | 127 | 2017-10-13T14:34:09.000Z | 2021-08-01T04:15:10.000Z | crane/exc.py | dmksnnk/crane | a5d8658a251e1feda4af5b7a6d0b3f7d2cff2224 | [
"MIT"
] | 15 | 2017-10-13T14:07:55.000Z | 2022-02-23T05:17:38.000Z | class UpgradeFailed(Exception):
pass
| 13.666667 | 31 | 0.756098 | 4 | 41 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 32 | 20.5 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5233f30186a1265ea053ce16dcf2f6981832f852 | 100 | py | Python | tests/__init__.py | alesgenova/pbcpy | 77d6886dd58e859c8da1b23adf5992f6aacf5095 | [
"MIT"
] | 19 | 2017-12-05T19:23:05.000Z | 2022-01-31T23:50:32.000Z | tests/__init__.py | alesgenova/pbcpy | 77d6886dd58e859c8da1b23adf5992f6aacf5095 | [
"MIT"
] | null | null | null | tests/__init__.py | alesgenova/pbcpy | 77d6886dd58e859c8da1b23adf5992f6aacf5095 | [
"MIT"
] | 1 | 2020-06-08T12:54:58.000Z | 2020-06-08T12:54:58.000Z | import sys
from tests.env import PBC_SRC
if PBC_SRC not in sys.path:
sys.path.insert(0,PBC_SRC)
| 20 | 30 | 0.76 | 21 | 100 | 3.47619 | 0.619048 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.16 | 100 | 4 | 31 | 25 | 0.857143 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
523d1027f4259cb6b243344469f9a702414bfb0b | 119 | py | Python | a2c_ppo_acktr/algo/__init__.py | footoredo/pytorch-a2c-ppo-acktr-gail | 3d0263c10340e9d8881f75c64eb2fe9bb0c9e2d0 | [
"MIT"
] | null | null | null | a2c_ppo_acktr/algo/__init__.py | footoredo/pytorch-a2c-ppo-acktr-gail | 3d0263c10340e9d8881f75c64eb2fe9bb0c9e2d0 | [
"MIT"
] | null | null | null | a2c_ppo_acktr/algo/__init__.py | footoredo/pytorch-a2c-ppo-acktr-gail | 3d0263c10340e9d8881f75c64eb2fe9bb0c9e2d0 | [
"MIT"
] | null | null | null | from .a2c_acktr import A2C_ACKTR
from .ppo import PPO
from .loaded_dice import LoadedDiCE
from .hessian import Hessian
| 23.8 | 35 | 0.831933 | 19 | 119 | 5.052632 | 0.473684 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.134454 | 119 | 4 | 36 | 29.75 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
524903af991b6b7e70f8a3a74721bb72890326c0 | 287 | py | Python | auth0_client/commands/__init__.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | 2 | 2020-10-08T21:42:56.000Z | 2021-03-21T08:17:52.000Z | auth0_client/commands/__init__.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | null | null | null | auth0_client/commands/__init__.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | null | null | null | from auth0_client.commands import administration, tickets, tenants, stats, jobs, guardian, emails, email_templates, blacklists, users_by_email, users, user_blocks, rules_config, rules, resource_servers, logs, client_grants,clients, connections, custom_domains, device_credentials, grants | 287 | 287 | 0.843206 | 36 | 287 | 6.444444 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003788 | 0.080139 | 287 | 1 | 287 | 287 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
525eb928d65ee6ac1ed55b7e1f36c025e14a49ca | 693 | py | Python | src/tests/test_perspective.py | ckaestne/toxicity-detector | bb00ffe4470c6c1a2f561212d487d56eab5a5da7 | [
"MIT"
] | null | null | null | src/tests/test_perspective.py | ckaestne/toxicity-detector | bb00ffe4470c6c1a2f561212d487d56eab5a5da7 | [
"MIT"
] | 67 | 2020-06-09T23:57:49.000Z | 2022-02-05T19:09:49.000Z | src/tests/test_perspective.py | sophieball/toxicity-detector | 7c07c5e6a6915428fdae64cbd3bc07caa697774e | [
"MIT"
] | 1 | 2020-05-27T17:27:50.000Z | 2020-05-27T17:27:50.000Z | import perspective
def test_perspective():
assert .9 < perspective.get_perspective_score("I hate you")
assert .1 > perspective.get_perspective_score("I love you")
assert 0 == perspective.get_perspective_score(" ")
def test_perspective_after_text_processing():
import text_cleaning
assert 0 == perspective.get_per... | 36.473684 | 93 | 0.770563 | 90 | 693 | 5.655556 | 0.4 | 0.165029 | 0.294695 | 0.353635 | 0.455796 | 0.392927 | 0.220039 | 0.220039 | 0 | 0 | 0 | 0.007974 | 0.095238 | 693 | 18 | 94 | 38.5 | 0.803828 | 0 | 0 | 0 | 0 | 0 | 0.186147 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 1 | 0.230769 | true | 0 | 0.153846 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5292ca4a4ea97bd98eb66a3ccffd0aaa860c6b25 | 127 | py | Python | pyexcel_xlsxwx/__init__.py | patarapolw/pyexcel-xlsxwx | 4d8eed684a46c16bad9726dfae4fdf0573a4ab50 | [
"MIT"
] | 2 | 2018-09-19T21:28:49.000Z | 2020-11-23T11:28:53.000Z | pyexcel_xlsxwx/__init__.py | patarapolw/pyexcel-xlsxwx | 4d8eed684a46c16bad9726dfae4fdf0573a4ab50 | [
"MIT"
] | null | null | null | pyexcel_xlsxwx/__init__.py | patarapolw/pyexcel-xlsxwx | 4d8eed684a46c16bad9726dfae4fdf0573a4ab50 | [
"MIT"
] | 1 | 2021-11-03T15:55:15.000Z | 2021-11-03T15:55:15.000Z | from .app import ExcelWriter
def save_data(out_file, data, config=None):
ExcelWriter(data, config=config).save(out_file)
| 21.166667 | 51 | 0.76378 | 19 | 127 | 4.947368 | 0.578947 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 127 | 5 | 52 | 25.4 | 0.846847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bfe5c058e66b28acaab3407d063b3b4b586d51ce | 643 | py | Python | terrascript/data/innovationnorway/domeneshop.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/data/innovationnorway/domeneshop.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/data/innovationnorway/domeneshop.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/data/innovationnorway/domeneshop.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:15:33 UTC)
import terrascript
class domeneshop_domain(terrascript.Data):
pass
class domeneshop_domains(terrascript.Data):
pass
class domeneshop_forward(terrascript.Data):
pass
class domen... | 16.921053 | 73 | 0.749611 | 69 | 643 | 6.753623 | 0.376812 | 0.225322 | 0.244635 | 0.257511 | 0.364807 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022181 | 0.158631 | 643 | 37 | 74 | 17.378378 | 0.839187 | 0.18507 | 0 | 0.285714 | 1 | 0 | 0.205374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.047619 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
bfffe0452154438947d2546fbb25353a7a57d609 | 229 | py | Python | ktane/modules/__init__.py | mattvperry/ktane-py | 7a3bf8aed676f6080ac82686b7fb2e09e70e0f25 | [
"MIT"
] | null | null | null | ktane/modules/__init__.py | mattvperry/ktane-py | 7a3bf8aed676f6080ac82686b7fb2e09e70e0f25 | [
"MIT"
] | 1 | 2015-11-04T06:50:13.000Z | 2015-11-04T06:50:13.000Z | ktane/modules/__init__.py | mattvperry/ktane-py | 7a3bf8aed676f6080ac82686b7fb2e09e70e0f25 | [
"MIT"
] | 2 | 2015-10-15T15:51:31.000Z | 2018-07-25T23:29:26.000Z | from .simple_wires import SimpleWires
from .passwords import Passwords
from .morse_code import MorseCode
from .mazes import Mazes
from .memory import Memory
__all__ = ['SimpleWires', 'Passwords', 'MorseCode', 'Mazes', 'Memory'] | 32.714286 | 70 | 0.781659 | 29 | 229 | 6 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117904 | 229 | 7 | 70 | 32.714286 | 0.856436 | 0 | 0 | 0 | 0 | 0 | 0.174672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0.833333 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
8729dba19bf29665819bf5ac3cc6e16e7d670b28 | 194 | py | Python | about/urls.py | minlaxz/university-blog | 4ff75adbeee3c32ea7bd2b647e06e8c5892c38a6 | [
"MIT"
] | null | null | null | about/urls.py | minlaxz/university-blog | 4ff75adbeee3c32ea7bd2b647e06e8c5892c38a6 | [
"MIT"
] | null | null | null | about/urls.py | minlaxz/university-blog | 4ff75adbeee3c32ea7bd2b647e06e8c5892c38a6 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.about_page, name='about_page_uid'),
path('hidden/', views.hidden_about, name='about_page_hidden_uid'),
]
| 24.25 | 70 | 0.716495 | 27 | 194 | 4.888889 | 0.444444 | 0.204545 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139175 | 194 | 7 | 71 | 27.714286 | 0.790419 | 0 | 0 | 0 | 0 | 0 | 0.216495 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
873c987be677dc6d76e3c632cc2626f61c66a88e | 5,782 | py | Python | settings/ChannelArchiver_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | settings/ChannelArchiver_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | settings/ChannelArchiver_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | names = {'NIH:Ensemble.pumpA': 'pumpA', 'NIH:TEMP.VAL': 'Temperature controller set point [C]', 'NIH:OasisChiller.DL': 'Horizontal Mirror Theta [mrad]', 'NIH:pressure': 'Pressure upstream [atm]', 'NIH:DI245.56671FE403.ch3.pressure': 'Pressure downstream [V]', 'NIH:TIMING.registers.xdet_trig_count.count': 'X-ray detecto... | 2,891 | 4,872 | 0.752508 | 794 | 5,782 | 5.361461 | 0.147355 | 0.05074 | 0.10148 | 0.036176 | 0.64435 | 0.499178 | 0.332629 | 0.195443 | 0.117923 | 0.070942 | 0 | 0.034253 | 0.065894 | 5,782 | 2 | 4,873 | 2,891 | 0.753934 | 0 | 0 | 0 | 0 | 0 | 0.853017 | 0.437489 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8752065d208a4fbb207a669ab3e6ced86b8900b1 | 277 | py | Python | release/stubs.min/Tekla/Structures/ModelInternal_parts/BentPlateTestingTool.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Tekla/Structures/ModelInternal_parts/BentPlateTestingTool.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Tekla/Structures/ModelInternal_parts/BentPlateTestingTool.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class BentPlateTestingTool(object):
""" BentPlateTestingTool() """
def CreateByFaces(self, part1, face1, part2, face2):
""" CreateByFaces(self: BentPlateTestingTool,part1: Part,face1: IList[Point],part2: Part,face2: IList[Point]) -> BentPlate """
pass
| 39.571429 | 134 | 0.68231 | 26 | 277 | 7.269231 | 0.576923 | 0.179894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.169675 | 277 | 6 | 135 | 46.166667 | 0.786957 | 0.512635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5e43641e500775c46fd5b32a90e8ef868426b05f | 901 | py | Python | integration-test/404-toys-not-found.py | slachiewicz/vector-datasource | fb37603ba264be05839992f40eba1b5ae8a9c290 | [
"MIT"
] | null | null | null | integration-test/404-toys-not-found.py | slachiewicz/vector-datasource | fb37603ba264be05839992f40eba1b5ae8a9c290 | [
"MIT"
] | 2 | 2021-03-26T00:41:17.000Z | 2021-12-13T20:49:38.000Z | integration-test/404-toys-not-found.py | slachiewicz/vector-datasource | fb37603ba264be05839992f40eba1b5ae8a9c290 | [
"MIT"
] | null | null | null | tiles = [
(17, 20946, 50678), # https://www.openstreetmap.org/way/215472849
(17, 20959, 50673), # https://www.openstreetmap.org/node/1713279804
(17, 20961, 50675), # https://www.openstreetmap.org/node/3188857553
(17, 20969, 50656), # https://www.openstreetmap.org/node/3396659022
(17, 21013, 50637), ... | 47.421053 | 71 | 0.663707 | 115 | 901 | 5.182609 | 0.46087 | 0.295302 | 0.350671 | 0.402685 | 0.422819 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316273 | 0.154273 | 901 | 18 | 72 | 50.055556 | 0.465879 | 0.557159 | 0 | 0 | 0 | 0 | 0.031008 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e65aa06d944e439d763fe40bc9690206e78be68 | 30,299 | py | Python | tests/unit/gapic/talent_v4beta1/test_completion.py | busunkim96/python-talent | ef281ae8b8204c4f4a6bd57acbba7829cca4d24f | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/talent_v4beta1/test_completion.py | busunkim96/python-talent | ef281ae8b8204c4f4a6bd57acbba7829cca4d24f | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/talent_v4beta1/test_completion.py | busunkim96/python-talent | ef281ae8b8204c4f4a6bd57acbba7829cca4d24f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 37.545229 | 111 | 0.691211 | 3,426 | 30,299 | 5.838587 | 0.085814 | 0.030595 | 0.028796 | 0.018047 | 0.816927 | 0.770434 | 0.73484 | 0.700445 | 0.684647 | 0.66745 | 0 | 0.003754 | 0.226377 | 30,299 | 806 | 112 | 37.591811 | 0.849616 | 0.150665 | 0 | 0.66281 | 0 | 0 | 0.123016 | 0.055406 | 0 | 0 | 0 | 0 | 0.099174 | 1 | 0.047934 | false | 0 | 0.033058 | 0.003306 | 0.084298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e7a01ba69f4f7202891154702634b3214bc8ce7 | 110 | py | Python | docker_images/lambda_images/python/app.py | pbx-gs/OSBot-AWS | 202f9347c861508a4780224384202c971fb54a45 | [
"Apache-2.0"
] | 2 | 2019-04-19T07:42:08.000Z | 2019-06-23T11:46:18.000Z | docker_images/lambda_images/python/app.py | pbx-gs/OSBot-AWS | 202f9347c861508a4780224384202c971fb54a45 | [
"Apache-2.0"
] | 8 | 2020-02-16T23:43:07.000Z | 2021-02-26T01:58:20.000Z | docker_images/lambda_images/python/app.py | owasp-sbot/OSBot-AWS | 202f9347c861508a4780224384202c971fb54a45 | [
"Apache-2.0"
] | 3 | 2020-02-16T15:45:58.000Z | 2021-02-11T01:04:58.000Z | def run(event, context):
return '\n....Created from a Docker image\nHello {0}\n'.format(event.get('name')) | 55 | 85 | 0.672727 | 18 | 110 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.118182 | 110 | 2 | 85 | 55 | 0.752577 | 0 | 0 | 0 | 0 | 0 | 0.45045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
5e7a08b1461ce3c15b5e1b4c21ceb136f1358c23 | 1,166 | py | Python | setup.py | Erickdrakus93/Read_name | 1c67d99a9c499cd942ab8c0f6b729f3f5de2f3a7 | [
"BSD-3-Clause"
] | 9 | 2017-08-13T14:39:21.000Z | 2019-09-24T14:03:03.000Z | setup.py | Erickdrakus93/Read_name | 1c67d99a9c499cd942ab8c0f6b729f3f5de2f3a7 | [
"BSD-3-Clause"
] | null | null | null | setup.py | Erickdrakus93/Read_name | 1c67d99a9c499cd942ab8c0f6b729f3f5de2f3a7 | [
"BSD-3-Clause"
] | 6 | 2016-12-24T08:56:47.000Z | 2019-09-03T04:59:14.000Z |
from distutils.core import setup
setup(
name='C3Linearize',
version='0.1.0',
description='Python implementation of the C3 linearization algorithm.',
url='http://github.com/mikeboers/C3Linearize',
py_modules=['c3linearize'],
author='Mike Boers',
author_email='c3linearize@mikeboers.com'... | 34.294118 | 75 | 0.599485 | 115 | 1,166 | 6.06087 | 0.504348 | 0.272597 | 0.35868 | 0.223816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.255575 | 1,166 | 33 | 76 | 35.333333 | 0.770737 | 0 | 0 | 0 | 0 | 0 | 0.653219 | 0.021459 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.034483 | 0 | 0.034483 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5ec1abbc6d9d11a9c3b9d9863bc57c7bf049ba97 | 58 | py | Python | signbank/settings/server_specific/__init__.py | gstvob/SignBank-Brasil | 16a7b2341e56a098de828bda132da2e38815f2ec | [
"BSD-3-Clause"
] | 2 | 2019-12-03T00:59:27.000Z | 2020-05-01T17:10:11.000Z | signbank/settings/server_specific/__init__.py | gstvob/SignBank-Brasil | 16a7b2341e56a098de828bda132da2e38815f2ec | [
"BSD-3-Clause"
] | 30 | 2018-10-25T00:18:49.000Z | 2020-09-15T18:20:20.000Z | signbank/settings/server_specific/__init__.py | gstvob/SignBank-Brasil | 16a7b2341e56a098de828bda132da2e38815f2ec | [
"BSD-3-Clause"
] | 1 | 2020-08-20T22:35:44.000Z | 2020-08-20T22:35:44.000Z | from signbank.settings.server_specific.global_sb import *
| 29 | 57 | 0.862069 | 8 | 58 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0dea465496f6f47774de9b4c489c818fb9448b8f | 208 | py | Python | d20/version.py | ryantxu1/d20 | 9b60b376d2cb215a0eb19b2c728e9ea8587bbd34 | [
"Apache-2.0"
] | 7 | 2021-04-23T12:23:25.000Z | 2022-02-05T22:13:19.000Z | d20/version.py | ryantxu1/d20 | 9b60b376d2cb215a0eb19b2c728e9ea8587bbd34 | [
"Apache-2.0"
] | null | null | null | d20/version.py | ryantxu1/d20 | 9b60b376d2cb215a0eb19b2c728e9ea8587bbd34 | [
"Apache-2.0"
] | null | null | null | import pkg_resources
GAME_ENGINE_VERSION_RAW = "0.4.3"
GAME_ENGINE_VERSION = pkg_resources.parse_version(GAME_ENGINE_VERSION_RAW)
def parseVersion(version):
return pkg_resources.parse_version(version)
| 23.111111 | 74 | 0.836538 | 30 | 208 | 5.366667 | 0.466667 | 0.223602 | 0.31677 | 0.248447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.091346 | 208 | 8 | 75 | 26 | 0.835979 | 0 | 0 | 0 | 0 | 0 | 0.024038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 1 | 0 | 0 | 0 | 5 |
2197eb86d78ed46385609e35817b638db1c49bc4 | 131 | py | Python | tests/conftest.py | basefarm/mqtt-py-wrapper | ac2e90b5aa8445a30cef0f5c2413b391b5ac5670 | [
"BSD-2-Clause"
] | null | null | null | tests/conftest.py | basefarm/mqtt-py-wrapper | ac2e90b5aa8445a30cef0f5c2413b391b5ac5670 | [
"BSD-2-Clause"
] | 1 | 2021-11-30T13:14:08.000Z | 2021-12-15T13:36:17.000Z | tests/conftest.py | basefarm/mqtt-py-wrapper | ac2e90b5aa8445a30cef0f5c2413b391b5ac5670 | [
"BSD-2-Clause"
] | null | null | null | def pytest_addoption(parser):
parser.addoption("--username", action="store")
parser.addoption("--password", action="store") | 43.666667 | 50 | 0.709924 | 14 | 131 | 6.571429 | 0.571429 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 3 | 51 | 43.666667 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
219cb1a54050f78361400ed924e0075693a0334e | 39 | py | Python | problem_316/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_316/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_316/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | from .problem_316 import denominations
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.102564 | 39 | 1 | 39 | 39 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
21dcc7772ff22b97c370caf179d7bfacf7ea9d90 | 885 | py | Python | tests/test_day_01.py | jrcoutinho/aoc-2019-python | 307ecddc0f7feeb31bc5d95a0479d5498bbf2679 | [
"MIT"
] | null | null | null | tests/test_day_01.py | jrcoutinho/aoc-2019-python | 307ecddc0f7feeb31bc5d95a0479d5498bbf2679 | [
"MIT"
] | null | null | null | tests/test_day_01.py | jrcoutinho/aoc-2019-python | 307ecddc0f7feeb31bc5d95a0479d5498bbf2679 | [
"MIT"
] | null | null | null | from aoc.day_01 import RocketLaunch
def test_ex_01():
launch = RocketLaunch()
assert launch._get_module_fuel(12) == 2
assert launch._get_fuel(12) == 2
def test_ex_02():
launch = RocketLaunch()
assert launch._get_module_fuel(14) == 2
assert launch._get_fuel(14) == 2
def test_ex_03():
la... | 23.918919 | 76 | 0.691525 | 121 | 885 | 4.743802 | 0.272727 | 0.209059 | 0.209059 | 0.209059 | 0.369338 | 0.299652 | 0.299652 | 0 | 0 | 0 | 0 | 0.129944 | 0.2 | 885 | 36 | 77 | 24.583333 | 0.680791 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.208333 | false | 0 | 0.041667 | 0 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21e26b9a54d1f82b526dfb881aa01c32e4408deb | 88 | py | Python | cancontroller/caniot/__init__.py | Adecy/caniot-pycontroller | dc22f4240c7c9c5d2db08f75a879d5b8616150d3 | [
"MIT"
] | null | null | null | cancontroller/caniot/__init__.py | Adecy/caniot-pycontroller | dc22f4240c7c9c5d2db08f75a879d5b8616150d3 | [
"MIT"
] | null | null | null | cancontroller/caniot/__init__.py | Adecy/caniot-pycontroller | dc22f4240c7c9c5d2db08f75a879d5b8616150d3 | [
"MIT"
] | 1 | 2021-08-08T23:47:01.000Z | 2021-08-08T23:47:01.000Z | from .misc import generate_random_data
from .device import Device
from .message import * | 29.333333 | 38 | 0.829545 | 13 | 88 | 5.461538 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 3 | 39 | 29.333333 | 0.922078 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
21efafbb1c6386c544de7b81b77c7e5c3aa5aa8f | 125 | py | Python | mrcnn/zip.py | rianpramudia/mrcnn_test | cad4d173190bb269e05d2858d941431e1d9cad39 | [
"MIT"
] | null | null | null | mrcnn/zip.py | rianpramudia/mrcnn_test | cad4d173190bb269e05d2858d941431e1d9cad39 | [
"MIT"
] | null | null | null | mrcnn/zip.py | rianpramudia/mrcnn_test | cad4d173190bb269e05d2858d941431e1d9cad39 | [
"MIT"
] | null | null | null | a = ['a','b','c']
b = ['1','2','3','4','5','6']
c = list(zip(*b))
print(a)
print(c)
for d,e in zip(c,a):
print(d)
print(e)
| 13.888889 | 29 | 0.448 | 30 | 125 | 1.866667 | 0.533333 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.152 | 125 | 8 | 30 | 15.625 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0.072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
df408510d4ee37bd3d765c15d29bf180594453d7 | 42 | py | Python | 4 uzdevums.py | DaigaRutka/Eksamens-13-02 | f39ddccb9f24ba4da6b2e14f418c389de06ea87f | [
"MIT"
] | null | null | null | 4 uzdevums.py | DaigaRutka/Eksamens-13-02 | f39ddccb9f24ba4da6b2e14f418c389de06ea87f | [
"MIT"
] | null | null | null | 4 uzdevums.py | DaigaRutka/Eksamens-13-02 | f39ddccb9f24ba4da6b2e14f418c389de06ea87f | [
"MIT"
] | null | null | null | a = input()
print(a[1:], a[0:1], sep = "") | 21 | 30 | 0.452381 | 9 | 42 | 2.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.166667 | 42 | 2 | 30 | 21 | 0.457143 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
df5583c9538abd92d84a98d859b3f6fa35270e24 | 1,139 | py | Python | login/views.py | NiaAmeerah/naturalteas | b1e4388e5f2fd492ac83b242c37c54bdc4fc61ac | [
"MIT"
] | null | null | null | login/views.py | NiaAmeerah/naturalteas | b1e4388e5f2fd492ac83b242c37c54bdc4fc61ac | [
"MIT"
] | null | null | null | login/views.py | NiaAmeerah/naturalteas | b1e4388e5f2fd492ac83b242c37c54bdc4fc61ac | [
"MIT"
] | null | null | null | from django.contrib.auth import login, authenticate
from django.contrib.auth.forms import UserCreationForm
from django.shortcuts import render, redirect
def signup(request):
if request.method == 'POST':
form = UserCreationForm(request.POST)
if form.is_valid():
form.save()
us... | 32.542857 | 73 | 0.674276 | 121 | 1,139 | 6.305785 | 0.330579 | 0.110092 | 0.174312 | 0.204456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001098 | 0.200176 | 1,139 | 34 | 74 | 33.5 | 0.836443 | 0 | 0 | 0 | 0 | 0 | 0.115013 | 0.03863 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.071429 | 0.107143 | 0.214286 | 0.642857 | 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 | 1 | 1 | 0 | 0 | 5 |
df7e91da1d1232a6212e74063070078e752a5780 | 722 | py | Python | antools/logging/abstract_logger.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | 1 | 2021-02-27T07:22:39.000Z | 2021-02-27T07:22:39.000Z | antools/logging/abstract_logger.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | null | null | null | antools/logging/abstract_logger.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
ABSTRACT LOGGER
"""
# %% LIBRARY IMPORT
import abc
# %% FILE IMPORT
# %% CLASSES
class AbstractLogger(metaclass = abc.ABCMeta):
""" Abstract class for Loggers """
@abc.abstractmethod
def __init__(self):
pass
@abc.abstractmethod
def debug(self):
... | 16.044444 | 46 | 0.560942 | 70 | 722 | 5.714286 | 0.414286 | 0.34 | 0.4 | 0.4375 | 0.49 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002083 | 0.33518 | 722 | 45 | 47 | 16.044444 | 0.83125 | 0.152355 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.307692 | 0.038462 | 0 | 0.384615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
10ec7e7f438a15887670c7a7931f85646eee0781 | 27 | py | Python | Python/Topics/Creating bytes/Zero bytes/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Python/Topics/Creating bytes/Zero bytes/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | null | null | null | Python/Topics/Creating bytes/Zero bytes/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | print(bytes(int(input())))
| 13.5 | 26 | 0.666667 | 4 | 27 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 27 | 1 | 27 | 27 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3390f88e941ee7fcc9acb0f45d26d6fba8e2744d | 369 | py | Python | backend/sortResults.py | linorallo/Product_Finder | 49ee6796eb661e0fa00546047f085ab6fc012eaf | [
"MIT"
] | null | null | null | backend/sortResults.py | linorallo/Product_Finder | 49ee6796eb661e0fa00546047f085ab6fc012eaf | [
"MIT"
] | null | null | null | backend/sortResults.py | linorallo/Product_Finder | 49ee6796eb661e0fa00546047f085ab6fc012eaf | [
"MIT"
] | null | null | null | import operator
def sortIncreasing(results):
print(operator.itemgetter(1))
results.sort(key = operator.itemgetter(1))
return results
def sortDecreasing(results):
results.sort(key = operator.itemgetter(1), reverse = True)
return results
def sortIncreasingDiscoount(results):
results.sort(... | 33.545455 | 63 | 0.726287 | 41 | 369 | 6.536585 | 0.365854 | 0.268657 | 0.283582 | 0.246269 | 0.518657 | 0.518657 | 0.518657 | 0.343284 | 0 | 0 | 0 | 0.013115 | 0.173442 | 369 | 11 | 64 | 33.545455 | 0.865574 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.636364 | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
33a8edda88cd6777100edf485020c1b5117e60f4 | 209 | py | Python | src/airfly/_vendor/airflow/sensors/date_time.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/sensors/date_time.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/sensors/date_time.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.sensors.base import BaseSensorOperator
class DateTimeSensor(BaseSensorOperator):
target_time: "typing.Union[str, datetime.datetime]"
| 29.857143 | 66 | 0.808612 | 24 | 209 | 6.958333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100478 | 209 | 6 | 67 | 34.833333 | 0.888298 | 0.186603 | 0 | 0 | 1 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
33d877d619c14dd2e7925923e8d5e2b998e6636f | 3,727 | py | Python | P3/dsa_linked_list_test.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | P3/dsa_linked_list_test.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | P3/dsa_linked_list_test.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | from dsa_linked_list import DSALinkedList
import pickle
from unittest import TestCase
class DSALinkedListTest(TestCase):
test_size = 10
def setUp(self) -> None:
self._list = DSALinkedList()
def test_insert_first(self) -> None:
for i in range(self.test_size):
self._list.inser... | 32.408696 | 72 | 0.603971 | 491 | 3,727 | 4.321792 | 0.099796 | 0.196041 | 0.090481 | 0.12017 | 0.825636 | 0.802545 | 0.762017 | 0.732799 | 0.584826 | 0.520735 | 0 | 0.002983 | 0.280386 | 3,727 | 114 | 73 | 32.692982 | 0.788218 | 0 | 0 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 1 | 0.111111 | false | 0 | 0.033333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
33ef3ef01d8cf22b726be05511588daab06bda34 | 80,923 | py | Python | python_pb2/go/chromium/org/luci/buildbucket/proto/rpc_prpc_pb2.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | null | null | null | python_pb2/go/chromium/org/luci/buildbucket/proto/rpc_prpc_pb2.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | null | null | null | python_pb2/go/chromium/org/luci/buildbucket/proto/rpc_prpc_pb2.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | null | null | null | # Generated by the pRPC protocol buffer compiler plugin. DO NOT EDIT!
# source: go.chromium.org/luci/buildbucket/proto/rpc.proto
import base64
import zlib
from google.protobuf import descriptor_pb2
# Includes description of the go.chromium.org/luci/buildbucket/proto/rpc.proto and all of its transitive
# dependencie... | 79.727094 | 107 | 0.883457 | 3,282 | 80,923 | 21.777879 | 0.949116 | 0.001175 | 0.001189 | 0.000951 | 0.003274 | 0.002742 | 0.002742 | 0.002742 | 0.001595 | 0.001595 | 0 | 0.152755 | 0.062405 | 80,923 | 1,014 | 108 | 79.80572 | 0.789279 | 0.003324 | 0 | 0 | 1 | 0 | 0.908753 | 0.907587 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002985 | 0 | 0.002985 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.