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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
04e3e3073f7c7ca14f3ae44ade89bc78f210e193 | 4,689 | py | Python | molecule/default/tests/test_section_03.py | hanyhesham/cis_ubuntu_2004 | 43042c6c212704c534499b250b2a2cfdd0399c64 | [
"MIT"
] | null | null | null | molecule/default/tests/test_section_03.py | hanyhesham/cis_ubuntu_2004 | 43042c6c212704c534499b250b2a2cfdd0399c64 | [
"MIT"
] | null | null | null | molecule/default/tests/test_section_03.py | hanyhesham/cis_ubuntu_2004 | 43042c6c212704c534499b250b2a2cfdd0399c64 | [
"MIT"
] | null | null | null | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
MOD_DCCP_FILE = "/etc/modprobe.d/3.4.1_dccp.conf"
MOD_SCTP_FILE = "/etc/modprobe.d/3.4.2_sctp.conf"
MOD_RDS_FILE = "/etc/modprobe.d/3.4.3_rds.co... | 25.906077 | 72 | 0.653871 | 923 | 4,689 | 3.11701 | 0.061755 | 0.044491 | 0.100104 | 0.108446 | 0.917275 | 0.917275 | 0.855753 | 0.70073 | 0.6691 | 0.599583 | 0 | 0.10169 | 0.205161 | 4,689 | 180 | 73 | 26.05 | 0.670244 | 0.442099 | 0 | 0 | 0 | 0 | 0.083032 | 0.065884 | 0 | 0 | 0 | 0 | 0.42 | 1 | 0.42 | false | 0 | 0.04 | 0 | 0.46 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b6e120f027ceab4ac6834554b5b26e34309227ae | 3,452 | py | Python | yolo2/models/yolo2_mobilenet.py | rootadminWalker/keras-YOLOv3-model-set | 196ec711975e1821a260a9f6523008bf47ff8c84 | [
"MIT"
] | null | null | null | yolo2/models/yolo2_mobilenet.py | rootadminWalker/keras-YOLOv3-model-set | 196ec711975e1821a260a9f6523008bf47ff8c84 | [
"MIT"
] | null | null | null | yolo2/models/yolo2_mobilenet.py | rootadminWalker/keras-YOLOv3-model-set | 196ec711975e1821a260a9f6523008bf47ff8c84 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""YOLO_v2 MobileNet Model Defined in Keras."""
from tensorflow.keras.layers import MaxPooling2D, Lambda, Concatenate, GlobalAveragePooling2D, Softmax
from tensorflow.keras.models import Model
from tensorflow.keras.applications.mobilenet import MobileNet
from .layers imp... | 38.355556 | 145 | 0.699594 | 509 | 3,452 | 4.552063 | 0.172888 | 0.020716 | 0.044886 | 0.069055 | 0.83729 | 0.813552 | 0.808804 | 0.790678 | 0.790678 | 0.790678 | 0 | 0.080184 | 0.179896 | 3,452 | 89 | 146 | 38.786517 | 0.738255 | 0.244206 | 0 | 0.7 | 0 | 0 | 0.076383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
f3eb4556094f652a67ce147cec08a705417afea3 | 14,773 | py | Python | modules/adb.py | AkshayJainG/qark | c9a4c0025a8538bdaf728c152be7052890d52336 | [
"Apache-2.0"
] | 1 | 2021-01-11T07:12:52.000Z | 2021-01-11T07:12:52.000Z | modules/adb.py | AkshayJainG/qark | c9a4c0025a8538bdaf728c152be7052890d52336 | [
"Apache-2.0"
] | null | null | null | modules/adb.py | AkshayJainG/qark | c9a4c0025a8538bdaf728c152be7052890d52336 | [
"Apache-2.0"
] | null | null | null | '''Copyright 2015 LinkedIn Corp. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | 49.243333 | 381 | 0.616462 | 1,916 | 14,773 | 4.636743 | 0.131002 | 0.076542 | 0.053242 | 0.03647 | 0.797051 | 0.780279 | 0.714993 | 0.703512 | 0.681562 | 0.65027 | 0 | 0.006809 | 0.234482 | 14,773 | 300 | 382 | 49.243333 | 0.77876 | 0.045759 | 0 | 0.788889 | 0 | 0.022222 | 0.314573 | 0.041899 | 0.007407 | 0 | 0 | 0.003333 | 0 | 0 | null | null | 0 | 0.007407 | null | null | 0.125926 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f3eccfa0f0555e6e00a4da8db43f78ed5b9fcb59 | 15,719 | py | Python | verodin_connector.py | splunk-soar-connectors/verodin | dcf8b375656a153ab5d21d2398f25397742c2294 | [
"Apache-2.0"
] | null | null | null | verodin_connector.py | splunk-soar-connectors/verodin | dcf8b375656a153ab5d21d2398f25397742c2294 | [
"Apache-2.0"
] | null | null | null | verodin_connector.py | splunk-soar-connectors/verodin | dcf8b375656a153ab5d21d2398f25397742c2294 | [
"Apache-2.0"
] | null | null | null | # I dislike the print statement
from __future__ import print_function
# Phantom imports
import phantom.app as phantom
from phantom.app import BaseConnector
from phantom.app import ActionResult
import requests
from verodin_consts import *
class VerodinConnector(BaseConnector):
def __init__(self):
... | 37.160757 | 127 | 0.621223 | 1,952 | 15,719 | 4.722336 | 0.069672 | 0.137991 | 0.053699 | 0.059666 | 0.842265 | 0.804947 | 0.776416 | 0.755587 | 0.739531 | 0.739206 | 0 | 0.000441 | 0.278008 | 15,719 | 422 | 128 | 37.248815 | 0.81179 | 0.060564 | 0 | 0.624088 | 0 | 0 | 0.07403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054745 | false | 0.043796 | 0.029197 | 0 | 0.186131 | 0.058394 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
6d403aa63c7f8e8c66e744d2cb0161db7e9f3a1d | 3,371 | py | Python | gw/ppasummationkernel.py | Chronum94/gpaw-kernels | 59ecc8c78e31b5a203f5ceb6fdfee6e21461b633 | [
"MIT"
] | null | null | null | gw/ppasummationkernel.py | Chronum94/gpaw-kernels | 59ecc8c78e31b5a203f5ceb6fdfee6e21461b633 | [
"MIT"
] | null | null | null | gw/ppasummationkernel.py | Chronum94/gpaw-kernels | 59ecc8c78e31b5a203f5ceb6fdfee6e21461b633 | [
"MIT"
] | null | null | null | import numpy as np
#pythran export _sigmaloop1(complex128[:, :] order(C), float64[:], float64[:], complex128[:, :] order(C), complex128[:, :] order(C), float)
def _sigmaloop1(n_mG, deps_m, f_m, W_GG, omegat_GG, eta):
sigma = 0.0
dsigma = 0.0
# init variables (is this necessary?)
nG = n_mG.shape[1]
... | 41.109756 | 141 | 0.502225 | 541 | 3,371 | 2.892791 | 0.110906 | 0.051118 | 0.076677 | 0.05623 | 0.930351 | 0.922684 | 0.922684 | 0.84345 | 0.811502 | 0.765495 | 0 | 0.074956 | 0.327203 | 3,371 | 81 | 142 | 41.617284 | 0.615079 | 0.522694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
edbeddf848235ffeba1444b5c21207a08c98431a | 258 | py | Python | NLP/sentiment_test.py | TheBrownViking20/DSstuff | d915f48e88c22baa81cf8f6114615c6d1bd3faa9 | [
"MIT"
] | 3 | 2018-02-12T14:18:50.000Z | 2018-05-31T19:06:54.000Z | NLP/sentiment_test.py | TheBrownViking20/DSstuff | d915f48e88c22baa81cf8f6114615c6d1bd3faa9 | [
"MIT"
] | null | null | null | NLP/sentiment_test.py | TheBrownViking20/DSstuff | d915f48e88c22baa81cf8f6114615c6d1bd3faa9 | [
"MIT"
] | 1 | 2018-05-31T19:06:56.000Z | 2018-05-31T19:06:56.000Z | import sentiment_mod as s
print(s.sentiment("This was one epic adventure they call a film! It had a thrilling plot and impressive star cast. Will watch it again on monday."))
print(s.sentiment("Horrible movie. Watching it is like being punished by cinema")) | 64.5 | 148 | 0.782946 | 45 | 258 | 4.466667 | 0.822222 | 0.059701 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147287 | 258 | 4 | 149 | 64.5 | 0.913636 | 0 | 0 | 0 | 0 | 0.333333 | 0.718147 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6100b123ac80f4ff1091e0423d184932f7adffeb | 104 | py | Python | thermoplotting/grandcanonical/__init__.py | Van-der-Ven-Group/thermoplotting | d826d728f406896b7a56207f3f4e9b4176de0e97 | [
"MIT"
] | 10 | 2015-04-28T18:53:00.000Z | 2020-09-23T13:29:07.000Z | thermoplotting/grandcanonical/__init__.py | Van-der-Ven-Group/thermoplotting | d826d728f406896b7a56207f3f4e9b4176de0e97 | [
"MIT"
] | 1 | 2019-05-20T19:20:24.000Z | 2019-05-20T19:20:24.000Z | thermoplotting/grandcanonical/__init__.py | goirijo/thermoplotting | d826d728f406896b7a56207f3f4e9b4176de0e97 | [
"MIT"
] | 4 | 2015-08-03T18:36:46.000Z | 2022-03-30T23:13:04.000Z | from __future__ import absolute_import
from . import access
from . import runs
from . import integrate
| 17.333333 | 38 | 0.807692 | 14 | 104 | 5.642857 | 0.5 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 104 | 5 | 39 | 20.8 | 0.908046 | 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 | 1 | 0 | 0 | 6 |
b65c484639c51ffa8b2d63357c261437e7127250 | 25 | py | Python | tools/__init__.py | soeque1/pretrain-dev | e859f8052b10619b195f9c14fbcdd46e24600855 | [
"Apache-2.0"
] | 4 | 2021-02-01T03:44:39.000Z | 2021-02-07T14:27:34.000Z | tools/__init__.py | soeque1/pretrain-dev | e859f8052b10619b195f9c14fbcdd46e24600855 | [
"Apache-2.0"
] | 8 | 2021-01-31T23:57:31.000Z | 2021-02-13T07:55:28.000Z | tools/__init__.py | soeque1/pretrain-dev | e859f8052b10619b195f9c14fbcdd46e24600855 | [
"Apache-2.0"
] | 1 | 2021-02-07T14:27:32.000Z | 2021-02-07T14:27:32.000Z | from tools import logger
| 12.5 | 24 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 1 | 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 | 1 | 0 | 0 | 6 |
b68a75c3bbd33b893bf0037d4e4d032818927bc0 | 188 | py | Python | procurement_portal/records/apps.py | rikusv/procurement-portal-backend | a00eb1d9d9da7737a84d9c495db0f59b26839157 | [
"MIT"
] | null | null | null | procurement_portal/records/apps.py | rikusv/procurement-portal-backend | a00eb1d9d9da7737a84d9c495db0f59b26839157 | [
"MIT"
] | null | null | null | procurement_portal/records/apps.py | rikusv/procurement-portal-backend | a00eb1d9d9da7737a84d9c495db0f59b26839157 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RecordsConfig(AppConfig):
name = "procurement_portal.records"
def ready(self):
import procurement_portal.records.signals # noqa
| 20.888889 | 57 | 0.739362 | 21 | 188 | 6.52381 | 0.761905 | 0.248175 | 0.350365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18617 | 188 | 8 | 58 | 23.5 | 0.895425 | 0.021277 | 0 | 0 | 0 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 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 | 1 | 0 | 0 | 6 |
b69c01d4e1d477ddb31efe3d2d1a116cd3381bc1 | 88 | py | Python | pycomlink/util/__init__.py | cchwala/pycomlink | 979d5595243a06278052023cc5f9aec09fbd8e12 | [
"BSD-3-Clause"
] | 12 | 2017-04-26T07:27:39.000Z | 2021-08-31T13:23:59.000Z | pycomlink/util/__init__.py | cchwala/pycomlink | 979d5595243a06278052023cc5f9aec09fbd8e12 | [
"BSD-3-Clause"
] | 72 | 2017-08-24T20:15:24.000Z | 2022-03-09T08:55:03.000Z | pycomlink/util/__init__.py | cchwala/pycomlink | 979d5595243a06278052023cc5f9aec09fbd8e12 | [
"BSD-3-Clause"
] | 18 | 2016-11-08T15:33:12.000Z | 2021-07-13T11:55:19.000Z | from __future__ import absolute_import
from . import temporal
from . import maintenance
| 22 | 38 | 0.840909 | 11 | 88 | 6.272727 | 0.545455 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 3 | 39 | 29.333333 | 0.907895 | 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 | 1 | 0 | 0 | 6 |
b6aa9894641d44630e6c0899d263763fa44ca764 | 80 | py | Python | refgenie/__init__.py | jashapiro/refgenie | 9ced5330a3d778afd847371d9b5c6bf2d6c85a0c | [
"BSD-2-Clause"
] | null | null | null | refgenie/__init__.py | jashapiro/refgenie | 9ced5330a3d778afd847371d9b5c6bf2d6c85a0c | [
"BSD-2-Clause"
] | null | null | null | refgenie/__init__.py | jashapiro/refgenie | 9ced5330a3d778afd847371d9b5c6bf2d6c85a0c | [
"BSD-2-Clause"
] | null | null | null | from ._version import __version__
import logmuse
logmuse.init_logger("refgenie") | 26.666667 | 33 | 0.85 | 10 | 80 | 6.2 | 0.7 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 3 | 34 | 26.666667 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e1ea400b226a7f24ff30e1e6324d6798c495e57 | 1,884 | py | Python | tests/test_checks.py | WhaleJ84/hb-organiser | 6bb540aead050a453fc6913c9df9378b06fe08bc | [
"MIT"
] | 1 | 2021-02-20T11:56:38.000Z | 2021-02-20T11:56:38.000Z | tests/test_checks.py | WhaleJ84/hb-organiser | 6bb540aead050a453fc6913c9df9378b06fe08bc | [
"MIT"
] | 16 | 2020-12-31T20:00:30.000Z | 2021-06-02T03:52:40.000Z | tests/test_checks.py | WhaleJ84/hb-organiser | 6bb540aead050a453fc6913c9df9378b06fe08bc | [
"MIT"
] | null | null | null | from unittest import TestCase
from hb_organiser.check import *
class HBOrganiserTestCase(TestCase):
# === [ source_exists ] === #
def test_source_exists_returns_false_on_empty_path(self):
self.assertFalse(source_exists(''))
def test_source_exists_returns_false_on_relative_bad_path(self):
... | 41.866667 | 93 | 0.761146 | 246 | 1,884 | 5.337398 | 0.223577 | 0.063976 | 0.09901 | 0.133283 | 0.805788 | 0.805788 | 0.706778 | 0.472963 | 0.392993 | 0.24067 | 0 | 0.001827 | 0.12845 | 1,884 | 44 | 94 | 42.818182 | 0.797808 | 0.042994 | 0 | 0 | 0 | 0 | 0.182173 | 0.168802 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | false | 0 | 0.074074 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1e29ced7a88dfcc83d237a71f614bb7f6310bcad | 19,762 | py | Python | src/genie/libs/parser/nxos/tests/ShowRunningConfigBgp/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/nxos/tests/ShowRunningConfigBgp/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/nxos/tests/ShowRunningConfigBgp/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
"bgp": {
"instance": {
"default": {
"bgp_id": 333,
"protocol_shutdown": True,
"vrf": {
"management": {
"graceful_restart": True,
"log_neighbor_changes": False,
"enforce_first_as": True,
"flush_routes": Fa... | 41 | 75 | 0.456887 | 1,771 | 19,762 | 4.54489 | 0.098814 | 0.06771 | 0.035781 | 0.050441 | 0.847931 | 0.831656 | 0.796745 | 0.746801 | 0.723071 | 0.714623 | 0 | 0.023284 | 0.450157 | 19,762 | 481 | 76 | 41.085239 | 0.717467 | 0 | 0 | 0.647182 | 0 | 0 | 0.406984 | 0.246913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
1e671d31363e61ec284d40e4b3e31491db4251ec | 27,560 | py | Python | python_scripts/013_Plotting_scaling_relations.py | SoumyaShreeram/Locating_AGN_in_DM_halos | 1cfbee69b2c000faee4ecb199d65c3235afbed42 | [
"MIT"
] | null | null | null | python_scripts/013_Plotting_scaling_relations.py | SoumyaShreeram/Locating_AGN_in_DM_halos | 1cfbee69b2c000faee4ecb199d65c3235afbed42 | [
"MIT"
] | null | null | null | python_scripts/013_Plotting_scaling_relations.py | SoumyaShreeram/Locating_AGN_in_DM_halos | 1cfbee69b2c000faee4ecb199d65c3235afbed42 | [
"MIT"
] | null | null | null | # astropy modules
import astropy.units as u
import astropy.io.fits as fits
from astropy.table import Table, Column, join
from astropy.coordinates import SkyCoord
from astropy.cosmology import FlatLambdaCDM, z_at_value
import numpy as np
# system imports
import os
import sys
import importlib as ib
import glob
# plot... | 38.816901 | 169 | 0.611466 | 4,303 | 27,560 | 3.654427 | 0.079015 | 0.019841 | 0.0269 | 0.02442 | 0.865374 | 0.842925 | 0.816471 | 0.810493 | 0.795866 | 0.7738 | 0 | 0.067129 | 0.209216 | 27,560 | 709 | 170 | 38.87165 | 0.6544 | 0.132293 | 0 | 0.67757 | 0 | 0.016355 | 0.180329 | 0.038651 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021028 | false | 0 | 0.056075 | 0 | 0.098131 | 0.021028 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
1e87f1be67e584586ade080b80b573467cdc2888 | 115 | py | Python | src/geelweb/django/twitter_bootstrap_form/settings.py | geelweb/django-twitter-bootstrap-form | 371661e0deeac80a36dfe03360f66442c87fd1c5 | [
"MIT"
] | 2 | 2016-01-30T22:51:54.000Z | 2018-01-13T01:57:52.000Z | src/geelweb/django/twitter_bootstrap_form/settings.py | geelweb/django-twitter-bootstrap-form | 371661e0deeac80a36dfe03360f66442c87fd1c5 | [
"MIT"
] | 1 | 2016-01-30T22:34:25.000Z | 2016-01-30T22:34:25.000Z | src/geelweb/django/twitter_bootstrap_form/settings.py | geelweb/django-twitter-bootstrap-form | 371661e0deeac80a36dfe03360f66442c87fd1c5 | [
"MIT"
] | null | null | null | from django.conf import settings
BOOTSTRAP_REQUIRED_SUFFIX = getattr(settings, 'BOOTSTRAP_REQUIRED_SUFFIX', ' *')
| 28.75 | 80 | 0.808696 | 13 | 115 | 6.846154 | 0.692308 | 0.382022 | 0.561798 | 0.696629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 115 | 3 | 81 | 38.333333 | 0.855769 | 0 | 0 | 0 | 0 | 0 | 0.234783 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1eb72f9b817e9fe1973f861a2af16e1391fb1974 | 7,086 | py | Python | Matplotlib/6.py | Sprinter1999/PythonAdvanced | d02cc1877ceae7237d82ab02c351d9d0fa5c0f72 | [
"MIT"
] | null | null | null | Matplotlib/6.py | Sprinter1999/PythonAdvanced | d02cc1877ceae7237d82ab02c351d9d0fa5c0f72 | [
"MIT"
] | null | null | null | Matplotlib/6.py | Sprinter1999/PythonAdvanced | d02cc1877ceae7237d82ab02c351d9d0fa5c0f72 | [
"MIT"
] | 2 | 2021-06-25T03:20:08.000Z | 2021-07-02T05:13:07.000Z | import matplotlib.pyplot as plt
import pandas as pd
fig,ax=plt.subplots()
# 读取数据
iris = pd.read_csv( 'iris.csv')
colors = [ 'r', 'y', 'b'] # 定义三种散点的颜色
Species = iris.Species.unique() #对类别去重
plt.subplot(4,4,1) #设置子图有2个,即1行2列,先画左边的第一个
for i in range(len(Species)):
plt.scatter(iris.loc[iris.Species == Species[i], 'Pet... | 41.682353 | 165 | 0.67711 | 1,129 | 7,086 | 4.248893 | 0.069088 | 0.08005 | 0.073379 | 0.120075 | 0.96206 | 0.96206 | 0.958099 | 0.953096 | 0.953096 | 0.953096 | 0 | 0.026584 | 0.113463 | 7,086 | 170 | 166 | 41.682353 | 0.737026 | 0.175416 | 0 | 0.508197 | 0 | 0 | 0.176859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016393 | 0 | 0.016393 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
94a3adb301eee45ca8f1a01efc8b4b5c7b790279 | 17,117 | py | Python | swagger_client/__init__.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | swagger_client/__init__.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | swagger_client/__init__.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
TGS API
A production scale tool for BYOND server management # noqa: E501
OpenAPI spec version: 9.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import apis into sdk package
from swagger_clie... | 71.024896 | 166 | 0.916574 | 2,107 | 17,117 | 7.095871 | 0.154722 | 0.162598 | 0.251288 | 0.315364 | 0.339576 | 0.247074 | 0.177179 | 0.152298 | 0.091231 | 0.054244 | 0 | 0.017948 | 0.056026 | 17,117 | 240 | 167 | 71.320833 | 0.907352 | 0.016007 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94a71c5ecf63d7b09356f8dc0084bd48811d25dd | 175 | py | Python | app/util/filter_none_kwargs.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | null | null | null | app/util/filter_none_kwargs.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | 8 | 2018-06-05T17:01:43.000Z | 2018-06-22T01:19:39.000Z | app/util/filter_none_kwargs.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | 1 | 2018-06-06T17:22:28.000Z | 2018-06-06T17:22:28.000Z | def filter_none_kwargs(__={}, **kwargs):
return dict({
k: v
for k, v in __.items()
if v is not None
}, **({} if kwargs == {} else filter_none_kwargs(kwargs)))
| 25 | 60 | 0.588571 | 26 | 175 | 3.653846 | 0.576923 | 0.210526 | 0.336842 | 0.463158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234286 | 175 | 6 | 61 | 29.166667 | 0.708955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
94aa2f3998fb880913820fc5489b120d2e070dd6 | 313 | py | Python | tests/TestScript/__init__.py | NTUTVisualScript/Visual_Script | 2f78df3bbe17a08022a1ca66ee889f4ed5a42728 | [
"Apache-2.0"
] | 4 | 2017-08-12T15:32:07.000Z | 2018-01-02T16:11:59.000Z | tests/TestScript/__init__.py | NTUTVisualScript/GeometrA | 2f78df3bbe17a08022a1ca66ee889f4ed5a42728 | [
"Apache-2.0"
] | null | null | null | tests/TestScript/__init__.py | NTUTVisualScript/GeometrA | 2f78df3bbe17a08022a1ca66ee889f4ed5a42728 | [
"Apache-2.0"
] | null | null | null | from tests.TestScript.test_TestScript import TestScriptTestSuite
from tests.TestScript.test_TestCase import TestCaseTestSuite
from tests.TestScript.test_Step import StepTestSuite
from tests.TestScript.test_Executor import ExecutorTestSuite
from tests.TestScript.test_ExecutorAction import ExecutorActionTestSuite
| 52.166667 | 72 | 0.904153 | 35 | 313 | 7.942857 | 0.4 | 0.161871 | 0.341727 | 0.413669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063898 | 313 | 5 | 73 | 62.6 | 0.948805 | 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 | 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 | 6 |
a21bb0742b00847bb8532c686d6edb506525b1cc | 21,040 | py | Python | generator_recsys.py | siat-nlp/CpRec | c3b5d0b3a77d72c81eee203335aef2997c51708a | [
"MIT"
] | 16 | 2020-05-09T08:42:32.000Z | 2022-03-03T10:51:38.000Z | generator_recsys.py | fajieyuan/CpRec | c3b5d0b3a77d72c81eee203335aef2997c51708a | [
"MIT"
] | 1 | 2020-10-26T19:59:11.000Z | 2020-10-26T19:59:11.000Z | generator_recsys.py | fajieyuan/CpRec | c3b5d0b3a77d72c81eee203335aef2997c51708a | [
"MIT"
] | 4 | 2020-05-05T11:53:41.000Z | 2021-09-08T14:15:14.000Z | import tensorflow as tf
import ops_compress
from BlockWiseEmbedding import BlockWiseEmbeddingForInput as bl
from BlockWiseEmbedding import BlockWiseEmbeddingForSoftmax as bs
import time
class NextItNet_Decoder:
def __init__(self, model_para):
self.model_para = model_para
embedding_width = model_p... | 63.757576 | 173 | 0.624667 | 2,589 | 21,040 | 4.763229 | 0.088837 | 0.123338 | 0.0506 | 0.0759 | 0.861174 | 0.840983 | 0.819332 | 0.802303 | 0.787058 | 0.774084 | 0 | 0.01393 | 0.256179 | 21,040 | 329 | 174 | 63.951368 | 0.774058 | 0.147243 | 0 | 0.596567 | 0 | 0 | 0.167469 | 0.016562 | 0 | 0 | 0 | 0 | 0.008584 | 1 | 0.021459 | false | 0 | 0.021459 | 0 | 0.051502 | 0.077253 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
bf5d4a5611c405bedcd8eba69ac783db3cc85958 | 124 | py | Python | rate_limiter/limiter.py | zmcx16/Norn-Finance-API-Server | acbaa032925fea35a3fc05d1a7a9030a652bf064 | [
"MIT"
] | 5 | 2021-12-12T16:38:27.000Z | 2022-03-05T00:15:36.000Z | rate_limiter/limiter.py | zmcx16/Norn-Finance-API-Server | acbaa032925fea35a3fc05d1a7a9030a652bf064 | [
"MIT"
] | null | null | null | rate_limiter/limiter.py | zmcx16/Norn-Finance-API-Server | acbaa032925fea35a3fc05d1a7a9030a652bf064 | [
"MIT"
] | 2 | 2022-01-28T08:35:06.000Z | 2022-03-24T05:56:23.000Z | from slowapi import Limiter
from slowapi.util import get_remote_address
app_limiter = Limiter(key_func=get_remote_address)
| 24.8 | 50 | 0.862903 | 19 | 124 | 5.315789 | 0.578947 | 0.217822 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 4 | 51 | 31 | 0.901786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 6 |
bfa74de00bdd02f82209084ca01cf9c9c7b32a62 | 10,970 | py | Python | oc_ocdm/counter_handler/test/test_in_memory_counter_handler.py | arcangelo7/oc_ocdm | 128d062ce9d858024aafd26d7d238c7a26cc8914 | [
"0BSD"
] | 1 | 2020-12-17T15:33:01.000Z | 2020-12-17T15:33:01.000Z | oc_ocdm/counter_handler/test/test_in_memory_counter_handler.py | arcangelo7/oc_ocdm | 128d062ce9d858024aafd26d7d238c7a26cc8914 | [
"0BSD"
] | 26 | 2021-01-08T08:32:23.000Z | 2022-03-29T10:01:40.000Z | oc_ocdm/counter_handler/test/test_in_memory_counter_handler.py | arcangelo7/oc_ocdm | 128d062ce9d858024aafd26d7d238c7a26cc8914 | [
"0BSD"
] | 3 | 2021-04-16T08:44:44.000Z | 2022-02-15T11:09:22.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (c) 2016, Silvio Peroni <essepuntato@gmail.com>
#
# Permission to use, copy, modify, and/or distribute this software for any purpose
# with or without fee is hereby granted, provided that the above copyright notice
# and this permission notice appear in all copies.
... | 49.192825 | 111 | 0.651778 | 1,266 | 10,970 | 5.443918 | 0.106635 | 0.138131 | 0.172374 | 0.062681 | 0.866947 | 0.860708 | 0.839524 | 0.837057 | 0.825305 | 0.816744 | 0 | 0.01708 | 0.242115 | 10,970 | 222 | 112 | 49.414414 | 0.811884 | 0.072197 | 0 | 0.694915 | 0 | 0 | 0.070944 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.039548 | false | 0 | 0.011299 | 0 | 0.056497 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
44ea7b31d33f672fdf99b94258ec2f82eca54fee | 8,788 | py | Python | vast_pipeline/tests/test_regression/test_epoch_forced.py | askap-vast/vast-pipeline | d66fe87975eedfa30d925ca20af03df45d183696 | [
"MIT"
] | 3 | 2021-05-21T21:32:52.000Z | 2021-09-11T10:05:31.000Z | vast_pipeline/tests/test_regression/test_epoch_forced.py | askap-vast/vast-pipeline | d66fe87975eedfa30d925ca20af03df45d183696 | [
"MIT"
] | 89 | 2021-05-21T21:25:28.000Z | 2022-03-31T21:40:59.000Z | vast_pipeline/tests/test_regression/test_epoch_forced.py | askap-vast/vast-pipeline | d66fe87975eedfa30d925ca20af03df45d183696 | [
"MIT"
] | 1 | 2021-06-24T02:22:42.000Z | 2021-06-24T02:22:42.000Z | import os
import pandas as pd
import unittest
import glob
import shutil
from vast_pipeline.tests.test_regression import compare_runs, property_check, gen_config
from vast_pipeline.tests.test_regression.make_testdir import make_testdir
from django.conf import settings as s
from django.test import TestCase, override_se... | 30.303448 | 88 | 0.574761 | 1,018 | 8,788 | 4.740668 | 0.130648 | 0.028595 | 0.047659 | 0.051181 | 0.814546 | 0.793203 | 0.75114 | 0.742644 | 0.742644 | 0.742644 | 0 | 0.021513 | 0.32294 | 8,788 | 289 | 89 | 30.408305 | 0.78958 | 0.115612 | 0 | 0.630841 | 0 | 0 | 0.110123 | 0.015921 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03271 | false | 0 | 0.046729 | 0 | 0.093458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
780b5628500471b10f8b4a83d40ad8bd0989dac9 | 24 | py | Python | ArrayPil/__init__.py | Daniil-7/ArrayPil | 994c0fd1e1c9baeaa3203ec7b1c6920dd2df1ec5 | [
"MIT"
] | null | null | null | ArrayPil/__init__.py | Daniil-7/ArrayPil | 994c0fd1e1c9baeaa3203ec7b1c6920dd2df1ec5 | [
"MIT"
] | null | null | null | ArrayPil/__init__.py | Daniil-7/ArrayPil | 994c0fd1e1c9baeaa3203ec7b1c6920dd2df1ec5 | [
"MIT"
] | null | null | null | from .ArrayPil import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 | 1 | 0 | 0 | 6 |
786d124e5d37fa7c472571d700c4a13bacd4df90 | 32 | py | Python | convoy/__init__.py | frain-dev/convoy-python | 7607a6b65615cc83c38bfb7dba4ad6ed564860bc | [
"MIT"
] | null | null | null | convoy/__init__.py | frain-dev/convoy-python | 7607a6b65615cc83c38bfb7dba4ad6ed564860bc | [
"MIT"
] | null | null | null | convoy/__init__.py | frain-dev/convoy-python | 7607a6b65615cc83c38bfb7dba4ad6ed564860bc | [
"MIT"
] | null | null | null | from convoy.convoy import Convoy | 32 | 32 | 0.875 | 5 | 32 | 5.6 | 0.6 | 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 | 1 | 0 | 0 | 6 |
787e4c9d3d86572be88739579c1a210740d682f1 | 105 | py | Python | Chapter 07/Chap07_Example7.34.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.34.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.34.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | myl1 = [11,12,13,14,15]
print(myl1.pop(2)) # P1
print(myl1) # P2
print(myl1.pop()) # P3
print(myl1) # P4
| 17.5 | 23 | 0.619048 | 21 | 105 | 3.095238 | 0.619048 | 0.553846 | 0.369231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.142857 | 105 | 5 | 24 | 21 | 0.5 | 0.104762 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
789f1093b048a771610e487b927c938f923c73ca | 35 | py | Python | py/pyis-python/pyis/python/ops/__init__.py | microsoft/python-inference-script | cbbbe9d16be0839e4df357b1bd9e8274ca44f1f7 | [
"MIT"
] | 5 | 2021-11-29T01:49:22.000Z | 2022-02-23T10:26:46.000Z | py/pyis-python/pyis/python/ops/__init__.py | microsoft/python-inference-script | cbbbe9d16be0839e4df357b1bd9e8274ca44f1f7 | [
"MIT"
] | 1 | 2021-11-01T02:22:32.000Z | 2021-11-01T02:22:32.000Z | py/pyis-python/pyis/python/ops/__init__.py | microsoft/python-inference-script | cbbbe9d16be0839e4df357b1bd9e8274ca44f1f7 | [
"MIT"
] | null | null | null | from ..lib.pyis_python.ops import * | 35 | 35 | 0.771429 | 6 | 35 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.8125 | 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 | 1 | 0 | 0 | 6 |
1520e77111f4961208bae64952eda25a1fe36d00 | 1,254 | py | Python | iriusrisk-python-client-lib/iriusrisk_python_client_lib/api/__init__.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | iriusrisk-python-client-lib/iriusrisk_python_client_lib/api/__init__.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | iriusrisk-python-client-lib/iriusrisk_python_client_lib/api/__init__.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from iriusrisk_python_client_lib.api.components_api import ComponentsApi
from iriusrisk_python_client_lib.api.controls_api import ControlsApi
from iriusrisk_python_client_lib.api.countermeasures_api import CountermeasuresApi
from iri... | 54.521739 | 82 | 0.904306 | 184 | 1,254 | 5.755435 | 0.271739 | 0.208687 | 0.305005 | 0.401322 | 0.497639 | 0.497639 | 0 | 0 | 0 | 0 | 0 | 0.000854 | 0.066188 | 1,254 | 22 | 83 | 57 | 0.903501 | 0.032695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
152fdb30f6426aeb1cc631fc95a94a96d3276abe | 38 | py | Python | selenium_cmd/__init__.py | patkle/selenium-cmd | 1560f4a5cf41f15b4cfbb5798259f123e8d43dfb | [
"MIT"
] | 1 | 2021-01-12T07:42:32.000Z | 2021-01-12T07:42:32.000Z | selenium_cmd/__init__.py | patkle/selenium-cmd | 1560f4a5cf41f15b4cfbb5798259f123e8d43dfb | [
"MIT"
] | null | null | null | selenium_cmd/__init__.py | patkle/selenium-cmd | 1560f4a5cf41f15b4cfbb5798259f123e8d43dfb | [
"MIT"
] | null | null | null | from .selenium_cmd import SeleniumCmd
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15322cbc75de9d38391adc65eecfc2eece082315 | 24,162 | py | Python | opensearch/api/default_api.py | Timandes/opensearch-python | 70152155cf338f4710fef89a8a12efa0f7adf483 | [
"Apache-2.0"
] | null | null | null | opensearch/api/default_api.py | Timandes/opensearch-python | 70152155cf338f4710fef89a8a12efa0f7adf483 | [
"Apache-2.0"
] | null | null | null | opensearch/api/default_api.py | Timandes/opensearch-python | 70152155cf338f4710fef89a8a12efa0f7adf483 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Copyright 2019 Alibaba Group Holding Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required b... | 46.73501 | 196 | 0.652761 | 2,938 | 24,162 | 5.064329 | 0.099387 | 0.050339 | 0.028833 | 0.035486 | 0.892802 | 0.865515 | 0.858122 | 0.853686 | 0.853082 | 0.837489 | 0 | 0.017398 | 0.257802 | 24,162 | 516 | 197 | 46.825581 | 0.812301 | 0.349681 | 0 | 0.654412 | 0 | 0.007353 | 0.257965 | 0.092066 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033088 | false | 0 | 0.014706 | 0 | 0.095588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
ec9088684ceb40ae189503411567a58993cf4350 | 37 | py | Python | dags/get_data_instagram.py | chilldenaya/letsgobali | 145eedcdd3e658eb929b75f96e174d8d7c5e0384 | [
"Apache-2.0"
] | null | null | null | dags/get_data_instagram.py | chilldenaya/letsgobali | 145eedcdd3e658eb929b75f96e174d8d7c5e0384 | [
"Apache-2.0"
] | null | null | null | dags/get_data_instagram.py | chilldenaya/letsgobali | 145eedcdd3e658eb929b75f96e174d8d7c5e0384 | [
"Apache-2.0"
] | null | null | null | def get_data_instagram():
return
| 12.333333 | 25 | 0.72973 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 2 | 26 | 18.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
eca11821a7871db6b8a2a03ae83e3b7ca1df0e50 | 110 | py | Python | hyaml/methods/prelude/number.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | 3 | 2020-04-12T15:55:11.000Z | 2021-08-02T16:26:21.000Z | hyaml/methods/prelude/number.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | null | null | null | hyaml/methods/prelude/number.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | null | null | null | def is_even(n):
return n % 2 == 0
def is_odd(n):
return not is_even(n)
def gigabytes(n):
pass
| 10 | 25 | 0.581818 | 21 | 110 | 2.904762 | 0.52381 | 0.163934 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.290909 | 110 | 10 | 26 | 11 | 0.75641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.166667 | 0 | 0.333333 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
eca309a21b271417a9764b9d5bf4542ffba4cc64 | 36,820 | py | Python | src/nmb_model.py | HYUNMIN-HWANG/image-gpt | 457bbb212d8435d4bb20a416120301359cb3686b | [
"MIT"
] | null | null | null | src/nmb_model.py | HYUNMIN-HWANG/image-gpt | 457bbb212d8435d4bb20a416120301359cb3686b | [
"MIT"
] | null | null | null | src/nmb_model.py | HYUNMIN-HWANG/image-gpt | 457bbb212d8435d4bb20a416120301359cb3686b | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
from tensorflow.contrib.training import HParams
def default_hparams():
return HParams(
n_vocab=0,
n_ctx=1024,
n_embd=768,
n_head=12,
n_layer=12,
)
def shape_list(x):
"""Deal with dynamic shape in tensorflow cleanly."""
... | 64.710018 | 174 | 0.662276 | 6,163 | 36,820 | 3.834658 | 0.051436 | 0.06199 | 0.058351 | 0.200059 | 0.784962 | 0.766005 | 0.758558 | 0.751619 | 0.745779 | 0.742479 | 0 | 0.133552 | 0.163172 | 36,820 | 569 | 175 | 64.710018 | 0.633455 | 0.037099 | 0 | 0.125 | 0 | 0 | 0.062533 | 0.0091 | 0 | 0 | 0 | 0 | 0.02 | 1 | 0.11 | false | 0 | 0.015 | 0.02 | 0.23 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
ecd07f819ddee03868595c7fe77a71b0570937e2 | 167 | py | Python | pineboolib/fllegacy/flsqlcursor.py | juanjosepablos/pineboo | f6ce515aec6e0139821bb9c1d62536d9fb50dae4 | [
"MIT"
] | 2 | 2017-12-10T23:06:16.000Z | 2017-12-10T23:06:23.000Z | pineboolib/fllegacy/flsqlcursor.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 36 | 2017-11-05T21:13:47.000Z | 2020-08-26T15:56:15.000Z | pineboolib/fllegacy/flsqlcursor.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 8 | 2017-11-05T15:56:31.000Z | 2019-04-25T16:32:28.000Z | """Flsqlcursor module."""
from pineboolib.application.database import pnsqlcursor
class FLSqlCursor(pnsqlcursor.PNSqlCursor):
"""FLSqlCursor class."""
pass
| 18.555556 | 55 | 0.748503 | 15 | 167 | 8.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131737 | 167 | 8 | 56 | 20.875 | 0.862069 | 0.227545 | 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 | 1 | 0 | 0 | 6 |
ecddc854eceabf389976b41f73345120ae95446f | 152 | py | Python | jupyterlab2pymolpysnips/FetchFileFromPDB/fetchCIF.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/FetchFileFromPDB/fetchCIF.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/FetchFileFromPDB/fetchCIF.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | """
cmd.do('fetch ${1:3nd4}, type=cif, async=0;')
"""
cmd.do('fetch 3nd4, type=cif, async=0;')
# Description: Fetch cif file.
# Source: placeHolder
| 16.888889 | 45 | 0.625 | 23 | 152 | 4.130435 | 0.565217 | 0.105263 | 0.210526 | 0.336842 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 0.144737 | 152 | 8 | 46 | 19 | 0.676923 | 0.638158 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
179e17d17b6f49c3a2fb9fc3516e9af384c39c1d | 232 | py | Python | inac8hr/entities/statics.py | th-bunratta/8hr.insomniac | 5173500a1ad7197096d513b38258aa65b035fcf3 | [
"BSD-3-Clause"
] | null | null | null | inac8hr/entities/statics.py | th-bunratta/8hr.insomniac | 5173500a1ad7197096d513b38258aa65b035fcf3 | [
"BSD-3-Clause"
] | null | null | null | inac8hr/entities/statics.py | th-bunratta/8hr.insomniac | 5173500a1ad7197096d513b38258aa65b035fcf3 | [
"BSD-3-Clause"
] | null | null | null | from inac8hr.globals import *
from inac8hr.utils import LocationUtil
from inac8hr.particles import Bullet
from inac8hr.entities import SelectableUnit, Unit
import time
import random
class AnimatedStaticUnit(AnimatedUnit):
pass | 23.2 | 49 | 0.836207 | 28 | 232 | 6.928571 | 0.607143 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019704 | 0.125 | 232 | 10 | 50 | 23.2 | 0.935961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.75 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bd5d3f04dfb9dee47c4fa12f5986ceaadbf6ed4f | 145 | py | Python | shebang/oneroom/admin.py | KNU-shebang/Shebang | 117d6d55344442d76def5c7682ab826ea2521d15 | [
"MIT"
] | 2 | 2017-03-18T07:43:58.000Z | 2017-05-02T16:21:42.000Z | shebang/oneroom/admin.py | KNU-shebang/Shebang | 117d6d55344442d76def5c7682ab826ea2521d15 | [
"MIT"
] | 2 | 2017-03-24T09:24:35.000Z | 2017-05-02T14:48:21.000Z | shebang/oneroom/admin.py | KNU-shebang/Shebang | 117d6d55344442d76def5c7682ab826ea2521d15 | [
"MIT"
] | 1 | 2020-10-18T18:38:14.000Z | 2020-10-18T18:38:14.000Z | from django.contrib import admin
from oneroom.models import *
admin.site.register(Room)
admin.site.register(Comment)
admin.site.register(Gate)
| 18.125 | 32 | 0.806897 | 21 | 145 | 5.571429 | 0.571429 | 0.230769 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089655 | 145 | 7 | 33 | 20.714286 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bd86366dd11793ca470abf95f027448ddecf2365 | 4,078 | py | Python | examples/decode_dataframe.py | justinwald99/can_decoder | abfdd839856745f88b3fc3a58c8bedbdd05d5616 | [
"MIT"
] | 17 | 2020-08-18T02:34:57.000Z | 2022-03-16T16:26:53.000Z | examples/decode_dataframe.py | justinwald99/can_decoder | abfdd839856745f88b3fc3a58c8bedbdd05d5616 | [
"MIT"
] | 4 | 2020-09-09T04:18:28.000Z | 2022-02-23T10:29:14.000Z | examples/decode_dataframe.py | justinwald99/can_decoder | abfdd839856745f88b3fc3a58c8bedbdd05d5616 | [
"MIT"
] | 3 | 2021-08-18T18:30:43.000Z | 2022-02-21T07:11:09.000Z | import can_decoder
import mdf_iter
from pathlib import Path
def setup_fs():
"""Helper function to setup the file system for the examples.
"""
from fsspec.implementations.local import LocalFileSystem
fs = LocalFileSystem()
return fs
def example_decode_using_dateframe_j1939_a():
"""... | 32.624 | 114 | 0.689799 | 550 | 4,078 | 4.898182 | 0.205455 | 0.057906 | 0.040089 | 0.060134 | 0.856347 | 0.845954 | 0.84484 | 0.803267 | 0.803267 | 0.803267 | 0 | 0.031676 | 0.225846 | 4,078 | 124 | 115 | 32.887097 | 0.821666 | 0.322462 | 0 | 0.642857 | 0 | 0 | 0.135493 | 0.062224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.017857 | 0.071429 | 0 | 0.214286 | 0.107143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
bdad628064118e908f6921a569f61c55bd6ccd62 | 318 | py | Python | dispike/errors/network.py | Squidtoon99/dispike | db4b1a12268afcc87a96003923e6f56139872f0e | [
"MIT"
] | null | null | null | dispike/errors/network.py | Squidtoon99/dispike | db4b1a12268afcc87a96003923e6f56139872f0e | [
"MIT"
] | null | null | null | dispike/errors/network.py | Squidtoon99/dispike | db4b1a12268afcc87a96003923e6f56139872f0e | [
"MIT"
] | null | null | null | class DiscordAPIError(Exception):
# TODO: Add detection for more distinct exceptions based on api codes.
def __init__(self, status_code, request_text):
self.message = f"Discord API returned an unexpected response back [{status_code}]: {request_text}"
def __str__(self):
return self.message | 45.428571 | 106 | 0.726415 | 41 | 318 | 5.341463 | 0.756098 | 0.091324 | 0.155251 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191824 | 318 | 7 | 107 | 45.428571 | 0.85214 | 0.213836 | 0 | 0 | 0 | 0 | 0.321285 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
da030297f98630cd2a0f68ed3ebf9f562f3a30f6 | 37 | py | Python | week_schedule/__init__.py | JacobHilbert/week_schedule | 39a94ca954bd4a077312320d8bcce66e3886243f | [
"MIT"
] | null | null | null | week_schedule/__init__.py | JacobHilbert/week_schedule | 39a94ca954bd4a077312320d8bcce66e3886243f | [
"MIT"
] | null | null | null | week_schedule/__init__.py | JacobHilbert/week_schedule | 39a94ca954bd4a077312320d8bcce66e3886243f | [
"MIT"
] | null | null | null | from .schedule import schedule_figure | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da26294e42db010ced0c282c9aea3b5ca9ddeefc | 2,547 | py | Python | common/xrd-ui-tests-qautomate/common_lib/component_ss_backup.py | ria-ee/XTM | 6103f3f5bbba387b8b59b050c0c4f1fb2180fc37 | [
"MIT"
] | 3 | 2018-03-15T14:22:50.000Z | 2021-11-08T10:30:35.000Z | common/xrd-ui-tests-qautomate/common_lib/component_ss_backup.py | ria-ee/XTM | 6103f3f5bbba387b8b59b050c0c4f1fb2180fc37 | [
"MIT"
] | 11 | 2017-04-06T09:25:41.000Z | 2018-06-04T09:08:48.000Z | common/xrd-ui-tests-qautomate/common_lib/component_ss_backup.py | ria-ee/XTM | 6103f3f5bbba387b8b59b050c0c4f1fb2180fc37 | [
"MIT"
] | 20 | 2017-03-14T07:21:58.000Z | 2019-05-21T09:26:30.000Z | # -*- coding: utf-8 -*-
from webframework import TESTDATA
from selenium.webdriver.common.by import By
from webframework.extension.util.common_utils import *
from time import sleep
from pagemodel.ss_backup_restore import Ss_backup_restore
from pagemodel.ss_backup_restore_back_up_config import Ss_backup_restore_back_up_c... | 45.482143 | 137 | 0.748724 | 335 | 2,547 | 5.170149 | 0.173134 | 0.17552 | 0.320439 | 0.177829 | 0.808891 | 0.733834 | 0.645497 | 0.595266 | 0.474596 | 0.474596 | 0 | 0.015116 | 0.168826 | 2,547 | 55 | 138 | 46.309091 | 0.803023 | 0.414998 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.363636 | 0 | 0.681818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da4d0bfcc82a5ea1d9d193343dc28189d1326d86 | 123 | py | Python | app/blueprint/management/__init__.py | NTUT-108-SE/CMS-Backend | 1daa37960ba61f935da5174516f0a2e411b68706 | [
"MIT"
] | null | null | null | app/blueprint/management/__init__.py | NTUT-108-SE/CMS-Backend | 1daa37960ba61f935da5174516f0a2e411b68706 | [
"MIT"
] | null | null | null | app/blueprint/management/__init__.py | NTUT-108-SE/CMS-Backend | 1daa37960ba61f935da5174516f0a2e411b68706 | [
"MIT"
] | 1 | 2019-10-12T02:48:16.000Z | 2019-10-12T02:48:16.000Z | from flask import Blueprint
management = Blueprint('management', __name__, url_prefix='/management')
from . import index
| 20.5 | 72 | 0.780488 | 14 | 123 | 6.5 | 0.642857 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 123 | 5 | 73 | 24.6 | 0.842593 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 6 |
e528c9f728e6bdd164111a41c510fc4c40213fe9 | 950 | py | Python | test/test_common_integration_action.py | Logicworks/opsgenie-python-sdk | 244c4c40ddcc25e70df5ba4425ab8d7c8da59c18 | [
"Apache-2.0"
] | null | null | null | test/test_common_integration_action.py | Logicworks/opsgenie-python-sdk | 244c4c40ddcc25e70df5ba4425ab8d7c8da59c18 | [
"Apache-2.0"
] | null | null | null | test/test_common_integration_action.py | Logicworks/opsgenie-python-sdk | 244c4c40ddcc25e70df5ba4425ab8d7c8da59c18 | [
"Apache-2.0"
] | 1 | 2020-11-07T11:27:13.000Z | 2020-11-07T11:27:13.000Z | # coding: utf-8
"""
OpsGenie REST API
OpsGenie OpenAPI Specification # noqa: E501
OpenAPI spec version: 2.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import opsgenie_swagger
from opsgenie_swagger.models.comm... | 23.170732 | 107 | 0.728421 | 100 | 950 | 6.71 | 0.56 | 0.089419 | 0.056632 | 0.080477 | 0.131148 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0.016993 | 0.194737 | 950 | 40 | 108 | 23.75 | 0.860131 | 0.442105 | 0 | 0.214286 | 1 | 0 | 0.016393 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e53f4b656a9d1a82a63ab88e51388d3c53aae8e2 | 203 | py | Python | libtbx/command_line/show_numpy_version.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | libtbx/command_line/show_numpy_version.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | libtbx/command_line/show_numpy_version.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
def run():
try: import numpy
except ImportError: print("None")
else: print(numpy.__version__)
if (__name__ == "__main__"):
run()
| 22.555556 | 64 | 0.73399 | 25 | 203 | 5.24 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147783 | 203 | 8 | 65 | 25.375 | 0.757225 | 0 | 0 | 0 | 0 | 0 | 0.059113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0.428571 | 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 | 1 | 0 | 6 |
0061bf2655a9bd3eb46edc9fd68024064fd5c444 | 189 | py | Python | prml/nn/array/__init__.py | jinmang2/PRML | 8f8270cbae986c607f3cc6f89afefd58fa69fadd | [
"MIT"
] | 11,017 | 2017-07-03T03:06:25.000Z | 2022-03-30T18:47:20.000Z | prml/nn/array/__init__.py | jinmang2/PRML | 8f8270cbae986c607f3cc6f89afefd58fa69fadd | [
"MIT"
] | 21 | 2017-08-13T01:35:41.000Z | 2022-03-21T06:25:09.000Z | prml/nn/array/__init__.py | jinmang2/PRML | 8f8270cbae986c607f3cc6f89afefd58fa69fadd | [
"MIT"
] | 3,417 | 2017-07-05T12:55:52.000Z | 2022-03-30T18:47:27.000Z | from prml.nn.array.array import Array, array, asarray
from prml.nn.array.reshape import reshape_method
from prml.nn.function import broadcast, broadcast_to
Array.reshape = reshape_method
| 27 | 53 | 0.825397 | 29 | 189 | 5.275862 | 0.37931 | 0.156863 | 0.196078 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10582 | 189 | 6 | 54 | 31.5 | 0.905325 | 0 | 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 | 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 | 6 |
00755ac4568f783da4326416b42ba6899bf03698 | 40 | py | Python | a.py | pythonghLYQ/test | 898a181edc72fd1474f6c776bf3748cc3673c92c | [
"MIT"
] | null | null | null | a.py | pythonghLYQ/test | 898a181edc72fd1474f6c776bf3748cc3673c92c | [
"MIT"
] | null | null | null | a.py | pythonghLYQ/test | 898a181edc72fd1474f6c776bf3748cc3673c92c | [
"MIT"
] | null | null | null | n = 1
n1 = 2
n2 = 333
n2 = 3
n3 = 44
| 4.444444 | 8 | 0.425 | 10 | 40 | 1.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0.45 | 40 | 8 | 9 | 5 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 6 |
008235b138ded56522ec4557b45d1ab1ef29f081 | 7,667 | py | Python | tests/kyu_7_tests/test_naughty_or_nice.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_7_tests/test_naughty_or_nice.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_7_tests/test_naughty_or_nice.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_7.naughty_or_nice import naughty_or_nice
class NaughtyOrNiceTestCase(unittest.TestCase):
def test_equals(self):
self.assertEqual(naughty_or_nice({
'January': {
'1': 'Naughty', '2': 'Nice', '3': 'Naughty', '4': 'Nice',
'5': 'Nice',... | 58.083333 | 77 | 0.357376 | 769 | 7,667 | 3.552666 | 0.076723 | 0.018302 | 0.021962 | 0.029283 | 0.894217 | 0.863104 | 0.843338 | 0.75183 | 0.729868 | 0.592606 | 0 | 0.124376 | 0.346681 | 7,667 | 131 | 78 | 58.526718 | 0.421042 | 0 | 0 | 0.226563 | 0 | 0 | 0.33742 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 1 | 0.007813 | false | 0 | 0.015625 | 0 | 0.03125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
00c9329e0d245f741d19eac1d6f684a37d886655 | 88 | py | Python | dynpaper/__init__.py | Minimalistic/dynpaper | 6f96baea5f19ad0b61ec2ea095013ef659df7df9 | [
"BSD-3-Clause"
] | null | null | null | dynpaper/__init__.py | Minimalistic/dynpaper | 6f96baea5f19ad0b61ec2ea095013ef659df7df9 | [
"BSD-3-Clause"
] | null | null | null | dynpaper/__init__.py | Minimalistic/dynpaper | 6f96baea5f19ad0b61ec2ea095013ef659df7df9 | [
"BSD-3-Clause"
] | null | null | null | from .dynpaper import main as dpmain
from sys import argv
def main():
dpmain(argv)
| 14.666667 | 36 | 0.727273 | 14 | 88 | 4.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 88 | 5 | 37 | 17.6 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
972750c6ea94187422f5081d998854ea15b4af11 | 520 | py | Python | web_app/app/routes.py | 4398TempleSpring2020/cscapstoneproject-infinitetrivia | 9b0d307a447f519bef1b6dabe93c73b2d1f329e3 | [
"MIT"
] | 1 | 2020-05-18T06:14:21.000Z | 2020-05-18T06:14:21.000Z | web_app/app/routes.py | ahmadsaad007/cscapstoneproject-infinitetrivia | 0dc590754c96c253e10a6613bff1c7c41baee75d | [
"MIT"
] | 3 | 2020-04-06T18:11:29.000Z | 2020-04-09T21:01:23.000Z | web_app/app/routes.py | ahmadsaad007/cscapstoneproject-infinitetrivia | 0dc590754c96c253e10a6613bff1c7c41baee75d | [
"MIT"
] | 2 | 2020-05-18T06:08:25.000Z | 2020-07-08T04:37:41.000Z | from flask import render_template
from flask_login import login_required, current_user
from app import app
@app.route('/')
@app.route('/index')
def index():
return render_template("index.html")
@app.route('/create_room')
def create_room_page():
return render_template("create_room.html")
@app.route('/logi... | 19.259259 | 69 | 0.744231 | 71 | 520 | 5.225352 | 0.28169 | 0.188679 | 0.215633 | 0.19407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117308 | 520 | 26 | 70 | 20 | 0.808279 | 0 | 0 | 0 | 0 | 0 | 0.167308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | true | 0 | 0.176471 | 0.235294 | 0.647059 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
972a0ca7dcf059c89d49c5902c159a2d9490144a | 199 | py | Python | src/myrtlespeech/run/stage.py | SerailHydra/myrtlespeech | 7dc6930d1d2dacefcb304d41f3de2eaf4b5207ff | [
"BSD-3-Clause"
] | 11 | 2019-10-24T05:24:38.000Z | 2020-08-13T15:05:29.000Z | src/myrtlespeech/run/stage.py | SerailHydra/myrtlespeech | 7dc6930d1d2dacefcb304d41f3de2eaf4b5207ff | [
"BSD-3-Clause"
] | 20 | 2019-10-17T16:20:35.000Z | 2021-03-15T10:49:04.000Z | src/myrtlespeech/run/stage.py | SerailHydra/myrtlespeech | 7dc6930d1d2dacefcb304d41f3de2eaf4b5207ff | [
"BSD-3-Clause"
] | 1 | 2019-11-04T18:38:27.000Z | 2019-11-04T18:38:27.000Z | import enum
from myrtlespeech.protos import stage_pb2
class Stage(enum.Enum):
TRAIN = stage_pb2.Stage.TRAIN
EVAL = stage_pb2.Stage.EVAL
TRAIN_AND_EVAL = stage_pb2.Stage.TRAIN_AND_EVAL
| 19.9 | 51 | 0.768844 | 31 | 199 | 4.677419 | 0.354839 | 0.22069 | 0.268966 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.160804 | 199 | 9 | 52 | 22.111111 | 0.844311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
973112cc9ef3c148874316e9a670548a032b17ce | 5,616 | py | Python | privacygan/cifar/cifar_gan.py | microsoft/privGAN | 37e3484baf3b5a4d16b5f593a3f22d5a8d2da91b | [
"MIT"
] | 17 | 2020-07-23T10:39:03.000Z | 2021-12-30T01:21:41.000Z | privacygan/cifar/cifar_gan.py | microsoft/privGAN | 37e3484baf3b5a4d16b5f593a3f22d5a8d2da91b | [
"MIT"
] | 2 | 2020-09-26T01:20:56.000Z | 2020-10-29T20:05:20.000Z | privacygan/cifar/cifar_gan.py | microsoft/privGAN | 37e3484baf3b5a4d16b5f593a3f22d5a8d2da91b | [
"MIT"
] | 11 | 2020-07-23T12:09:13.000Z | 2022-01-28T20:32:14.000Z | #Copyright (c) Microsoft Corporation. All rights reserved.
#Licensed under the MIT License.
from tensorflow.keras import Sequential
from tensorflow.keras.layers import Dense, Dropout, Flatten, LeakyReLU, Reshape, Conv2DTranspose, Conv2D
from tensorflow.keras.optimizers import Adam
from tensorflow.keras import initia... | 51.054545 | 117 | 0.612892 | 696 | 5,616 | 4.900862 | 0.145115 | 0.079156 | 0.105541 | 0.123131 | 0.784228 | 0.767224 | 0.767224 | 0.732923 | 0.732337 | 0.69657 | 0 | 0.062748 | 0.236645 | 5,616 | 109 | 118 | 51.522936 | 0.732913 | 0.10933 | 0 | 0.701299 | 0 | 0 | 0.057739 | 0.00628 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038961 | false | 0 | 0.064935 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
976e5b7cc9cf1af807e94cd797ad3ac58d6ff300 | 56 | py | Python | RoguePy/UI/__init__.py | v4nz666/mustached-archer | b9c7787e299a2d67b69e802bce9ea2e7ed7b3f99 | [
"MIT"
] | 7 | 2015-03-24T23:52:21.000Z | 2019-10-01T21:26:48.000Z | RoguePy/UI/__init__.py | v4nz666/MineClimbeR-L- | b9c7787e299a2d67b69e802bce9ea2e7ed7b3f99 | [
"MIT"
] | 52 | 2015-03-12T00:49:34.000Z | 2021-09-28T18:01:03.000Z | RoguePy/UI/__init__.py | v4nz666/MineClimbeR-L- | b9c7787e299a2d67b69e802bce9ea2e7ed7b3f99 | [
"MIT"
] | null | null | null | from UI import UI
from View import View
import Elements
| 14 | 21 | 0.821429 | 10 | 56 | 4.6 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 56 | 3 | 22 | 18.666667 | 1 | 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 | 1 | 0 | 0 | 6 |
9788076ac00ac12c3d7841511cf6549d671489c8 | 216 | py | Python | src/geoserver/util.py | slavas62/gsconfig | c016f7ec9a1c8773354d2eda73f29216bde73138 | [
"MIT"
] | null | null | null | src/geoserver/util.py | slavas62/gsconfig | c016f7ec9a1c8773354d2eda73f29216bde73138 | [
"MIT"
] | null | null | null | src/geoserver/util.py | slavas62/gsconfig | c016f7ec9a1c8773354d2eda73f29216bde73138 | [
"MIT"
] | null | null | null | # shapefile_and_friends = None
# shapefile_plus_sidecars = shapefile_and_friends("test/data/states")
def shapefile_and_friends(path):
return dict((ext, path + "." + ext) for ext in ['shx', 'shp', 'dbf', 'prj'])
| 36 | 80 | 0.699074 | 30 | 216 | 4.766667 | 0.666667 | 0.251748 | 0.398601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134259 | 216 | 5 | 81 | 43.2 | 0.764706 | 0.444444 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
978d1bb114deae6e8038e24606fef035eec4e30a | 78 | py | Python | backend/phonebook/phonebook/settings/test.py | unmade/phonebook | 121b2e5bb2eb217f5e183aa0c39a6d12f227d5e3 | [
"MIT"
] | null | null | null | backend/phonebook/phonebook/settings/test.py | unmade/phonebook | 121b2e5bb2eb217f5e183aa0c39a6d12f227d5e3 | [
"MIT"
] | null | null | null | backend/phonebook/phonebook/settings/test.py | unmade/phonebook | 121b2e5bb2eb217f5e183aa0c39a6d12f227d5e3 | [
"MIT"
] | null | null | null | from .base import * # pylint: disable=wildcard-import,unused-wildcard-import
| 39 | 77 | 0.782051 | 10 | 78 | 6.1 | 0.7 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 1 | 78 | 78 | 0.871429 | 0.692308 | 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 | 1 | 0 | 0 | 6 |
979fabe6d90a439caebc5b34f2de97c664011c86 | 371 | py | Python | mlreflect/training/__init__.py | schreiber-lab/mlreflect | 88a80ccac48461cc8934a46041726b70e469c6b8 | [
"MIT"
] | null | null | null | mlreflect/training/__init__.py | schreiber-lab/mlreflect | 88a80ccac48461cc8934a46041726b70e469c6b8 | [
"MIT"
] | null | null | null | mlreflect/training/__init__.py | schreiber-lab/mlreflect | 88a80ccac48461cc8934a46041726b70e469c6b8 | [
"MIT"
] | null | null | null | from .noise_generator import NoiseGenerator, NoiseGeneratorLog, UniformNoiseGenerator
from .prediction import Prediction
from .preprocessing import InputPreprocessor, OutputPreprocessor
from .training import Trainer
__all__ = ['NoiseGenerator', 'NoiseGeneratorLog', 'UniformNoiseGenerator', 'Prediction', 'InputPreproce... | 46.375 | 109 | 0.811321 | 28 | 371 | 10.571429 | 0.5 | 0.209459 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107817 | 371 | 7 | 110 | 53 | 0.89426 | 0 | 0 | 0 | 0 | 0 | 0.280323 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | 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 | 6 |
97aa82bc2c6e9edc25d5b2a9a347b75c0f21290c | 104 | py | Python | backend/beedare/main/views.py | gijs3ntius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | null | null | null | backend/beedare/main/views.py | gijs3ntius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | 17 | 2020-06-05T18:27:11.000Z | 2022-03-11T23:24:50.000Z | backend/beedare/main/views.py | gijsentius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | null | null | null | from flask import jsonify
from . import *
@main.route('/')
def index():
return jsonify({}), 200
| 10.4 | 27 | 0.625 | 13 | 104 | 5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.211538 | 104 | 9 | 28 | 11.555556 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
97c2a64782ca656f19eafe2d8dbdd0284eb9419a | 256 | py | Python | AutotestWebD/apps/myadmin/service/AdminLoginService.py | yangjourney/sosotest | 2e88099a829749910ca325253c9b1a2e368d21a0 | [
"MIT"
] | 422 | 2019-08-18T05:04:20.000Z | 2022-03-31T06:49:19.000Z | AutotestWebD/apps/myadmin/service/AdminLoginService.py | LinSongJian1985/sosotest | 091863dee531b5726650bb63efd6f169267cbeb4 | [
"MIT"
] | 10 | 2019-10-24T09:55:38.000Z | 2021-09-29T17:28:43.000Z | AutotestWebD/apps/myadmin/service/AdminLoginService.py | LinSongJian1985/sosotest | 091863dee531b5726650bb63efd6f169267cbeb4 | [
"MIT"
] | 202 | 2019-08-18T05:04:27.000Z | 2022-03-30T05:57:18.000Z | import apps.common.func.InitDjango
from all_models.models import *
class AdminLoginService(object):
@staticmethod
def getUserLoginType(loginName,passWord):
return TbAdminUser.objects.filter(loginName=loginName, passWord=passWord, state=1) | 32 | 90 | 0.789063 | 28 | 256 | 7.178571 | 0.785714 | 0.169154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004464 | 0.125 | 256 | 8 | 90 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
8ae1edd33eb05c35a8a76b21917fc9fddcdd294d | 201 | py | Python | graceful-grasshoppers/PySpace/posts/admin.py | georgemunyoro/summer-code-jam-2021 | 21084688a4c4315ff6aa40e28706fcafe1c77a27 | [
"MIT"
] | 40 | 2020-08-02T07:38:22.000Z | 2021-07-26T01:46:50.000Z | graceful-grasshoppers/PySpace/posts/admin.py | georgemunyoro/summer-code-jam-2021 | 21084688a4c4315ff6aa40e28706fcafe1c77a27 | [
"MIT"
] | 134 | 2020-07-31T12:15:45.000Z | 2020-12-13T04:42:19.000Z | graceful-grasshoppers/PySpace/posts/admin.py | georgemunyoro/summer-code-jam-2021 | 21084688a4c4315ff6aa40e28706fcafe1c77a27 | [
"MIT"
] | 101 | 2020-07-31T12:00:47.000Z | 2021-11-01T09:06:58.000Z | from django.contrib import admin
from .models import Post, Like, Dislike, PostComment
admin.site.register(Post)
admin.site.register(Dislike)
admin.site.register(Like)
admin.site.register(PostComment)
| 25.125 | 52 | 0.81592 | 28 | 201 | 5.857143 | 0.428571 | 0.219512 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079602 | 201 | 7 | 53 | 28.714286 | 0.886486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c1092990e1de84632a09d5b777dd00edb2334254 | 233 | py | Python | jeri/core/models/manager/__init__.py | fmorgner/jeri | 5b33411c0e25375e3e5928fc044581a24c56f3ad | [
"BSD-3-Clause"
] | null | null | null | jeri/core/models/manager/__init__.py | fmorgner/jeri | 5b33411c0e25375e3e5928fc044581a24c56f3ad | [
"BSD-3-Clause"
] | null | null | null | jeri/core/models/manager/__init__.py | fmorgner/jeri | 5b33411c0e25375e3e5928fc044581a24c56f3ad | [
"BSD-3-Clause"
] | null | null | null | from jeri.core.models.manager.object import ObjectManager # NOQA
from jeri.core.models.manager.related import RelatedManager # NOQA
from jeri.core.models.manager.error import ( # NOQA
FilterError,
MultipleResultsError,
)
| 29.125 | 67 | 0.776824 | 28 | 233 | 6.464286 | 0.5 | 0.132597 | 0.198895 | 0.298343 | 0.458564 | 0.320442 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141631 | 233 | 7 | 68 | 33.285714 | 0.905 | 0.060086 | 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 | 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 | 6 |
c10f1be477275452abfab2a3168b3cd42f49526a | 162 | py | Python | scripts/portal/240092200_down.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/240092200_down.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/240092200_down.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | if sm.hasQuestCompleted(31351): # Clean up 7
sm.warp(240092100, 2)
elif sm.hasQuestCompleted(31348):
sm.warp(240092101, 2)
else:
sm.warp(240092100, 2) | 27 | 44 | 0.703704 | 24 | 162 | 4.75 | 0.583333 | 0.157895 | 0.263158 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301471 | 0.160494 | 162 | 6 | 45 | 27 | 0.536765 | 0.061728 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
c16406f91675ec71308b50f48574874a1511f2d2 | 67 | py | Python | Reading Data/lesson-13-querying-vancouver-crimes/tests/test_crime_types_2.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | null | null | null | Reading Data/lesson-13-querying-vancouver-crimes/tests/test_crime_types_2.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | 2 | 2022-01-11T21:04:51.000Z | 2022-01-11T21:05:05.000Z | Reading Data/lesson-13-querying-vancouver-crimes/tests/test_crime_types_2.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | null | null | null | def test_crime_types_2():
assert crime_types_count.sum() == 64
| 22.333333 | 40 | 0.731343 | 11 | 67 | 4 | 0.818182 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.149254 | 67 | 2 | 41 | 33.5 | 0.719298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c18d7f061ae625a2110d10e448c3fb9a70a2b24a | 101 | py | Python | pts/model/n_beats/__init__.py | StatMixedML/pytorch-ts | 4bc2d247c70c59479d359d13d2db5739227307e8 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-06-26T15:12:01.000Z | 2020-06-26T15:12:01.000Z | pts/model/n_beats/__init__.py | StatMixedML/pytorch-ts | 4bc2d247c70c59479d359d13d2db5739227307e8 | [
"Apache-2.0",
"MIT"
] | null | null | null | pts/model/n_beats/__init__.py | StatMixedML/pytorch-ts | 4bc2d247c70c59479d359d13d2db5739227307e8 | [
"Apache-2.0",
"MIT"
] | null | null | null | from .n_beats_estimator import NBEATSEstimator
from .n_beats_ensemble import NBEATSEnsembleEstimator
| 33.666667 | 53 | 0.90099 | 12 | 101 | 7.25 | 0.666667 | 0.114943 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 2 | 54 | 50.5 | 0.935484 | 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 | 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 | 6 |
c1bd4dbb5d061bfa8acaad25546f19ef98dd8196 | 12,393 | py | Python | pyaz/backup/protection/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/backup/protection/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/backup/protection/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage protection of your items, enable protection or disable it, or take on-demand backups.
'''
from ... pyaz_utils import _call_az
def check_vm(resource_group=None, vm=None, vm_id=None):
'''
Find out whether the virtual machine is protected or not. If protected, it returns the recovery services vault ID,... | 65.920213 | 345 | 0.75817 | 1,750 | 12,393 | 5.248571 | 0.113714 | 0.026783 | 0.029396 | 0.035384 | 0.789439 | 0.785411 | 0.760806 | 0.758084 | 0.74295 | 0.74295 | 0 | 0.000197 | 0.179133 | 12,393 | 187 | 346 | 66.272727 | 0.902684 | 0.770596 | 0 | 0 | 0 | 0 | 0.166883 | 0.031128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.478261 | false | 0 | 0.043478 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c1c2f835973648f5b3e9bdd7e0be67d9196d7368 | 246 | py | Python | app/controllers/report.py | FelixWolf/mpbb | c18e8995f9903b7a0907542af391f6f2be4e711a | [
"Unlicense"
] | null | null | null | app/controllers/report.py | FelixWolf/mpbb | c18e8995f9903b7a0907542af391f6f2be4e711a | [
"Unlicense"
] | null | null | null | app/controllers/report.py | FelixWolf/mpbb | c18e8995f9903b7a0907542af391f6f2be4e711a | [
"Unlicense"
] | null | null | null | from app import app, render_template
from flask import request
@app.route('/report')
def showReport():
return render_template("report.htm")
@app.route('/login', methods=['POST'])
def doReport():
return render_template("login_sent.htm")
| 22.363636 | 44 | 0.727642 | 33 | 246 | 5.30303 | 0.545455 | 0.24 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 246 | 10 | 45 | 24.6 | 0.810185 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
de025b6ede3c6731ef73c0236142b51c513f7aa3 | 121 | py | Python | holobot/discord/sdk/actions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/discord/sdk/actions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/discord/sdk/actions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .action_base import ActionBase
from .do_nothing_action import DoNothingAction
from .reply_action import ReplyAction
| 30.25 | 46 | 0.876033 | 16 | 121 | 6.375 | 0.625 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 3 | 47 | 40.333333 | 0.93578 | 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 | 1 | 0 | 0 | 6 |
a9a4dc73f969d95f1a7928a80d758cda4ad88b96 | 556 | py | Python | nbtex/core/operators/UnaryFormatting.py | narang99/pytex | 75c0a5bada8859a1ecad98305647fdbeb6cd85ce | [
"MIT"
] | 1 | 2020-08-27T18:02:42.000Z | 2020-08-27T18:02:42.000Z | nbtex/core/operators/UnaryFormatting.py | narang99/pytex | 75c0a5bada8859a1ecad98305647fdbeb6cd85ce | [
"MIT"
] | null | null | null | nbtex/core/operators/UnaryFormatting.py | narang99/pytex | 75c0a5bada8859a1ecad98305647fdbeb6cd85ce | [
"MIT"
] | null | null | null | from nbtex.core.operators.Operator import InvertibleOperator
from nbtex.core.Precedence import PRECEDENCE
from nbtex.LatexInterface.LatexFormatters import LatexBasicFormatter
def make_subscript(base, subs):
return base + LatexBasicFormatter.subscript(subs)
Subscript = InvertibleOperator(PRECEDENCE.POWER, make_s... | 39.714286 | 79 | 0.854317 | 53 | 556 | 8.924528 | 0.396226 | 0.236786 | 0.27907 | 0.32981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077338 | 556 | 13 | 80 | 42.769231 | 0.922027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a9c787907e082a6ba997bc0f1ce5adda8750ec2d | 143 | py | Python | briq/briq/database/mongo_setup.py | roshansathya/quotes_application | eeaf4a732cc23509bac70ada8f9f5e91de4acb06 | [
"MIT"
] | null | null | null | briq/briq/database/mongo_setup.py | roshansathya/quotes_application | eeaf4a732cc23509bac70ada8f9f5e91de4acb06 | [
"MIT"
] | null | null | null | briq/briq/database/mongo_setup.py | roshansathya/quotes_application | eeaf4a732cc23509bac70ada8f9f5e91de4acb06 | [
"MIT"
] | null | null | null | import mongoengine
from settings import DB_ALIAS, DB_NAME
def global_init():
mongoengine.register_connection(alias=DB_ALIAS, name=DB_NAME) | 28.6 | 65 | 0.825175 | 21 | 143 | 5.333333 | 0.571429 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 5 | 65 | 28.6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e76aad4d743fd2d353d8cd17e3b8bf061d24761b | 13,987 | py | Python | choix/lsr.py | dbdr/choix | b12f302c08251216af4d7ce833aec9a8d6fafbf7 | [
"MIT"
] | 117 | 2017-01-04T14:34:11.000Z | 2022-03-30T21:41:16.000Z | choix/lsr.py | dbdr/choix | b12f302c08251216af4d7ce833aec9a8d6fafbf7 | [
"MIT"
] | 22 | 2017-01-09T03:33:59.000Z | 2022-03-12T02:22:34.000Z | choix/lsr.py | dbdr/choix | b12f302c08251216af4d7ce833aec9a8d6fafbf7 | [
"MIT"
] | 27 | 2017-02-22T13:59:11.000Z | 2021-07-21T17:36:40.000Z | """(Iterative) Luce Spectral Ranking and related inference algorithms."""
import functools
import numpy as np
from .convergence import NormOfDifferenceTest
from .utils import exp_transform, log_transform, statdist
def _init_lsr(n_items, alpha, initial_params):
"""Initialize the LSR Markov chain and the weights.... | 35.681122 | 79 | 0.678201 | 1,849 | 13,987 | 5.043807 | 0.117902 | 0.044606 | 0.035385 | 0.058975 | 0.856959 | 0.847416 | 0.832082 | 0.810422 | 0.806562 | 0.791014 | 0 | 0.008948 | 0.232931 | 13,987 | 391 | 80 | 35.772379 | 0.860285 | 0.674483 | 0 | 0.350649 | 0 | 0 | 0.010124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.051948 | 0 | 0.337662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
e7d3171597944c62fbd12c44217d0bfec09a0ddf | 27 | py | Python | src/wann_genetic/postopt/__init__.py | plonerma/wann-genetic | c4a8a1db81665b2549994d615e1d347dbe00226a | [
"MIT"
] | 4 | 2018-11-03T13:58:52.000Z | 2020-03-06T09:19:03.000Z | src/wann_genetic/postopt/__init__.py | plonerma/wann-genetic | c4a8a1db81665b2549994d615e1d347dbe00226a | [
"MIT"
] | 92 | 2018-05-17T18:07:01.000Z | 2022-03-29T00:37:30.000Z | src/reporter/reporter/__init__.py | tomasfarias/pipeline | e32f1d34fef1cc9fb534e244e71f41276a979002 | [
"MIT"
] | 4 | 2020-07-01T12:20:55.000Z | 2022-01-24T20:09:15.000Z | from .report import Report
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 | 1 | 0 | 0 | 6 |
e7dde53f6c4f4e4dfa3d77cccf7579cd39c51275 | 1,048 | py | Python | common.py | sankovalev/vk_reg_bot | a9ad89b768d99a15d8bca0aa0e266a429a733ed1 | [
"MIT"
] | 2 | 2019-08-16T19:36:41.000Z | 2020-01-27T11:19:54.000Z | common.py | sankovalev/vk_reg_bot | a9ad89b768d99a15d8bca0aa0e266a429a733ed1 | [
"MIT"
] | null | null | null | common.py | sankovalev/vk_reg_bot | a9ad89b768d99a15d8bca0aa0e266a429a733ed1 | [
"MIT"
] | 2 | 2020-01-27T11:20:00.000Z | 2021-03-25T16:53:47.000Z | import MySQLdb
from settings import DB_params as p
def check_register(user_id):
db=MySQLdb.connect(host=p['host'], user=p['user'], passwd=p['passwd'], db=p['db'], charset = "utf8", use_unicode = True)
c=db.cursor()
c.execute("""SELECT count(*) FROM Students WHERE idVK=%s""", [str(user_id)])
count = c.fetch... | 32.75 | 123 | 0.622137 | 163 | 1,048 | 3.920245 | 0.276074 | 0.056338 | 0.050078 | 0.070423 | 0.785603 | 0.785603 | 0.785603 | 0.785603 | 0.785603 | 0.785603 | 0 | 0.008092 | 0.174618 | 1,048 | 32 | 124 | 32.75 | 0.730636 | 0 | 0 | 0.655172 | 0 | 0 | 0.172545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0.103448 | 0.068966 | 0 | 0.344828 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
99e8db6715baefee2ba1fcb821cc85eb747a4489 | 886 | py | Python | pdg_mp3_converter/converter.py | PaulusDeGross/pdg-mp3-converter | 3b6bf30e71d0a2871f59b95925e25735f9cb3257 | [
"MIT"
] | null | null | null | pdg_mp3_converter/converter.py | PaulusDeGross/pdg-mp3-converter | 3b6bf30e71d0a2871f59b95925e25735f9cb3257 | [
"MIT"
] | null | null | null | pdg_mp3_converter/converter.py | PaulusDeGross/pdg-mp3-converter | 3b6bf30e71d0a2871f59b95925e25735f9cb3257 | [
"MIT"
] | null | null | null | import os
from pathlib import Path
from colorama import Fore
def square(s: str) -> str:
return '+' + '-' * (len(s) + 2) + '+\n| ' + s + ' |\n+' + '-' * (len(s) + 2) + '+'
def mp4ToMp3(path, name):
try:
base = path
os.rename(path, f'{name}.mp3')
print(f'{Fore.GREEN}{square(... | 38.521739 | 133 | 0.586907 | 125 | 886 | 4.16 | 0.36 | 0.061538 | 0.019231 | 0.057692 | 0.769231 | 0.769231 | 0.769231 | 0.769231 | 0.769231 | 0.769231 | 0 | 0.014706 | 0.232506 | 886 | 23 | 134 | 38.521739 | 0.75 | 0 | 0 | 0.421053 | 0 | 0.210526 | 0.473988 | 0.175723 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.157895 | 0.052632 | 0.368421 | 0.105263 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
418d2fc09132800839f8e35b8133516fea3bd8cd | 182 | py | Python | notifications/urls.py | muremwa/NSP | 578349872041f7b080ee3c6346f9a82e63bd94c9 | [
"MIT"
] | 20 | 2018-08-02T15:10:30.000Z | 2019-05-15T14:38:06.000Z | notifications/urls.py | muremwa/NSP | 578349872041f7b080ee3c6346f9a82e63bd94c9 | [
"MIT"
] | 55 | 2018-06-19T04:31:56.000Z | 2018-07-19T17:42:00.000Z | notifications/urls.py | muremwa/NSP | 578349872041f7b080ee3c6346f9a82e63bd94c9 | [
"MIT"
] | 10 | 2018-08-03T10:42:16.000Z | 2019-01-31T10:07:57.000Z | from django.urls import path
from . import views
urlpatterns = [
# notification/mark-all-as-read/
path('mark-all-as-read/', views.mark_all_as_read, name='mark-all-read'),
]
| 22.75 | 76 | 0.703297 | 28 | 182 | 4.464286 | 0.464286 | 0.224 | 0.216 | 0.312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 182 | 7 | 77 | 26 | 0.801282 | 0.164835 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
41b671e9676dbb0b76071f65d9585a03d27e237c | 5,587 | py | Python | v2/model/backbone/darknet53.py | kimyoon-young/Stronger-yolo | ff6c08f71e9907d83a990ca09f8afc96619a37d9 | [
"MIT"
] | 8 | 2020-06-21T02:10:19.000Z | 2021-11-26T08:33:17.000Z | v2/model/backbone/darknet53.py | juzigithub/Stronger-yolo | 8ee94e8cc195ea36bfab56374c5cea36377803a6 | [
"MIT"
] | null | null | null | v2/model/backbone/darknet53.py | juzigithub/Stronger-yolo | 8ee94e8cc195ea36bfab56374c5cea36377803a6 | [
"MIT"
] | 4 | 2019-11-21T04:12:32.000Z | 2021-08-08T17:18:59.000Z | # coding: utf-8
import sys
import os
sys.path.append(os.path.abspath('../..'))
from model.layers import *
def darknet53(input_data, training):
with tf.variable_scope('darknet53'):
with tf.variable_scope('stage0'):
conv = convolutional(name='conv0', input_data=input_data, filters_shape=(3, 3, ... | 69.8375 | 106 | 0.597458 | 607 | 5,587 | 5.261944 | 0.102142 | 0.087351 | 0.105823 | 0.129618 | 0.876331 | 0.864746 | 0.853788 | 0.845335 | 0.768629 | 0.720413 | 0 | 0.089295 | 0.304457 | 5,587 | 80 | 107 | 69.8375 | 0.73263 | 0.002327 | 0 | 0.380282 | 0 | 0 | 0.051498 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.042254 | 0 | 0.070423 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
41c4629a81a87c13606ea1fc2965a228f44f0410 | 13,334 | py | Python | library/sources/core/yepCore_Subtract_Haswell.py | rguthrie3/Yeppp-Mirror | 23cc725a7489d376558bef3e92e31fda014b6c47 | [
"BSD-3-Clause"
] | 1 | 2020-11-07T13:33:14.000Z | 2020-11-07T13:33:14.000Z | library/sources/core/yepCore_Subtract_Haswell.py | rguthrie3/Yeppp-Mirror | 23cc725a7489d376558bef3e92e31fda014b6c47 | [
"BSD-3-Clause"
] | null | null | null | library/sources/core/yepCore_Subtract_Haswell.py | rguthrie3/Yeppp-Mirror | 23cc725a7489d376558bef3e92e31fda014b6c47 | [
"BSD-3-Clause"
] | null | null | null | from peachpy.x86_64 import *
from peachpy import *
from kernels.binop.binop_VV_V import binop_VV_V
from kernels.binop.binop_VS_V import binop_VS_V
from kernels.binop.binop_IVV_IV import binop_IVV_IV
from common.YepStatus import *
# =======================================================================
# ============... | 38.537572 | 80 | 0.671066 | 1,939 | 13,334 | 4.301702 | 0.046931 | 0.04316 | 0.050354 | 0.057547 | 0.926867 | 0.917036 | 0.909723 | 0.906846 | 0.906846 | 0.906846 | 0 | 0.04674 | 0.130343 | 13,334 | 345 | 81 | 38.649275 | 0.67256 | 0.071621 | 0 | 0.6625 | 0 | 0 | 0.163633 | 0.072393 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
68ca74006fb789157d5c6b537a5c395707ffa57d | 45 | py | Python | copper/ui/panels/scene_view_panel/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 6 | 2016-07-28T13:59:34.000Z | 2021-12-28T05:44:15.000Z | copper/ui/panels/scene_view_panel/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 5 | 2016-06-30T10:19:25.000Z | 2022-03-11T23:19:01.000Z | copper/ui/panels/scene_view_panel/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 3 | 2019-03-18T05:17:10.000Z | 2020-02-14T06:56:40.000Z | from .scene_view_panel import SceneViewPanel
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 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 | 1 | 0 | 0 | 6 |
ec232eecbfeae250d4d81545fb0052d57f7b8405 | 11,159 | py | Python | datagym/models/label_config.py | datagym-ai/datagym-python | 65b5b2edaba1d401b08007e86a787585a88b33ae | [
"BSD-3-Clause"
] | 4 | 2020-04-28T23:00:15.000Z | 2022-03-21T19:34:10.000Z | datagym/models/label_config.py | datagym-ai/datagym-python | 65b5b2edaba1d401b08007e86a787585a88b33ae | [
"BSD-3-Clause"
] | 2 | 2022-02-07T10:34:33.000Z | 2022-02-07T10:53:46.000Z | datagym/models/label_config.py | datagym-ai/datagym-python | 65b5b2edaba1d401b08007e86a787585a88b33ae | [
"BSD-3-Clause"
] | null | null | null | from typing import Dict, List
class LabelConfig:
def __init__(self):
super().__init__()
self.label_config = list()
def toJson(self):
export_list = [dict(item) for item in self.label_config]
return export_list
def append_entry(self, entry: "Label", overwrite_duplicate: bo... | 32.533528 | 116 | 0.524061 | 1,120 | 11,159 | 4.923214 | 0.091964 | 0.071092 | 0.052231 | 0.057127 | 0.776387 | 0.773123 | 0.765506 | 0.755894 | 0.724701 | 0.645267 | 0 | 0.002073 | 0.394659 | 11,159 | 342 | 117 | 32.628655 | 0.814212 | 0.068286 | 0 | 0.701887 | 0 | 0 | 0.018962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139623 | false | 0 | 0.003774 | 0.026415 | 0.260377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b4de5fb2d84e3bc26a0399347a09c00d54a89f0 | 123 | py | Python | noxer/tests/test_import.py | noxer-org/noxer | 45fa20ac7452c4b9c8ab5ea3f93ab47f41ad29cd | [
"MIT"
] | 1 | 2017-10-19T02:14:56.000Z | 2017-10-19T02:14:56.000Z | noxer/tests/test_import.py | noxer-org/noxer | 45fa20ac7452c4b9c8ab5ea3f93ab47f41ad29cd | [
"MIT"
] | 1 | 2017-10-02T16:12:36.000Z | 2017-10-02T16:12:36.000Z | noxer/tests/test_import.py | noxer-org/noxer | 45fa20ac7452c4b9c8ab5ea3f93ab47f41ad29cd | [
"MIT"
] | 2 | 2017-10-02T12:49:08.000Z | 2017-10-19T02:14:58.000Z | """
Tests whether basic functionality and names
can be imported from noxer
"""
def test_import():
import noxer as nx
| 15.375 | 44 | 0.723577 | 18 | 123 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203252 | 123 | 7 | 45 | 17.571429 | 0.897959 | 0.577236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b88b4f697649683302c47b6257829d1510dda00 | 71 | py | Python | hci/__init__.py | acburigo/python-hci | 60b369e0780143a09b5801e8d06ddc8203613ce0 | [
"MIT"
] | 16 | 2017-11-28T18:06:40.000Z | 2022-02-11T09:19:40.000Z | hci/hci/__init__.py | tmart234/BLE-LL | a4acb5de8f81de2f44713a509ee1baf67daf93cf | [
"MIT"
] | 3 | 2017-12-19T11:19:55.000Z | 2018-01-04T18:32:44.000Z | hci/__init__.py | acburigo/python-hci | 60b369e0780143a09b5801e8d06ddc8203613ce0 | [
"MIT"
] | 9 | 2017-12-18T19:39:10.000Z | 2022-01-25T01:43:03.000Z | from .hci_packet import HciPacket
from .from_binary import from_binary
| 23.666667 | 36 | 0.859155 | 11 | 71 | 5.272727 | 0.545455 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 37 | 35.5 | 0.920635 | 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 | 1 | 0 | 0 | 6 |
6bdede46c50c5d616e741d5e55d20c6ff7a7d94d | 120 | py | Python | sga/__init__.py | ggarrett13/genetic-algorithm-example | 02dc8664245728fff74c54493c504ec1e7bae482 | [
"MIT"
] | 1 | 2020-08-10T15:29:59.000Z | 2020-08-10T15:29:59.000Z | sga/__init__.py | ggarrett13/genetic-algorithm-example | 02dc8664245728fff74c54493c504ec1e7bae482 | [
"MIT"
] | null | null | null | sga/__init__.py | ggarrett13/genetic-algorithm-example | 02dc8664245728fff74c54493c504ec1e7bae482 | [
"MIT"
] | null | null | null | from .chromosome import *
from .gene import *
from .operators import *
from .population import *
from .strategy import * | 24 | 25 | 0.758333 | 15 | 120 | 6.066667 | 0.466667 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 120 | 5 | 26 | 24 | 0.90099 | 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 | 1 | 0 | 0 | 6 |
d41c2b7313861f9de0d779db223590466781bc72 | 7,358 | py | Python | sfs/fd/nfchoa.py | mgeier/sfs-python | c89f53d08a1f631e41dfe39f6cafe57c8ca48055 | [
"MIT"
] | 49 | 2015-01-07T19:04:21.000Z | 2022-03-22T18:15:15.000Z | sfs/fd/nfchoa.py | mgeier/sfs-python | c89f53d08a1f631e41dfe39f6cafe57c8ca48055 | [
"MIT"
] | 115 | 2015-11-03T09:17:10.000Z | 2021-06-06T12:27:29.000Z | sfs/fd/nfchoa.py | mgeier/sfs-python | c89f53d08a1f631e41dfe39f6cafe57c8ca48055 | [
"MIT"
] | 19 | 2015-08-15T13:07:50.000Z | 2022-03-22T18:15:22.000Z | """Compute NFC-HOA driving functions.
.. include:: math-definitions.rst
.. plot::
:context: reset
import matplotlib.pyplot as plt
import numpy as np
import sfs
plt.rcParams['figure.figsize'] = 6, 6
xs = -1.5, 1.5, 0
# normal vector for plane wave:
npw = sfs.util.direction_vector(np.... | 30.915966 | 81 | 0.609812 | 1,047 | 7,358 | 4.141356 | 0.160458 | 0.103782 | 0.055351 | 0.051891 | 0.803736 | 0.783441 | 0.762685 | 0.755996 | 0.752306 | 0.738469 | 0 | 0.029687 | 0.258358 | 7,358 | 237 | 82 | 31.046414 | 0.764889 | 0.628839 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.1 | 0 | 0.22 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
d425b25f41e7099cb3171c0aad3bfc9026f4fbbe | 150 | py | Python | python/demo_queries/publication_details/taxa_by_publication_title.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | null | null | null | python/demo_queries/publication_details/taxa_by_publication_title.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | 6 | 2020-01-30T16:52:47.000Z | 2021-06-02T00:59:48.000Z | python/demo_queries/publication_details/taxa_by_publication_title.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | null | null | null | from src.query import *
if __name__ == '__main__':
ask_query("[[Publication title::Proc. Amer. Acad. Arts]]", "taxa_in_proc_amer_acad_arts.csv")
| 30 | 97 | 0.713333 | 22 | 150 | 4.227273 | 0.772727 | 0.172043 | 0.258065 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 150 | 4 | 98 | 37.5 | 0.709924 | 0 | 0 | 0 | 0 | 0 | 0.56 | 0.206667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d43379da5431148011408a14223ad758e5c872ea | 58 | py | Python | python/examples/triage/__init__.py | carsonharmon/binaryninja-api | f7ad332ad69d370aa29cd54f4c7307da4d9173e2 | [
"MIT"
] | 589 | 2016-04-11T11:32:33.000Z | 2022-03-30T09:49:37.000Z | python/examples/triage/__init__.py | carsonharmon/binaryninja-api | f7ad332ad69d370aa29cd54f4c7307da4d9173e2 | [
"MIT"
] | 2,744 | 2016-04-11T02:47:37.000Z | 2022-03-31T21:05:09.000Z | python/examples/triage/__init__.py | carsonharmon/binaryninja-api | f7ad332ad69d370aa29cd54f4c7307da4d9173e2 | [
"MIT"
] | 178 | 2016-04-15T00:47:05.000Z | 2022-03-24T10:42:54.000Z | from . import view
from . import byte
from . import files
| 14.5 | 19 | 0.741379 | 9 | 58 | 4.777778 | 0.555556 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 3 | 20 | 19.333333 | 0.934783 | 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 | 1 | 0 | 0 | 6 |
d456e6aef132f13fe638429065f6215d98a7813e | 5,019 | py | Python | faq-capture-actions/actions/publish_api_client.py | uphop/faq-bot | 02f316cff3f570d6eb9a459c4e3d1957706a4e9a | [
"MIT"
] | null | null | null | faq-capture-actions/actions/publish_api_client.py | uphop/faq-bot | 02f316cff3f570d6eb9a459c4e3d1957706a4e9a | [
"MIT"
] | 1 | 2021-03-27T11:03:50.000Z | 2021-03-27T11:03:50.000Z | faq-capture-actions/actions/publish_api_client.py | uphop/faq-bot | 02f316cff3f570d6eb9a459c4e3d1957706a4e9a | [
"MIT"
] | 1 | 2021-12-21T17:59:39.000Z | 2021-12-21T17:59:39.000Z | import os
import requests
import json
import logging
logger = logging.getLogger(__name__)
"""
Wrapper for Publish API.
"""
class PublishApiClient:
def __init__(self):
# load configuration
self.PUBLISH_API_BASE_URL = os.getenv('PUBLISH_API_BASE_URL', 'http://localhost:5000')
def create_user(se... | 31.36875 | 94 | 0.595537 | 579 | 5,019 | 4.977548 | 0.115717 | 0.072866 | 0.053435 | 0.064886 | 0.848369 | 0.841083 | 0.841083 | 0.828938 | 0.826162 | 0.824774 | 0 | 0.009075 | 0.319386 | 5,019 | 159 | 95 | 31.566038 | 0.834602 | 0.127316 | 0 | 0.663265 | 0 | 0 | 0.121872 | 0.102641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102041 | false | 0 | 0.040816 | 0 | 0.244898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
2e837c4283636568a275d250f11ec037e9921bf6 | 203 | py | Python | netmiko/alcatel/__init__.py | wisotzky/netmiko | 161c7546313940ed448eef125bac03e0f621624d | [
"MIT"
] | null | null | null | netmiko/alcatel/__init__.py | wisotzky/netmiko | 161c7546313940ed448eef125bac03e0f621624d | [
"MIT"
] | null | null | null | netmiko/alcatel/__init__.py | wisotzky/netmiko | 161c7546313940ed448eef125bac03e0f621624d | [
"MIT"
] | null | null | null | from netmiko.alcatel.alcatel_sros_ssh import AlcatelSrosSSH, FileTransferSROS
from netmiko.alcatel.alcatel_aos_ssh import AlcatelAosSSH
__all__ = ["AlcatelSrosSSH", "AlcatelAosSSH", "FileTransferSROS"]
| 40.6 | 77 | 0.847291 | 21 | 203 | 7.809524 | 0.52381 | 0.134146 | 0.219512 | 0.304878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073892 | 203 | 4 | 78 | 50.75 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.211823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 6 |
2e898c36cd1f45617035f75ec2fae39a4e0f35e4 | 127 | py | Python | To_Celsius.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | To_Celsius.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | To_Celsius.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | def to_celsius(x):
return (x-32)*(5/9)
for x in range(0,101,10):
print("{:>3} F | {:>6.2F} C".format(x, to_celsius(x)))
| 21.166667 | 58 | 0.559055 | 27 | 127 | 2.555556 | 0.777778 | 0.26087 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 0.165354 | 127 | 5 | 59 | 25.4 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
cf85c885114166da186bce16e220a1aa8bc7104f | 19 | py | Python | mlir/python/mlir/dialects/linalg/opdsl/lang/__init__.py | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | mlir/python/mlir/dialects/linalg/opdsl/lang/__init__.py | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | mlir/python/mlir/dialects/linalg/opdsl/lang/__init__.py | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | from .dsl import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d85f608afcc32156bcd20fea254d84584a5fa3a1 | 165 | py | Python | LeetCode/973. k Closest Points to Origin.py | QinganZhao/LXXtCode | 9debb10f9d33dcdb3def9d141a638b8172d25ff3 | [
"MIT"
] | 3 | 2019-01-08T02:53:44.000Z | 2021-07-26T07:03:27.000Z | LeetCode/973. k Closest Points to Origin.py | QinganZhao/LXXtCode | 9debb10f9d33dcdb3def9d141a638b8172d25ff3 | [
"MIT"
] | null | null | null | LeetCode/973. k Closest Points to Origin.py | QinganZhao/LXXtCode | 9debb10f9d33dcdb3def9d141a638b8172d25ff3 | [
"MIT"
] | null | null | null | class Solution:
def kClosest(self, points: List[List[int]], K: int) -> List[List[int]]:
return sorted(points, key = lambda x: x[0] ** 2 + x[1] ** 2)[:K]
| 41.25 | 75 | 0.575758 | 27 | 165 | 3.518519 | 0.62963 | 0.168421 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.212121 | 165 | 3 | 76 | 55 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d874f98347118ca2d792e016e4aeeede1969a5b9 | 26,500 | py | Python | tools/generate_prediction_results.py | Steve-Mr/lanenet-lane-detection | 1c539d29ca119cc92a837f5bb54a169c33a57860 | [
"Apache-2.0"
] | null | null | null | tools/generate_prediction_results.py | Steve-Mr/lanenet-lane-detection | 1c539d29ca119cc92a837f5bb54a169c33a57860 | [
"Apache-2.0"
] | null | null | null | tools/generate_prediction_results.py | Steve-Mr/lanenet-lane-detection | 1c539d29ca119cc92a837f5bb54a169c33a57860 | [
"Apache-2.0"
] | null | null | null | import time
import tensorflow as tf
import argparse
import glob
import json
import os
import os.path as ops
import shutil
import matplotlib.pyplot as plt
from random import sample
import cv2
import tqdm
import numpy as np
from config import global_config
from lanenet_model import lanenet
from lanenet_model import la... | 42.332268 | 199 | 0.613887 | 3,315 | 26,500 | 4.614781 | 0.080845 | 0.056478 | 0.032161 | 0.027455 | 0.825794 | 0.787292 | 0.7718 | 0.760818 | 0.745784 | 0.705321 | 0 | 0.027837 | 0.273396 | 26,500 | 626 | 200 | 42.332268 | 0.766658 | 0.052943 | 0 | 0.611111 | 0 | 0.004831 | 0.047833 | 0.009094 | 0 | 0 | 0 | 0 | 0.002415 | 1 | 0.021739 | false | 0.002415 | 0.038647 | 0 | 0.07971 | 0.021739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
d88e6a1bbc68b4e5f11ed1ef7106d70511857164 | 4,205 | py | Python | pirates/leveleditor/worldData/SwampTestIslandA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/SwampTestIslandA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/SwampTestIslandA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Locator Links': [['1153868315.8sdnaik0', '1152910060.11sdnaik', 'Bi-directional'], ['1153868315.8sdnaik1', '1152910301.05sdnaik0', 'Bi-directional'], ['1153868634.75sdnaik0', '1152910060.11sdnaik0', 'Bi-directional'], ['1152910307.13sdnaik', '1153868634.75... | 2,102.5 | 4,158 | 0.674673 | 573 | 4,205 | 4.914485 | 0.265271 | 0.023438 | 0.023438 | 0.03125 | 0.538707 | 0.497159 | 0.365412 | 0.324929 | 0.212358 | 0.178267 | 0 | 0.303053 | 0.049703 | 4,205 | 2 | 4,158 | 2,102.5 | 0.401652 | 0 | 0 | 0 | 0 | 0 | 0.585117 | 0.257014 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d8b06cd3af12f76f61701dcb1e6dfe032c4bfdb7 | 26 | py | Python | addons14/project_status/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/project_status/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/project_status/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import test_status
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 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 | 1 | 0 | 0 | 6 |
d8fbf1afb1e8f9bd9928d6733ab70fbecf6f7c96 | 188 | py | Python | MyGPyOpt/objective_examples/__init__.py | Paul1298/GPyOpt | d26bd4fb57a0b83a5cdaa0e7e97aa3692eb31187 | [
"BSD-3-Clause"
] | null | null | null | MyGPyOpt/objective_examples/__init__.py | Paul1298/GPyOpt | d26bd4fb57a0b83a5cdaa0e7e97aa3692eb31187 | [
"BSD-3-Clause"
] | null | null | null | MyGPyOpt/objective_examples/__init__.py | Paul1298/GPyOpt | d26bd4fb57a0b83a5cdaa0e7e97aa3692eb31187 | [
"BSD-3-Clause"
] | 1 | 2021-03-22T17:21:15.000Z | 2021-03-22T17:21:15.000Z | # Copyright (c) 2016, the MyGPyOpt Authors
# Licensed under the BSD 3-clause license (see LICENSE.txt)
from . import experiments1d
from . import experiments2d
from . import experimentsNd
| 26.857143 | 59 | 0.781915 | 25 | 188 | 5.88 | 0.76 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044025 | 0.154255 | 188 | 6 | 60 | 31.333333 | 0.880503 | 0.521277 | 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 | 1 | 0 | 0 | 6 |
2b0f05726e45a07978c500265d94a0409b9f0330 | 9,061 | py | Python | test/LinkedList/test_linked_list_realization.py | shapovalovdev/AlgorythmsAndDataStructures | 34d5f38c089e0ba902813607f08847fbdc7361ab | [
"Apache-2.0"
] | null | null | null | test/LinkedList/test_linked_list_realization.py | shapovalovdev/AlgorythmsAndDataStructures | 34d5f38c089e0ba902813607f08847fbdc7361ab | [
"Apache-2.0"
] | null | null | null | test/LinkedList/test_linked_list_realization.py | shapovalovdev/AlgorythmsAndDataStructures | 34d5f38c089e0ba902813607f08847fbdc7361ab | [
"Apache-2.0"
] | null | null | null | import unittest
from src.LinkedList.linked_list_realization import Node, LinkedList
class TestLinkedList(unittest.TestCase):
def preparation_default(self):
n1=Node(12)
n2=Node(144)
n3=Node(55)
test_list=LinkedList()
test_list.add_in_tail(n1)
test_list.add_in... | 36.983673 | 89 | 0.633926 | 1,377 | 9,061 | 3.899056 | 0.058824 | 0.207115 | 0.145465 | 0.171913 | 0.829205 | 0.788229 | 0.723598 | 0.692308 | 0.67033 | 0.64742 | 0 | 0.060211 | 0.255822 | 9,061 | 245 | 90 | 36.983673 | 0.736023 | 0 | 0 | 0.674208 | 0 | 0 | 0.104282 | 0 | 0 | 0 | 0 | 0 | 0.217195 | 1 | 0.081448 | false | 0.004525 | 0.00905 | 0 | 0.099548 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2b4e0028a2e6d932f3fa792d44fd2bce5ac34537 | 31 | py | Python | model/__init__.py | Sytronik/denoising-wavenet-pytorch | f29471d9d0752f3599452bab9737e1d7b6809906 | [
"MIT"
] | 27 | 2019-08-08T11:48:26.000Z | 2022-01-04T13:37:17.000Z | model/__init__.py | Sytronik/denoising-wavenet-pytorch | f29471d9d0752f3599452bab9737e1d7b6809906 | [
"MIT"
] | 1 | 2020-07-15T11:29:31.000Z | 2020-07-22T12:18:22.000Z | model/__init__.py | Sytronik/denoising-wavenet-pytorch | f29471d9d0752f3599452bab9737e1d7b6809906 | [
"MIT"
] | 2 | 2020-11-18T01:27:30.000Z | 2020-12-02T12:48:39.000Z | from .dwavenet import DWaveNet
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 | 1 | 0 | 0 | 6 |
2b58c40b1004b51208b8eb59e1a640932ff79745 | 169 | py | Python | tests/test_running/test_running_no_input.py | Salimer/dcm2niixpy | 5c5b528c3c2c73f4b38de85755f923086596d020 | [
"MIT"
] | null | null | null | tests/test_running/test_running_no_input.py | Salimer/dcm2niixpy | 5c5b528c3c2c73f4b38de85755f923086596d020 | [
"MIT"
] | 142 | 2021-04-12T08:20:20.000Z | 2022-03-28T12:15:50.000Z | tests/test_running/test_running_no_input.py | Salimer/dcm2niixpy | 5c5b528c3c2c73f4b38de85755f923086596d020 | [
"MIT"
] | 1 | 2022-03-09T14:51:45.000Z | 2022-03-09T14:51:45.000Z | import dcm2niixpy.dcm2niix
# def test_standard_run():
# dcm2niix = dcm2niixpy.dcm2niix.DCM2NIIX()
# result = dcm2niix.convert("")
# assert result is None
| 18.777778 | 47 | 0.692308 | 18 | 169 | 6.388889 | 0.666667 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051471 | 0.195266 | 169 | 8 | 48 | 21.125 | 0.794118 | 0.769231 | 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 | 1 | 0 | 0 | 6 |
992ec8e8f1b65a6dda0c518af90b6f77d9699816 | 20 | py | Python | botdash/lib/__init__.py | Jetnox/botdash-py | 56c3782f7ba305503aac453fea7c279fed9b9408 | [
"MIT"
] | 1 | 2022-03-09T13:28:19.000Z | 2022-03-09T13:28:19.000Z | botdash/lib/__init__.py | Jetnox/botdash-py | 56c3782f7ba305503aac453fea7c279fed9b9408 | [
"MIT"
] | null | null | null | botdash/lib/__init__.py | Jetnox/botdash-py | 56c3782f7ba305503aac453fea7c279fed9b9408 | [
"MIT"
] | null | null | null | from .value import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
994080a5fbe7aea8212a649c03df838a96d0e90c | 61 | py | Python | discord/slash/__init__.py | AnimateShadows/discord.py | b29c16dda12c1940ce3e2f47f3a3397d45181fc5 | [
"MIT"
] | null | null | null | discord/slash/__init__.py | AnimateShadows/discord.py | b29c16dda12c1940ce3e2f47f3a3397d45181fc5 | [
"MIT"
] | null | null | null | discord/slash/__init__.py | AnimateShadows/discord.py | b29c16dda12c1940ce3e2f47f3a3397d45181fc5 | [
"MIT"
] | null | null | null | from .bot import *
from .cog import *
from .command import *
| 15.25 | 22 | 0.704918 | 9 | 61 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 23 | 20.333333 | 0.877551 | 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 | 1 | 0 | 0 | 6 |
9972201f64e4effc7fb640f84f0793d97ad78d1e | 184 | py | Python | env/Lib/site-packages/comtypes/gen/UIAutomationClient.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | 15 | 2018-05-16T02:39:01.000Z | 2021-05-22T13:12:55.000Z | env/Lib/site-packages/comtypes/gen/UIAutomationClient.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | null | null | null | env/Lib/site-packages/comtypes/gen/UIAutomationClient.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | 9 | 2018-05-16T00:47:34.000Z | 2021-11-26T05:39:48.000Z | from comtypes.gen import _944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0
globals().update(_944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0.__dict__)
__name__ = 'comtypes.gen.UIAutomationClient' | 61.333333 | 70 | 0.896739 | 27 | 184 | 5.222222 | 0.592593 | 0.156028 | 0.22695 | 0.283688 | 0.496454 | 0.496454 | 0.496454 | 0.496454 | 0 | 0 | 0 | 0.237288 | 0.038043 | 184 | 3 | 71 | 61.333333 | 0.559322 | 0 | 0 | 0 | 0 | 0 | 0.167568 | 0.167568 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
41d72d22ef9e05bb6e822008990458b2d132a43e | 31 | py | Python | barista/__init__.py | kjchavez/distributed-deep-q | f3660f30dbc4756433cab4a97e0ffba8e6e5c418 | [
"MIT"
] | 35 | 2015-06-03T23:53:58.000Z | 2021-10-07T09:56:09.000Z | barista/__init__.py | kjchavez/distributed-deep-q | f3660f30dbc4756433cab4a97e0ffba8e6e5c418 | [
"MIT"
] | null | null | null | barista/__init__.py | kjchavez/distributed-deep-q | f3660f30dbc4756433cab4a97e0ffba8e6e5c418 | [
"MIT"
] | 13 | 2015-06-14T16:22:59.000Z | 2021-09-29T01:22:27.000Z | from barista.constants import * | 31 | 31 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 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 | 1 | 0 | 0 | 6 |
5118e55f0640492f30e8fe966188728eebfd5ef1 | 48 | py | Python | pykuna/__init__.py | marthoc/pykuna | f5bf02f26e1931b35becde6e1da58fb8bb0cc2d8 | [
"MIT"
] | 4 | 2018-12-16T18:05:14.000Z | 2019-12-31T17:12:48.000Z | pykuna/__init__.py | marthoc/pykuna | f5bf02f26e1931b35becde6e1da58fb8bb0cc2d8 | [
"MIT"
] | 2 | 2019-05-08T17:22:25.000Z | 2020-03-10T20:52:42.000Z | pykuna/__init__.py | marthoc/pykuna | f5bf02f26e1931b35becde6e1da58fb8bb0cc2d8 | [
"MIT"
] | null | null | null | from .kuna import KunaAPI
from .errors import *
| 16 | 25 | 0.770833 | 7 | 48 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 26 | 24 | 0.925 | 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 | 1 | 0 | 0 | 6 |
5162e60921bfa3262cb662c4c539ecc3cdffc2de | 1,720 | py | Python | project/experiments/exp_800_mile_stone/src/old/27.5.2.0.generate_confirm_sig_exp.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | project/experiments/exp_800_mile_stone/src/old/27.5.2.0.generate_confirm_sig_exp.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | project/experiments/exp_800_mile_stone/src/old/27.5.2.0.generate_confirm_sig_exp.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | # on average
a = {'best_in_m2': '4eff43cf706a9cacdde5a2c8b68ff941',
'worst_in_m2': '09cdb93e456f8edca8dd291072cc288b',
'best_in_m4': '36494bcd6bc1c3838b1806fdfe235a38',
'worst_in_m4': '228112ca12795b83ce053ef1193cb365',
'best_in_m8': 'c045fc79f992aabf097abc7dd31762b3',
'worst_in_m8': '56acd7d42... | 47.777778 | 56 | 0.765698 | 131 | 1,720 | 9.59542 | 0.259542 | 0.071599 | 0.019093 | 0.095465 | 0.731901 | 0.731901 | 0.731901 | 0.589499 | 0.589499 | 0.589499 | 0 | 0.418991 | 0.124419 | 1,720 | 35 | 57 | 49.142857 | 0.415671 | 0.019767 | 0 | 0.6 | 0 | 0 | 0.765161 | 0.570749 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.