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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
30246c96fb84104834e1dc10d2e095c84bd5af1d | 20,926 | py | Python | pymcxray/FileFormat/test_Models.py | drix00/pymcxray | bf650aa0f31c635040a6cb79fe1cb7ecf27b8990 | [
"Apache-2.0"
] | 1 | 2020-07-23T12:13:30.000Z | 2020-07-23T12:13:30.000Z | pymcxray/FileFormat/test_Models.py | drix00/pymcxray | bf650aa0f31c635040a6cb79fe1cb7ecf27b8990 | [
"Apache-2.0"
] | 3 | 2017-03-05T16:09:30.000Z | 2017-03-05T16:11:41.000Z | pymcxray/FileFormat/test_Models.py | drix00/pymcxray | bf650aa0f31c635040a6cb79fe1cb7ecf27b8990 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
.. py:currentmodule:: FileFormat.test_Models
.. moduleauthor:: Hendrix Demers <hendrix.demers@mail.mcgill.ca>
Tests module `Models`.
"""
# Script information for the file.
__author__ = "Hendrix Demers (hendrix.demers@mail.mcgill.ca)"
__version__ = ""
__date__ = ""
__copyright__ = "Copyright ... | 51.541872 | 161 | 0.751314 | 2,264 | 20,926 | 6.653269 | 0.083039 | 0.098785 | 0.100378 | 0.123216 | 0.923189 | 0.913829 | 0.911771 | 0.903804 | 0.893912 | 0.889796 | 0 | 0.009143 | 0.148045 | 20,926 | 405 | 162 | 51.669136 | 0.835764 | 0.064513 | 0 | 0.701754 | 0 | 0 | 0.026892 | 0.012456 | 0 | 0 | 0 | 0 | 0.434211 | 1 | 0.065789 | false | 0 | 0.039474 | 0 | 0.109649 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
06ac8da4ef92ac43c59ca28a4de8fa7211847b84 | 214 | py | Python | proxydetectorfirewall/format/format.py | Juvenal-Yescas/ProxyDetector-Firewall | fed1db3d2be28ce55f797a134c65d18d09110c0b | [
"MIT"
] | 4 | 2019-10-22T01:27:47.000Z | 2021-03-01T08:33:09.000Z | proxydetectorfirewall/format/format.py | Juvenal-Yescas/ProxyDetector-Firewall | fed1db3d2be28ce55f797a134c65d18d09110c0b | [
"MIT"
] | null | null | null | proxydetectorfirewall/format/format.py | Juvenal-Yescas/ProxyDetector-Firewall | fed1db3d2be28ce55f797a134c65d18d09110c0b | [
"MIT"
] | 3 | 2019-12-02T08:24:52.000Z | 2020-09-11T13:40:57.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
class Format:
def __init__(self):
self.header_file = ''
def get_header(self):
return self.header_file
def getFormat(self, ip):
pass | 16.461538 | 31 | 0.579439 | 27 | 214 | 4.333333 | 0.666667 | 0.17094 | 0.239316 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.280374 | 214 | 13 | 32 | 16.461538 | 0.746753 | 0.182243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
88d86652ba11900936fea83cfbb75ae2dc32474f | 14,659 | py | Python | tests/commands/test_transfer.py | ejfitzgerald/tools-pocketbook | c36254f3e39e875cacf50a5e90b9723e19c1ed9b | [
"Apache-2.0"
] | 1 | 2021-09-08T05:30:11.000Z | 2021-09-08T05:30:11.000Z | tests/commands/test_transfer.py | ejfitzgerald/tools-pocketbook | c36254f3e39e875cacf50a5e90b9723e19c1ed9b | [
"Apache-2.0"
] | 14 | 2019-12-30T17:43:22.000Z | 2021-11-18T10:45:14.000Z | tests/commands/test_transfer.py | ejfitzgerald/tools-pocketbook | c36254f3e39e875cacf50a5e90b9723e19c1ed9b | [
"Apache-2.0"
] | 3 | 2019-12-24T10:50:44.000Z | 2021-11-20T21:24:32.000Z | import unittest
from unittest.mock import patch, Mock, MagicMock
from fetchai.ledger.api.token import TokenTxFactory
from fetchai.ledger.crypto import Entity, Address
from fetchai.ledger.serialisation.transaction import encode_transaction
from pocketbook.address_book import AddressBook
from pocketbook.key_store impor... | 42.737609 | 116 | 0.688724 | 1,694 | 14,659 | 5.706021 | 0.070248 | 0.037244 | 0.054624 | 0.068281 | 0.930788 | 0.927995 | 0.927167 | 0.921995 | 0.915684 | 0.915684 | 0 | 0.020056 | 0.214271 | 14,659 | 342 | 117 | 42.862573 | 0.819153 | 0.058667 | 0 | 0.841699 | 0 | 0 | 0.125408 | 0.070397 | 0 | 0 | 0 | 0 | 0.173745 | 1 | 0.030888 | false | 0.042471 | 0.057915 | 0 | 0.096525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
cc5064a496995bfffd4d6648f0ec6741b39acce1 | 56 | py | Python | generatemusic/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | 1 | 2022-03-09T20:13:57.000Z | 2022-03-09T20:13:57.000Z | generatemusic/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | 1 | 2021-10-01T16:20:06.000Z | 2021-10-01T17:25:30.000Z | generatemusic/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | null | null | null | from generatemusic.generate_music import generate_music
| 28 | 55 | 0.910714 | 7 | 56 | 7 | 0.714286 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.942308 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cc79c2d92ed71d7c48de39d8c84e20f7ecb4a9ef | 4,604 | py | Python | tests/peering/test_apply_peers.py | tinyzimmer/kopf | 74c42a2acdf2a72446d290fa1f27b53ec5d43218 | [
"MIT"
] | null | null | null | tests/peering/test_apply_peers.py | tinyzimmer/kopf | 74c42a2acdf2a72446d290fa1f27b53ec5d43218 | [
"MIT"
] | null | null | null | tests/peering/test_apply_peers.py | tinyzimmer/kopf | 74c42a2acdf2a72446d290fa1f27b53ec5d43218 | [
"MIT"
] | null | null | null | import aiohttp.web
import freezegun
import pytest
from kopf.engines.peering import NAMESPACED_PEERING_RESOURCE, CLUSTER_PEERING_RESOURCE
from kopf.engines.peering import Peer, apply_peers
@pytest.mark.usefixtures('with_both_crds')
@pytest.mark.parametrize('namespace, peering_resource', [
pytest.param('ns', NAMES... | 42.238532 | 86 | 0.714379 | 609 | 4,604 | 5.228243 | 0.134647 | 0.103643 | 0.061558 | 0.062814 | 0.942211 | 0.921168 | 0.915829 | 0.915829 | 0.915829 | 0.915829 | 0 | 0.0603 | 0.117507 | 4,604 | 108 | 87 | 42.62963 | 0.723357 | 0 | 0 | 0.804598 | 0 | 0 | 0.192876 | 0.028236 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0 | false | 0 | 0.057471 | 0 | 0.057471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
aee1352949d63c591612a92963e7f67ccafc2e59 | 7,958 | py | Python | ve/unit/test_constraint_soft.py | fvutils/py-vsc | e30ffae1b750d8182d102b1fe5b1cfdce017a092 | [
"Apache-2.0"
] | 54 | 2020-03-28T17:54:00.000Z | 2022-03-27T08:53:13.000Z | ve/unit/test_constraint_soft.py | fvutils/py-vsc | e30ffae1b750d8182d102b1fe5b1cfdce017a092 | [
"Apache-2.0"
] | 124 | 2020-04-10T03:06:03.000Z | 2022-03-24T18:35:46.000Z | ve/unit/test_constraint_soft.py | fvutils/py-vsc | e30ffae1b750d8182d102b1fe5b1cfdce017a092 | [
"Apache-2.0"
] | 17 | 2020-04-09T21:47:58.000Z | 2022-02-23T19:37:37.000Z | '''
Created on Mar 21, 2020
@author: ballance
'''
import vsc
from vsc_test_case import VscTestCase
class TestConstraintSoft(VscTestCase):
def test_soft_smoke(self):
@vsc.randobj
class my_cls(object):
def __init__(self):
self.a = vsc.rand_uint8... | 31.832 | 83 | 0.447223 | 1,030 | 7,958 | 3.318447 | 0.096117 | 0.049152 | 0.056173 | 0.045056 | 0.815097 | 0.807197 | 0.803101 | 0.781451 | 0.772967 | 0.772967 | 0 | 0.04887 | 0.416311 | 7,958 | 250 | 84 | 31.832 | 0.686975 | 0.085574 | 0 | 0.80791 | 0 | 0 | 0.015193 | 0.011602 | 0 | 0 | 0 | 0 | 0.062147 | 1 | 0.152542 | false | 0.011299 | 0.022599 | 0 | 0.242938 | 0.033898 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9d96172237187ddcf962ef8f9aa5867a793702b3 | 100 | py | Python | src/eurocodepy/ec2/sls/__init__.py | pcachim/eurocodepy | 8b68e733e5ccaa41b16135d3a3f8e9d2544fc112 | [
"MIT"
] | null | null | null | src/eurocodepy/ec2/sls/__init__.py | pcachim/eurocodepy | 8b68e733e5ccaa41b16135d3a3f8e9d2544fc112 | [
"MIT"
] | null | null | null | src/eurocodepy/ec2/sls/__init__.py | pcachim/eurocodepy | 8b68e733e5ccaa41b16135d3a3f8e9d2544fc112 | [
"MIT"
] | null | null | null | from .longterm import cemprops
from .longterm import creep_coef
from .longterm import shrink_strain
| 25 | 35 | 0.85 | 14 | 100 | 5.928571 | 0.571429 | 0.433735 | 0.650602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 36 | 33.333333 | 0.943182 | 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 | 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 | 7 |
9dd9ad553db256f1f9e752a1ae52e7f876e9962f | 8,008 | py | Python | auto/mockserver/apps/main/handlers.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2021-06-15T07:01:23.000Z | 2021-06-15T07:01:23.000Z | auto/mockserver/apps/main/handlers.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 3 | 2020-02-13T14:35:36.000Z | 2021-06-10T21:27:14.000Z | auto/mockserver/apps/main/handlers.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2020-04-09T02:13:12.000Z | 2020-04-09T02:13:12.000Z | # coding=utf-8
import tornado.web
import tornado.concurrent
import tornado.gen
from concurrent.futures import ThreadPoolExecutor
from dao.main_curd import *
from plugin import logger
import sys, time, json
from tornado.httpclient import HTTPRequest
try:
from tornado.curl_httpclient import CurlAsyncHTTPClient as Asy... | 37.596244 | 111 | 0.526224 | 821 | 8,008 | 5.008526 | 0.183922 | 0.027237 | 0.041099 | 0.031128 | 0.794261 | 0.794261 | 0.794261 | 0.794261 | 0.794261 | 0.794261 | 0 | 0.012094 | 0.37013 | 8,008 | 212 | 112 | 37.773585 | 0.803132 | 0.001499 | 0 | 0.840796 | 0 | 0.00995 | 0.109846 | 0.028275 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.054726 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9dec91a91b61357a1df3e055ec48ae8f62513ca1 | 6,806 | py | Python | src/genie/libs/parser/iosxr/tests/ShowL2vpnForwardingBridgeDomainMacAddress/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/iosxr/tests/ShowL2vpnForwardingBridgeDomainMacAddress/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/iosxr/tests/ShowL2vpnForwardingBridgeDomainMacAddress/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 = {
'mac_table': {
'Te0/0/1/0/3.3': {
'mac_address': {
'0001.00ff.0002': {
'lc_learned': 'N/A',
'learned_from': 'Te0/0/1/0/3.3',
'mapped_to': 'N/A',
'resync_age': '0d '
... | 39.34104 | 52 | 0.23112 | 498 | 6,806 | 3.008032 | 0.088353 | 0.048064 | 0.063418 | 0.076101 | 0.925234 | 0.925234 | 0.919893 | 0.919893 | 0.919893 | 0.919893 | 0 | 0.151503 | 0.633412 | 6,806 | 172 | 53 | 39.569767 | 0.448898 | 0 | 0 | 0.841176 | 0 | 0 | 0.261464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d1ade1d80503631be0f40c5c062da5365c98fc74 | 3,582 | py | Python | bindings/python/cntk/contrib/deeprl/tests/preprocessing_test.py | burhandodhy/CNTK | fcdeef63d0192c7b4b7428b14c1f9750d6c1de2e | [
"MIT"
] | 17,702 | 2016-01-25T14:03:01.000Z | 2019-05-06T09:23:41.000Z | bindings/python/cntk/contrib/deeprl/tests/preprocessing_test.py | burhandodhy/CNTK | fcdeef63d0192c7b4b7428b14c1f9750d6c1de2e | [
"MIT"
] | 3,489 | 2016-01-25T13:32:09.000Z | 2019-05-03T11:29:15.000Z | bindings/python/cntk/contrib/deeprl/tests/preprocessing_test.py | burhandodhy/CNTK | fcdeef63d0192c7b4b7428b14c1f9750d6c1de2e | [
"MIT"
] | 5,180 | 2016-01-25T14:02:12.000Z | 2019-05-06T04:24:28.000Z | # Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE.md file in the project root
# for full license information.
# ==============================================================================
import unittest
import numpy as np
from cntk.contrib.deeprl.agent.shared.preproce... | 43.682927 | 80 | 0.620882 | 435 | 3,582 | 4.818391 | 0.165517 | 0.181298 | 0.114504 | 0.152672 | 0.808683 | 0.805821 | 0.79437 | 0.79437 | 0.782443 | 0.782443 | 0 | 0.060639 | 0.231156 | 3,582 | 81 | 81 | 44.222222 | 0.700436 | 0.073144 | 0 | 0.712121 | 0 | 0 | 0.022652 | 0 | 0 | 0 | 0 | 0 | 0.348485 | 1 | 0.015152 | false | 0 | 0.045455 | 0 | 0.075758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d1c8adaf9b47f8416ea31e6819d2f57e10149a7c | 154 | py | Python | src/api/controller/__init__.py | samborba/mediapipe-api | 217584e052545a421c35bc2ab9e336b099442573 | [
"Apache-2.0"
] | 12 | 2020-02-14T20:03:43.000Z | 2022-01-10T02:07:24.000Z | src/api/controller/__init__.py | samborba/mediapipe-api | 217584e052545a421c35bc2ab9e336b099442573 | [
"Apache-2.0"
] | 2 | 2020-04-17T13:41:30.000Z | 2020-12-16T01:17:26.000Z | src/api/controller/__init__.py | samborba/mediapipe-api | 217584e052545a421c35bc2ab9e336b099442573 | [
"Apache-2.0"
] | 3 | 2020-02-13T17:45:36.000Z | 2021-05-26T23:55:33.000Z | from . import default_page
from . import hand_tracking
from . import multi_hand_tracking
from . import object_detection
from . import gesture_recognition
| 25.666667 | 33 | 0.837662 | 21 | 154 | 5.857143 | 0.52381 | 0.406504 | 0.260163 | 0.357724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 5 | 34 | 30.8 | 0.91791 | 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 | 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 | 8 |
0617cc4fd8c24ef85695bc483c62d91b49779f31 | 14,941 | py | Python | api/radiam/api/tests/permissionstests/datasetdatacollectionmethodpermissionstests.py | usask-rc/radiam | bfa38fd33e211b66e30e453a717c5f216e848cb2 | [
"MIT"
] | 2 | 2020-02-01T20:41:28.000Z | 2020-02-03T20:57:59.000Z | api/radiam/api/tests/permissionstests/datasetdatacollectionmethodpermissionstests.py | usask-rc/radiam | bfa38fd33e211b66e30e453a717c5f216e848cb2 | [
"MIT"
] | 10 | 2020-04-20T15:52:49.000Z | 2020-04-30T18:03:09.000Z | api/radiam/api/tests/permissionstests/datasetdatacollectionmethodpermissionstests.py | usask-rc/radiam | bfa38fd33e211b66e30e453a717c5f216e848cb2 | [
"MIT"
] | null | null | null | import json
from rest_framework.test import APITestCase
from rest_framework.test import APIRequestFactory
from rest_framework.test import force_authenticate
from django.urls import reverse
from radiam.api.models import (
User, Dataset, DataCollectionMethod, DatasetDataCollectionMethod
)
from radiam.api.views imp... | 36.089372 | 141 | 0.668496 | 1,283 | 14,941 | 7.636009 | 0.075604 | 0.053894 | 0.029397 | 0.03103 | 0.946923 | 0.934878 | 0.898132 | 0.877616 | 0.847708 | 0.847708 | 0 | 0.018563 | 0.239208 | 14,941 | 413 | 142 | 36.176755 | 0.843318 | 0.08634 | 0 | 0.813953 | 0 | 0 | 0.130616 | 0.097489 | 0 | 0 | 0 | 0 | 0.062016 | 1 | 0.077519 | false | 0 | 0.027132 | 0 | 0.135659 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ae102d0b97806b39c67128b778f1e237fd39f6a8 | 79 | py | Python | eno/__init__.py | endaga/eno-python | eb336fdcdf4b78c2c84c680e62ec74679396e7b3 | [
"MIT"
] | 1 | 2018-08-17T07:30:19.000Z | 2018-08-17T07:30:19.000Z | eno/__init__.py | endaga/eno-python | eb336fdcdf4b78c2c84c680e62ec74679396e7b3 | [
"MIT"
] | null | null | null | eno/__init__.py | endaga/eno-python | eb336fdcdf4b78c2c84c680e62ec74679396e7b3 | [
"MIT"
] | null | null | null | """The eno core."""
from eno.nodes import get_node
from eno.nodes import Node
| 15.8 | 30 | 0.734177 | 14 | 79 | 4.071429 | 0.571429 | 0.245614 | 0.421053 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 4 | 31 | 19.75 | 0.850746 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ae7fc0c645ddb52e75edcd770288590401a23015 | 709 | py | Python | hangman_life.py | MohammadHAbbaspour/Hang-Man-Game | 314b4e8d1b75188deb6f066dc937e95029a1e388 | [
"MIT"
] | null | null | null | hangman_life.py | MohammadHAbbaspour/Hang-Man-Game | 314b4e8d1b75188deb6f066dc937e95029a1e388 | [
"MIT"
] | null | null | null | hangman_life.py | MohammadHAbbaspour/Hang-Man-Game | 314b4e8d1b75188deb6f066dc937e95029a1e388 | [
"MIT"
] | null | null | null | lives = ['''
________
| \|
O |
/|\ |
/ \ |
|
=========
''' , '''
________
| \|
O |
/|\ |
\ |
|
=========
''' , '''
________
| \|
O |
/|\ |
|
|
=========
''','''
... | 12.660714 | 13 | 0.094499 | 7 | 709 | 1.571429 | 0.285714 | 0.909091 | 1.090909 | 1.090909 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.655853 | 709 | 56 | 14 | 12.660714 | 0.045082 | 0 | 0 | 0.660714 | 0 | 0 | 0.903817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
881c6f85ce81da70cbc73822de20d22282848547 | 168 | py | Python | lib/__init__.py | plemeri/UACANet | fdfca0d26e0c7d25e92676d451dc613af5e83f3c | [
"MIT"
] | 57 | 2021-07-07T06:13:03.000Z | 2022-03-29T10:20:30.000Z | lib/__init__.py | POSTECH-IMLAB/UACANet | 1b22572dc1e2b42f27ed06be51b6604bdff7471b | [
"MIT"
] | 9 | 2021-07-17T10:46:52.000Z | 2022-03-10T15:00:57.000Z | lib/__init__.py | plemeri/UACANet | fdfca0d26e0c7d25e92676d451dc613af5e83f3c | [
"MIT"
] | 17 | 2021-07-08T04:52:19.000Z | 2022-03-19T13:33:48.000Z | from lib.PraNet import PraNet
from lib.Baseline import Baseline
from lib.CANet import CANet
from lib.UACANet import UACANet
from lib.UACANet_SwinB import UACANet_SwinB
| 28 | 43 | 0.85119 | 27 | 168 | 5.222222 | 0.296296 | 0.248227 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 5 | 44 | 33.6 | 0.952703 | 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 | 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 | 7 |
882a6adfddaf407695f900bdcb549ffb21ccb08e | 482 | py | Python | scripts/send_packet.py | Darzou/broadlink-api | 5d265a5b1a990d445e09b26067bc3c32cdb8743c | [
"Apache-2.0"
] | 1 | 2021-08-05T13:04:14.000Z | 2021-08-05T13:04:14.000Z | scripts/send_packet.py | Darzou/broadlink-api | 5d265a5b1a990d445e09b26067bc3c32cdb8743c | [
"Apache-2.0"
] | null | null | null | scripts/send_packet.py | Darzou/broadlink-api | 5d265a5b1a990d445e09b26067bc3c32cdb8743c | [
"Apache-2.0"
] | null | null | null | import broadlink
import binascii
packet = b'2600920000012490183418101710183417341810181017101810171018101710181017101810171018101710181017101810173517341810171018101710181017341810173517101810173418101700028d181017101810171018101710181017101834171117101810171018101710181017101810171018101710181017101810171018101710181... | 40.166667 | 312 | 0.914938 | 25 | 482 | 17.6 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.647948 | 0.039419 | 482 | 11 | 313 | 43.818182 | 0.302376 | 0 | 0 | 0 | 0 | 0 | 0.622407 | 0.622407 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.125 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
88acb8f1119fca4ee7587c85d71b4e303b28f01a | 219 | py | Python | populous/messaging/__init__.py | caiges/populous | d07094f9d6b2528d282ed99af0063002480bc00b | [
"BSD-3-Clause"
] | 2 | 2016-05-09T01:17:08.000Z | 2017-07-18T23:35:01.000Z | populous/messaging/__init__.py | caiges/populous | d07094f9d6b2528d282ed99af0063002480bc00b | [
"BSD-3-Clause"
] | null | null | null | populous/messaging/__init__.py | caiges/populous | d07094f9d6b2528d282ed99af0063002480bc00b | [
"BSD-3-Clause"
] | null | null | null | #from populous.messaging.protocols.im import IMMessage, IMConnection
from populous.messaging.protocols.sms import SMSMessage
from django.core.mail import EmailMessage
# Convenient alias
#im_connection = IMConnection()
| 31.285714 | 68 | 0.840183 | 26 | 219 | 7.038462 | 0.653846 | 0.131148 | 0.229508 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091324 | 219 | 6 | 69 | 36.5 | 0.919598 | 0.520548 | 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 | 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 | 7 |
ee2ff9ae8448f155f49d044c373401a26e5d9b21 | 171 | py | Python | project/dashboard/routes.py | panuta/fund-dashboard | 1d24489869cb2099073ed5f19a577f0913599524 | [
"MIT"
] | null | null | null | project/dashboard/routes.py | panuta/fund-dashboard | 1d24489869cb2099073ed5f19a577f0913599524 | [
"MIT"
] | null | null | null | project/dashboard/routes.py | panuta/fund-dashboard | 1d24489869cb2099073ed5f19a577f0913599524 | [
"MIT"
] | null | null | null | from flask import render_template
from . import dashboard_blueprint
@dashboard_blueprint.route('/')
def index():
return render_template('dashboard/dashboard.html')
| 19 | 54 | 0.783626 | 20 | 171 | 6.5 | 0.6 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116959 | 171 | 8 | 55 | 21.375 | 0.860927 | 0 | 0 | 0 | 0 | 0 | 0.146199 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ee69d2fbd744eef2a81b685399b1bb5011fb81cf | 1,491 | py | Python | venv/lib/python2.7/site-packages/pychart/afm/AvantGarde_Demi.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | venv/lib/python2.7/site-packages/pychart/afm/AvantGarde_Demi.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | venv/lib/python2.7/site-packages/pychart/afm/AvantGarde_Demi.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | # AFM font AvantGarde-Demi (path: /usr/share/fonts/afms/adobe/pagd8a.afm).
# Derived from Ghostscript distribution.
# Go to www.cs.wisc.edu/~ghost to get the Ghostcript source code.
import dir
dir.afm["AvantGarde-Demi"] = (500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 50... | 248.5 | 1,297 | 0.623742 | 287 | 1,491 | 3.240418 | 0.226481 | 0.587097 | 0.793548 | 0.980645 | 0.33871 | 0.303226 | 0.303226 | 0.303226 | 0.303226 | 0.270968 | 0 | 0.629019 | 0.186452 | 1,491 | 5 | 1,298 | 298.2 | 0.137675 | 0.117371 | 0 | 0 | 0 | 0 | 0.011433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
c9cb1c8c4d58be409be220548bbed99656ba923d | 139 | py | Python | geomstats/_backend/_common.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | geomstats/_backend/_common.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | geomstats/_backend/_common.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | import math as _math
from numpy import pi
def comb(n, k):
return _math.factorial(n) // _math.factorial(k) // _math.factorial(n - k)
| 17.375 | 77 | 0.683453 | 23 | 139 | 3.956522 | 0.521739 | 0.428571 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18705 | 139 | 7 | 78 | 19.857143 | 0.80531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 1 | 0 | 0 | 8 |
a0047ccb7b53bdc8ecf027146668a2e606041fdf | 24,727 | py | Python | dataloaders/custom_transforms.py | loxacom123/AutoML | 8c5952467915f77d84705325b58b5dc9f3541d61 | [
"MIT"
] | null | null | null | dataloaders/custom_transforms.py | loxacom123/AutoML | 8c5952467915f77d84705325b58b5dc9f3541d61 | [
"MIT"
] | null | null | null | dataloaders/custom_transforms.py | loxacom123/AutoML | 8c5952467915f77d84705325b58b5dc9f3541d61 | [
"MIT"
] | null | null | null | import math
import torch
import random
import numpy as np
import torch.nn as nn
from numpy import int64 as int64
import torchvision.transforms as transforms
from imgaug import BoundingBox, BoundingBoxesOnImage
import imgaug.augmenters as iaa
from PIL import Image, ImageOps, ImageFilter
class Normalize(object):
""... | 38.336434 | 131 | 0.576576 | 3,512 | 24,727 | 3.900342 | 0.065774 | 0.040882 | 0.025551 | 0.038473 | 0.836691 | 0.823697 | 0.802015 | 0.792816 | 0.776756 | 0.75522 | 0 | 0.034569 | 0.27468 | 24,727 | 644 | 132 | 38.395963 | 0.729189 | 0.124358 | 0 | 0.752193 | 0 | 0 | 0.02804 | 0 | 0 | 0 | 0 | 0.001553 | 0.002193 | 1 | 0.127193 | false | 0.002193 | 0.02193 | 0.004386 | 0.280702 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a01f286ce34a187cec021722e7bce14373779bc8 | 19,736 | py | Python | crypto/Sign_Wars/solver/output.py | SECCON/SECCON2021_online_CTF | 628008ae2d150723352aed2c95abff41501c51f2 | [
"Apache-2.0"
] | 7 | 2022-02-07T10:15:22.000Z | 2022-02-10T07:13:07.000Z | crypto/Sign_Wars/solver/output.py | SECCON/SECCON2021_online_CTF | 628008ae2d150723352aed2c95abff41501c51f2 | [
"Apache-2.0"
] | null | null | null | crypto/Sign_Wars/solver/output.py | SECCON/SECCON2021_online_CTF | 628008ae2d150723352aed2c95abff41501c51f2 | [
"Apache-2.0"
] | null | null | null | sigs1 = [(12122920644857436418668108677431446821511965161835906257619686170008223981633617118848536864333256883344783807472533, 14197268540776373741177673820089672023976732299858030846681305575389640921071188098294211283607291412628404706330635), (300233112636936829166921196319047931618127042586700637250469460283814825... | 6,578.666667 | 19,015 | 0.974362 | 168 | 19,736 | 114.464286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.982418 | 0.008614 | 19,736 | 2 | 19,016 | 9,868 | 0.000409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4ea3fc9e075d777316aa4907136d311c976659d5 | 5,497 | py | Python | migrations/versions/22069cad6602_restructure_oauth2_models.py | akebrissman/id.mkdevops.se | 5a9a7a5df33a24f5c367cd476fa547a300e66ea9 | [
"Apache-2.0"
] | 7 | 2017-09-04T10:24:02.000Z | 2019-12-02T13:12:30.000Z | migrations/versions/22069cad6602_restructure_oauth2_models.py | akebrissman/id.mkdevops.se | 5a9a7a5df33a24f5c367cd476fa547a300e66ea9 | [
"Apache-2.0"
] | 140 | 2017-09-06T07:02:18.000Z | 2022-02-26T01:26:25.000Z | migrations/versions/22069cad6602_restructure_oauth2_models.py | akebrissman/id.mkdevops.se | 5a9a7a5df33a24f5c367cd476fa547a300e66ea9 | [
"Apache-2.0"
] | 2 | 2017-09-13T16:42:57.000Z | 2018-02-15T15:32:40.000Z | """Restructure OAuth2 models.
Revision ID: 22069cad6602
Revises: d7b1b886bf92
Create Date: 2017-11-02 13:41:43.920256
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import sqlalchemy as sa
from alembic import op
# Revision identifiers, used by Alembic.
revision = '22069cad66... | 42.945313 | 90 | 0.643806 | 653 | 5,497 | 5.292496 | 0.156202 | 0.108796 | 0.186632 | 0.236979 | 0.878762 | 0.853877 | 0.821759 | 0.802373 | 0.734086 | 0.655671 | 0 | 0.023736 | 0.179916 | 5,497 | 127 | 91 | 43.283465 | 0.742902 | 0.049482 | 0 | 0.586538 | 0 | 0 | 0.172268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.028846 | 0 | 0.048077 | 0.009615 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
4eb0273a0dde3fffb286aa8461e3553bf997542b | 10,711 | py | Python | causal_world/viewers/task_viewer.py | michaelfeil/CausalWorld | ff866159ef0ee9c407893ae204e93eb98dd68be2 | [
"MIT"
] | 2 | 2021-09-22T08:20:12.000Z | 2021-11-16T14:20:45.000Z | causal_world/viewers/task_viewer.py | michaelfeil/CausalWorld | ff866159ef0ee9c407893ae204e93eb98dd68be2 | [
"MIT"
] | null | null | null | causal_world/viewers/task_viewer.py | michaelfeil/CausalWorld | ff866159ef0ee9c407893ae204e93eb98dd68be2 | [
"MIT"
] | null | null | null | from causal_world.envs.causalworld import CausalWorld
from gym.wrappers.monitoring.video_recorder import VideoRecorder
from causal_world.task_generators.task import generate_task
import numpy as np
def view_episode(episode,
env_wrappers=np.array([]),
env_wrappers_args=np.array([])):
... | 41.038314 | 77 | 0.595556 | 1,260 | 10,711 | 4.81746 | 0.103968 | 0.085173 | 0.056837 | 0.021746 | 0.825371 | 0.79374 | 0.741516 | 0.718451 | 0.718451 | 0.697199 | 0 | 0.00167 | 0.329008 | 10,711 | 260 | 78 | 41.196154 | 0.842911 | 0.285408 | 0 | 0.761905 | 1 | 0 | 0.019322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.02381 | 0 | 0.077381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
14ce02898896db8b4f4bbc54314217757b1b7349 | 62,245 | py | Python | firebase_connection.py | samsoldeinstein/webster2020 | 9795635e806caa261bb33d629f3d1f2bd603638c | [
"MIT"
] | 6 | 2020-11-02T16:40:56.000Z | 2020-11-07T06:59:00.000Z | firebase_connection.py | samsoldeinstein/webster2020 | 9795635e806caa261bb33d629f3d1f2bd603638c | [
"MIT"
] | null | null | null | firebase_connection.py | samsoldeinstein/webster2020 | 9795635e806caa261bb33d629f3d1f2bd603638c | [
"MIT"
] | 2 | 2020-11-03T05:20:25.000Z | 2020-11-03T05:38:47.000Z | # # import pyrebase
# # config = {
# # "apiKey": "AIzaSyDQKj9_KAG8-uMhWISn87AOHNS-fZuyBYg",
# # "authDomain": "strangeflix-85ae0.firebaseapp.com",
# # "databaseURL": "https://strangeflix-85ae0.firebaseio.com",
# # "projectId": "strangeflix-85ae0",
# # "storageBucket": "strangeflix-85ae0.appspot.com... | 55.675313 | 5,020 | 0.53087 | 6,683 | 62,245 | 4.828071 | 0.118959 | 0.017356 | 0.013017 | 0.02343 | 0.841102 | 0.824459 | 0.80918 | 0.790647 | 0.779396 | 0.771369 | 0 | 0.038242 | 0.324058 | 62,245 | 1,117 | 5,021 | 55.725157 | 0.728502 | 0 | 0 | 0.46841 | 0 | 0.008715 | 0.254647 | 0.062309 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006536 | null | null | 0.019608 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
14e8a62658af4ef1e8df1a947d96c229d67ee19a | 1,637 | py | Python | csdl/examples/models/fixed_point.py | LSDOlab/csdl | 04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3 | [
"MIT"
] | null | null | null | csdl/examples/models/fixed_point.py | LSDOlab/csdl | 04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3 | [
"MIT"
] | null | null | null | csdl/examples/models/fixed_point.py | LSDOlab/csdl | 04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3 | [
"MIT"
] | 1 | 2021-10-04T19:40:32.000Z | 2021-10-04T19:40:32.000Z | from csdl import Model
class FixedPoint1(Model):
def initialize(self):
self.parameters.declare('name', types=str)
def define(self):
x = self.declare_variable(self.parameters['name'])
r = self.register_output('r', x - (3 + x - 2 * x**2)**(1 / 4))
class FixedPoint2(Model):
def ini... | 27.283333 | 72 | 0.602932 | 218 | 1,637 | 4.463303 | 0.151376 | 0.172662 | 0.147996 | 0.135663 | 0.855087 | 0.855087 | 0.818088 | 0.818088 | 0.818088 | 0.818088 | 0 | 0.02692 | 0.228467 | 1,637 | 59 | 73 | 27.745763 | 0.743468 | 0 | 0 | 0.769231 | 0 | 0 | 0.035431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.025641 | 0 | 0.487179 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
090b0157a35a947332527208ab1dd476a79be2ac | 103 | py | Python | backend/src/baserow/contrib/database/airtable/cache.py | ashishdhngr/baserow | b098678d2165eb7c42930ee24dc6753a3cb520c3 | [
"MIT"
] | null | null | null | backend/src/baserow/contrib/database/airtable/cache.py | ashishdhngr/baserow | b098678d2165eb7c42930ee24dc6753a3cb520c3 | [
"MIT"
] | null | null | null | backend/src/baserow/contrib/database/airtable/cache.py | ashishdhngr/baserow | b098678d2165eb7c42930ee24dc6753a3cb520c3 | [
"MIT"
] | null | null | null | def airtable_import_job_progress_key(job_id: int):
return f"airtable_import_job_progress_{job_id}"
| 34.333333 | 51 | 0.834951 | 17 | 103 | 4.470588 | 0.588235 | 0.368421 | 0.447368 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 103 | 2 | 52 | 51.5 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0.359223 | 0.359223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 1 | 0.5 | 2 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
f5079ab3b6a347497e9ac256bf2ff98d3c639398 | 84,057 | py | Python | tests/test_blobservice.py | engineyard/azure-sdk-for-python | 853ebda393ee2118aa88810a2dae5964cb4df612 | [
"Apache-2.0"
] | null | null | null | tests/test_blobservice.py | engineyard/azure-sdk-for-python | 853ebda393ee2118aa88810a2dae5964cb4df612 | [
"Apache-2.0"
] | null | null | null | tests/test_blobservice.py | engineyard/azure-sdk-for-python | 853ebda393ee2118aa88810a2dae5964cb4df612 | [
"Apache-2.0"
] | null | null | null | #-------------------------------------------------------------------------
# Copyright (c) Microsoft. All rights reserved.
#
# 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.apa... | 39.352528 | 1,392 | 0.650844 | 9,698 | 84,057 | 5.382656 | 0.053826 | 0.105094 | 0.128312 | 0.066589 | 0.834716 | 0.798989 | 0.741633 | 0.710063 | 0.674661 | 0.647516 | 0 | 0.017673 | 0.234638 | 84,057 | 2,135 | 1,393 | 39.37096 | 0.793717 | 0.059115 | 0 | 0.532582 | 0 | 0.000805 | 0.105023 | 0.029324 | 0 | 1 | 0 | 0.000468 | 0.311344 | 0 | null | null | 0.004827 | 0.010459 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
eec21dc3984ae642f408ff4ab866c692049f20c6 | 7,061 | py | Python | applications/talos/directory/onetimepassword_credential.py | triflesoft/django-application-talos | 73e697c60a4e3117a76b5d7e3f4aa0fca7cfa529 | [
"BSD-3-Clause"
] | 2 | 2017-04-25T10:30:20.000Z | 2017-09-16T05:17:36.000Z | applications/talos/directory/onetimepassword_credential.py | triflesoft/django-application-talos | 73e697c60a4e3117a76b5d7e3f4aa0fca7cfa529 | [
"BSD-3-Clause"
] | 4 | 2018-10-29T15:07:48.000Z | 2018-10-29T15:15:41.000Z | applications/talos/directory/onetimepassword_credential.py | triflesoft/django-application-talos | 73e697c60a4e3117a76b5d7e3f4aa0fca7cfa529 | [
"BSD-3-Clause"
] | null | null | null | class InternalGoogleAuthenticator(object):
def __init__(self, credential_directory, **kwargs):
self._credential_directory = credential_directory
def create_credentials(self, principal, credentials):
from pyotp import random_base32
from uuid import uuid4
from ..models import _tzm... | 32.539171 | 96 | 0.633621 | 691 | 7,061 | 6.212735 | 0.120116 | 0.096902 | 0.063359 | 0.066853 | 0.863965 | 0.837876 | 0.772187 | 0.729327 | 0.683205 | 0.614256 | 0 | 0.007643 | 0.29585 | 7,061 | 216 | 97 | 32.689815 | 0.855792 | 0.010905 | 0 | 0.871951 | 0 | 0 | 0.009456 | 0 | 0 | 0 | 0 | 0.00463 | 0 | 1 | 0.091463 | false | 0.140244 | 0.195122 | 0.006098 | 0.402439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
e1252796df4cebad9091f060cc3e259838547f71 | 1,571 | py | Python | tests/test_name_converter.py | stajc06/hue_sms | 6b174e6a8ee516c91f697b158c1b325281caad40 | [
"MIT"
] | 1 | 2021-11-16T17:55:54.000Z | 2021-11-16T17:55:54.000Z | tests/test_name_converter.py | stajc06/hue_sms | 6b174e6a8ee516c91f697b158c1b325281caad40 | [
"MIT"
] | 9 | 2021-06-03T18:26:05.000Z | 2022-02-11T15:59:15.000Z | tests/test_name_converter.py | stajc06/hue_sms | 6b174e6a8ee516c91f697b158c1b325281caad40 | [
"MIT"
] | 12 | 2018-03-17T13:59:20.000Z | 2021-07-02T15:48:49.000Z |
from name_converter import NameConverter, clean_name
red = (237, 10, 63)
red_orange = (255,104,31)
robins_egg_blue = (0, 204, 204)
def test_clean_caps():
assert 'red' == clean_name('Red')
assert 'red' == clean_name('RED')
assert 'red' == clean_name('red')
assert 'red' == clean_name('ReD')
def test... | 29.092593 | 75 | 0.674729 | 207 | 1,571 | 4.917874 | 0.198068 | 0.159136 | 0.137525 | 0.176817 | 0.740668 | 0.740668 | 0.706287 | 0.706287 | 0.706287 | 0.667976 | 0 | 0.01691 | 0.171865 | 1,571 | 53 | 76 | 29.641509 | 0.765565 | 0 | 0 | 0.216216 | 0 | 0 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 0.594595 | 1 | 0.189189 | false | 0 | 0.027027 | 0 | 0.216216 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0112b1e766c9dcfc592fc0a89eedb05ae26b8017 | 1,974 | py | Python | chapter_15/make_augmented_spectrograms.py | haloway13/PracticalDeepLearningPython | c3760b17945c9389421c2970a3d16c6528fb7af6 | [
"MIT"
] | 44 | 2021-02-25T00:52:04.000Z | 2022-03-16T02:04:50.000Z | chapter_15/make_augmented_spectrograms.py | rkneusel9/PracticalDeepLearningWithPython | 561004e76b3e0828a59952874443384c31b6d84e | [
"MIT"
] | null | null | null | chapter_15/make_augmented_spectrograms.py | rkneusel9/PracticalDeepLearningWithPython | 561004e76b3e0828a59952874443384c31b6d84e | [
"MIT"
] | 18 | 2021-03-18T11:22:18.000Z | 2022-03-08T21:10:42.000Z | #
# file: make_augmented_spectrograms.py
#
# Use sox to make the spectrogram images.
#
# RTK, 11-Nov-2019
# Last update: 11-Nov-2019
#
################################################################
import os
import numpy as np
from PIL import Image
rows = 100
cols = 160
# train
flist = [i[:-1] for i in open("... | 27.416667 | 83 | 0.627153 | 337 | 1,974 | 3.602374 | 0.252226 | 0.059308 | 0.079077 | 0.092257 | 0.847611 | 0.847611 | 0.847611 | 0.847611 | 0.847611 | 0.825371 | 0 | 0.043453 | 0.137285 | 1,974 | 71 | 84 | 27.802817 | 0.669407 | 0.067376 | 0 | 0.745098 | 0 | 0 | 0.29932 | 0.218821 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
01879ce17c96c92433461fece65cdf2c94744ac8 | 3,628 | py | Python | backend/restful_api/models.py | dschmide/proofofkortzept | b3d7201a0178c6a3752d9f02461fa9bc11aa9163 | [
"MIT"
] | null | null | null | backend/restful_api/models.py | dschmide/proofofkortzept | b3d7201a0178c6a3752d9f02461fa9bc11aa9163 | [
"MIT"
] | 37 | 2018-10-24T15:51:28.000Z | 2019-01-17T15:10:02.000Z | backend/restful_api/models.py | dschmide/proof_of_kort-cept | b3d7201a0178c6a3752d9f02461fa9bc11aa9163 | [
"MIT"
] | null | null | null | from django.contrib.gis.db import models
from django.contrib.auth import get_user_model
# Array Field for Tower locations
from django.contrib.postgres.fields import ArrayField
User = get_user_model()
class PlacedLandmark(models.Model):
location = ArrayField(models.DecimalField(max_digits=18, decimal_places=15)... | 29.495935 | 88 | 0.727122 | 441 | 3,628 | 5.773243 | 0.170068 | 0.047133 | 0.084839 | 0.113119 | 0.858209 | 0.827573 | 0.813826 | 0.813826 | 0.807934 | 0.807934 | 0 | 0.017288 | 0.18688 | 3,628 | 122 | 89 | 29.737705 | 0.845763 | 0.008545 | 0 | 0.755814 | 0 | 0 | 0.009179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.232558 | false | 0 | 0.034884 | 0.232558 | 0.802326 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
6d9b694294fe2dea4671f7a7c521102f5bc2fe98 | 10,398 | py | Python | p013.py | anadahalli/project-euler | d4150a5a6c54cf9f4edcd024df69b01bf03c2a10 | [
"CC0-1.0"
] | 1 | 2017-02-03T15:37:42.000Z | 2017-02-03T15:37:42.000Z | p013.py | anadahalli/project-euler | d4150a5a6c54cf9f4edcd024df69b01bf03c2a10 | [
"CC0-1.0"
] | null | null | null | p013.py | anadahalli/project-euler | d4150a5a6c54cf9f4edcd024df69b01bf03c2a10 | [
"CC0-1.0"
] | null | null | null | """Problem 013
Work out the first ten digits of the sum of the following
one-hundred 50-digit numbers.
37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
230675882075... | 48.816901 | 59 | 0.973937 | 236 | 10,398 | 42.911017 | 0.538136 | 0.000987 | 0.029624 | 0.039498 | 0.987459 | 0.987459 | 0.987459 | 0.987459 | 0.987459 | 0.987459 | 0 | 0.984747 | 0.022697 | 10,398 | 212 | 60 | 49.04717 | 0.011809 | 0.500096 | 0 | 0 | 0 | 0 | 0.982662 | 0.963206 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
098e1794f898ef6f88e8e340034b27194c271d07 | 172 | py | Python | dataloaders/__init__.py | GT-RIPL/DistillMatch-SSCL | e572671fd6994b3c43ad6e46e9efb3588804524c | [
"MIT"
] | 9 | 2021-07-13T07:08:19.000Z | 2022-01-27T13:41:19.000Z | dataloaders/__init__.py | GT-RIPL/DistillMatch-SSCL | e572671fd6994b3c43ad6e46e9efb3588804524c | [
"MIT"
] | null | null | null | dataloaders/__init__.py | GT-RIPL/DistillMatch-SSCL | e572671fd6994b3c43ad6e46e9efb3588804524c | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .inc_ssl import iCIFAR100, iCIFAR10, SSLDataLoader, iTinyIMNET
__all__ = ('iCIFAR100','iCIFAR10','SSLDataLoader','iTinyIMNET') | 34.4 | 67 | 0.80814 | 18 | 172 | 7.166667 | 0.611111 | 0.263566 | 0.465116 | 0.620155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063694 | 0.087209 | 172 | 5 | 68 | 34.4 | 0.757962 | 0 | 0 | 0 | 0 | 0 | 0.231214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 7 |
09c876a4240ab268ff1783bdc0c6205d8f4ccae5 | 7,215 | py | Python | kobayashi/weapons/core_weapons.py | TheDataLeek/kobayashi | 2bc17f7be94f7df97d7501d3a51308adfce1f0c2 | [
"MIT"
] | 1 | 2019-03-26T19:27:09.000Z | 2019-03-26T19:27:09.000Z | kobayashi/weapons/core_weapons.py | TheDataLeek/kobayashi | 2bc17f7be94f7df97d7501d3a51308adfce1f0c2 | [
"MIT"
] | null | null | null | kobayashi/weapons/core_weapons.py | TheDataLeek/kobayashi | 2bc17f7be94f7df97d7501d3a51308adfce1f0c2 | [
"MIT"
] | null | null | null | from .base_weapon import Weapon, check_ammo
from ..util import dice
class MultifocalLaser(Weapon):
def __init__(self, *args, **kwargs):
super().__init__(
armor_pen=20,
power=5
)
self.__dict__ = {**self.__dict__, **kwargs}
@property
@check_ammo
def wdama... | 22.904762 | 51 | 0.519751 | 773 | 7,215 | 4.364812 | 0.086675 | 0.085359 | 0.149378 | 0.090694 | 0.812982 | 0.792235 | 0.777416 | 0.771191 | 0.704209 | 0.704209 | 0 | 0.033362 | 0.356064 | 7,215 | 314 | 52 | 22.977707 | 0.692854 | 0 | 0 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138462 | false | 0 | 0.007692 | 0.069231 | 0.284615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
09e0ed10ea9c046e6ad0c6ef69fe5a8bfe28f486 | 49,696 | py | Python | zcrmsdk/src/com/zoho/crm/api/record/record_operations.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/record/record_operations.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/record/record_operations.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | try:
from zcrmsdk.src.com.zoho.crm.api.exception import SDKException
from zcrmsdk.src.com.zoho.crm.api.parameter_map import ParameterMap
from zcrmsdk.src.com.zoho.crm.api.util import APIResponse, CommonAPIHandler, Utility, Constants
from zcrmsdk.src.com.zoho.crm.api.param import Param
from zcrmsdk.src.com.zoho.crm... | 39.788631 | 125 | 0.785959 | 6,569 | 49,696 | 5.673771 | 0.027097 | 0.045075 | 0.065923 | 0.053715 | 0.941188 | 0.91983 | 0.885809 | 0.873923 | 0.837702 | 0.828526 | 0 | 0.001104 | 0.125342 | 49,696 | 1,248 | 126 | 39.820513 | 0.856351 | 0.160496 | 0 | 0.767347 | 0 | 0 | 0.178036 | 0.075115 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034014 | false | 0.001361 | 0.114286 | 0 | 0.307483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
09e88552ed321cc1dad79d9266caf1fb197cf131 | 494 | py | Python | crystal_toolkit/renderables/__init__.py | mkhorton/mp-dash-components | b9af1b59f0120a90897631d9a7f8d9f0ae561de9 | [
"MIT"
] | null | null | null | crystal_toolkit/renderables/__init__.py | mkhorton/mp-dash-components | b9af1b59f0120a90897631d9a7f8d9f0ae561de9 | [
"MIT"
] | 5 | 2018-10-18T19:52:12.000Z | 2018-11-17T19:02:49.000Z | crystal_toolkit/renderables/__init__.py | mkhorton/mp-dash-components | b9af1b59f0120a90897631d9a7f8d9f0ae561de9 | [
"MIT"
] | null | null | null | from crystal_toolkit.renderables.lattice import Lattice
from crystal_toolkit.renderables.moleculegraph import MoleculeGraph
from crystal_toolkit.renderables.molecule import Molecule
from crystal_toolkit.renderables.site import Site
from crystal_toolkit.renderables.structuregraph import StructureGraph
from crystal_toolk... | 54.888889 | 69 | 0.902834 | 56 | 494 | 7.821429 | 0.25 | 0.200913 | 0.328767 | 0.52968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064777 | 494 | 8 | 70 | 61.75 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
3a19f8b3d578738a3e947cc3ce1000c43ff036b9 | 714 | py | Python | ex023 - lendo 0 a 9999.py | fblaz/Python-ex---curso-em-video | 794d1f7b9fa0803b168aaf973007906b66a02e2d | [
"MIT"
] | null | null | null | ex023 - lendo 0 a 9999.py | fblaz/Python-ex---curso-em-video | 794d1f7b9fa0803b168aaf973007906b66a02e2d | [
"MIT"
] | null | null | null | ex023 - lendo 0 a 9999.py | fblaz/Python-ex---curso-em-video | 794d1f7b9fa0803b168aaf973007906b66a02e2d | [
"MIT"
] | null | null | null | num = int(input('digite um nr de 0 a 9999: '))
if num < 10:
x = str('0'+'0'+'0'+str(num))
print(f'UNIDADE: {x[3]}')
print(f'DEZENA: {x[2]}')
print(f'CENTENA: {x[1]}')
print(f'MILHAR: {x[0]}')
elif num < 100:
x = str('0' + '0' + str(num))
print(f'UNIDADE: {x[3]}')
print(f'DEZENA... | 27.461538 | 47 | 0.47479 | 122 | 714 | 2.778689 | 0.221311 | 0.283186 | 0.129794 | 0.141593 | 0.811209 | 0.811209 | 0.811209 | 0.811209 | 0.811209 | 0.811209 | 0 | 0.067164 | 0.2493 | 714 | 25 | 48 | 28.56 | 0.565299 | 0 | 0 | 0.64 | 0 | 0 | 0.383164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.64 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 8 |
3a2a22deb0c65be0eb8befe738c8b9c82b488fe0 | 134 | py | Python | loss_functions.py | mo-do/simple_net | 3dc0d7c3f3bb88423ce2be55583a7156f8195b83 | [
"MIT"
] | null | null | null | loss_functions.py | mo-do/simple_net | 3dc0d7c3f3bb88423ce2be55583a7156f8195b83 | [
"MIT"
] | null | null | null | loss_functions.py | mo-do/simple_net | 3dc0d7c3f3bb88423ce2be55583a7156f8195b83 | [
"MIT"
] | null | null | null | from keras import backend as K
def my_categorical_crossentropy(y_true, y_pred):
return K.categorical_crossentropy(y_true, y_pred) | 33.5 | 53 | 0.820896 | 22 | 134 | 4.681818 | 0.636364 | 0.446602 | 0.466019 | 0.543689 | 0.640777 | 0.640777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 134 | 4 | 53 | 33.5 | 0.872881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
28b517e858bfc2b67ff98723c57492a272add48e | 2,320 | py | Python | tests/unit/test_settings.py | juntossomosmais/django-stomp | 65e7cb86f8f6e2336a2739df8f33f985c9b4c792 | [
"MIT"
] | 32 | 2019-06-10T13:24:11.000Z | 2021-12-17T21:00:41.000Z | tests/unit/test_settings.py | juntossomosmais/django-stomp | 65e7cb86f8f6e2336a2739df8f33f985c9b4c792 | [
"MIT"
] | 26 | 2019-12-17T12:51:00.000Z | 2022-02-16T16:13:14.000Z | tests/unit/test_settings.py | juntossomosmais/django-stomp | 65e7cb86f8f6e2336a2739df8f33f985c9b4c792 | [
"MIT"
] | 1 | 2021-09-11T03:55:30.000Z | 2021-09-11T03:55:30.000Z | import pytest
from django_stomp.exceptions import DjangoStompImproperlyConfigured
from django_stomp.settings import eval_as_int_if_provided_value_is_not_none_otherwise_none
from django_stomp.settings import eval_settings_otherwise_raise_exception
def test_should_raise_improperly_configured_when_settings_is_not_corre... | 45.490196 | 97 | 0.825 | 290 | 2,320 | 5.962069 | 0.158621 | 0.090226 | 0.112782 | 0.165414 | 0.84037 | 0.822441 | 0.765761 | 0.742626 | 0.742626 | 0.742626 | 0 | 0.003964 | 0.130172 | 2,320 | 50 | 98 | 46.4 | 0.852825 | 0 | 0 | 0.435897 | 0 | 0 | 0.115086 | 0.107328 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.051282 | false | 0 | 0.102564 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
e92cb3f0f57630c85a62b97ccbf90c6e9c220a08 | 11,579 | py | Python | lms/tests/feedback/test_feedback_views.py | yankai14/event-management-telegram-bot-backend | c0b4b2294ab7d06100b221d9b41a8f52d500075d | [
"MIT"
] | null | null | null | lms/tests/feedback/test_feedback_views.py | yankai14/event-management-telegram-bot-backend | c0b4b2294ab7d06100b221d9b41a8f52d500075d | [
"MIT"
] | 6 | 2021-06-28T07:23:15.000Z | 2021-07-22T12:59:33.000Z | lms/tests/feedback/test_feedback_views.py | yankai14/event-management-telegram-bot-backend | c0b4b2294ab7d06100b221d9b41a8f52d500075d | [
"MIT"
] | null | null | null | # import datetime
# import json
# from django.utils import timezone
# from django.urls import reverse
# from rest_framework.test import APITestCase, APIClient
# from rest_framework import status
# from rest_framework.generics import get_object_or_404
# from lms.models.feedback_models import EventInstanceFeedback
# from... | 35.627692 | 185 | 0.575697 | 922 | 11,579 | 7.132321 | 0.129067 | 0.045468 | 0.051095 | 0.051095 | 0.861618 | 0.859337 | 0.842914 | 0.826034 | 0.819343 | 0.787105 | 0 | 0.013729 | 0.295449 | 11,579 | 324 | 186 | 35.737654 | 0.792351 | 0.941446 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3a75c66974ebc8855998e95aa7e27ee575a6cab1 | 22,271 | py | Python | Toolkits/Discovery/meta/searx/tests/unit/engines/test_kickass.py | roscopecoltran/SniperKit-Core | 4600dffe1cddff438b948b6c22f586d052971e04 | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | Toolkits/Discovery/meta/searx/tests/unit/engines/test_kickass.py | roscopecoltran/SniperKit-Core | 4600dffe1cddff438b948b6c22f586d052971e04 | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | Toolkits/Discovery/meta/searx/tests/unit/engines/test_kickass.py | roscopecoltran/SniperKit-Core | 4600dffe1cddff438b948b6c22f586d052971e04 | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | # -*- coding: utf-8 -*-
from collections import defaultdict
import mock
from searx.engines import kickass
from searx.testing import SearxTestCase
class TestKickassEngine(SearxTestCase):
def test_request(self):
query = 'test_query'
dicto = defaultdict(dict)
dicto['pageno'] = 1
para... | 55.957286 | 115 | 0.464011 | 2,283 | 22,271 | 4.514674 | 0.07972 | 0.02474 | 0.027942 | 0.04657 | 0.937518 | 0.91986 | 0.917532 | 0.917532 | 0.917532 | 0.917532 | 0 | 0.049137 | 0.388667 | 22,271 | 397 | 116 | 56.098237 | 0.707896 | 0.000943 | 0 | 0.884021 | 0 | 0.131443 | 0.883675 | 0.174173 | 0 | 0 | 0 | 0 | 0.103093 | 1 | 0.005155 | false | 0 | 0.010309 | 0 | 0.018041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c96df78d84209611b4434ff1f40f07ec27f767cf | 7,443 | py | Python | pyspedas/mms/dsp/mms_dsp_set_metadata.py | xnchu/pyspedas | 62657581c0b6ed980fcd99ac34455a8b7a77dede | [
"MIT"
] | 1 | 2020-07-07T19:52:40.000Z | 2020-07-07T19:52:40.000Z | pyspedas/mms/dsp/mms_dsp_set_metadata.py | xnchu/pyspedas | 62657581c0b6ed980fcd99ac34455a8b7a77dede | [
"MIT"
] | null | null | null | pyspedas/mms/dsp/mms_dsp_set_metadata.py | xnchu/pyspedas | 62657581c0b6ed980fcd99ac34455a8b7a77dede | [
"MIT"
] | null | null | null | from pytplot import options
from pyspedas import tnames
def mms_dsp_set_metadata(probe, data_rate, level, suffix=''):
"""
This function updates the metadata for DSP data products
Parameters:
probe : str or list of str
probe or list of probes, valid values for MMS probes are ['1','2... | 83.629213 | 162 | 0.60137 | 941 | 7,443 | 4.378321 | 0.083953 | 0.14199 | 0.15534 | 0.23301 | 0.853884 | 0.847087 | 0.847087 | 0.846602 | 0.817718 | 0.810194 | 0 | 0.006318 | 0.21322 | 7,443 | 89 | 163 | 83.629213 | 0.697234 | 0.064893 | 0 | 0 | 0 | 0 | 0.186232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | false | 0 | 0.029851 | 0 | 0.044776 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
6e665f506257b8c0e4be30512fa1d8ef8c65ddd4 | 224 | py | Python | geometric_algebra_attention/tensorflow/LabeledVectorAttention.py | klarh/geometric_algebra_attention | 327f5d964b5bf72b6bf54b503c23ad8a0d7dc438 | [
"MIT"
] | 5 | 2021-10-14T22:24:00.000Z | 2022-03-24T20:11:59.000Z | geometric_algebra_attention/tensorflow/LabeledVectorAttention.py | klarh/geometric_algebra_attention | 327f5d964b5bf72b6bf54b503c23ad8a0d7dc438 | [
"MIT"
] | 1 | 2021-12-03T18:51:19.000Z | 2021-12-03T18:51:19.000Z | geometric_algebra_attention/tensorflow/LabeledVectorAttention.py | klarh/geometric_algebra_attention | 327f5d964b5bf72b6bf54b503c23ad8a0d7dc438 | [
"MIT"
] | 2 | 2021-10-14T22:26:07.000Z | 2022-03-24T20:23:05.000Z |
from .. import base
from .Vector2VectorAttention import Vector2VectorAttention
class LabeledVectorAttention(base.LabeledVectorAttention, Vector2VectorAttention):
__doc__ = base.LabeledVectorAttention.__doc__
pass
| 24.888889 | 82 | 0.834821 | 17 | 224 | 10.529412 | 0.470588 | 0.290503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.116071 | 224 | 8 | 83 | 28 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
6eba0d0514a6a4a51537bbf1979274d9d32b05ca | 783 | py | Python | Leetcode/Python/_1455.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | 1 | 2021-11-28T15:03:32.000Z | 2021-11-28T15:03:32.000Z | Leetcode/Python/_1455.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | Leetcode/Python/_1455.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | class Solution:
def isPrefixOfWord(self, sentence: str, searchWord: str) -> int:
lenght = len(searchWord)
for i, word in enumerate(sentence.split(" ")):
if searchWord == word[:lenght]:
return i+1
return -1
class Solution:
def isPrefixOfWord(self, senten... | 32.625 | 68 | 0.564496 | 86 | 783 | 5.139535 | 0.255814 | 0.088235 | 0.108597 | 0.20362 | 0.893665 | 0.850679 | 0.850679 | 0.850679 | 0.701357 | 0.567873 | 0 | 0.011364 | 0.325671 | 783 | 23 | 69 | 34.043478 | 0.825758 | 0 | 0 | 0.857143 | 0 | 0 | 0.003831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
42c86c1ab5e2233c446cf26653c29d2813c6eaf6 | 1,763 | py | Python | portal/decorators.py | developerayyo/eportal | 0a18c504a62fbe559627d6a8fcb0f41abf67a361 | [
"MIT"
] | 1 | 2021-06-11T13:47:28.000Z | 2021-06-11T13:47:28.000Z | portal/decorators.py | developerayyo/eportal | 0a18c504a62fbe559627d6a8fcb0f41abf67a361 | [
"MIT"
] | 35 | 2020-06-23T11:04:44.000Z | 2022-01-13T02:57:47.000Z | portal/decorators.py | developerayyo/eportal | 0a18c504a62fbe559627d6a8fcb0f41abf67a361 | [
"MIT"
] | 1 | 2020-08-04T16:17:18.000Z | 2020-08-04T16:17:18.000Z | """
This script basically allows me to use the same views for multiple users
while restricting specific aspects of the view from other users.
"""
from django.contrib.auth import REDIRECT_FIELD_NAME
from django.contrib.auth.decorators import user_passes_test
def student_required(function=None, redirect_field_n... | 33.264151 | 97 | 0.728871 | 244 | 1,763 | 5.016393 | 0.254098 | 0.138072 | 0.180556 | 0.122549 | 0.76634 | 0.76634 | 0.76634 | 0.76634 | 0.76634 | 0.76634 | 0 | 0 | 0.20987 | 1,763 | 52 | 98 | 33.903846 | 0.878679 | 0.275099 | 0 | 0.62069 | 0 | 0 | 0.012448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0.137931 | 0.068966 | 0 | 0.37931 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
28094936a360d3b1c83455795f3dde224c5419a3 | 6,276 | py | Python | holoprot/layers/mpn/wln.py | vsomnath/holoprot | 9bd6c58491eec701db94ce12f8e15e2143e202b9 | [
"MIT"
] | 10 | 2022-01-19T19:01:35.000Z | 2022-03-21T13:04:59.000Z | holoprot/layers/mpn/wln.py | vsomnath/holoprot | 9bd6c58491eec701db94ce12f8e15e2143e202b9 | [
"MIT"
] | null | null | null | holoprot/layers/mpn/wln.py | vsomnath/holoprot | 9bd6c58491eec701db94ce12f8e15e2143e202b9 | [
"MIT"
] | 3 | 2022-01-11T16:21:32.000Z | 2022-03-11T15:33:57.000Z | import torch
from torch import Tensor
from typing import List, Optional, Set
import torch.nn as nn
import torch.nn.functional as F
from torch_geometric.nn import MessagePassing
from holoprot.utils import get_global_agg
class WLNConvLast(MessagePassing):
def __init__(self, hsize: int, bias: bool):
super(... | 35.457627 | 126 | 0.600064 | 876 | 6,276 | 4.100457 | 0.135845 | 0.075167 | 0.079621 | 0.061526 | 0.80206 | 0.80206 | 0.797884 | 0.797884 | 0.777004 | 0.755846 | 0 | 0.008642 | 0.280911 | 6,276 | 176 | 127 | 35.659091 | 0.787281 | 0.011632 | 0 | 0.751773 | 0 | 0 | 0.011289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099291 | false | 0.028369 | 0.056738 | 0.007092 | 0.234043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
95777a52809022b1a349e4237b045125dbd36f7c | 6,342 | py | Python | code/utils/requests.py | lordslair/singouins-discord | 8f82305b982e84c9c16e11ddf40d1e1b30ff437d | [
"MIT"
] | null | null | null | code/utils/requests.py | lordslair/singouins-discord | 8f82305b982e84c9c16e11ddf40d1e1b30ff437d | [
"MIT"
] | 2 | 2022-03-07T05:29:02.000Z | 2022-03-21T22:08:08.000Z | code/utils/requests.py | lordslair/singouins-docker-discord | 8f82305b982e84c9c16e11ddf40d1e1b30ff437d | [
"MIT"
] | null | null | null | # -*- coding: utf8 -*-
import json
import requests
from variables import API_URL, API_ADMIN_TOKEN, PCS_URL
def api_admin_up():
url = f'{API_URL}/admin'
headers = json.loads('{"Authorization": "Bearer '+ API_ADMIN_TOKEN + '"}')
response = requests.get(url, headers=headers)
if response.... | 32.690722 | 91 | 0.611637 | 726 | 6,342 | 5.217631 | 0.088154 | 0.101373 | 0.080781 | 0.099789 | 0.862724 | 0.831309 | 0.805438 | 0.797782 | 0.76188 | 0.748944 | 0 | 0.009108 | 0.255598 | 6,342 | 193 | 92 | 32.860104 | 0.793264 | 0.003154 | 0 | 0.740506 | 0 | 0 | 0.153165 | 0.040665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088608 | false | 0 | 0.018987 | 0 | 0.316456 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
95a9298cd09118914f446b9ae72e03836e5c4a10 | 88 | py | Python | django_boost/core/__init__.py | ayumuhack/django-boost | bf4358cd219934bffa264bf3e3d10e2acfb77ad6 | [
"MIT"
] | null | null | null | django_boost/core/__init__.py | ayumuhack/django-boost | bf4358cd219934bffa264bf3e3d10e2acfb77ad6 | [
"MIT"
] | null | null | null | django_boost/core/__init__.py | ayumuhack/django-boost | bf4358cd219934bffa264bf3e3d10e2acfb77ad6 | [
"MIT"
] | null | null | null | from django_boost import __version__ as VERSION
def get_version():
return VERSION
| 14.666667 | 47 | 0.784091 | 12 | 88 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 5 | 48 | 17.6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
95b64f2bf75c8941b8863ab457cc3e9f1e465b69 | 34,152 | py | Python | ciw/tests/test_network.py | EmmaAspland/Ciw | 4f677f646681e68af05d2e8d6d0e49783917f1f2 | [
"MIT"
] | null | null | null | ciw/tests/test_network.py | EmmaAspland/Ciw | 4f677f646681e68af05d2e8d6d0e49783917f1f2 | [
"MIT"
] | null | null | null | ciw/tests/test_network.py | EmmaAspland/Ciw | 4f677f646681e68af05d2e8d6d0e49783917f1f2 | [
"MIT"
] | null | null | null | import unittest
import ciw
import copy
import random
from hypothesis import given
from hypothesis.strategies import floats, integers, lists, random_module
def example_baulking_function(n):
if n < 5:
return 0.0
return 1.0
class TestServiceCentre(unittest.TestCase):
def test_init_method(self):
... | 59.498258 | 169 | 0.600726 | 4,011 | 34,152 | 4.897282 | 0.036899 | 0.151963 | 0.142544 | 0.085476 | 0.897113 | 0.87563 | 0.850328 | 0.828539 | 0.789492 | 0.764954 | 0 | 0.048274 | 0.254539 | 34,152 | 573 | 170 | 59.602094 | 0.723281 | 0.000849 | 0 | 0.597303 | 0 | 0 | 0.10621 | 0.020867 | 0 | 0 | 0 | 0 | 0.489403 | 1 | 0.025048 | false | 0 | 0.013487 | 0 | 0.052023 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
95be8cced20fc7cc40282537331ac6ba733410fa | 6,926 | py | Python | setup-traffic-analyzers/session.testapi.py | vlvassilev/ecoc-demo-2018 | 3f813fdff3c2405561b32122bbe3c51c001ff81b | [
"BSD-3-Clause"
] | 1 | 2019-03-06T13:52:14.000Z | 2019-03-06T13:52:14.000Z | setup-traffic-analyzers/session.testapi.py | vlvassilev/ecoc-demo-2018 | 3f813fdff3c2405561b32122bbe3c51c001ff81b | [
"BSD-3-Clause"
] | null | null | null | setup-traffic-analyzers/session.testapi.py | vlvassilev/ecoc-demo-2018 | 3f813fdff3c2405561b32122bbe3c51c001ff81b | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
import lxml
from lxml import etree
import time
import sys, os
import argparse
from collections import namedtuple
import tntapi
sys.path.append("../common")
import testsuiteapi
import yangrpc
from yangcli import yangcli
namespaces={"nc":"urn:ietf:params:xml:ns:netconf:base:1.0",
"nd":"urn:ietf:params... | 45.86755 | 208 | 0.773318 | 855 | 6,926 | 6.219883 | 0.14386 | 0.250094 | 0.302745 | 0.210605 | 0.792591 | 0.788266 | 0.691049 | 0.549267 | 0.441895 | 0.441895 | 0 | 0.020012 | 0.069304 | 6,926 | 150 | 209 | 46.173333 | 0.804995 | 0.002455 | 0 | 0.273438 | 0 | 0.085938 | 0.794556 | 0.559867 | 0 | 0 | 0 | 0 | 0.007813 | 0 | null | null | 0 | 0.078125 | null | null | 0.039063 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
95d774d1708967b5e67791b7f15f139a00511e3a | 6,091 | py | Python | src/widgets.py | NishiyamatoGakuenSSHTA/nygssh-journey | dc8ceb7c4d33dda5d57439d8db4250d384161f83 | [
"MIT"
] | null | null | null | src/widgets.py | NishiyamatoGakuenSSHTA/nygssh-journey | dc8ceb7c4d33dda5d57439d8db4250d384161f83 | [
"MIT"
] | null | null | null | src/widgets.py | NishiyamatoGakuenSSHTA/nygssh-journey | dc8ceb7c4d33dda5d57439d8db4250d384161f83 | [
"MIT"
] | null | null | null | import IPython
from IPython.display import HTML
def GameDisplay():
return IPython.display.HTML('''
<button id='left-btn'>←</button>
<button id='right-btn'>→</button>
<button id='up-btn'>↑</button>
<button id='down-btn'>↓</button>
<button id='a-btn'>A</button>
<button id='b-btn'>B</button>
... | 40.606667 | 108 | 0.502216 | 552 | 6,091 | 5.440217 | 0.130435 | 0.107892 | 0.103896 | 0.107892 | 0.838162 | 0.838162 | 0.838162 | 0.838162 | 0.838162 | 0.838162 | 0 | 0.011285 | 0.359875 | 6,091 | 149 | 109 | 40.879195 | 0.757887 | 0 | 0 | 0.680851 | 0 | 0 | 0.982105 | 0.39074 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007092 | true | 0 | 0.014184 | 0.007092 | 0.028369 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
253d3563f7a67ee1dd62420f9f9d214b2135ec76 | 2,382 | py | Python | tests/test_jwt_proxy.py | SOFIE-project/Identity-Authentication-Authorization | 4651fdce9249511dda4ac3591235d0670deafc9b | [
"Apache-1.1"
] | 2 | 2020-03-12T14:55:42.000Z | 2020-10-16T02:54:41.000Z | tests/test_jwt_proxy.py | SOFIE-project/Identity-Authentication-Authorization | 4651fdce9249511dda4ac3591235d0670deafc9b | [
"Apache-1.1"
] | 1 | 2020-08-12T19:31:33.000Z | 2020-08-12T19:31:33.000Z | tests/test_jwt_proxy.py | SOFIE-project/Identity-Authentication-Authorization | 4651fdce9249511dda4ac3591235d0670deafc9b | [
"Apache-1.1"
] | 3 | 2020-03-16T15:26:31.000Z | 2020-05-20T20:19:49.000Z | import pytest
import requests
import json
class TestJWT:
def test_valid_bearer_get(self):
token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpZCI6IjM2ZGNlNjBiMzg4YjA2NDUyNmI5MDJhOGRjMzIyM2NhNGMxMWFmNWYiLCJqdGkiOiIzNmRjZTYwYjM4OGIwNjQ1MjZiOTAyYThkYzMyMjNjYTRjMTFhZjVmIiwiaXNzIjoiTktHS3RjTndzc1RvUDVmN3Voc0VzN... | 91.615385 | 709 | 0.843409 | 134 | 2,382 | 14.843284 | 0.373134 | 0.030166 | 0.0181 | 0.034691 | 0.898441 | 0.898441 | 0.898441 | 0.873806 | 0.873806 | 0.816491 | 0 | 0.091959 | 0.09152 | 2,382 | 26 | 710 | 91.615385 | 0.827172 | 0 | 0 | 0.363636 | 0 | 0 | 0.676878 | 0.579941 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.136364 | false | 0 | 0.136364 | 0 | 0.318182 | 0.136364 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c2d4bab5ba5e67753a37ca8915c57490bdbd4e36 | 8 | py | Python | codemach/tests/source/comp_equal.py | chuck1/myexecutor | 6b70d2e7bc9ace0efde8e38f75be2b928393bfdf | [
"MIT"
] | null | null | null | codemach/tests/source/comp_equal.py | chuck1/myexecutor | 6b70d2e7bc9ace0efde8e38f75be2b928393bfdf | [
"MIT"
] | 37 | 2017-06-29T22:42:08.000Z | 2019-01-22T18:22:57.000Z | codemach/tests/source/comp_equal.py | chuck1/myexecutor | 6b70d2e7bc9ace0efde8e38f75be2b928393bfdf | [
"MIT"
] | null | null | null | 2 == 3
| 2.666667 | 6 | 0.25 | 2 | 8 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 8 | 2 | 7 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6696a49079f374ae5ff3d70f4a8b560e28a0ab8a | 396 | py | Python | coord_generator/__init__.py | DevER-M/coord_generator | 8586620f928a10652ee65d2b6573cc04b9ca8ee0 | [
"MIT"
] | null | null | null | coord_generator/__init__.py | DevER-M/coord_generator | 8586620f928a10652ee65d2b6573cc04b9ca8ee0 | [
"MIT"
] | null | null | null | coord_generator/__init__.py | DevER-M/coord_generator | 8586620f928a10652ee65d2b6573cc04b9ca8ee0 | [
"MIT"
] | null | null | null | import random
def generate_coordinates(min_num,max_num):
for coords in range(1):
x = random.randint(min_num,max_num)
y = random.randint(min_num,max_num)
z = random.randint(min_num,max_num)
return x,y,z
def generate_XandY_coordinates(min_num,max_num,):
for coords in range(1):
x = random.ran... | 33 | 50 | 0.714646 | 69 | 396 | 3.855072 | 0.275362 | 0.157895 | 0.236842 | 0.315789 | 0.845865 | 0.845865 | 0.845865 | 0.845865 | 0.845865 | 0.691729 | 0 | 0.006135 | 0.176768 | 396 | 12 | 51 | 33 | 0.809816 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6699abc0bf1069954ff90fb99ad6477dda89078c | 387,233 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/cognito_idp/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/cognito_idp/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/cognito_idp/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def add_custom_attributes(self, UserPoolId: str, CustomAttributes: List) ... | 50.698219 | 672 | 0.543236 | 36,952 | 387,233 | 5.660397 | 0.037048 | 0.018976 | 0.014568 | 0.009485 | 0.863355 | 0.833905 | 0.808135 | 0.788892 | 0.774444 | 0.763127 | 0 | 0.006226 | 0.360834 | 387,233 | 7,637 | 673 | 50.704858 | 0.838856 | 0.808978 | 0 | 0.481308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.481308 | false | 0.509346 | 0.056075 | 0 | 0.542056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
669cf503e44c76598655d2f2beaca96e99fc93b6 | 124 | py | Python | mycloud/commands/drive/fs/__init__.py | ThomasGassmann/swisscom-my-cloud-backup | 97e222c45a54197c82c8f3a5d59aa20bf3382ed8 | [
"MIT"
] | 4 | 2019-11-28T22:10:43.000Z | 2022-01-23T15:18:26.000Z | mycloud/commands/drive/fs/__init__.py | ThomasGassmann/swisscom-my-cloud-backup | 97e222c45a54197c82c8f3a5d59aa20bf3382ed8 | [
"MIT"
] | 18 | 2019-01-20T22:30:48.000Z | 2020-06-09T21:16:07.000Z | mycloud/commands/drive/fs/__init__.py | thomasgassmann/mycloud-cli | 97e222c45a54197c82c8f3a5d59aa20bf3382ed8 | [
"MIT"
] | null | null | null | from mycloud.commands.drive.fs.upsync import upsync_command
from mycloud.commands.drive.fs.downsync import downsync_command
| 41.333333 | 63 | 0.870968 | 18 | 124 | 5.888889 | 0.5 | 0.207547 | 0.358491 | 0.45283 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 124 | 2 | 64 | 62 | 0.913793 | 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 | 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 | 7 |
66ac9d95879bfe0e276197a480e35f4dc5b5eadb | 573 | py | Python | python-logic/04-logical-operators.py | oviniciusoliveira/python-bootcamp | cd08ec4ec30049822c283a656307a5dcb25b5d99 | [
"MIT"
] | null | null | null | python-logic/04-logical-operators.py | oviniciusoliveira/python-bootcamp | cd08ec4ec30049822c283a656307a5dcb25b5d99 | [
"MIT"
] | null | null | null | python-logic/04-logical-operators.py | oviniciusoliveira/python-bootcamp | cd08ec4ec30049822c283a656307a5dcb25b5d99 | [
"MIT"
] | null | null | null | print('*-----Logical Operator (and)-----*')
high_income = True
good_credit = False
if high_income and good_credit:
print("Eligible for loan")
else:
print("Not eligible for loan")
print('\n*-----Logical Operator (or)-----*')
high_income = True
good_credit = False
if high_income or good_credit:
print("Elig... | 21.222222 | 45 | 0.649215 | 78 | 573 | 4.666667 | 0.24359 | 0.181319 | 0.247253 | 0.164835 | 0.793956 | 0.793956 | 0.793956 | 0.793956 | 0.793956 | 0.568681 | 0 | 0 | 0.158813 | 573 | 26 | 46 | 22.038462 | 0.755187 | 0 | 0 | 0.714286 | 0 | 0 | 0.443281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
dd4c45715955fe2918fdae997389d00f2bc722d5 | 1,126 | py | Python | apps/controllerx/cx_devices/terncy.py | Crocmagnon/controllerx | d928d5fc8d7ab50a86417227d5b732aea43cb653 | [
"MIT"
] | 204 | 2020-01-18T10:12:13.000Z | 2022-03-27T09:40:17.000Z | apps/controllerx/cx_devices/terncy.py | Crocmagnon/controllerx | d928d5fc8d7ab50a86417227d5b732aea43cb653 | [
"MIT"
] | 329 | 2020-01-17T17:18:53.000Z | 2022-03-29T11:20:30.000Z | apps/controllerx/cx_devices/terncy.py | Crocmagnon/controllerx | d928d5fc8d7ab50a86417227d5b732aea43cb653 | [
"MIT"
] | 66 | 2020-01-19T20:17:21.000Z | 2022-03-13T15:03:41.000Z | from cx_const import DefaultActionsMapping, Light
from cx_core import LightController
from cx_core.integration import EventData
class TerncyPP01LightController(LightController):
def get_zha_actions_mapping(self) -> DefaultActionsMapping:
return {
"button_single": Light.TOGGLE,
"but... | 35.1875 | 63 | 0.688277 | 119 | 1,126 | 6.168067 | 0.327731 | 0.13079 | 0.049046 | 0.065395 | 0.768392 | 0.768392 | 0.768392 | 0.768392 | 0.768392 | 0.768392 | 0 | 0.004603 | 0.228242 | 1,126 | 31 | 64 | 36.322581 | 0.840046 | 0 | 0 | 0.72 | 0 | 0 | 0.138544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.12 | 0.16 | 0.52 | 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 | 1 | 1 | 0 | 0 | 8 |
06d11ac6b6242d7b80eac8fef069c7f957f23066 | 732 | py | Python | unitbench/tests/modules/example.py | MaxenceCaronLasne/unitbench | 6ee246f9d19594f3c9fb6a991c28fec9fda718b2 | [
"BSD-2-Clause"
] | 1 | 2019-11-04T08:34:43.000Z | 2019-11-04T08:34:43.000Z | unitbench/tests/modules/example.py | MaxenceCaronLasne/unitbench | 6ee246f9d19594f3c9fb6a991c28fec9fda718b2 | [
"BSD-2-Clause"
] | 2 | 2019-12-12T12:06:03.000Z | 2019-12-16T18:43:25.000Z | unitbench/tests/modules/example.py | MaxenceCaronLasne/unitbench | 6ee246f9d19594f3c9fb6a991c28fec9fda718b2 | [
"BSD-2-Clause"
] | null | null | null | from migen import Module, Signal
class ExampleModule(Module):
def __init__(self, width):
self.i_first = Signal(width)
self.i_second = Signal(width)
self.o_first = Signal(width)
self.o_second = Signal(width)
###
self.sync += [
self.o_first.eq(self.i_fi... | 21.529412 | 44 | 0.565574 | 91 | 732 | 4.285714 | 0.197802 | 0.230769 | 0.307692 | 0.205128 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0 | 0 | 0.315574 | 732 | 33 | 45 | 22.181818 | 0.778443 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
06ea2a537df0f61dd983409b2ea4104c96a89dea | 166 | py | Python | app/auth/__init__.py | xmedinavei/toDO-flask | 10f226a5dfa6634d4419fc27f36de3f4f98f824b | [
"MIT"
] | null | null | null | app/auth/__init__.py | xmedinavei/toDO-flask | 10f226a5dfa6634d4419fc27f36de3f4f98f824b | [
"MIT"
] | null | null | null | app/auth/__init__.py | xmedinavei/toDO-flask | 10f226a5dfa6634d4419fc27f36de3f4f98f824b | [
"MIT"
] | null | null | null | from flask import Blueprint
# Todos los routes '/auth' serán reririgidas a este Blueprint
auth = Blueprint('auth', __name__, url_prefix='/auth')
from . import views | 27.666667 | 61 | 0.759036 | 23 | 166 | 5.26087 | 0.695652 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 166 | 6 | 62 | 27.666667 | 0.852113 | 0.355422 | 0 | 0 | 0 | 0 | 0.084906 | 0 | 0 | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
660bd71e51e8d467a4e4410d141834ed011b5563 | 786 | py | Python | web/home/tests/test_templates.py | RaulBSantos/maria-quiteria | 9eb1a307099e208ce666bcc0d65be9c9a4cae150 | [
"MIT"
] | 151 | 2019-11-10T02:18:25.000Z | 2022-01-18T14:28:25.000Z | web/home/tests/test_templates.py | RaulBSantos/maria-quiteria | 9eb1a307099e208ce666bcc0d65be9c9a4cae150 | [
"MIT"
] | 202 | 2019-11-09T16:27:19.000Z | 2022-03-22T12:41:27.000Z | web/home/tests/test_templates.py | RaulBSantos/maria-quiteria | 9eb1a307099e208ce666bcc0d65be9c9a4cae150 | [
"MIT"
] | 69 | 2020-02-05T01:33:35.000Z | 2022-03-30T10:39:27.000Z | import pytest
class TestHome:
def test_append_google_analytics_key(self, settings, client):
settings.GOOGLE_ANALYTICS_KEY = "UA-000000000-1"
response = client.get("/")
assert "UA-000000000-1" in str(response.content)
@pytest.mark.django_db
class TestAdmin:
def test_append_google_anal... | 31.44 | 71 | 0.709924 | 101 | 786 | 5.306931 | 0.287129 | 0.16791 | 0.201493 | 0.106343 | 0.863806 | 0.863806 | 0.863806 | 0.863806 | 0.712687 | 0.615672 | 0 | 0.093168 | 0.180662 | 786 | 24 | 72 | 32.75 | 0.73913 | 0 | 0 | 0.555556 | 0 | 0 | 0.127226 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.055556 | 0 | 0.388889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
663aa7f765dfe1fda166a04cac2440cf4d6bd00d | 7,215 | py | Python | rnlps/environments/linear_bandits.py | mlisicki/rnlps | 2f3014c9502285ffe2340826d15185e5f8147e6f | [
"MIT"
] | 7 | 2019-11-27T12:11:28.000Z | 2021-12-14T15:27:18.000Z | rnlps/environments/linear_bandits.py | mlisicki/rnlps | 2f3014c9502285ffe2340826d15185e5f8147e6f | [
"MIT"
] | null | null | null | rnlps/environments/linear_bandits.py | mlisicki/rnlps | 2f3014c9502285ffe2340826d15185e5f8147e6f | [
"MIT"
] | 2 | 2021-02-23T19:24:59.000Z | 2021-03-22T21:50:18.000Z | """
Linear bandit environments to evaluate performance.
"""
import numpy as np
import os
class StationaryLinearBandit:
def __init__(self, n_arms, dimension, seed, arm_pool_size = 2000, err_sigma = 0.05):
self.n_arms = n_arms
self.dimension = dimension
self.arm_pool_size = arm_pool_s... | 33.714953 | 132 | 0.665419 | 970 | 7,215 | 4.673196 | 0.091753 | 0.064858 | 0.05096 | 0.039709 | 0.900507 | 0.881756 | 0.870726 | 0.870726 | 0.870726 | 0.851092 | 0 | 0.013302 | 0.228967 | 7,215 | 213 | 133 | 33.873239 | 0.801546 | 0.012197 | 0 | 0.856115 | 0 | 0 | 0.047237 | 0.020245 | 0 | 0 | 0 | 0 | 0 | 1 | 0.18705 | false | 0 | 0.014388 | 0 | 0.366906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9ff0aca83804512c03c04980017d6265c8816030 | 131 | py | Python | api/resources_portal/views/__init__.py | arielsvn/resources-portal | f5a25935e45ceb05e2f4738f567eec9ca8793441 | [
"BSD-3-Clause"
] | null | null | null | api/resources_portal/views/__init__.py | arielsvn/resources-portal | f5a25935e45ceb05e2f4738f567eec9ca8793441 | [
"BSD-3-Clause"
] | null | null | null | api/resources_portal/views/__init__.py | arielsvn/resources-portal | f5a25935e45ceb05e2f4738f567eec9ca8793441 | [
"BSD-3-Clause"
] | null | null | null | from resources_portal.views.material import MaterialViewSet
from resources_portal.views.user import UserCreateViewSet, UserViewSet
| 43.666667 | 70 | 0.89313 | 15 | 131 | 7.666667 | 0.666667 | 0.226087 | 0.330435 | 0.417391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 131 | 2 | 71 | 65.5 | 0.942623 | 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 | 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 | 7 |
b05e582a216b447e231253fed1db510081302010 | 76 | py | Python | jmatcher/search/admin.py | jamesaud/se1-group4 | 5280b13dff33e72ce717318a8dd78a06cd6effb3 | [
"MIT"
] | 1 | 2021-09-09T15:43:09.000Z | 2021-09-09T15:43:09.000Z | jmatcher/usermessages/admin.py | jamesaud/se1-group4 | 5280b13dff33e72ce717318a8dd78a06cd6effb3 | [
"MIT"
] | null | null | null | jmatcher/usermessages/admin.py | jamesaud/se1-group4 | 5280b13dff33e72ce717318a8dd78a06cd6effb3 | [
"MIT"
] | null | null | null | from django.contrib.admin import AdminSite
from django.contrib import admin
| 25.333333 | 42 | 0.855263 | 11 | 76 | 5.909091 | 0.545455 | 0.307692 | 0.523077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 43 | 38 | 0.955882 | 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 | 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 | 7 |
c672107f6b872e6d58ad3030fed3b17c0bea1c1d | 40,712 | py | Python | ok.py | BlackTiger-Error404/Black | 463866d5e3be390fc6019a4ec45d2a772ca71866 | [
"Apache-2.0"
] | 2 | 2021-06-01T08:00:23.000Z | 2021-08-16T06:42:11.000Z | ok.py | BlackTiger-Error404/Black | 463866d5e3be390fc6019a4ec45d2a772ca71866 | [
"Apache-2.0"
] | null | null | null | ok.py | BlackTiger-Error404/Black | 463866d5e3be390fc6019a4ec45d2a772ca71866 | [
"Apache-2.0"
] | 1 | 2020-11-09T17:08:16.000Z | 2020-11-09T17:08:16.000Z | import base64
exec(base64.b32decode('EMQS65LTOIXWE2LOF5YHS5DIN5XDEDIKENRW6ZDJNZTT25LUMYWTQDIKENBGYYLDNNKGSZ3FOIWUK4TSN5ZDIMBUBUFCGV3IMF2HGYLQOAQCWOJSGMYDGNZTGM2TCMJUBUFCGWLPOVKHKYTFHJKGS3LFGQQFS33VBUFGS3LQN5ZHIIDPOMWHG6LTFR2GS3LFFRSGC5DFORUW2ZJMOJQW4ZDPNUWGQYLTNBWGSYRMOJSSY5DIOJSWCZDJNZTSY2TTN5XCY5LSNRWGSYRMMNXW623JMVW... | 20,356 | 40,698 | 0.999779 | 6 | 40,712 | 6,783.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106092 | 0.000049 | 40,712 | 2 | 40,698 | 20,356 | 0.893736 | 0 | 0 | 0 | 0 | 0 | 0.998993 | 0.998993 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
c699791140938bcc877527a9d6c594c6b8ad23a6 | 1,115 | py | Python | examples/nosec.py | bittner/bandit | 87ecc4079ea50d77be13ed72bbf5ad2eb0673c64 | [
"Apache-2.0"
] | null | null | null | examples/nosec.py | bittner/bandit | 87ecc4079ea50d77be13ed72bbf5ad2eb0673c64 | [
"Apache-2.0"
] | null | null | null | examples/nosec.py | bittner/bandit | 87ecc4079ea50d77be13ed72bbf5ad2eb0673c64 | [
"Apache-2.0"
] | null | null | null | subprocess.Popen('/bin/ls *', shell=True) #nosec (on the line)
subprocess.Popen('/bin/ls *', #nosec (at the start of function call)
shell=True)
subprocess.Popen('/bin/ls *',
shell=True) #nosec (on the specific kwarg line)
subprocess.Popen('#nosec', shell=True)
subprocess.Popen('/bin/l... | 69.6875 | 122 | 0.707623 | 157 | 1,115 | 4.904459 | 0.203822 | 0.311688 | 0.187013 | 0.207792 | 0.881818 | 0.850649 | 0.725974 | 0.592208 | 0.507792 | 0.406494 | 0 | 0.034091 | 0.131839 | 1,115 | 15 | 123 | 74.333333 | 0.761364 | 0.463677 | 0 | 1 | 0 | 0 | 0.175862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c6b41f0efd400e06be58e95b38c0c907ff3f93df | 36,315 | py | Python | creatures.py | gweltou/Neuranim | e3805bf3b4ff9f386855734535730b9fcd72a340 | [
"MIT"
] | 2 | 2019-11-03T03:21:31.000Z | 2022-02-16T03:15:38.000Z | creatures.py | gweltou/Neuranim | e3805bf3b4ff9f386855734535730b9fcd72a340 | [
"MIT"
] | null | null | null | creatures.py | gweltou/Neuranim | e3805bf3b4ff9f386855734535730b9fcd72a340 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from Box2D.b2 import pi, vec2, world, circleShape, polygonShape, staticBody, dynamicBody, fixtureDef
import numpy as np
import uuid
from parameters import *
from nn import *
class Animatronic(object):
""" Abstract class
"""
def __init__(self, world):
... | 39.645197 | 114 | 0.476938 | 3,675 | 36,315 | 4.668027 | 0.063673 | 0.045468 | 0.039172 | 0.053862 | 0.904576 | 0.900495 | 0.898514 | 0.898164 | 0.884115 | 0.8348 | 0 | 0.050747 | 0.412337 | 36,315 | 915 | 115 | 39.688525 | 0.752823 | 0.084786 | 0 | 0.807512 | 0 | 0 | 0.001963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034429 | false | 0 | 0.007825 | 0 | 0.056338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c6b9af7f169658ff911cd2e7382c8e9deeaf192a | 73 | py | Python | frazzl/__init__.py | jimtheplant/qraphql-booster | cc905310ca19c32e8c555c54069a0ac5b127d505 | [
"Apache-2.0"
] | 2 | 2019-11-20T16:18:53.000Z | 2020-05-25T11:00:58.000Z | frazzl/__init__.py | jimtheplant/qraphql-booster | cc905310ca19c32e8c555c54069a0ac5b127d505 | [
"Apache-2.0"
] | null | null | null | frazzl/__init__.py | jimtheplant/qraphql-booster | cc905310ca19c32e8c555c54069a0ac5b127d505 | [
"Apache-2.0"
] | null | null | null | from .services import init_services
from .types import *
init_services()
| 18.25 | 35 | 0.808219 | 10 | 73 | 5.7 | 0.5 | 0.350877 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 3 | 36 | 24.333333 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 7 |
05f9e7c57e37300b0379535f9e6a1a468a2cb130 | 60,559 | py | Python | backend/opnreco/api/tests/test_syncapi.py | OpenPaymentNetwork/opnreco | 99c8955d7e200fe11fc23c3568879c543940b168 | [
"MIT"
] | null | null | null | backend/opnreco/api/tests/test_syncapi.py | OpenPaymentNetwork/opnreco | 99c8955d7e200fe11fc23c3568879c543940b168 | [
"MIT"
] | null | null | null | backend/opnreco/api/tests/test_syncapi.py | OpenPaymentNetwork/opnreco | 99c8955d7e200fe11fc23c3568879c543940b168 | [
"MIT"
] | null | null | null |
from decimal import Decimal
from opnreco.testing import DBSessionFixture
import datetime
import os
import pyramid.testing
import responses
import unittest
zero = Decimal()
def setup_module():
global dbsession_fixture
dbsession_fixture = DBSessionFixture()
def teardown_module():
dbsession_fixture.close... | 36.903717 | 79 | 0.470632 | 5,760 | 60,559 | 4.80816 | 0.050347 | 0.165192 | 0.0577 | 0.051995 | 0.886225 | 0.869688 | 0.849359 | 0.842788 | 0.838202 | 0.830547 | 0 | 0.064158 | 0.396968 | 60,559 | 1,640 | 80 | 36.92622 | 0.694214 | 0.012946 | 0 | 0.835739 | 0 | 0 | 0.165238 | 0 | 0 | 0 | 0 | 0 | 0.217182 | 1 | 0.016495 | false | 0 | 0.01512 | 0.004124 | 0.037801 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
af37238c950e88823aeedb488c9a75ffb5fc06ed | 191 | py | Python | Python-For-Everyone-Horstmann/Chapter1-Introduction/P1.7.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | null | null | null | Python-For-Everyone-Horstmann/Chapter1-Introduction/P1.7.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | null | null | null | Python-For-Everyone-Horstmann/Chapter1-Introduction/P1.7.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | 1 | 2019-09-22T06:27:49.000Z | 2019-09-22T06:27:49.000Z | # Write a program that prints a house that looks exactly like the following:
print(" /\\ ")
print(" / \\ ")
print(" +----+ ")
print(" | .-.| ")
print(" | | || ")
print(" +-+-++ ") | 23.875 | 76 | 0.47644 | 19 | 191 | 4.789474 | 0.631579 | 0.549451 | 0.659341 | 0.659341 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246073 | 191 | 8 | 77 | 23.875 | 0.631944 | 0.387435 | 0 | 0.333333 | 0 | 0 | 0.465517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
afa9dcd7ca1c1814e058b20507c147a9a837c231 | 43 | py | Python | kube_cli/__main__.py | strayge/kube-cli | afdb842694a87da1b9c66cf6b3911445a1271127 | [
"MIT"
] | 1 | 2020-07-31T21:27:48.000Z | 2020-07-31T21:27:48.000Z | kube_cli/__main__.py | strayge/kube-cli | afdb842694a87da1b9c66cf6b3911445a1271127 | [
"MIT"
] | 2 | 2020-03-13T13:56:22.000Z | 2020-03-30T08:58:59.000Z | kube_cli/__main__.py | strayge/kube-cli | afdb842694a87da1b9c66cf6b3911445a1271127 | [
"MIT"
] | 1 | 2020-03-27T20:00:01.000Z | 2020-03-27T20:00:01.000Z | import kube_cli.main
kube_cli.main.main()
| 10.75 | 20 | 0.790698 | 8 | 43 | 4 | 0.5 | 0.4375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 3 | 21 | 14.333333 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 7 |
afb65c8013e2bfe82b0bd368028d3a2967679a94 | 20,768 | py | Python | dlkit/abstract_osid/authorization/query_inspectors.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/abstract_osid/authorization/query_inspectors.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/abstract_osid/authorization/query_inspectors.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Implementations of authorization abstract base class query_inspectors."""
# pylint: disable=invalid-name
# Method names comply with OSID specification.
# pylint: disable=no-init
# Abstract classes do not define __init__.
# pylint: disable=too-few-public-methods
# Some interfaces are specified as 'markers... | 29.458156 | 118 | 0.675318 | 2,195 | 20,768 | 6.211845 | 0.059226 | 0.058673 | 0.06454 | 0.074221 | 0.87136 | 0.83359 | 0.777338 | 0.690942 | 0.679868 | 0.6707 | 0 | 0 | 0.228621 | 20,768 | 704 | 119 | 29.5 | 0.851124 | 0.562885 | 0 | 0.773481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243094 | false | 0 | 0.005525 | 0 | 0.756906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
a59714f6646d25287d9817f4d7b281e3012e6521 | 5,850 | py | Python | metrics/models.py | BrianWaganerSTL/RocketDBaaS | d924589188411371842513060a5e08b1be3cdccf | [
"MIT"
] | 1 | 2018-11-04T09:36:35.000Z | 2018-11-04T09:36:35.000Z | metrics/models.py | BrianWaganerSTL/RocketDBaaS_api | d924589188411371842513060a5e08b1be3cdccf | [
"MIT"
] | null | null | null | metrics/models.py | BrianWaganerSTL/RocketDBaaS_api | d924589188411371842513060a5e08b1be3cdccf | [
"MIT"
] | null | null | null | from django.db import models
from django.db.models import ForeignKey, DateTimeField, DecimalField, IntegerField, CharField, deletion
from djchoices import DjangoChoices, ChoiceItem
from rest_framework.compat import MinValueValidator
from dbaas.models import Server
# ==================================================... | 51.769912 | 119 | 0.737265 | 742 | 5,850 | 5.615903 | 0.142857 | 0.101512 | 0.115191 | 0.089753 | 0.862491 | 0.847132 | 0.827694 | 0.803216 | 0.739861 | 0.708423 | 0 | 0.022696 | 0.133846 | 5,850 | 112 | 120 | 52.232143 | 0.799684 | 0.018291 | 0 | 0.47191 | 0 | 0 | 0.03694 | 0.004356 | 0 | 0 | 0 | 0.008929 | 0 | 1 | 0 | false | 0 | 0.05618 | 0 | 0.853933 | 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 | 1 | 0 | 0 | 7 |
3c4d648d94eed64b82fb50ea553c49ae51297f8a | 21,159 | py | Python | atom/nucleus/python/nucleus_api/api/application_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/nucleus_api/api/application_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/nucleus_api/api/application_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Hydrogen Atom API
The Hydrogen Atom API # noqa: E501
OpenAPI spec version: 1.7.0
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 ... | 39.328996 | 140 | 0.620918 | 2,370 | 21,159 | 5.270042 | 0.069198 | 0.04996 | 0.036509 | 0.028823 | 0.933787 | 0.916333 | 0.907926 | 0.892954 | 0.878943 | 0.873339 | 0 | 0.016547 | 0.291649 | 21,159 | 537 | 141 | 39.402235 | 0.816787 | 0.326008 | 0 | 0.773852 | 1 | 0 | 0.189191 | 0.05412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038869 | false | 0 | 0.014134 | 0 | 0.109541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3c740f4e2412a1107df73c0b3f23abda485ff1b0 | 132 | bzl | Python | third_party/avro/defs.bzl | melsicon/kafka-sensors | db8d23d0bcf1d7511125921d7ddee748957c0ce1 | [
"Apache-2.0"
] | 8 | 2019-11-21T08:27:08.000Z | 2021-05-23T06:50:03.000Z | third_party/avro/defs.bzl | melsicon/kafka-sensors | db8d23d0bcf1d7511125921d7ddee748957c0ce1 | [
"Apache-2.0"
] | 1 | 2021-08-25T05:11:09.000Z | 2021-08-25T05:11:09.000Z | third_party/avro/defs.bzl | melsicon/kafka-sensors | db8d23d0bcf1d7511125921d7ddee748957c0ce1 | [
"Apache-2.0"
] | 1 | 2020-02-03T12:55:50.000Z | 2020-02-03T12:55:50.000Z | """ Apache Avro dependencies. """
AVRO_ARTIFACTS = [
"org.apache.avro:avro-tools:1.10.2",
"org.apache.avro:avro:1.10.2",
]
| 18.857143 | 40 | 0.628788 | 20 | 132 | 4.1 | 0.45 | 0.365854 | 0.317073 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.151515 | 132 | 6 | 41 | 22 | 0.660714 | 0.189394 | 0 | 0 | 0 | 0 | 0.606061 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c7aa54cc8470b863515f5c44b41eb0bf8d13945 | 580 | py | Python | app/helpers/regex_helper/__init__.py | sebbesiren/game-api | 5d4a6629995a908b89155738dd70646af5f76038 | [
"MIT"
] | null | null | null | app/helpers/regex_helper/__init__.py | sebbesiren/game-api | 5d4a6629995a908b89155738dd70646af5f76038 | [
"MIT"
] | null | null | null | app/helpers/regex_helper/__init__.py | sebbesiren/game-api | 5d4a6629995a908b89155738dd70646af5f76038 | [
"MIT"
] | null | null | null | class RegexHelper:
SWEDISH_PRIVATE_PERSON = "^(19|20)[0-9]{2}((0[1-9])|(1[0-2]))(([06][1-9])|([1278][0-9])|([39][0-1]))[0-9]{4}$"
EMAIL_ADDRESS = "[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"
MOBILE_PHONE = "^\+(\d+)$... | 72.5 | 156 | 0.382759 | 120 | 580 | 1.783333 | 0.283333 | 0.084112 | 0.168224 | 0.163551 | 0.406542 | 0.406542 | 0.406542 | 0.406542 | 0.406542 | 0.406542 | 0 | 0.179104 | 0.075862 | 580 | 7 | 157 | 82.857143 | 0.220149 | 0 | 0 | 0 | 0 | 0.571429 | 0.746552 | 0.696552 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
590218c05a393b9837cfde7626ff0264d6038def | 287 | py | Python | production/keyphrase/try.py | ramaganapathy1/AMuDA-Ir-back-end | 179bf52fd303440fff661c074c7835c4932d5165 | [
"MIT"
] | 2 | 2017-09-20T07:47:08.000Z | 2017-09-27T12:26:11.000Z | production/keyphrase/preprocess_audio/try.py | ramaganapathy1/AMuDA-Ir-back-end | 179bf52fd303440fff661c074c7835c4932d5165 | [
"MIT"
] | null | null | null | production/keyphrase/preprocess_audio/try.py | ramaganapathy1/AMuDA-Ir-back-end | 179bf52fd303440fff661c074c7835c4932d5165 | [
"MIT"
] | 2 | 2017-09-27T12:26:13.000Z | 2018-12-11T00:37:53.000Z | print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
print "hello dude!!!"
| 19.133333 | 21 | 0.634146 | 39 | 287 | 4.666667 | 0.076923 | 0.714286 | 1 | 1.252747 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.139373 | 287 | 14 | 22 | 20.5 | 0.736842 | 0 | 0 | 1 | 0 | 0 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 12 |
590362c027fbf411378e59bc42cd44cc47fd7157 | 40,936 | py | Python | typings/keyingsets_builtins.py | Argmaster/PyR3 | 6786bcb6a101fe4bd4cc50fe43767b8178504b15 | [
"MIT"
] | 2 | 2021-12-12T18:51:52.000Z | 2022-02-23T09:49:16.000Z | src/blender/blender_autocomplete-master/2.92/keyingsets_builtins.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | 2 | 2021-11-08T12:09:02.000Z | 2021-12-12T23:01:12.000Z | src/blender/blender_autocomplete-master/2.92/keyingsets_builtins.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | import sys
import typing
import bpy_types
class BUILTIN_KSI_Available(bpy_types.KeyingSetInfo):
bl_idname = None
''' '''
bl_label = None
''' '''
bl_rna = None
''' '''
id_data = None
''' '''
def as_pointer(self):
'''
'''
pass
def bl_rna_get_subclas... | 12.025852 | 66 | 0.374023 | 3,307 | 40,936 | 4.396432 | 0.027215 | 0.24025 | 0.318523 | 0.075108 | 0.975445 | 0.975445 | 0.975445 | 0.975445 | 0.975445 | 0.975445 | 0 | 0.000192 | 0.49062 | 40,936 | 3,403 | 67 | 12.029386 | 0.697055 | 0 | 0 | 0.976357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.455342 | false | 0.455342 | 0.002627 | 0 | 0.544658 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 12 |
593e96936ea686c85e41cacef1c035331ff7f710 | 180 | py | Python | test/automation/model/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 3 | 2022-01-12T06:51:51.000Z | 2022-02-23T18:54:33.000Z | test/automation/model/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 6 | 2021-08-31T19:21:26.000Z | 2022-01-03T05:53:42.000Z | test/automation/model/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 8 | 2021-08-12T08:07:49.000Z | 2022-01-25T04:40:51.000Z | from . import loader
from . import model_all
from . import model_upload
from . import model_task
from . import model_publish
from . import model_list
from . import model_benchmark
| 22.5 | 29 | 0.805556 | 27 | 180 | 5.148148 | 0.37037 | 0.503597 | 0.647482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 180 | 7 | 30 | 25.714286 | 0.914474 | 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 | 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 | 7 |
59ab36eb3e1ecd63992f65d8f462a52ad7910c64 | 220 | py | Python | output/models/ms_data/wildcards/wild_z003_a_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/wildcards/wild_z003_a_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/wildcards/wild_z003_a_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.wildcards.wild_z003_a_xsd.wild_z003_a import Elt1
from output.models.ms_data.wildcards.wild_z003_a_xsd.wild_z003_b import (
Ct,
Elem,
)
__all__ = [
"Elt1",
"Ct",
"Elem",
]
| 18.333333 | 76 | 0.704545 | 35 | 220 | 3.971429 | 0.457143 | 0.230216 | 0.194245 | 0.258993 | 0.733813 | 0.733813 | 0.733813 | 0.733813 | 0.733813 | 0.733813 | 0 | 0.077348 | 0.177273 | 220 | 11 | 77 | 20 | 0.690608 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
59b98b34f9a3cf29d7e9d4b0f8b8edf64ce86b0d | 9,568 | py | Python | webhelpers2/tests/test_modeltags.py | einSelbst/WebHelpers2 | 1675e2f7e53f296e7750499176be1fabca0454f3 | [
"BSD-3-Clause"
] | null | null | null | webhelpers2/tests/test_modeltags.py | einSelbst/WebHelpers2 | 1675e2f7e53f296e7750499176be1fabca0454f3 | [
"BSD-3-Clause"
] | null | null | null | webhelpers2/tests/test_modeltags.py | einSelbst/WebHelpers2 | 1675e2f7e53f296e7750499176be1fabca0454f3 | [
"BSD-3-Clause"
] | null | null | null | from webhelpers2.html import HTML
from webhelpers2.html.tags import *
from . import HTMLTestCase
class Holder(object):
def __init__(self, settings):
for k,v in settings.items():
setattr(self, k, v)
class TestModelTagsHelperWithObject(HTMLTestCase):
def setup_method(self, metho... | 46.222222 | 322 | 0.624059 | 1,302 | 9,568 | 4.493088 | 0.078341 | 0.035897 | 0.047863 | 0.096923 | 0.897607 | 0.891795 | 0.877265 | 0.855556 | 0.855556 | 0.844615 | 0 | 0.006113 | 0.196488 | 9,568 | 206 | 323 | 46.446602 | 0.754813 | 0.004076 | 0 | 0.688312 | 0 | 0.12987 | 0.468445 | 0.069621 | 0 | 0 | 0 | 0 | 0.24026 | 1 | 0.298701 | false | 0.097403 | 0.019481 | 0 | 0.357143 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
59bdcfd75909452802e1c3a1f3f8003b69c4464c | 108 | py | Python | sumofnsq_e1-1.py | lsm4446/study_python | d05077b319c98007af26c92f69f5d59fe33483d0 | [
"BSD-2-Clause"
] | 1 | 2020-02-17T01:25:35.000Z | 2020-02-17T01:25:35.000Z | sumofnsq_e1-1.py | lsm4446/study_python | d05077b319c98007af26c92f69f5d59fe33483d0 | [
"BSD-2-Clause"
] | 2 | 2021-03-31T19:32:47.000Z | 2021-12-13T20:33:30.000Z | sumofnsq_e1-1.py | lsm4446/study_python | d05077b319c98007af26c92f69f5d59fe33483d0 | [
"BSD-2-Clause"
] | null | null | null | def sum_of_nsqr(n):
return n * (n+1) * (2*n+1) // 6
print(sum_of_nsqr(10))
print(sum_of_nsqr(50))
| 18 | 36 | 0.592593 | 23 | 108 | 2.521739 | 0.521739 | 0.258621 | 0.465517 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.203704 | 108 | 5 | 37 | 21.6 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 8 |
59e3f83114734c03cffc38e15824adb94a84607f | 2,543 | py | Python | sistem_climatizare/teste/integration_testing/test_sensor.py | GeorgeBodea/Sistem-climatizare | 7ff3a32ce434b3bfb5ecdef4d56274f2386cc6a1 | [
"MIT"
] | 1 | 2022-02-02T11:53:03.000Z | 2022-02-02T11:53:03.000Z | sistem_climatizare/teste/integration_testing/test_sensor.py | GeorgeBodea/Sistem-climatizare | 7ff3a32ce434b3bfb5ecdef4d56274f2386cc6a1 | [
"MIT"
] | null | null | null | sistem_climatizare/teste/integration_testing/test_sensor.py | GeorgeBodea/Sistem-climatizare | 7ff3a32ce434b3bfb5ecdef4d56274f2386cc6a1 | [
"MIT"
] | 4 | 2022-02-02T11:53:24.000Z | 2022-02-05T21:57:13.000Z | import __init__
import pytest
import threading
import time
import paho.mqtt.client as mqtt_client
from sistem_climatizare.senzori_centralizare.basic_sensor import BasicSensor
from sistem_climatizare.senzori_centralizare.temperature_sensor import TemperatureSensor
from sistem_climatizare.senzori_centralizare.human_senso... | 28.573034 | 88 | 0.702713 | 299 | 2,543 | 5.675585 | 0.207358 | 0.111962 | 0.05657 | 0.049499 | 0.785504 | 0.714791 | 0.714791 | 0.714791 | 0.714791 | 0.714791 | 0 | 0.005564 | 0.222572 | 2,543 | 88 | 89 | 28.897727 | 0.852807 | 0 | 0 | 0.72 | 0 | 0 | 0.044829 | 0.009044 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.08 | false | 0.253333 | 0.106667 | 0 | 0.186667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
ab6aba6fc9baa0438b92a1d3a38d11c08bac7c9b | 68,628 | py | Python | benchmarks/SimResults/micro_pinned_train_combos/cmpD_bwavesgcccactusADMgromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/micro_pinned_train_combos/cmpD_bwavesgcccactusADMgromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/micro_pinned_train_combos/cmpD_bwavesgcccactusADMgromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.085339 | 124 | 0.682054 | 8,090 | 68,628 | 5.779975 | 0.067738 | 0.123524 | 0.112917 | 0.093413 | 0.939435 | 0.930368 | 0.917536 | 0.886762 | 0.862532 | 0.842237 | 0 | 0.131957 | 0.224267 | 68,628 | 914 | 125 | 75.085339 | 0.746379 | 0 | 0 | 0.642232 | 0 | 0 | 0.657229 | 0.048085 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ab7c83606b72dc22dd2cc94110e980988deb2d5a | 145 | py | Python | loldib/getratings/models/NA/na_brand/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_brand/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_brand/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_brand_top import *
from .na_brand_jng import *
from .na_brand_mid import *
from .na_brand_bot import *
from .na_brand_sup import *
| 24.166667 | 28 | 0.758621 | 25 | 145 | 4 | 0.36 | 0.3 | 0.55 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 145 | 5 | 29 | 29 | 0.833333 | 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 | 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 | 8 |
ab8babb032e52016e59e64012fb813ea0a78ae77 | 178 | py | Python | mamonsu/plugins/system/__init__.py | dan-aksenov/mamonsu | c4822b48974e870af91910515fd7f11e4b8b41b3 | [
"BSD-3-Clause"
] | 188 | 2016-01-31T09:05:59.000Z | 2022-03-22T16:49:12.000Z | mamonsu/plugins/system/__init__.py | dan-aksenov/mamonsu | c4822b48974e870af91910515fd7f11e4b8b41b3 | [
"BSD-3-Clause"
] | 162 | 2016-02-02T13:49:14.000Z | 2022-02-22T08:45:42.000Z | mamonsu/plugins/system/__init__.py | dan-aksenov/mamonsu | c4822b48974e870af91910515fd7f11e4b8b41b3 | [
"BSD-3-Clause"
] | 46 | 2016-01-31T21:23:37.000Z | 2022-02-07T10:59:54.000Z | import mamonsu.lib.platform as platform
if platform.LINUX:
__import__('mamonsu.plugins.system.linux')
if platform.WINDOWS:
__import__('mamonsu.plugins.system.windows')
| 22.25 | 48 | 0.775281 | 22 | 178 | 5.909091 | 0.454545 | 0.3 | 0.307692 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 178 | 7 | 49 | 25.428571 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.325843 | 0.325843 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
e60180cc48eae83c4059ded842771b9e9efe2aa2 | 85,338 | py | Python | alibabacloud/clients/vod_20170321.py | wallisyan/alibabacloud-python-sdk-v2 | 6e024c97cded2403025a7dd8fea8261e41872156 | [
"Apache-2.0"
] | 21 | 2018-12-20T07:34:13.000Z | 2020-03-05T14:32:08.000Z | alibabacloud/clients/vod_20170321.py | wallisyan/alibabacloud-python-sdk-v2 | 6e024c97cded2403025a7dd8fea8261e41872156 | [
"Apache-2.0"
] | 22 | 2018-12-21T13:22:33.000Z | 2020-06-29T08:37:09.000Z | alibabacloud/clients/vod_20170321.py | wallisyan/alibabacloud-python-sdk-v2 | 6e024c97cded2403025a7dd8fea8261e41872156 | [
"Apache-2.0"
] | 12 | 2018-12-29T05:45:55.000Z | 2022-01-05T09:59:30.000Z | # Copyright 2019 Alibaba Cloud Inc. All rights reserved.
#
# 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 la... | 37.626984 | 99 | 0.583128 | 8,132 | 85,338 | 5.747787 | 0.069233 | 0.068591 | 0.053893 | 0.064183 | 0.81911 | 0.798314 | 0.768126 | 0.730472 | 0.705569 | 0.67337 | 0 | 0.000276 | 0.321709 | 85,338 | 2,267 | 100 | 37.643582 | 0.807218 | 0.006738 | 0 | 0.766588 | 0 | 0 | 0.151683 | 0.013593 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059294 | false | 0 | 0.001412 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e61465b89e9c57fb6877ea067218718787bc567f | 132 | py | Python | crash_generator/manual_connector/manual_connector.py | donlelef/robot | 5aeedaa05117bbb0f766167ae66ade143e0e91ea | [
"MIT"
] | null | null | null | crash_generator/manual_connector/manual_connector.py | donlelef/robot | 5aeedaa05117bbb0f766167ae66ade143e0e91ea | [
"MIT"
] | null | null | null | crash_generator/manual_connector/manual_connector.py | donlelef/robot | 5aeedaa05117bbb0f766167ae66ade143e0e91ea | [
"MIT"
] | null | null | null | from pymorse import Morse
from crash_generator.robot.robot import Robot
def get_robot():
return Robot(Morse().robot, Morse())
| 18.857143 | 45 | 0.757576 | 19 | 132 | 5.157895 | 0.526316 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 132 | 6 | 46 | 22 | 0.867257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
e62da4e25b3cdb1f4a0a2340600fb2c0ef7b1b7b | 146 | py | Python | ABC151-200/ABC196/abc196_e.py | billyio/atcoder | 9d16765f91f28deeb7328fcc6c19541ee790941f | [
"MIT"
] | 1 | 2021-02-01T08:48:07.000Z | 2021-02-01T08:48:07.000Z | ABC151-200/ABC196/abc196_e.py | billyio/atcoder | 9d16765f91f28deeb7328fcc6c19541ee790941f | [
"MIT"
] | null | null | null | ABC151-200/ABC196/abc196_e.py | billyio/atcoder | 9d16765f91f28deeb7328fcc6c19541ee790941f | [
"MIT"
] | null | null | null | N = int(input())
at = [list(map, int, input().split()) for _ in range(N)]
Q = int(input())
x = list(map, int, input().split())
# for _ in range(s | 24.333333 | 56 | 0.582192 | 26 | 146 | 3.192308 | 0.5 | 0.385542 | 0.240964 | 0.361446 | 0.722892 | 0.722892 | 0.722892 | 0.722892 | 0 | 0 | 0 | 0 | 0.171233 | 146 | 6 | 57 | 24.333333 | 0.68595 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
05240770178f9265ab228d6c34327d704001fb47 | 34,458 | py | Python | tests/check_system.py | iand-xilinx/p4pktgen | bc99dc7c797a72fa3469e052b38f77829db3eacd | [
"BSD-3-Clause"
] | null | null | null | tests/check_system.py | iand-xilinx/p4pktgen | bc99dc7c797a72fa3469e052b38f77829db3eacd | [
"BSD-3-Clause"
] | null | null | null | tests/check_system.py | iand-xilinx/p4pktgen | bc99dc7c797a72fa3469e052b38f77829db3eacd | [
"BSD-3-Clause"
] | null | null | null | from p4pktgen.main import process_json_file
from p4pktgen.config import Config
from p4pktgen.core.translator import TestPathResult
class CheckSystem:
def check_demo1b(self):
Config().load_test_defaults()
results = process_json_file('examples/demo1b.json')
expected_results = {
(... | 108.358491 | 705 | 0.648616 | 4,598 | 34,458 | 4.674859 | 0.048282 | 0.040475 | 0.068016 | 0.037683 | 0.947197 | 0.942824 | 0.939474 | 0.929286 | 0.911514 | 0.903326 | 0 | 0.058214 | 0.151518 | 34,458 | 317 | 706 | 108.700315 | 0.676985 | 0.02461 | 0 | 0.494774 | 0 | 0 | 0.503111 | 0.25419 | 0 | 0 | 0.002381 | 0 | 0.038328 | 1 | 0.038328 | false | 0 | 0.010453 | 0 | 0.052265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0598fe2682b67df77f4bb97e5b010d1030e79a6c | 287 | py | Python | Preview Materials/Answers/prob_p21.py | WHU-Tan/NUS_AIWorkshop_2020_Summer | 1a047884547b433816403883f384d18d56012978 | [
"BSD-4-Clause-UC"
] | null | null | null | Preview Materials/Answers/prob_p21.py | WHU-Tan/NUS_AIWorkshop_2020_Summer | 1a047884547b433816403883f384d18d56012978 | [
"BSD-4-Clause-UC"
] | null | null | null | Preview Materials/Answers/prob_p21.py | WHU-Tan/NUS_AIWorkshop_2020_Summer | 1a047884547b433816403883f384d18d56012978 | [
"BSD-4-Clause-UC"
] | null | null | null | s=input()
a=int(input())
leng=len(s)
if(leng>a):
print('True')
else:
print('False')
if(leng>=a):
print('True')
else:
print('False')
if(leng==a):
print('True')
else:
print('False')
if(leng!=a):
print('True')
else:
print('False') | 11.958333 | 19 | 0.498258 | 40 | 287 | 3.575 | 0.275 | 0.167832 | 0.195804 | 0.335664 | 0.839161 | 0.839161 | 0.839161 | 0.839161 | 0.839161 | 0.839161 | 0 | 0 | 0.271777 | 287 | 24 | 20 | 11.958333 | 0.684211 | 0 | 0 | 0.631579 | 0 | 0 | 0.135849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 9 |
557239565601863d27dc77377519c9813c0ce578 | 399 | py | Python | src/import_list_if/tests/test_views.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/import_list_if/tests/test_views.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/import_list_if/tests/test_views.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | from django.urls import reverse
def test_ListaImportowView_link(admin_app):
page = admin_app.get(reverse("import_list_if:index"))
page = page.click("pobierz plik wzorcowy")
assert page.status_code == 200
def test_NowyImportView_link(admin_app):
page = admin_app.get(reverse("import_list_if:new"))
... | 28.5 | 57 | 0.741855 | 57 | 399 | 4.947368 | 0.45614 | 0.113475 | 0.085106 | 0.113475 | 0.716312 | 0.716312 | 0.716312 | 0.716312 | 0.716312 | 0.716312 | 0 | 0.017699 | 0.150376 | 399 | 13 | 58 | 30.692308 | 0.814159 | 0 | 0 | 0.444444 | 0 | 0 | 0.200501 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.555556 | 0 | 0.777778 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
55b908ad13cfedbd3c3c113c84dc81404dddabf2 | 204 | py | Python | app/core/messages.py | Zadigo/ze_mailer | 1398a84cb8e836637a2ad72aef2f6f417c00b14e | [
"MIT"
] | 1 | 2020-06-30T21:06:02.000Z | 2020-06-30T21:06:02.000Z | app/core/messages.py | Zadigo/ze_mailer | 1398a84cb8e836637a2ad72aef2f6f417c00b14e | [
"MIT"
] | null | null | null | app/core/messages.py | Zadigo/ze_mailer | 1398a84cb8e836637a2ad72aef2f6f417c00b14e | [
"MIT"
] | null | null | null | class Messages:
def __init__(self, message):
self.message = message
def __str__(self):
return '[%s]: %s' % (self.__class__.__name__, self.message)
class Info(Messages):
pass
| 20.4 | 67 | 0.627451 | 24 | 204 | 4.666667 | 0.5 | 0.294643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240196 | 204 | 9 | 68 | 22.666667 | 0.722581 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
e956e8b50b68f045e84c6f7a41b9d0ba2cf323ea | 105,735 | py | Python | src/api/colors/cyan.py | Gummybearr/cf-ratings | 04d1defa49e3f2babcb6cce1bf0fd1c4b046530c | [
"MIT"
] | null | null | null | src/api/colors/cyan.py | Gummybearr/cf-ratings | 04d1defa49e3f2babcb6cce1bf0fd1c4b046530c | [
"MIT"
] | null | null | null | src/api/colors/cyan.py | Gummybearr/cf-ratings | 04d1defa49e3f2babcb6cce1bf0fd1c4b046530c | [
"MIT"
] | null | null | null | cyan = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjMAAAEdCAYAAAD5HOYZAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH5AsWBwUDopJ5HAAAAAFvck5UAc+id5oAAIAASURBVHja7P1LzLbNlh4GrfXuvdu922fHhxhzlCFE5IDEgFiKZIVhMkgyYWAnSIgBjFGEEBJmwoxMQ0BCSMQhApxEQiQhQI... | 105,735 | 105,735 | 0.965735 | 3,479 | 105,735 | 29.350963 | 0.960621 | 0.001645 | 0.002262 | 0.002742 | 0.002977 | 0.002977 | 0.002977 | 0.002977 | 0.002977 | 0.002977 | 0 | 0.159014 | 0.000019 | 105,735 | 1 | 105,735 | 105,735 | 0.80674 | 0 | 0 | 0 | 0 | 1 | 0.999905 | 0.999905 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e964fbd0676ca40a66a778d54e32c306fc5fac5a | 1,516 | py | Python | venv/lib/python3.6/site-packages/tensorflow/_api/v1/strings/__init__.py | yuxuan1995liu/darkflowyolo_detection | a7807e9b85833e3f877d46bb60e8fa7d0596a10b | [
"MIT"
] | 1 | 2019-04-11T13:23:09.000Z | 2019-04-11T13:23:09.000Z | Lib/site-packages/tensorflow/_api/v1/strings/__init__.py | caiyongji/Anaconda-py36.5-tensorflow-built-env | f4eb40b5ca3f49dfc929ff3ad2b4bb877e9663e2 | [
"PSF-2.0"
] | null | null | null | Lib/site-packages/tensorflow/_api/v1/strings/__init__.py | caiyongji/Anaconda-py36.5-tensorflow-built-env | f4eb40b5ca3f49dfc929ff3ad2b4bb877e9663e2 | [
"PSF-2.0"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Operations for working with string Tensors.
"""
from __future__ import print_function as _print_function
from tensorflow.python import reduce_join
from tensorflow.python import regex_fu... | 50.533333 | 88 | 0.875989 | 231 | 1,516 | 5.454545 | 0.246753 | 0.266667 | 0.31746 | 0.268254 | 0.60873 | 0.313492 | 0.313492 | 0.313492 | 0.243651 | 0.243651 | 0 | 0.000722 | 0.085752 | 1,516 | 29 | 89 | 52.275862 | 0.908369 | 0.112137 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.954545 | 0 | 0.954545 | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e973dcd75d436c13762a57ad43f16bb050308e58 | 16,698 | py | Python | Face-Detection-HOG/loadTests.py | buzem/vision-projects | b1bd5a60cedadb38c3e87b22b46bbec4d6f79852 | [
"MIT"
] | null | null | null | Face-Detection-HOG/loadTests.py | buzem/vision-projects | b1bd5a60cedadb38c3e87b22b46bbec4d6f79852 | [
"MIT"
] | null | null | null | Face-Detection-HOG/loadTests.py | buzem/vision-projects | b1bd5a60cedadb38c3e87b22b46bbec4d6f79852 | [
"MIT"
] | null | null | null | def loadTestsGT():
ValidationGroundTruthsList = [['voyager.jpg',117,37,143,69],['voyager.jpg',187,48,209,76],['voyager.jpg',298,55,318,79],['voyager.jpg',385,21,411,53],['voyager.jpg',252,190,276,218],['voyager.jpg',301,176,325,198],['voyager.jpg',138,432,168,466],['voyager.jpg',245,456,277,488],['voyager.jpg',338,431... | 5,566 | 16,644 | 0.683794 | 3,231 | 16,698 | 3.532962 | 0.238007 | 0.049934 | 0.037232 | 0.013141 | 0.016645 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358119 | 0.000479 | 16,698 | 3 | 16,645 | 5,566 | 0.325824 | 0 | 0 | 0 | 0 | 0 | 0.379184 | 0.039404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
e9da9176a0ade90bac5842d9014985314416f769 | 49 | py | Python | lib/ctyEnge/EngineeringSkills/__init__.py | JoshOrndorff/snippets | ef06e03de09897014f88d89a84b597aabde7edaa | [
"Unlicense"
] | null | null | null | lib/ctyEnge/EngineeringSkills/__init__.py | JoshOrndorff/snippets | ef06e03de09897014f88d89a84b597aabde7edaa | [
"Unlicense"
] | null | null | null | lib/ctyEnge/EngineeringSkills/__init__.py | JoshOrndorff/snippets | ef06e03de09897014f88d89a84b597aabde7edaa | [
"Unlicense"
] | null | null | null | from .EngineeringSkills import EngineeringSkills
| 24.5 | 48 | 0.897959 | 4 | 49 | 11 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e9dcf49e925ed3e887eb0787961c752c8bab2716 | 6,254 | py | Python | proteus/mprans/ArchiveBeams.py | acatwithacomputer/proteus | 80dfad95da6ab4d18a88a035f55c26b03540a864 | [
"MIT"
] | null | null | null | proteus/mprans/ArchiveBeams.py | acatwithacomputer/proteus | 80dfad95da6ab4d18a88a035f55c26b03540a864 | [
"MIT"
] | 13 | 2018-02-08T23:22:59.000Z | 2020-12-06T19:40:32.000Z | proteus/mprans/ArchiveBeams.py | acatwithacomputer/proteus | 80dfad95da6ab4d18a88a035f55c26b03540a864 | [
"MIT"
] | 1 | 2020-02-17T03:25:34.000Z | 2020-02-17T03:25:34.000Z | from __future__ import print_function
from builtins import range
import numpy as np
def InitializeXdmf(filename="beam"):
f = open(filename + ".xmf", 'w')
f.write('<?xml version="1.0" ?>' + '\n'
+ '<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>' + '\n'
+ '<Xdmf Version="2.0" xmlns:xi="http://www.... | 41.417219 | 152 | 0.461145 | 873 | 6,254 | 3.237113 | 0.106529 | 0.079972 | 0.076433 | 0.055202 | 0.918613 | 0.90552 | 0.890658 | 0.890658 | 0.861642 | 0.843949 | 0 | 0.015629 | 0.314519 | 6,254 | 150 | 153 | 41.693333 | 0.643574 | 0.003678 | 0 | 0.8 | 0 | 0.059259 | 0.383529 | 0.103227 | 0.059259 | 0 | 0 | 0 | 0 | 1 | 0.02963 | false | 0 | 0.022222 | 0 | 0.051852 | 0.014815 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
75e2abb6e9c54e3b9b6d2f1fc97fc5f39d8bf899 | 84 | py | Python | win/devkit/other/pymel/extras/completion/py/maya/app/general/pointOnPolyConstraint.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 10 | 2018-03-30T16:09:02.000Z | 2021-12-07T07:29:19.000Z | win/devkit/other/pymel/extras/completion/py/maya/app/general/pointOnPolyConstraint.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | null | null | null | win/devkit/other/pymel/extras/completion/py/maya/app/general/pointOnPolyConstraint.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 9 | 2018-06-02T09:18:49.000Z | 2021-12-20T09:24:35.000Z | import maya.cmds as cmds
import maya.OpenMaya as om
def assembleCmd():
pass
| 9.333333 | 26 | 0.714286 | 13 | 84 | 4.615385 | 0.692308 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22619 | 84 | 8 | 27 | 10.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.