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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
419affb0e56f802bd1832a71ca23ddae57819ef6 | 145 | py | Python | codingchallenges/bond.py | joesmall37/Algorithms | ae14e48a9a05558da81da01c5061db265f09e2e4 | [
"MIT"
] | null | null | null | codingchallenges/bond.py | joesmall37/Algorithms | ae14e48a9a05558da81da01c5061db265f09e2e4 | [
"MIT"
] | null | null | null | codingchallenges/bond.py | joesmall37/Algorithms | ae14e48a9a05558da81da01c5061db265f09e2e4 | [
"MIT"
] | null | null | null | def bond(first_name, last_name):
return "the name is " + last_name + ". " + first_name + " " + last_name
print(bond("sid", "silverstien"))
| 29 | 76 | 0.634483 | 20 | 145 | 4.35 | 0.55 | 0.275862 | 0.298851 | 0.390805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193103 | 145 | 4 | 77 | 36.25 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | 8 |
68ce19bcb3fa95dc21a38c74e35a6396001df53b | 6,951 | py | Python | tests/test_bus.py | fglvs/osdp-python | 6d7135facfe10299ab019dae6f61e88529ffd989 | [
"Apache-2.0"
] | null | null | null | tests/test_bus.py | fglvs/osdp-python | 6d7135facfe10299ab019dae6f61e88529ffd989 | [
"Apache-2.0"
] | null | null | null | tests/test_bus.py | fglvs/osdp-python | 6d7135facfe10299ab019dae6f61e88529ffd989 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for OSDP Bus"""
import logging
import os
import sys
import unittest
sys.path.insert(0, os.path.abspath('..'))
from osdp import *
from .puppet_connection import PuppetOsdpConnection
log = logging.getLogger('osdp')
class BusTestCase(unittest.TestCase):
"""Test... | 33.742718 | 111 | 0.778018 | 885 | 6,951 | 5.863277 | 0.183051 | 0.07805 | 0.092503 | 0.067065 | 0.855656 | 0.831374 | 0.825014 | 0.817884 | 0.792446 | 0.791675 | 0 | 0.040463 | 0.118256 | 6,951 | 206 | 112 | 33.742718 | 0.806167 | 0.015969 | 0 | 0.726027 | 0 | 0 | 0.041062 | 0.00352 | 0 | 0 | 0.015252 | 0 | 0.226027 | 1 | 0.054795 | false | 0 | 0.041096 | 0 | 0.10274 | 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 |
68d4aa35a0cf392dcca785deb63e6936325ee7fd | 114,424 | py | Python | pytests/tuqquery/tuq_xattr.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_xattr.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_xattr.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | from tuq import QueryTests
from membase.api.rest_client import RestHelper
from couchbase.cluster import Cluster
from couchbase.cluster import PasswordAuthenticator
import couchbase.subdocument as SD
class QueryXattrTests(QueryTests):
def setUp(self):
super(QueryXattrTests, self).setUp()
self.log.i... | 59.471933 | 250 | 0.663515 | 15,341 | 114,424 | 4.744084 | 0.026595 | 0.065541 | 0.040176 | 0.036645 | 0.947993 | 0.935558 | 0.923563 | 0.90926 | 0.895986 | 0.882026 | 0 | 0.021351 | 0.217384 | 114,424 | 1,923 | 251 | 59.50286 | 0.791368 | 0.052725 | 0 | 0.639008 | 0 | 0.122327 | 0.376131 | 0.128726 | 0 | 0 | 0 | 0 | 0.081266 | 0 | null | null | 0.007699 | 0.004277 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68d543770a888dc57050de9b1720a92d809ae8e1 | 557 | py | Python | tests/core/node_height.py | ForestCrazy/chia-blockchain-remote-plot | 0ba838b7a8ea2b5410d438ac70295df699a30dae | [
"Apache-2.0"
] | 11,902 | 2019-12-05T00:14:29.000Z | 2022-03-31T23:25:37.000Z | tests/core/node_height.py | ForestCrazy/chia-blockchain-remote-plot | 0ba838b7a8ea2b5410d438ac70295df699a30dae | [
"Apache-2.0"
] | 5,246 | 2019-12-05T04:00:03.000Z | 2022-03-31T21:33:30.000Z | tests/core/node_height.py | Devh4ox4d/silishitcoin | 4372d06aa4a54220f2bde29c8081410503679a82 | [
"Apache-2.0"
] | 2,149 | 2019-12-05T11:12:53.000Z | 2022-03-31T06:08:34.000Z | def node_height_at_least(node, h):
if node.full_node.blockchain.get_peak() is not None:
return node.full_node.blockchain.get_peak().height >= h
return False
def node_height_exactly(node, h):
if node.full_node.blockchain.get_peak() is not None:
return node.full_node.blockchain.get_peak().he... | 30.944444 | 63 | 0.701975 | 86 | 557 | 4.325581 | 0.232558 | 0.129032 | 0.193548 | 0.354839 | 0.798387 | 0.798387 | 0.798387 | 0.704301 | 0.704301 | 0.704301 | 0 | 0.008909 | 0.193896 | 557 | 17 | 64 | 32.764706 | 0.819599 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
6bf0d607358bda9f921ff4872c2ce4c9a7408ae4 | 209 | py | Python | src/ctc/protocols/fei_utils/coracle/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/protocols/fei_utils/coracle/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/protocols/fei_utils/coracle/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .coracle_balances import *
from .coracle_deposits import *
from .coracle_fei import *
from .coracle_oracles import *
from .coracle_spec import *
from .coracle_stats import *
from .coracle_tokens import *
| 26.125 | 31 | 0.799043 | 28 | 209 | 5.714286 | 0.357143 | 0.48125 | 0.6375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133971 | 209 | 7 | 32 | 29.857143 | 0.883978 | 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 |
6bf693f39e496ecaeb5695ed2c0724e447fed212 | 364 | py | Python | terrascript/resource/vra.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/vra.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/vra.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/vra.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:30:45 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.vra
#
# instead of
#
# >>> import terrascript.resource.vmware.vra
#
# This is only available for 'official' and 'partner' providers.
fr... | 24.266667 | 73 | 0.733516 | 49 | 364 | 5.44898 | 0.714286 | 0.284644 | 0.164794 | 0.209738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038339 | 0.14011 | 364 | 14 | 74 | 26 | 0.814696 | 0.802198 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d41d9e8f6a8d9aa2eb1b517d0440b6e88b49cb63 | 33,548 | py | Python | src/isanlp_rst/td_rst_parser/src/modules/module_fence_rnn.py | tchewik/isanlp_rst | 459864b3daeeb702acf5e65543181068439ce12c | [
"MIT"
] | 6 | 2020-05-09T01:13:10.000Z | 2021-02-05T01:02:40.000Z | src/isanlp_rst/td_rst_parser/src/modules/module_fence_rnn.py | tchewik/isanlp_rst | 459864b3daeeb702acf5e65543181068439ce12c | [
"MIT"
] | 2 | 2019-09-26T11:32:46.000Z | 2020-07-24T13:44:46.000Z | src/isanlp_rst/td_rst_parser/src/modules/module_fence_rnn.py | tchewik/isanlp_rst | 459864b3daeeb702acf5e65543181068439ce12c | [
"MIT"
] | 3 | 2019-09-26T13:39:26.000Z | 2021-04-12T14:34:50.000Z | # -*- coding: utf-8 -*-
import torch
import torch.nn as nn
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence
from src.modules import MLP, BertEmbedding, Biaffine, BiLSTM, CharLSTM, BertEmbeddingfinetuning
from src.modules.dropout import IndependentDropout, SharedDropout
from src.utils import Con... | 43.287742 | 119 | 0.54811 | 4,115 | 33,548 | 4.213852 | 0.06853 | 0.032872 | 0.017762 | 0.019031 | 0.90496 | 0.895271 | 0.889908 | 0.879758 | 0.879758 | 0.873875 | 0 | 0.01672 | 0.36178 | 33,548 | 774 | 120 | 43.343669 | 0.793144 | 0.384553 | 0 | 0.847826 | 0 | 0 | 0.016721 | 0 | 0 | 0 | 0 | 0 | 0.008152 | 1 | 0.038043 | false | 0 | 0.016304 | 0 | 0.092391 | 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 |
d47367ea9dcef3786500b89731484601f690103b | 174 | py | Python | tests/plugins/loading/plugins/setupreturnsnottype/setupreturnsnottype.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | tests/plugins/loading/plugins/setupreturnsnottype/setupreturnsnottype.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | tests/plugins/loading/plugins/setupreturnsnottype/setupreturnsnottype.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | # A plugin's setup symbol is supposed to be a function
# which returns the plugin type.
#
# This plugin's setup function returns a number instead
def setup():
return 5
| 19.333333 | 55 | 0.729885 | 29 | 174 | 4.37931 | 0.689655 | 0.110236 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.212644 | 174 | 8 | 56 | 21.75 | 0.919708 | 0.787356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
2e00a0f9834d49c4a266fa63e654a3a4236ac6e8 | 35,891 | py | Python | src/selectml/sk/distance.py | darcyabjones/selectml | fc63f9de0e0e4c496f34d2a77f169a2c59968786 | [
"Apache-2.0"
] | 1 | 2021-12-07T04:28:39.000Z | 2021-12-07T04:28:39.000Z | src/selectml/sk/distance.py | darcyabjones/selectml | fc63f9de0e0e4c496f34d2a77f169a2c59968786 | [
"Apache-2.0"
] | null | null | null | src/selectml/sk/distance.py | darcyabjones/selectml | fc63f9de0e0e4c496f34d2a77f169a2c59968786 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import numpy as np
from sklearn.base import TransformerMixin, BaseEstimator
from sklearn.utils.validation import (
check_array,
check_is_fitted,
)
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from typing import Optional
import numpy.typing as npt
class VanRadenSimilarity... | 29.809801 | 78 | 0.540052 | 4,276 | 35,891 | 4.371609 | 0.073199 | 0.02755 | 0.03825 | 0.031295 | 0.835339 | 0.810357 | 0.800139 | 0.795859 | 0.791794 | 0.791794 | 0 | 0.04922 | 0.351286 | 35,891 | 1,203 | 79 | 29.83458 | 0.75364 | 0.378145 | 0 | 0.788136 | 0 | 0 | 0.100315 | 0.020239 | 0 | 0 | 0 | 0 | 0.013559 | 1 | 0.067797 | false | 0.027119 | 0.013559 | 0 | 0.183051 | 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 |
2e06578e3ab2277a8fc4e06597ed9ca64c217145 | 76 | py | Python | tests/IT/fixtures/fixture.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | null | null | null | tests/IT/fixtures/fixture.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | 5 | 2018-12-27T02:52:01.000Z | 2019-01-02T01:52:55.000Z | tests/IT/fixtures/fixture.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture()
def fixture_import():
return 'import'
| 10.857143 | 21 | 0.710526 | 9 | 76 | 5.888889 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 6 | 22 | 12.666667 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.75 | 0.25 | 1.25 | 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 |
2e0cb1059dfff8c342b6e6f401949561d3b03928 | 11,016 | py | Python | norma43parser/test/test_parser.py | sergief/norma43parser | 21ea831a782f2bef3110d2253cf9a7c7c4aec126 | [
"MIT"
] | null | null | null | norma43parser/test/test_parser.py | sergief/norma43parser | 21ea831a782f2bef3110d2253cf9a7c7c4aec126 | [
"MIT"
] | null | null | null | norma43parser/test/test_parser.py | sergief/norma43parser | 21ea831a782f2bef3110d2253cf9a7c7c4aec126 | [
"MIT"
] | 1 | 2022-01-25T18:33:37.000Z | 2022-01-25T18:33:37.000Z | import os
from datetime import date
from decimal import Decimal
from norma43parser import Norma43Parser, DateFormat
class TestParserSingleAccount:
@classmethod
def setup_class(cls):
cls.FILE_CONTENT = """111234222212345678900102180202182000000002000009783ACME INC XYZAB
2212342222010218010218011112000... | 44.963265 | 104 | 0.739107 | 1,416 | 11,016 | 5.44774 | 0.112288 | 0.067151 | 0.140005 | 0.172414 | 0.868421 | 0.865569 | 0.850013 | 0.847939 | 0.817215 | 0.781436 | 0 | 0.135591 | 0.161129 | 11,016 | 244 | 105 | 45.147541 | 0.699167 | 0 | 0 | 0.672131 | 0 | 0 | 0.142611 | 0.060276 | 0 | 0 | 0 | 0 | 0.420765 | 1 | 0.284153 | false | 0 | 0.021858 | 0 | 0.322404 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cf47739e57e0774b719988fc1d43d3e9b17a0c52 | 6,851 | py | Python | RECONOCIMIENTO_PLACAS/Package/Modulo.py | Sebastianrza/Reconocimiento_Registro_Placas | 252e7920f34a75dcd31e2183f7546e36657ee1d8 | [
"MIT"
] | null | null | null | RECONOCIMIENTO_PLACAS/Package/Modulo.py | Sebastianrza/Reconocimiento_Registro_Placas | 252e7920f34a75dcd31e2183f7546e36657ee1d8 | [
"MIT"
] | null | null | null | RECONOCIMIENTO_PLACAS/Package/Modulo.py | Sebastianrza/Reconocimiento_Registro_Placas | 252e7920f34a75dcd31e2183f7546e36657ee1d8 | [
"MIT"
] | 1 | 2021-05-13T15:35:31.000Z | 2021-05-13T15:35:31.000Z | import re
import time
class Persona:
class Persona:
def __init__(self, nombre, placa):
self.nombre = nombre
self.placa = placa
def Comparar_Placas():
print("REGISTRO Y RECONOCIMIENTO ")
print("DE PLACAS DE VEHICULOS EN PANAMA")
print("-------------------")
Placas_Reg... | 43.636943 | 85 | 0.532039 | 841 | 6,851 | 4.246136 | 0.099881 | 0.323719 | 0.271073 | 0.283394 | 0.857183 | 0.857183 | 0.847942 | 0.847942 | 0.847942 | 0.846822 | 0 | 0.020031 | 0.256751 | 6,851 | 156 | 86 | 43.916667 | 0.681265 | 0 | 0 | 0.677686 | 0 | 0.082645 | 0.257348 | 0.062436 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016529 | false | 0 | 0.016529 | 0 | 0.049587 | 0.223141 | 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 |
cf61647066aec749f2f9e5287fd1de61920a3248 | 4,055 | py | Python | tutorial/tutorial/spiders/quote_spider.py | akhiljalan/mobility | c171870236e19cc73b9ff458a23307c1455383ca | [
"MIT"
] | null | null | null | tutorial/tutorial/spiders/quote_spider.py | akhiljalan/mobility | c171870236e19cc73b9ff458a23307c1455383ca | [
"MIT"
] | null | null | null | tutorial/tutorial/spiders/quote_spider.py | akhiljalan/mobility | c171870236e19cc73b9ff458a23307c1455383ca | [
"MIT"
] | null | null | null | import scrapy
class QuotesSpider(scrapy.Spider):
name = "quotes" # each spider name must be UQ in a project
# the crawl command is scrapy crawl quotes
# returns an iterable of requests
# def start_requests(self):
# urls = [
# 'http://quotes.toscrape.com/page/1/',
# 'ht... | 52.662338 | 92 | 0.706782 | 597 | 4,055 | 4.752094 | 0.214405 | 0.086359 | 0.185055 | 0.209729 | 0.721889 | 0.721889 | 0.710962 | 0.710962 | 0.710962 | 0.6951 | 0 | 0.01263 | 0.121332 | 4,055 | 77 | 93 | 52.662338 | 0.783609 | 0.174353 | 0 | 0 | 0 | 0.207547 | 0.762692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | false | 0 | 0.018868 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d88147962479035b5957d74308eea7916a2c2977 | 883 | py | Python | Experiments/STMeta/Runner_M1_1.py | nj-czy/UCTB | bddb8b47953bef1f44cb06f1a57a3d7efbd31c3a | [
"MIT"
] | 28 | 2020-02-28T03:16:43.000Z | 2022-03-31T07:24:47.000Z | Experiments/STMeta/Runner_M1_1.py | nj-czy/UCTB | bddb8b47953bef1f44cb06f1a57a3d7efbd31c3a | [
"MIT"
] | 8 | 2020-06-30T09:34:56.000Z | 2022-01-17T12:20:28.000Z | Experiments/STMeta/Runner_M1_1.py | nj-czy/UCTB | bddb8b47953bef1f44cb06f1a57a3d7efbd31c3a | [
"MIT"
] | 13 | 2020-06-04T09:47:36.000Z | 2022-02-25T09:50:52.000Z | import os
############################################################################################################
# Enrich gcn_k
############################################################################################################
os.system('python STMeta_Obj.py -m STMeta_v1.model.yml -d didi_chengdu.data... | 51.941176 | 108 | 0.546999 | 129 | 883 | 3.51938 | 0.232558 | 0.123348 | 0.123348 | 0.176211 | 0.960352 | 0.960352 | 0.960352 | 0.960352 | 0.960352 | 0.960352 | 0 | 0.047739 | 0.098528 | 883 | 17 | 109 | 51.941176 | 0.522613 | 0.01359 | 0 | 0.888889 | 0 | 0 | 0.807339 | 0.440367 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
2b3df2578a38949720009549a3c32895b5fc723c | 1,113 | py | Python | torch_glow/tests/nodes/adaptive_avg_pool2d_test.py | dreamingleo/glow | 8f9649bf1e1244692f2e14bdf57720f683d82618 | [
"Apache-2.0"
] | 3 | 2019-06-12T22:05:33.000Z | 2020-02-20T22:21:50.000Z | torch_glow/tests/nodes/adaptive_avg_pool2d_test.py | dreamingleo/glow | 8f9649bf1e1244692f2e14bdf57720f683d82618 | [
"Apache-2.0"
] | 1 | 2018-05-03T01:46:43.000Z | 2018-05-03T01:46:43.000Z | torch_glow/tests/nodes/adaptive_avg_pool2d_test.py | dreamingleo/glow | 8f9649bf1e1244692f2e14bdf57720f683d82618 | [
"Apache-2.0"
] | 1 | 2020-02-13T10:46:16.000Z | 2020-02-13T10:46:16.000Z | from __future__ import absolute_import, division, print_function, unicode_literals
import torch
import torch.nn.functional as F
from tests.utils import jitVsGlow
def test_adaptive_avg_pool2d_basic():
"""Basic test of PyTorch adaptive_avg_pool2d Node."""
def test_f(inputs):
return F.adaptive_avg_poo... | 27.825 | 82 | 0.72956 | 163 | 1,113 | 4.668712 | 0.263804 | 0.173456 | 0.268068 | 0.070959 | 0.773982 | 0.742444 | 0.716163 | 0.671485 | 0.671485 | 0.671485 | 0 | 0.038544 | 0.160827 | 1,113 | 39 | 83 | 28.538462 | 0.776231 | 0.159928 | 0 | 0.421053 | 0 | 0 | 0.08161 | 0.08161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.210526 | 0.157895 | 0.684211 | 0.052632 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
2b7366c985995605e3b7ff0100f982a8ca7ee7e6 | 67 | py | Python | alesisvsysex/device/__init__.py | wimcoelus/alesisvsysex | 2e6c75acd6082ca592eb405c69dc8e43d14aa2c5 | [
"MIT"
] | 11 | 2018-08-09T22:37:36.000Z | 2021-08-29T14:09:23.000Z | alesisvsysex/device/__init__.py | wimcoelus/alesisvsysex | 2e6c75acd6082ca592eb405c69dc8e43d14aa2c5 | [
"MIT"
] | 12 | 2019-04-01T00:36:55.000Z | 2021-11-13T20:11:32.000Z | alesisvsysex/device/__init__.py | wimcoelus/alesisvsysex | 2e6c75acd6082ca592eb405c69dc8e43d14aa2c5 | [
"MIT"
] | 4 | 2019-12-12T07:54:59.000Z | 2022-03-20T19:16:08.000Z | import alesisvsysex.device.alesis
import alesisvsysex.device.file
| 16.75 | 33 | 0.865672 | 8 | 67 | 7.25 | 0.625 | 0.62069 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 67 | 3 | 34 | 22.333333 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
9921ea4ced3566667ebdac2d41fe9370a413b898 | 8,342 | py | Python | test/v3.1/combo.py | gavinIRL/RHBot | 1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf | [
"MIT"
] | null | null | null | test/v3.1/combo.py | gavinIRL/RHBot | 1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf | [
"MIT"
] | 60 | 2021-03-29T14:29:49.000Z | 2021-05-03T06:06:19.000Z | v3/v3.1/combo.py | gavinIRL/RHBot | 1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf | [
"MIT"
] | null | null | null | # This file will hold the weapon-specific information
# And will include the preferred combinations of attacks
# And hold the basic information of cooldown times, etc.
class WeaponBagFocused():
# The preferred layout of skills for this class is as follows:
# a = overhand
# s = backhand
# d = cannon spi... | 29.373239 | 66 | 0.528051 | 1,036 | 8,342 | 4.210425 | 0.138996 | 0.220083 | 0.175378 | 0.185695 | 0.806282 | 0.784044 | 0.759743 | 0.736818 | 0.728565 | 0.728565 | 0 | 0.041445 | 0.323184 | 8,342 | 283 | 67 | 29.477032 | 0.731137 | 0.177655 | 0 | 0.803109 | 0 | 0 | 0.037331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093264 | false | 0.020725 | 0 | 0.010363 | 0.165803 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
41f2bce3d2d12317f4c7b1b1a63c2ea18b5bd46a | 27,474 | py | Python | envgen/envgen/interface.py | jonebeabout/envgen | 6793f8779092d7ab9c514096adb33cd4f8746bb7 | [
"MIT"
] | null | null | null | envgen/envgen/interface.py | jonebeabout/envgen | 6793f8779092d7ab9c514096adb33cd4f8746bb7 | [
"MIT"
] | null | null | null | envgen/envgen/interface.py | jonebeabout/envgen | 6793f8779092d7ab9c514096adb33cd4f8746bb7 | [
"MIT"
] | null | null | null | import argparse
import colorama
from getpass import getpass
from envgen import EnvironmentGenerator
import os
import re
import urllib2
e = EnvironmentGenerator()
project_dir = ''
def valid_choice(choice):
return isinstance(choice, (int, long))
def valid_name(name):
if '.' in name:
ret... | 46.097315 | 166 | 0.541312 | 3,540 | 27,474 | 4.127119 | 0.078814 | 0.037782 | 0.052361 | 0.054757 | 0.800411 | 0.774196 | 0.765777 | 0.728953 | 0.715127 | 0.696099 | 0 | 0.016123 | 0.343052 | 27,474 | 595 | 167 | 46.17479 | 0.79334 | 0 | 0 | 0.661348 | 0 | 0.026596 | 0.305494 | 0.013771 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.003546 | 0.012411 | null | null | 0.129433 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
512332e4d402e001fd27d40e6013387c860599e7 | 7,011 | py | Python | sdk/python/pulumi_azure/notificationhub/outputs.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/notificationhub/outputs.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/notificationhub/outputs.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilitie... | 34.536946 | 296 | 0.625446 | 858 | 7,011 | 4.904429 | 0.151515 | 0.057034 | 0.040162 | 0.058698 | 0.84981 | 0.838403 | 0.838403 | 0.838403 | 0.817015 | 0.817015 | 0 | 0.000195 | 0.266724 | 7,011 | 202 | 297 | 34.707921 | 0.818323 | 0.389816 | 0 | 0.807339 | 1 | 0 | 0.103557 | 0.018972 | 0 | 0 | 0 | 0 | 0 | 1 | 0.183486 | false | 0 | 0.045872 | 0.018349 | 0.412844 | 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 |
5138f1246fa983a80c3065d1318b810a1a2df11e | 128 | py | Python | tasks/finger_tapping_task/__init__.py | eduongAZ/tomcat-baseline-tasks | a913962d1bb19531e734bfe780b2a8b400224741 | [
"MIT"
] | 1 | 2022-01-23T19:29:57.000Z | 2022-01-23T19:29:57.000Z | tasks/finger_tapping_task/__init__.py | eduongAZ/tomcat-baseline-tasks | a913962d1bb19531e734bfe780b2a8b400224741 | [
"MIT"
] | 34 | 2022-01-18T18:26:15.000Z | 2022-03-31T19:21:28.000Z | tasks/finger_tapping_task/__init__.py | eduongAZ/tomcat-baseline-tasks | a913962d1bb19531e734bfe780b2a8b400224741 | [
"MIT"
] | 2 | 2022-01-27T05:31:33.000Z | 2022-03-29T20:57:23.000Z | from .client_finger_tapping_task import ClientFingerTappingTask
from .server_finger_tapping_task import ServerFingerTappingTask
| 42.666667 | 63 | 0.921875 | 14 | 128 | 8 | 0.642857 | 0.232143 | 0.303571 | 0.410714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 128 | 2 | 64 | 64 | 0.933333 | 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 |
51503e2fbc51d9b265856137b1fbdd34f9234f45 | 80 | py | Python | test/test_cobsr.py | VENULLLC/cobs-python | 68cebe6b49dfa196773c8ae7c9fd6b3c9a52b11e | [
"MIT"
] | 24 | 2017-05-11T01:04:56.000Z | 2022-03-14T04:56:11.000Z | test/test_cobsr.py | VENULLLC/cobs-python | 68cebe6b49dfa196773c8ae7c9fd6b3c9a52b11e | [
"MIT"
] | 2 | 2021-05-06T12:15:23.000Z | 2022-03-31T04:50:02.000Z | test/test_cobsr.py | VENULLLC/cobs-python | 68cebe6b49dfa196773c8ae7c9fd6b3c9a52b11e | [
"MIT"
] | 5 | 2017-11-19T10:07:17.000Z | 2021-05-06T11:26:19.000Z |
import unittest
import cobs.cobsr.test
unittest.main(module=cobs.cobsr.test)
| 11.428571 | 37 | 0.8 | 12 | 80 | 5.333333 | 0.583333 | 0.28125 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 6 | 38 | 13.333333 | 0.888889 | 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 |
515d63f3e054ffb723b130e336365be2bffbdd9f | 92 | py | Python | parameters_443.py | xiejiafang/phone_report | ab86c66fcc1189fb2c78b7afad5d3a4a9c715e80 | [
"BSD-3-Clause"
] | 2 | 2018-04-27T08:44:38.000Z | 2021-11-24T05:58:42.000Z | parameters_443.py | xiejiafang/phone_report | ab86c66fcc1189fb2c78b7afad5d3a4a9c715e80 | [
"BSD-3-Clause"
] | null | null | null | parameters_443.py | xiejiafang/phone_report | ab86c66fcc1189fb2c78b7afad5d3a4a9c715e80 | [
"BSD-3-Clause"
] | 2 | 2018-06-28T03:14:39.000Z | 2019-05-06T16:26:24.000Z | password="pbkdf2(1000,20,sha512)$8182d40ddc4657ab$6748658355487f2b7f2c834c3707fd369a2bc49a"
| 46 | 91 | 0.891304 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0.01087 | 92 | 1 | 92 | 92 | 0.362637 | 0 | 0 | 0 | 0 | 0 | 0.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
85066262b1bada31d5d7425b20c8041c433057cc | 9,476 | py | Python | Aula17/Codlabs/app.py | icarogoggin/BlueEdtech_Modulo2 | ca3552624e51d15181927dc882c30572093a1b7d | [
"MIT"
] | null | null | null | Aula17/Codlabs/app.py | icarogoggin/BlueEdtech_Modulo2 | ca3552624e51d15181927dc882c30572093a1b7d | [
"MIT"
] | null | null | null | Aula17/Codlabs/app.py | icarogoggin/BlueEdtech_Modulo2 | ca3552624e51d15181927dc882c30572093a1b7d | [
"MIT"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def index():
return render_template("index.html")
registros = [
{
"id": 1,
"nome": "Eleven",
"imagem_url":"https://upload.wikimedia.org/wikipedia/pt/5/52/Eleven_%28Stranger_Things%29.jpg"
},
{
... | 225.619048 | 8,590 | 0.941325 | 306 | 9,476 | 29.071895 | 0.816993 | 0.003597 | 0.004496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136991 | 0.020895 | 9,476 | 42 | 8,591 | 225.619048 | 0.821837 | 0 | 0 | 0 | 0 | 0.060606 | 0.943442 | 0.903978 | 0 | 1 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.030303 | 0.121212 | 0.272727 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
5185557dbd6d1aba5650b5d12c1ae0dff326ca15 | 31,225 | py | Python | shutterstock_api/api/editorial_api.py | Lumen5/shutterstock-api | d26db2c9cd6688cf828ad15478bf1b4701150a3f | [
"Adobe-Glyph"
] | 1 | 2021-02-23T16:15:16.000Z | 2021-02-23T16:15:16.000Z | shutterstock_api/api/editorial_api.py | Lumen5/shutterstock-api | d26db2c9cd6688cf828ad15478bf1b4701150a3f | [
"Adobe-Glyph"
] | 17 | 2019-07-13T01:23:08.000Z | 2022-03-21T07:17:35.000Z | shutterstock_api/api/editorial_api.py | Lumen5/shutterstock-api | d26db2c9cd6688cf828ad15478bf1b4701150a3f | [
"Adobe-Glyph"
] | 1 | 2021-03-07T19:16:27.000Z | 2021-03-07T19:16:27.000Z | # coding: utf-8
"""
Shutterstock API Reference
The Shutterstock API provides access to Shutterstock's library of media, as well as information about customers' accounts and the contributors that provide the media. # noqa: E501
OpenAPI spec version: 1.0.11
Generated by: https://github.com/swagge... | 46.054572 | 388 | 0.635484 | 3,759 | 31,225 | 5.088321 | 0.069167 | 0.044753 | 0.036597 | 0.022586 | 0.93151 | 0.920949 | 0.911957 | 0.906624 | 0.896011 | 0.896011 | 0 | 0.016404 | 0.279616 | 31,225 | 677 | 389 | 46.1226 | 0.833911 | 0.386453 | 0 | 0.734417 | 0 | 0.01355 | 0.22561 | 0.056515 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03523 | false | 0 | 0.01084 | 0 | 0.097561 | 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 |
5187f798be9efb7ab59d8e3da10ec679fa6faa95 | 69 | py | Python | examples/libtest/imports/child.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 739 | 2015-01-01T02:05:11.000Z | 2022-03-30T15:26:16.000Z | examples/libtest/imports/child.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 33 | 2015-03-25T23:17:04.000Z | 2021-08-19T08:25:22.000Z | examples/libtest/imports/child.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 167 | 2015-01-01T22:27:47.000Z | 2022-03-17T13:29:19.000Z |
import imports.parent
class Child(imports.parent.Parent):
pass
| 11.5 | 35 | 0.753623 | 9 | 69 | 5.777778 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 5 | 36 | 13.8 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
a400d9fc6c384ce3e296b98fdc927145fca437d6 | 31,160 | py | Python | mprs/src/parser_test.py | danielfireman-ifal/coletores | 7bb3237ceb6376a536cde3435ded62ea6b9a4502 | [
"MIT"
] | 18 | 2019-10-30T01:18:40.000Z | 2022-03-15T11:52:45.000Z | mprs/src/parser_test.py | danielfireman-ifal/coletores | 7bb3237ceb6376a536cde3435ded62ea6b9a4502 | [
"MIT"
] | 174 | 2019-11-01T18:57:16.000Z | 2021-09-18T02:35:27.000Z | mprs/src/parser_test.py | danielfireman-ifal/coletores | 7bb3237ceb6376a536cde3435ded62ea6b9a4502 | [
"MIT"
] | 9 | 2020-01-16T16:33:46.000Z | 2022-01-13T07:39:00.000Z | import parser
import unittest
class TestParser(unittest.TestCase):
# Membros ativos sem folha complementar e de 13º
def test_membros_ativos(self):
self.maxDiff = None
expected = {
'reg': '3418723',
'name': 'ADONIRAN LEMOS ALMEIDA FILHO',
'role': 'PROMOTOR DE... | 34.854586 | 85 | 0.423427 | 2,586 | 31,160 | 5.021655 | 0.110596 | 0.02341 | 0.027722 | 0.02957 | 0.973433 | 0.958186 | 0.952102 | 0.945557 | 0.923687 | 0.893193 | 0 | 0.104269 | 0.459531 | 31,160 | 893 | 86 | 34.893617 | 0.666825 | 0.03543 | 0 | 0.767383 | 0 | 0 | 0.294218 | 0.054693 | 0 | 0 | 0 | 0 | 0.045512 | 1 | 0.020228 | false | 0 | 0.002528 | 0 | 0.02402 | 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 |
a408fdfe02f29cd4d6ad8bf6f109d68ca8745858 | 5,141 | py | Python | bert/tests/unit/tensorflow/checkpoint_load_test.py | cirrascale/bert-ipu-quickstart | 07be5de83a365c97494bc43cec06652d22d399ea | [
"MIT"
] | 2 | 2020-04-07T23:46:17.000Z | 2021-12-05T10:29:34.000Z | bert/tests/unit/tensorflow/checkpoint_load_test.py | cirrascale/bert-ipu-quickstart | 07be5de83a365c97494bc43cec06652d22d399ea | [
"MIT"
] | 5 | 2020-01-28T23:13:33.000Z | 2022-02-10T00:34:57.000Z | bert/tests/unit/tensorflow/checkpoint_load_test.py | cirrascale/bert-ipu-quickstart | 07be5de83a365c97494bc43cec06652d22d399ea | [
"MIT"
] | 1 | 2020-04-07T23:46:29.000Z | 2020-04-07T23:46:29.000Z | # Copyright 2019 Graphcore Ltd.
import pytest
import os
import ctypes
import numpy as np
import popart
from tests.torch_bert import (
BertConfig as TorchBertConfig,
BertForMaskedLM as TorchModel,
load_tf_weights_in_bert,
)
import math
from bert_model import BertConfig, Bert
from bert_tf_loader import load_m... | 30.241176 | 76 | 0.66524 | 608 | 5,141 | 5.322368 | 0.184211 | 0.037083 | 0.074166 | 0.064895 | 0.828492 | 0.822621 | 0.822621 | 0.803461 | 0.803461 | 0.803461 | 0 | 0.00726 | 0.249757 | 5,141 | 169 | 77 | 30.420118 | 0.831735 | 0.073721 | 0 | 0.744186 | 0 | 0 | 0.031329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015504 | false | 0 | 0.077519 | 0 | 0.093023 | 0.015504 | 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 |
cfb126c2e2af9fdeb332408cca61331bdee4b6df | 83,704 | py | Python | projects/src/main/python/CodeJam/Y13R5P1/Vytis/generated_py_6d95c84ce93449e09158ce3589ea6763.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 5 | 2020-04-05T18:04:13.000Z | 2021-04-13T20:34:19.000Z | projects/src/main/python/CodeJam/Y13R5P1/Vytis/generated_py_6d95c84ce93449e09158ce3589ea6763.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 1 | 2020-04-29T21:42:26.000Z | 2020-05-01T23:45:45.000Z | projects/src/main/python/CodeJam/Y13R5P1/Vytis/generated_py_6d95c84ce93449e09158ce3589ea6763.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 3 | 2020-01-27T16:02:14.000Z | 2021-02-08T13:25:15.000Z | import sys
sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python')
from CodeJam.Y13R5P1.Vytis.A import *
def func_43934b24cc7948e4b2ff4a53fd6b87f4():
m = [0] * 37
best = 0.0
return best
def func_0bf9d56ca78f41ef9be3fac34a49f13b():
m = [0] * 37
best = 0.0
return ... | 27.716556 | 86 | 0.54093 | 11,861 | 83,704 | 3.781216 | 0.024113 | 0.086156 | 0.08707 | 0.134563 | 0.830364 | 0.830364 | 0.830364 | 0.829651 | 0.829651 | 0.829651 | 0 | 0.109563 | 0.288182 | 83,704 | 3,019 | 87 | 27.725737 | 0.643164 | 0 | 0 | 0.909126 | 0 | 0 | 0.111249 | 0.076998 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00078 | null | null | 0.120905 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cfdb5b40b968f305e24ea92c6918c930da4ea4a9 | 16,542 | py | Python | tests/test_utilities/test_package_builder.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | null | null | null | tests/test_utilities/test_package_builder.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | 1 | 2021-03-25T23:21:02.000Z | 2021-03-25T23:21:02.000Z | tests/test_utilities/test_package_builder.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | null | null | null | import zipfile
from mock import patch, Mock
from pyfakefs import fake_filesystem_unittest
from tests.asserts import *
from shellfoundry.utilities.package_builder import PackageBuilder
import xml.etree.ElementTree as etree
class TestPackageBuilder(fake_filesystem_unittest.TestCase):
def setUp(self):
self... | 52.84984 | 107 | 0.694475 | 1,905 | 16,542 | 5.79895 | 0.091339 | 0.09532 | 0.127093 | 0.211822 | 0.849099 | 0.846927 | 0.833711 | 0.826921 | 0.822576 | 0.799946 | 0 | 0.003493 | 0.186495 | 16,542 | 312 | 108 | 53.019231 | 0.817418 | 0.026539 | 0 | 0.686364 | 0 | 0 | 0.416553 | 0.359054 | 0 | 0 | 0 | 0 | 0.213636 | 1 | 0.077273 | false | 0 | 0.027273 | 0 | 0.118182 | 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 |
cfea146e3bb4a68d1a3478ae67fbd2729f2525fa | 1,833 | py | Python | data/plugins/areas/wc guild dungeon/root.py | FavyTeam/Elderscape_server | 38bf75396e4e13222be67d5f15eb0b9862dca6bb | [
"MIT"
] | 3 | 2019-05-09T16:59:13.000Z | 2019-05-09T18:29:57.000Z | data/plugins/areas/wc guild dungeon/root.py | FavyTeam/Elderscape_server | 38bf75396e4e13222be67d5f15eb0b9862dca6bb | [
"MIT"
] | null | null | null | data/plugins/areas/wc guild dungeon/root.py | FavyTeam/Elderscape_server | 38bf75396e4e13222be67d5f15eb0b9862dca6bb | [
"MIT"
] | 7 | 2019-07-11T23:04:40.000Z | 2021-08-02T14:27:13.000Z | #Plugin to handle Root shortcuts in the WC Guild dungeon
#Written by Owain
#21/10/17
from game.content.skilling.agility import AgilityShortcuts
from core import ServerConstants
def first_click_object_26721(player):
if player.baseSkillLevel[ServerConstants.AGILITY] < 50:
player.playerAssistant.sendMessage... | 47 | 87 | 0.698854 | 211 | 1,833 | 6.042654 | 0.293839 | 0.075294 | 0.345098 | 0.368627 | 0.787451 | 0.787451 | 0.787451 | 0.787451 | 0.683922 | 0.683922 | 0 | 0.130728 | 0.190398 | 1,833 | 39 | 88 | 47 | 0.728437 | 0.043099 | 0 | 0.529412 | 0 | 0 | 0.046804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.058824 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cffdb9fae8d3c27942fc155df855d0bf18bc9c14 | 153 | py | Python | octograb/preselection/__init__.py | payet-s/discover-github-data | 7b672f5fd70d86dc63a1fe2930ef5c44c95d7fed | [
"MIT"
] | 29 | 2015-10-18T19:43:47.000Z | 2022-02-05T01:01:33.000Z | octograb/preselection/__init__.py | paollettsanchez/discover-github-data | 7b672f5fd70d86dc63a1fe2930ef5c44c95d7fed | [
"MIT"
] | 2 | 2017-01-26T19:30:11.000Z | 2017-07-20T12:51:46.000Z | octograb/preselection/__init__.py | paollettsanchez/discover-github-data | 7b672f5fd70d86dc63a1fe2930ef5c44c95d7fed | [
"MIT"
] | 33 | 2015-10-12T06:37:16.000Z | 2021-03-29T19:28:01.000Z | from octograb.preselection.convert_archives import *
from octograb.preselection.merge_archives import *
from octograb.preselection.export_inputs import * | 51 | 52 | 0.869281 | 18 | 153 | 7.222222 | 0.5 | 0.276923 | 0.553846 | 0.4 | 0.584615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 153 | 3 | 53 | 51 | 0.915493 | 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 |
32241ac0b86368b57e56ee144db5e4904c880e04 | 30,588 | py | Python | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 99.311688 | 1,073 | 0.746535 | 4,592 | 30,588 | 4.720383 | 0.044425 | 0.124147 | 0.04392 | 0.032155 | 0.900581 | 0.871609 | 0.859061 | 0.853294 | 0.842729 | 0.835209 | 0 | 0.001248 | 0.108997 | 30,588 | 307 | 1,074 | 99.635179 | 0.794085 | 0.111285 | 0 | 0.426396 | 0 | 0.030457 | 0.445978 | 0.147543 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106599 | false | 0 | 0.06599 | 0 | 0.28934 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5c75b2323de3023f1aa24ff2e4a89fe825910c63 | 10,110 | py | Python | backend/src/common/migrations/0001_initial.py | YujithIsura/request-management | 3c683274881ef7798779e03a24042034edcd941c | [
"MIT"
] | 1 | 2020-04-05T20:30:57.000Z | 2020-04-05T20:30:57.000Z | backend/src/common/migrations/0001_initial.py | YujithIsura/request-management | 3c683274881ef7798779e03a24042034edcd941c | [
"MIT"
] | 169 | 2020-04-09T08:39:25.000Z | 2021-09-03T01:07:01.000Z | backend/src/common/migrations/0001_initial.py | YujithIsura/request-management | 3c683274881ef7798779e03a24042034edcd941c | [
"MIT"
] | 13 | 2020-04-05T20:53:11.000Z | 2022-02-28T14:52:17.000Z | # Generated by Django 2.2.12 on 2020-05-17 15:23
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Category',
fields=[
... | 50.55 | 233 | 0.554698 | 1,022 | 10,110 | 5.303327 | 0.084149 | 0.157749 | 0.092989 | 0.15941 | 0.90203 | 0.89262 | 0.848708 | 0.807565 | 0.807565 | 0.798708 | 0 | 0.02452 | 0.294065 | 10,110 | 199 | 234 | 50.80402 | 0.734903 | 0.00455 | 0 | 0.723958 | 1 | 0 | 0.111509 | 0.002087 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010417 | 0 | 0.03125 | 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 |
5cc82da8b52f4e5f638229befc814af33778bdc3 | 108 | py | Python | cnn_digits/predict_fake.py | pdabacus/quantum-unsupremacy | f7811dd2e5e63c0ea9f21deb439e6ff397a04444 | [
"Beerware"
] | 1 | 2020-04-17T09:38:30.000Z | 2020-04-17T09:38:30.000Z | cnn_digits/predict_fake.py | pdabacus/quantum-unsupremacy | f7811dd2e5e63c0ea9f21deb439e6ff397a04444 | [
"Beerware"
] | null | null | null | cnn_digits/predict_fake.py | pdabacus/quantum-unsupremacy | f7811dd2e5e63c0ea9f21deb439e6ff397a04444 | [
"Beerware"
] | null | null | null | #!/usr/bin/env python3
import sys
print(sys.argv)
print([0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0])
print(5)
| 18 | 48 | 0.62963 | 32 | 108 | 2.125 | 0.34375 | 0.5 | 0.661765 | 0.764706 | 0.279412 | 0.279412 | 0.279412 | 0.279412 | 0.161765 | 0.161765 | 0 | 0.217822 | 0.064815 | 108 | 5 | 49 | 21.6 | 0.455446 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
5cce3f9a3f5e0ec1e46d0ac185a3b7c514bf1f51 | 15,102 | py | Python | tests/unit/test_install.py | ByteInternet/pip-install-privates | 5abe24ef9e0c755811238f790c9418e445df0ed9 | [
"MIT"
] | 27 | 2017-09-13T06:57:31.000Z | 2022-03-09T09:30:41.000Z | tests/unit/test_install.py | ByteInternet/pip-install-privates | 5abe24ef9e0c755811238f790c9418e445df0ed9 | [
"MIT"
] | 24 | 2017-09-07T05:40:05.000Z | 2021-03-05T10:58:14.000Z | tests/unit/test_install.py | ByteInternet/pip-install-privates | 5abe24ef9e0c755811238f790c9418e445df0ed9 | [
"MIT"
] | 13 | 2017-08-09T11:46:12.000Z | 2021-04-29T18:22:11.000Z | import os
import tempfile
from unittest import TestCase
from pip_install_privates.install import collect_requirements
class TestInstall(TestCase):
def _create_reqs_file(self, reqs):
with tempfile.NamedTemporaryFile(delete=False) as f:
f.write('\n'.join(reqs).encode('utf-8'))
self.ad... | 42.302521 | 129 | 0.581976 | 2,065 | 15,102 | 4.003874 | 0.061985 | 0.015965 | 0.089744 | 0.113208 | 0.927189 | 0.92344 | 0.918844 | 0.899855 | 0.898162 | 0.898162 | 0 | 0.047262 | 0.23083 | 15,102 | 356 | 130 | 42.421348 | 0.664514 | 0 | 0 | 0.74359 | 0 | 0.021978 | 0.306358 | 0.056358 | 0 | 0 | 0 | 0 | 0.10989 | 1 | 0.113553 | false | 0 | 0.014652 | 0 | 0.135531 | 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 |
8fa167d1d2b1157f91cbc96891506245b65514f5 | 356 | py | Python | echopy/echoapi/ws/echoapi.py | echoprotocol/echopy-lib | 7fe11eeeba727023ea61e19b2c1b0ff5c097a2f3 | [
"MIT"
] | 7 | 2019-02-26T18:28:24.000Z | 2019-12-18T14:47:04.000Z | echopy/echoapi/ws/echoapi.py | echoprotocol/echopy-lib | 7fe11eeeba727023ea61e19b2c1b0ff5c097a2f3 | [
"MIT"
] | null | null | null | echopy/echoapi/ws/echoapi.py | echoprotocol/echopy-lib | 7fe11eeeba727023ea61e19b2c1b0ff5c097a2f3 | [
"MIT"
] | 2 | 2019-09-20T10:20:54.000Z | 2020-03-20T10:06:55.000Z | class EchoApi:
def __init__(self, register_query, api_name):
self.register_query = register_query
self.api_name = api_name
self.api_id = self.register_query(api_name, ["", ""] if self.api_name == 'login' else [], api=1)
def rpcexec(self, method, params):
return self.register_que... | 39.555556 | 104 | 0.671348 | 50 | 356 | 4.46 | 0.36 | 0.29148 | 0.304933 | 0.179372 | 0.215247 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003534 | 0.205056 | 356 | 8 | 105 | 44.5 | 0.784452 | 0 | 0 | 0 | 0 | 0 | 0.014045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
8fba2bb2e077dad35642822ab9a35e63aefac759 | 158 | py | Python | insert.py | Ilyes-Hammadi/books-library | cba0df1ae95c3467b8d16caca16383c0af9a98cd | [
"MIT"
] | 9 | 2017-07-20T15:25:51.000Z | 2019-08-26T22:48:01.000Z | insert.py | Ilyes-Hammadi/bookslib | cba0df1ae95c3467b8d16caca16383c0af9a98cd | [
"MIT"
] | null | null | null | insert.py | Ilyes-Hammadi/bookslib | cba0df1ae95c3467b8d16caca16383c0af9a98cd | [
"MIT"
] | null | null | null | execfile('init_data/insert_categories.py')
execfile('init_data/insert_users.py')
execfile('init_data/insert_books.py')
execfile('init_data/insert_ratings.py') | 39.5 | 42 | 0.829114 | 24 | 158 | 5.125 | 0.375 | 0.390244 | 0.520325 | 0.715447 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 158 | 4 | 43 | 39.5 | 0.793548 | 0 | 0 | 0 | 0 | 0 | 0.672956 | 0.672956 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8f14d16f2aacd80712d6e4e725d8c12847b0b266 | 3,315 | py | Python | detectron2/layers/mbconv.py | akashAD98/detectron2 | 295fbb8b96eda271869fc6955280d16596781766 | [
"Apache-2.0"
] | null | null | null | detectron2/layers/mbconv.py | akashAD98/detectron2 | 295fbb8b96eda271869fc6955280d16596781766 | [
"Apache-2.0"
] | null | null | null | detectron2/layers/mbconv.py | akashAD98/detectron2 | 295fbb8b96eda271869fc6955280d16596781766 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import torch.nn as nn
from .conv import ConvBNA
from .sequeeze_excitation import SqueezeExcitation as SE
__all__ = ['MBConv', 'FusedMBConv']
class MBConv(nn.Module):
def __init__(
self,
in_channels: int,
expansion: int,
out_channels: int = ... | 26.733871 | 59 | 0.495324 | 344 | 3,315 | 4.572674 | 0.177326 | 0.108074 | 0.13986 | 0.079466 | 0.861411 | 0.842339 | 0.831532 | 0.831532 | 0.793388 | 0.757788 | 0 | 0.015865 | 0.410558 | 3,315 | 123 | 60 | 26.95122 | 0.78915 | 0.006033 | 0 | 0.811321 | 0 | 0 | 0.019868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.028302 | 0 | 0.122642 | 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 |
8f1560dd088329976eafb47cc64d00effcacec82 | 260 | py | Python | trials/motleytrials/help-motleydatetime.py | ericmotleybytes/motleylog | a389483fd647523e9b582f2f5d0d47143235a645 | [
"MIT"
] | null | null | null | trials/motleytrials/help-motleydatetime.py | ericmotleybytes/motleylog | a389483fd647523e9b582f2f5d0d47143235a645 | [
"MIT"
] | null | null | null | trials/motleytrials/help-motleydatetime.py | ericmotleybytes/motleylog | a389483fd647523e9b582f2f5d0d47143235a645 | [
"MIT"
] | null | null | null | import motleylog.motleydatetime
print('#'*80)
print('# >>> help(motleylog.motleydatetime)')
print('#'*80)
help(motleylog.motleydatetime)
print('#'*80)
print('# >>> help(motleylog.motleydatetime.is_naive)')
print('#'*80)
help(motleylog.motleydatetime.is_naive)
| 26 | 54 | 0.734615 | 29 | 260 | 6.517241 | 0.275862 | 0.608466 | 0.571429 | 0.47619 | 0.968254 | 0.656085 | 0.656085 | 0.656085 | 0 | 0 | 0 | 0.03252 | 0.053846 | 260 | 9 | 55 | 28.888889 | 0.735772 | 0 | 0 | 0.444444 | 0 | 0 | 0.326923 | 0.265385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 8 |
8f1f9331142f2a0dfda94f7df96b245e2cfd75da | 13,374 | py | Python | apis/nb/clients/file_service_client/FileApi.py | CiscoDevNet/APIC-EM-Generic-Scripts- | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 45 | 2016-06-09T15:41:25.000Z | 2019-08-06T17:13:11.000Z | apis/nb/clients/file_service_client/FileApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2016-06-12T03:03:56.000Z | 2017-03-13T18:20:11.000Z | apis/nb/clients/file_service_client/FileApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 15 | 2016-06-22T03:51:37.000Z | 2019-07-10T10:06:02.000Z | #!/usr/bin/env python
#pylint: skip-file
# This source code is licensed under the Apache license found in the
# LICENSE file in the root directory of this project.
import sys
import os
import urllib.request, urllib.parse, urllib.error
from .models import *
class FileApi(object):
def __init__(self, apiClient):... | 24.998131 | 110 | 0.5655 | 1,162 | 13,374 | 6.505164 | 0.120482 | 0.039556 | 0.057415 | 0.03175 | 0.869163 | 0.863077 | 0.858579 | 0.849054 | 0.842704 | 0.835296 | 0 | 0.000668 | 0.328847 | 13,374 | 534 | 111 | 25.044944 | 0.841466 | 0.139599 | 0 | 0.838983 | 0 | 0 | 0.150955 | 0.006817 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.016949 | 0 | 0.114407 | 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 |
8f47edde6980006b6b0427ca0b0cec78f0c89166 | 170 | py | Python | espnet2/gan_tts/style_melgan/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 5,053 | 2017-12-13T06:21:41.000Z | 2022-03-31T13:38:29.000Z | espnet2/gan_tts/style_melgan/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 3,666 | 2017-12-14T05:58:50.000Z | 2022-03-31T22:11:49.000Z | espnet2/gan_tts/style_melgan/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 1,709 | 2017-12-13T01:02:42.000Z | 2022-03-31T11:57:45.000Z | from espnet2.gan_tts.style_melgan.style_melgan import StyleMelGANDiscriminator # NOQA
from espnet2.gan_tts.style_melgan.style_melgan import StyleMelGANGenerator # NOQA
| 56.666667 | 86 | 0.870588 | 22 | 170 | 6.454545 | 0.454545 | 0.309859 | 0.197183 | 0.239437 | 0.633803 | 0.633803 | 0.633803 | 0.633803 | 0.633803 | 0 | 0 | 0.012821 | 0.082353 | 170 | 2 | 87 | 85 | 0.897436 | 0.052941 | 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 |
8f80966037ca53c1713005e876a567e4069d5931 | 163 | py | Python | utils_v3/__init__.py | lamnguyen95/pyutils_v3 | 59ddee24955074d830387f28b27820d47ab8ef56 | [
"MIT"
] | null | null | null | utils_v3/__init__.py | lamnguyen95/pyutils_v3 | 59ddee24955074d830387f28b27820d47ab8ef56 | [
"MIT"
] | null | null | null | utils_v3/__init__.py | lamnguyen95/pyutils_v3 | 59ddee24955074d830387f28b27820d47ab8ef56 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from __future__ import absolute_import
from utils_v3.get_stats import *
from utils_v3.archive import *
from utils_v3.recreate import *
| 20.375 | 38 | 0.791411 | 25 | 163 | 4.8 | 0.56 | 0.25 | 0.375 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.141104 | 163 | 7 | 39 | 23.285714 | 0.828571 | 0.128834 | 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 |
56de0f6d7fd5bceed77cc57be2449b2362890e5a | 16,542 | py | Python | src/abaqus/StepOutput/FieldOutputRequest.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/StepOutput/FieldOutputRequest.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/StepOutput/FieldOutputRequest.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | import typing
from abaqusConstants import *
class FieldOutputRequest:
"""The FieldOutputRequest object defines a field output request.
Attributes
----------
boltLoad: str
A String specifying a bolt load from which output is requested.
region: SymbolicConstant
The SymbolicConstant... | 49.526946 | 130 | 0.649317 | 1,900 | 16,542 | 5.632632 | 0.118947 | 0.049523 | 0.071482 | 0.081013 | 0.878247 | 0.861802 | 0.859372 | 0.853112 | 0.831247 | 0.831247 | 0 | 0.001587 | 0.31423 | 16,542 | 333 | 131 | 49.675676 | 0.941819 | 0.707472 | 0 | 0.630435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0.173913 | 0.043478 | 0 | 0.304348 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
56f8a92e1d409d6b49d59e42960ec03143bef5ec | 23,168 | py | Python | tests/MPInumpy/MPIArray_indexing_test.py | edgargabriel/mpids | 170f402ecea5af0db4eee39e8d426884dce12ad6 | [
"BSD-2-Clause"
] | 1 | 2020-01-22T03:27:31.000Z | 2020-01-22T03:27:31.000Z | tests/MPInumpy/MPIArray_indexing_test.py | jrodgers01d/mpids | f771b1d25eba5f5dc8e30e5d86ee0251775b9da1 | [
"BSD-2-Clause"
] | 1 | 2020-05-04T20:25:55.000Z | 2020-05-04T20:25:55.000Z | tests/MPInumpy/MPIArray_indexing_test.py | jrodgers01d/mpids | f771b1d25eba5f5dc8e30e5d86ee0251775b9da1 | [
"BSD-2-Clause"
] | 2 | 2019-04-08T03:01:31.000Z | 2020-04-27T15:56:28.000Z | import unittest
import numpy as np
from mpi4py import MPI
import mpids.MPInumpy as mpi_np
from mpids.MPInumpy.errors import NotSupportedError
from mpids.MPInumpy.distributions.Replicated import Replicated
class MPIArrayIndexingDefaultTest(unittest.TestCase):
def create_setUp_parms(self):
parms = {}
... | 48.980973 | 94 | 0.705197 | 3,018 | 23,168 | 5.153082 | 0.048376 | 0.152135 | 0.155285 | 0.189043 | 0.923804 | 0.874743 | 0.824203 | 0.794624 | 0.767104 | 0.732253 | 0 | 0.019506 | 0.187888 | 23,168 | 472 | 95 | 49.084746 | 0.807069 | 0.032243 | 0 | 0.428184 | 0 | 0 | 0.002902 | 0 | 0 | 0 | 0 | 0 | 0.566396 | 1 | 0.062331 | false | 0 | 0.01626 | 0 | 0.089431 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7112339d9f8c40bb3ef6d0924fddf5d32a577330 | 781,624 | py | Python | src/evLexer.py | ccRlVDSyBZT1UK/ev-as | 0b114578011fdbdab8eb73829fcf4c7bd97b8759 | [
"MIT"
] | null | null | null | src/evLexer.py | ccRlVDSyBZT1UK/ev-as | 0b114578011fdbdab8eb73829fcf4c7bd97b8759 | [
"MIT"
] | null | null | null | src/evLexer.py | ccRlVDSyBZT1UK/ev-as | 0b114578011fdbdab8eb73829fcf4c7bd97b8759 | [
"MIT"
] | null | null | null | # Generated from ev.g4 by ANTLR 4.9.3
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\17")
... | 76.825634 | 103 | 0.585367 | 181,399 | 781,624 | 2.522081 | 0.126131 | 0.094679 | 0.136543 | 0.174775 | 0.275098 | 0.181505 | 0.159984 | 0.127833 | 0.127833 | 0.127833 | 0 | 0.390803 | 0.117869 | 781,624 | 10,173 | 104 | 76.833186 | 0.27273 | 0.000045 | 0 | 0.163959 | 1 | 0.657115 | 0.67526 | 0.663562 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000197 | false | 0 | 0.000492 | 0 | 0.002954 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7115e30295259f2196de140e87f8c49129e351a1 | 8,382 | py | Python | TEEM_module.py | aminsabetsarvestani/TEE-Faster-RCNN | c75547999dfa2aa71d80c74ad87f2dd9608f9b1e | [
"MIT"
] | 2 | 2021-06-19T13:54:48.000Z | 2021-12-16T16:37:49.000Z | TEEM_module.py | aminsabetsarvestani/TEE-Faster-RCNN | c75547999dfa2aa71d80c74ad87f2dd9608f9b1e | [
"MIT"
] | null | null | null | TEEM_module.py | aminsabetsarvestani/TEE-Faster-RCNN | c75547999dfa2aa71d80c74ad87f2dd9608f9b1e | [
"MIT"
] | null | null | null | import json
import random
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1):
"""3x3 convolution with padding"""
return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=1,
padding=d... | 37.419643 | 85 | 0.617514 | 1,165 | 8,382 | 4.254936 | 0.074678 | 0.015735 | 0.109744 | 0.041961 | 0.879766 | 0.869881 | 0.844261 | 0.829131 | 0.822675 | 0.790599 | 0 | 0.045336 | 0.265808 | 8,382 | 223 | 86 | 37.587444 | 0.760156 | 0.058339 | 0 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.031746 | 0 | 0.179894 | 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 |
85580b304291682355a880ab640a59924826670c | 108 | py | Python | dezirteer/__init__.py | bolid2018/dezirteer | 16affedf8c895d28310d7352f128f875790e2b4e | [
"MIT"
] | 3 | 2021-07-18T19:25:37.000Z | 2021-11-26T06:44:48.000Z | dezirteer/__init__.py | bolid2018/dezirteer | 16affedf8c895d28310d7352f128f875790e2b4e | [
"MIT"
] | 1 | 2018-09-04T09:58:36.000Z | 2018-09-04T09:58:36.000Z | dezirteer/__init__.py | bolid2018/dezirteer | 16affedf8c895d28310d7352f128f875790e2b4e | [
"MIT"
] | 3 | 2018-08-27T05:55:34.000Z | 2021-07-20T07:22:45.000Z | from main_gui.py import *
from math_module.py import *
from gui_support.py import *
from const.py import *
| 18 | 28 | 0.768519 | 19 | 108 | 4.210526 | 0.473684 | 0.4 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 108 | 5 | 29 | 21.6 | 0.879121 | 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 |
857b6d6e95c6cffa793ea4fe2c09b71420308afe | 1,349 | py | Python | test/test.py | ai-snow/qrandom | 6fddef6fa0b51e6756a6c63017c7e1850e05d866 | [
"MIT"
] | null | null | null | test/test.py | ai-snow/qrandom | 6fddef6fa0b51e6756a6c63017c7e1850e05d866 | [
"MIT"
] | null | null | null | test/test.py | ai-snow/qrandom | 6fddef6fa0b51e6756a6c63017c7e1850e05d866 | [
"MIT"
] | null | null | null | import os
from random import Random
from qrandom import QRandom
def test_order_preserved():
q = QRandom(Random(), 1)
q_first_1_1 = q.q_first
q_first_1_2 = q.q_first
q.reset()
q_first_2_1 = q.q_first
q_second_2_1 = q.q_second
q_first_2_2 = q.q_first
assert q_first_1_1 == q_first... | 21.078125 | 51 | 0.686434 | 273 | 1,349 | 2.875458 | 0.080586 | 0.321019 | 0.16051 | 0.09172 | 0.836943 | 0.808917 | 0.764331 | 0.764331 | 0.764331 | 0.764331 | 0 | 0.076996 | 0.220163 | 1,349 | 64 | 52 | 21.078125 | 0.669202 | 0 | 0 | 0.642857 | 0 | 0 | 0.044444 | 0.025185 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 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 | 0 | 0 | 7 |
a46025b0315b2f7841ee6d746a9d719133b5dcb4 | 11,381 | py | Python | public/python/nokia/Nokia.py | ErnestoMuniz/neom-backend | 80d03cf252a5048d9b743d93e8a6d8dc22136c0f | [
"MIT"
] | null | null | null | public/python/nokia/Nokia.py | ErnestoMuniz/neom-backend | 80d03cf252a5048d9b743d93e8a6d8dc22136c0f | [
"MIT"
] | null | null | null | public/python/nokia/Nokia.py | ErnestoMuniz/neom-backend | 80d03cf252a5048d9b743d93e8a6d8dc22136c0f | [
"MIT"
] | null | null | null | import telnetlib
class Nokia():
def __init__(self, host, port, user, password):
self.host = host
self.user = user
self.password = password
self.port = port
## -- CLI --
def Add_ONT_Router_and_PPPoE_CLI(self, slot, pon, ontid, descricao01, descricao02, serial_com, vlan, usu... | 57.190955 | 272 | 0.624725 | 1,671 | 11,381 | 4.187911 | 0.092759 | 0.05573 | 0.102172 | 0.11146 | 0.886539 | 0.882824 | 0.869391 | 0.84667 | 0.817662 | 0.805516 | 0 | 0.031976 | 0.156401 | 11,381 | 199 | 273 | 57.190955 | 0.696907 | 0.01151 | 0 | 0.578947 | 0 | 0.236842 | 0.462552 | 0.280613 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059211 | false | 0.118421 | 0.006579 | 0 | 0.072368 | 0.177632 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
a49b5475d97c682573f508cd61d8b396e92f1a58 | 997 | py | Python | Expression/phenograph/LBL_phenpograph_secondround.py | shouguog/TLGL | 0581cf8f49f12eadafa2e83f31794a38089f2c14 | [
"MIT"
] | null | null | null | Expression/phenograph/LBL_phenpograph_secondround.py | shouguog/TLGL | 0581cf8f49f12eadafa2e83f31794a38089f2c14 | [
"MIT"
] | null | null | null | Expression/phenograph/LBL_phenpograph_secondround.py | shouguog/TLGL | 0581cf8f49f12eadafa2e83f31794a38089f2c14 | [
"MIT"
] | null | null | null | ###This is used to calculate /data/gaos2/phenograph/PhenoGraph-master
###
import pandas as pd
import numpy as np
dataAll=pd.read_csv("locCluster_combat.csv", index_col=0)
data=dataAll[["tSNE1_mean","tSNE2_mean"]].as_matrix()
import phenograph
communities, graph, Q = phenograph.cluster(data, k=5, min_cluster_size=3)
fi... | 31.15625 | 73 | 0.741224 | 158 | 997 | 4.550633 | 0.335443 | 0.150209 | 0.091794 | 0.066759 | 0.848401 | 0.776078 | 0.776078 | 0.776078 | 0.776078 | 0.776078 | 0 | 0.011957 | 0.077232 | 997 | 31 | 74 | 32.16129 | 0.769565 | 0.066199 | 0 | 0.785714 | 0 | 0 | 0.171181 | 0.091008 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 |
f10935d28f4ffcb1d276ebec7864f96739db0b19 | 149 | py | Python | src/ds/stack/__init__.py | MitraThakker/DataStructuresInPython | 96bd661821e5aa082caf55f027090f8a2c602158 | [
"MIT"
] | 2 | 2019-03-28T07:46:52.000Z | 2019-03-28T07:46:52.000Z | src/ds/stack/__init__.py | MitraThakker/DataStructuresInPython | 96bd661821e5aa082caf55f027090f8a2c602158 | [
"MIT"
] | null | null | null | src/ds/stack/__init__.py | MitraThakker/DataStructuresInPython | 96bd661821e5aa082caf55f027090f8a2c602158 | [
"MIT"
] | null | null | null | from src.ds.stack.stack_abc import Stack
from src.ds.stack.bounded_stack import BoundedStack
from src.ds.stack.unbounded_stack import UnboundedStack
| 37.25 | 55 | 0.85906 | 24 | 149 | 5.208333 | 0.416667 | 0.168 | 0.216 | 0.336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080537 | 149 | 3 | 56 | 49.666667 | 0.912409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
f10e71110ca87b220b461d388c253a6756af7bc4 | 2,814 | py | Python | backend/project/posts/migrations/0002_auto_20201103_0214.py | winoutt/winoutt-django | f48dfd933b3c12286f973701676eb2c2ab2bff73 | [
"MIT"
] | null | null | null | backend/project/posts/migrations/0002_auto_20201103_0214.py | winoutt/winoutt-django | f48dfd933b3c12286f973701676eb2c2ab2bff73 | [
"MIT"
] | null | null | null | backend/project/posts/migrations/0002_auto_20201103_0214.py | winoutt/winoutt-django | f48dfd933b3c12286f973701676eb2c2ab2bff73 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.2 on 2020-11-02 21:14
import django.core.files.storage
from django.db import migrations, models
import django_resized.forms
class Migration(migrations.Migration):
dependencies = [
('posts', '0001_initial'),
]
operations = [
migrations.AlterField(
... | 61.173913 | 322 | 0.686923 | 324 | 2,814 | 5.830247 | 0.209877 | 0.082583 | 0.055585 | 0.081525 | 0.872419 | 0.872419 | 0.850185 | 0.850185 | 0.850185 | 0.80307 | 0 | 0.028005 | 0.175195 | 2,814 | 45 | 323 | 62.533333 | 0.785868 | 0.015991 | 0 | 0.564103 | 1 | 0 | 0.235121 | 0.184791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.153846 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f120464a564a6e629c2442cf3932086fe2233faf | 100,166 | py | Python | tests/EVM/test_EVMSUB.py | mroll/manticore | d731562f7761ed9437cce406b24c815303de370c | [
"Apache-2.0"
] | null | null | null | tests/EVM/test_EVMSUB.py | mroll/manticore | d731562f7761ed9437cce406b24c815303de370c | [
"Apache-2.0"
] | null | null | null | tests/EVM/test_EVMSUB.py | mroll/manticore | d731562f7761ed9437cce406b24c815303de370c | [
"Apache-2.0"
] | null | null | null |
import struct
import unittest
import json
from manticore.platforms import evm
from manticore.core import state
from manticore.core.smtlib import Operators, ConstraintSet
import os
class EVMTest_SUB(unittest.TestCase):
_multiprocess_can_split_ = True
maxDiff=None
def _execute(self, new_vm):
last_... | 43.418292 | 143 | 0.580496 | 8,049 | 100,166 | 7.069574 | 0.028823 | 0.04288 | 0.025623 | 0.056939 | 0.909917 | 0.909917 | 0.909917 | 0.909917 | 0.909917 | 0.909917 | 0 | 0.269911 | 0.344428 | 100,166 | 2,306 | 144 | 43.437121 | 0.596641 | 0.043668 | 0 | 0.866561 | 0 | 0 | 0.064144 | 0.025411 | 0 | 0 | 0.069456 | 0 | 0.128165 | 0 | null | null | 0 | 0.003692 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 9 |
f14b87b17c128bec3589225e0632b950a3f8eb48 | 361 | py | Python | tests/internal/instance_type/test_instance_type_d3en_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_d3en_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_d3en_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null |
# Testing module instance_type.d3en
import pytest
import ec2_compare.internal.instance_type.d3en
def test_get_internal_data_instance_type_d3en_get_instances_list():
assert len(ec2_compare.internal.instance_type.d3en.get_instances_list()) > 0
def test_get_internal_data_instance_type_d3en_get():
assert len(ec2_comp... | 36.1 | 78 | 0.853186 | 56 | 361 | 5.053571 | 0.339286 | 0.254417 | 0.339223 | 0.268551 | 0.826855 | 0.826855 | 0.614841 | 0.614841 | 0.614841 | 0 | 0 | 0.032836 | 0.072022 | 361 | 9 | 79 | 40.111111 | 0.81194 | 0.091413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
2d136a54b47a9caf115bbca78c2fc9c18690908d | 300 | py | Python | catkin_ws/devel/lib/python3/dist-packages/fundamentals/msg/__init__.py | a-yildiz/ROS-Simple-Sample-Packages | eb6b18adcd1fe26e2b5e644c42922e8102867cd9 | [
"MIT"
] | 1 | 2021-09-19T07:51:23.000Z | 2021-09-19T07:51:23.000Z | catkin_ws/install/lib/python3/dist-packages/fundamentals/msg/__init__.py | a-yildiz/ROS-Simple-Sample-Packages | eb6b18adcd1fe26e2b5e644c42922e8102867cd9 | [
"MIT"
] | null | null | null | catkin_ws/install/lib/python3/dist-packages/fundamentals/msg/__init__.py | a-yildiz/ROS-Simple-Sample-Packages | eb6b18adcd1fe26e2b5e644c42922e8102867cd9 | [
"MIT"
] | null | null | null | from ._BatteryStatus import *
from ._MissionStatusAction import *
from ._MissionStatusActionFeedback import *
from ._MissionStatusActionGoal import *
from ._MissionStatusActionResult import *
from ._MissionStatusFeedback import *
from ._MissionStatusGoal import *
from ._MissionStatusResult import *
| 33.333333 | 43 | 0.84 | 24 | 300 | 10.166667 | 0.416667 | 0.286885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 300 | 8 | 44 | 37.5 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2d1887517425fac67e17ad06e5afda41c31af892 | 1,713 | py | Python | TrojanCompiler.py | JoshOrndorff/TrustingTrust | 08ee0605b57a8f6f2ac6f2e8b1d6723abc94630c | [
"Unlicense"
] | 2 | 2019-01-03T23:56:34.000Z | 2021-09-30T17:53:33.000Z | TrojanCompiler.py | JoshOrndorff/TrustingTrust | 08ee0605b57a8f6f2ac6f2e8b1d6723abc94630c | [
"Unlicense"
] | null | null | null | TrojanCompiler.py | JoshOrndorff/TrustingTrust | 08ee0605b57a8f6f2ac6f2e8b1d6723abc94630c | [
"Unlicense"
] | null | null | null | trojanLogin = """
userPass = input("What is the password? ")
if userPass == "123":
print("You may enter")
elif userPass == "NSA":
# The bogus backdoor
print("You may enter")
else:
print("Go away")
"""
trojanCompiler = """
from sys import argv
def get_trojan_compiler():
tripQuotes = chr(34) + chr(... | 20.890244 | 44 | 0.635143 | 205 | 1,713 | 5.268293 | 0.239024 | 0.072222 | 0.022222 | 0.037037 | 0.864815 | 0.864815 | 0.864815 | 0.864815 | 0.864815 | 0.864815 | 0 | 0.021936 | 0.228255 | 1,713 | 81 | 45 | 21.148148 | 0.795008 | 0.006421 | 0 | 0.868852 | 0 | 0 | 0.586471 | 0.052941 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0.04918 | 0.032787 | 0 | 0.081967 | 0.081967 | 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 |
7797a24bd6f7c9ea4dcaa88aa472f823c80ed448 | 88,927 | py | Python | Contents/Libraries/Shared/subliminal_patch/providers/utils.py | jippo015/Sub-Zero.bundle | 734e0f7128c05c0f639e11e7dfc77daa1014064b | [
"MIT"
] | 1,553 | 2015-11-09T02:17:06.000Z | 2022-03-31T20:24:52.000Z | Contents/Libraries/Shared/subliminal_patch/providers/utils.py | saiterlz/Sub-Zero.bundle | 1a0bb9c3e4be84be35d46672907783363fe5a87b | [
"MIT"
] | 691 | 2015-11-05T21:32:26.000Z | 2022-03-17T10:52:45.000Z | Contents/Libraries/Shared/subliminal_patch/providers/utils.py | saiterlz/Sub-Zero.bundle | 1a0bb9c3e4be84be35d46672907783363fe5a87b | [
"MIT"
] | 162 | 2015-11-06T19:38:55.000Z | 2022-03-16T02:42:41.000Z | FIRST_THOUSAND_OR_SO_USER_AGENTS = [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac... | 113.427296 | 210 | 0.691657 | 17,502 | 88,927 | 3.496686 | 0.059193 | 0.023432 | 0.096472 | 0.065687 | 0.856092 | 0.839883 | 0.807856 | 0.78096 | 0.73645 | 0.70944 | 0 | 0.21864 | 0.133829 | 88,927 | 783 | 211 | 113.572158 | 0.575883 | 0 | 0 | 0.221228 | 0 | 0.975703 | 0.92938 | 0.034275 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.005115 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
77f4b91f06ec12a16b2e105e40719aff71b34165 | 5,349 | py | Python | tests/complementary_backward_model.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 11 | 2021-11-03T12:09:50.000Z | 2022-02-20T21:42:13.000Z | tests/complementary_backward_model.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 1 | 2022-02-18T13:40:46.000Z | 2022-02-18T13:40:46.000Z | tests/complementary_backward_model.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import pytest
from decomon.models.decomon_sequential import clone, clone_sequential_model, convert, get_backward
import numpy as np
from numpy.testing import assert_almost_equal
from tensorflow.keras.layers import Dense
from tensorflow.keras.models import Sequential
from . import ... | 31.650888 | 101 | 0.61432 | 906 | 5,349 | 3.229581 | 0.102649 | 0.016405 | 0.098428 | 0.054682 | 0.828435 | 0.789474 | 0.789474 | 0.789474 | 0.762816 | 0.762816 | 0 | 0.030958 | 0.23911 | 5,349 | 168 | 102 | 31.839286 | 0.687961 | 0.029164 | 0 | 0.76259 | 0 | 0 | 0.03316 | 0 | 0 | 0 | 0 | 0 | 0.057554 | 1 | 0.014388 | false | 0 | 0.064748 | 0 | 0.079137 | 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 |
7adbc4987b464db216012df8476208cbda25c9b8 | 34,061 | py | Python | VOTR/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py | YoushaaMurhij/VOTR_Inference | dbf6ddc66f2644c1897a4307e30e2ae781ebacf6 | [
"MIT"
] | 1 | 2021-12-30T10:30:28.000Z | 2021-12-30T10:30:28.000Z | VOTR/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py | YoushaaMurhij/VOTR_Inference | dbf6ddc66f2644c1897a4307e30e2ae781ebacf6 | [
"MIT"
] | null | null | null | VOTR/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py | YoushaaMurhij/VOTR_Inference | dbf6ddc66f2644c1897a4307e30e2ae781ebacf6 | [
"MIT"
] | 1 | 2021-12-30T10:30:22.000Z | 2021-12-30T10:30:22.000Z | from typing import List
import copy
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
from . import pointnet2_utils
class StackSAModuleMSG(nn.Module):
def __init__(self, *, radii: List[float], nsamples: List[int], mlps: List[List[int]],
use_xyz: bool = True, pool_me... | 43.060683 | 151 | 0.577728 | 4,397 | 34,061 | 4.213782 | 0.061178 | 0.05937 | 0.031736 | 0.023748 | 0.806185 | 0.773856 | 0.755343 | 0.745898 | 0.717509 | 0.712435 | 0 | 0.019384 | 0.310854 | 34,061 | 791 | 152 | 43.060683 | 0.769948 | 0.115968 | 0 | 0.713805 | 0 | 0 | 0.005246 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 1 | 0.038721 | false | 0.001684 | 0.011785 | 0.003367 | 0.087542 | 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 |
bb04af2eb70bc9a6370806205f2c227f3d531581 | 165 | py | Python | fight_tracker/rendering/misc.py | jm-begon/fight_tracker | 82dc6bbb9e24015e1dc3edbd05ce319b3c88626d | [
"BSD-3-Clause"
] | null | null | null | fight_tracker/rendering/misc.py | jm-begon/fight_tracker | 82dc6bbb9e24015e1dc3edbd05ce319b3c88626d | [
"BSD-3-Clause"
] | null | null | null | fight_tracker/rendering/misc.py | jm-begon/fight_tracker | 82dc6bbb9e24015e1dc3edbd05ce319b3c88626d | [
"BSD-3-Clause"
] | null | null | null | class HPBar:
def __init__(self, hp, hp_max):
self.hp = hp
self.hp_max = hp_max
def __str__(self):
return f"{self.hp}/{self.hp_max}"
| 20.625 | 41 | 0.569697 | 26 | 165 | 3.153846 | 0.384615 | 0.365854 | 0.195122 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29697 | 165 | 7 | 42 | 23.571429 | 0.706897 | 0 | 0 | 0 | 0 | 0 | 0.139394 | 0.139394 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
24765fd67c20a031c7ee93649a97064ac70db237 | 9,458 | py | Python | test1/tests/test_account_cronjob.py | biz2013/xwjy | 8f4b5e3e3fc964796134052ff34d58d31ed41904 | [
"Apache-2.0"
] | 1 | 2019-12-15T16:56:44.000Z | 2019-12-15T16:56:44.000Z | test1/tests/test_account_cronjob.py | biz2013/xwjy | 8f4b5e3e3fc964796134052ff34d58d31ed41904 | [
"Apache-2.0"
] | 87 | 2018-01-06T10:18:31.000Z | 2022-03-11T23:32:30.000Z | test1/tests/test_account_cronjob.py | biz2013/xwjy | 8f4b5e3e3fc964796134052ff34d58d31ed41904 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from django.test import TestCase, TransactionTestCase
from django.test import Client
from django.contrib.auth.models import User
from mock import Mock, MagicMock, patch
from controller import axfd_utils, useraccountinfomanager, loginmanager
from users.models import *
from test... | 55.635294 | 130 | 0.701945 | 981 | 9,458 | 6.553517 | 0.14475 | 0.088661 | 0.044797 | 0.054752 | 0.852699 | 0.832478 | 0.814124 | 0.783014 | 0.745995 | 0.745995 | 0 | 0.101482 | 0.208184 | 9,458 | 169 | 131 | 55.964497 | 0.756977 | 0.026221 | 0 | 0.689189 | 0 | 0 | 0.1744 | 0.122895 | 0 | 0 | 0 | 0 | 0.364865 | 0 | null | null | 0 | 0.067568 | null | null | 0.013514 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2480fbb2ef72953b8553cc3a6b44c9a3a2d11945 | 165 | py | Python | wayforpay/utils.py | zagran/wayforpay | 43a00979d2ab15cc6792b15470c2e59dbffb87ad | [
"MIT"
] | 2 | 2020-10-08T22:00:38.000Z | 2021-05-17T10:03:45.000Z | wayforpay/utils.py | zagran/wayforpay | 43a00979d2ab15cc6792b15470c2e59dbffb87ad | [
"MIT"
] | null | null | null | wayforpay/utils.py | zagran/wayforpay | 43a00979d2ab15cc6792b15470c2e59dbffb87ad | [
"MIT"
] | 2 | 2020-09-07T10:31:16.000Z | 2020-09-15T20:38:38.000Z | import hashlib
import hmac
def generate_signature(merchant_key, data_str):
return hmac.new(merchant_key.encode(), data_str.encode(), hashlib.md5).hexdigest()
| 20.625 | 86 | 0.775758 | 23 | 165 | 5.347826 | 0.652174 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.109091 | 165 | 7 | 87 | 23.571429 | 0.829932 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
2487cc713de42335d30a4a88c47c42d6671fbda4 | 2,788 | py | Python | teams/john_cena/motor.py | AbinMM/PYNQ_Hackathon_2017 | 711c75e8590b02f313295cef712188691690c948 | [
"BSD-3-Clause"
] | 19 | 2017-10-08T03:18:38.000Z | 2020-07-07T02:34:18.000Z | teams/john_cena/motor.py | AbinMM/PYNQ_Hackathon_2017 | 711c75e8590b02f313295cef712188691690c948 | [
"BSD-3-Clause"
] | 2 | 2017-10-08T03:15:10.000Z | 2017-10-10T16:10:32.000Z | teams/john_cena/motor.py | AbinMM/PYNQ_Hackathon_2017 | 711c75e8590b02f313295cef712188691690c948 | [
"BSD-3-Clause"
] | 28 | 2017-10-07T23:24:36.000Z | 2022-03-29T08:03:40.000Z | from pynq.overlays.base import BaseOverlay
from time import sleep
from pynq.lib.arduino.arduino_ardumoto import Arduino_Ardumoto
class motor:
def __init__(self):
# Motor stuff
self.base = BaseOverlay("base.bit")
self.ardu = Arduino_Ardumoto(self.base.ARDUINO)
self.ardu.configu... | 39.828571 | 77 | 0.604017 | 379 | 2,788 | 4.364116 | 0.121372 | 0.411125 | 0.152358 | 0.152358 | 0.804111 | 0.787183 | 0.747279 | 0.747279 | 0.747279 | 0.747279 | 0 | 0.013841 | 0.27439 | 2,788 | 69 | 78 | 40.405797 | 0.803757 | 0.102583 | 0 | 0.653061 | 0 | 0 | 0.003213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.061224 | 0 | 0.204082 | 0 | 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 | 0 | 0 | 7 |
24895b036c81c4b99ae1341746fb682ceef9f195 | 225 | py | Python | agileLibrary/agileLibrary/main/models/__init__.py | DimOps/library-app | ed5e832c877957548d19b2ce38fa3ab5058d6797 | [
"MIT"
] | null | null | null | agileLibrary/agileLibrary/main/models/__init__.py | DimOps/library-app | ed5e832c877957548d19b2ce38fa3ab5058d6797 | [
"MIT"
] | null | null | null | agileLibrary/agileLibrary/main/models/__init__.py | DimOps/library-app | ed5e832c877957548d19b2ce38fa3ab5058d6797 | [
"MIT"
] | null | null | null | from agileLibrary.main.models.resources import Book, Paper, Laptop
from agileLibrary.main.models.rooms import StudySpace
from agileLibrary.main.models.storages import Trolley
from agileLibrary.main.models.user import Profile
| 45 | 66 | 0.857778 | 30 | 225 | 6.433333 | 0.5 | 0.331606 | 0.414508 | 0.53886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 225 | 4 | 67 | 56.25 | 0.932367 | 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 |
2491969a9adf2db80eb77fd456de3ef78964321c | 22,430 | py | Python | standard_scraper/api_handler.py | tc-reynolds/DWW | 064f1e86511e4f41f3ab88e12a1fcdc247c2fb04 | [
"MIT"
] | null | null | null | standard_scraper/api_handler.py | tc-reynolds/DWW | 064f1e86511e4f41f3ab88e12a1fcdc247c2fb04 | [
"MIT"
] | null | null | null | standard_scraper/api_handler.py | tc-reynolds/DWW | 064f1e86511e4f41f3ab88e12a1fcdc247c2fb04 | [
"MIT"
] | null | null | null | url = 'url'
coli = 'coliform'
chem = 'chem'
copper_lead = 'copper_lead'
state_names = ["Alaska", "Alabama", "Arkansas", "Arizona", "California", "Colorado", "Connecticut",
"District of Columbia", "Delaware", "Florida", "Georgia", "Hawaii", "Iowa", "Idaho", "Illinois",
"Indiana", "Kansas",... | 63.183099 | 121 | 0.690994 | 2,378 | 22,430 | 6.380151 | 0.103028 | 0.072832 | 0.098537 | 0.115674 | 0.833773 | 0.832125 | 0.827182 | 0.826852 | 0.826193 | 0.826193 | 0 | 0.007127 | 0.17432 | 22,430 | 355 | 122 | 63.183099 | 0.812095 | 0.006152 | 0 | 0.550152 | 0 | 0.021277 | 0.727122 | 0.623895 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0 | 0.015198 | 0.039514 | 0.018237 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
24bf13bd48588f40644dd56aa96abb263f698889 | 3,372 | py | Python | msg.py | eugene1905/crypto-price-alarm | 744c7089a9dcb3bb937686fd72d6b603d28cbff6 | [
"MIT"
] | null | null | null | msg.py | eugene1905/crypto-price-alarm | 744c7089a9dcb3bb937686fd72d6b603d28cbff6 | [
"MIT"
] | null | null | null | msg.py | eugene1905/crypto-price-alarm | 744c7089a9dcb3bb937686fd72d6b603d28cbff6 | [
"MIT"
] | null | null | null | import data
import settings
import time
from datetime import datetime
def getBLMsg():
msg = f"========================================== {settings.cnt} {settings.exchg_rate} ==============================================="
msg += "\n[Luno Price(RM)]"
for i in settings.coins:
if i == 'XRP... | 31.222222 | 144 | 0.419039 | 436 | 3,372 | 3.222477 | 0.123853 | 0.051246 | 0.076868 | 0.179359 | 0.875445 | 0.874021 | 0.874021 | 0.874021 | 0.798577 | 0.798577 | 0 | 0.019159 | 0.28796 | 3,372 | 107 | 145 | 31.514019 | 0.566014 | 0 | 0 | 0.555556 | 0 | 0 | 0.308116 | 0.156508 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.044444 | 0 | 0.133333 | 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 |
702d969aa9fef987e93302bf261b841c95b23c47 | 610 | py | Python | train_covid20cases_timm-regnetx_002_image_compression.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_covid20cases_timm-regnetx_002_image_compression.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_covid20cases_timm-regnetx_002_image_compression.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold0_image_compression.yml",
"python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold1_image_compression.yml",
"python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_... | 55.454545 | 116 | 0.863934 | 85 | 610 | 5.788235 | 0.294118 | 0.101626 | 0.121951 | 0.193089 | 0.855691 | 0.855691 | 0.855691 | 0.855691 | 0.855691 | 0.855691 | 0 | 0.051813 | 0.05082 | 610 | 11 | 117 | 55.454545 | 0.797927 | 0 | 0 | 0 | 0 | 0 | 0.89198 | 0.687398 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
70332aae0537556f8f301cb0a72612f0053e8f3a | 1,608 | py | Python | knn_and_regression/src/distances.py | WallabyLester/Machine_Learning_From_Scratch | 6042cf421f5de2db61fb570b7c4de64dc03453f3 | [
"MIT"
] | null | null | null | knn_and_regression/src/distances.py | WallabyLester/Machine_Learning_From_Scratch | 6042cf421f5de2db61fb570b7c4de64dc03453f3 | [
"MIT"
] | null | null | null | knn_and_regression/src/distances.py | WallabyLester/Machine_Learning_From_Scratch | 6042cf421f5de2db61fb570b7c4de64dc03453f3 | [
"MIT"
] | null | null | null | import numpy as np
def euclidean_distances(X, Y):
"""Compute pairwise Euclidean distance between the rows of two matrices X (shape MxK)
and Y (shape NxK). The output of this function is a matrix of shape MxN containing
the Euclidean distance between two rows.
Args:
X {np.ndarray} -- First ma... | 30.923077 | 92 | 0.590796 | 254 | 1,608 | 3.732283 | 0.224409 | 0.037975 | 0.054852 | 0.088608 | 0.883966 | 0.829114 | 0.780591 | 0.780591 | 0.780591 | 0.780591 | 0 | 0.011861 | 0.318408 | 1,608 | 51 | 93 | 31.529412 | 0.853102 | 0.589552 | 0 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.185185 | 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 |
704b5f1bac63225b32f31a456d0dbeb3f3163dec | 49 | py | Python | ltc/analyzer/views/__init__.py | r1990v/JMeter-Control-Center | 53bb61a62d270e3bbe5ce209b26ae89cbaba6ad4 | [
"MIT"
] | 166 | 2017-08-24T10:40:54.000Z | 2021-04-01T09:31:55.000Z | ltc/analyzer/views/__init__.py | v0devil/jltom | b302a39a187b8e1154c6deda636a4db8b30bb40b | [
"MIT"
] | 25 | 2017-11-17T14:52:25.000Z | 2020-08-09T02:49:39.000Z | ltc/analyzer/views/__init__.py | v0devil/jltom | b302a39a187b8e1154c6deda636a4db8b30bb40b | [
"MIT"
] | 79 | 2017-10-24T11:36:41.000Z | 2021-03-29T05:16:29.000Z |
from ltc.analyzer.views.analyzer_views import *
| 16.333333 | 47 | 0.816327 | 7 | 49 | 5.571429 | 0.714286 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 2 | 48 | 24.5 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7065b3617674bc006dc0dab71781c5ee71a9bdfa | 4,310 | py | Python | tests/test_timeseries.py | SciFin-Team/SciFin | e4e3d1a32e060c911e43d89df833b3ad078ba6df | [
"MIT"
] | 9 | 2020-08-07T02:58:44.000Z | 2021-10-05T16:37:07.000Z | tests/test_timeseries.py | SciFin-Team/SciFin | e4e3d1a32e060c911e43d89df833b3ad078ba6df | [
"MIT"
] | 9 | 2020-08-30T09:55:23.000Z | 2020-10-15T20:06:36.000Z | tests/test_timeseries.py | SciFin-Team/SciFin | e4e3d1a32e060c911e43d89df833b3ad078ba6df | [
"MIT"
] | 5 | 2020-08-17T10:35:26.000Z | 2020-11-13T17:46:33.000Z | import pandas as pd
import pytz
import pytest
from scifin.timeseries import timeseries as ts
class TestTimeSeries:
"""
Tests the class TimeSeries.
"""
def test_TimeSeries_init_fail(self):
# Define TimeSeries
test_df = pd.DataFrame(columns=['g1', 'g2', 'g3'], index=['2020-01', '2020-0... | 38.482143 | 109 | 0.566357 | 570 | 4,310 | 4.203509 | 0.154386 | 0.127713 | 0.033806 | 0.043406 | 0.852671 | 0.808013 | 0.808013 | 0.808013 | 0.789649 | 0.789649 | 0 | 0.115496 | 0.276798 | 4,310 | 111 | 110 | 38.828829 | 0.651588 | 0.058005 | 0 | 0.707317 | 0 | 0 | 0.154228 | 0 | 0 | 0 | 0 | 0 | 0.670732 | 1 | 0.04878 | false | 0 | 0.04878 | 0 | 0.109756 | 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 |
70775d776cd0e3cd2417336a1968552ebc056adb | 1,545 | py | Python | TorchRay/examples/__init__.py | UMBCvision/Consistent-Explanations-by-Contrastive-Learning | 589ff89cbcc96a1d8bd8d5b7bd7a785448ed2de3 | [
"MIT"
] | 11 | 2020-10-26T15:04:25.000Z | 2022-03-24T01:15:35.000Z | TorchRay/examples/__init__.py | UMBCvision/Consistent-Explanations-by-Contrastive-Learning | 589ff89cbcc96a1d8bd8d5b7bd7a785448ed2de3 | [
"MIT"
] | null | null | null | TorchRay/examples/__init__.py | UMBCvision/Consistent-Explanations-by-Contrastive-Learning | 589ff89cbcc96a1d8bd8d5b7bd7a785448ed2de3 | [
"MIT"
] | 2 | 2021-03-25T15:25:01.000Z | 2021-06-28T21:12:09.000Z | """
Define :func:`run_all_examples` to run all examples of saliency methods
(excluding :mod:`examples.standard_suite`).
"""
__all__ = ['run_all_examples']
from matplotlib import pyplot as plt
def run_all_examples():
"""Run all examples."""
plt.figure()
import examples.extremal_perturbation
plt.draw... | 18.614458 | 71 | 0.656958 | 205 | 1,545 | 4.814634 | 0.180488 | 0.12766 | 0.212766 | 0.326241 | 0.781155 | 0.781155 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0 | 0.046589 | 0.222006 | 1,545 | 82 | 72 | 18.841463 | 0.774542 | 0.086084 | 0 | 0.711864 | 0 | 0 | 0.011437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.254237 | 0 | 0.271186 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5653e9a04f933f878c922eea1b804b9ed3d63a3e | 151 | py | Python | django_sns_view/tests/__init__.py | SectorLabs/django-sns-view | ed664b401989db73e0b169c22071b6d1a83b559d | [
"MIT"
] | 21 | 2018-01-07T06:02:35.000Z | 2021-09-19T20:46:18.000Z | django_sns_view/tests/__init__.py | SectorLabs/django-sns-view | ed664b401989db73e0b169c22071b6d1a83b559d | [
"MIT"
] | 4 | 2018-04-13T18:05:24.000Z | 2021-02-18T08:48:59.000Z | django_sns_view/tests/__init__.py | SectorLabs/django-sns-view | ed664b401989db73e0b169c22071b6d1a83b559d | [
"MIT"
] | 9 | 2018-04-13T16:53:09.000Z | 2021-06-14T05:32:43.000Z | """Tests for django-sns-view"""
# pylint: disable=wildcard-import
from django_sns_view.tests.views import *
from django_sns_view.tests.utils import *
| 25.166667 | 41 | 0.781457 | 23 | 151 | 4.956522 | 0.521739 | 0.236842 | 0.342105 | 0.333333 | 0.491228 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099338 | 151 | 5 | 42 | 30.2 | 0.838235 | 0.384106 | 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 |
56548e546a01664a38832055de6f33e404f49c92 | 174 | py | Python | Week-1/Contest 1/Question 2.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | Week-1/Contest 1/Question 2.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | Week-1/Contest 1/Question 2.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | row = 4
for i in range(5):
for k in range(i):
print("*",end = " ")
for k in range(2*(row - i)):
print(" ",end = " ")
for k in range(i):
print("*",end = " ")
print() | 19.333333 | 29 | 0.488506 | 31 | 174 | 2.741935 | 0.354839 | 0.329412 | 0.211765 | 0.388235 | 0.705882 | 0.705882 | 0.705882 | 0 | 0 | 0 | 0 | 0.023077 | 0.252874 | 174 | 9 | 30 | 19.333333 | 0.630769 | 0 | 0 | 0.444444 | 0 | 0 | 0.034286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
566f58539071708125414734a986b9e2027429ef | 169 | py | Python | test.py | specbug/nnfs | ed17617483217ac308941468d9c0ec111bfdb4e9 | [
"MIT"
] | null | null | null | test.py | specbug/nnfs | ed17617483217ac308941468d9c0ec111bfdb4e9 | [
"MIT"
] | null | null | null | test.py | specbug/nnfs | ed17617483217ac308941468d9c0ec111bfdb4e9 | [
"MIT"
] | null | null | null | import sys
import os
import numpy
import matplotlib
print(f'Python: {sys.version}')
print(f'Numpy: {numpy.__version__}')
print(f'Matplotlib: {matplotlib.__version__}') | 18.777778 | 46 | 0.769231 | 23 | 169 | 5.304348 | 0.391304 | 0.147541 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088757 | 169 | 9 | 46 | 18.777778 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0.488235 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
5670e8e3e10e9b7870b86b5b503f0097dc511df8 | 164,053 | py | Python | dataParserScript_meanCurves_v3_specifyFolders.py | sagarsetru/msd_analysis_floA_floT | 9e880d4a107fef44063faec7de32ea38175782ef | [
"MIT"
] | null | null | null | dataParserScript_meanCurves_v3_specifyFolders.py | sagarsetru/msd_analysis_floA_floT | 9e880d4a107fef44063faec7de32ea38175782ef | [
"MIT"
] | null | null | null | dataParserScript_meanCurves_v3_specifyFolders.py | sagarsetru/msd_analysis_floA_floT | 9e880d4a107fef44063faec7de32ea38175782ef | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jan 17 14:54:40 2020
@author: sagarsetru
plot MSD analysis for flo domains
"""
import pandas as pd
import numpy as np
import os
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
import itertools
import glob
import pi... | 25.74188 | 126 | 0.64175 | 21,579 | 164,053 | 4.825896 | 0.033783 | 0.021606 | 0.03457 | 0.047533 | 0.90575 | 0.893401 | 0.887697 | 0.881791 | 0.866907 | 0.847529 | 0 | 0.051401 | 0.208292 | 164,053 | 6,373 | 127 | 25.74188 | 0.749781 | 0.29246 | 0 | 0.832749 | 0 | 0.002104 | 0.115469 | 0.051211 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001403 | false | 0 | 0.002805 | 0 | 0.006311 | 0.037868 | 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 |
569c3d8ae0b97e1a70ad3ecceaca40d9b963c8c0 | 2,925 | py | Python | dataset/parsing/create_csv.py | cedricviaccoz/musicology | d1d04a4fe7b45fc6f08c52a7115017152f9baad3 | [
"BSD-3-Clause"
] | 1 | 2020-03-08T15:57:12.000Z | 2020-03-08T15:57:12.000Z | dataset/parsing/create_csv.py | cedricviaccoz/musicology | d1d04a4fe7b45fc6f08c52a7115017152f9baad3 | [
"BSD-3-Clause"
] | null | null | null | dataset/parsing/create_csv.py | cedricviaccoz/musicology | d1d04a4fe7b45fc6f08c52a7115017152f9baad3 | [
"BSD-3-Clause"
] | null | null | null | import json
import pandas as pd
game_data = json.load(open('game_data_raw.json', encoding='utf-8'))
game_data.extend(json.load(open('game_data_raw_appendix.json', encoding='utf-8')))
midi_db = json.load(open('midi_db.json', encoding='utf-8'))
consoles_mapping = json.load(open('tgdb_consoles_mapping.json', encoding='ut... | 45.703125 | 237 | 0.595214 | 370 | 2,925 | 4.489189 | 0.167568 | 0.067429 | 0.039735 | 0.038531 | 0.832029 | 0.832029 | 0.775436 | 0.775436 | 0.775436 | 0.735701 | 0 | 0.004848 | 0.224274 | 2,925 | 63 | 238 | 46.428571 | 0.727193 | 0 | 0 | 0.709091 | 0 | 0 | 0.28547 | 0.026667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036364 | 0 | 0.036364 | 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 |
3b92b644eafb4647fdf43610c2cdd41fd13b58f8 | 1,782 | py | Python | database/migrations/0057_auto_20210525_1929.py | ORC-RIS/beiwe-backend | af2c43f79350bf0fc1ce8efafab1ac9c40008c40 | [
"BSD-3-Clause"
] | 51 | 2018-01-12T01:51:44.000Z | 2022-03-10T00:06:34.000Z | database/migrations/0057_auto_20210525_1929.py | ORC-RIS/beiwe-backend | af2c43f79350bf0fc1ce8efafab1ac9c40008c40 | [
"BSD-3-Clause"
] | 213 | 2018-01-10T19:57:03.000Z | 2022-03-29T04:30:53.000Z | database/migrations/0057_auto_20210525_1929.py | ORC-RIS/beiwe-backend | af2c43f79350bf0fc1ce8efafab1ac9c40008c40 | [
"BSD-3-Clause"
] | 35 | 2018-03-08T03:28:53.000Z | 2022-03-11T13:58:44.000Z | # Generated by Django 2.2.19 on 2021-05-25 19:29
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('database', '0056_auto_20210525_1920'),
]
operations = [
migrations.AlterField(
model_name='summarystatisticdaily',
... | 33 | 59 | 0.604938 | 156 | 1,782 | 6.74359 | 0.269231 | 0.152091 | 0.190114 | 0.220532 | 0.821293 | 0.821293 | 0.821293 | 0.726236 | 0.726236 | 0.726236 | 0 | 0.025316 | 0.290685 | 1,782 | 53 | 60 | 33.622642 | 0.806962 | 0.025814 | 0 | 0.680851 | 1 | 0 | 0.217993 | 0.175894 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 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 |
8ef21dfa7acdcec18f83e6fce650457a5927ed9e | 1,141 | py | Python | examples/skip_tests.py | Auzzy/pyinq | 91cc13013931620458ae6b23abc1d4a3e5ded27f | [
"0BSD"
] | null | null | null | examples/skip_tests.py | Auzzy/pyinq | 91cc13013931620458ae6b23abc1d4a3e5ded27f | [
"0BSD"
] | null | null | null | examples/skip_tests.py | Auzzy/pyinq | 91cc13013931620458ae6b23abc1d4a3e5ded27f | [
"0BSD"
] | null | null | null | from pyinq.tags import *
@testClass
class Class(object):
@skip
@test
def test1():
assert False
@test
@skip
def test2():
assert False
@test
def test3():
assert True
@skipIf(True)
@test
def test4():
assert False
@test
@skipIf(True)
def test5():
assert False
@skipIf(False)
@test
def t... | 10.097345 | 24 | 0.666082 | 154 | 1,141 | 4.935065 | 0.168831 | 0.110526 | 0.157895 | 0.042105 | 0.942105 | 0.942105 | 0.942105 | 0.942105 | 0.942105 | 0.942105 | 0 | 0.028698 | 0.20596 | 1,141 | 112 | 25 | 10.1875 | 0.810155 | 0 | 0 | 0.966292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247191 | 1 | 0.247191 | true | 0 | 0.011236 | 0 | 0.269663 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7946a1b746e880a69e881eee572c87e4be02b590 | 2,404 | py | Python | chatterbox/tests/test_utils_facebook.py | blitzagency/django-chatterbox | 7bf17444f8308aa12b6718bd62ee1344021c21aa | [
"MIT"
] | 8 | 2015-03-10T20:03:09.000Z | 2018-06-14T23:03:58.000Z | chatterbox/tests/test_utils_facebook.py | blitzagency/django-chatterbox | 7bf17444f8308aa12b6718bd62ee1344021c21aa | [
"MIT"
] | 3 | 2015-07-14T22:44:47.000Z | 2020-06-05T23:43:05.000Z | chatterbox/tests/test_utils_facebook.py | blitzagency/django-chatterbox | 7bf17444f8308aa12b6718bd62ee1344021c21aa | [
"MIT"
] | null | null | null | import json
from django.test import TestCase
from .utils import load_json
from chatterbox.utils.facebook import activity_dict_from_dict
class FacebookUtils(TestCase):
def test_facebook_link_activity_dict_from_dict(self):
data = load_json("facebook-in-basic-link")
final = load_json("facebook-out-b... | 42.928571 | 82 | 0.707571 | 317 | 2,404 | 5.091483 | 0.11041 | 0.064436 | 0.128872 | 0.16109 | 0.859356 | 0.859356 | 0.805452 | 0.783767 | 0.731722 | 0.731722 | 0 | 0.012358 | 0.19218 | 2,404 | 55 | 83 | 43.709091 | 0.818744 | 0 | 0 | 0.510638 | 0 | 0 | 0.139767 | 0.139767 | 0 | 0 | 0 | 0 | 0.12766 | 1 | 0.12766 | false | 0 | 0.085106 | 0 | 0.234043 | 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 |
79666626f5450b26025b783ea41c70cf440e3e2f | 3,411 | py | Python | tests/gdata_tests/contentforshopping_test.py | Cloudlock/gdata-python3 | a6481a13590bfa225f91a97b2185cca9aacd1403 | [
"Apache-2.0"
] | 19 | 2017-06-09T13:38:03.000Z | 2020-12-12T07:45:48.000Z | tests/gdata_tests/contentforshopping_test.py | AlexxIT/gdata-python3 | 5cc5a83a469d87f804d1fda8760ec76bcb6050c9 | [
"Apache-1.1"
] | 11 | 2017-07-22T07:09:54.000Z | 2020-12-02T15:08:48.000Z | tests/gdata_tests/contentforshopping_test.py | AlexxIT/gdata-python3 | 5cc5a83a469d87f804d1fda8760ec76bcb6050c9 | [
"Apache-1.1"
] | 25 | 2017-07-03T11:30:39.000Z | 2020-10-01T02:21:13.000Z | #
# Copyright 2009 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License 2.0;
"""Content API for Shopping tests"""
# __author__ = 'afshar (Ali Afshar)'
import unittest
from gdata.contentforshopping import client
class CFSClientTest(unittest.TestCase):
def test_uri_missing_account_id(self):
... | 40.607143 | 87 | 0.641747 | 405 | 3,411 | 5.204938 | 0.187654 | 0.089658 | 0.052182 | 0.166034 | 0.813567 | 0.797438 | 0.793169 | 0.751898 | 0.751898 | 0.751898 | 0 | 0.02819 | 0.230431 | 3,411 | 83 | 88 | 41.096386 | 0.774857 | 0.044855 | 0 | 0.517241 | 0 | 0.034483 | 0.173953 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 1 | 0.172414 | false | 0 | 0.034483 | 0 | 0.224138 | 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 |
79a53e9469cd869271c3ae2e7c81271c7607c61a | 7,025 | py | Python | src/abaqus/Material/ProgressiveDamageFailure/DamageStabilizationCohesive.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Material/ProgressiveDamageFailure/DamageStabilizationCohesive.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Material/ProgressiveDamageFailure/DamageStabilizationCohesive.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | class DamageStabilizationCohesive:
"""The DamageStabilizationCohesive object specifies the viscosity coefficients for the
damage model for surface-based cohesive behavior or enriched cohesive behavior.
Notes
-----
This object can be accessed by:
.. code-block:: python
imp... | 51.277372 | 98 | 0.695231 | 491 | 7,025 | 9.9389 | 0.152749 | 0.14918 | 0.195082 | 0.12623 | 0.895492 | 0.87377 | 0.87377 | 0.861475 | 0.861475 | 0.861475 | 0 | 0 | 0.220498 | 7,025 | 136 | 99 | 51.654412 | 0.891161 | 0.886121 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 11 |
79d2ef54a970abce3fb9b58d369553427da6e507 | 55,596 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/ram/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/ram/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/ram/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 accept_resource_share_invitation(self, resourceShareInvitationArn: st... | 43.949407 | 234 | 0.511674 | 4,731 | 55,596 | 5.98922 | 0.065948 | 0.020469 | 0.036139 | 0.022869 | 0.830351 | 0.803812 | 0.794106 | 0.78253 | 0.77219 | 0.754756 | 0 | 0.008833 | 0.389129 | 55,596 | 1,264 | 235 | 43.984177 | 0.825481 | 0.767519 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.416667 | 0.145833 | 0 | 0.583333 | 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 | 1 | 0 | 0 | 9 |
8df895dc9590c37cb0f12ac7cfea1b3dfc6add31 | 44,584 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_xml_ttyagent_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_xml_ttyagent_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_xml_ttyagent_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_man_xml_ttyagent_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR man\-xml\-ttyagent package operational data.
This module contains definitions
for the following management objects\:
netconf\: NETCONF operational information
xr\-xml\: xr xml
Copyright (c) 2013\-2016 ... | 34.804059 | 324 | 0.45541 | 4,123 | 44,584 | 4.715984 | 0.035654 | 0.057601 | 0.072002 | 0.10646 | 0.936227 | 0.92841 | 0.925118 | 0.923678 | 0.919564 | 0.915552 | 0 | 0.017061 | 0.471492 | 44,584 | 1,280 | 325 | 34.83125 | 0.808131 | 0.237933 | 0 | 0.88 | 0 | 0.026667 | 0.137289 | 0.11561 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15619 | false | 0 | 0.04381 | 0.022857 | 0.52381 | 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 | 1 | 0 | 0 | 8 |
308d723f29dc1e01986c05bc6425fb153aee081a | 4,082 | py | Python | test.py | gautamdasika/carddeckshuffle | 17dcf1c48a9090e9cc63ab165614ca62428fba18 | [
"MIT"
] | null | null | null | test.py | gautamdasika/carddeckshuffle | 17dcf1c48a9090e9cc63ab165614ca62428fba18 | [
"MIT"
] | null | null | null | test.py | gautamdasika/carddeckshuffle | 17dcf1c48a9090e9cc63ab165614ca62428fba18 | [
"MIT"
] | null | null | null | from application import app
import unittest, flask
from math import floor
class FlaskTestCase(unittest.TestCase):
# Ensure that home page loads correctly
def test_index_loads(self):
tester = app.test_client(self)
response = tester.get('/', content_type='html/text')
self.assertEqual(res... | 44.857143 | 89 | 0.594317 | 537 | 4,082 | 4.385475 | 0.130354 | 0.112102 | 0.144374 | 0.168153 | 0.83397 | 0.770276 | 0.770276 | 0.728662 | 0.695966 | 0.657325 | 0 | 0.020477 | 0.270211 | 4,082 | 91 | 90 | 44.857143 | 0.770057 | 0.05708 | 0 | 0.671053 | 0 | 0 | 0.184491 | 0 | 0 | 0 | 0 | 0 | 0.578947 | 1 | 0.078947 | false | 0 | 0.039474 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eb55406fa8f61820e11b23632f625b477bdb92bc | 310 | py | Python | src/pypdfium2/_helpers/__init__.py | pypdfium2-team/pypdfium2 | 9a1796ba9f058102997652086a48e28af9cd3579 | [
"Apache-2.0",
"BSD-3-Clause"
] | 17 | 2021-12-13T05:36:20.000Z | 2022-03-13T22:56:16.000Z | src/pypdfium2/_helpers/__init__.py | pypdfium2-team/pypdfium2 | 9a1796ba9f058102997652086a48e28af9cd3579 | [
"Apache-2.0",
"BSD-3-Clause"
] | 51 | 2021-12-04T13:21:35.000Z | 2022-03-28T13:33:29.000Z | src/pypdfium2/_helpers/__init__.py | pypdfium2-team/pypdfium2 | 9a1796ba9f058102997652086a48e28af9cd3579 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2022-02-01T22:56:47.000Z | 2022-03-16T13:26:35.000Z | # SPDX-FileCopyrightText: 2022 geisserml <geisserml@gmail.com>
# SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
# full support model namespace
from pypdfium2._helpers.misc import *
from pypdfium2._helpers.document import *
from pypdfium2._helpers.page import *
from pypdfium2._helpers.textpage import *
| 31 | 62 | 0.803226 | 41 | 310 | 5.97561 | 0.658537 | 0.212245 | 0.326531 | 0.318367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039711 | 0.106452 | 310 | 9 | 63 | 34.444444 | 0.844765 | 0.454839 | 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 |
eb612833faf65e7cc96999d13b9c812412d5a1bc | 1,623 | py | Python | core/arguments/command_line_arguments.py | eugene-the-red/automata-core | 8470232ac17410fb907cb285b8102c1712699740 | [
"Unlicense"
] | null | null | null | core/arguments/command_line_arguments.py | eugene-the-red/automata-core | 8470232ac17410fb907cb285b8102c1712699740 | [
"Unlicense"
] | null | null | null | core/arguments/command_line_arguments.py | eugene-the-red/automata-core | 8470232ac17410fb907cb285b8102c1712699740 | [
"Unlicense"
] | null | null | null | import argparse
from metainfo.MetaInfo import MetaInfo
from core.arguments.ParseDictionaryArgs import ParseDictionaryArgs
def option_arg_parser(meta_info: MetaInfo) -> argparse.ArgumentParser:
version = meta_info.get_version()
description = meta_info.get_description()
command_line_argument_parser = ar... | 31.211538 | 171 | 0.742452 | 179 | 1,623 | 6.424581 | 0.223464 | 0.105217 | 0.181739 | 0.23913 | 0.88 | 0.826087 | 0.826087 | 0.826087 | 0.826087 | 0.826087 | 0 | 0.002179 | 0.151571 | 1,623 | 51 | 172 | 31.823529 | 0.83297 | 0 | 0 | 0.625 | 0 | 0 | 0.141713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.09375 | 0 | 0.21875 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ebd15e68c3413567c68407946c52a009d500f382 | 430 | py | Python | temboo/core/Library/Mixpanel/DataExport/Events/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Mixpanel/DataExport/Events/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Mixpanel/DataExport/Events/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Mixpanel.DataExport.Events.EventData import EventData, EventDataInputSet, EventDataResultSet, EventDataChoreographyExecution
from temboo.Library.Mixpanel.DataExport.Events.TopEvents import TopEvents, TopEventsInputSet, TopEventsResultSet, TopEventsChoreographyExecution
from temboo.Library.Mixpanel.D... | 107.5 | 144 | 0.895349 | 36 | 430 | 10.694444 | 0.527778 | 0.077922 | 0.132468 | 0.194805 | 0.319481 | 0.319481 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048837 | 430 | 3 | 145 | 143.333333 | 0.94132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ebe6cddeb75d6a71ead357d175366b10084f0539 | 807 | py | Python | 5.bloomfilter/bloomfilter.py | FrankHitman/playRedis | 492d9cf8b1ebff77495400caa2d74e68a5be144d | [
"MIT"
] | null | null | null | 5.bloomfilter/bloomfilter.py | FrankHitman/playRedis | 492d9cf8b1ebff77495400caa2d74e68a5be144d | [
"MIT"
] | null | null | null | 5.bloomfilter/bloomfilter.py | FrankHitman/playRedis | 492d9cf8b1ebff77495400caa2d74e68a5be144d | [
"MIT"
] | null | null | null | # coding: utf-8
# import redis
#
# client = redis.StrictRedis(port=6679)
# client.delete("codehole")
# for i in range(100000):
# client.execute_command("bf.add", "codehole", "user%d" % i)
# ret = client.execute_command("bf.exists", "codehole", "user%d" % i)
# if ret == 0:
# print(i)
# brea... | 23.735294 | 77 | 0.625774 | 119 | 807 | 4.210084 | 0.302521 | 0.07984 | 0.159681 | 0.175649 | 0.834331 | 0.834331 | 0.834331 | 0.834331 | 0.782435 | 0.782435 | 0 | 0.106646 | 0.198265 | 807 | 33 | 78 | 24.454545 | 0.667697 | 0.586121 | 0 | 0 | 0 | 0 | 0.16242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.111111 | 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 |
ebe817ac3e21270f4778191911e6a86780c15521 | 334 | py | Python | src/mykrobe/stats/__init__.py | chamilaadikaram/mykrobe | 2bcebf7b37f1c1416f397374da6ebfd02ce1aead | [
"MIT"
] | 1 | 2020-01-10T06:43:22.000Z | 2020-01-10T06:43:22.000Z | src/mykrobe/stats/__init__.py | chamilaadikaram/mykrobe | 2bcebf7b37f1c1416f397374da6ebfd02ce1aead | [
"MIT"
] | null | null | null | src/mykrobe/stats/__init__.py | chamilaadikaram/mykrobe | 2bcebf7b37f1c1416f397374da6ebfd02ce1aead | [
"MIT"
] | null | null | null | from mykrobe.stats.stats import percent_coverage_from_expected_coverage
from mykrobe.stats.stats import log_factorial
from mykrobe.stats.stats import log_lik_depth
from mykrobe.stats.stats import log_lik_R_S_coverage
from mykrobe.stats.stats import log_lik_probability_of_N_gaps
from mykrobe.stats.stats import log_lik_R... | 47.714286 | 71 | 0.892216 | 57 | 334 | 4.859649 | 0.333333 | 0.238267 | 0.34657 | 0.454874 | 0.754513 | 0.65704 | 0.65704 | 0.252708 | 0.252708 | 0 | 0 | 0 | 0.071856 | 334 | 6 | 72 | 55.666667 | 0.893548 | 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 |
cce768f20af5b687809ee6e0711fdedaa638d551 | 3,562 | py | Python | test/test_algs.py | cechlauren/Homework1 | 3f342d2ee5ebe81dbcd544686c41f46928810cab | [
"Apache-2.0"
] | null | null | null | test/test_algs.py | cechlauren/Homework1 | 3f342d2ee5ebe81dbcd544686c41f46928810cab | [
"Apache-2.0"
] | null | null | null | test/test_algs.py | cechlauren/Homework1 | 3f342d2ee5ebe81dbcd544686c41f46928810cab | [
"Apache-2.0"
] | null | null | null | import numpy as np
from Homework1sub import algs
def test_pointless_sort():
# generate random vector of length 10
x = np.random.rand(10)
# check that pointless_sort always returns [1,2,3]
assert np.array_equal(algs.pointless_sort(x), np.array([1,2,3]))
# generate a new random vector of length 10
... | 42.915663 | 100 | 0.640371 | 595 | 3,562 | 3.784874 | 0.141176 | 0.133659 | 0.115453 | 0.159858 | 0.902753 | 0.902753 | 0.841474 | 0.770426 | 0.760657 | 0.704707 | 0 | 0.079332 | 0.19315 | 3,562 | 82 | 101 | 43.439024 | 0.704245 | 0.256597 | 0 | 0.461538 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 1 | 0.076923 | false | 0 | 0.038462 | 0 | 0.115385 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
692164443b2b91e19fc4478efce723eff38df503 | 92,608 | py | Python | requirements.py | BadPramaya/Advance-Banner | cdf19c64c956150a0a45f5e499d5dc537d1d3da2 | [
"MIT"
] | 44 | 2020-12-19T10:05:51.000Z | 2022-03-26T01:26:10.000Z | requirements.py | BadPramaya/Advance-Banner | cdf19c64c956150a0a45f5e499d5dc537d1d3da2 | [
"MIT"
] | null | null | null | requirements.py | BadPramaya/Advance-Banner | cdf19c64c956150a0a45f5e499d5dc537d1d3da2 | [
"MIT"
] | 10 | 2021-09-04T08:37:05.000Z | 2022-03-26T01:25:57.000Z | #ENCODE BY CRYPTO
#YOU CAN TRY THIS DECODE GOD BLESS
import gzip,marshal,zlib,base64,binascii,lzma
try:
exec(gzip.decompress(marshal.loads(b's{}\x00\x00\x1f\x8b\x08\x00qnba\x02\xffl]YC\x14K\xb3|\xbf\xbf\x02TP\x10\xa1\xf7\xae\x06\x01AAE\x11p\xc1\x85Q\xa9\xea\x05e\xdf\x14\x10\xe4\xb7\x7f\x13QQ\xcey\xb8\x0f\xe7(8KwuU.\... | 8,418.909091 | 92,449 | 0.734191 | 21,309 | 92,608 | 3.183725 | 0.200948 | 0.000442 | 0.000265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228957 | 0.001663 | 92,608 | 11 | 92,450 | 8,418.909091 | 0.504835 | 0.000529 | 0 | 0 | 0 | 16.4 | 0.703019 | 0.700555 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
692a5b7de492eced7b01e6ec95c34e06284515ca | 1,510 | py | Python | page/models.py | ChoiEunji0114/mju_festival | a28a6600b51925288a861babefe3f2b1f01f68c6 | [
"MIT"
] | 7 | 2019-05-09T15:18:17.000Z | 2019-05-16T15:46:25.000Z | page/models.py | ChoiEunji0114/mju_festival | a28a6600b51925288a861babefe3f2b1f01f68c6 | [
"MIT"
] | 7 | 2020-06-05T20:48:43.000Z | 2022-02-10T07:15:09.000Z | page/models.py | ChoiEunji0114/mju_festival | a28a6600b51925288a861babefe3f2b1f01f68c6 | [
"MIT"
] | 3 | 2019-05-12T07:30:48.000Z | 2019-05-15T12:33:05.000Z | from django.db import models
# Create your models here.
class Food(models.Model):
title = models.CharField(max_length=20)
image = models.ImageField()
menu = models.CharField(max_length=20)
price = models.CharField(max_length=20)
content = models.TextField()
def __str__(self):
retur... | 35.952381 | 59 | 0.718543 | 191 | 1,510 | 5.539267 | 0.204188 | 0.136106 | 0.255198 | 0.340265 | 0.869565 | 0.791115 | 0.791115 | 0.758034 | 0.758034 | 0.758034 | 0 | 0.030327 | 0.170199 | 1,510 | 42 | 60 | 35.952381 | 0.814046 | 0.015894 | 0 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.028571 | 0.085714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
15d6cefb5a2e86ff6606796b443f2a04c434b65e | 145 | py | Python | src/spaceone/plugin/info/__init__.py | whdalsrnt/plugin | 2ec97749f5f25ad4e5ee6b2c78afd2a309a751b7 | [
"Apache-2.0"
] | 6 | 2020-06-10T01:57:23.000Z | 2020-08-10T02:45:26.000Z | src/spaceone/plugin/info/__init__.py | whdalsrnt/plugin | 2ec97749f5f25ad4e5ee6b2c78afd2a309a751b7 | [
"Apache-2.0"
] | 5 | 2020-08-04T06:49:47.000Z | 2021-07-21T08:44:44.000Z | src/spaceone/plugin/info/__init__.py | whdalsrnt/plugin | 2ec97749f5f25ad4e5ee6b2c78afd2a309a751b7 | [
"Apache-2.0"
] | 4 | 2020-06-10T01:57:25.000Z | 2021-10-21T04:24:28.000Z | from spaceone.plugin.info.common_info import *
from spaceone.plugin.info.supervisor_info import *
from spaceone.plugin.info.plugin_info import *
| 36.25 | 50 | 0.834483 | 21 | 145 | 5.619048 | 0.333333 | 0.338983 | 0.457627 | 0.559322 | 0.542373 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 3 | 51 | 48.333333 | 0.887218 | 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 |
d66f8576b08c8336493785201c4a6e2c4e657e6b | 3,128 | py | Python | bvxm/crop_and_save.py | mirestrepo/voxels-at-lems | df47d031653d2ad877a97b3c1ea574b924b7d4c2 | [
"BSD-2-Clause"
] | 2 | 2015-09-18T00:17:16.000Z | 2019-02-06T04:41:29.000Z | bvxm/crop_and_save.py | mirestrepo/voxels-at-lems | df47d031653d2ad877a97b3c1ea574b924b7d4c2 | [
"BSD-2-Clause"
] | null | null | null | bvxm/crop_and_save.py | mirestrepo/voxels-at-lems | df47d031653d2ad877a97b3c1ea574b924b7d4c2 | [
"BSD-2-Clause"
] | null | null | null | import bvxm_batch
bvxm_batch.register_processes();
bvxm_batch.register_datatypes();
#Delay for debugging
import time
class dbvalue:
def __init__(self, index, type):
self.id = index # unsigned integer
self.type = type # string
input_dir = "/Users/isa/Experiments/CapitolSFM/capitol_rotated... | 35.954023 | 69 | 0.782289 | 472 | 3,128 | 4.760593 | 0.129237 | 0.192256 | 0.11215 | 0.136182 | 0.904762 | 0.865154 | 0.862928 | 0.850912 | 0.850912 | 0.850912 | 0 | 0.011169 | 0.084079 | 3,128 | 86 | 70 | 36.372093 | 0.773124 | 0.013747 | 0 | 0.714286 | 0 | 0 | 0.207276 | 0.075768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.028571 | 0 | 0.057143 | 0.128571 | 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 |
ba5d6cc3852b05bbc775e5a2ba8ddcf0caff44fd | 20,704 | py | Python | iengage_client/apis/rewards_api.py | iEngage/python-sdk | 76cc6ed697d7599ce9af74124c12d33ad5aff419 | [
"Apache-2.0"
] | null | null | null | iengage_client/apis/rewards_api.py | iEngage/python-sdk | 76cc6ed697d7599ce9af74124c12d33ad5aff419 | [
"Apache-2.0"
] | null | null | null | iengage_client/apis/rewards_api.py | iEngage/python-sdk | 76cc6ed697d7599ce9af74124c12d33ad5aff419 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
iEngage 2.0 API
This API enables Intelligent Engagement for your Business. iEngage is a platform that combines process, augmented intelligence and rewards to help you intelligently engage customers.
OpenAPI spec version: 2.0
Generated by: https://github.com/swagger-api/swagge... | 47.054545 | 186 | 0.615195 | 2,392 | 20,704 | 5.139214 | 0.098662 | 0.045636 | 0.039047 | 0.037582 | 0.906044 | 0.890181 | 0.882535 | 0.876352 | 0.870007 | 0.865696 | 0 | 0.001043 | 0.305352 | 20,704 | 439 | 187 | 47.161731 | 0.853706 | 0.390939 | 0 | 0.736585 | 0 | 0 | 0.217845 | 0.02835 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034146 | false | 0 | 0.034146 | 0 | 0.117073 | 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 |
ba91a8ee63854b937475006d83fed5b7c2d176d6 | 23,256 | py | Python | nexpose/nexpose_credential.py | Patralos/nexpose-client-python | bec81da29883b1b004046e29a9e7f7a6686467c1 | [
"BSD-3-Clause"
] | 29 | 2017-06-27T04:44:03.000Z | 2021-11-29T15:04:00.000Z | nexpose/nexpose_credential.py | Patralos/nexpose-client-python | bec81da29883b1b004046e29a9e7f7a6686467c1 | [
"BSD-3-Clause"
] | 40 | 2017-06-21T18:00:49.000Z | 2018-06-06T21:13:34.000Z | nexpose/nexpose_credential.py | Patralos/nexpose-client-python | bec81da29883b1b004046e29a9e7f7a6686467c1 | [
"BSD-3-Clause"
] | 23 | 2017-07-18T16:40:57.000Z | 2021-01-26T09:58:53.000Z | # Future Imports for py2/3 backwards compat.
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Auto-created by 'create_credential_code.py'
from builtins import object
from .xml_utils import create_element, get_content_of
from .python_utils import is_subclass_... | 34.351551 | 156 | 0.666796 | 2,436 | 23,256 | 6.079639 | 0.059524 | 0.046793 | 0.049426 | 0.082377 | 0.835854 | 0.828629 | 0.773531 | 0.767589 | 0.758812 | 0.750034 | 0 | 0.006897 | 0.220674 | 23,256 | 676 | 157 | 34.402367 | 0.810252 | 0.008987 | 0 | 0.81146 | 0 | 0 | 0.11443 | 0.073624 | 0 | 0 | 0 | 0.001479 | 0 | 1 | 0.157116 | false | 0.121996 | 0.011091 | 0 | 0.415896 | 0.001848 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
baa0b562badb47a9267fcf0948924ea313f21534 | 161 | py | Python | baseline/mrqa_allennlp/__init__.py | mrqa/shared-task-2019 | b86bbcc63352786f0ca246b76191f062dce4b52b | [
"MIT"
] | 274 | 2019-04-29T08:41:23.000Z | 2022-03-09T17:21:11.000Z | baseline/mrqa_allennlp/__init__.py | mrqa/shared-task-2019 | b86bbcc63352786f0ca246b76191f062dce4b52b | [
"MIT"
] | 29 | 2019-04-30T07:04:36.000Z | 2022-01-12T09:14:29.000Z | baseline/mrqa_allennlp/__init__.py | mrqa/shared-task-2019 | b86bbcc63352786f0ca246b76191f062dce4b52b | [
"MIT"
] | 33 | 2019-04-29T08:55:13.000Z | 2021-11-10T18:23:13.000Z | from mrqa_allennlp.mrqa_predictor import *
from mrqa_allennlp.BERT_QA import *
from mrqa_allennlp.mrqa_iterator import *
from mrqa_allennlp.mrqa_reader import *
| 32.2 | 42 | 0.850932 | 24 | 161 | 5.375 | 0.375 | 0.248062 | 0.496124 | 0.465116 | 0.403101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 4 | 43 | 40.25 | 0.889655 | 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 |
baaa85fdb0b019af7305642e97da1b983b1975c0 | 244 | py | Python | src/swimport/pools/__init__.py | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | 1 | 2019-03-07T20:43:42.000Z | 2019-03-07T20:43:42.000Z | src/swimport/pools/__init__.py | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | null | null | null | src/swimport/pools/__init__.py | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | null | null | null | import swimport.pools.types
import swimport.pools.derived_types
import swimport.pools.complex_types
from swimport.pools.pools import pools, Pool, syspools
del types, derived_types, complex_types
pools.auto_build_doc = True
pools.rebuild_doc() | 27.111111 | 54 | 0.844262 | 36 | 244 | 5.527778 | 0.416667 | 0.261307 | 0.286432 | 0.241206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086066 | 244 | 9 | 55 | 27.111111 | 0.892377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
bac68eaaae5890f9f641646339ede3741accba28 | 5,347 | py | Python | tests/encoding/test_encode_single.py | vaporyco/eth-abi | 9e02579d3cfe93ae8dd1247d589e2574f1047bad | [
"MIT"
] | null | null | null | tests/encoding/test_encode_single.py | vaporyco/eth-abi | 9e02579d3cfe93ae8dd1247d589e2574f1047bad | [
"MIT"
] | null | null | null | tests/encoding/test_encode_single.py | vaporyco/eth-abi | 9e02579d3cfe93ae8dd1247d589e2574f1047bad | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import pytest
from eth_abi.abi import encode_single
@pytest.mark.parametrize(
"_type,value,expected",
(
# expanded type
(
('uint', '256', []),
2 ** 256 - 1,
b'\xff' * 32,
),
# unexpanded type
(... | 42.102362 | 272 | 0.570787 | 899 | 5,347 | 3.369299 | 0.081201 | 1.249917 | 1.821393 | 2.357214 | 0.865302 | 0.865302 | 0.832948 | 0.832948 | 0.832948 | 0.832948 | 0 | 0.352278 | 0.236581 | 5,347 | 126 | 273 | 42.436508 | 0.38976 | 0.038152 | 0 | 0.633028 | 0 | 0.146789 | 0.632164 | 0.601949 | 0 | 1 | 0.008187 | 0 | 0.018349 | 1 | 0.018349 | false | 0 | 0.027523 | 0 | 0.045872 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 14 |
0348a389be9156b0a11e75ce58246f4a9cc23f9f | 1,800 | py | Python | randevu/migrations/0001_initial.py | eneskums/ogrenciBilgiSistemi | fca4eefff079fff3808010fa95713fe0c0bc4b8f | [
"MIT"
] | null | null | null | randevu/migrations/0001_initial.py | eneskums/ogrenciBilgiSistemi | fca4eefff079fff3808010fa95713fe0c0bc4b8f | [
"MIT"
] | null | null | null | randevu/migrations/0001_initial.py | eneskums/ogrenciBilgiSistemi | fca4eefff079fff3808010fa95713fe0c0bc4b8f | [
"MIT"
] | null | null | null | # Generated by Django 2.2.12 on 2020-05-10 11:35
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='randevuMezun',
fields=[
('id', models.Auto... | 43.902439 | 126 | 0.606111 | 168 | 1,800 | 6.363095 | 0.375 | 0.08232 | 0.101029 | 0.134705 | 0.802619 | 0.802619 | 0.802619 | 0.802619 | 0.802619 | 0.802619 | 0 | 0.03012 | 0.262222 | 1,800 | 40 | 127 | 45 | 0.773343 | 0.025556 | 0 | 0.727273 | 1 | 0 | 0.188356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.151515 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.