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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fce4abd58335a0b28d0cc68f213d513a81cecdba | 34 | py | Python | test/tokenize/t26.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/tokenize/t26.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/tokenize/t26.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | def d22(a, b, c=2, d=2, *k): pass
| 17 | 33 | 0.5 | 10 | 34 | 1.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.205882 | 34 | 1 | 34 | 34 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
1e138c7fc4d85545d1a14f9a08944b258e4f0bee | 138 | py | Python | others/edge/speech_recognition/pytorch/src/deepspeech/decoder/__init__.py | luluseptember/inference | acbc7b0bf288343ed81e62b69dea8afec03d679b | [
"Apache-2.0"
] | 49 | 2018-11-02T15:04:40.000Z | 2021-11-16T18:11:39.000Z | others/edge/speech_recognition/pytorch/src/deepspeech/decoder/__init__.py | luluseptember/inference | acbc7b0bf288343ed81e62b69dea8afec03d679b | [
"Apache-2.0"
] | 6 | 2018-12-03T19:29:49.000Z | 2020-05-16T15:34:33.000Z | others/edge/speech_recognition/pytorch/src/deepspeech/decoder/__init__.py | luluseptember/inference | acbc7b0bf288343ed81e62b69dea8afec03d679b | [
"Apache-2.0"
] | 16 | 2018-11-08T11:52:54.000Z | 2021-11-16T18:11:28.000Z | from deepspeech.decoder.beam import BeamCTCDecoder # noqa: F401
from deepspeech.decoder.greedy import GreedyCTCDecoder # noqa: F401
| 46 | 68 | 0.797101 | 16 | 138 | 6.875 | 0.625 | 0.254545 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.144928 | 138 | 2 | 69 | 69 | 0.881356 | 0.152174 | 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 |
1e353a6d9c62e76a583e07b3a038a38cb4fbc4a4 | 161 | py | Python | ebdataset/__init__.py | tihbe/python-ebdataset | 4d16822a3a6b45882124a8d7f7e124bd39a75868 | [
"MIT"
] | 7 | 2020-07-30T09:31:08.000Z | 2022-02-22T10:49:23.000Z | ebdataset/__init__.py | tihbe/python-ebdataset | 4d16822a3a6b45882124a8d7f7e124bd39a75868 | [
"MIT"
] | 3 | 2021-01-15T07:12:31.000Z | 2021-10-07T02:59:32.000Z | ebdataset/__init__.py | tihbe/python-ebdataset | 4d16822a3a6b45882124a8d7f7e124bd39a75868 | [
"MIT"
] | 1 | 2021-03-01T13:27:06.000Z | 2021-03-01T13:27:06.000Z | import ebdataset.vision as vision
import ebdataset.audio as audio
import ebdataset.generated as generated
import ebdataset.bci as bci
from .utils.units import *
| 26.833333 | 39 | 0.832298 | 24 | 161 | 5.583333 | 0.416667 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124224 | 161 | 5 | 40 | 32.2 | 0.950355 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1e44fa78dcee224d8353cd2720c4dcf6fe1b8ccd | 188 | py | Python | tests/parsing/parser/test_str_to_ipv6.py | LeeeeT/valtypes | 0c5df3cbab296bf9ca34544604fbb9496a41e01a | [
"MIT"
] | 3 | 2022-02-22T12:59:59.000Z | 2022-03-10T14:12:25.000Z | tests/parsing/parser/test_str_to_ipv6.py | LeeeeT/valtypes | 0c5df3cbab296bf9ca34544604fbb9496a41e01a | [
"MIT"
] | 3 | 2022-03-08T13:33:38.000Z | 2022-03-25T03:31:56.000Z | tests/parsing/parser/test_str_to_ipv6.py | LeeeeT/valtypes | 0c5df3cbab296bf9ca34544604fbb9496a41e01a | [
"MIT"
] | null | null | null | from ipaddress import IPv6Address
from valtypes import parse
def test() -> None:
"""
It parses str to ipv6
"""
assert parse(IPv6Address, "1::2") == IPv6Address("1::2")
| 15.666667 | 60 | 0.62766 | 24 | 188 | 4.916667 | 0.708333 | 0.20339 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.234043 | 188 | 11 | 61 | 17.090909 | 0.763889 | 0.111702 | 0 | 0 | 0 | 0 | 0.05298 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1e6ff9b637a801bf6244f09e3f5b5dc7f5e975ca | 31,074 | py | Python | aikit/models/random_forest_addins.py | LionelMassoulard/aikit | 98b2abaa3bf47ab46f2fd3c270010293de06dba9 | [
"BSD-2-Clause"
] | null | null | null | aikit/models/random_forest_addins.py | LionelMassoulard/aikit | 98b2abaa3bf47ab46f2fd3c270010293de06dba9 | [
"BSD-2-Clause"
] | null | null | null | aikit/models/random_forest_addins.py | LionelMassoulard/aikit | 98b2abaa3bf47ab46f2fd3c270010293de06dba9 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Aug 1 08:59:01 2018
@author: Lionel Massoulard
"""
from sklearn.exceptions import NotFittedError
from sklearn.base import BaseEstimator, ClassifierMixin, TransformerMixin, RegressorMixin
from sklearn.linear_model import LogisticRegression, Ridge
from sklearn.decomposition ... | 30.857994 | 148 | 0.629948 | 3,955 | 31,074 | 4.616941 | 0.089507 | 0.03483 | 0.062651 | 0.030394 | 0.801479 | 0.771468 | 0.729628 | 0.712486 | 0.709255 | 0.699671 | 0 | 0.00917 | 0.294619 | 31,074 | 1,006 | 149 | 30.888668 | 0.823897 | 0.163159 | 0 | 0.816587 | 0 | 0 | 0.005575 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.011164 | 0.007974 | 0.145136 | 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 |
1e79a0ecc10621a8f2e165c3a44af2b3c5a1e3e6 | 10,472 | py | Python | function/sample_staging.py | the-fool/gcp-auto-net-tagger | 552ec87e933df5714daba2fd2f5addd5dde48bff | [
"Apache-2.0"
] | null | null | null | function/sample_staging.py | the-fool/gcp-auto-net-tagger | 552ec87e933df5714daba2fd2f5addd5dde48bff | [
"Apache-2.0"
] | null | null | null | function/sample_staging.py | the-fool/gcp-auto-net-tagger | 552ec87e933df5714daba2fd2f5addd5dde48bff | [
"Apache-2.0"
] | 1 | 2021-08-20T21:39:42.000Z | 2021-08-20T21:39:42.000Z | sample = {
"asset": {
"ancestors": [
"projects/163454223397",
"organizations/673763744309"
],
"assetType": "compute.googleapis.com/Instance",
"name": "//compute.googleapis.com/projects/sc-vice-test/zones/us-central1-a/instances/instance-1",
"resource":... | 46.336283 | 139 | 0.428571 | 679 | 10,472 | 6.583211 | 0.247423 | 0.098881 | 0.112752 | 0.131544 | 0.963982 | 0.963982 | 0.957047 | 0.957047 | 0.93736 | 0.93736 | 0 | 0.056705 | 0.445951 | 10,472 | 226 | 140 | 46.336283 | 0.713719 | 0 | 0 | 0.716814 | 0 | 0.070796 | 0.460708 | 0.102454 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.035398 | 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 |
1ebaeaadfe6d2340ce936de711d3092235223f7e | 4,825 | py | Python | tests/test_examples.py | wilsonify/tensorflow-examples | 2271c666b33c7a74047c7196783ab04e9aee8362 | [
"MIT"
] | 2 | 2019-11-21T02:43:24.000Z | 2020-08-12T04:48:39.000Z | tests/test_examples.py | wilsonify/tensorflow-examples | 2271c666b33c7a74047c7196783ab04e9aee8362 | [
"MIT"
] | null | null | null | tests/test_examples.py | wilsonify/tensorflow-examples | 2271c666b33c7a74047c7196783ab04e9aee8362 | [
"MIT"
] | 1 | 2021-02-06T12:36:58.000Z | 2021-02-06T12:36:58.000Z | import pytest
from tensorflow_examples.examples import (
convolutional_neural_networks,
distributed_tensorflow,
queues_threads,
text_and_visualizations,
up_and_running,
word_embeddings_and_rnns
)
from tensorflow_examples.examples.convolutional_neural_networks import cifar_cnn, mnist_cnn
def te... | 25.802139 | 91 | 0.795233 | 646 | 4,825 | 5.597523 | 0.123839 | 0.067754 | 0.131637 | 0.188053 | 0.846239 | 0.846239 | 0.763274 | 0.763274 | 0.763274 | 0.702434 | 0 | 0.00184 | 0.099067 | 4,825 | 186 | 92 | 25.94086 | 0.829998 | 0 | 0 | 0.724138 | 0 | 0 | 0.137824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.301724 | false | 0 | 0.043103 | 0 | 0.344828 | 0.008621 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1ebfb5d5a4e7c7b6fd9f3f44b8153a8b24152e43 | 20,933 | py | Python | port/modules/font/dvsm_21.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 53 | 2018-10-15T12:01:24.000Z | 2019-11-22T09:31:02.000Z | port/modules/font/dvsm_21.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 10 | 2018-10-17T13:42:19.000Z | 2019-11-25T06:42:40.000Z | port/modules/font/dvsm_21.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 26 | 2018-12-04T03:53:39.000Z | 2019-11-22T03:40:05.000Z | # Code generated by font-to-py.py.
# Font: dsm.ttf
version = '0.26'
def height():
return 21
def max_width():
return 12
def hmap():
return True
def reverse():
return False
def monospaced():
return False
def min_ch():
return 32
def max_ch():
return 126
_font =\... | 63.62614 | 78 | 0.696317 | 5,009 | 20,933 | 2.90557 | 0.034937 | 0.584582 | 0.714855 | 0.74866 | 0.795589 | 0.758005 | 0.711763 | 0.685172 | 0.636663 | 0.612065 | 0 | 0.387193 | 0.037644 | 20,933 | 328 | 79 | 63.820122 | 0.335269 | 0.002197 | 0 | 0.171975 | 1 | 0.917197 | 0.897743 | 0.896673 | 0 | 1 | 0 | 0 | 0 | 1 | 0.025478 | false | 0 | 0 | 0.022293 | 0.050955 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
94ddee63eee94addcc86274304c15055c55dffb5 | 111 | py | Python | Src/Plugins/Tests.Security/TestData/SecurePlaintextSecrets/Inputs/SEC101_005.SlackApiKey.py | microsoft/spam | 025e147cb8deb8cfeeebe8a839c183e9b016b51d | [
"MIT"
] | 24 | 2020-12-29T17:31:31.000Z | 2022-03-25T15:18:07.000Z | Src/Plugins/Tests.Security/TestData/SecurePlaintextSecrets/Inputs/SEC101_005.SlackApiKey.py | microsoft/spam | 025e147cb8deb8cfeeebe8a839c183e9b016b51d | [
"MIT"
] | 113 | 2020-11-06T09:42:43.000Z | 2022-02-15T23:29:36.000Z | Src/Plugins/Tests.Security/TestData/SecurePlaintextSecrets/Inputs/SEC101_005.SlackApiKey.py | microsoft/spam | 025e147cb8deb8cfeeebe8a839c183e9b016b51d | [
"MIT"
] | 11 | 2020-12-29T16:05:36.000Z | 2021-12-10T19:19:31.000Z | xoxb-83112120353-1016171244646-sGMxuWapBw3w3qdK6OfTjORe
dead-83112120353-1016171244646-sGMxuWapBw3w3qdK6OfTjORf | 55.5 | 55 | 0.936937 | 8 | 111 | 13 | 0.75 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.490909 | 0.009009 | 111 | 2 | 56 | 55.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bfce1faea22500832ebbb3c0c563b6eba4f60548 | 74,283 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/cisco/ios/plugins/modules/ios_ospfv3.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/cisco/ios/plugins/modules/ios_ospfv3.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/cisco/ios/plugins/modules/ios_ospfv3.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #!/usr/bin/python
#
# -*- coding: utf-8 -*-
# Copyright 2020 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#############################################
# WARNING #
#############################################
#
# This file is ... | 37.573596 | 110 | 0.474092 | 6,252 | 74,283 | 5.582214 | 0.091171 | 0.024069 | 0.039713 | 0.039456 | 0.821375 | 0.798138 | 0.786132 | 0.773668 | 0.763095 | 0.755444 | 0 | 0.019276 | 0.474806 | 74,283 | 1,976 | 111 | 37.592611 | 0.875298 | 0.00805 | 0 | 0.850344 | 0 | 0.004231 | 0.98679 | 0.023564 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000529 | false | 0.001586 | 0.002115 | 0 | 0.002644 | 0.000529 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
44e44b3b723cf9ca006735d5459aa6f13a625866 | 18,264 | py | Python | clayful/models/order.py | Clayful/clayful-python | ddd5f1f986fb0079d5128e17f4b0fdce83b4cec1 | [
"MIT"
] | null | null | null | clayful/models/order.py | Clayful/clayful-python | ddd5f1f986fb0079d5128e17f4b0fdce83b4cec1 | [
"MIT"
] | 3 | 2020-04-17T05:24:06.000Z | 2022-02-10T09:00:22.000Z | clayful/models/order.py | Clayful/clayful-python | ddd5f1f986fb0079d5128e17f4b0fdce83b4cec1 | [
"MIT"
] | null | null | null | class Order:
Clayful = None
name = 'Order'
path = 'orders'
@staticmethod
def config(clayful):
Order.Clayful = clayful
return Order
@staticmethod
def accept_refund(*args):
return Order.Clayful.call_api({
'model_name': Order.name,
'method_name': 'accept_refund',
'http_method': ... | 27.178571 | 94 | 0.548675 | 1,817 | 18,264 | 5.286186 | 0.051183 | 0.069964 | 0.084331 | 0.123686 | 0.935867 | 0.911921 | 0.892868 | 0.769183 | 0.754086 | 0.709735 | 0 | 0.004147 | 0.286958 | 18,264 | 671 | 95 | 27.219076 | 0.733395 | 0 | 0 | 0.738351 | 0 | 0 | 0.342879 | 0.120243 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098566 | false | 0 | 0 | 0.096774 | 0.204301 | 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 |
7834b6fddd81469412feac1fbb3b75d1909a5de7 | 224 | py | Python | confu/tools/toolchains/__init__.py | tiny-dnn/confu | 8f74d9fc0c04efe8cd1b92ae5f43a5d9b686500e | [
"MIT"
] | null | null | null | confu/tools/toolchains/__init__.py | tiny-dnn/confu | 8f74d9fc0c04efe8cd1b92ae5f43a5d9b686500e | [
"MIT"
] | null | null | null | confu/tools/toolchains/__init__.py | tiny-dnn/confu | 8f74d9fc0c04efe8cd1b92ae5f43a5d9b686500e | [
"MIT"
] | 1 | 2020-11-16T18:06:25.000Z | 2020-11-16T18:06:25.000Z | from confu.tools.toolchains.base import Toolchain
from confu.tools.toolchains.unix import UnixToolchain
from confu.tools.toolchains.nacl import NaClToolchain
from confu.tools.toolchains.emscripten import EmscriptenToolchain
| 44.8 | 65 | 0.875 | 28 | 224 | 7 | 0.464286 | 0.183673 | 0.285714 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 224 | 4 | 66 | 56 | 0.942308 | 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 |
7862aa390f87b94b30627ed8e16cee4d3f02b084 | 169 | py | Python | qutipy/misc/__init__.py | sumeetkhatri/QuTIPy | ca2a3344c1caa818504425496ea37278d80b1c44 | [
"Apache-2.0"
] | 19 | 2020-11-11T13:00:22.000Z | 2022-03-14T11:18:04.000Z | qutipy/misc/__init__.py | sumeetkhatri/QuTIPy | ca2a3344c1caa818504425496ea37278d80b1c44 | [
"Apache-2.0"
] | null | null | null | qutipy/misc/__init__.py | sumeetkhatri/QuTIPy | ca2a3344c1caa818504425496ea37278d80b1c44 | [
"Apache-2.0"
] | 1 | 2022-03-03T15:20:15.000Z | 2022-03-03T15:20:15.000Z | from qutipy.misc.base_number_to_int import base_number_to_int
from qutipy.misc.cvxpy_to_numpy import cvxpy_to_numpy
from qutipy.misc.numpy_to_cvxpy import numpy_to_cvxpy | 56.333333 | 61 | 0.899408 | 32 | 169 | 4.3125 | 0.3125 | 0.217391 | 0.304348 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065089 | 169 | 3 | 62 | 56.333333 | 0.873418 | 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 |
7883155b6611d7eac76ec25c2e1f69a3300e7e30 | 22,523 | py | Python | tests/circuit_graph/test_circuit_graph_hash.py | Jaybsoni/pennylane | 3871332dd962fb4f62bf4989d109bcb9f2128d7b | [
"Apache-2.0"
] | 2 | 2019-09-02T00:28:31.000Z | 2021-07-16T09:58:05.000Z | tests/circuit_graph/test_circuit_graph_hash.py | Jaybsoni/pennylane | 3871332dd962fb4f62bf4989d109bcb9f2128d7b | [
"Apache-2.0"
] | null | null | null | tests/circuit_graph/test_circuit_graph_hash.py | Jaybsoni/pennylane | 3871332dd962fb4f62bf4989d109bcb9f2128d7b | [
"Apache-2.0"
] | 1 | 2019-09-02T00:29:26.000Z | 2019-09-02T00:29:26.000Z | # Copyright 2018-2020 Xanadu Quantum Technologies Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or... | 35.357928 | 157 | 0.572437 | 3,186 | 22,523 | 3.939736 | 0.070308 | 0.016412 | 0.022307 | 0.016252 | 0.821702 | 0.814452 | 0.804653 | 0.799235 | 0.794057 | 0.780035 | 0 | 0.047445 | 0.281312 | 22,523 | 636 | 158 | 35.413522 | 0.727992 | 0.156595 | 0 | 0.762637 | 0 | 0.002198 | 0.026733 | 0.002982 | 0 | 0 | 0 | 0 | 0.048352 | 1 | 0.123077 | false | 0 | 0.013187 | 0 | 0.230769 | 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 |
78a9c4b81039214d92bcf1ead15d901162d57a66 | 148 | py | Python | pyFT/__init__.py | lesibius/pyFT | 509bb047d629d8de5049df74e02b09fb91610347 | [
"MIT"
] | null | null | null | pyFT/__init__.py | lesibius/pyFT | 509bb047d629d8de5049df74e02b09fb91610347 | [
"MIT"
] | null | null | null | pyFT/__init__.py | lesibius/pyFT | 509bb047d629d8de5049df74e02b09fb91610347 | [
"MIT"
] | null | null | null | from pyFT.Request import *
from pyFT.Result import *
from pyFT.FTQuerySyntax import *
from pyFT.FTError import *
import pyFT.FTHelper as FTHelper
| 18.5 | 32 | 0.790541 | 21 | 148 | 5.571429 | 0.428571 | 0.273504 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 7 | 33 | 21.142857 | 0.928571 | 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 |
ecbca341dd1b1d6c6a4c9fb5624c8a3b368a1061 | 80 | py | Python | src/spaceone/board/error/__init__.py | spaceone-dev/board | 1733756344240b1498bca85b6e1b88d741425ea0 | [
"Apache-2.0"
] | null | null | null | src/spaceone/board/error/__init__.py | spaceone-dev/board | 1733756344240b1498bca85b6e1b88d741425ea0 | [
"Apache-2.0"
] | 1 | 2022-03-23T06:44:15.000Z | 2022-03-23T06:52:39.000Z | src/spaceone/board/error/__init__.py | spaceone-dev/board | 1733756344240b1498bca85b6e1b88d741425ea0 | [
"Apache-2.0"
] | 1 | 2022-03-22T08:59:01.000Z | 2022-03-22T08:59:01.000Z | from spaceone.board.error.board import *
from spaceone.board.error.post import * | 40 | 40 | 0.8125 | 12 | 80 | 5.416667 | 0.5 | 0.369231 | 0.523077 | 0.676923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 80 | 2 | 41 | 40 | 0.890411 | 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 |
ecd71f4acde2201d880cb6e181bc9fe9efa1cc57 | 15,286 | py | Python | data/pytorch_example/model.py | YiRuitao/single-path-nas-pytorch | 13de3e6162c868e94a79a836784f7219dfc9367a | [
"MIT"
] | 1 | 2021-07-20T09:25:59.000Z | 2021-07-20T09:25:59.000Z | data/pytorch_example/model.py | YiRuitao/Single-Path-NAS-with-MAESTRO | 13de3e6162c868e94a79a836784f7219dfc9367a | [
"MIT"
] | null | null | null | data/pytorch_example/model.py | YiRuitao/Single-Path-NAS-with-MAESTRO | 13de3e6162c868e94a79a836784f7219dfc9367a | [
"MIT"
] | null | null | null | import torch
import torchvision.models as models
import torch
from torch.autograd import Variable
import torch.nn as nn
import torch.nn.functional as F
import csv
from util import *
def profile_MnasNet(dataflow):
model_name = "MnasNet-A1"
print("="*50)
print("Profiling model: ", model_name)
print("="*5... | 44.695906 | 129 | 0.696062 | 2,168 | 15,286 | 4.585793 | 0.056273 | 0.086502 | 0.03621 | 0.040233 | 0.942265 | 0.936632 | 0.935325 | 0.932106 | 0.932106 | 0.931704 | 0 | 0.021283 | 0.188539 | 15,286 | 341 | 130 | 44.826979 | 0.780232 | 0.032055 | 0 | 0.896947 | 0 | 0 | 0.052154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022901 | false | 0 | 0.030534 | 0 | 0.053435 | 0.114504 | 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 |
bf19f041da373831fcd1ff1a998734f4ca50f9de | 147 | py | Python | prettypyplot/gallery.py | braniii/prettypyplot | 39d7d133fe0dc6699fafd57e00a0ec07672fd344 | [
"BSD-3-Clause"
] | null | null | null | prettypyplot/gallery.py | braniii/prettypyplot | 39d7d133fe0dc6699fafd57e00a0ec07672fd344 | [
"BSD-3-Clause"
] | null | null | null | prettypyplot/gallery.py | braniii/prettypyplot | 39d7d133fe0dc6699fafd57e00a0ec07672fd344 | [
"BSD-3-Clause"
] | null | null | null | """
# Gallery
.. include:: ../gallery/legend/README.md
.. include:: ../gallery/colorbar/README.md
.. include:: ../gallery/subplots/README.md
"""
| 16.333333 | 42 | 0.646259 | 16 | 147 | 5.9375 | 0.4375 | 0.442105 | 0.315789 | 0.463158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 147 | 8 | 43 | 18.375 | 0.719697 | 0.931973 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1709e5de22ff390cf7b42040ee1d013227441504 | 10,181 | py | Python | rlkit/samplers/data_collector/path_collector.py | HamzaHz2/rlkit | 55f30c2f1830693624bc5d4085ab9a1ac80b30c4 | [
"MIT"
] | 1 | 2019-10-23T11:03:28.000Z | 2019-10-23T11:03:28.000Z | rlkit/samplers/data_collector/path_collector.py | HamzaHz2/rlkit | 55f30c2f1830693624bc5d4085ab9a1ac80b30c4 | [
"MIT"
] | null | null | null | rlkit/samplers/data_collector/path_collector.py | HamzaHz2/rlkit | 55f30c2f1830693624bc5d4085ab9a1ac80b30c4 | [
"MIT"
] | 3 | 2020-11-30T15:15:31.000Z | 2022-01-11T10:53:19.000Z | from collections import OrderedDict, deque
import numpy as np
from rlkit.core.eval_util import create_stats_ordered_dict
from rlkit.samplers.data_collector.base import PathCollector
from rlkit.samplers.rollout_functions import (
multiagent_multitask_rollout,
vec_multitask_rollout,
multitask_rollout,
ro... | 34.511864 | 83 | 0.602593 | 1,144 | 10,181 | 4.891608 | 0.092657 | 0.067191 | 0.053431 | 0.040029 | 0.879199 | 0.853109 | 0.841673 | 0.834525 | 0.813974 | 0.813974 | 0 | 0.002627 | 0.326883 | 10,181 | 294 | 84 | 34.629252 | 0.81395 | 0.014144 | 0 | 0.775281 | 0 | 0 | 0.028617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059925 | false | 0 | 0.018727 | 0.018727 | 0.134831 | 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 |
bdc5c98a5002facf815b4810f855515866fe9235 | 58 | py | Python | pyDataHubImp/entities/satellites/__init__.py | bartcallaerts/Braindate_Tesla_Datahub | e5b3421eb228fca25f679004c140b883de8ac886 | [
"MIT"
] | null | null | null | pyDataHubImp/entities/satellites/__init__.py | bartcallaerts/Braindate_Tesla_Datahub | e5b3421eb228fca25f679004c140b883de8ac886 | [
"MIT"
] | null | null | null | pyDataHubImp/entities/satellites/__init__.py | bartcallaerts/Braindate_Tesla_Datahub | e5b3421eb228fca25f679004c140b883de8ac886 | [
"MIT"
] | null | null | null | from .ODS_Supplier_Details_S import ODS_Supplier_Details_S | 58 | 58 | 0.931034 | 10 | 58 | 4.8 | 0.6 | 0.458333 | 0.75 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 58 | 1 | 58 | 58 | 0.872727 | 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 |
bdcd1bc6b8215c84a638a09d6d383e9aeac6fbe3 | 17,554 | py | Python | envision_table_to_html.py | hbuter-rubrik/rubrik-scripts-for-python | 0e434854b778ff0f857425173e5cb7d6b83dddec | [
"MIT"
] | 5 | 2019-10-04T18:09:24.000Z | 2020-08-25T04:46:01.000Z | envision_table_to_html.py | hbuter-rubrik/rubrik-scripts-for-python | 0e434854b778ff0f857425173e5cb7d6b83dddec | [
"MIT"
] | 2 | 2020-01-07T18:25:11.000Z | 2021-10-14T11:48:27.000Z | envision_table_to_html.py | hbuter-rubrik/rubrik-scripts-for-python | 0e434854b778ff0f857425173e5cb7d6b83dddec | [
"MIT"
] | 6 | 2019-04-25T10:26:30.000Z | 2021-11-18T08:20:50.000Z | from RubrikSession import RubrikSession
from getpass import getpass
import requests
import datetime
import re
#report_id = '44d1229d-6d22-418a-abfd-42100480439b'
report_id = 'b306ba74-240f-4a23-a51e-e86ca2175956'
BASE_HTML = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/x... | 240.465753 | 14,984 | 0.928506 | 839 | 17,554 | 19.38975 | 0.75447 | 0.002459 | 0.004303 | 0.001475 | 0.002705 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143205 | 0.018628 | 17,554 | 72 | 14,985 | 243.805556 | 0.801126 | 0.008887 | 0 | 0 | 0 | 0.211538 | 0.88993 | 0.862959 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.057692 | 0.096154 | null | null | 0.019231 | 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 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
bdeac09ff21f51cca86fee602e48a8abed17032f | 114 | py | Python | ramda/inc_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/inc_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/inc_test.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from .inc import inc
from ramda.private.asserts import assert_equal
def inc_test():
assert_equal(inc(5), 6)
| 16.285714 | 46 | 0.745614 | 19 | 114 | 4.315789 | 0.631579 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.157895 | 114 | 6 | 47 | 19 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
bdf2ce3752f9f99c957e35f5e5f579560f2000ee | 926 | py | Python | src/finitestate/firmware/schemas/schema_products.py | FiniteStateInc/clearcode-toolkit | 521c3a2ab9d9fa6d7b9059227c6af9d09b031c33 | [
"Apache-2.0"
] | null | null | null | src/finitestate/firmware/schemas/schema_products.py | FiniteStateInc/clearcode-toolkit | 521c3a2ab9d9fa6d7b9059227c6af9d09b031c33 | [
"Apache-2.0"
] | null | null | null | src/finitestate/firmware/schemas/schema_products.py | FiniteStateInc/clearcode-toolkit | 521c3a2ab9d9fa6d7b9059227c6af9d09b031c33 | [
"Apache-2.0"
] | 1 | 2020-12-22T16:51:40.000Z | 2020-12-22T16:51:40.000Z | import pyspark.sql.types
products_schema = pyspark.sql.types.StructType([
pyspark.sql.types.StructField('firmware_sha256', pyspark.sql.types.StringType()),
pyspark.sql.types.StructField('product_model_id', pyspark.sql.types.StringType()),
pyspark.sql.types.StructField('product_model_name', pyspark.sql.... | 61.733333 | 117 | 0.776458 | 113 | 926 | 6.19469 | 0.176991 | 0.3 | 0.45 | 0.334286 | 0.754286 | 0.754286 | 0.754286 | 0.754286 | 0.754286 | 0.754286 | 0 | 0.003488 | 0.071274 | 926 | 14 | 118 | 66.142857 | 0.810465 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 0.059459 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da40513dd6041841a20c55f294eb7af000b0fabe | 1,107 | py | Python | multiworld/envs/goals/multi_domain/push_door_v1.py | Neo-X/R_multiworld | 839513a48ddf2f5ae2eadc43435ac6981ddea1f4 | [
"MIT"
] | null | null | null | multiworld/envs/goals/multi_domain/push_door_v1.py | Neo-X/R_multiworld | 839513a48ddf2f5ae2eadc43435ac6981ddea1f4 | [
"MIT"
] | null | null | null | multiworld/envs/goals/multi_domain/push_door_v1.py | Neo-X/R_multiworld | 839513a48ddf2f5ae2eadc43435ac6981ddea1f4 | [
"MIT"
] | 2 | 2020-06-02T05:24:03.000Z | 2020-07-07T17:01:42.000Z | #import joblib
import pickle
import numpy as np
tasks = [# Pushing
{'task': 'push' , 'obj_init_pos': np.array([0, 0.6 , 0.02]) , 'goal_pos': np.array([0, 0.81, 0.02]) , 'door_pos': np.array([0, 1.0, 0.3])} ,
{'task': 'push' , 'obj_init_pos': np.array([0, 0.6 , 0.02]) , 'goal_pos': np.array([-0.15, 0.77 , 0.02... | 58.263158 | 155 | 0.550136 | 211 | 1,107 | 2.739336 | 0.165877 | 0.217993 | 0.249135 | 0.285467 | 0.771626 | 0.769896 | 0.769896 | 0.769896 | 0.769896 | 0.769896 | 0 | 0.116685 | 0.171635 | 1,107 | 18 | 156 | 61.5 | 0.513631 | 0.058717 | 0 | 0 | 0 | 0 | 0.257473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da7709ed718c5afbeb28c76bfeff652c8baad9ba | 108 | py | Python | mead/tf/__init__.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 241 | 2016-04-25T20:02:31.000Z | 2019-09-03T05:44:09.000Z | mead/tf/__init__.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 131 | 2019-10-12T10:53:17.000Z | 2021-12-03T19:52:47.000Z | mead/tf/__init__.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 75 | 2016-06-28T01:18:58.000Z | 2019-08-29T06:47:22.000Z | from mead.tf.exporters import *
from mead.tf.preproc_exporters import *
from mead.tf.preprocessors import *
| 27 | 39 | 0.805556 | 16 | 108 | 5.375 | 0.4375 | 0.27907 | 0.348837 | 0.534884 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 3 | 40 | 36 | 0.895833 | 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 |
e54868497af7035575872a2275687bff2bc1606b | 12,712 | py | Python | src/tests/test_pagure_flask_ui_issues_private.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_flask_ui_issues_private.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_flask_ui_issues_private.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
"""
(c) 2018 - Copyright Red Hat Inc
Authors:
Pierre-Yves Chibon <pingou@pingoured.fr>
"""
from __future__ import unicode_literals, absolute_import
import unittest
import sys
import os
from mock import patch, MagicMock
sys.path.insert(
0, os.path.join(os.path.dirname(os.path.absp... | 37.609467 | 90 | 0.58433 | 1,525 | 12,712 | 4.74623 | 0.110164 | 0.045593 | 0.030948 | 0.030948 | 0.876347 | 0.873446 | 0.873446 | 0.872202 | 0.854103 | 0.82882 | 0 | 0.009974 | 0.298065 | 12,712 | 337 | 91 | 37.721068 | 0.801188 | 0.110289 | 0 | 0.730924 | 0 | 0.044177 | 0.192548 | 0.039613 | 0 | 0 | 0 | 0 | 0.168675 | 1 | 0.060241 | false | 0.004016 | 0.028112 | 0 | 0.092369 | 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 |
00675ab9db11009528da3ff0bc385d770e6eda52 | 2,468 | py | Python | amb.py | RN-JK/Ubiart-Tape-Serializer | 879bfe27b11c290e5653dac8735ddba322bb5716 | [
"MIT"
] | null | null | null | amb.py | RN-JK/Ubiart-Tape-Serializer | 879bfe27b11c290e5653dac8735ddba322bb5716 | [
"MIT"
] | null | null | null | amb.py | RN-JK/Ubiart-Tape-Serializer | 879bfe27b11c290e5653dac8735ddba322bb5716 | [
"MIT"
] | null | null | null | import os, struct, json, zlib
print("AMB TPL Serializer by: JackLSummer15")
#make output directory
try:
os.mkdir('amb')
except:
pass
if __name__ == '__main__':
with open('amb_inject.json') as inputfile:
obj = json.load(inputfile)
codenames = obj[0]['maps']
ambsounds = obj[0]['ambs']
... | 46.566038 | 485 | 0.6641 | 461 | 2,468 | 3.529284 | 0.210412 | 0.722803 | 0.929318 | 1.069453 | 0.598648 | 0.598648 | 0.56177 | 0.554395 | 0.539644 | 0.505224 | 0 | 0.256114 | 0.121961 | 2,468 | 52 | 486 | 47.461538 | 0.494693 | 0.017828 | 0 | 0 | 0 | 0.096774 | 0.6109 | 0.534009 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0.032258 | 0.032258 | 0 | 0.032258 | 0.064516 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
006b1e1bf7248ad6e3d677c22a91027bd235e32e | 18,406 | py | Python | model_search/metric_fns_test.py | dywsjtu/model_search | 116c4f9016d8b89cf06d057dda020dae3371f211 | [
"Apache-2.0"
] | 3,315 | 2021-01-20T15:21:37.000Z | 2022-03-30T18:21:29.000Z | model_search/metric_fns_test.py | dywsjtu/model_search | 116c4f9016d8b89cf06d057dda020dae3371f211 | [
"Apache-2.0"
] | 57 | 2021-01-19T20:51:03.000Z | 2022-03-24T11:04:07.000Z | model_search/metric_fns_test.py | dywsjtu/model_search | 116c4f9016d8b89cf06d057dda020dae3371f211 | [
"Apache-2.0"
] | 380 | 2021-02-20T01:31:35.000Z | 2022-03-31T16:48:58.000Z | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 36.375494 | 79 | 0.491253 | 2,023 | 18,406 | 4.225902 | 0.102323 | 0.021991 | 0.018599 | 0.027372 | 0.843373 | 0.830506 | 0.825477 | 0.802667 | 0.799041 | 0.784185 | 0 | 0.04495 | 0.3739 | 18,406 | 505 | 80 | 36.447525 | 0.696893 | 0.054819 | 0 | 0.746725 | 0 | 0 | 0.166427 | 0.015433 | 0 | 0 | 0 | 0 | 0.015284 | 1 | 0.017467 | false | 0 | 0.008734 | 0 | 0.032751 | 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 |
00e869f3b50d5da33314420dd1888ad061df424b | 68,590 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/cmp_gromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/cmp_gromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/cmp_gromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.043764 | 124 | 0.681994 | 8,082 | 68,590 | 5.781985 | 0.067805 | 0.123604 | 0.11299 | 0.093473 | 0.939268 | 0.931243 | 0.918596 | 0.886518 | 0.861074 | 0.842628 | 0 | 0.131638 | 0.224391 | 68,590 | 914 | 125 | 75.043764 | 0.746762 | 0 | 0 | 0.642232 | 0 | 0 | 0.657594 | 0.048111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00f130bf5707d83239c652881424a9cfa340abcd | 8,855 | py | Python | parser/team24/classesQuerys.py | Mruiz-99/tytus | 74a17fcbbe80c89eadf9111c5ecc04d82959c85b | [
"MIT"
] | null | null | null | parser/team24/classesQuerys.py | Mruiz-99/tytus | 74a17fcbbe80c89eadf9111c5ecc04d82959c85b | [
"MIT"
] | null | null | null | parser/team24/classesQuerys.py | Mruiz-99/tytus | 74a17fcbbe80c89eadf9111c5ecc04d82959c85b | [
"MIT"
] | null | null | null | #
from mathtrig import *
#
class query():
' Clase abstracta query'
class select(query):
def __init__(self, distinct=False, select_list=[], table_expression=[], condition=[], group=False, having=[], orderby=[], orderAscDesc='F', limit=0, offset=0):
self.distinct = distinct
self.select_list =... | 21.083333 | 163 | 0.626539 | 1,144 | 8,855 | 4.51049 | 0.103147 | 0.112597 | 0.134302 | 0.191473 | 0.800775 | 0.749806 | 0.74438 | 0.724806 | 0.718411 | 0.677132 | 0 | 0.012619 | 0.275099 | 8,855 | 420 | 164 | 21.083333 | 0.791245 | 0.032863 | 0 | 0.65625 | 0 | 0 | 0.035803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.003472 | 0 | 0.458333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dae571122250d18334e8836a87dfc233490a38b1 | 47 | py | Python | katas/kyu_6/what_is_the_point.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_6/what_is_the_point.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_6/what_is_the_point.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def pointless(*args):
return "Rick Astley"
| 15.666667 | 24 | 0.680851 | 6 | 47 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 2 | 25 | 23.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
975ac5854c72dd714664faf801b386d64a60ea45 | 35,292 | py | Python | feersum_nlu/api/dashboard_api.py | praekelt/feersum-nlu-api-wrappers | 6580e2bab2c8a764fe868a505330b3fee6029074 | [
"BSD-3-Clause"
] | 9 | 2017-10-10T12:24:23.000Z | 2021-08-18T14:07:51.000Z | feersum_nlu/api/dashboard_api.py | praekelt/feersum-nlu-api-wrappers | 6580e2bab2c8a764fe868a505330b3fee6029074 | [
"BSD-3-Clause"
] | 1 | 2020-12-06T11:03:25.000Z | 2021-04-14T05:21:23.000Z | feersum_nlu/api/dashboard_api.py | praekelt/feersum-nlu-api-wrappers | 6580e2bab2c8a764fe868a505330b3fee6029074 | [
"BSD-3-Clause"
] | 2 | 2019-02-12T08:26:06.000Z | 2022-02-01T09:39:47.000Z | # coding: utf-8
"""
FeersumNLU API
This is the HTTP API for Feersum NLU. See https://github.com/praekelt/feersum-nlu-api-wrappers for examples of how to use the API. # noqa: E501
OpenAPI spec version: 2.0.54.dev2
Contact: nlu@feersum.io
Generated by: https://github.com/swagger-api/swagger-codege... | 42.674728 | 158 | 0.631163 | 4,227 | 35,292 | 5.025313 | 0.043766 | 0.047077 | 0.031635 | 0.027116 | 0.975803 | 0.975002 | 0.974343 | 0.970059 | 0.970059 | 0.970059 | 0 | 0.015594 | 0.284087 | 35,292 | 826 | 159 | 42.726392 | 0.825141 | 0.384478 | 0 | 0.842105 | 0 | 0 | 0.18397 | 0.049082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038902 | false | 0 | 0.009153 | 0 | 0.105263 | 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 |
97c1eddc0bff53038d000d479886ce72498671cc | 6,699 | py | Python | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/SUN/vertex.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/SUN/vertex.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/SUN/vertex.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C
import ctypes
_... | 49.622222 | 195 | 0.81863 | 1,027 | 6,699 | 5.081792 | 0.104187 | 0.24315 | 0.25503 | 0.413872 | 0.680399 | 0.653573 | 0.652041 | 0.651466 | 0.650508 | 0.645334 | 0 | 0.015748 | 0.033139 | 6,699 | 134 | 196 | 49.992537 | 0.790026 | 0.014928 | 0 | 0.488372 | 1 | 0 | 0.003944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.317829 | false | 0.310078 | 0.046512 | 0.007752 | 0.372093 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
c13b593f88afef5498ea1e3579641b62dd58956f | 108 | py | Python | cvxgraphalgs/generators/__init__.py | hermish/cvx-graph-algorithms | 733e137a906bd6c2965d5853d2798a8a01db945c | [
"MIT"
] | 7 | 2020-05-11T10:01:31.000Z | 2021-11-16T16:08:29.000Z | cvxgraphalgs/generators/__init__.py | hermish/graph-algorithms | 733e137a906bd6c2965d5853d2798a8a01db945c | [
"MIT"
] | 1 | 2020-05-12T16:15:33.000Z | 2020-06-05T16:40:57.000Z | cvxgraphalgs/generators/__init__.py | hermish/cvx-graph-algorithms | 733e137a906bd6c2965d5853d2798a8a01db945c | [
"MIT"
] | null | null | null | from cvxgraphalgs.generators.stochastic_block import *
from cvxgraphalgs.generators.planted_models import *
| 36 | 54 | 0.87037 | 12 | 108 | 7.666667 | 0.666667 | 0.347826 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 55 | 54 | 0.92 | 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 |
c187ba31db1824816212ac1d876aca3e77248c46 | 77,338 | py | Python | infoblox_netmri/api/broker/v3_6_0/device_support_bundle_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v3_6_0/device_support_bundle_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v3_6_0/device_support_bundle_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | from ..broker import Broker
class DeviceSupportBundleBroker(Broker):
controller = "device_support_bundles"
def index(self, **kwargs):
"""Lists the available device support bundles. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various wa... | 47.680641 | 683 | 0.589503 | 9,909 | 77,338 | 4.494904 | 0.032496 | 0.07903 | 0.05137 | 0.08352 | 0.944432 | 0.943579 | 0.939268 | 0.935182 | 0.905456 | 0.905074 | 0 | 0.004244 | 0.32367 | 77,338 | 1,622 | 684 | 47.680641 | 0.847283 | 0.796193 | 0 | 0 | 0 | 0 | 0.055624 | 0.008998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0 | 1.060606 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
c1e4cfcc227dfa2ba6fc0733e8dea0f6d12e51df | 87 | py | Python | vttes/tests/common.py | forgedconcordance/vttestools | 55f2b307010ec94e1fa0b5956cfac3381e28d732 | [
"MIT"
] | null | null | null | vttes/tests/common.py | forgedconcordance/vttestools | 55f2b307010ec94e1fa0b5956cfac3381e28d732 | [
"MIT"
] | null | null | null | vttes/tests/common.py | forgedconcordance/vttestools | 55f2b307010ec94e1fa0b5956cfac3381e28d732 | [
"MIT"
] | null | null | null | import synapse.tests.utils as s_t_utils
class VttTstBase(s_t_utils.SynTest):
pass
| 17.4 | 39 | 0.793103 | 15 | 87 | 4.333333 | 0.733333 | 0.061538 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 4 | 40 | 21.75 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
a9eb31d246ce6c1879597d9cf2a5e2ddb1e85af2 | 167 | py | Python | pykeg/backend/__init__.py | theshiv303/kegbot-server | 425b0f8779e0d97aa6ca032b29b2623d693f9fd4 | [
"MIT"
] | 75 | 2015-01-12T22:51:20.000Z | 2022-02-23T02:09:50.000Z | pykeg/backend/__init__.py | theshiv303/kegbot-server | 425b0f8779e0d97aa6ca032b29b2623d693f9fd4 | [
"MIT"
] | 83 | 2015-01-03T19:04:46.000Z | 2021-07-11T19:06:39.000Z | pykeg/backend/__init__.py | theshiv303/kegbot-server | 425b0f8779e0d97aa6ca032b29b2623d693f9fd4 | [
"MIT"
] | 66 | 2015-01-05T01:55:06.000Z | 2021-11-27T17:07:24.000Z | from django.conf import settings
from django.utils.module_loading import import_string
def get_kegbot_backend():
return import_string(settings.KEGBOT_BACKEND)()
| 23.857143 | 53 | 0.826347 | 23 | 167 | 5.73913 | 0.608696 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107784 | 167 | 6 | 54 | 27.833333 | 0.885906 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e77fc5e64b6ddfdf69fd623c59ab8f10b29568f7 | 51,084 | py | Python | openshift/client/apis/project_openshift_io_v1_api.py | flaper87/openshift-restclient-python | 13d5d86ca89035b9f596032e7a34f3cc33bf8f18 | [
"Apache-2.0"
] | null | null | null | openshift/client/apis/project_openshift_io_v1_api.py | flaper87/openshift-restclient-python | 13d5d86ca89035b9f596032e7a34f3cc33bf8f18 | [
"Apache-2.0"
] | null | null | null | openshift/client/apis/project_openshift_io_v1_api.py | flaper87/openshift-restclient-python | 13d5d86ca89035b9f596032e7a34f3cc33bf8f18 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OpenShift API (with Kubernetes)
OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is... | 48.605138 | 3,330 | 0.606726 | 5,507 | 51,084 | 5.405484 | 0.069366 | 0.048374 | 0.048374 | 0.053749 | 0.888236 | 0.886623 | 0.885548 | 0.877755 | 0.8707 | 0.867341 | 0 | 0.003376 | 0.315715 | 51,084 | 1,050 | 3,331 | 48.651429 | 0.848209 | 0.375069 | 0 | 0.834286 | 0 | 0 | 0.196297 | 0.077672 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03619 | false | 0 | 0.013333 | 0 | 0.102857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
99b784ea762fa79ecdc3e367501447aed934f052 | 74 | py | Python | multilingual_t5/r_indic_corp_hi/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/r_indic_corp_hi/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/r_indic_corp_hi/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | """r_indic_corp_hi dataset."""
from .r_indic_corp_hi import RIndicCorpHi
| 18.5 | 41 | 0.797297 | 12 | 74 | 4.416667 | 0.666667 | 0.226415 | 0.377358 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 3 | 42 | 24.666667 | 0.791045 | 0.324324 | 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 |
82196da273f06f3d3a7635d9543ec944bb1c88dc | 128 | py | Python | moonsense/models/__init__.py | moonsense/python-sdk | 0ac6e03ded5c4c6fb001dd93bd29201555bce56c | [
"Apache-2.0"
] | 6 | 2021-06-02T15:29:05.000Z | 2022-03-21T20:13:40.000Z | moonsense/models/__init__.py | moonsense/python-sdk | 0ac6e03ded5c4c6fb001dd93bd29201555bce56c | [
"Apache-2.0"
] | 1 | 2021-12-16T09:45:49.000Z | 2021-12-16T09:45:49.000Z | moonsense/models/__init__.py | moonsense/python-sdk | 0ac6e03ded5c4c6fb001dd93bd29201555bce56c | [
"Apache-2.0"
] | null | null | null |
from .common_v2_pb2 import *
from .bundle_v2_pb2 import *
from .control_plane_v2_pb2 import *
from .data_plane_v2_pb2 import *
| 21.333333 | 35 | 0.804688 | 22 | 128 | 4.227273 | 0.409091 | 0.215054 | 0.473118 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 0.132813 | 128 | 5 | 36 | 25.6 | 0.765766 | 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 |
413582b3aa1150aa2583c89e3333be5d6a6eb0d1 | 41 | py | Python | ir_export_extended_ept/py/__init__.py | lester-lees/extra_addons_sz | cddaf972cf4ea64c553bcff0006eb006a115d5ee | [
"Apache-2.0"
] | null | null | null | ir_export_extended_ept/py/__init__.py | lester-lees/extra_addons_sz | cddaf972cf4ea64c553bcff0006eb006a115d5ee | [
"Apache-2.0"
] | null | null | null | ir_export_extended_ept/py/__init__.py | lester-lees/extra_addons_sz | cddaf972cf4ea64c553bcff0006eb006a115d5ee | [
"Apache-2.0"
] | null | null | null | import ir_exports
import ir_exports_line
| 13.666667 | 22 | 0.902439 | 7 | 41 | 4.857143 | 0.571429 | 0.470588 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 23 | 20.5 | 0.918919 | 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 | 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 | 8 |
4197dc883e284a4a71e71e025308ce1eec697df6 | 7,060 | py | Python | components/core/qcg/pilotjob/tests/test_iterschedulers.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | components/core/qcg/pilotjob/tests/test_iterschedulers.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | components/core/qcg/pilotjob/tests/test_iterschedulers.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | import pytest
from qcg.pilotjob.iterscheduler import IterScheduler, MaximumIters, SplitInto, DefaultScheduler
def test_iterscheduler_parsing():
assert IterScheduler.get_scheduler('maximum-iters') == MaximumIters
assert IterScheduler.get_scheduler('MAXIMUM-ITERS') == MaximumIters
assert IterScheduler.get_... | 39.887006 | 119 | 0.652975 | 993 | 7,060 | 4.382679 | 0.066465 | 0.110983 | 0.158548 | 0.064338 | 0.901654 | 0.886949 | 0.886949 | 0.886949 | 0.886949 | 0.886949 | 0 | 0.021578 | 0.218839 | 7,060 | 176 | 120 | 40.113636 | 0.767543 | 0.05 | 0 | 0.82069 | 0 | 0 | 0.066179 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 1 | 0.02069 | false | 0 | 0.013793 | 0 | 0.034483 | 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 |
419f5d28e8e6fa68d994dfffcd1cde45efc1f5ea | 136 | py | Python | api/views.py | annevandalfsen/screenbird | 38b70302be3b3dc0c74b6aae8e09666115592aef | [
"MIT",
"Unlicense"
] | 121 | 2015-01-01T23:31:36.000Z | 2021-05-27T04:24:44.000Z | api/views.py | annevandalfsen/screenbird | 38b70302be3b3dc0c74b6aae8e09666115592aef | [
"MIT",
"Unlicense"
] | 1 | 2017-02-08T04:34:14.000Z | 2017-02-08T04:34:14.000Z | api/views.py | annevandalfsen/screenbird | 38b70302be3b3dc0c74b6aae8e09666115592aef | [
"MIT",
"Unlicense"
] | 31 | 2015-01-13T00:23:33.000Z | 2017-05-13T21:50:29.000Z |
def config_record_on_account(request,account_id):
pass
def config_record_on_channel(request, channel_id):
pass
| 17 | 50 | 0.705882 | 18 | 136 | 4.888889 | 0.5 | 0.204545 | 0.340909 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 136 | 7 | 51 | 19.428571 | 0.846154 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
41bbf2787754bba6b1c72e243963d17373bc02e6 | 470 | py | Python | exercises/exe11 - 20/exe014.py | thomas-rohde/Classes-Python | f862995510b7aabf68bc14aecf815f597034d8a1 | [
"MIT"
] | null | null | null | exercises/exe11 - 20/exe014.py | thomas-rohde/Classes-Python | f862995510b7aabf68bc14aecf815f597034d8a1 | [
"MIT"
] | null | null | null | exercises/exe11 - 20/exe014.py | thomas-rohde/Classes-Python | f862995510b7aabf68bc14aecf815f597034d8a1 | [
"MIT"
] | null | null | null | '''import math
n = float(input('Digite um nº: '))
print('O valor digitado foi {}, tendo sua parte inteira {}, e decimal {:.3f}'.format(n,math.trunc(n), n - math.trunc(n)))'''
'''from math import trunc
n = float(input('Digite um nº: '))
print('O valor digitado foi {}, tendo sua parte inteira {}, e decimal {:.3f}'.for... | 36.153846 | 124 | 0.631915 | 77 | 470 | 3.857143 | 0.311688 | 0.10101 | 0.111111 | 0.171717 | 0.750842 | 0.750842 | 0.750842 | 0.750842 | 0.750842 | 0.750842 | 0 | 0.005025 | 0.153191 | 470 | 13 | 125 | 36.153846 | 0.741206 | 0.359574 | 0 | 0 | 0 | 0 | 0.546218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
ec0cf3fd597003746f562587b03aba68d0d218bd | 82 | py | Python | pbpl/common/meep_units.py | ucla-pbpl/pbpl-common | 959aea73b6969e2c06654bc920cc5a57787f81a8 | [
"MIT"
] | null | null | null | pbpl/common/meep_units.py | ucla-pbpl/pbpl-common | 959aea73b6969e2c06654bc920cc5a57787f81a8 | [
"MIT"
] | null | null | null | pbpl/common/meep_units.py | ucla-pbpl/pbpl-common | 959aea73b6969e2c06654bc920cc5a57787f81a8 | [
"MIT"
] | null | null | null | from .units import define_constants
define_constants('MEEP')
from .units import *
| 20.5 | 35 | 0.804878 | 11 | 82 | 5.818182 | 0.545455 | 0.28125 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 3 | 36 | 27.333333 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 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 |
ec15cb348ada2875583084f4181ad1e5e4399cc0 | 101 | py | Python | craigsbot/parser/__init__.py | mohsinhaider/craigsbot | e7a6237024c1a06b17fed326b93069085bcb3e3d | [
"MIT"
] | null | null | null | craigsbot/parser/__init__.py | mohsinhaider/craigsbot | e7a6237024c1a06b17fed326b93069085bcb3e3d | [
"MIT"
] | null | null | null | craigsbot/parser/__init__.py | mohsinhaider/craigsbot | e7a6237024c1a06b17fed326b93069085bcb3e3d | [
"MIT"
] | null | null | null | from craigsbot.parser.craigslist_parser import CraigslistSearchResultsParser, CraigslistPostingParser | 101 | 101 | 0.930693 | 8 | 101 | 11.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 101 | 1 | 101 | 101 | 0.958763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ec1d4c88551a2cf8a9fc16177272d3e04d273afa | 21,758 | py | Python | data_analysis/gaze/pipelines.py | vedb/data_analysis | b46f58ba424680353d3abd0014a7d0a339bf6e6c | [
"MIT"
] | null | null | null | data_analysis/gaze/pipelines.py | vedb/data_analysis | b46f58ba424680353d3abd0014a7d0a339bf6e6c | [
"MIT"
] | null | null | null | data_analysis/gaze/pipelines.py | vedb/data_analysis | b46f58ba424680353d3abd0014a7d0a339bf6e6c | [
"MIT"
] | null | null | null | # Calibration script
# import vm_preproc as vmp
# import vedb_store
import numpy as np
import tqdm
import os
from . import pupil_detection_pl, calibrate_pl
from . import marker_detection, gaze_utils
from pupil_recording_interface.externals.gaze_mappers import Binocular_Gaze_Mapper
#
# def pupil_2d_monocular_v01(
# ... | 41.44381 | 143 | 0.634755 | 2,834 | 21,758 | 4.592802 | 0.094213 | 0.021435 | 0.016979 | 0.016057 | 0.805778 | 0.782652 | 0.761063 | 0.740473 | 0.722265 | 0.714889 | 0 | 0.005325 | 0.257744 | 21,758 | 524 | 144 | 41.522901 | 0.800619 | 0.937908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001908 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
6b74f3469f0b848d56925ae5e83a25441cebb4f4 | 22,043 | py | Python | LabReport/Lab4/edit_post.py | Liu-Hong-De/Software_test | 068bbadd7b6d369445994e16aea4289618337910 | [
"Apache-2.0"
] | null | null | null | LabReport/Lab4/edit_post.py | Liu-Hong-De/Software_test | 068bbadd7b6d369445994e16aea4289618337910 | [
"Apache-2.0"
] | 1 | 2022-01-21T23:39:34.000Z | 2022-01-21T23:39:34.000Z | LabReport/Lab4/edit_post.py | Liu-Hong-De/Software_test | 068bbadd7b6d369445994e16aea4289618337910 | [
"Apache-2.0"
] | null | null | null | import unittest
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from bs4 import BeautifulSoup
from selenium.webdriver.support.ui import Select
class EditPost(unittest.TestCase):
# use the demo account to sign in and create a pos... | 47.712121 | 183 | 0.66334 | 3,129 | 22,043 | 4.458293 | 0.069671 | 0.100358 | 0.151111 | 0.168889 | 0.874839 | 0.866237 | 0.853405 | 0.821864 | 0.802151 | 0.799857 | 0 | 0.028084 | 0.206868 | 22,043 | 462 | 184 | 47.712121 | 0.769834 | 0.063921 | 0 | 0.794937 | 0 | 0.053165 | 0.186222 | 0.050041 | 0 | 0 | 0 | 0 | 0.078481 | 1 | 0.04557 | false | 0.002532 | 0.017722 | 0 | 0.065823 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6ba9d7cb98756308cfd868057a5f04a30241784f | 2,243 | py | Python | test/test_add_and_remove_contact_from_group.py | yulia-baturina/python_training | ef29b64e284ef2a2526092c9cb474b9bb489e1d0 | [
"Apache-2.0"
] | null | null | null | test/test_add_and_remove_contact_from_group.py | yulia-baturina/python_training | ef29b64e284ef2a2526092c9cb474b9bb489e1d0 | [
"Apache-2.0"
] | null | null | null | test/test_add_and_remove_contact_from_group.py | yulia-baturina/python_training | ef29b64e284ef2a2526092c9cb474b9bb489e1d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from model.contact import Contact
from model.group import Group
import random
def test_add_random_contact_to_random_group(app, orm):
if len(orm.get_group_list()) == 0:
app.group.create(Group(name="new", header="header", footer="footer"))
if len(orm.get_contact_list()) == 0:
... | 46.729167 | 119 | 0.742755 | 334 | 2,243 | 4.634731 | 0.161677 | 0.05814 | 0.135659 | 0.067829 | 0.848191 | 0.834625 | 0.834625 | 0.834625 | 0.834625 | 0.784238 | 0 | 0.01391 | 0.134641 | 2,243 | 47 | 120 | 47.723404 | 0.783617 | 0.009362 | 0 | 0.714286 | 0 | 0 | 0.054078 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.047619 | false | 0 | 0.071429 | 0 | 0.119048 | 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 |
d406600e53ece748c4d289e719d8fc8648a1f3b1 | 3,485 | py | Python | market/products/migrations/0007_auto_20201218_1541.py | hbvj99/market-api | 489c9433556002cb391b93cbd6486da739c2418a | [
"MIT"
] | 1 | 2021-08-28T05:30:40.000Z | 2021-08-28T05:30:40.000Z | market/products/migrations/0007_auto_20201218_1541.py | hbvj99/market-api | 489c9433556002cb391b93cbd6486da739c2418a | [
"MIT"
] | 1 | 2022-01-14T08:57:19.000Z | 2022-01-14T08:57:20.000Z | market/products/migrations/0007_auto_20201218_1541.py | hbvj99/market-api | 489c9433556002cb391b93cbd6486da739c2418a | [
"MIT"
] | 1 | 2022-01-11T10:14:27.000Z | 2022-01-11T10:14:27.000Z | # Generated by Django 3.1.1 on 2020-12-18 15:41
import cuser.fields
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('prod... | 44.679487 | 197 | 0.661693 | 381 | 3,485 | 5.826772 | 0.149606 | 0.097297 | 0.124324 | 0.145946 | 0.876577 | 0.876577 | 0.827928 | 0.827928 | 0.827928 | 0.827928 | 0 | 0.011507 | 0.226973 | 3,485 | 77 | 198 | 45.25974 | 0.812546 | 0.012912 | 0 | 0.732394 | 1 | 0 | 0.13409 | 0.06719 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056338 | 0 | 0.098592 | 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 |
d426fbf42f1ca4bcb5ff310655613f040c1cdc37 | 232 | py | Python | swyft/utils/__init__.py | adam-coogan/swyft | c54bdd9f77ddf02fda857e26640df012cbe545fc | [
"MIT"
] | null | null | null | swyft/utils/__init__.py | adam-coogan/swyft | c54bdd9f77ddf02fda857e26640df012cbe545fc | [
"MIT"
] | null | null | null | swyft/utils/__init__.py | adam-coogan/swyft | c54bdd9f77ddf02fda857e26640df012cbe545fc | [
"MIT"
] | null | null | null | from swyft.utils.array import *
from swyft.utils.device import *
from swyft.utils.mutils import *
from swyft.utils.parameters import *
from swyft.utils.plot import *
from swyft.utils.utils import *
from swyft.utils.wmutils import *
| 29 | 36 | 0.788793 | 35 | 232 | 5.228571 | 0.285714 | 0.344262 | 0.535519 | 0.655738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 232 | 7 | 37 | 33.142857 | 0.897059 | 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 |
2e0ff73729ac809e7efd19f8d2b3c0ed24d733e6 | 123 | py | Python | code/exercises/04_ControlFlow/ex_04_02_for_before.py | chiachang100/LearnToCodeWithPython | fe16115cb3be612d5abd8ffdbd6a14a37d6b4d52 | [
"Apache-2.0"
] | null | null | null | code/exercises/04_ControlFlow/ex_04_02_for_before.py | chiachang100/LearnToCodeWithPython | fe16115cb3be612d5abd8ffdbd6a14a37d6b4d52 | [
"Apache-2.0"
] | null | null | null | code/exercises/04_ControlFlow/ex_04_02_for_before.py | chiachang100/LearnToCodeWithPython | fe16115cb3be612d5abd8ffdbd6a14a37d6b4d52 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# Filename: ex_for_before.py
print('Hello')
print('Hello')
print('Hello')
print('Hello')
print('Hello')
| 13.666667 | 28 | 0.691057 | 18 | 123 | 4.611111 | 0.555556 | 0.60241 | 0.722892 | 0.963855 | 0.60241 | 0.60241 | 0.60241 | 0.60241 | 0 | 0 | 0 | 0 | 0.081301 | 123 | 8 | 29 | 15.375 | 0.734513 | 0.349594 | 0 | 1 | 0 | 0 | 0.320513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
2e3dbe78d095cdb07e2d3eff292574e4df1c6d51 | 33,787 | py | Python | lib/installed_clients/kb_uploadmethodsClient.py | abbyjerger/Snekmer | 46640d8516289401258a83125483d502179f68d3 | [
"MIT"
] | null | null | null | lib/installed_clients/kb_uploadmethodsClient.py | abbyjerger/Snekmer | 46640d8516289401258a83125483d502179f68d3 | [
"MIT"
] | null | null | null | lib/installed_clients/kb_uploadmethodsClient.py | abbyjerger/Snekmer | 46640d8516289401258a83125483d502179f68d3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
############################################################
#
# Autogenerated by the KBase type compiler -
# any changes made here will be overwritten
#
############################################################
from __future__ import print_function
# the following is a hack to get the basec... | 61.208333 | 100 | 0.67301 | 4,207 | 33,787 | 5.139529 | 0.084859 | 0.040792 | 0.059754 | 0.043705 | 0.824207 | 0.797105 | 0.765424 | 0.744704 | 0.730737 | 0.706225 | 0 | 0.003178 | 0.254891 | 33,787 | 551 | 101 | 61.319419 | 0.85569 | 0.712197 | 0 | 0.227273 | 1 | 0.011364 | 0.169437 | 0.155075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.022727 | 0.386364 | 0.011364 | 0.886364 | 0.011364 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
2e841bb4ca470bac5c65419e1b8fc0661b9abc21 | 112 | py | Python | edge_impulse_linux/__init__.py | ShawnHymel/linux-sdk-python | 2619ec54729a5cfa4ce217aef371e15ad2cb5fbb | [
"Apache-2.0"
] | 19 | 2021-04-11T13:40:50.000Z | 2022-03-29T14:13:57.000Z | edge_impulse_linux/__init__.py | ShawnHymel/linux-sdk-python | 2619ec54729a5cfa4ce217aef371e15ad2cb5fbb | [
"Apache-2.0"
] | 8 | 2021-04-18T16:39:11.000Z | 2022-01-06T05:12:42.000Z | edge_impulse_linux/__init__.py | ShawnHymel/linux-sdk-python | 2619ec54729a5cfa4ce217aef371e15ad2cb5fbb | [
"Apache-2.0"
] | 6 | 2021-04-12T17:34:04.000Z | 2022-01-08T16:50:10.000Z | from edge_impulse_linux import runner
from edge_impulse_linux import audio
from edge_impulse_linux import image
| 28 | 37 | 0.892857 | 18 | 112 | 5.222222 | 0.444444 | 0.255319 | 0.478723 | 0.638298 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 3 | 38 | 37.333333 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 9 |
cf1d7f7cd9e5a961fffc6c088b772f608f6acb6d | 17,089 | py | Python | employer_engagement/training/levy_train_sql_functions.py | SkillsFundingAgency/das-data-management-ai | 8b517a62f9d78b2af363634c5420e92a9faac03d | [
"MIT"
] | null | null | null | employer_engagement/training/levy_train_sql_functions.py | SkillsFundingAgency/das-data-management-ai | 8b517a62f9d78b2af363634c5420e92a9faac03d | [
"MIT"
] | null | null | null | employer_engagement/training/levy_train_sql_functions.py | SkillsFundingAgency/das-data-management-ai | 8b517a62f9d78b2af363634c5420e92a9faac03d | [
"MIT"
] | null | null | null | from azureml.core import Workspace
from azureml.core.compute import ComputeTarget
from azureml.pipeline.steps import PythonScriptStep
from azureml.pipeline.core import Pipeline, PipelineData, StepSequence, PublishedPipeline
from azureml.core.runconfig import RunConfiguration
from azureml.pipeline.core import PipelineEn... | 45.08971 | 139 | 0.651238 | 2,932 | 17,089 | 3.624147 | 0.051501 | 0.032185 | 0.038396 | 0.050819 | 0.923772 | 0.896574 | 0.868812 | 0.823546 | 0.77875 | 0.757105 | 0 | 0.144985 | 0.222248 | 17,089 | 378 | 140 | 45.208995 | 0.654503 | 0.002341 | 0 | 0.75 | 0 | 0.225 | 0.048806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019444 | false | 0 | 0.030556 | 0 | 0.069444 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cf29208c0394dd4e8388060fe80e7d6d37890206 | 3,068 | py | Python | tests/crypto/test_factory.py | reputage/didery | f94a3cf63a7be2a341fa06d173d068924e540e41 | [
"Apache-2.0"
] | 8 | 2018-09-07T09:26:52.000Z | 2021-01-16T12:22:07.000Z | tests/crypto/test_factory.py | reputage/didery | f94a3cf63a7be2a341fa06d173d068924e540e41 | [
"Apache-2.0"
] | 184 | 2018-04-19T17:46:02.000Z | 2019-05-21T19:04:30.000Z | tests/crypto/test_factory.py | reputage/didery | f94a3cf63a7be2a341fa06d173d068924e540e41 | [
"Apache-2.0"
] | 3 | 2018-09-26T19:16:30.000Z | 2018-12-18T18:50:40.000Z | import didery.crypto.eddsa as eddsa
import didery.crypto.ecdsa as ecdsa
import didery.crypto.factory as factory
from collections import OrderedDict as ODict
from didery.help import helping as h
def testECDSAFactory():
sigs = ODict()
sigs["name"] = "ECDSA"
validator = factory.signatureValidationFactory(... | 27.63964 | 97 | 0.693286 | 392 | 3,068 | 5.42602 | 0.170918 | 0.045134 | 0.118477 | 0.12976 | 0.844852 | 0.844852 | 0.844852 | 0.844852 | 0.844852 | 0.844852 | 0 | 0.036502 | 0.187419 | 3,068 | 110 | 98 | 27.890909 | 0.816687 | 0.088983 | 0 | 0.78125 | 0 | 0.0625 | 0.142037 | 0.119082 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.0625 | false | 0 | 0.078125 | 0 | 0.140625 | 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 |
cf8a8aa47a90f40ac457cec20891d94db4a3dbd3 | 177,014 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/ec2/waiter.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/ec2/waiter.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/ec2/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from typing import List
from botocore.waiter import Waiter
class BundleTaskComplete(Waiter):
def wait(self, BundleIds: List = None, Filters: List = None, DryRun: bool = None, WaiterConfig: Dict = None):
"""
Polls :py:meth:`EC2.Client.describe_bundle_tasks` every 15 seconds ... | 65.198527 | 685 | 0.614409 | 20,733 | 177,014 | 5.241306 | 0.031206 | 0.017761 | 0.009083 | 0.010104 | 0.952691 | 0.946378 | 0.940682 | 0.934397 | 0.930016 | 0.92639 | 0 | 0.010867 | 0.288339 | 177,014 | 2,714 | 686 | 65.22255 | 0.851755 | 0.848656 | 0 | 0.552083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322917 | false | 0.333333 | 0.03125 | 0 | 0.677083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
d8bd496a71078f6eb07a5a8dc2660d3f57aef9e0 | 74 | py | Python | exaslct_src/cli/__init__.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | null | null | null | exaslct_src/cli/__init__.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | 1 | 2019-05-06T07:36:11.000Z | 2019-05-06T07:36:11.000Z | exaslct_src/cli/__init__.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | 1 | 2019-05-03T08:49:29.000Z | 2019-05-03T08:49:29.000Z | from exaslct_src.cli.cli import cli
from exaslct_src.cli.commands import * | 37 | 38 | 0.837838 | 13 | 74 | 4.615385 | 0.461538 | 0.366667 | 0.466667 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 2 | 38 | 37 | 0.895522 | 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 |
d8cc1b065bde7ca304aaebe561e590814f95f2e7 | 29,536 | py | Python | mutation_loc_figures.py | martynaut/mirnome-mutations | 2bcee735a3620a0ae6fc91a57500f19b8851ff60 | [
"MIT"
] | null | null | null | mutation_loc_figures.py | martynaut/mirnome-mutations | 2bcee735a3620a0ae6fc91a57500f19b8851ff60 | [
"MIT"
] | 1 | 2021-09-10T12:07:49.000Z | 2021-09-24T07:04:02.000Z | mutation_loc_figures.py | martynaut/mirnome-mutations | 2bcee735a3620a0ae6fc91a57500f19b8851ff60 | [
"MIT"
] | null | null | null | import os
import pandas as pd
import matplotlib
import click
from matplotlib import rc
from matplotlib import lines
# matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
import gc
plt.rcParams['svg.fonttype'] = 'none'
image_path = 'reference_files/primirna_background.tiff'... | 39.224436 | 118 | 0.502709 | 3,687 | 29,536 | 3.852183 | 0.082181 | 0.037386 | 0.013025 | 0.017039 | 0.883335 | 0.864888 | 0.845596 | 0.810955 | 0.805956 | 0.796803 | 0 | 0.045601 | 0.328074 | 29,536 | 752 | 119 | 39.276596 | 0.670059 | 0.029219 | 0 | 0.712454 | 0 | 0 | 0.123957 | 0.008587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012821 | false | 0 | 0.018315 | 0 | 0.034799 | 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 |
d8f12092b1d58a22c18f50fc871f93771ff80296 | 6,090 | py | Python | scvelo/core/tests/test_arithmetic.py | WeilerP/scvelo | 1805ab4a72d3f34496f0ef246500a159f619d3a2 | [
"BSD-3-Clause"
] | 272 | 2018-08-21T08:59:11.000Z | 2022-03-30T11:24:19.000Z | scvelo/core/tests/test_arithmetic.py | theislab/scvelo | 1805ab4a72d3f34496f0ef246500a159f619d3a2 | [
"BSD-3-Clause"
] | 570 | 2018-08-21T14:04:03.000Z | 2022-03-30T08:48:04.000Z | scvelo/core/tests/test_arithmetic.py | WeilerP/scvelo | 1805ab4a72d3f34496f0ef246500a159f619d3a2 | [
"BSD-3-Clause"
] | 105 | 2018-09-04T14:08:58.000Z | 2022-03-17T16:20:14.000Z | from typing import List
from hypothesis import given
from hypothesis import strategies as st
from hypothesis.extra.numpy import arrays
import numpy as np
from numpy import ndarray
from numpy.testing import assert_almost_equal, assert_array_equal
from scvelo.core import clipped_log, invert, prod_sum, sum
class Test... | 30.757576 | 85 | 0.545156 | 838 | 6,090 | 3.78759 | 0.115752 | 0.068053 | 0.061437 | 0.085066 | 0.86673 | 0.863264 | 0.844045 | 0.838374 | 0.838374 | 0.811909 | 0 | 0.031494 | 0.327422 | 6,090 | 197 | 86 | 30.913706 | 0.743408 | 0.034647 | 0 | 0.784431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.137725 | 1 | 0.047904 | false | 0 | 0.047904 | 0 | 0.11976 | 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 |
2b171d110e18d90880f80a77c7b0a728a6c26712 | 3,636 | py | Python | ivy/functional/ivy/array_api/utility_functions.py | sert121/ivy | 286f86e487b0c83d46a3ef8d30aa96316337db32 | [
"Apache-2.0"
] | 1 | 2022-03-24T20:09:20.000Z | 2022-03-24T20:09:20.000Z | ivy/functional/ivy/array_api/utility_functions.py | sert121/ivy | 286f86e487b0c83d46a3ef8d30aa96316337db32 | [
"Apache-2.0"
] | null | null | null | ivy/functional/ivy/array_api/utility_functions.py | sert121/ivy | 286f86e487b0c83d46a3ef8d30aa96316337db32 | [
"Apache-2.0"
] | null | null | null | # global
from typing import Union, Optional, Tuple, List
# local
import ivy
from ivy.framework_handler import current_framework as _cur_framework
# noinspection PyShadowingBuiltins
def all(x: Union[ivy.Array, ivy.NativeArray],
axis: Optional[Union[int, Tuple[int], List[int]]] = None,
keepdims: bool =... | 63.789474 | 122 | 0.706821 | 533 | 3,636 | 4.806754 | 0.204503 | 0.032787 | 0.037471 | 0.046838 | 0.889149 | 0.868852 | 0.868852 | 0.868852 | 0.868852 | 0.868852 | 0 | 0.000722 | 0.237624 | 3,636 | 56 | 123 | 64.928571 | 0.923521 | 0.80088 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.230769 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
2b4dd386cfee73b3c69f545c796d28cb1d986830 | 44,902 | py | Python | keras_segmentation/train.py | mwaseema/image-segmentation-keras-implementation | e137b55c3a19787309f086744e3f7ed1b4df4520 | [
"MIT"
] | 1 | 2021-12-09T10:33:18.000Z | 2021-12-09T10:33:18.000Z | keras_segmentation/train.py | mwaseema/image-segmentation-keras-implementation | e137b55c3a19787309f086744e3f7ed1b4df4520 | [
"MIT"
] | null | null | null | keras_segmentation/train.py | mwaseema/image-segmentation-keras-implementation | e137b55c3a19787309f086744e3f7ed1b4df4520 | [
"MIT"
] | 1 | 2022-02-11T18:59:43.000Z | 2022-02-11T18:59:43.000Z | import json
import os
import six
from keras import optimizers
from keras.callbacks import ReduceLROnPlateau
from . import custom_losses
from .custom_losses import smooth_l1_loss
from .data_utils.bounding_box_based_network_utils import bounding_box_based_network_loss_gpu
from .data_utils.bounding_box_iou_based_network... | 45.447368 | 143 | 0.60396 | 4,972 | 44,902 | 5.123492 | 0.033588 | 0.038 | 0.03957 | 0.033564 | 0.967732 | 0.956544 | 0.9293 | 0.925336 | 0.921096 | 0.92086 | 0 | 0.00722 | 0.321389 | 44,902 | 987 | 144 | 45.493414 | 0.828788 | 0.096098 | 0 | 0.891645 | 0 | 0 | 0.074991 | 0.004767 | 0 | 0 | 0 | 0 | 0.036554 | 1 | 0.01436 | false | 0 | 0.015666 | 0 | 0.031332 | 0.117493 | 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 |
2b5bc4936d4c5a1852062ffd2ca2dae245bcdb3d | 18,978 | py | Python | neural_network_lyapunov/examples/car/test/test_unicycle.py | hongkai-dai/neural-network-lyapunov-1 | 8843c13f69f7f39cbb939ab250413e76f61843f6 | [
"MIT"
] | 58 | 2021-06-21T08:59:52.000Z | 2022-03-31T14:35:23.000Z | neural_network_lyapunov/examples/car/test/test_unicycle.py | StanfordASL/neural-network-lyapunov | 9e5db1c7f91b42df729026c9aa8575bc126f66b6 | [
"MIT"
] | 8 | 2021-08-22T05:31:23.000Z | 2022-03-29T03:47:07.000Z | neural_network_lyapunov/examples/car/test/test_unicycle.py | StanfordASL/neural-network-lyapunov | 9e5db1c7f91b42df729026c9aa8575bc126f66b6 | [
"MIT"
] | 11 | 2021-06-21T04:29:59.000Z | 2022-03-30T05:54:43.000Z | import neural_network_lyapunov.examples.car.unicycle as unicycle
import neural_network_lyapunov.utils as utils
import neural_network_lyapunov.gurobi_torch_mip as gurobi_torch_mip
import unittest
import numpy as np
import torch
import scipy.integrate
import scipy.linalg
import gurobipy
class TestUnicycle(unittest.T... | 49.165803 | 79 | 0.536832 | 2,541 | 18,978 | 3.795356 | 0.070051 | 0.076524 | 0.107424 | 0.054749 | 0.881688 | 0.865823 | 0.841456 | 0.827769 | 0.816777 | 0.816777 | 0 | 0.044866 | 0.332912 | 18,978 | 385 | 80 | 49.293506 | 0.716904 | 0.039783 | 0 | 0.796923 | 0 | 0 | 0.001654 | 0 | 0 | 0 | 0 | 0 | 0.055385 | 1 | 0.067692 | false | 0 | 0.027692 | 0 | 0.110769 | 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 |
2b5f15fc1346fc0b8a38460066380ca206ff4637 | 2,850 | py | Python | opp_function.py | LukeKort/OCM | 674f73dcfeb86aa58d67fbe0abf8a997dff439a7 | [
"MIT"
] | null | null | null | opp_function.py | LukeKort/OCM | 674f73dcfeb86aa58d67fbe0abf8a997dff439a7 | [
"MIT"
] | null | null | null | opp_function.py | LukeKort/OCM | 674f73dcfeb86aa58d67fbe0abf8a997dff439a7 | [
"MIT"
] | null | null | null | # Objectives and constraints functions (Aug. 04, 2021)
import math
import numpy as np
def objective(var_o): #objetive functions Weibull
#confiabilidade
gamma_ =
theta =
t = int(math.floor(var_o.copy()))
r_t = math.exp(-((t/theta)**(gamma_)))
#custo
c_m = 1000
c_r = 2500
... | 21.755725 | 116 | 0.586316 | 489 | 2,850 | 3.241309 | 0.188139 | 0.021451 | 0.035331 | 0.049211 | 0.888328 | 0.869401 | 0.811356 | 0.783596 | 0.753312 | 0.753312 | 0 | 0.080114 | 0.264211 | 2,850 | 131 | 117 | 21.755725 | 0.675727 | 0.25193 | 0 | 0.80597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.029851 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2b6b5c1478793d7903c7916f3693d050a02befc1 | 3,293 | py | Python | 选拔赛/code/折线图2.py | 775269512/WHUT_CUMCM20 | a966c09e46c1789a86d4532f46d503a2226e0a47 | [
"MIT"
] | 73 | 2020-09-20T15:39:26.000Z | 2022-03-10T23:37:17.000Z | 选拔赛/code/折线图2.py | HHHTTY/WHUT_CUMCM20 | a966c09e46c1789a86d4532f46d503a2226e0a47 | [
"MIT"
] | 3 | 2021-09-18T04:43:08.000Z | 2021-12-02T08:10:53.000Z | 选拔赛/code/折线图2.py | HHHTTY/WHUT_CUMCM20 | a966c09e46c1789a86d4532f46d503a2226e0a47 | [
"MIT"
] | 27 | 2020-09-20T15:39:29.000Z | 2022-02-28T12:15:06.000Z | from pylab import *
mpl.rcParams['font.sans-serif'] = ['SimHei']
# import matplotlib.pyplot as plt
import numpy
import matplotlib.colors as colors
import matplotlib.cm as cmx
dicts = {"1":[3,2], "2":[1,5], "3":[5,4],"4":[4,7], "5":[0,8],"6":[3,11],"7":[7,9],
"8":[9,6],"9":[10,2], "10":[14,0],"11":[2,16], "12":... | 25.330769 | 93 | 0.51898 | 589 | 3,293 | 2.711375 | 0.168081 | 0.110207 | 0.061991 | 0.041327 | 0.809017 | 0.809017 | 0.797746 | 0.797746 | 0.797746 | 0.797746 | 0 | 0.071778 | 0.25539 | 3,293 | 130 | 94 | 25.330769 | 0.579527 | 0.07106 | 0 | 0.836735 | 0 | 0 | 0.029713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.020408 | 0.040816 | 0 | 0.040816 | 0.020408 | 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 |
992796fdb5509a43c66de22e35452020e2354baf | 930 | py | Python | LeetCode/easy - Hash Table/771. Jewels and Stones/solution.py | vincent507cpu/Comprehensive-Algorithm-Solution | 04e01e49622457f09af2e1133954f043c0c92cb9 | [
"MIT"
] | 4 | 2020-06-26T00:45:53.000Z | 2021-04-19T12:23:32.000Z | LeetCode/easy - Hash Table/771. Jewels and Stones/solution.py | vincent507cpu/LeetCode-Comprehensive-Solution | 04e01e49622457f09af2e1133954f043c0c92cb9 | [
"MIT"
] | null | null | null | LeetCode/easy - Hash Table/771. Jewels and Stones/solution.py | vincent507cpu/LeetCode-Comprehensive-Solution | 04e01e49622457f09af2e1133954f043c0c92cb9 | [
"MIT"
] | null | null | null | # comprehensive solution
class Solution:
def numJewelsInStones(self, J: str, S: str) -> int:
# https://leetcode.com/problems/jewels-and-stones/discuss/527360/Several-Python-solution.-w-Explanation
jewel = set(J)
return sum( 1 for item in S if item in jewel )
def numJewelsInStones(s... | 48.947368 | 111 | 0.662366 | 130 | 930 | 4.723077 | 0.3 | 0.130293 | 0.156352 | 0.162866 | 0.791531 | 0.791531 | 0.791531 | 0.791531 | 0.791531 | 0.791531 | 0 | 0.02027 | 0.204301 | 930 | 19 | 112 | 48.947368 | 0.809459 | 0.451613 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.3 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
996523a41a0eb3794adde74163976cf3f1b14f36 | 7,502 | py | Python | penduduk/kabupaten/hitunggolongandarah.py | bowo-anakdesa/count-sidekem | 8737d6cc788ba51ec6f919dbc2cedcced76ea139 | [
"MIT"
] | 1 | 2019-06-28T02:02:51.000Z | 2019-06-28T02:02:51.000Z | penduduk/kabupaten/hitunggolongandarah.py | bowo-anakdesa/count-sidekem | 8737d6cc788ba51ec6f919dbc2cedcced76ea139 | [
"MIT"
] | 1 | 2019-08-03T18:39:33.000Z | 2019-08-03T18:39:33.000Z | penduduk/kabupaten/hitunggolongandarah.py | bowo-anakdesa/count-sidekem | 8737d6cc788ba51ec6f919dbc2cedcced76ea139 | [
"MIT"
] | null | null | null | import pymysql
db = pymysql.connect(host="localhost",user="root",passwd="12345678", db="sidekem")
cur = db.cursor()
cur.execute("SELECT id FROM `statistik_goldarah_kab` WHERE id LIKE '%3327%' ")
kabupaten=cur.fetchall()
for a in kabupaten:
#Total Golongan Darah
cur.execute("SELECT COUNT(*) FROM `datapenduduk-33... | 83.355556 | 1,055 | 0.620501 | 1,107 | 7,502 | 4.128275 | 0.084914 | 0.089716 | 0.140044 | 0.179212 | 0.75733 | 0.75733 | 0.75733 | 0.745514 | 0.745514 | 0.745514 | 0 | 0.047678 | 0.141696 | 7,502 | 90 | 1,056 | 83.355556 | 0.662059 | 0.006132 | 0 | 0 | 0 | 0 | 0.565678 | 0.00644 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.011628 | 0.011628 | 0 | 0.011628 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
9984290ad62ac9fca12bf6d7cea4d184b367d13a | 13,405 | py | Python | essentials_kit_management/tests/interactors/test_get_form_interactor.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | null | null | null | essentials_kit_management/tests/interactors/test_get_form_interactor.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | 2 | 2021-09-07T07:06:00.000Z | 2021-09-07T07:24:26.000Z | essentials_kit_management/tests/interactors/test_get_form_interactor.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | null | null | null | import pytest
from mock import create_autospec
from django_swagger_utils.drf_server.exceptions import NotFound
from essentials_kit_management.interactors.get_form_interactor \
import GetFormInteractor
from essentials_kit_management.interactors.storages.dtos \
import FormMetricsDto, FormDetailsDto, CompleteFormD... | 36.327913 | 84 | 0.766953 | 1,739 | 13,405 | 5.359402 | 0.051754 | 0.099142 | 0.054077 | 0.051502 | 0.944206 | 0.930579 | 0.915773 | 0.915773 | 0.915773 | 0.915773 | 0 | 0.01233 | 0.177173 | 13,405 | 368 | 85 | 36.42663 | 0.832638 | 0.007162 | 0 | 0.798013 | 0 | 0 | 0.018509 | 0 | 0 | 0 | 0 | 0 | 0.099338 | 1 | 0.019868 | false | 0 | 0.02649 | 0 | 0.046358 | 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 |
999b9c18282b9bc65244eb14654afc97bc2b6dde | 259 | py | Python | 03_GraphBasedPlanner/graph_ltpl/helper_funcs/src/__init__.py | f1tenth/ESweek2021_educationclassA3 | 7620a36d21c1824efba8a83f0671926bf8e028f3 | [
"MIT"
] | 15 | 2021-10-09T13:48:49.000Z | 2022-03-27T04:36:44.000Z | 03_GraphBasedPlanner/graph_ltpl/helper_funcs/src/__init__.py | yinflight/ESweek2021_educationclassA3 | 7a32bacdb7f3154a773d28b6b6abffdaa154a526 | [
"MIT"
] | 1 | 2021-11-27T01:47:25.000Z | 2021-11-27T02:44:04.000Z | 03_GraphBasedPlanner/graph_ltpl/helper_funcs/src/__init__.py | yinflight/ESweek2021_educationclassA3 | 7a32bacdb7f3154a773d28b6b6abffdaa154a526 | [
"MIT"
] | 2 | 2021-11-03T19:32:55.000Z | 2021-11-27T02:43:13.000Z | import graph_ltpl.helper_funcs.src.calc_vel_profile_follow
import graph_ltpl.helper_funcs.src.closest_path_index
import graph_ltpl.helper_funcs.src.get_s_coord
import graph_ltpl.helper_funcs.src.Logging
import graph_ltpl.helper_funcs.src.calc_brake_emergency
| 43.166667 | 58 | 0.903475 | 44 | 259 | 4.886364 | 0.431818 | 0.255814 | 0.348837 | 0.488372 | 0.711628 | 0.711628 | 0.306977 | 0 | 0 | 0 | 0 | 0 | 0.03861 | 259 | 5 | 59 | 51.8 | 0.863454 | 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 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
510a89e957ea22ea9acb65a1bf4c6b9c217069b3 | 194 | py | Python | vnegmas/backend/api/nnegmas/__init__.py | YueNing/vnegmas | e95adc56ee9aab8d6cd6f28cce04383e199dc2b8 | [
"MIT"
] | 3 | 2019-06-29T11:40:29.000Z | 2019-09-07T02:15:09.000Z | vnegmas/backend/api/nnegmas/__init__.py | YueNing/vnegmas | e95adc56ee9aab8d6cd6f28cce04383e199dc2b8 | [
"MIT"
] | null | null | null | vnegmas/backend/api/nnegmas/__init__.py | YueNing/vnegmas | e95adc56ee9aab8d6cd6f28cce04383e199dc2b8 | [
"MIT"
] | null | null | null | from vnegmas.backend.src import nnegmas
from vnegmas.backend.src.nnegmas import negmas_draw
from vnegmas.backend.api.nnegmas.negmas_api import *
from vnegmas.backend.src.nnegmas import watch_fs
| 38.8 | 52 | 0.850515 | 30 | 194 | 5.4 | 0.366667 | 0.271605 | 0.444444 | 0.388889 | 0.419753 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 194 | 4 | 53 | 48.5 | 0.910112 | 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 |
510b206e3ad1fd0485010cb46e4d3eb0f14f22a5 | 121 | py | Python | tests/context.py | lzutao/classical_cipher | 95612f03600a31d7fe325f637335a4c69b56cf6c | [
"MIT"
] | null | null | null | tests/context.py | lzutao/classical_cipher | 95612f03600a31d7fe325f637335a4c69b56cf6c | [
"MIT"
] | null | null | null | tests/context.py | lzutao/classical_cipher | 95612f03600a31d7fe325f637335a4c69b56cf6c | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
| 24.2 | 76 | 0.768595 | 21 | 121 | 4.238095 | 0.571429 | 0.202247 | 0.292135 | 0.337079 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.057851 | 121 | 4 | 77 | 30.25 | 0.77193 | 0.173554 | 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 | 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 |
5ad32114346358b0ba04fcead845f3e40b3b8323 | 171 | py | Python | apps/configuration/admin.py | Sunbird-Ed/evolve-api | 371b39422839762e32401340456c13858cb8e1e9 | [
"MIT"
] | 1 | 2019-02-27T15:26:11.000Z | 2019-02-27T15:26:11.000Z | apps/configuration/admin.py | Sunbird-Ed/evolve-api | 371b39422839762e32401340456c13858cb8e1e9 | [
"MIT"
] | 9 | 2019-12-16T10:09:46.000Z | 2022-03-11T23:42:12.000Z | apps/configuration/admin.py | Sunbird-Ed/evolve-api | 371b39422839762e32401340456c13858cb8e1e9 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Book,State,Subject,Grade,Medium
admin.site.register([Book,State,Subject,Grade,Medium]) | 24.428571 | 54 | 0.80117 | 25 | 171 | 5.48 | 0.6 | 0.131387 | 0.233577 | 0.306569 | 0.394161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093567 | 171 | 7 | 54 | 24.428571 | 0.883871 | 0.152047 | 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 | 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 |
5c8a4475ba59114657523865785d3cbc17c30a33 | 11,761 | py | Python | test/selenium/smoke/Service_Offering.py | elShiaLabeouf/cloudstack | 3c5580632425ded5a468c3cd82cd141e7410ef39 | [
"Apache-2.0"
] | 1 | 2020-03-22T14:55:12.000Z | 2020-03-22T14:55:12.000Z | test/selenium/smoke/Service_Offering.py | elShiaLabeouf/cloudstack | 3c5580632425ded5a468c3cd82cd141e7410ef39 | [
"Apache-2.0"
] | null | null | null | test/selenium/smoke/Service_Offering.py | elShiaLabeouf/cloudstack | 3c5580632425ded5a468c3cd82cd141e7410ef39 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 27.543326 | 133 | 0.718646 | 1,509 | 11,761 | 5.346587 | 0.139828 | 0.084284 | 0.134854 | 0.150719 | 0.835771 | 0.833664 | 0.806644 | 0.78235 | 0.756817 | 0.747645 | 0 | 0.006123 | 0.194541 | 11,761 | 426 | 134 | 27.607981 | 0.845561 | 0.177621 | 0 | 0.754098 | 0 | 0 | 0.050609 | 0.004998 | 0 | 0 | 0 | 0 | 0.032787 | 0 | null | null | 0 | 0.043716 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5cc17aac179e8f86aeefe515f5f4dd4eb5ddbe90 | 33,816 | py | Python | test_pytest/test_sys/test_monitor/test_workflow.py | hrvojekeserica/hat-core | 759def68620cf4f8c11e7bbbdbfd1e701dbafb09 | [
"MIT"
] | null | null | null | test_pytest/test_sys/test_monitor/test_workflow.py | hrvojekeserica/hat-core | 759def68620cf4f8c11e7bbbdbfd1e701dbafb09 | [
"MIT"
] | null | null | null | test_pytest/test_sys/test_monitor/test_workflow.py | hrvojekeserica/hat-core | 759def68620cf4f8c11e7bbbdbfd1e701dbafb09 | [
"MIT"
] | null | null | null | import asyncio
import pytest
from hat import util
from test_sys.test_monitor import common
@pytest.mark.timeout(10)
def test_server_listens(monitor_factory):
server_info = monitor_factory()
connections = server_info.process.connections()
for port in {server_info.ui_port, server_info.monitor_port,
... | 35.55836 | 76 | 0.681186 | 4,409 | 33,816 | 4.957814 | 0.025403 | 0.046434 | 0.035134 | 0.046846 | 0.941443 | 0.932156 | 0.923098 | 0.91006 | 0.893957 | 0.883801 | 0 | 0.030772 | 0.211971 | 33,816 | 950 | 77 | 35.595789 | 0.789515 | 0 | 0 | 0.884021 | 0 | 0 | 0.07804 | 0 | 0 | 0 | 0 | 0 | 0.271907 | 1 | 0.002577 | false | 0 | 0.005155 | 0 | 0.007732 | 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 |
7a892993e34028538ff0037a127c5626a3d6b6ee | 24,230 | py | Python | webapp/tests/forms/steps/lotse/test_merkzeichen.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 20 | 2021-07-02T07:49:08.000Z | 2022-03-18T22:26:10.000Z | webapp/tests/forms/steps/lotse/test_merkzeichen.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 555 | 2021-06-28T15:35:15.000Z | 2022-03-31T11:51:55.000Z | webapp/tests/forms/steps/lotse/test_merkzeichen.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 1 | 2021-07-04T20:34:12.000Z | 2021-07-04T20:34:12.000Z | import datetime
import pytest
from flask.sessions import SecureCookieSession
from flask_babel import ngettext, lazy_gettext as _l
from pydantic import ValidationError
from werkzeug.datastructures import ImmutableMultiDict, MultiDict
from app.forms.flows.lotse_step_chooser import LotseStepChooser, _LOTSE_DATA_KEY
from... | 47.790927 | 140 | 0.703219 | 3,019 | 24,230 | 5.123551 | 0.055316 | 0.043445 | 0.03142 | 0.052754 | 0.93729 | 0.933799 | 0.92798 | 0.912658 | 0.898371 | 0.892552 | 0 | 0.008981 | 0.218778 | 24,230 | 507 | 141 | 47.790927 | 0.808178 | 0.001692 | 0 | 0.70398 | 0 | 0 | 0.175955 | 0.146271 | 0 | 0 | 0 | 0 | 0.104478 | 1 | 0.149254 | false | 0 | 0.022388 | 0.00995 | 0.19403 | 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 |
7aa08fc66955a759d90000d4aa623d83cb6fe2c6 | 2,108 | py | Python | tests/test_Downloader.py | korn-alex/toolbox | e0d8038d9579d59340020cc29de8cfc1f88425a1 | [
"MIT"
] | null | null | null | tests/test_Downloader.py | korn-alex/toolbox | e0d8038d9579d59340020cc29de8cfc1f88425a1 | [
"MIT"
] | null | null | null | tests/test_Downloader.py | korn-alex/toolbox | e0d8038d9579d59340020cc29de8cfc1f88425a1 | [
"MIT"
] | null | null | null | import unittest
from pathlib import Path
# print(Path.cwd())
from toolbox.web import Downloader
class TestDownloader(unittest.TestCase):
@classmethod
def setUpClass(cls):
print('setUpClass')
def setUp(self):
self.d = Downloader()
self.url = Path('https://images.pexels.com/phot... | 52.7 | 223 | 0.677419 | 305 | 2,108 | 4.472131 | 0.203279 | 0.073314 | 0.175953 | 0.278592 | 0.73607 | 0.73607 | 0.73607 | 0.73607 | 0.710411 | 0.676686 | 0 | 0.049342 | 0.134725 | 2,108 | 40 | 224 | 52.7 | 0.698465 | 0.008065 | 0 | 0 | 0 | 0.03125 | 0.285646 | 0.057416 | 0 | 0 | 0 | 0 | 0.59375 | 1 | 0.09375 | false | 0 | 0.09375 | 0 | 0.21875 | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7ab0387933acfa254802144573d963906129cbe8 | 114 | py | Python | research/object_detection/python-tkinter-gui-master/GUITools/WindowTools/__init__.py | r08in279/Traffic-Management-Using-Drones | 15fdba219cef04b3cb59a68901a8064c3795d8e3 | [
"Apache-2.0"
] | null | null | null | research/object_detection/python-tkinter-gui-master/GUITools/WindowTools/__init__.py | r08in279/Traffic-Management-Using-Drones | 15fdba219cef04b3cb59a68901a8064c3795d8e3 | [
"Apache-2.0"
] | null | null | null | research/object_detection/python-tkinter-gui-master/GUITools/WindowTools/__init__.py | r08in279/Traffic-Management-Using-Drones | 15fdba219cef04b3cb59a68901a8064c3795d8e3 | [
"Apache-2.0"
] | null | null | null | #WindowTools packaging file
from GUITools.WindowTools.Buttons import *
from GUITools.WindowTools.Windows import *
| 28.5 | 42 | 0.842105 | 13 | 114 | 7.384615 | 0.615385 | 0.25 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 114 | 3 | 43 | 38 | 0.932039 | 0.22807 | 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 |
8f9c9a5c23ed8979faaa144a4b68d7b11375fc98 | 3,277 | py | Python | result/migrations/nn/0015_auto_20190627_0733.py | 0Jihad/uqhs | 16e16742022142d47d0a423aa27ca50fe706a06b | [
"MIT"
] | null | null | null | result/migrations/nn/0015_auto_20190627_0733.py | 0Jihad/uqhs | 16e16742022142d47d0a423aa27ca50fe706a06b | [
"MIT"
] | 11 | 2019-10-13T11:05:26.000Z | 2022-03-11T23:48:57.000Z | result/migrations/nn/0015_auto_20190627_0733.py | 0Jihad/uqhs | 16e16742022142d47d0a423aa27ca50fe706a06b | [
"MIT"
] | null | null | null | # Generated by Django 2.1.3 on 2019-06-26 18:33
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('result', '0014_auto_20190627_0718'),
]
operations = [
migrations.AlterField(
model_name='overal... | 43.693333 | 143 | 0.622521 | 382 | 3,277 | 5.175393 | 0.143979 | 0.056651 | 0.092059 | 0.144664 | 0.867982 | 0.867982 | 0.867982 | 0.844714 | 0.844714 | 0.844714 | 0 | 0.012455 | 0.240464 | 3,277 | 74 | 144 | 44.283784 | 0.78184 | 0.013732 | 0 | 0.529412 | 1 | 0 | 0.124149 | 0.007121 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.073529 | 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 |
8fe44b20abe3244f8b6eb1119635f14754a50213 | 11,505 | py | Python | game2048/my_agents.py | snuffle-PX/2048-api | a43c74c3cfcf47e3f79ab631705b46ddbe3add1e | [
"Apache-2.0"
] | null | null | null | game2048/my_agents.py | snuffle-PX/2048-api | a43c74c3cfcf47e3f79ab631705b46ddbe3add1e | [
"Apache-2.0"
] | null | null | null | game2048/my_agents.py | snuffle-PX/2048-api | a43c74c3cfcf47e3f79ab631705b46ddbe3add1e | [
"Apache-2.0"
] | null | null | null | """
author: 赵阳桁
TrainAgent use buffer to train
TrainAgent2 train without buffer
TestAgent is a simple agent for webapp, evaluate and figerprint.
"""
from .agents import Agent
from utils import try_to_move, get_train_data, conv_to_onehot, ReplayMemory, Transition, conv_to_onehot_12, get_train_data_12
im... | 35.291411 | 126 | 0.588701 | 1,421 | 11,505 | 4.579873 | 0.121042 | 0.055317 | 0.049785 | 0.028734 | 0.818531 | 0.807314 | 0.792717 | 0.782422 | 0.766441 | 0.766441 | 0 | 0.021544 | 0.302043 | 11,505 | 325 | 127 | 35.4 | 0.788917 | 0.070404 | 0 | 0.766234 | 0 | 0 | 0.01529 | 0.001994 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069264 | false | 0.008658 | 0.04329 | 0 | 0.151515 | 0.017316 | 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 |
8908af31afe8f43f94988a790c4fd5eb4b22fa41 | 138 | py | Python | python/Lesson1-Secrets/s3_secrets_usingconst.py | franTarkenton/IntroToJenkins | cbdd5933b8e0315fe747523f9b94b3728db9a585 | [
"MIT"
] | null | null | null | python/Lesson1-Secrets/s3_secrets_usingconst.py | franTarkenton/IntroToJenkins | cbdd5933b8e0315fe747523f9b94b3728db9a585 | [
"MIT"
] | null | null | null | python/Lesson1-Secrets/s3_secrets_usingconst.py | franTarkenton/IntroToJenkins | cbdd5933b8e0315fe747523f9b94b3728db9a585 | [
"MIT"
] | null | null | null | import constants
# you can now access any of your constants from constants module
print(f"bills password is {constants.BILLS_PASSWORD}")
| 27.6 | 64 | 0.804348 | 21 | 138 | 5.238095 | 0.761905 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 138 | 4 | 65 | 34.5 | 0.92437 | 0.449275 | 0 | 0 | 0 | 0 | 0.594595 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 7 |
8918d9792bc9bf0be6b01759909e9c4eedf32494 | 2,158 | py | Python | code/text_data_utils.py | ZengHaihong/Smart-network | f4143e2018641adc1dbe1bf51a0d76258ea449ac | [
"MIT"
] | 7 | 2019-10-11T08:02:49.000Z | 2022-02-27T12:28:09.000Z | code/text_data_utils.py | qmylzx/Smart-network | f4143e2018641adc1dbe1bf51a0d76258ea449ac | [
"MIT"
] | null | null | null | code/text_data_utils.py | qmylzx/Smart-network | f4143e2018641adc1dbe1bf51a0d76258ea449ac | [
"MIT"
] | 7 | 2019-10-11T08:02:42.000Z | 2021-07-20T07:19:37.000Z | def generate_data_replace_string():
'''
为了将日期字符串 /2/5 转换成 0205这样,
构建一个map,key为原始字符串,value为目标字符串
:return:
date_replace_str_map
'''
ori_str_list = []
new_str_list = []
for idx in range(1,9):
str_num = '/'+str(idx);
new_str_num = '0'+str(idx);
ori_str_list.append... | 31.275362 | 91 | 0.652456 | 358 | 2,158 | 3.541899 | 0.122905 | 0.113565 | 0.164038 | 0.094637 | 0.865931 | 0.823344 | 0.823344 | 0.823344 | 0.823344 | 0.823344 | 0 | 0.021505 | 0.224282 | 2,158 | 69 | 92 | 31.275362 | 0.735962 | 0.102873 | 0 | 0.727273 | 1 | 0 | 0.004253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0 | 0.090909 | 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 |
64f825db678a5077d947194db0105d6708941ce0 | 6,120 | py | Python | JigsawInferenceGizmo.py | shrutiichandra/JigsawInferenceGizmo | da9d60afa6b0a8d219fbab55bff2ce37f2013f73 | [
"MIT"
] | 25 | 2022-03-03T19:47:05.000Z | 2022-03-25T16:22:51.000Z | JigsawInferenceGizmo.py | shrutiichandra/JigsawInferenceGizmo | da9d60afa6b0a8d219fbab55bff2ce37f2013f73 | [
"MIT"
] | 2 | 2022-03-04T08:10:21.000Z | 2022-03-06T03:36:37.000Z | JigsawInferenceGizmo.py | shrutiichandra/JigsawInferenceGizmo | da9d60afa6b0a8d219fbab55bff2ce37f2013f73 | [
"MIT"
] | 11 | 2022-03-03T22:49:46.000Z | 2022-03-18T10:00:11.000Z | # JIG code from Stand-up Maths video "Why don't Jigsaw Puzzles have the correct number of pieces?"
def low_factors(n):
# all the factors which are the lower half of each factor pair
lf = []
for i in range(1, int(n**0.5)+1):
if n % i == 0:
lf.append(i)
return lf
def jig(w,h,n,b=0):... | 31.875 | 137 | 0.49951 | 843 | 6,120 | 3.424674 | 0.168446 | 0.062348 | 0.041566 | 0.029096 | 0.820229 | 0.820229 | 0.820229 | 0.820229 | 0.820229 | 0.820229 | 0 | 0.027566 | 0.401307 | 6,120 | 191 | 138 | 32.041885 | 0.760371 | 0.110784 | 0 | 0.916667 | 0 | 0.013889 | 0.13219 | 0.02618 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0 | 0 | 0.041667 | 0.1875 | 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 |
8f69683541c0d2ae8fb633f190dba96a193f6fc5 | 148 | py | Python | stable_baselines3/dqn/__init__.py | koulakis/stable-baselines3 | 08e7519381e800edc6bbd09577f14381b7341873 | [
"MIT"
] | null | null | null | stable_baselines3/dqn/__init__.py | koulakis/stable-baselines3 | 08e7519381e800edc6bbd09577f14381b7341873 | [
"MIT"
] | null | null | null | stable_baselines3/dqn/__init__.py | koulakis/stable-baselines3 | 08e7519381e800edc6bbd09577f14381b7341873 | [
"MIT"
] | null | null | null | from stable_baselines3.dqn.dqn import DQN
from stable_baselines3.dqn.policies import MlpPolicy
from stable_baselines3.dqn.policies import CnnPolicy
| 37 | 52 | 0.878378 | 21 | 148 | 6.047619 | 0.380952 | 0.23622 | 0.472441 | 0.543307 | 0.582677 | 0.582677 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.081081 | 148 | 3 | 53 | 49.333333 | 0.911765 | 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 |
713915d7d71c455fffc0203cbff522495c364eeb | 24,445 | py | Python | booking/tests.py | broskh/restaurants | 665fe69c8eeaae80c9a802abe6d5ca3343ab1689 | [
"MIT"
] | null | null | null | booking/tests.py | broskh/restaurants | 665fe69c8eeaae80c9a802abe6d5ca3343ab1689 | [
"MIT"
] | null | null | null | booking/tests.py | broskh/restaurants | 665fe69c8eeaae80c9a802abe6d5ca3343ab1689 | [
"MIT"
] | null | null | null | from datetime import datetime, timedelta
from django.test import TestCase, Client
from django.urls import reverse
from django.utils import timezone
from booking.models import Booking
from restaurants.utils import get_coordinates
from user_management.models import Restaurant, User
class BookingMethodsTests(TestCase)... | 39.555016 | 115 | 0.633381 | 2,705 | 24,445 | 5.54159 | 0.066543 | 0.063376 | 0.036424 | 0.042562 | 0.898866 | 0.872915 | 0.865177 | 0.863709 | 0.843362 | 0.842362 | 0 | 0.016499 | 0.248722 | 24,445 | 617 | 116 | 39.619125 | 0.799728 | 0 | 0 | 0.775322 | 0 | 0 | 0.083044 | 0.009204 | 0 | 0 | 0 | 0 | 0.090239 | 1 | 0.071823 | false | 0.071823 | 0.012891 | 0 | 0.099448 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
85417f819edd7802b362c96f8f5a411bc62c7664 | 11,364 | py | Python | app/tests/unit/modules/entity/test_request_entity.py | Clivern/Kevin | dfa6fe99d2599a3f1a9da7c9690e2fba6a825f1d | [
"Apache-2.0"
] | 2 | 2018-06-18T09:37:36.000Z | 2021-06-23T02:09:41.000Z | app/tests/unit/modules/entity/test_request_entity.py | Clivern/Kevin | dfa6fe99d2599a3f1a9da7c9690e2fba6a825f1d | [
"Apache-2.0"
] | 45 | 2018-04-08T11:53:05.000Z | 2018-06-12T20:45:38.000Z | app/tests/unit/modules/entity/test_request_entity.py | Clivern/Kevin | dfa6fe99d2599a3f1a9da7c9690e2fba6a825f1d | [
"Apache-2.0"
] | null | null | null | """
Request Entity Test Cases
"""
from django.test import TestCase
from pprint import pprint
from app.modules.entity.namespace_entity import Namespace_Entity
from app.modules.entity.endpoint_entity import Endpoint_Entity
from app.modules.entity.request_entity import Request_Entity
from django.contrib.auth.models impor... | 36.423077 | 145 | 0.529391 | 1,059 | 11,364 | 5.409821 | 0.061379 | 0.15151 | 0.057602 | 0.058649 | 0.923721 | 0.911852 | 0.902775 | 0.902775 | 0.887764 | 0.887764 | 0 | 0.001945 | 0.321454 | 11,364 | 312 | 146 | 36.423077 | 0.741019 | 0.0022 | 0 | 0.915541 | 0 | 0 | 0.151871 | 0 | 0 | 0 | 0 | 0 | 0.111486 | 1 | 0.02027 | false | 0.02027 | 0.02027 | 0 | 0.043919 | 0.003378 | 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 |
859383108cc9e4ced082f12dfb83fe29d05bf98c | 12,668 | py | Python | lib/ult/Generate_HICO_detection.py | abreza/HOI-CL | c5be517bb26eac73ef88a39d6ec9e564c3379714 | [
"MIT"
] | 40 | 2021-04-09T17:53:08.000Z | 2022-03-30T02:38:10.000Z | lib/ult/Generate_HICO_detection.py | abreza/HOI-CL | c5be517bb26eac73ef88a39d6ec9e564c3379714 | [
"MIT"
] | 21 | 2021-04-09T19:05:47.000Z | 2022-01-31T23:17:16.000Z | lib/ult/Generate_HICO_detection.py | abreza/HOI-CL | c5be517bb26eac73ef88a39d6ec9e564c3379714 | [
"MIT"
] | 8 | 2021-05-30T12:37:00.000Z | 2022-03-14T03:13:57.000Z | # --------------------------------------------------------
# Tensorflow VCL
# Licensed under The MIT License [see LICENSE for details]
# Written by Zhi Hou
# --------------------------------------------------------
"""
Change the HICO-DET detection results to the right format.
"""
import pickle
import numpy as np
imp... | 33.162304 | 102 | 0.511762 | 1,744 | 12,668 | 3.623853 | 0.287271 | 0.03038 | 0.012184 | 0.012658 | 0.804747 | 0.787975 | 0.782278 | 0.730696 | 0.730696 | 0.717722 | 0 | 0.192285 | 0.334938 | 12,668 | 381 | 103 | 33.249344 | 0.557864 | 0.279918 | 0 | 0.80427 | 0 | 0 | 0.026011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017794 | false | 0 | 0.035587 | 0 | 0.064057 | 0.014235 | 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 |
85bbee7a72432baab70dcf67b4519676dc5248b6 | 9,997 | py | Python | tests/query/v2/match/test_variable_length_relationships.py | tom-chensf/nebula-graph | 0f2f0d02879bfd2421815a26158e8fa030f19b62 | [
"Apache-2.0"
] | null | null | null | tests/query/v2/match/test_variable_length_relationships.py | tom-chensf/nebula-graph | 0f2f0d02879bfd2421815a26158e8fa030f19b62 | [
"Apache-2.0"
] | null | null | null | tests/query/v2/match/test_variable_length_relationships.py | tom-chensf/nebula-graph | 0f2f0d02879bfd2421815a26158e8fa030f19b62 | [
"Apache-2.0"
] | null | null | null | # --coding:utf-8--
#
# Copyright (c) 2020 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.
import pytest
from tests.common.nebula_test_suite import NebulaTestSuite
@pytest.mark.usefixtures('set_v... | 31.143302 | 93 | 0.468541 | 1,054 | 9,997 | 4.302657 | 0.132827 | 0.057111 | 0.049614 | 0.062845 | 0.860419 | 0.827122 | 0.827122 | 0.813671 | 0.806615 | 0.806615 | 0 | 0.015692 | 0.368911 | 9,997 | 320 | 94 | 31.240625 | 0.703123 | 0.090027 | 0 | 0.734615 | 0 | 0.065385 | 0.352643 | 0.075582 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026923 | false | 0 | 0.007692 | 0.007692 | 0.046154 | 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 |
a472d9dbbef1548c74841070f5d2c899c69f8e82 | 14,181 | py | Python | drf_tester/viewsets/staff.py | samuelmovi/drf-tester | 5ad4cfadbec98f13f73b656c8d690c591d09c216 | [
"MIT"
] | 1 | 2021-09-10T11:46:29.000Z | 2021-09-10T11:46:29.000Z | drf_tester/viewsets/staff.py | samuelmovi/drf-tester | 5ad4cfadbec98f13f73b656c8d690c591d09c216 | [
"MIT"
] | null | null | null | drf_tester/viewsets/staff.py | samuelmovi/drf-tester | 5ad4cfadbec98f13f73b656c8d690c591d09c216 | [
"MIT"
] | null | null | null | """
Collection of classes to be used in the testing of access to a Viewset by a STAFF user
"""
from rest_framework import status
from rest_framework.test import force_authenticate
from ..utils import BaseDrfTest
class NoList(BaseDrfTest):
def test_staff_user_cannot_list_existing_instance(self):
"""Staff... | 36.929688 | 98 | 0.67527 | 1,682 | 14,181 | 5.51308 | 0.083829 | 0.043675 | 0.029764 | 0.049606 | 0.906503 | 0.886337 | 0.823358 | 0.7469 | 0.738488 | 0.738488 | 0 | 0.00655 | 0.235667 | 14,181 | 383 | 99 | 37.02611 | 0.848971 | 0.18828 | 0 | 0.730392 | 0 | 0 | 0.004976 | 0.003998 | 0 | 0 | 0 | 0 | 0.142157 | 1 | 0.098039 | false | 0.019608 | 0.014706 | 0 | 0.230392 | 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 |
a494b54b716174578140bc992363b676003a99ac | 116 | py | Python | ocr/data_helper/__init__.py | aksharsramesh/optical-character-recognition | ccd9b9eb17aeab8d67be2fc842228e3280f3ff2b | [
"MIT"
] | null | null | null | ocr/data_helper/__init__.py | aksharsramesh/optical-character-recognition | ccd9b9eb17aeab8d67be2fc842228e3280f3ff2b | [
"MIT"
] | null | null | null | ocr/data_helper/__init__.py | aksharsramesh/optical-character-recognition | ccd9b9eb17aeab8d67be2fc842228e3280f3ff2b | [
"MIT"
] | null | null | null | # import the necessary packages
from .data_helper import load_mnist_dataset
from .data_helper import load_az_dataset | 38.666667 | 43 | 0.87069 | 18 | 116 | 5.277778 | 0.611111 | 0.168421 | 0.294737 | 0.421053 | 0.505263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 3 | 44 | 38.666667 | 0.913462 | 0.25 | 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 |
a49d295aabcb67672071aae5309dcbad5b403a40 | 4,718 | py | Python | data/config.py | isLouisHsu/Pytorch_Retinaface | 2db5e9aaec42d9605494032a5fa70fb7b82831de | [
"MIT"
] | null | null | null | data/config.py | isLouisHsu/Pytorch_Retinaface | 2db5e9aaec42d9605494032a5fa70fb7b82831de | [
"MIT"
] | null | null | null | data/config.py | isLouisHsu/Pytorch_Retinaface | 2db5e9aaec42d9605494032a5fa70fb7b82831de | [
"MIT"
] | null | null | null | # config.py
cfg_mnet = {
'name': 'mobilenet0.25',
'in_channels': 3,
'min_sizes': [[16, 32], [64, 128], [256, 512]],
'steps': [8, 16, 32],
'variance': [0.1, 0.2],
'clip': False,
'loc_weight': 2.0,
'gpu_train': True,
'batch_size': 64,
'ngpu': 1,
'epoch': 200,
'decay1': 190... | 26.655367 | 97 | 0.523527 | 609 | 4,718 | 3.889984 | 0.172414 | 0.027016 | 0.03377 | 0.040523 | 0.832419 | 0.829886 | 0.824821 | 0.806247 | 0.806247 | 0.806247 | 0 | 0.144102 | 0.221916 | 4,718 | 177 | 98 | 26.655367 | 0.501226 | 0.038788 | 0 | 0.762195 | 0 | 0 | 0.433583 | 0.12842 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f10e46f519a19547d255f39dd520b21ce38ebe18 | 1,867 | py | Python | checkFolderIntegrity.py | armstjc/Retrosheet_DB | d4eea9dd244f92a8b9e7680a59f174af67498b6c | [
"MIT"
] | 2 | 2021-12-17T04:08:13.000Z | 2021-12-19T14:05:20.000Z | checkFolderIntegrity.py | armstjc/Retrosheet_DB | d4eea9dd244f92a8b9e7680a59f174af67498b6c | [
"MIT"
] | null | null | null | checkFolderIntegrity.py | armstjc/Retrosheet_DB | d4eea9dd244f92a8b9e7680a59f174af67498b6c | [
"MIT"
] | null | null | null | import os
def checkFolderCreation():
try:
os.mkdir('raw_data')
except:
pass
try:
os.mkdir('raw_data/zip')
except:
pass
try:
os.mkdir('raw_data/retrosheet')
except:
pass
try:
os.mkdir('raw_data/retrosplit')
except:
... | 16.972727 | 60 | 0.546867 | 202 | 1,867 | 4.826733 | 0.153465 | 0.102564 | 0.205128 | 0.253333 | 0.855385 | 0.817436 | 0.817436 | 0.789744 | 0.544615 | 0.422564 | 0 | 0 | 0.352437 | 1,867 | 110 | 61 | 16.972727 | 0.806452 | 0 | 0 | 0.744186 | 0 | 0 | 0.312634 | 0.275161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | true | 0.232558 | 0.011628 | 0 | 0.034884 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
f11f1c43cde469c2d94f69913987d2fd8aa363d2 | 5,654 | py | Python | romantic-revolutionaries/test/test_viewcontrol.py | LaFeeVert/code-jam-6 | f65b284c58ae653f9212923c6d3296cf252b6453 | [
"MIT"
] | null | null | null | romantic-revolutionaries/test/test_viewcontrol.py | LaFeeVert/code-jam-6 | f65b284c58ae653f9212923c6d3296cf252b6453 | [
"MIT"
] | 2 | 2020-01-21T19:46:57.000Z | 2020-01-21T20:33:05.000Z | romantic-revolutionaries/test/test_viewcontrol.py | LaFeeVert/code-jam-6 | f65b284c58ae653f9212923c6d3296cf252b6453 | [
"MIT"
] | 2 | 2020-01-20T23:46:14.000Z | 2020-01-21T05:50:15.000Z | """Unitest the view control.
Run these tests with either with "pytest" or python -m "unittest"
from within the same directory.
"""
import unittest
from modules.view.viewcontrol import ViewControl
from modules.navigation.navcont import NavControl, Directions
from modules.map.MapControl import DungeonMap
class Obser... | 32.494253 | 65 | 0.671737 | 890 | 5,654 | 4.235955 | 0.091011 | 0.046419 | 0.108223 | 0.12626 | 0.820955 | 0.818302 | 0.811671 | 0.811671 | 0.811671 | 0.811671 | 0 | 0.006988 | 0.240715 | 5,654 | 173 | 66 | 32.682081 | 0.871186 | 0.032013 | 0 | 0.802817 | 0 | 0 | 0.429094 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 1 | 0.028169 | false | 0.105634 | 0.028169 | 0 | 0.070423 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
f12aabd1f6418eee7af037f399cf036bc5f2db08 | 165 | py | Python | google_images_download/__init__.py | Aerobautics/google-images-download | 52ed15b3aae9abdb68b0b8567115ac0a42d0a93a | [
"MIT"
] | null | null | null | google_images_download/__init__.py | Aerobautics/google-images-download | 52ed15b3aae9abdb68b0b8567115ac0a42d0a93a | [
"MIT"
] | null | null | null | google_images_download/__init__.py | Aerobautics/google-images-download | 52ed15b3aae9abdb68b0b8567115ac0a42d0a93a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from __future__ import absolute_import
def main():
import google_images_download.google_images_download
if __name__ == '__main__':
main()
| 18.333333 | 53 | 0.781818 | 22 | 165 | 5.090909 | 0.681818 | 0.214286 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 165 | 8 | 54 | 20.625 | 0.772414 | 0.121212 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
2d20150f4ff1fc76d598cb2fa324cba41a39aa2a | 266 | py | Python | torchvision_3d/models/__init__.py | rubythalib33/3D-Torchvision | 7dab0a3d1d83e6046320f879af2bff28b31310ab | [
"MIT"
] | 4 | 2022-03-09T02:53:12.000Z | 2022-03-10T14:35:06.000Z | torchvision_3d/models/__init__.py | rubythalib33/3D-Torchvision | 7dab0a3d1d83e6046320f879af2bff28b31310ab | [
"MIT"
] | null | null | null | torchvision_3d/models/__init__.py | rubythalib33/3D-Torchvision | 7dab0a3d1d83e6046320f879af2bff28b31310ab | [
"MIT"
] | 1 | 2022-03-10T14:35:08.000Z | 2022-03-10T14:35:08.000Z | from torchvision_3d.models.alexnet import *
from torchvision_3d.models.vgg import *
from torchvision_3d.models.resnet import *
from torchvision_3d.models.densenet import *
from torchvision_3d.models.squeezenet import *
from torchvision_3d.models.mobilenetv2 import * | 44.333333 | 47 | 0.845865 | 36 | 266 | 6.083333 | 0.305556 | 0.410959 | 0.465753 | 0.630137 | 0.6621 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028807 | 0.086466 | 266 | 6 | 47 | 44.333333 | 0.872428 | 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 |
2d205b4bdbb6b2e7797ab66ee1b73933fe7ac633 | 248 | py | Python | src/behavior_tree_learning/gp.py | dgerod/behavior_tree_learning | 71da80c91ecd48fd5da377f83604b62112ba9629 | [
"Apache-2.0"
] | 7 | 2022-02-09T12:51:51.000Z | 2022-03-19T14:40:16.000Z | src/behavior_tree_learning/gp.py | dgerod/behavior_tree_learning | 71da80c91ecd48fd5da377f83604b62112ba9629 | [
"Apache-2.0"
] | 2 | 2022-02-03T10:54:41.000Z | 2022-02-15T10:32:03.000Z | src/behavior_tree_learning/gp.py | dgerod/behavior_tree_learning | 71da80c91ecd48fd5da377f83604b62112ba9629 | [
"Apache-2.0"
] | null | null | null | from behavior_tree_learning.core.gp import GeneticEnvironment, GeneticOperators
from behavior_tree_learning.core.gp import GeneticParameters, GeneticSelectionMethods, TraceConfiguration
from behavior_tree_learning.core.gp import GeneticProgramming
| 62 | 105 | 0.903226 | 27 | 248 | 8.074074 | 0.481481 | 0.165138 | 0.220183 | 0.330275 | 0.495413 | 0.495413 | 0.495413 | 0 | 0 | 0 | 0 | 0 | 0.060484 | 248 | 3 | 106 | 82.666667 | 0.935622 | 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 |
7469eebdd1b10b1d2ecf28291f3dbd2919696c12 | 9,724 | py | Python | axelrod/tests/unit/test_qlearner.py | t0nyt93/Axelroddd | 66d95378d3ece8b32afeb1c77d305397bd9a815e | [
"MIT"
] | null | null | null | axelrod/tests/unit/test_qlearner.py | t0nyt93/Axelroddd | 66d95378d3ece8b32afeb1c77d305397bd9a815e | [
"MIT"
] | null | null | null | axelrod/tests/unit/test_qlearner.py | t0nyt93/Axelroddd | 66d95378d3ece8b32afeb1c77d305397bd9a815e | [
"MIT"
] | 1 | 2019-03-11T08:56:09.000Z | 2019-03-11T08:56:09.000Z | """Tests for the QLearner strategies."""
import random
import axelrod
from axelrod import simulate_play, Game
from .test_player import TestPlayer, test_responses
C, D = axelrod.Actions.C, axelrod.Actions.D
class TestRiskyQLearner(TestPlayer):
name = 'Risky QLearner'
player = axelrod.RiskyQLearner
expe... | 33.881533 | 80 | 0.530852 | 1,298 | 9,724 | 3.876733 | 0.072419 | 0.01868 | 0.125 | 0.025437 | 0.860095 | 0.855525 | 0.843601 | 0.838831 | 0.838831 | 0.838831 | 0 | 0.067595 | 0.298643 | 9,724 | 286 | 81 | 34 | 0.670235 | 0.079597 | 0 | 0.842795 | 0 | 0 | 0.072947 | 0 | 0 | 0 | 0 | 0 | 0.161572 | 1 | 0.091703 | false | 0 | 0.017467 | 0 | 0.179039 | 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 |
749195c7a6af3229eeafbb2bf4df19cc7155054d | 35,344 | py | Python | sketch2image/log_wgan/models_crn_gan_enc_stack_gru_small.py | xuhuaren/GoogleAIWinterCamp-img2poem | 4bb697b46f7ffa50dd45939acc9973632a3b84f8 | [
"Apache-2.0"
] | 1 | 2019-01-17T11:02:40.000Z | 2019-01-17T11:02:40.000Z | sketch2image/log_wgan/models_crn_gan_enc_stack_gru_small.py | xuhuaren/GoogleAIWinterCamp-img2poem | 4bb697b46f7ffa50dd45939acc9973632a3b84f8 | [
"Apache-2.0"
] | null | null | null | sketch2image/log_wgan/models_crn_gan_enc_stack_gru_small.py | xuhuaren/GoogleAIWinterCamp-img2poem | 4bb697b46f7ffa50dd45939acc9973632a3b84f8 | [
"Apache-2.0"
] | null | null | null | import functools
import numpy as np
import tensorflow as tf
import tensorflow.contrib.layers as ly
from tensorflow.python.framework import ops
from resnet_rnn import resnet_block, resnet_deconv_block, resnet_conv, resnet_deconv, upsample_conv, mean_pool, unrolled_lstm_conv, unrolled_lstm_deconv, unrolled_gru_conv, unr... | 48.087075 | 192 | 0.541025 | 4,000 | 35,344 | 4.42825 | 0.056 | 0.072263 | 0.035567 | 0.05081 | 0.855643 | 0.829447 | 0.811325 | 0.786089 | 0.769153 | 0.733473 | 0 | 0.026419 | 0.372425 | 35,344 | 734 | 193 | 48.152589 | 0.772147 | 0.107373 | 0 | 0.732143 | 0 | 0 | 0.015223 | 0.003655 | 0 | 0 | 0 | 0 | 0.007143 | 1 | 0.023214 | false | 0 | 0.010714 | 0 | 0.055357 | 0.014286 | 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 |
7776110e7b7bc87f31f8e07f398e74c9f29c68a4 | 447,562 | py | Python | referencesrv/tests/unittests/stubdata/dataXML.py | romanchyla/reference_service | f192c4627750258d25776617d8acd09fe0a8cead | [
"MIT"
] | null | null | null | referencesrv/tests/unittests/stubdata/dataXML.py | romanchyla/reference_service | f192c4627750258d25776617d8acd09fe0a8cead | [
"MIT"
] | null | null | null | referencesrv/tests/unittests/stubdata/dataXML.py | romanchyla/reference_service | f192c4627750258d25776617d8acd09fe0a8cead | [
"MIT"
] | null | null | null | train_1 = [[[('AUTHOR_FIRST_NAME', u'J.D.'), ('AUTHOR_LAST_NAME', u'Adams'), ('AUTHOR_FIRST_NAME', u'T.L.'), ('AUTHOR_LAST_NAME', u'Herter'), ('AUTHOR_FIRST_NAME', u'G.E.'), ('AUTHOR_LAST_NAME', u'Gull'), ('AUTHOR_FIRST_NAME', u'J.'), ('AUTHOR_LAST_NAME', u'Shoenwald'), ('AUTHOR_FIRST_NAME', u'C.P.'), ('AUTHOR_LAST_N... | 1,021.83105 | 2,283 | 0.628219 | 67,330 | 447,562 | 4.130061 | 0.055993 | 0.0665 | 0.037206 | 0.039863 | 0.876689 | 0.77726 | 0.754546 | 0.705894 | 0.631674 | 0.563722 | 0 | 0.067968 | 0.10559 | 447,562 | 438 | 2,284 | 1,021.83105 | 0.626696 | 0 | 0 | 0 | 0 | 1.37931 | 0.783425 | 0.03221 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.016092 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
77d7706d273317b8f1ce17a1000ae9b8d0533e23 | 121 | py | Python | stable_baselines3/sac_latent/__init__.py | NicholasCorrado/stable-baselines3 | 77793947335c6b14747c2c5179a7c05c93289ffd | [
"MIT"
] | null | null | null | stable_baselines3/sac_latent/__init__.py | NicholasCorrado/stable-baselines3 | 77793947335c6b14747c2c5179a7c05c93289ffd | [
"MIT"
] | null | null | null | stable_baselines3/sac_latent/__init__.py | NicholasCorrado/stable-baselines3 | 77793947335c6b14747c2c5179a7c05c93289ffd | [
"MIT"
] | null | null | null | from stable_baselines3.sac_latent.policies import MlpPolicy
from stable_baselines3.sac_latent.sac_latent import SACLatent | 60.5 | 61 | 0.909091 | 17 | 121 | 6.176471 | 0.529412 | 0.257143 | 0.380952 | 0.438095 | 0.552381 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.057851 | 121 | 2 | 61 | 60.5 | 0.903509 | 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 |
77da424a16d7a0be85babfb3ee9513c48452950e | 125,756 | py | Python | tccli/services/cpdp/cpdp_client.py | ws0416/tencentcloud-cli | 0a90fa77c8be1efa30b196a3eeb31b8be1f6a325 | [
"Apache-2.0"
] | null | null | null | tccli/services/cpdp/cpdp_client.py | ws0416/tencentcloud-cli | 0a90fa77c8be1efa30b196a3eeb31b8be1f6a325 | [
"Apache-2.0"
] | null | null | null | tccli/services/cpdp/cpdp_client.py | ws0416/tencentcloud-cli | 0a90fa77c8be1efa30b196a3eeb31b8be1f6a325 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli import __version__
from tccli.utils import Utils
from tccli.exceptions import ConfigurationError
from tencentcloud.common import credential
from tencentcloud.common.profile.ht... | 43.939902 | 105 | 0.728625 | 14,204 | 125,756 | 6.210645 | 0.028865 | 0.085223 | 0.247041 | 0.056883 | 0.871713 | 0.869684 | 0.868867 | 0.868051 | 0.866986 | 0.820565 | 0 | 0.008061 | 0.163459 | 125,756 | 2,861 | 106 | 43.95526 | 0.830494 | 0.007721 | 0 | 0.748038 | 0 | 0 | 0.038488 | 0.006095 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038069 | false | 0 | 0.00471 | 0.000392 | 0.043564 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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.