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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
af2937c92052a2e1fb3760a9e1adbb2a97e1f105 | 72 | py | Python | project/experiments/exp_008_validate_selected_bodies/src/0.init.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | project/experiments/exp_008_validate_selected_bodies/src/0.init.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | project/experiments/exp_008_validate_selected_bodies/src/0.init.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | import common.common as common
common.get_output_data_folder(init=True) | 24 | 40 | 0.861111 | 12 | 72 | 4.916667 | 0.75 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 72 | 3 | 40 | 24 | 0.880597 | 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 |
af58f26bb384aafcbe6efc1830aea9d156b00f3b | 32 | py | Python | astrodust/__init__.py | kehoffman3/dustyforest | 7b169c6e91e50f200b5425ff216964ea7914d55f | [
"MIT"
] | 1 | 2021-04-13T02:02:59.000Z | 2021-04-13T02:02:59.000Z | astrodust/__init__.py | kehoffman3/dustyforest | 7b169c6e91e50f200b5425ff216964ea7914d55f | [
"MIT"
] | null | null | null | astrodust/__init__.py | kehoffman3/dustyforest | 7b169c6e91e50f200b5425ff216964ea7914d55f | [
"MIT"
] | 1 | 2021-07-26T20:56:54.000Z | 2021-07-26T20:56:54.000Z | from .astrodust import DustModel | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
af69974cde073cb5be6dde056384694ef35a4c69 | 142 | py | Python | atmusers/admin.py | andkononykhin/atmsite | f6dc190adb8bfe74b06cf08069863d7e18a1d228 | [
"MIT"
] | null | null | null | atmusers/admin.py | andkononykhin/atmsite | f6dc190adb8bfe74b06cf08069863d7e18a1d228 | [
"MIT"
] | null | null | null | atmusers/admin.py | andkononykhin/atmsite | f6dc190adb8bfe74b06cf08069863d7e18a1d228 | [
"MIT"
] | null | null | null | from django.contrib import admin
from atmusers.models import ATMUser, Operation
admin.site.register(ATMUser)
admin.site.register(Operation)
| 20.285714 | 46 | 0.830986 | 19 | 142 | 6.210526 | 0.578947 | 0.152542 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 142 | 6 | 47 | 23.666667 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
af78d7a42b28909dfbf3c5fa3e22e0affde4d63c | 358 | py | Python | examples/dev/run.py | TyberiusPrime/anysnake2 | 331fb30e8f679585abff315e88c9c1ac58ba35e7 | [
"MIT"
] | 2 | 2021-08-19T13:26:28.000Z | 2022-03-23T08:26:03.000Z | examples/dev/run.py | TyberiusPrime/anysnake2 | 331fb30e8f679585abff315e88c9c1ac58ba35e7 | [
"MIT"
] | 1 | 2022-02-17T12:14:37.000Z | 2022-02-18T06:33:56.000Z | examples/dev/run.py | TyberiusPrime/anysnake2 | 331fb30e8f679585abff315e88c9c1ac58ba35e7 | [
"MIT"
] | null | null | null | import sys
import os
print(sys.path)
import pandas as pd
print('pandas', pd.__version__)
import dppd
print(sys.modules['dppd'])
print('venv', os.listdir("/anysnake2/venv"))
print('linked-in', os.listdir("/anysnake2/venv/linked_in"))
print('mbf-r', os.listdir("/anysnake2/venv/linked_in/mbf-r/src"))
import mbf_sampledata... | 27.538462 | 65 | 0.751397 | 56 | 358 | 4.660714 | 0.357143 | 0.091954 | 0.206897 | 0.252874 | 0.229885 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0.008955 | 0.064246 | 358 | 12 | 66 | 29.833333 | 0.770149 | 0 | 0 | 0 | 0 | 0 | 0.326816 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.416667 | 0 | 0.416667 | 0.583333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
af89e7fee696252a8cbedba5c81119b1e7138ccb | 342 | py | Python | Game/Scenes/__init__.py | anchitmulye/Sudoku-pygame | 55aaf692dd4063a015b67d0b53a2284c78451987 | [
"MIT"
] | 3 | 2018-07-18T05:18:20.000Z | 2020-11-03T19:44:39.000Z | Game/Scenes/__init__.py | anchitmulye/Sudoku-pygame | 55aaf692dd4063a015b67d0b53a2284c78451987 | [
"MIT"
] | null | null | null | Game/Scenes/__init__.py | anchitmulye/Sudoku-pygame | 55aaf692dd4063a015b67d0b53a2284c78451987 | [
"MIT"
] | 4 | 2019-06-11T05:48:48.000Z | 2022-01-26T14:08:37.000Z | from Game.Scenes.Scene import Scene
from Game.Scenes.GameOverScene import GameOverScene
from Game.Scenes.HighScoreScene import HighScoreScene
from Game.Scenes.PlayingGameScene import PlayingGameScene
from Game.Scenes.MenuScene import MenuScene
from Game.Scenes.Instructions import Instructions
from Game.Scenes.SavingSce... | 42.75 | 57 | 0.877193 | 42 | 342 | 7.142857 | 0.261905 | 0.186667 | 0.326667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081871 | 342 | 7 | 58 | 48.857143 | 0.955414 | 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 | 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 | 1 | 0 | 0 | 5 |
a5209d42fd1a89c7642a0b83019ded400fffccbc | 88 | py | Python | pygraphql/__init__.py | bendidi/pygraphql-async | 7a1200ba870b00b8d64333a3bdf51efff440bde7 | [
"MIT"
] | 1 | 2020-10-16T00:31:27.000Z | 2020-10-16T00:31:27.000Z | pygraphql/__init__.py | bendidi/pygraphql-async | 7a1200ba870b00b8d64333a3bdf51efff440bde7 | [
"MIT"
] | null | null | null | pygraphql/__init__.py | bendidi/pygraphql-async | 7a1200ba870b00b8d64333a3bdf51efff440bde7 | [
"MIT"
] | null | null | null | from .auth import BaseAuth
from .client import BaseClientAsync
from .query import Query
| 22 | 35 | 0.829545 | 12 | 88 | 6.083333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 3 | 36 | 29.333333 | 0.960526 | 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 |
a5adec867f09bc9dbbfa42fcd9772cb44e385294 | 141 | py | Python | C32/scope.py | jpch89/learningpython | 47e78041e519ecd2e00de1b32f6416b56ce2616c | [
"MIT"
] | 2 | 2020-10-20T10:18:48.000Z | 2020-12-02T09:41:18.000Z | C32/scope.py | jpch89/learningpython | 47e78041e519ecd2e00de1b32f6416b56ce2616c | [
"MIT"
] | null | null | null | C32/scope.py | jpch89/learningpython | 47e78041e519ecd2e00de1b32f6416b56ce2616c | [
"MIT"
] | 1 | 2020-12-02T10:03:29.000Z | 2020-12-02T10:03:29.000Z | def generate():
class Spam:
count = 1
def method(self):
print(count)
return Spam()
generate().method()
| 14.1 | 25 | 0.51773 | 15 | 141 | 4.866667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.361702 | 141 | 9 | 26 | 15.666667 | 0.8 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.714286 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
3c02245c55aadea0690ad90561ee52b998ee3500 | 115 | py | Python | scripts/addons/animation_nodes/base_types/sockets/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | 2 | 2020-04-16T22:12:40.000Z | 2022-01-22T17:18:45.000Z | scripts/addons/animation_nodes/base_types/sockets/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | null | null | null | scripts/addons/animation_nodes/base_types/sockets/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | 2 | 2019-05-16T04:01:09.000Z | 2020-08-25T11:42:26.000Z | from . base_socket import AnimationNodeSocket
from . list_sockets import ListSocket, PythonListSocket, CListSocket
| 38.333333 | 68 | 0.86087 | 12 | 115 | 8.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 2 | 69 | 57.5 | 0.941748 | 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 |
3c2c65fa618d9f7fea68af48cc93d9ddca00c508 | 98 | py | Python | pygame_gui/__init__.py | jtiai/pygame_gui | 3da0e1f2c4c60a2780c798d5592f2603ba786b34 | [
"MIT"
] | null | null | null | pygame_gui/__init__.py | jtiai/pygame_gui | 3da0e1f2c4c60a2780c798d5592f2603ba786b34 | [
"MIT"
] | null | null | null | pygame_gui/__init__.py | jtiai/pygame_gui | 3da0e1f2c4c60a2780c798d5592f2603ba786b34 | [
"MIT"
] | null | null | null | from .ui_manager import UIManager
from . import core
from . import elements
from . import windows
| 19.6 | 33 | 0.795918 | 14 | 98 | 5.5 | 0.571429 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 4 | 34 | 24.5 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
b1c5d3e17e46385b654e20cdb03aa91cc11a7f27 | 14,017 | py | Python | mmdet/models/roi_heads/bbox_heads/lvis_instances.py | kostas1515/LongTailActivations | 0f11aa536dad928d9de5eabb1d4445edf6cdc056 | [
"Apache-2.0"
] | 18 | 2021-09-28T02:46:04.000Z | 2022-03-23T15:11:32.000Z | mmdet/models/roi_heads/bbox_heads/lvis_instances.py | kostas1515/LongTailActivations | 0f11aa536dad928d9de5eabb1d4445edf6cdc056 | [
"Apache-2.0"
] | 2 | 2021-12-30T05:47:13.000Z | 2022-01-11T09:26:18.000Z | fasa/lvis_instances.py | yuhangzang/FASA | 01d08a7f889c89afffe1400fe24446075fe413bb | [
"MIT"
] | null | null | null | LVIS_INSTANCES = {'0': 109, '1': 1081, '2': 3720, '3': 158, '4': 207, '5': 39, '6': 1700, '7': 25, '8': 16, '9': 39, '10': 1018, '11': 17451, '12': 7, '13': 62, '14': 881, '15': 36, '16': 8, '17': 85, '18': 1112, '19': 11, '20': 23, '21': 293, '22': 2722, '23': 136, '24': 969, '25': 67, '26': 1048, '27': 163, '28': 427... | 14,017 | 14,017 | 0.484554 | 2,409 | 14,017 | 2.819012 | 0.594022 | 0.001178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583613 | 0.171934 | 14,017 | 1 | 14,017 | 14,017 | 0.001465 | 0.000285 | 0 | 0 | 0 | 0 | 0.264202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
591990644c95f6d07e3688d288e504d7a8bf8e9d | 91 | py | Python | sources/dataset/__init__.py | lthamm/concept-embeddings-and-ilp | 27592c6424147a2fbb54d7daebc92cd72b3f4a0c | [
"MIT"
] | 3 | 2020-11-02T12:21:29.000Z | 2021-08-02T14:01:37.000Z | sources/dataset/__init__.py | lthamm/concept-embeddings-and-ilp | 27592c6424147a2fbb54d7daebc92cd72b3f4a0c | [
"MIT"
] | 2 | 2020-11-06T07:58:13.000Z | 2022-03-13T16:11:30.000Z | sources/dataset/__init__.py | lthamm/concept-embeddings-and-ilp | 27592c6424147a2fbb54d7daebc92cd72b3f4a0c | [
"MIT"
] | 1 | 2020-11-03T14:54:16.000Z | 2020-11-03T14:54:16.000Z | """Handles for the picasso dataset."""
from .picasso_mask_handle import PicassoMaskHandle
| 22.75 | 50 | 0.802198 | 11 | 91 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 91 | 3 | 51 | 30.333333 | 0.876543 | 0.351648 | 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 |
591c3823e6eca3374d7fd5c7c125a64989e633a6 | 231 | py | Python | lib/subscriptions.py | pooyadav/app-hello-world | d8f838effa4bdecc96c57dd531bfb8c02cb07969 | [
"MIT"
] | null | null | null | lib/subscriptions.py | pooyadav/app-hello-world | d8f838effa4bdecc96c57dd531bfb8c02cb07969 | [
"MIT"
] | 4 | 2021-03-18T20:27:10.000Z | 2022-03-11T23:18:36.000Z | lib/subscriptions.py | pooyadav/app-hello-world | d8f838effa4bdecc96c57dd531bfb8c02cb07969 | [
"MIT"
] | null | null | null | import lib.utils as utils
def connect(href):
print("Not yet implemented")
def subscribe(href, dataSourceID, type):
print("Not yet implemented")
def unsubscribe(href, dataSourceID, type):
print("Not yet implemented")
| 21 | 42 | 0.722944 | 30 | 231 | 5.566667 | 0.5 | 0.143713 | 0.197605 | 0.39521 | 0.670659 | 0.502994 | 0.502994 | 0 | 0 | 0 | 0 | 0 | 0.164502 | 231 | 10 | 43 | 23.1 | 0.865285 | 0 | 0 | 0.428571 | 0 | 0 | 0.246753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 0.571429 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 5 |
5929ac28edf396e2604416c77268c74b74c8d54f | 333 | py | Python | src/python/squarepants/plugins/thrift_linter/register.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 8 | 2015-04-14T22:37:56.000Z | 2021-01-20T19:46:40.000Z | src/python/squarepants/plugins/thrift_linter/register.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 1 | 2016-01-13T23:19:14.000Z | 2016-01-22T22:47:48.000Z | src/python/squarepants/plugins/thrift_linter/register.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 3 | 2015-12-13T08:35:34.000Z | 2018-08-01T17:44:59.000Z | # coding=utf-8
# Copyright 2015 Square, Inc.
from pants.goal.task_registrar import TaskRegistrar as task
from squarepants.plugins.thrift_linter.tasks.thrift_linter import ThriftLinterDummy
def register_goals():
task(name='thrift-linter', action=ThriftLinterDummy).install().with_description('Standin for thrift-lint... | 33.3 | 118 | 0.816817 | 43 | 333 | 6.209302 | 0.744186 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016447 | 0.087087 | 333 | 9 | 119 | 37 | 0.861842 | 0.12012 | 0 | 0 | 0 | 0 | 0.158621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
593b4b4fd9cb0f686ee3302c6de321c0015aadc2 | 963 | py | Python | tests/unit/resources/test_input.py | sehovaclj/k_means | 1135f65e95a9a6bcf1981db71e67822e023bede1 | [
"MIT"
] | null | null | null | tests/unit/resources/test_input.py | sehovaclj/k_means | 1135f65e95a9a6bcf1981db71e67822e023bede1 | [
"MIT"
] | null | null | null | tests/unit/resources/test_input.py | sehovaclj/k_means | 1135f65e95a9a6bcf1981db71e67822e023bede1 | [
"MIT"
] | null | null | null | import pytest
from k_means.resources.input import default_message
@pytest.mark.default_message
def test_default_message():
assert type(default_message['NumberClusters']) == int and default_message['NumberClusters'] > 0
assert type(default_message['NumberDistributions']) == int and default_message['NumberDistr... | 53.5 | 109 | 0.742471 | 110 | 963 | 6.309091 | 0.281818 | 0.383285 | 0.220461 | 0.311239 | 0.260807 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.136033 | 963 | 17 | 110 | 56.647059 | 0.824519 | 0 | 0 | 0 | 0 | 0 | 0.214953 | 0.043614 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.066667 | true | 0 | 0.133333 | 0 | 0.266667 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3cf639371e2c4379394a5924f12a4f8b0df29e04 | 61,791 | py | Python | experiments/experiments_gdsc/convergence/nmf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 16 | 2017-04-19T12:04:47.000Z | 2021-12-03T00:50:43.000Z | experiments/experiments_gdsc/convergence/nmf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 1 | 2017-04-20T11:26:16.000Z | 2017-04-20T11:26:16.000Z | experiments/experiments_gdsc/convergence/nmf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 8 | 2015-12-15T05:29:43.000Z | 2019-06-05T03:14:11.000Z | """
Run NMF Gibbs on the Sanger dataset.
We can plot the MSE, R2 and Rp as it converges, on the entire dataset.
We give flat priors (1/10).
"""
import sys, os
project_location = os.path.dirname(__file__)+"/../../../../"
sys.path.append(project_location)
from BNMTF.code.models.bnmf_gibbs_optimised import bnmf_gibbs_... | 1,261.040816 | 60,690 | 0.849072 | 6,173 | 61,791 | 8.494249 | 0.500891 | 0.001144 | 0.00103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.880818 | 0.050833 | 61,791 | 49 | 60,691 | 1,261.040816 | 0.013214 | 0.001926 | 0 | 0 | 0 | 0 | 0.088235 | 0.026961 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.181818 | null | null | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3cf85adde600f4bf2b6f0ac0481df8d4c12f2fc1 | 163 | py | Python | resources/healthcheck.py | SchulzWill/PyHealthChecker | 2f01d553c8acd1391860ee3ebcf2947536503405 | [
"MIT"
] | null | null | null | resources/healthcheck.py | SchulzWill/PyHealthChecker | 2f01d553c8acd1391860ee3ebcf2947536503405 | [
"MIT"
] | null | null | null | resources/healthcheck.py | SchulzWill/PyHealthChecker | 2f01d553c8acd1391860ee3ebcf2947536503405 | [
"MIT"
] | null | null | null | from flask_restful import Resource
from flask import request, json, jsonify
class HealthCheck(Resource):
def get(self):
return {'status':'ok'},200 | 23.285714 | 40 | 0.705521 | 21 | 163 | 5.428571 | 0.809524 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.196319 | 163 | 7 | 41 | 23.285714 | 0.847328 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
a71be5adce20f5c98b81dadf322e28c0ae4ffda7 | 209 | py | Python | test/service/test_do.py | thibalbo/pyskel | 1808a65a11f8f708a3e68cc175d579b8ced32f00 | [
"MIT"
] | 1 | 2019-10-24T01:29:25.000Z | 2019-10-24T01:29:25.000Z | test/service/test_do.py | thibalbo/pyskel | 1808a65a11f8f708a3e68cc175d579b8ced32f00 | [
"MIT"
] | 2 | 2017-03-10T14:43:02.000Z | 2017-05-24T02:10:05.000Z | test/service/test_do.py | thibalbo/pyskel | 1808a65a11f8f708a3e68cc175d579b8ced32f00 | [
"MIT"
] | 3 | 2018-04-25T08:04:24.000Z | 2020-06-14T21:08:29.000Z | """test.service.test_do"""
from pyskel.service import do
def test_do_something():
assert do.do_something([]) is True
assert do.do_something({}) is False
def test_run():
assert do.run() is None
| 17.416667 | 39 | 0.688995 | 33 | 209 | 4.181818 | 0.424242 | 0.23913 | 0.144928 | 0.275362 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177033 | 209 | 11 | 40 | 19 | 0.802326 | 0.095694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.333333 | true | 0 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
59586267502427a79fcd93bb06e9a1efd8650544 | 752 | py | Python | smart-pizza-store_factory-part3/taiwan_pizza_ingredients_factory.py | johnklee/learn_dp_from_bad_smell_design | 88506487ce64a1b9492ec28fe235ae596ddf1472 | [
"MIT"
] | null | null | null | smart-pizza-store_factory-part3/taiwan_pizza_ingredients_factory.py | johnklee/learn_dp_from_bad_smell_design | 88506487ce64a1b9492ec28fe235ae596ddf1472 | [
"MIT"
] | 4 | 2022-01-02T06:49:43.000Z | 2022-02-15T12:36:41.000Z | smart-pizza-store_factory-part3/taiwan_pizza_ingredients_factory.py | johnklee/learn_dp_from_bad_smell_design | 88506487ce64a1b9492ec28fe235ae596ddf1472 | [
"MIT"
] | null | null | null | import pizza_recipes
import pizza_ingredients
import pizza_ingredients_factory
class TaiwanIngredientsFactory(pizza_ingredients_factory.PizzaIngredientFactory):
def create_topping(self) -> pizza_ingredients.Topping:
return pizza_ingredients.SpinachTopping()
def create_dough(self) -> pizza_ingredients.Dough:
... | 31.333333 | 81 | 0.807181 | 82 | 752 | 7.109756 | 0.292683 | 0.411664 | 0.205832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115691 | 752 | 23 | 82 | 32.695652 | 0.876692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.1875 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
595cde4bb9f57a9e2c7990a50ea7e2d28bdb289a | 38,913 | py | Python | glmatrix.py | fesoliveira014/pyglm | 9b17dd1d2a51f768d7f01fb53d72a8a7159da788 | [
"Unlicense"
] | 1 | 2019-11-03T23:20:36.000Z | 2019-11-03T23:20:36.000Z | glmatrix.py | fesoliveira014/pyglm | 9b17dd1d2a51f768d7f01fb53d72a8a7159da788 | [
"Unlicense"
] | null | null | null | glmatrix.py | fesoliveira014/pyglm | 9b17dd1d2a51f768d7f01fb53d72a8a7159da788 | [
"Unlicense"
] | null | null | null | import math
import glvector
has_numpy = False
try:
import numpy as np
has_numpy = True
except:
has_numpy = False
class mat2(object):
def __init__(self, a=0, b=0, c=0, d=0):
self.cols = [glvector.vec2(a,b), glvector.vec2(c,d)]
def __getitem__(self, key):
if type(key) is int... | 34.620107 | 144 | 0.454681 | 6,284 | 38,913 | 2.759389 | 0.026735 | 0.049596 | 0.010035 | 0.012687 | 0.858881 | 0.760381 | 0.737082 | 0.715052 | 0.6797 | 0.669839 | 0 | 0.093254 | 0.33945 | 38,913 | 1,123 | 145 | 34.650935 | 0.581349 | 0 | 0 | 0.46209 | 0 | 0 | 0.020765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108607 | false | 0.006148 | 0.003074 | 0.019467 | 0.226434 | 0.001025 | 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 |
595e91358d1172a25e02c728f07e2e32736e5a21 | 287 | py | Python | PyObjCTest/test_nssharingservicepickertoolbaritem.py | linuxfood/pyobjc-framework-Cocoa-test | 3475890f165ab26a740f13d5afe4c62b4423a140 | [
"MIT"
] | null | null | null | PyObjCTest/test_nssharingservicepickertoolbaritem.py | linuxfood/pyobjc-framework-Cocoa-test | 3475890f165ab26a740f13d5afe4c62b4423a140 | [
"MIT"
] | null | null | null | PyObjCTest/test_nssharingservicepickertoolbaritem.py | linuxfood/pyobjc-framework-Cocoa-test | 3475890f165ab26a740f13d5afe4c62b4423a140 | [
"MIT"
] | null | null | null | import AppKit # noqa: F401
from PyObjCTools.TestSupport import TestCase, min_sdk_level
import objc
class TestNSSharingServicePickerToolbarItem(TestCase):
@min_sdk_level("10.15")
def test_protocols(self):
objc.protocolNamed("NSSharingServicePickerToolbarItemDelegate")
| 28.7 | 71 | 0.797909 | 29 | 287 | 7.724138 | 0.758621 | 0.098214 | 0.125 | 0.169643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028 | 0.12892 | 287 | 9 | 72 | 31.888889 | 0.868 | 0.034843 | 0 | 0 | 0 | 0 | 0.167273 | 0.149091 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
596a7a038aa786fa02a48b660a6a41bb5f2f4a68 | 125 | py | Python | configtree/compat/colabc.py | Cottonwood-Technology/ConfigTree | ce7d92a4e536ba0104b92a9ce871819279f5b63a | [
"BSD-2-Clause"
] | null | null | null | configtree/compat/colabc.py | Cottonwood-Technology/ConfigTree | ce7d92a4e536ba0104b92a9ce871819279f5b63a | [
"BSD-2-Clause"
] | null | null | null | configtree/compat/colabc.py | Cottonwood-Technology/ConfigTree | ce7d92a4e536ba0104b92a9ce871819279f5b63a | [
"BSD-2-Clause"
] | null | null | null | try:
from collections.abc import * # noqa
except ImportError: # pragma: no cover
from collections import * # noqa
| 25 | 41 | 0.688 | 15 | 125 | 5.733333 | 0.733333 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 125 | 4 | 42 | 31.25 | 0.905263 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
59749c1900bde8de91ce8543e0389f6fda0c2711 | 175 | py | Python | boucanpy/core/http_request/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 34 | 2019-11-16T17:22:15.000Z | 2022-02-11T23:12:46.000Z | boucanpy/core/http_request/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 1 | 2021-02-09T09:34:55.000Z | 2021-02-10T21:46:20.000Z | boucanpy/core/http_request/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 9 | 2019-11-18T22:18:07.000Z | 2021-02-08T13:23:51.000Z | from .repos import HttpRequestRepo
from .responses import HttpRequestResponse, HttpRequestsResponse
from .data import HttpRequestData
from .forms import HttpRequestCreateForm
| 35 | 64 | 0.874286 | 17 | 175 | 9 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097143 | 175 | 4 | 65 | 43.75 | 0.968354 | 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 |
597769705e52ea36684ce61f778cf32894f1d8b9 | 30 | py | Python | remob/orderbook.py | adamgilman/remob | a1ef722f8d378cd890ff0cddd61337e7781c69c4 | [
"MIT"
] | 17 | 2017-03-17T00:26:52.000Z | 2022-02-10T02:51:03.000Z | remob/orderbook.py | adamgilman/remob | a1ef722f8d378cd890ff0cddd61337e7781c69c4 | [
"MIT"
] | 1 | 2019-06-13T18:39:46.000Z | 2019-06-13T18:39:46.000Z | remob/orderbook.py | adamgilman/remob | a1ef722f8d378cd890ff0cddd61337e7781c69c4 | [
"MIT"
] | 4 | 2017-05-09T20:55:15.000Z | 2021-11-23T18:21:31.000Z | class OrderBook(object):
pass | 15 | 24 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 2 | 25 | 15 | 0.888889 | 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 |
59835f5de7b5806e09cdac4400bd411190389470 | 77 | py | Python | overload/decorator/__init__.py | diarts/overload | 4a84de5c5284bc9c36a93b1a25ec1c30c8110d76 | [
"MIT"
] | null | null | null | overload/decorator/__init__.py | diarts/overload | 4a84de5c5284bc9c36a93b1a25ec1c30c8110d76 | [
"MIT"
] | null | null | null | overload/decorator/__init__.py | diarts/overload | 4a84de5c5284bc9c36a93b1a25ec1c30c8110d76 | [
"MIT"
] | null | null | null | """Module with decorators for activate overload."""
from .decorator import *
| 25.666667 | 51 | 0.753247 | 9 | 77 | 6.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 2 | 52 | 38.5 | 0.865672 | 0.584416 | 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 |
59b2da7e9e9c3ef275b7f6cb2a64abf2d5122196 | 32 | py | Python | NDS/webapp/__init__.py | lincis/ObsDataRest | 64b1b0e702418201ec9d48c75892b7caaf080a0c | [
"MIT"
] | null | null | null | NDS/webapp/__init__.py | lincis/ObsDataRest | 64b1b0e702418201ec9d48c75892b7caaf080a0c | [
"MIT"
] | 3 | 2021-03-20T02:14:29.000Z | 2021-04-20T18:54:00.000Z | NDS/webapp/__init__.py | lincis/numericDatastorage | 64b1b0e702418201ec9d48c75892b7caaf080a0c | [
"MIT"
] | null | null | null | from ._app import app, socketio
| 16 | 31 | 0.78125 | 5 | 32 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.888889 | 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 |
ab891c34a61ec4581fba9dc2358c3821f1aa4a70 | 70 | py | Python | get.py | DBeath/python-snippets | c9642c37183d947eb8a1a781e47bd70b1306d5ca | [
"MIT"
] | null | null | null | get.py | DBeath/python-snippets | c9642c37183d947eb8a1a781e47bd70b1306d5ca | [
"MIT"
] | 2 | 2019-10-19T07:27:43.000Z | 2021-03-22T16:58:21.000Z | get.py | DBeath/python-snippets | c9642c37183d947eb8a1a781e47bd70b1306d5ca | [
"MIT"
] | null | null | null | def get_url():
return None
result = get_url().text
print(result)
| 11.666667 | 23 | 0.685714 | 11 | 70 | 4.181818 | 0.727273 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 5 | 24 | 14 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
aba65f8c60b0010e6a689777168ca6e2a6362a96 | 32 | py | Python | owen/automatics/phase_space.py | SkirOwen/JazzyWithManim | a6aa7bc13145c92df948781540f84e31c5698c39 | [
"MIT"
] | null | null | null | owen/automatics/phase_space.py | SkirOwen/JazzyWithManim | a6aa7bc13145c92df948781540f84e31c5698c39 | [
"MIT"
] | null | null | null | owen/automatics/phase_space.py | SkirOwen/JazzyWithManim | a6aa7bc13145c92df948781540f84e31c5698c39 | [
"MIT"
] | null | null | null | from manimlib.constants import * | 32 | 32 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 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 |
abac70f1037cf999a9093fd3f2c7916c428857b1 | 50 | py | Python | smt_switch/src/__init__.py | makaimann/ezSMT | e4f7ffd1adb35f6a5e8a9c5aabb3143c24ab0aad | [
"BSD-3-Clause"
] | 1 | 2020-06-24T02:12:24.000Z | 2020-06-24T02:12:24.000Z | smt_switch/src/__init__.py | makaimann/ezSMT | e4f7ffd1adb35f6a5e8a9c5aabb3143c24ab0aad | [
"BSD-3-Clause"
] | null | null | null | smt_switch/src/__init__.py | makaimann/ezSMT | e4f7ffd1adb35f6a5e8a9c5aabb3143c24ab0aad | [
"BSD-3-Clause"
] | 1 | 2019-10-10T22:21:19.000Z | 2019-10-10T22:21:19.000Z | from .api import smt
from .solvers import SOLVERS
| 16.666667 | 28 | 0.8 | 8 | 50 | 5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 29 | 25 | 0.952381 | 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 |
abc5dd8a2bbe770241cc5b2a033ed910c4ad4d84 | 65 | py | Python | otpmanager/__init__.py | ercas/otp_manager | 1beeee5b6434554ea493d8ef2465acc3bff1b9ba | [
"Apache-2.0"
] | null | null | null | otpmanager/__init__.py | ercas/otp_manager | 1beeee5b6434554ea493d8ef2465acc3bff1b9ba | [
"Apache-2.0"
] | null | null | null | otpmanager/__init__.py | ercas/otp_manager | 1beeee5b6434554ea493d8ef2465acc3bff1b9ba | [
"Apache-2.0"
] | 1 | 2021-12-03T21:29:57.000Z | 2021-12-03T21:29:57.000Z | from .manager import OTPManager, GraphHopperManager, JavaManager
| 32.5 | 64 | 0.861538 | 6 | 65 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 1 | 65 | 65 | 0.949153 | 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 |
abd23285317afd4ea95f5350b0dcc479a810985d | 175 | py | Python | alerter/src/alerter/grouped_alerts_metric_code/internal.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 41 | 2019-08-23T12:40:42.000Z | 2022-03-28T11:06:02.000Z | alerter/src/alerter/grouped_alerts_metric_code/internal.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 147 | 2019-08-30T22:09:48.000Z | 2022-03-30T08:46:26.000Z | alerter/src/alerter/grouped_alerts_metric_code/internal.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 3 | 2019-09-03T21:12:28.000Z | 2021-08-18T14:27:56.000Z | from .grouped_alerts_metric_code import GroupedAlertsMetricCode
class GroupedInternalAlertsMetricCode(GroupedAlertsMetricCode):
ComponentReset = 'component_reset_alert'
| 29.166667 | 63 | 0.874286 | 14 | 175 | 10.571429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 175 | 5 | 64 | 35 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.12 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
28015390dd9eafd529533389774d97626b611434 | 12,268 | py | Python | Client/App/Core/Engine/Pong.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | Client/App/Core/Engine/Pong.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | Client/App/Core/Engine/Pong.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | from . import World,Physics
from . import Entities
from ..DataTypes.Standard import Vector
from ..DataTypes.Physics import EulersVector
from .Helpers import LocalMultiplayer,Arcade,OnlineMultiplayer
from random import randint
class Pong:
'''
Deals with world physics and adding entitites
'''
def __init__... | 33.427793 | 164 | 0.566025 | 1,251 | 12,268 | 5.525979 | 0.119904 | 0.026038 | 0.015912 | 0.021698 | 0.720527 | 0.718067 | 0.707218 | 0.702155 | 0.702155 | 0.702155 | 0 | 0.032942 | 0.326948 | 12,268 | 367 | 165 | 33.427793 | 0.804287 | 0.057467 | 0 | 0.679868 | 0 | 0 | 0.020913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118812 | false | 0 | 0.019802 | 0.023102 | 0.211221 | 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 |
f9feb7c02d0eef85dd504b6cbbd134226cc1ca67 | 83 | py | Python | torchseq/datasets/__init__.py | xlthu/pytorch-models | 3a1fdd33f94a4ca038f2b10d3a6b0b73b079a1ea | [
"MIT"
] | null | null | null | torchseq/datasets/__init__.py | xlthu/pytorch-models | 3a1fdd33f94a4ca038f2b10d3a6b0b73b079a1ea | [
"MIT"
] | null | null | null | torchseq/datasets/__init__.py | xlthu/pytorch-models | 3a1fdd33f94a4ca038f2b10d3a6b0b73b079a1ea | [
"MIT"
] | null | null | null | from . import wikitext2
from . import cbt
from . import tatoeba
from . import utils | 20.75 | 23 | 0.771084 | 12 | 83 | 5.333333 | 0.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.180723 | 83 | 4 | 24 | 20.75 | 0.926471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
e60907e4fd6d76c076e7fba38f63509364bfb263 | 825 | py | Python | bouncer/app/exceptions.py | Klarrio/bouncer | f2116912adc43dafbb4b96668ebca17b3f924603 | [
"Apache-2.0"
] | 6 | 2018-11-30T22:10:20.000Z | 2022-02-13T14:20:37.000Z | bouncer/app/exceptions.py | Klarrio/bouncer | f2116912adc43dafbb4b96668ebca17b3f924603 | [
"Apache-2.0"
] | 6 | 2018-11-30T10:38:23.000Z | 2019-08-19T08:27:59.000Z | bouncer/app/exceptions.py | Klarrio/bouncer | f2116912adc43dafbb4b96668ebca17b3f924603 | [
"Apache-2.0"
] | 7 | 2018-11-28T14:50:50.000Z | 2022-03-01T13:16:36.000Z | # Copyright (C) Mesosphere, Inc. See LICENSE file for details.
from bouncer.exceptions import BouncerException
class InvalidPassword(BouncerException):
"""Password does not comply with rules."""
class InvalidPubkey(BouncerException):
"""Serialized public key does not comply with rules."""
class EntityEx... | 16.836735 | 62 | 0.780606 | 70 | 825 | 9.2 | 0.514286 | 0.248447 | 0.271739 | 0.052795 | 0.083851 | 0.083851 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153939 | 825 | 48 | 63 | 17.1875 | 0.922636 | 0.179394 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.47619 | 0.047619 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
e611f55cb75515da24d3bbe517af56576891d00d | 14 | py | Python | mgz/header/__init__.py | Namek/aoc-mgz | 0c8196dccb550a48ecc375d7861138ef88b53716 | [
"MIT"
] | 117 | 2015-03-07T10:55:58.000Z | 2022-03-18T18:22:01.000Z | mgz/header/__init__.py | Namek/aoc-mgz | 0c8196dccb550a48ecc375d7861138ef88b53716 | [
"MIT"
] | 71 | 2015-10-02T00:05:07.000Z | 2022-03-25T16:47:56.000Z | mgz/header/__init__.py | Namek/aoc-mgz | 0c8196dccb550a48ecc375d7861138ef88b53716 | [
"MIT"
] | 41 | 2015-03-07T02:50:59.000Z | 2021-09-13T06:16:12.000Z | """Header."""
| 7 | 13 | 0.428571 | 1 | 14 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 14 | 1 | 14 | 14 | 0.461538 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e6591a8db00bb3e47b1d2f4f356d37aeb7f81375 | 1,703 | py | Python | covfefe/frameworks/torch/objectives.py | deepnn/pybrew | 1417c910f6663e1c5f3c5eafdf1a34b68dce88a1 | [
"MIT"
] | 4 | 2017-06-08T08:59:48.000Z | 2020-02-13T18:17:00.000Z | covfefe/frameworks/torch/objectives.py | deepnn/coffee | 1417c910f6663e1c5f3c5eafdf1a34b68dce88a1 | [
"MIT"
] | null | null | null | covfefe/frameworks/torch/objectives.py | deepnn/coffee | 1417c910f6663e1c5f3c5eafdf1a34b68dce88a1 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import print_function
import torch.nn as nn
def l1_loss(size_ave=True):
return nn.L1Loss(size_average=size_ave)
def mse_loss(size_ave=True):
return nn.MSELoss(size_average=size_ave)
def ce_loss(loss_weight=None, size_ave=True):
return nn.CrossEntrop... | 32.75 | 80 | 0.775103 | 267 | 1,703 | 4.640449 | 0.205993 | 0.163842 | 0.181598 | 0.217918 | 0.688458 | 0.586764 | 0.475383 | 0.343826 | 0.119451 | 0 | 0 | 0.00807 | 0.126835 | 1,703 | 51 | 81 | 33.392157 | 0.825151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.085714 | 0.371429 | 0.914286 | 0.028571 | 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 |
052b1c6c1201c7a30e82ed4ef9b728fbfe3b18ba | 521 | py | Python | src/utils/exceptions.py | SecureThemAll/cb-repair | 3d1d4422e9a9ab459641e1ca759e3b73887d2950 | [
"MIT"
] | null | null | null | src/utils/exceptions.py | SecureThemAll/cb-repair | 3d1d4422e9a9ab459641e1ca759e3b73887d2950 | [
"MIT"
] | null | null | null | src/utils/exceptions.py | SecureThemAll/cb-repair | 3d1d4422e9a9ab459641e1ca759e3b73887d2950 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
class InitializationException(Exception):
"""Raise when initialization errors occur."""
class ChallengeNotFound(Exception):
"""Raise when challenge not found."""
class ChallengeNotCovered(Exception):
"""Raise when challenge not found."""
class TestNotFound(Exception):
"""R... | 20.038462 | 52 | 0.715931 | 55 | 521 | 6.781818 | 0.472727 | 0.225201 | 0.289544 | 0.176944 | 0.402145 | 0.402145 | 0.402145 | 0 | 0 | 0 | 0 | 0.002278 | 0.15739 | 521 | 25 | 53 | 20.84 | 0.84738 | 0.426104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
054ca67dc55113c82c37f776456161e57d16dffc | 195 | py | Python | scripts/update_activities_file.py | WeiXu94/hiking | e13c8e05d51bc63ab52a7cb11d7511da5adf6377 | [
"MIT"
] | 2 | 2021-09-23T21:17:36.000Z | 2022-01-19T16:13:16.000Z | scripts/update_activities_file.py | WeiXu94/hiking | e13c8e05d51bc63ab52a7cb11d7511da5adf6377 | [
"MIT"
] | 3 | 2021-03-04T02:24:37.000Z | 2021-09-04T17:16:25.000Z | scripts/update_activities_file.py | WeiXu94/hiking | e13c8e05d51bc63ab52a7cb11d7511da5adf6377 | [
"MIT"
] | 2 | 2021-02-04T02:45:44.000Z | 2021-09-05T03:00:53.000Z | from config import GPX_FOLDER, JSON_FILE, SQL_FILE, config
from utils import make_activities_file_only
if __name__ == "__main__":
make_activities_file_only(SQL_FILE, GPX_FOLDER, JSON_FILE)
| 27.857143 | 62 | 0.815385 | 30 | 195 | 4.633333 | 0.5 | 0.129496 | 0.18705 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 195 | 6 | 63 | 32.5 | 0.812866 | 0 | 0 | 0 | 0 | 0 | 0.041026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
054e9afc3c294f6a8c1aed1b186f84aa1495c650 | 19,220 | py | Python | models.py | Ohyeon5/SQM_discreteness | 4f44d4f3e15e834ed544df35c065b715f1f7ce92 | [
"Apache-2.0"
] | 1 | 2020-09-21T09:44:19.000Z | 2020-09-21T09:44:19.000Z | models.py | Ohyeon5/SQM_discreteness | 4f44d4f3e15e834ed544df35c065b715f1f7ce92 | [
"Apache-2.0"
] | null | null | null | models.py | Ohyeon5/SQM_discreteness | 4f44d4f3e15e834ed544df35c065b715f1f7ce92 | [
"Apache-2.0"
] | null | null | null | # model specifications
import os,sys
import numpy as np
import matplotlib.pyplot as plt
import torch
import torch.nn as nn
import torch.nn.functional as F
from convlstm_SreenivasVRao import *
###############
# Networks #
###############
# Discrete network: High level
class Net_disc_high(nn.Module):
'''
High... | 36.12782 | 136 | 0.698647 | 3,157 | 19,220 | 4.077289 | 0.082673 | 0.006215 | 0.008623 | 0.011498 | 0.787368 | 0.758779 | 0.739901 | 0.734385 | 0.716905 | 0.710457 | 0 | 0.018954 | 0.17924 | 19,220 | 532 | 137 | 36.12782 | 0.797021 | 0.318262 | 0 | 0.657627 | 0 | 0 | 0.013759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091525 | false | 0 | 0.023729 | 0 | 0.240678 | 0.010169 | 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 |
552e7beaee15efd18381efd500a65805b4383c43 | 57 | py | Python | spectrai/metrics/skl.py | franckalbinet/spectrai | 3458bc64672077ebeee98fa53c6716a23231ba7e | [
"BSD-3-Clause"
] | 1 | 2020-09-13T10:05:41.000Z | 2020-09-13T10:05:41.000Z | spectrai/metrics/skl.py | franckalbinet/spectrai | 3458bc64672077ebeee98fa53c6716a23231ba7e | [
"BSD-3-Clause"
] | 4 | 2020-11-13T18:56:11.000Z | 2022-02-10T01:52:45.000Z | spectrai/metrics/skl.py | franckalbinet/spectrai | 3458bc64672077ebeee98fa53c6716a23231ba7e | [
"BSD-3-Clause"
] | null | null | null | from sklearn.metrics import mean_squared_error, r2_score
| 28.5 | 56 | 0.877193 | 9 | 57 | 5.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.087719 | 57 | 1 | 57 | 57 | 0.884615 | 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 |
553e9945e6a8296de18c2420f78dfe5d0688196c | 75 | py | Python | training/__init__.py | ecs-vlc/opponency | f2eae25818be6c9c6e6541802b04b6c5e56112a2 | [
"MIT"
] | 12 | 2019-10-11T12:32:13.000Z | 2021-09-05T06:26:43.000Z | training/__init__.py | ecs-vlc/opponency | f2eae25818be6c9c6e6541802b04b6c5e56112a2 | [
"MIT"
] | null | null | null | training/__init__.py | ecs-vlc/opponency | f2eae25818be6c9c6e6541802b04b6c5e56112a2 | [
"MIT"
] | 1 | 2021-11-05T01:36:19.000Z | 2021-11-05T01:36:19.000Z | from .model import BaselineModel
from .model_imagenet import ImageNetModel
| 25 | 41 | 0.866667 | 9 | 75 | 7.111111 | 0.666667 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 42 | 37.5 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
555f261c75dfaa448ecbf5327b055fd67254aa96 | 53 | py | Python | 19. Packages/package_eg/Module1.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | 3 | 2020-08-07T04:33:19.000Z | 2021-10-06T08:58:01.000Z | 19. Packages/package_eg/Module1.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | null | null | null | 19. Packages/package_eg/Module1.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | 2 | 2021-10-06T08:58:05.000Z | 2021-10-06T09:46:42.000Z | def show():
print("This is method from module1")
| 17.666667 | 40 | 0.660377 | 8 | 53 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.207547 | 53 | 2 | 41 | 26.5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.509434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 |
556368812dd65736b3402ed60370bed59de551db | 241 | py | Python | pointnet_ops/__init__.py | jackd/pointnet_ops | 26d9b85ce4b503fac7547b965e233442aa243430 | [
"MIT"
] | 3 | 2019-04-13T02:06:56.000Z | 2021-07-01T12:18:57.000Z | pointnet_ops/__init__.py | jackd/pointnet_ops | 26d9b85ce4b503fac7547b965e233442aa243430 | [
"MIT"
] | 2 | 2019-04-13T02:31:03.000Z | 2020-06-14T02:59:05.000Z | pointnet_ops/__init__.py | jackd/pointnet_ops | 26d9b85ce4b503fac7547b965e233442aa243430 | [
"MIT"
] | null | null | null | """TensorFlow pointnet ops example."""
from __future__ import absolute_import
from pointnet_ops import interpolate
from pointnet_ops import group
from pointnet_ops import sample
__all__ = [
'interpolate',
'group',
'sample',
]
| 17.214286 | 38 | 0.746888 | 28 | 241 | 6 | 0.428571 | 0.261905 | 0.267857 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174274 | 241 | 13 | 39 | 18.538462 | 0.844221 | 0.13278 | 0 | 0 | 0 | 0 | 0.108374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
55644fd489b08c7b223379cd0d641f1eb93faad2 | 1,967 | py | Python | modules/courses/views.py | hyphev/campus | 01ceb3f1ebfb2c033fee12a107b3ba55e3f2715e | [
"MIT"
] | null | null | null | modules/courses/views.py | hyphev/campus | 01ceb3f1ebfb2c033fee12a107b3ba55e3f2715e | [
"MIT"
] | null | null | null | modules/courses/views.py | hyphev/campus | 01ceb3f1ebfb2c033fee12a107b3ba55e3f2715e | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from django.template import loader
def index(request):
template = loader.get_template('courses/index.html')
context = {"courses_page": "active"}
return HttpResponse(template.render(context))
def add(request):
template = loader.... | 33.913793 | 65 | 0.746314 | 226 | 1,967 | 6.314159 | 0.110619 | 0.105116 | 0.147162 | 0.168185 | 0.806587 | 0.708479 | 0.653819 | 0.280308 | 0 | 0 | 0 | 0 | 0.130147 | 1,967 | 57 | 66 | 34.508772 | 0.834015 | 0 | 0 | 0.232558 | 0 | 0 | 0.248094 | 0.149466 | 0 | 0 | 0 | 0 | 0 | 1 | 0.232558 | false | 0 | 0.069767 | 0 | 0.534884 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 5 |
558a71122098f9f13e399b640b4e3a3b28981f30 | 83 | py | Python | build/lib.linux-x86_64-2.7/datagon/checker/checker.py | AceSrc/datagon | e53ad7a832fb46c2c60834ab4daa0a3a94ea9d1d | [
"MIT"
] | 5 | 2017-04-16T05:43:02.000Z | 2020-01-17T03:11:31.000Z | datagon/checker/checker.py | AceSrc/datagon | e53ad7a832fb46c2c60834ab4daa0a3a94ea9d1d | [
"MIT"
] | null | null | null | datagon/checker/checker.py | AceSrc/datagon | e53ad7a832fb46c2c60834ab4daa0a3a94ea9d1d | [
"MIT"
] | null | null | null | import datagon.generator.generator
def CompareStd(argv) :
print('in Checker')
| 16.6 | 34 | 0.746988 | 10 | 83 | 6.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 4 | 35 | 20.75 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
55a1e1a264850ad01716e632cfcc398628bf2a17 | 182 | py | Python | python/tvm/tg/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 22 | 2022-03-18T07:29:31.000Z | 2022-03-23T14:54:32.000Z | python/tvm/tg/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | null | null | null | python/tvm/tg/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 2 | 2022-03-18T08:26:34.000Z | 2022-03-20T06:02:48.000Z |
"""Namespace for Tensor Graph
"""
from .autodiff import gradient
from .autodiff import expr_equal, grad_op
from .graph import *
from .auto_schedule import *
from .runtime import *
| 18.2 | 41 | 0.763736 | 25 | 182 | 5.44 | 0.6 | 0.176471 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 182 | 9 | 42 | 20.222222 | 0.883117 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
e956bf9eea578eb720bead8851adc63bb69922dc | 323 | py | Python | venv/src/users/models.py | ddelgadoJS/ProyectoWeb | f899c910bf16a79d5c3498bc6e8aa6b741fb56e1 | [
"MIT"
] | 1 | 2019-10-28T03:44:38.000Z | 2019-10-28T03:44:38.000Z | venv/src/users/models.py | ddelgadoJS/ProyectoWeb | f899c910bf16a79d5c3498bc6e8aa6b741fb56e1 | [
"MIT"
] | null | null | null | venv/src/users/models.py | ddelgadoJS/ProyectoWeb | f899c910bf16a79d5c3498bc6e8aa6b741fb56e1 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class User(models.Model):
username = models.CharField(max_length=40)
firstname = models.CharField(max_length=50)
lastname = models.CharField(max_length=50)
password = models.CharField(max_length=50)
email = models.EmailField(max_length=... | 35.888889 | 48 | 0.736842 | 43 | 323 | 5.418605 | 0.511628 | 0.193133 | 0.309013 | 0.412017 | 0.334764 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.164087 | 323 | 9 | 48 | 35.888889 | 0.825926 | 0.074303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.142857 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
e96b8c3313c366bc1188d841c687caa3c1bcc8c6 | 151 | py | Python | ctmicro/__init__.py | ischoegl/ctmicro | a2d4fbb23b488a89f4b763fce3c09e187a931b26 | [
"BSD-3-Clause"
] | null | null | null | ctmicro/__init__.py | ischoegl/ctmicro | a2d4fbb23b488a89f4b763fce3c09e187a931b26 | [
"BSD-3-Clause"
] | 1 | 2020-05-17T12:13:37.000Z | 2020-05-19T02:41:40.000Z | ctmicro/__init__.py | ischoegl/ctmicro | a2d4fbb23b488a89f4b763fce3c09e187a931b26 | [
"BSD-3-Clause"
] | 6 | 2019-05-06T17:49:41.000Z | 2021-06-16T21:07:51.000Z | # This file is part of the ctmicro add-on package to Cantera.
# See LICENSE in the top-level directory
from ._ctmicro import *
from .channel import *
| 25.166667 | 61 | 0.754967 | 25 | 151 | 4.52 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18543 | 151 | 5 | 62 | 30.2 | 0.918699 | 0.649007 | 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 |
e96c74a883d8861968261d8465e33e398cbdad7c | 172 | py | Python | base/admin.py | ggs134/ether-x | bf8636bd307d325179bfbcabbac93bc4396b2627 | [
"BSD-3-Clause"
] | null | null | null | base/admin.py | ggs134/ether-x | bf8636bd307d325179bfbcabbac93bc4396b2627 | [
"BSD-3-Clause"
] | null | null | null | base/admin.py | ggs134/ether-x | bf8636bd307d325179bfbcabbac93bc4396b2627 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import EthAccount, Transaction
admin.site.register(EthAccount)
admin.site.register(Transaction) | 24.571429 | 43 | 0.825581 | 22 | 172 | 6.454545 | 0.545455 | 0.126761 | 0.239437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098837 | 172 | 7 | 44 | 24.571429 | 0.916129 | 0.151163 | 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 |
e98a96bf27b6f84e06d120600b24ee28ffb9ff9f | 20 | py | Python | neuralNet.py | rodrigoga799/delta-octo-broccoli | 919887e78e49bdd26e6ca8e7f9e4555dc9abefb4 | [
"Apache-2.0"
] | 1 | 2019-01-13T21:09:35.000Z | 2019-01-13T21:09:35.000Z | neuralNet.py | rodrigoga799/delta-octo-broccoli | 919887e78e49bdd26e6ca8e7f9e4555dc9abefb4 | [
"Apache-2.0"
] | null | null | null | neuralNet.py | rodrigoga799/delta-octo-broccoli | 919887e78e49bdd26e6ca8e7f9e4555dc9abefb4 | [
"Apache-2.0"
] | null | null | null | #New neural network
| 10 | 19 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0.9 | 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 |
e9b7fd7b3662043373ac6d1f3e41b700be9e8e4a | 120 | py | Python | reviews/admin.py | male-of-sigma-variety/Maturitni-prace | 31e95afac498cc6227651283d5684b0a9d402634 | [
"MIT"
] | 1 | 2022-03-24T18:56:38.000Z | 2022-03-24T18:56:38.000Z | reviews/admin.py | male-of-sigma-variety/Maturitni-prace | 31e95afac498cc6227651283d5684b0a9d402634 | [
"MIT"
] | null | null | null | reviews/admin.py | male-of-sigma-variety/Maturitni-prace | 31e95afac498cc6227651283d5684b0a9d402634 | [
"MIT"
] | 1 | 2022-03-24T18:56:41.000Z | 2022-03-24T18:56:41.000Z | from django.contrib import admin
from .models import Food, Review
admin.site.register(Food)
admin.site.register(Review) | 24 | 32 | 0.816667 | 18 | 120 | 5.444444 | 0.555556 | 0.183673 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 5 | 33 | 24 | 0.899083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
e9bbfe1f6deefe0292afb49430aa9c1c5d9b70ed | 99 | py | Python | src/Decision.py | Dorijan-Cirkveni/kolinahr_nesheh | 8645d0ac9832845f14d52e39f525d1152c3d1517 | [
"MIT"
] | null | null | null | src/Decision.py | Dorijan-Cirkveni/kolinahr_nesheh | 8645d0ac9832845f14d52e39f525d1152c3d1517 | [
"MIT"
] | null | null | null | src/Decision.py | Dorijan-Cirkveni/kolinahr_nesheh | 8645d0ac9832845f14d52e39f525d1152c3d1517 | [
"MIT"
] | null | null | null | from src.CNF import ClauseSet
class Decision:
def __init__(self,cs:ClauseSet):
return | 16.5 | 36 | 0.707071 | 13 | 99 | 5.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 99 | 6 | 37 | 16.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7569f61b8785c33f1f06ddbff313e99b40f14e30 | 17 | py | Python | tests/__init__.py | ToriRobert/ad | 69f7a6b1d39d10b88b996fa22c3cf3518f797b47 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tests/__init__.py | ToriRobert/ad | 69f7a6b1d39d10b88b996fa22c3cf3518f797b47 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tests/__init__.py | ToriRobert/ad | 69f7a6b1d39d10b88b996fa22c3cf3518f797b47 | [
"Apache-2.0",
"CC-BY-4.0"
] | 2 | 2020-12-11T06:57:03.000Z | 2020-12-21T11:28:05.000Z | # in __init__.py
| 8.5 | 16 | 0.705882 | 3 | 17 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.571429 | 0.823529 | 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 |
75b06f72d04a5afaa6856f17dddee9a40b6bc9a8 | 632 | py | Python | GraphTheory/matrix_representation_bfs.py | ankschoubey/notes | e8f86e90ceb93282073c1760bedcfbb8ad35a1df | [
"MIT"
] | 3 | 2018-04-17T08:47:07.000Z | 2020-02-13T18:39:16.000Z | GraphTheory/matrix_representation_bfs.py | ankschoubey/notes | e8f86e90ceb93282073c1760bedcfbb8ad35a1df | [
"MIT"
] | null | null | null | GraphTheory/matrix_representation_bfs.py | ankschoubey/notes | e8f86e90ceb93282073c1760bedcfbb8ad35a1df | [
"MIT"
] | null | null | null |
matrix = [
#0, 1, 2, 3, 4, 5, 6, 7], #0
[0, 1, 1, 0, 0, 0, 0, 0], #0
[1, 0, 1, 1, 0, 0, 0, 0], #1
[1, 1, 0, 0, 0, 0, 0, 0], #2
[0, 1, 0, 0, 1, 1, 0, 0], #3
[0, 0, 0, 1, 0, 0, 1, 0], #4
[0, 0, 0, 1, 0, 0, 1, 0], #5
[0, 0, 0, 0, 1, 1, 0, 1], #6
[0, 0, 0, 0, 0, 0, 1, 0], #7... | 24.307692 | 39 | 0.414557 | 118 | 632 | 2.186441 | 0.220339 | 0.232558 | 0.209302 | 0.170543 | 0.255814 | 0.244186 | 0.189922 | 0.162791 | 0 | 0 | 0 | 0.207071 | 0.373418 | 632 | 26 | 40 | 24.307692 | 0.444444 | 0.053797 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.047619 | 0 | 0.142857 | 0.095238 | 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 |
f954fdd4493ef6bba59cc0afc59b11507d4929e5 | 45 | py | Python | numpy/tests/typing/pass/dtype.py | lgeiger/numpy | be8ab91f789c3b688d707940016b4c2d262913e9 | [
"BSD-3-Clause"
] | 1 | 2020-07-01T03:50:43.000Z | 2020-07-01T03:50:43.000Z | numpy/tests/typing/pass/dtype.py | lgeiger/numpy | be8ab91f789c3b688d707940016b4c2d262913e9 | [
"BSD-3-Clause"
] | 24 | 2021-05-03T11:31:55.000Z | 2021-08-02T11:23:24.000Z | numpy/tests/typing/pass/dtype.py | lgeiger/numpy | be8ab91f789c3b688d707940016b4c2d262913e9 | [
"BSD-3-Clause"
] | 2 | 2021-08-16T05:10:04.000Z | 2022-01-15T09:10:09.000Z | import numpy as np
np.dtype(dtype=np.int64)
| 11.25 | 24 | 0.755556 | 9 | 45 | 3.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.133333 | 45 | 3 | 25 | 15 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f98ebb6432416891f4ce7899dc9b705df0845bc3 | 110 | py | Python | learn/02week/code/use_pkg.py | tmax818/nucamp_intro_python | 6fac59f53054055ba4ab40559c44eba07b7f9fd6 | [
"MIT"
] | null | null | null | learn/02week/code/use_pkg.py | tmax818/nucamp_intro_python | 6fac59f53054055ba4ab40559c44eba07b7f9fd6 | [
"MIT"
] | null | null | null | learn/02week/code/use_pkg.py | tmax818/nucamp_intro_python | 6fac59f53054055ba4ab40559c44eba07b7f9fd6 | [
"MIT"
] | null | null | null | from my_pkg import convert
print(convert.lb_to_oz(2))
print(convert.oz_to_lb(40))
print(convert.ft_to_in(5))
| 18.333333 | 27 | 0.790909 | 23 | 110 | 3.478261 | 0.608696 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.072727 | 110 | 5 | 28 | 22 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f9bbf094d7c7e093379a30c3770c458c8e7420bc | 143 | py | Python | wikimetrics/models/cohorts/fixed_cohort.py | wikimedia/analytics-wikimetrics | 1d2036657b06ccd16ecfc76edd3f9a6119ff75f4 | [
"MIT"
] | 6 | 2015-01-28T05:59:08.000Z | 2018-01-09T07:48:57.000Z | wikimetrics/models/cohorts/fixed_cohort.py | wikimedia/analytics-wikimetrics | 1d2036657b06ccd16ecfc76edd3f9a6119ff75f4 | [
"MIT"
] | 2 | 2020-05-09T16:36:43.000Z | 2020-05-09T16:52:35.000Z | wikimetrics/models/cohorts/fixed_cohort.py | wikimedia/analytics-wikimetrics | 1d2036657b06ccd16ecfc76edd3f9a6119ff75f4 | [
"MIT"
] | 1 | 2016-01-13T07:19:44.000Z | 2016-01-13T07:19:44.000Z | from validated_cohort import ValidatedCohort
class FixedCohort(ValidatedCohort):
"""
A cohort that has fix number of members
"""
| 17.875 | 44 | 0.727273 | 16 | 143 | 6.4375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20979 | 143 | 7 | 45 | 20.428571 | 0.911504 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ddae6ca5d3f896281bdcc702784b59859c1b8af0 | 203 | py | Python | Scripts/rst2odt_prepstyles.py | saranya515/python-api | 9870b064c1238845b3e6714c8116e3c949868c62 | [
"bzip2-1.0.6"
] | null | null | null | Scripts/rst2odt_prepstyles.py | saranya515/python-api | 9870b064c1238845b3e6714c8116e3c949868c62 | [
"bzip2-1.0.6"
] | null | null | null | Scripts/rst2odt_prepstyles.py | saranya515/python-api | 9870b064c1238845b3e6714c8116e3c949868c62 | [
"bzip2-1.0.6"
] | null | null | null | #!C:\Python27\python.exe
# EASY-INSTALL-SCRIPT: 'docutils==0.12','rst2odt_prepstyles.py'
__requires__ = 'docutils==0.12'
__import__('pkg_resources').run_script('docutils==0.12', 'rst2odt_prepstyles.py')
| 40.6 | 81 | 0.753695 | 28 | 203 | 5.035714 | 0.642857 | 0.191489 | 0.234043 | 0.241135 | 0.510638 | 0.510638 | 0.510638 | 0 | 0 | 0 | 0 | 0.06701 | 0.044335 | 203 | 4 | 82 | 50.75 | 0.659794 | 0.418719 | 0 | 0 | 0 | 0 | 0.534483 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ddcdfb834a3c4ea6ea2236db9265920d5a931b90 | 878 | py | Python | tests/conftest.py | rigidus/et | 11cc30260f9aa7587a06c84ab9e0895e2c068875 | [
"Xnet",
"X11"
] | null | null | null | tests/conftest.py | rigidus/et | 11cc30260f9aa7587a06c84ab9e0895e2c068875 | [
"Xnet",
"X11"
] | null | null | null | tests/conftest.py | rigidus/et | 11cc30260f9aa7587a06c84ab9e0895e2c068875 | [
"Xnet",
"X11"
] | 1 | 2021-04-19T08:07:09.000Z | 2021-04-19T08:07:09.000Z | import pytest
from brownie import chain, Wei, ZERO_ADDRESS
@pytest.fixture(scope="function", autouse=True)
def shared_setup(fn_isolation):
pass
@pytest.fixture(scope='module')
def ldo_holder(accounts):
return accounts.at('0xAD4f7415407B83a081A0Bee22D05A8FDC18B42da', force=True)
@pytest.fixture(scope='module... | 25.085714 | 80 | 0.790433 | 115 | 878 | 5.817391 | 0.330435 | 0.136024 | 0.188341 | 0.215247 | 0.300448 | 0.300448 | 0.110613 | 0 | 0 | 0 | 0 | 0.03287 | 0.099089 | 878 | 34 | 81 | 25.823529 | 0.812895 | 0.020501 | 0 | 0.26087 | 0 | 0 | 0.100233 | 0.048951 | 0 | 0 | 0.048951 | 0 | 0 | 1 | 0.304348 | false | 0.043478 | 0.086957 | 0.26087 | 0.652174 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ddd3568b00bd3c4b4d0c301726426b4a8435dc08 | 20 | py | Python | checkov/version.py | mzwennes/checkov | d0d3a8faede28fbf2d180be4410c32e71c08d500 | [
"Apache-2.0"
] | null | null | null | checkov/version.py | mzwennes/checkov | d0d3a8faede28fbf2d180be4410c32e71c08d500 | [
"Apache-2.0"
] | null | null | null | checkov/version.py | mzwennes/checkov | d0d3a8faede28fbf2d180be4410c32e71c08d500 | [
"Apache-2.0"
] | null | null | null | version = '2.0.572'
| 10 | 19 | 0.6 | 4 | 20 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ddeabcbc045713e012a00d3d953c863b47ae2d80 | 8,115 | py | Python | rom.py | varkenvarken/fpga-experiments | ed56b1f5efbf7a7f4060a3429cbcc8c96a9a7058 | [
"Apache-2.0"
] | 2 | 2019-12-17T19:45:40.000Z | 2021-04-29T19:30:48.000Z | rom.py | varkenvarken/fpga-experiments | ed56b1f5efbf7a7f4060a3429cbcc8c96a9a7058 | [
"Apache-2.0"
] | null | null | null | rom.py | varkenvarken/fpga-experiments | ed56b1f5efbf7a7f4060a3429cbcc8c96a9a7058 | [
"Apache-2.0"
] | null | null | null | template = """
module rom32x4 (
input [4:0] addr,
input clk,
output [4:0] data);
wire [7:0] rdata;
wire [15:0] RDATA;
wire RCLK;
wire [10:0] RADDR;
SB_RAM40_4KNR #( // negative edge readclock so we can apply and addres on the positive edge and guarantee data is available on the next posedge
.WRITE_MODE(... | 55.965517 | 297 | 0.594455 | 1,588 | 8,115 | 3.025189 | 0.105793 | 0.371565 | 0.054954 | 0.084929 | 0.038301 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208028 | 0.125077 | 8,115 | 144 | 298 | 56.354167 | 0.468592 | 0.124214 | 0 | 0 | 0 | 0.142857 | 0.755725 | 0.651117 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0 | 0 | 0.031746 | 0.007937 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb31c646f393293785bed967ff3f69db578ffd3a | 78 | py | Python | python/catkin/package_version.py | dseifert/catkin | f972729b3f99479e0844e304b575b6f2a96c5779 | [
"BSD-3-Clause"
] | 250 | 2015-01-02T09:29:09.000Z | 2022-03-28T08:48:28.000Z | python/catkin/package_version.py | dseifert/catkin | f972729b3f99479e0844e304b575b6f2a96c5779 | [
"BSD-3-Clause"
] | 456 | 2015-01-01T00:42:47.000Z | 2022-03-22T13:36:33.000Z | python/catkin/package_version.py | dseifert/catkin | f972729b3f99479e0844e304b575b6f2a96c5779 | [
"BSD-3-Clause"
] | 261 | 2015-01-10T14:07:49.000Z | 2022-03-26T13:29:58.000Z | # for backward compatibility
from catkin_pkg.package_version import * # noqa
| 26 | 48 | 0.807692 | 10 | 78 | 6.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 2 | 49 | 39 | 0.910448 | 0.397436 | 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 |
3493341d2fd8731f0098d23cd0381bf490e14c67 | 246 | py | Python | store_item_models/class_projects/item_stock_management.py | reimibeta/django-store-item-models | 0be5fad0df0b3ebc7283fc6369f0e769a4743987 | [
"Apache-2.0"
] | null | null | null | store_item_models/class_projects/item_stock_management.py | reimibeta/django-store-item-models | 0be5fad0df0b3ebc7283fc6369f0e769a4743987 | [
"Apache-2.0"
] | null | null | null | store_item_models/class_projects/item_stock_management.py | reimibeta/django-store-item-models | 0be5fad0df0b3ebc7283fc6369f0e769a4743987 | [
"Apache-2.0"
] | null | null | null | """ item supply by purchase """
from store_item_models.class_projects.item_stocks.item_stock_supply import item_stock_supply
""" item outlet by use """
from store_item_models.class_projects.item_stocks.item_stock_outlet import item_stock_outlet
| 41 | 92 | 0.841463 | 38 | 246 | 5.026316 | 0.368421 | 0.188482 | 0.136126 | 0.198953 | 0.534031 | 0.534031 | 0.534031 | 0.534031 | 0.534031 | 0.534031 | 0 | 0 | 0.085366 | 246 | 5 | 93 | 49.2 | 0.848889 | 0.093496 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
34ccf5b51e36526f5d570dafaf3f77fc00d6a00c | 121 | py | Python | accepted/chennaipy/october/samplecode/basicpackage/foo.py | tasdikrahman/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | 1 | 2017-04-16T06:59:02.000Z | 2017-04-16T06:59:02.000Z | accepted/chennaipy/october/samplecode/basicpackage/foo.py | prodicus/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | null | null | null | accepted/chennaipy/october/samplecode/basicpackage/foo.py | prodicus/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | 1 | 2019-10-26T00:28:07.000Z | 2019-10-26T00:28:07.000Z | # basicpackage/foo.py
a = 10
class Foo(object):
pass
print("inside 'basicpackage/foo.py' with a variable in it")
| 12.1 | 59 | 0.68595 | 19 | 121 | 4.368421 | 0.736842 | 0.361446 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.190083 | 121 | 9 | 60 | 13.444444 | 0.826531 | 0.157025 | 0 | 0 | 0 | 0 | 0.505051 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0.25 | 0.25 | 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 |
34df194b3cd32ee1dbd7af3de41cde655858cbaf | 67 | py | Python | server/api/__init__.py | dtwest/Porthole | 743757bb13c21d69dab5ec7dccd6736b01c4fbc4 | [
"MIT"
] | 1 | 2021-07-08T03:05:23.000Z | 2021-07-08T03:05:23.000Z | server/api/__init__.py | dtwest/Porthole | 743757bb13c21d69dab5ec7dccd6736b01c4fbc4 | [
"MIT"
] | null | null | null | server/api/__init__.py | dtwest/Porthole | 743757bb13c21d69dab5ec7dccd6736b01c4fbc4 | [
"MIT"
] | null | null | null | from server.api.scan import ScanApi, ScanListApi, ScanByAddressApi
| 33.5 | 66 | 0.850746 | 8 | 67 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 67 | 1 | 67 | 67 | 0.934426 | 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 |
550c45d8365eafbd81a04722f92634de8c47a20b | 80 | py | Python | scrapy/lesson01/lesson01/middlewares/__init__.py | IBBD/python-share-docs | a62bab50a75bf242d48078b348433c63965cc6be | [
"MIT"
] | null | null | null | scrapy/lesson01/lesson01/middlewares/__init__.py | IBBD/python-share-docs | a62bab50a75bf242d48078b348433c63965cc6be | [
"MIT"
] | null | null | null | scrapy/lesson01/lesson01/middlewares/__init__.py | IBBD/python-share-docs | a62bab50a75bf242d48078b348433c63965cc6be | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Author:
# Created Time: 2017年04月27日 星期四 23时36分28秒
| 11.428571 | 41 | 0.625 | 9 | 80 | 5.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234375 | 0.2 | 80 | 6 | 42 | 13.333333 | 0.546875 | 0.8625 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
9b7ba9e3ee1afc5cfe9260fa13d14439cc9ab6b6 | 127 | py | Python | exporters/setup.py | caiomedeirospinto/pelorus | 2cd21f11cb36b1d1cd34add6c7d23c13079d803c | [
"Apache-2.0"
] | 71 | 2019-11-27T19:36:42.000Z | 2021-02-09T22:22:58.000Z | exporters/setup.py | caiomedeirospinto/pelorus | 2cd21f11cb36b1d1cd34add6c7d23c13079d803c | [
"Apache-2.0"
] | 176 | 2019-11-27T18:46:20.000Z | 2021-02-15T14:39:21.000Z | exporters/setup.py | caiomedeirospinto/pelorus | 2cd21f11cb36b1d1cd34add6c7d23c13079d803c | [
"Apache-2.0"
] | 43 | 2019-12-11T20:43:58.000Z | 2021-02-14T18:50:00.000Z | from setuptools import find_packages, setup
setup(name="pelorus", packages=find_packages(where="."), python_requires=">=3.9")
| 31.75 | 81 | 0.76378 | 17 | 127 | 5.529412 | 0.764706 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.070866 | 127 | 3 | 82 | 42.333333 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 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 |
9b8687f00fccdd631dcf2fe53d3dddf64188164e | 165 | py | Python | pyclinrec/recognizer/similarity/__init__.py | twktheainur/pyclinrec | 40592dca54413fb438ec4916e1a247f6a5a7f964 | [
"Apache-2.0"
] | null | null | null | pyclinrec/recognizer/similarity/__init__.py | twktheainur/pyclinrec | 40592dca54413fb438ec4916e1a247f6a5a7f964 | [
"Apache-2.0"
] | null | null | null | pyclinrec/recognizer/similarity/__init__.py | twktheainur/pyclinrec | 40592dca54413fb438ec4916e1a247f6a5a7f964 | [
"Apache-2.0"
] | null | null | null | from .similarity import jaccard, jaccard_count, tverski_contrast, tverski_ratio, compute_hard_overlap, \
geometric_mean_aggregation, arithmetic_mean_aggregation
| 55 | 104 | 0.860606 | 19 | 165 | 7 | 0.789474 | 0.225564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 165 | 2 | 105 | 82.5 | 0.886667 | 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 |
9bb56d83fdf3efa0d07af250a038f74ef4629d8d | 72 | py | Python | magi/__init__.py | akbir/magi | cff26ddb87165bb6e19796dc77521e3191afcffc | [
"Apache-2.0"
] | 86 | 2021-11-24T21:53:29.000Z | 2022-03-27T13:35:45.000Z | magi/__init__.py | akbir/magi | cff26ddb87165bb6e19796dc77521e3191afcffc | [
"Apache-2.0"
] | 7 | 2021-11-26T17:23:29.000Z | 2022-03-07T21:49:44.000Z | magi/__init__.py | akbir/magi | cff26ddb87165bb6e19796dc77521e3191afcffc | [
"Apache-2.0"
] | 3 | 2021-11-27T11:13:18.000Z | 2022-01-24T14:38:53.000Z | """Magi is a JAX RL library."""
from magi._metadata import __version__
| 18 | 38 | 0.736111 | 11 | 72 | 4.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 39 | 24 | 0.786885 | 0.347222 | 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 |
32d4f87f9921ba3d961c2caa92ba9c0533a3bf2e | 58 | py | Python | AprendaPython/Sets/ex001.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | AprendaPython/Sets/ex001.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | AprendaPython/Sets/ex001.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | lista = [1, 2, 3, 33, 4, 4, 11, 22, 3]
print(set(lista))
| 14.5 | 38 | 0.517241 | 13 | 58 | 2.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.224138 | 58 | 3 | 39 | 19.333333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
32e2f2d3343c1d45534ce0d4fb208c63ebd071fd | 23,898 | py | Python | python/pyxbos/pyxbos/flexstat_pb2.py | anandkp92/xboswave | f7d8a72cde048a21422f9d0838374b83b1b6a256 | [
"BSD-3-Clause"
] | null | null | null | python/pyxbos/pyxbos/flexstat_pb2.py | anandkp92/xboswave | f7d8a72cde048a21422f9d0838374b83b1b6a256 | [
"BSD-3-Clause"
] | null | null | null | python/pyxbos/pyxbos/flexstat_pb2.py | anandkp92/xboswave | f7d8a72cde048a21422f9d0838374b83b1b6a256 | [
"BSD-3-Clause"
] | 3 | 2019-02-05T23:01:09.000Z | 2019-03-25T22:22:10.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: flexstat.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _refl... | 54.561644 | 2,681 | 0.769144 | 3,192 | 23,898 | 5.424812 | 0.073308 | 0.05544 | 0.052148 | 0.045045 | 0.784304 | 0.739778 | 0.707207 | 0.689247 | 0.66401 | 0.622141 | 0 | 0.045816 | 0.114989 | 23,898 | 437 | 2,682 | 54.686499 | 0.772908 | 0.014395 | 0 | 0.62439 | 1 | 0.004878 | 0.227809 | 0.171282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014634 | 0 | 0.014634 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
32fbc8d1f24e92b249e6039b11e7540d45b7604b | 132 | py | Python | src/waldur_auth_valimo/urls.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 26 | 2017-10-18T13:49:58.000Z | 2021-09-19T04:44:09.000Z | src/waldur_auth_valimo/urls.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 14 | 2018-12-10T14:14:51.000Z | 2021-06-07T10:33:39.000Z | src/waldur_auth_valimo/urls.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 32 | 2017-09-24T03:10:45.000Z | 2021-10-16T16:41:09.000Z | from . import views
def register_in(router):
router.register(r'auth-valimo', views.AuthResultViewSet, basename='auth-valimo')
| 22 | 84 | 0.757576 | 17 | 132 | 5.823529 | 0.705882 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 132 | 5 | 85 | 26.4 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
fd3dd70c856c3d10d492512cc831f782e73d3254 | 35 | py | Python | ceefax/fonts/size4bold/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2020-03-28T15:53:22.000Z | 2020-03-28T15:53:22.000Z | ceefax/fonts/size4bold/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2021-02-05T13:43:52.000Z | 2021-02-05T13:43:52.000Z | ceefax/fonts/size4bold/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | null | null | null | from .default import size4boldfont
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
fd44e778695f79716b693c8aa71fa9e6f745cbbb | 149 | py | Python | applications/__init__.py | Joxis/AdaptiveReID | 34852a61ffe1ab7b94d8187c86bac37c7a0f0eb1 | [
"MIT"
] | 44 | 2020-07-17T01:32:56.000Z | 2020-10-14T03:24:51.000Z | applications/__init__.py | Joxis/AdaptiveReID | 34852a61ffe1ab7b94d8187c86bac37c7a0f0eb1 | [
"MIT"
] | 15 | 2020-10-27T11:41:49.000Z | 2021-09-23T19:43:22.000Z | applications/__init__.py | Joxis/AdaptiveReID | 34852a61ffe1ab7b94d8187c86bac37c7a0f0eb1 | [
"MIT"
] | 13 | 2020-07-22T00:06:43.000Z | 2020-10-14T04:11:50.000Z | from .resnet_common import (ResNet50, ResNet50V2, ResNet101, ResNet101V2,
ResNet152, ResNet152V2, ResNeXt50, ResNeXt101)
| 49.666667 | 74 | 0.671141 | 12 | 149 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 0.261745 | 149 | 2 | 75 | 74.5 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
fd4c7df62d45613925f8ac18885978e63b4497a6 | 9,647 | py | Python | tests/integration/test_oai.py | axfelix/viringo | 44b3035a374c7c53b8077f6061402d9fdf595450 | [
"MIT"
] | null | null | null | tests/integration/test_oai.py | axfelix/viringo | 44b3035a374c7c53b8077f6061402d9fdf595450 | [
"MIT"
] | 63 | 2019-07-31T09:03:56.000Z | 2022-02-03T11:23:22.000Z | tests/integration/test_oai.py | axfelix/viringo | 44b3035a374c7c53b8077f6061402d9fdf595450 | [
"MIT"
] | 1 | 2020-06-19T16:35:52.000Z | 2020-06-19T16:35:52.000Z | """Tests for http endpoints of OAI-PMH verbs"""
import datetime
from lxml import etree
from . import factories
def construct_oai_xml_comparisons(fixture_file_path, target_xml, oai_element):
"""Return element xml strings for comparison based on fixture file and a target xml string"""
# Load metadata from our ... | 36.131086 | 100 | 0.696486 | 1,245 | 9,647 | 5.259438 | 0.139759 | 0.042761 | 0.021991 | 0.036652 | 0.779322 | 0.757789 | 0.747404 | 0.747404 | 0.743128 | 0.743128 | 0 | 0.018632 | 0.204416 | 9,647 | 266 | 101 | 36.266917 | 0.834528 | 0.250233 | 0 | 0.474684 | 0 | 0.018987 | 0.283814 | 0.155279 | 0 | 0 | 0 | 0 | 0.177215 | 1 | 0.063291 | false | 0 | 0.018987 | 0 | 0.088608 | 0.018987 | 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 |
b5baf1b7979659f986d543f9e893d70c7e394a44 | 42 | py | Python | tests/__init__.py | rmcd-mscb/onhm2thredds | 53cf0ada773bda522bef1edfe5b2d8e3b0130b8f | [
"MIT"
] | null | null | null | tests/__init__.py | rmcd-mscb/onhm2thredds | 53cf0ada773bda522bef1edfe5b2d8e3b0130b8f | [
"MIT"
] | null | null | null | tests/__init__.py | rmcd-mscb/onhm2thredds | 53cf0ada773bda522bef1edfe5b2d8e3b0130b8f | [
"MIT"
] | null | null | null | """Unit test package for onhm2thredds."""
| 21 | 41 | 0.714286 | 5 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.119048 | 42 | 1 | 42 | 42 | 0.783784 | 0.833333 | 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 |
bd1ce933fc32cc75fc1f84ed9d7b154b64454f71 | 38 | py | Python | lstm/__init__.py | andfoy/vqa-detection | e4ff42371b669bc7b39bc95574ec5e32f6db897d | [
"MIT"
] | 3 | 2018-05-11T04:45:57.000Z | 2019-09-04T03:22:55.000Z | lstm/__init__.py | andfoy/vqa-detection | e4ff42371b669bc7b39bc95574ec5e32f6db897d | [
"MIT"
] | null | null | null | lstm/__init__.py | andfoy/vqa-detection | e4ff42371b669bc7b39bc95574ec5e32f6db897d | [
"MIT"
] | 2 | 2017-11-29T21:59:31.000Z | 2020-10-11T17:21:26.000Z |
from model import RNNModel
RNNModel
| 7.6 | 26 | 0.815789 | 5 | 38 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 4 | 27 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bd323bcde7f2cf81512e7c44241528d0339d966b | 124 | py | Python | AtieP/coin_collector.py | AtieP/game-jam-2020 | 25c6034cde3e1ff6e08fa9982d7036b55be85909 | [
"MIT"
] | 15 | 2020-04-17T12:02:14.000Z | 2022-03-16T03:01:34.000Z | AtieP/coin_collector.py | AtieP/game-jam-2020 | 25c6034cde3e1ff6e08fa9982d7036b55be85909 | [
"MIT"
] | 9 | 2020-04-25T01:57:16.000Z | 2020-04-29T11:42:34.000Z | AtieP/coin_collector.py | AtieP/game-jam-2020 | 25c6034cde3e1ff6e08fa9982d7036b55be85909 | [
"MIT"
] | 55 | 2020-04-17T12:01:11.000Z | 2021-12-28T10:14:02.000Z | import arcade
import src.platformer
def main():
src.platformer.platformer_main()
if __name__ == "__main__":
main() | 15.5 | 36 | 0.709677 | 15 | 124 | 5.266667 | 0.533333 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169355 | 124 | 8 | 37 | 15.5 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 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 |
bd49e104a1d3e306aa5d4939a0dc835e0d9518e3 | 175 | py | Python | py3dtiles_merger/__init__.py | Tofull/py3dtiles_merger | 9d290e0f93dd3130219106b6b43c32f5c37b1eba | [
"MIT"
] | 9 | 2018-10-10T12:14:37.000Z | 2022-02-16T05:56:52.000Z | py3dtiles_merger/__init__.py | Tofull/py3dtiles_merger | 9d290e0f93dd3130219106b6b43c32f5c37b1eba | [
"MIT"
] | 2 | 2018-08-02T14:38:04.000Z | 2019-11-12T19:20:26.000Z | py3dtiles_merger/__init__.py | Tofull/py3dtiles_merger | 9d290e0f93dd3130219106b6b43c32f5c37b1eba | [
"MIT"
] | 8 | 2018-12-14T12:36:47.000Z | 2022-02-09T09:33:49.000Z | import py3dtiles_merger.TilesetUtilities
import py3dtiles_merger.TilesetParser
import py3dtiles_merger.TilesetMerger
import py3dtiles_merger.NullObject
__version__ = '0.0.1'
| 25 | 40 | 0.88 | 20 | 175 | 7.3 | 0.5 | 0.410959 | 0.575342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042945 | 0.068571 | 175 | 6 | 41 | 29.166667 | 0.852761 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
1fad3d78f046fb2b069a31837288e892d4c34b3c | 8,472 | py | Python | tests/test.ui.016.raster.py | ceccopierangiolieugenio/py-ttk | 117d61844bb7344bbe22a7797b7e3763d5fe4de5 | [
"MIT"
] | null | null | null | tests/test.ui.016.raster.py | ceccopierangiolieugenio/py-ttk | 117d61844bb7344bbe22a7797b7e3763d5fe4de5 | [
"MIT"
] | null | null | null | tests/test.ui.016.raster.py | ceccopierangiolieugenio/py-ttk | 117d61844bb7344bbe22a7797b7e3763d5fe4de5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# MIT License
#
# Copyright (c) 2021 Eugenio Parodi <ceccopierangiolieugenio AT googlemail DOT com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restricti... | 52.296296 | 193 | 0.528565 | 1,142 | 8,472 | 3.915061 | 0.323993 | 0.282711 | 0.322076 | 0.390069 | 0.236189 | 0.210691 | 0.184299 | 0.184299 | 0.169984 | 0.169984 | 0 | 0.253868 | 0.267705 | 8,472 | 162 | 194 | 52.296296 | 0.464378 | 0.164424 | 0 | 0.166667 | 0 | 0 | 0.117338 | 0.009648 | 0 | 0 | 0.172531 | 0 | 0 | 1 | 0.064815 | false | 0 | 0.027778 | 0.027778 | 0.194444 | 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 |
1ff3e8550395814de742e4cfa9f232ed1912c6a0 | 50 | py | Python | wazimap_ng/points/admin/forms/__init__.py | arghyaiitb/wazimap-ng | 2a77860526d865b8fd0c22a2204f121fdb3b28a0 | [
"Apache-2.0"
] | 11 | 2019-12-31T20:27:22.000Z | 2022-03-10T03:55:38.000Z | wazimap_ng/points/admin/forms/__init__.py | arghyaiitb/wazimap-ng | 2a77860526d865b8fd0c22a2204f121fdb3b28a0 | [
"Apache-2.0"
] | 164 | 2020-02-06T15:02:22.000Z | 2022-03-30T22:42:00.000Z | wazimap_ng/points/admin/forms/__init__.py | arghyaiitb/wazimap-ng | 2a77860526d865b8fd0c22a2204f121fdb3b28a0 | [
"Apache-2.0"
] | 16 | 2020-01-03T20:30:24.000Z | 2022-01-11T11:05:15.000Z | from .category_admin_form import CategoryAdminForm | 50 | 50 | 0.92 | 6 | 50 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.93617 | 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 |
1ff405daee86458badad80ee4e55860ce0cc9cfd | 825 | py | Python | test/lmp/model/test_signature.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/model/test_signature.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/model/test_signature.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | """Test :py:mod:`lmp.model` signatures."""
import lmp.model
def test_module_attribute() -> None:
"""Ensure module attributes' signatures."""
assert hasattr(lmp.model, 'BaseModel')
assert hasattr(lmp.model, 'ElmanNet')
assert hasattr(lmp.model, 'LSTM1997')
assert hasattr(lmp.model, 'LSTM2000')
assert hasa... | 30.555556 | 54 | 0.713939 | 109 | 825 | 5.311927 | 0.220183 | 0.317789 | 0.193437 | 0.253886 | 0.376511 | 0.376511 | 0.127807 | 0 | 0 | 0 | 0 | 0.067606 | 0.139394 | 825 | 26 | 55 | 31.730769 | 0.747887 | 0.089697 | 0 | 0 | 0 | 0 | 0.082432 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.047619 | true | 0 | 0.047619 | 0 | 0.095238 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1fff8046a599bd40006745c5d329d8ae3a8071af | 134 | py | Python | managedstate/__init__.py | immijimmi/managedState | cb24aaa288f7ddb12a5042d104f6f0d6ab79828c | [
"MIT"
] | null | null | null | managedstate/__init__.py | immijimmi/managedState | cb24aaa288f7ddb12a5042d104f6f0d6ab79828c | [
"MIT"
] | null | null | null | managedstate/__init__.py | immijimmi/managedState | cb24aaa288f7ddb12a5042d104f6f0d6ab79828c | [
"MIT"
] | null | null | null | from .state import State
from .keyquery import KeyQuery
from .attributename import AttributeName
from .constants import ErrorMessages
| 26.8 | 40 | 0.850746 | 16 | 134 | 7.125 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 134 | 4 | 41 | 33.5 | 0.966102 | 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 |
1f26ad383fed15dffaeef8a2469e50997b3b96e6 | 1,971 | py | Python | starvine/bvcopula/copula/copula_rotation.py | wgurecky/StarVine | b952a88eeaff476484ba6a26420cfe4ef575d162 | [
"BSD-3-Clause"
] | 12 | 2018-10-04T06:15:13.000Z | 2020-01-08T03:32:30.000Z | starvine/bvcopula/copula/copula_rotation.py | wgurecky/StarVine | b952a88eeaff476484ba6a26420cfe4ef575d162 | [
"BSD-3-Clause"
] | 25 | 2017-08-29T06:28:37.000Z | 2020-10-16T23:56:57.000Z | starvine/bvcopula/copula/copula_rotation.py | wgurecky/StarVine | b952a88eeaff476484ba6a26420cfe4ef575d162 | [
"BSD-3-Clause"
] | 3 | 2017-04-08T20:19:09.000Z | 2020-01-09T20:01:02.000Z | ##
# \breif Copula function rotation helpers
#
# These helpers must be implemented outside of
# copula_base since we need access to them in all
# our child copula classes as decorators.
#
# Rotate the data before fitting copula
#
# Always rotate data to original orientation after
# evaluation of copula functions
def r... | 29.863636 | 51 | 0.558092 | 251 | 1,971 | 4.322709 | 0.270916 | 0.103226 | 0.180645 | 0.147465 | 0.674654 | 0.660829 | 0.57788 | 0.57788 | 0.57788 | 0.546544 | 0 | 0.028744 | 0.329274 | 1,971 | 65 | 52 | 30.323077 | 0.791982 | 0.315576 | 0 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1f37812ad77dfcb2fc559832acc65ad8e41123d6 | 46,336 | py | Python | tests.py | diskovod/mailgun_beta | 5a595704c1eb887f87ad72b900c1e6fb613412a1 | [
"MIT"
] | null | null | null | tests.py | diskovod/mailgun_beta | 5a595704c1eb887f87ad72b900c1e6fb613412a1 | [
"MIT"
] | null | null | null | tests.py | diskovod/mailgun_beta | 5a595704c1eb887f87ad72b900c1e6fb613412a1 | [
"MIT"
] | null | null | null | import unittest
import os
from mailgun.client import Client
class MessagesTests(unittest.TestCase):
def setUp(self):
self.auth = (
"api",
os.environ["APIKEY"]
)
self.client = Client(auth=self.auth)
self.domain = os.environ["DOMAIN"]
self.data = {"fro... | 39.468484 | 115 | 0.549551 | 4,834 | 46,336 | 5.079851 | 0.065784 | 0.08389 | 0.095781 | 0.077211 | 0.842279 | 0.802044 | 0.756353 | 0.722797 | 0.689567 | 0.64302 | 0 | 0.011365 | 0.339175 | 46,336 | 1,173 | 116 | 39.502131 | 0.790594 | 0.014157 | 0 | 0.534464 | 0 | 0.00106 | 0.07818 | 0.003177 | 0 | 0 | 0 | 0 | 0.186638 | 1 | 0.11877 | false | 0.002121 | 0.003181 | 0 | 0.139979 | 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 |
1f3866bc8d4edc66082912b0fdbbabdf6059b5a9 | 41 | py | Python | python/testData/intentions/replaceExceptPart.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/replaceExceptPart.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/replaceExceptPart.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | try:
pass
except e,<caret> name:
pass | 10.25 | 22 | 0.658537 | 7 | 41 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 4 | 23 | 10.25 | 0.84375 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1f3b5e53e7a99629d0420f7df1d18bd54021ad72 | 241 | py | Python | check.version/check_version_(python3).py | ronidandrade/python | 022f8a7f2c6105f86fca05987242c45077a56549 | [
"MIT"
] | null | null | null | check.version/check_version_(python3).py | ronidandrade/python | 022f8a7f2c6105f86fca05987242c45077a56549 | [
"MIT"
] | null | null | null | check.version/check_version_(python3).py | ronidandrade/python | 022f8a7f2c6105f86fca05987242c45077a56549 | [
"MIT"
] | null | null | null | # Importando as bibliotecas necessárias para verificar a versão do Python e do Requests
import sys
import requests
# Exibindo as versões
print(f"\n\t Versão do Python {sys.version}\n")
print(f"\t Versão do Requests {requests.__version__}")
| 30.125 | 87 | 0.780083 | 38 | 241 | 4.842105 | 0.552632 | 0.130435 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136929 | 241 | 7 | 88 | 34.428571 | 0.884615 | 0.435685 | 0 | 0 | 0 | 0 | 0.609023 | 0.165414 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1f51bbe66b241cd6d570b085228adfd289611a10 | 70 | py | Python | test_package/__main__.py | Mishuni/Pip_Package_Practice | 420c0549dd9f663c0b83afe51a689fdd8918151d | [
"MIT"
] | null | null | null | test_package/__main__.py | Mishuni/Pip_Package_Practice | 420c0549dd9f663c0b83afe51a689fdd8918151d | [
"MIT"
] | null | null | null | test_package/__main__.py | Mishuni/Pip_Package_Practice | 420c0549dd9f663c0b83afe51a689fdd8918151d | [
"MIT"
] | null | null | null | from test_package.modules import add
def main():
print(add(2,4))
| 14 | 36 | 0.7 | 12 | 70 | 4 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.171429 | 70 | 4 | 37 | 17.5 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1f5bdc8379a4fbb693bfa356c4a42ee762827d0f | 81 | py | Python | refine_label/__init__.py | yuta-hi/remove-island | 949fd0f610cbac885f9d23785d435b7278feeeb4 | [
"MIT"
] | 2 | 2020-03-16T01:31:26.000Z | 2020-04-09T07:18:23.000Z | refine_label/__init__.py | yuta-hi/remove-island | 949fd0f610cbac885f9d23785d435b7278feeeb4 | [
"MIT"
] | null | null | null | refine_label/__init__.py | yuta-hi/remove-island | 949fd0f610cbac885f9d23785d435b7278feeeb4 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .remove_island import remove_island
| 20.25 | 40 | 0.876543 | 11 | 81 | 5.818182 | 0.545455 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 81 | 3 | 41 | 27 | 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 | 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 |
1f5dfdc1cf4a902382f5367adf7e83e6e854f160 | 129 | py | Python | functions/pow.py | caiodangelo/essential-functions | fa5db63af74aa2c3473888ce35cac66fb30653b4 | [
"MIT"
] | null | null | null | functions/pow.py | caiodangelo/essential-functions | fa5db63af74aa2c3473888ce35cac66fb30653b4 | [
"MIT"
] | null | null | null | functions/pow.py | caiodangelo/essential-functions | fa5db63af74aa2c3473888ce35cac66fb30653b4 | [
"MIT"
] | null | null | null | def pow(base,exponent):
"""
Given a base b and an exponent e, this function returns b^e
"""
return base**exponent | 25.8 | 63 | 0.635659 | 20 | 129 | 4.1 | 0.7 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 129 | 5 | 64 | 25.8 | 0.854167 | 0.457364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1f8f332ae79caf6b04441660179dfa236a05f92b | 157 | py | Python | discord/types/__init__.py | Hype3808/RPD | 78ba69cf132fd0c07264a9a142866b79e94a60d5 | [
"Apache-2.0"
] | 12 | 2021-11-11T14:10:31.000Z | 2022-03-16T03:08:16.000Z | discord/types/__init__.py | Hype3808/RPD | 78ba69cf132fd0c07264a9a142866b79e94a60d5 | [
"Apache-2.0"
] | 24 | 2021-12-27T04:03:20.000Z | 2022-01-26T10:24:51.000Z | discord/types/__init__.py | Hype3808/RPD | 78ba69cf132fd0c07264a9a142866b79e94a60d5 | [
"Apache-2.0"
] | 13 | 2021-11-12T09:06:11.000Z | 2022-03-12T13:42:47.000Z | """
discord.types
~~~~~~~~~~~~~
Types for the Discord API, and discord.io
"""
from .allowed_mentions import *
from .dict import *
from .embed_parse import *
| 17.444444 | 41 | 0.675159 | 21 | 157 | 4.952381 | 0.666667 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146497 | 157 | 8 | 42 | 19.625 | 0.776119 | 0.43949 | 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 |
2f3d79417975ffb8eba4de68417bba573a6093dc | 133 | py | Python | django_zabbix_api/backend/schema.py | LiveStalker/django-zabbix-api | 4150cdc05c422486450f0f5865f6946bde7dbf33 | [
"MIT"
] | 1 | 2020-04-07T04:33:21.000Z | 2020-04-07T04:33:21.000Z | django_zabbix_api/backend/schema.py | LiveStalker/django-zabbix-api | 4150cdc05c422486450f0f5865f6946bde7dbf33 | [
"MIT"
] | null | null | null | django_zabbix_api/backend/schema.py | LiveStalker/django-zabbix-api | 4150cdc05c422486450f0f5865f6946bde7dbf33 | [
"MIT"
] | 1 | 2020-04-07T16:06:22.000Z | 2020-04-07T16:06:22.000Z | from django.db.backends.base.schema import BaseDatabaseSchemaEditor
class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
pass
| 22.166667 | 67 | 0.849624 | 12 | 133 | 9.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097744 | 133 | 5 | 68 | 26.6 | 0.941667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
85cd8f9d766323c8289b33fae6fae8a6c9caff5c | 271 | py | Python | {{cookiecutter.repo_name}}/tests/test_{{cookiecutter.package_name}}.py | janw/python-cookiecutter | 4ef8b96b718b36db970d18c176e1b14f8a9c7f21 | [
"MIT"
] | 4 | 2019-12-09T17:48:01.000Z | 2021-12-21T09:06:33.000Z | {{cookiecutter.repo_name}}/tests/test_{{cookiecutter.package_name}}.py | janw/python-cookiecutter | 4ef8b96b718b36db970d18c176e1b14f8a9c7f21 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/tests/test_{{cookiecutter.package_name}}.py | janw/python-cookiecutter | 4ef8b96b718b36db970d18c176e1b14f8a9c7f21 | [
"MIT"
] | null | null | null | from {{cookiecutter.package_name}} import base
def test_fib() -> None:
assert base.fib(0) == 0
assert base.fib(1) == 1
assert base.fib(2) == 1
assert base.fib(3) == 2
assert base.fib(4) == 3
assert base.fib(5) == 5
assert base.fib(10) == 55
| 22.583333 | 46 | 0.590406 | 45 | 271 | 3.511111 | 0.422222 | 0.443038 | 0.575949 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078049 | 0.243542 | 271 | 11 | 47 | 24.636364 | 0.692683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 0 | null | null | 0 | 0.111111 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
85e750c89acdfe9b5d3045e77d3d6bbf5e3d64c1 | 187 | py | Python | src/spellbook/apps.py | adrienlina/dnd-spellbook | 4356e3a36e4805bf89071a425259ca8d2c69ed92 | [
"MIT"
] | null | null | null | src/spellbook/apps.py | adrienlina/dnd-spellbook | 4356e3a36e4805bf89071a425259ca8d2c69ed92 | [
"MIT"
] | null | null | null | src/spellbook/apps.py | adrienlina/dnd-spellbook | 4356e3a36e4805bf89071a425259ca8d2c69ed92 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SpellbookConfig(AppConfig):
name = 'spellbook'
verbose_name = 'Spellbook'
def ready(self):
import spellbook.signals # NOQA
| 18.7 | 40 | 0.695187 | 20 | 187 | 6.45 | 0.75 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224599 | 187 | 9 | 41 | 20.777778 | 0.889655 | 0.02139 | 0 | 0 | 0 | 0 | 0.099448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 1 | 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 |
c80d8cd3ae4476db1fa49b979328a62c02442e90 | 32 | py | Python | test/login.py | liudelong123/liudelong | c32f43fe0dcaca9baa7206fe58d4ea8d5394e4a2 | [
"MIT"
] | null | null | null | test/login.py | liudelong123/liudelong | c32f43fe0dcaca9baa7206fe58d4ea8d5394e4a2 | [
"MIT"
] | null | null | null | test/login.py | liudelong123/liudelong | c32f43fe0dcaca9baa7206fe58d4ea8d5394e4a2 | [
"MIT"
] | null | null | null | num1 = 10
Num2 = 20
num3 = 30
爸爸 | 8 | 9 | 0.625 | 7 | 32 | 2.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.391304 | 0.28125 | 32 | 4 | 10 | 8 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c81e955b23d58e7e632d1470f2fa2cfac4bdef57 | 13 | py | Python | main.py | Unexecuted/replit_test | 8fc78e332c7a060f9a3cb2f543913244081e95ac | [
"Apache-2.0"
] | null | null | null | main.py | Unexecuted/replit_test | 8fc78e332c7a060f9a3cb2f543913244081e95ac | [
"Apache-2.0"
] | null | null | null | main.py | Unexecuted/replit_test | 8fc78e332c7a060f9a3cb2f543913244081e95ac | [
"Apache-2.0"
] | null | null | null | print("bruh") | 13 | 13 | 0.692308 | 2 | 13 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 | 1 | 13 | 13 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 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 |
c830bc356cfe15aa6de5d2b3813e8c63836547a0 | 205 | py | Python | dropbox/__init__.py | ali-darakjian/dropbox-sdk-python | a3fd60ec35b59ea1015e0057ee5874da8cb519f5 | [
"MIT"
] | 32 | 2015-11-06T02:59:41.000Z | 2021-02-12T02:44:42.000Z | dropbox/__init__.py | ali-darakjian/dropbox-sdk-python | a3fd60ec35b59ea1015e0057ee5874da8cb519f5 | [
"MIT"
] | 14 | 2021-07-19T21:20:42.000Z | 2022-03-31T21:18:09.000Z | dropbox/__init__.py | oneflower/dropbox-sdk-python | d5179c31345f413d067b33de9206fe7e8017388f | [
"MIT"
] | 4 | 2016-03-05T15:18:14.000Z | 2019-08-19T14:19:17.000Z | from __future__ import absolute_import
from .dropbox import __version__, Dropbox, DropboxTeam, create_session # noqa: F401
from .oauth import DropboxOAuth2Flow, DropboxOAuth2FlowNoRedirect # noqa: F401
| 41 | 84 | 0.829268 | 22 | 205 | 7.272727 | 0.636364 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.121951 | 205 | 4 | 85 | 51.25 | 0.844444 | 0.102439 | 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 |
c852d077cac2f32d0126ba5f2dd584e998324e03 | 153 | py | Python | train_compare_models.py | PointCloudYC/img-cls-tensorflow2 | 6f345a3ebcf39cc58b6851b520ee31efba77559a | [
"MIT"
] | 4 | 2021-02-02T07:23:09.000Z | 2022-02-24T02:46:02.000Z | train_compare_models.py | PointCloudYC/img-cls-tensorflow2 | 6f345a3ebcf39cc58b6851b520ee31efba77559a | [
"MIT"
] | null | null | null | train_compare_models.py | PointCloudYC/img-cls-tensorflow2 | 6f345a3ebcf39cc58b6851b520ee31efba77559a | [
"MIT"
] | null | null | null | # train 4 types of models, record the loss and metrics
# define 4 models
# train these models and handle loss and metrics
# plotting
# save to a table | 19.125 | 54 | 0.745098 | 26 | 153 | 4.384615 | 0.692308 | 0.122807 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.215686 | 153 | 8 | 55 | 19.125 | 0.933333 | 0.915033 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 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 |
c08ecd1b974729fd0b29c08551b5723a206821e4 | 161 | py | Python | aia/psf.py | MSKirk/aia | f8050adb3cd01a13e2a73b61a76d58ec4ad638c7 | [
"BSD-3-Clause"
] | 1 | 2020-06-28T15:32:28.000Z | 2020-06-28T15:32:28.000Z | aia/psf.py | MSKirk/aia | f8050adb3cd01a13e2a73b61a76d58ec4ad638c7 | [
"BSD-3-Clause"
] | null | null | null | aia/psf.py | MSKirk/aia | f8050adb3cd01a13e2a73b61a76d58ec4ad638c7 | [
"BSD-3-Clause"
] | null | null | null | #
# Implements the point spread function of the AIA channels as described in
# Poduval et al, 2013, ApJ, 765, 144.
#
import numpy as np
import astropy.units as u | 26.833333 | 74 | 0.751553 | 28 | 161 | 4.321429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 0.186335 | 161 | 6 | 75 | 26.833333 | 0.847328 | 0.670807 | 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 |
c0acd3fc6b519ba078d1d02d877ce971f6c755c6 | 565 | py | Python | swagger_server/controllers/authorization_controller.py | sgrade/words-api-python-flask | b078226588cf6c1700093b89a548543cf6308872 | [
"MIT"
] | null | null | null | swagger_server/controllers/authorization_controller.py | sgrade/words-api-python-flask | b078226588cf6c1700093b89a548543cf6308872 | [
"MIT"
] | null | null | null | swagger_server/controllers/authorization_controller.py | sgrade/words-api-python-flask | b078226588cf6c1700093b89a548543cf6308872 | [
"MIT"
] | null | null | null | from typing import List
"""
controller generated to handled auth operation described at:
https://connexion.readthedocs.io/en/latest/security.html
"""
def check_BasicAuth(username, password, required_scopes):
return {'test_key': 'test_value'}
def check_api_key(api_key, required_scopes):
return {'test_key': 'tes... | 29.736842 | 71 | 0.761062 | 76 | 565 | 5.394737 | 0.552632 | 0.136585 | 0.087805 | 0.117073 | 0.214634 | 0.214634 | 0.214634 | 0.214634 | 0.214634 | 0 | 0 | 0 | 0.109735 | 565 | 18 | 72 | 31.388889 | 0.815109 | 0 | 0 | 0.222222 | 1 | 0 | 0.16895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.111111 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
239073c9a7bb24467f09219608706f02eb1d6f5e | 285 | py | Python | tests/emulated_modules/sub_module_1/sub_sample_1_1.py | alisaifee/hiro | e93551b575c10729766b077bb1a79b1f87436a4e | [
"MIT"
] | 5 | 2017-03-16T06:55:38.000Z | 2021-04-07T15:42:23.000Z | tests/emulated_modules/sub_module_1/sub_sample_1_1.py | alisaifee/hiro | e93551b575c10729766b077bb1a79b1f87436a4e | [
"MIT"
] | 8 | 2017-01-12T12:26:58.000Z | 2020-05-26T02:20:57.000Z | tests/emulated_modules/sub_module_1/sub_sample_1_1.py | alisaifee/hiro | e93551b575c10729766b077bb1a79b1f87436a4e | [
"MIT"
] | 4 | 2016-06-20T11:32:14.000Z | 2019-06-27T07:14:44.000Z | """
"""
import datetime
import time
def sub_sample_1_1_now():
return datetime.datetime.now()
def sub_sample_1_1_today():
return datetime.date.today()
def sub_sample_1_1_sleep(seconds):
datetime.time.sleep(seconds)
def sub_sample_1_1_time():
return time.time()
| 12.954545 | 34 | 0.722807 | 44 | 285 | 4.318182 | 0.295455 | 0.126316 | 0.252632 | 0.273684 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033473 | 0.161404 | 285 | 21 | 35 | 13.571429 | 0.761506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.3 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.