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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3be947a82f13de6d26fc798282d17c1307b2aaf7 | 257 | py | Python | ex-mundo3/ex107/moeda.py | PedroPegado/ex-cursoemvideo | 46751a7238e6a142b639c4cc3acf1759411732d7 | [
"MIT"
] | null | null | null | ex-mundo3/ex107/moeda.py | PedroPegado/ex-cursoemvideo | 46751a7238e6a142b639c4cc3acf1759411732d7 | [
"MIT"
] | null | null | null | ex-mundo3/ex107/moeda.py | PedroPegado/ex-cursoemvideo | 46751a7238e6a142b639c4cc3acf1759411732d7 | [
"MIT"
] | null | null | null | def aumentar(preco, taxa):
p = preco + (preco * taxa/100)
return p
def diminuir(preco, taxa):
p = preco - (preco * taxa/100)
return p
def dobro(preco):
p = preco * 2
return p
def metade(preco):
p = preco / 2
return p
| 12.238095 | 34 | 0.564202 | 38 | 257 | 3.815789 | 0.289474 | 0.248276 | 0.206897 | 0.206897 | 0.772414 | 0.772414 | 0.510345 | 0.510345 | 0.510345 | 0.510345 | 0 | 0.045714 | 0.319066 | 257 | 20 | 35 | 12.85 | 0.782857 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3beb73cbef34b508a909878716873d4472cedd74 | 64 | py | Python | tftf/layers/activations/tanh.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | 35 | 2018-08-11T05:01:41.000Z | 2021-01-29T02:28:47.000Z | tftf/layers/activations/tanh.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | null | null | null | tftf/layers/activations/tanh.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | 4 | 2018-10-19T14:12:04.000Z | 2021-01-29T02:28:49.000Z | import tensorflow as tf
def tanh(x):
return tf.nn.tanh(x)
| 10.666667 | 24 | 0.671875 | 12 | 64 | 3.583333 | 0.75 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 64 | 5 | 25 | 12.8 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
ce14ba7248ea553bc8bf340da9e895166445335c | 47 | py | Python | libs/messaging_service/__init__.py | wip-abramson/aries-jupyter-playground | 872f1a319f9072d7160298fcce82fb64c93d7397 | [
"Apache-2.0"
] | 6 | 2021-05-27T12:51:32.000Z | 2022-01-11T05:49:12.000Z | libs/messaging_service/__init__.py | SoftwareImpacts/SIMPAC-2021-64 | 4089946109e05516bbea70359d3bf1d02b245f4a | [
"Apache-2.0"
] | 2 | 2021-10-05T07:38:05.000Z | 2022-02-10T11:38:18.000Z | libs/messaging_service/__init__.py | SoftwareImpacts/SIMPAC-2021-64 | 4089946109e05516bbea70359d3bf1d02b245f4a | [
"Apache-2.0"
] | 7 | 2021-04-22T14:18:06.000Z | 2022-02-14T10:30:52.000Z | from .messaging_service import MessagingService | 47 | 47 | 0.914894 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce1579bf8768e7cef70aebd7b3896b98ea1a0187 | 54 | py | Python | networkx-d3-v2/networkx/tests/__init__.py | suraj-testing2/Clock_Websites | 0e65331da40cfd3766f1bde17f0a9c7ff6666dea | [
"Apache-2.0"
] | null | null | null | networkx-d3-v2/networkx/tests/__init__.py | suraj-testing2/Clock_Websites | 0e65331da40cfd3766f1bde17f0a9c7ff6666dea | [
"Apache-2.0"
] | null | null | null | networkx-d3-v2/networkx/tests/__init__.py | suraj-testing2/Clock_Websites | 0e65331da40cfd3766f1bde17f0a9c7ff6666dea | [
"Apache-2.0"
] | null | null | null | from .utils_tests import *
from .views_tests import *
| 18 | 26 | 0.777778 | 8 | 54 | 5 | 0.625 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce21a48448d28f3cf598b5cbc7c2ecedcc9ebfb2 | 46,925 | py | Python | tests/unittests/test_mock_network_plugin_public_nat.py | cloudify-cosmo/tosca-vcloud-plugin | c5196abd066ba5315b66911e5390b0ed6c15988f | [
"Apache-2.0"
] | 4 | 2015-02-25T12:39:01.000Z | 2018-02-14T15:14:16.000Z | tests/unittests/test_mock_network_plugin_public_nat.py | cloudify-cosmo/tosca-vcloud-plugin | c5196abd066ba5315b66911e5390b0ed6c15988f | [
"Apache-2.0"
] | 45 | 2015-01-13T13:55:10.000Z | 2020-02-04T15:06:15.000Z | tests/unittests/test_mock_network_plugin_public_nat.py | cloudify-cosmo/tosca-vcloud-plugin | c5196abd066ba5315b66911e5390b0ed6c15988f | [
"Apache-2.0"
] | 21 | 2015-01-21T17:17:18.000Z | 2021-05-05T14:08:25.000Z | # Copyright (c) 2014-2020 Cloudify Platform Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 36.919748 | 79 | 0.542248 | 4,799 | 46,925 | 4.926026 | 0.055845 | 0.062775 | 0.044924 | 0.032953 | 0.880711 | 0.857064 | 0.835321 | 0.823646 | 0.793866 | 0.770178 | 0 | 0.024595 | 0.36228 | 46,925 | 1,270 | 80 | 36.948819 | 0.76538 | 0.046947 | 0 | 0.673759 | 0 | 0 | 0.11188 | 0.030419 | 0 | 0 | 0 | 0 | 0.062057 | 1 | 0.022163 | false | 0 | 0.007979 | 0 | 0.037234 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbe97f3cb389489740f1e42249ec7c347020db47 | 30 | py | Python | otscrape/core/extractor/nested/__init__.py | SSripilaipong/otscrape | 73ad2ea3d20841cf5d81b37180a1f21c48e87480 | [
"MIT"
] | null | null | null | otscrape/core/extractor/nested/__init__.py | SSripilaipong/otscrape | 73ad2ea3d20841cf5d81b37180a1f21c48e87480 | [
"MIT"
] | null | null | null | otscrape/core/extractor/nested/__init__.py | SSripilaipong/otscrape | 73ad2ea3d20841cf5d81b37180a1f21c48e87480 | [
"MIT"
] | null | null | null | from .zip_dict import ZipDict
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbf7a1ce96364e36588a482e13d4799ada06f5db | 16,642 | py | Python | src/speech/deep_model.py | dem123456789/Speech-Emotion-Recognition-with-Dual-Sequence-LSTM-Architecture | a072cb940201bbcdb2d0f4d0dfa1dde478fa4464 | [
"MIT"
] | 6 | 2020-08-03T03:13:25.000Z | 2022-02-11T08:32:10.000Z | src/speech/deep_model.py | dem123456789/Speech-Emotion-Recognition-with-Dual-Sequence-LSTM-Architecture | a072cb940201bbcdb2d0f4d0dfa1dde478fa4464 | [
"MIT"
] | 1 | 2020-09-08T16:10:38.000Z | 2020-09-08T16:10:38.000Z | src/speech/deep_model.py | dem123456789/Speech-Emotion-Recognition-with-Dual-Sequence-LSTM-Architecture | a072cb940201bbcdb2d0f4d0dfa1dde478fa4464 | [
"MIT"
] | 2 | 2020-08-03T21:37:21.000Z | 2021-03-26T02:19:17.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.utils.rnn import pad_packed_sequence
import pdb
import math
torch.manual_seed(1)
class GRUAudio(nn.Module):
def __init__(self, num_features, hidden_dim, num_layers, dropout_rate, num_labels, batch_size, bidirectional=False):
... | 42.671795 | 175 | 0.651785 | 2,288 | 16,642 | 4.531031 | 0.08479 | 0.051992 | 0.046397 | 0.037041 | 0.80573 | 0.788078 | 0.785184 | 0.781036 | 0.770425 | 0.740523 | 0 | 0.010782 | 0.230922 | 16,642 | 390 | 176 | 42.671795 | 0.799203 | 0.070124 | 0 | 0.608059 | 0 | 0 | 0.004793 | 0 | 0 | 0 | 0 | 0 | 0.007326 | 1 | 0.062271 | false | 0 | 0.021978 | 0 | 0.14652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbf8a1ef0f33878d804eb957ddcbefc421928a1b | 40 | py | Python | problem/01000~09999/09498/9498.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/09498/9498.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/09498/9498.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | print(("F"*6+"DCBAA")[int(input())//10]) | 40 | 40 | 0.55 | 7 | 40 | 3.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 40 | 1 | 40 | 40 | 0.475 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0212be2b426e881f46ce9b5faa0a4d6cd2b0e659 | 11 | py | Python | py2codes/py2_exec.py | rhabacker/lib2to3import | 36102fa844bf18234053d96f6b9b90f5c6068e87 | [
"MIT"
] | null | null | null | py2codes/py2_exec.py | rhabacker/lib2to3import | 36102fa844bf18234053d96f6b9b90f5c6068e87 | [
"MIT"
] | 1 | 2020-11-14T01:39:18.000Z | 2020-11-17T07:54:28.000Z | py2codes/py2_exec.py | rhabacker/lib2to3import | 36102fa844bf18234053d96f6b9b90f5c6068e87 | [
"MIT"
] | 2 | 2019-08-12T09:58:05.000Z | 2021-03-18T17:13:06.000Z | exec "123"
| 5.5 | 10 | 0.636364 | 2 | 11 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.181818 | 11 | 1 | 11 | 11 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
028456bd34d14ef1d7f23ca7f443c4b9f0404a35 | 4,071 | py | Python | waferscreen/inst_control/inactive/agilent_34970A.py | chw3k5/WaferScreen | c0ca7fe939fe7cd0b722b7d6129b148c03a7505c | [
"Apache-2.0"
] | 1 | 2021-07-30T19:06:07.000Z | 2021-07-30T19:06:07.000Z | waferscreen/inst_control/inactive/agilent_34970A.py | chw3k5/WaferScreen | c0ca7fe939fe7cd0b722b7d6129b148c03a7505c | [
"Apache-2.0"
] | 8 | 2021-04-22T20:47:48.000Z | 2021-07-30T19:06:01.000Z | waferscreen/inst_control/inactive/agilent_34970A.py | chw3k5/WaferScreen | c0ca7fe939fe7cd0b722b7d6129b148c03a7505c | [
"Apache-2.0"
] | null | null | null | import serial
class Agilent34970A:
def __init__(self):
self.timeout = 10
self.baudrate = 4800
self.bytesize = serial.EIGHTBITS
self.parity = serial.PARITY_NONE
self.stopbits = serial.STOPBITS_ONE
xonxoff = True
self.s = serial.Serial(port='/dev/ttyUSB3', time... | 39.911765 | 119 | 0.503316 | 457 | 4,071 | 4.47046 | 0.146608 | 0.063632 | 0.083211 | 0.133138 | 0.73862 | 0.73862 | 0.73862 | 0.73862 | 0.72883 | 0.72883 | 0 | 0.010537 | 0.300663 | 4,071 | 101 | 120 | 40.306931 | 0.70706 | 0 | 0 | 0.47561 | 0 | 0 | 0.10366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.012195 | null | null | 0.02439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a3c1f4058904f112a823d0ce1fa4d2ba743c174 | 6,151 | py | Python | models/grammateus.py | monotasker/Online-Critical-Pseudepigrapha | 456ef828834aeaedda8204a6107729f277063b9f | [
"W3C"
] | 1 | 2017-09-03T12:59:19.000Z | 2017-09-03T12:59:19.000Z | models/grammateus.py | OnlineCriticalPseudepigrapha/Online-Critical-Pseudepigrapha | 456ef828834aeaedda8204a6107729f277063b9f | [
"W3C"
] | 18 | 2018-05-11T17:08:48.000Z | 2018-06-29T20:15:37.000Z | models/grammateus.py | monotasker/Online-Critical-Pseudepigrapha | 456ef828834aeaedda8204a6107729f277063b9f | [
"W3C"
] | 1 | 2017-09-17T16:13:45.000Z | 2017-09-17T16:13:45.000Z | #! /usr/bin/python2.7
# -*- coding: utf8 -*-
import datetime
# from plugin_ajaxselect import AjaxSelect
if 0:
from gluon import db, Field, auth, IS_EMPTY_OR, IS_IN_DB, current, URL
response = current.response
response.files.insert(5, URL('static',
'plugin_ajaxselect/plugin_ajaxselect.js... | 44.572464 | 105 | 0.662656 | 846 | 6,151 | 4.544917 | 0.105201 | 0.137321 | 0.163849 | 0.071521 | 0.881665 | 0.881665 | 0.842653 | 0.842653 | 0.842653 | 0.842653 | 0 | 0.006439 | 0.166802 | 6,151 | 137 | 106 | 44.89781 | 0.743805 | 0.026175 | 0 | 0.598361 | 0 | 0 | 0.229201 | 0.013197 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016393 | 0 | 0.016393 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a44e929a11797422604acb7129e5a00747b908f | 2,350 | py | Python | gb/tests/test_gibbs_sampler.py | myozka/granger-busca | e6922f85aa58ab0809951ec4d60b5df43d6c74e8 | [
"BSD-3-Clause"
] | 5 | 2018-09-06T13:37:04.000Z | 2019-12-16T13:53:26.000Z | gb/tests/test_gibbs_sampler.py | myozka/granger-busca | e6922f85aa58ab0809951ec4d60b5df43d6c74e8 | [
"BSD-3-Clause"
] | 1 | 2021-06-09T06:08:25.000Z | 2021-07-13T18:10:09.000Z | gb/tests/test_gibbs_sampler.py | myozka/granger-busca | e6922f85aa58ab0809951ec4d60b5df43d6c74e8 | [
"BSD-3-Clause"
] | 4 | 2020-03-30T14:54:27.000Z | 2021-09-23T18:48:14.000Z | # -*- coding: utf8
from gb.randomkit.random import RNG
from gb.samplers import BaseSampler
from gb.samplers import CollapsedGibbsSampler
from gb.stamps import Timestamps
from gb.sloppy import SloppyCounter
from numpy.testing import assert_equal
import numpy as np
def test_get_probability():
d = {}
d[0] = ... | 28.313253 | 73 | 0.631064 | 325 | 2,350 | 4.375385 | 0.178462 | 0.059072 | 0.075949 | 0.073136 | 0.746132 | 0.732771 | 0.732771 | 0.708861 | 0.708861 | 0.672996 | 0 | 0.155221 | 0.237872 | 2,350 | 82 | 74 | 28.658537 | 0.638749 | 0.006809 | 0 | 0.776119 | 0 | 0 | 0.010292 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 1 | 0.029851 | false | 0 | 0.104478 | 0 | 0.134328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a4e07f2b94ab476e5ae09d4fd2d5f84fb6f63e2 | 72 | py | Python | __init__.py | VASemenov/Genetica | 5f51159e182a628c2d33c8a401719924b3611df5 | [
"MIT"
] | null | null | null | __init__.py | VASemenov/Genetica | 5f51159e182a628c2d33c8a401719924b3611df5 | [
"MIT"
] | null | null | null | __init__.py | VASemenov/Genetica | 5f51159e182a628c2d33c8a401719924b3611df5 | [
"MIT"
] | null | null | null | from genetica.dna import DNA, genify
from genetica.model import Genetica | 36 | 36 | 0.847222 | 11 | 72 | 5.545455 | 0.545455 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 37 | 36 | 0.953125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a6c3376aee63cfa4176eec2e2221796087f1da4 | 55 | py | Python | app/cli/plugin/__init__.py | lonless0/flask_project | f5d6c5c7655e54d95069b469e3d470eda7a05cb7 | [
"MIT"
] | 786 | 2019-01-15T14:30:37.000Z | 2022-03-28T08:53:39.000Z | app/cli/plugin/__init__.py | lonless0/flask_project | f5d6c5c7655e54d95069b469e3d470eda7a05cb7 | [
"MIT"
] | 107 | 2019-01-18T05:15:16.000Z | 2022-03-16T07:13:05.000Z | app/cli/plugin/__init__.py | lonless0/flask_project | f5d6c5c7655e54d95069b469e3d470eda7a05cb7 | [
"MIT"
] | 222 | 2019-01-16T14:44:23.000Z | 2022-03-23T11:33:00.000Z | from .generator import generate
from .init import init
| 18.333333 | 31 | 0.818182 | 8 | 55 | 5.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 32 | 27.5 | 0.957447 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce517a5ddc247572eac79c178a88597e1d88b706 | 43 | py | Python | models/__init__.py | salesforce/DataHardness | 18b9231f8d08f35b2452e6357b7d6b31f21c695c | [
"BSD-3-Clause"
] | 3 | 2021-11-18T22:48:28.000Z | 2022-01-08T08:02:31.000Z | models/__init__.py | salesforce/DataHardness | 18b9231f8d08f35b2452e6357b7d6b31f21c695c | [
"BSD-3-Clause"
] | null | null | null | models/__init__.py | salesforce/DataHardness | 18b9231f8d08f35b2452e6357b7d6b31f21c695c | [
"BSD-3-Clause"
] | 1 | 2021-11-18T22:48:32.000Z | 2021-11-18T22:48:32.000Z | from models.glow import Glow, GlowAdditive
| 21.5 | 42 | 0.837209 | 6 | 43 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce8e42b2a35ed5fd98c1fefc1db9f29031a082bc | 2,270 | py | Python | migrations/versions/2019_03_04_optional_chart_and_table_classifications.py.py | AlexKouzy/ethnicity-facts-and-figures-publisher | 18ab2495a8633f585e18e607c7f75daa564a053d | [
"MIT"
] | 1 | 2021-10-06T13:48:36.000Z | 2021-10-06T13:48:36.000Z | migrations/versions/2019_03_04_optional_chart_and_table_classifications.py.py | AlexKouzy/ethnicity-facts-and-figures-publisher | 18ab2495a8633f585e18e607c7f75daa564a053d | [
"MIT"
] | 116 | 2018-11-02T17:20:47.000Z | 2022-02-09T11:06:22.000Z | migrations/versions/2019_03_04_optional_chart_and_table_classifications.py.py | racedisparityaudit/rd_cms | a12f0e3f5461cc41eed0077ed02e11efafc5dd76 | [
"MIT"
] | 2 | 2018-11-09T16:47:35.000Z | 2020-04-09T13:06:48.000Z | """Make some fields on Chart and Table nullable
We want to copy chart and table data across to these tables but have no way to add a
classification for each one, so we'll have to live with some nulls in here.
Revision ID: 2019_03_04_make_fields_nullable
Revises: 2019_03_04_chart_table_settings
Create Date: 2019-03-05... | 54.047619 | 113 | 0.781498 | 320 | 2,270 | 5.271875 | 0.25 | 0.06639 | 0.123296 | 0.208654 | 0.791938 | 0.791938 | 0.73029 | 0.73029 | 0.727919 | 0.727919 | 0 | 0.031189 | 0.096035 | 2,270 | 41 | 114 | 55.365854 | 0.790936 | 0.164317 | 0 | 0 | 0 | 0 | 0.289042 | 0.032822 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cea540d8d7c6742e25322196c14ce8e5fffdddeb | 57,014 | py | Python | src/ralph_assets/migrations/0012_auto__add_transitionshistory__add_attachment__add_coaoemos__add_action.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | src/ralph_assets/migrations/0012_auto__add_transitionshistory__add_attachment__add_coaoemos__add_action.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | src/ralph_assets/migrations/0012_auto__add_transitionshistory__add_attachment__add_coaoemos__add_action.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Removing unique constraint on 'Licence', fields ['sn']
db.delete_unique('ralph_assets_licence', ['sn'])
... | 74.236979 | 224 | 0.60522 | 6,156 | 57,014 | 5.44883 | 0.045971 | 0.083475 | 0.145664 | 0.208091 | 0.880273 | 0.842024 | 0.787109 | 0.722804 | 0.674478 | 0.630922 | 0 | 0.007668 | 0.183411 | 57,014 | 767 | 225 | 74.333768 | 0.712804 | 0.057933 | 0 | 0.378007 | 0 | 0 | 0.534773 | 0.322815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003436 | false | 0.001718 | 0.015464 | 0 | 0.024055 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cead398064b594593f3430fbc788b9476bf86da6 | 150 | py | Python | venv/Lib/site-packages/clyent/errors.py | GiovanniConserva/TestDeploy | 7a8242df6fe996b1029497d2d87295d1531b6139 | [
"BSD-3-Clause"
] | null | null | null | venv/Lib/site-packages/clyent/errors.py | GiovanniConserva/TestDeploy | 7a8242df6fe996b1029497d2d87295d1531b6139 | [
"BSD-3-Clause"
] | null | null | null | venv/Lib/site-packages/clyent/errors.py | GiovanniConserva/TestDeploy | 7a8242df6fe996b1029497d2d87295d1531b6139 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, print_function, unicode_literals
class ShowHelp(Exception):
pass
class ClyentError(Exception):
pass
| 18.75 | 72 | 0.8 | 17 | 150 | 6.647059 | 0.764706 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 150 | 7 | 73 | 21.428571 | 0.882813 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
cebb72569f74c340b49b55e56cd5cfb94ded36d4 | 229 | py | Python | test/webdnn_test/graph_test/operators_test/sigmoid_test.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | test/webdnn_test/graph_test/operators_test/sigmoid_test.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | test/webdnn_test/graph_test/operators_test/sigmoid_test.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from test.webdnn_test.graph_test.operators_test.util import template_test_unary_operator
from webdnn.graph.operators.sigmoid import Sigmoid
def template():
template_test_unary_operator(Sigmoid)
def test():
template()
| 20.818182 | 88 | 0.812227 | 31 | 229 | 5.709677 | 0.387097 | 0.135593 | 0.19209 | 0.282486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113537 | 229 | 10 | 89 | 22.9 | 0.871921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cebdd561ae5cf73cc61b02a50a7e42a495c58927 | 67 | py | Python | deem/pytorch/layers/__init__.py | xxaxtt/TwoTowers | 206c6b38a2f72486906d391c5176e4508036aac0 | [
"Apache-2.0"
] | 14 | 2021-09-22T02:24:16.000Z | 2021-12-11T11:59:02.000Z | deem/pytorch/layers/__init__.py | xxaxtt/TwoTowers | 206c6b38a2f72486906d391c5176e4508036aac0 | [
"Apache-2.0"
] | 2 | 2021-10-16T04:39:21.000Z | 2021-12-01T08:04:46.000Z | deem/pytorch/layers/__init__.py | xxaxtt/TwoTowers | 206c6b38a2f72486906d391c5176e4508036aac0 | [
"Apache-2.0"
] | 5 | 2021-10-09T11:47:53.000Z | 2021-11-25T04:41:24.000Z | from .embedding import *
from .sequence import *
from .mlp import * | 22.333333 | 24 | 0.746269 | 9 | 67 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 25 | 22.333333 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c7a5957fe9864225fb891e5477469385f447a91 | 3,456 | py | Python | complex_venv/lib/python3.7/site-packages/test/test_graph_list_of_file_inputs.py | lubianat/complex_bot | e0ddabcc0487c52b14fb94950c5a812f0bdb2283 | [
"MIT"
] | 1 | 2021-10-06T00:21:10.000Z | 2021-10-06T00:21:10.000Z | complex_venv/lib/python3.7/site-packages/test/test_graph_list_of_file_inputs.py | lubianat/complex_bot | e0ddabcc0487c52b14fb94950c5a812f0bdb2283 | [
"MIT"
] | 14 | 2021-01-15T21:51:38.000Z | 2021-11-10T10:08:22.000Z | complex_venv/lib/python3.7/site-packages/test/test_graph_list_of_file_inputs.py | lubianat/complex_bot | e0ddabcc0487c52b14fb94950c5a812f0bdb2283 | [
"MIT"
] | 1 | 2021-01-18T10:32:56.000Z | 2021-01-18T10:32:56.000Z | import unittest
from shexer.shaper import Shaper
from test.const import G1, BASE_FILES, G1_NT, default_namespaces, BASE_FILES_GENERAL
from test.t_utils import file_vs_str_tunned_comparison
import os.path as pth
from shexer.consts import NT, TURTLE
_BASE_DIR = BASE_FILES + "graph_list_of_files_input" + pth.sep
... | 54.857143 | 120 | 0.550926 | 374 | 3,456 | 4.700535 | 0.184492 | 0.040956 | 0.054608 | 0.07281 | 0.836746 | 0.81058 | 0.81058 | 0.81058 | 0.81058 | 0.81058 | 0 | 0.014625 | 0.366898 | 3,456 | 62 | 121 | 55.741935 | 0.788848 | 0.007234 | 0 | 0.666667 | 0 | 0 | 0.132799 | 0.044266 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.074074 | false | 0 | 0.111111 | 0 | 0.203704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c8aee4b13af709adea28d410ab48e9fcca43ac4 | 83 | py | Python | pyqt_horizontal_selection_square_graphics_view/__init__.py | berty-2007/pyqt-horizontal-selection-square-graphics-view | 29d3d6f63a2d464b0c4b1d64c451439de6f1eded | [
"MIT"
] | 1 | 2021-12-23T14:44:07.000Z | 2021-12-23T14:44:07.000Z | pyqt_horizontal_selection_square_graphics_view/__init__.py | berty-2007/pyqt-horizontal-selection-square-graphics-view | 29d3d6f63a2d464b0c4b1d64c451439de6f1eded | [
"MIT"
] | null | null | null | pyqt_horizontal_selection_square_graphics_view/__init__.py | berty-2007/pyqt-horizontal-selection-square-graphics-view | 29d3d6f63a2d464b0c4b1d64c451439de6f1eded | [
"MIT"
] | null | null | null | from .horizontalSelectionSquareGraphicsView import *
from .selectionSquare import * | 41.5 | 52 | 0.86747 | 6 | 83 | 12 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 83 | 2 | 53 | 41.5 | 0.947368 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0cb626407dc59dff1be601a5e0499c7a012ea0ad | 75 | py | Python | app/database/base.py | CabetoDP/fastapi-crud | bbeef58b74b7a010037ca8503a7f05f8b4db2ab4 | [
"MIT"
] | null | null | null | app/database/base.py | CabetoDP/fastapi-crud | bbeef58b74b7a010037ca8503a7f05f8b4db2ab4 | [
"MIT"
] | null | null | null | app/database/base.py | CabetoDP/fastapi-crud | bbeef58b74b7a010037ca8503a7f05f8b4db2ab4 | [
"MIT"
] | null | null | null | from app.database.base_class import Base
from app.models.place import Place | 37.5 | 40 | 0.853333 | 13 | 75 | 4.846154 | 0.615385 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 2 | 41 | 37.5 | 0.926471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0cdf83ec2ee6735ac3ecbd989380ce0f87917a5d | 102 | py | Python | api/queries/models.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 3 | 2019-05-15T09:30:39.000Z | 2020-04-22T16:14:23.000Z | api/queries/models.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 85 | 2019-04-24T10:39:35.000Z | 2022-03-21T14:52:12.000Z | api/queries/models.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 1 | 2021-01-17T11:12:19.000Z | 2021-01-17T11:12:19.000Z | from api.cases.models import Case
class Query(Case):
"""
Base query class
"""
pass
| 10.2 | 33 | 0.588235 | 13 | 102 | 4.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303922 | 102 | 9 | 34 | 11.333333 | 0.84507 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0bb5af4cb0e1469e03fc6ee0d14c4d8bfb035eff | 18,592 | py | Python | autoarray/structures/grids/grid_decorators.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | autoarray/structures/grids/grid_decorators.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | autoarray/structures/grids/grid_decorators.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | import numpy as np
from functools import wraps
from autoconf import conf
from autoarray.structures.grids.one_d import abstract_grid_1d
from autoarray.structures.grids.two_d import grid_2d
from autoarray.structures.grids.two_d import grid_2d_interpolate
from autoarray.structures.grids.two_d import grid_2d_iterat... | 42.254545 | 122 | 0.64119 | 2,353 | 18,592 | 4.948576 | 0.098173 | 0.022673 | 0.025678 | 0.03607 | 0.824287 | 0.801185 | 0.789334 | 0.771986 | 0.755153 | 0.737891 | 0 | 0.017292 | 0.284585 | 18,592 | 439 | 123 | 42.350797 | 0.858131 | 0.5142 | 0 | 0.546584 | 0 | 0 | 0.024963 | 0.006241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074534 | false | 0 | 0.074534 | 0 | 0.31677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f01546244daef76f91454218d243e57cff9b2fef | 113 | py | Python | feast/DetectionModules/__init__.py | ChandlerKemp/FEAST_PtE | 9551824932379149dd6bc9135cfac6edf60c40c8 | [
"MIT"
] | 3 | 2020-04-21T18:59:01.000Z | 2021-01-14T22:56:17.000Z | feast/DetectionModules/__init__.py | ChandlerKemp/FEAST_PtE | 9551824932379149dd6bc9135cfac6edf60c40c8 | [
"MIT"
] | null | null | null | feast/DetectionModules/__init__.py | ChandlerKemp/FEAST_PtE | 9551824932379149dd6bc9135cfac6edf60c40c8 | [
"MIT"
] | null | null | null | from . import null
from . import abstract_detection_method
from . import tech_detect
from . import tiered_detect
| 22.6 | 39 | 0.823009 | 16 | 113 | 5.5625 | 0.5625 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 4 | 40 | 28.25 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f03b44b7bd155b16cda8a428f739db53cb3a8257 | 138 | py | Python | helios/workflows/__init__.py | thiagosfs/helios-server | 1616f742c0d3ab8833aab4cfbcc45d9818c68716 | [
"Apache-2.0"
] | 525 | 2015-01-04T11:51:26.000Z | 2022-03-31T17:15:20.000Z | helios/workflows/__init__.py | thiagosfs/helios-server | 1616f742c0d3ab8833aab4cfbcc45d9818c68716 | [
"Apache-2.0"
] | 238 | 2015-01-02T17:50:37.000Z | 2022-02-09T16:39:49.000Z | helios/workflows/__init__.py | thiagosfs/helios-server | 1616f742c0d3ab8833aab4cfbcc45d9818c68716 | [
"Apache-2.0"
] | 238 | 2015-01-05T23:09:20.000Z | 2022-03-21T16:47:33.000Z | """
Helios Election Workflows
"""
from helios.datatypes import LDObjectContainer
class WorkflowObject(LDObjectContainer):
pass
| 13.8 | 46 | 0.76087 | 12 | 138 | 8.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 138 | 9 | 47 | 15.333333 | 0.913043 | 0.181159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f052b9fc28af42e699049bdfe2b0ac01d467c316 | 187 | py | Python | user_details/give_default.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | user_details/give_default.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | user_details/give_default.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | preference_list_of_user=[]
def give(def_list):
Def=def_list
global preference_list_of_user
preference_list_of_user=Def
return Def
def give_to_model():
return preference_list_of_user | 20.777778 | 31 | 0.84492 | 32 | 187 | 4.4375 | 0.3125 | 0.394366 | 0.450704 | 0.56338 | 0.323944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096257 | 187 | 9 | 32 | 20.777778 | 0.840237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
b2ef1e91c18ddeb4d7361450a7de67ebdb4b2e6e | 1,588 | py | Python | triplinker/tests/test_views/test_non_dynamic_urls/test_accounts_views/tests.py | GonnaFlyMethod/triplinker | f4189e499ad48fd9102dd2211a8884078136eae9 | [
"MIT"
] | null | null | null | triplinker/tests/test_views/test_non_dynamic_urls/test_accounts_views/tests.py | GonnaFlyMethod/triplinker | f4189e499ad48fd9102dd2211a8884078136eae9 | [
"MIT"
] | null | null | null | triplinker/tests/test_views/test_non_dynamic_urls/test_accounts_views/tests.py | GonnaFlyMethod/triplinker | f4189e499ad48fd9102dd2211a8884078136eae9 | [
"MIT"
] | null | null | null | # Python modules.
import pytest
# Django modules.
from django.urls import reverse
from django.test import TestCase
# !Triplinker modules:
from tests.helpers.create_user import new_user
@pytest.mark.django_db
def test_signup_view(client):
url = reverse('accounts:signup')
response = client.get(u... | 25.206349 | 47 | 0.691436 | 204 | 1,588 | 5.191176 | 0.191176 | 0.0661 | 0.10576 | 0.11898 | 0.803588 | 0.750708 | 0.727101 | 0.727101 | 0.727101 | 0.634561 | 0 | 0.016445 | 0.195844 | 1,588 | 62 | 48 | 25.612903 | 0.812843 | 0.032746 | 0 | 0.636364 | 0 | 0 | 0.1 | 0.029932 | 0 | 0 | 0 | 0 | 0.159091 | 1 | 0.159091 | false | 0 | 0.090909 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2f17c3de89d94e2aba8cc14a42ef09cd569851a | 41 | py | Python | tests/test_vec/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 18 | 2021-02-15T13:10:42.000Z | 2022-03-17T12:57:34.000Z | tests/test_vec/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 81 | 2021-06-02T07:45:20.000Z | 2022-03-29T15:21:32.000Z | tests/test_vec/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 29 | 2021-05-18T08:34:58.000Z | 2022-03-12T00:19:09.000Z | # coding: utf-8
# 2021/5/30 @ tongshiwei
| 13.666667 | 24 | 0.658537 | 7 | 41 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.170732 | 41 | 2 | 25 | 20.5 | 0.558824 | 0.878049 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8ed68a76b6810bfc7416102a15fd740faaea0ec | 4,699 | py | Python | program.py | jaesik817/programmable-agents_tensorflow | b64d1774803c585e87aa9769beadde31e18f8ea4 | [
"MIT"
] | 39 | 2017-09-25T02:01:18.000Z | 2019-06-18T15:17:53.000Z | program.py | jsikyoon/programmable-agents_tensorflow | b64d1774803c585e87aa9769beadde31e18f8ea4 | [
"MIT"
] | 5 | 2017-09-22T00:40:09.000Z | 2018-05-07T15:11:11.000Z | program.py | jsikyoon/programmable-agents_tensorflow | b64d1774803c585e87aa9769beadde31e18f8ea4 | [
"MIT"
] | 10 | 2017-09-25T06:49:12.000Z | 2019-06-18T10:17:03.000Z | import tensorflow as tf
import numpy as np
import math
# Parameter
order_num=2;
class Program:
def __init__(self,sess,state_dim,obj_num,fea_size,Theta,program_order,postfix):
self.sess = sess;
self.state_dim = state_dim;
self.fea_size=fea_size;
self.obj_num=obj_num;
self.order_num=order_num;
... | 53.397727 | 262 | 0.668227 | 888 | 4,699 | 3.394144 | 0.068694 | 0.207034 | 0.16722 | 0.212342 | 0.835435 | 0.818845 | 0.754479 | 0.699403 | 0.678832 | 0.631055 | 0 | 0.050507 | 0.119387 | 4,699 | 87 | 263 | 54.011494 | 0.677864 | 0.02426 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8eedc51b24c6143d7853efa95a31479c5ffbbd9 | 2,645 | py | Python | tests/commands/test_generate.py | pedrovelho/camp | 98105c9054b8db3377cb6a06e7b5451b97c6c285 | [
"MIT"
] | null | null | null | tests/commands/test_generate.py | pedrovelho/camp | 98105c9054b8db3377cb6a06e7b5451b97c6c285 | [
"MIT"
] | null | null | null | tests/commands/test_generate.py | pedrovelho/camp | 98105c9054b8db3377cb6a06e7b5451b97c6c285 | [
"MIT"
] | 1 | 2019-02-05T08:49:41.000Z | 2019-02-05T08:49:41.000Z | #
# CAMP
#
# Copyright (C) 2017, 2018 SINTEF Digital
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
#
from unittest import TestCase
from camp.commands import Command, Generate
class DefaultValuesAreCorrect(TestCase... | 25.190476 | 63 | 0.689981 | 280 | 2,645 | 6.3 | 0.210714 | 0.099773 | 0.054422 | 0.104308 | 0.781746 | 0.781746 | 0.781746 | 0.781746 | 0.779478 | 0.779478 | 0 | 0.003897 | 0.223819 | 2,645 | 104 | 64 | 25.432692 | 0.855334 | 0.068809 | 0 | 0.714286 | 0 | 0 | 0.08031 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 1 | 0.163265 | false | 0 | 0.040816 | 0 | 0.265306 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8f4b23ed19c18a99bdef84f2585aee923db8769 | 3,306 | py | Python | pyathena/util/rebin.py | changgoo/pyathena-1 | c461ac3390d773537ce52393e3ebf68a3282aa46 | [
"MIT"
] | 1 | 2019-10-03T13:59:14.000Z | 2019-10-03T13:59:14.000Z | pyathena/util/rebin.py | changgoo/pyathena-1 | c461ac3390d773537ce52393e3ebf68a3282aa46 | [
"MIT"
] | 3 | 2020-09-23T23:36:17.000Z | 2022-01-11T06:16:56.000Z | pyathena/util/rebin.py | changgoo/pyathena-1 | c461ac3390d773537ce52393e3ebf68a3282aa46 | [
"MIT"
] | 2 | 2019-06-10T04:26:16.000Z | 2019-12-04T22:27:02.000Z | from __future__ import print_function
import numpy as np
def rebin_xyz(arr, bin_factor, fill_value=None):
"""
Function to rebin masked 3d array.
Parameters
----------
arr : ndarray
Masked or unmasked 3d numpy array. Shape is assumed to be (nz, ny, nx).
bin_factor : int
bin... | 28.747826 | 109 | 0.578947 | 482 | 3,306 | 3.854772 | 0.211618 | 0.077503 | 0.009688 | 0.040904 | 0.819699 | 0.814855 | 0.814855 | 0.786868 | 0.786868 | 0.786868 | 0 | 0.059792 | 0.301875 | 3,306 | 114 | 110 | 29 | 0.745234 | 0.434059 | 0 | 0.409091 | 0 | 0 | 0.038393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.181818 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68943b195cd6c1b43741489cbceaa66e3ae51918 | 3,542 | py | Python | tests/test_utilities/test_manifest_parser.py | QualiSystems/DevBox | 9a1807006bc93727970068d586764e9dccda94ec | [
"Apache-1.1"
] | null | null | null | tests/test_utilities/test_manifest_parser.py | QualiSystems/DevBox | 9a1807006bc93727970068d586764e9dccda94ec | [
"Apache-1.1"
] | null | null | null | tests/test_utilities/test_manifest_parser.py | QualiSystems/DevBox | 9a1807006bc93727970068d586764e9dccda94ec | [
"Apache-1.1"
] | null | null | null | import os
from pyfakefs import fake_filesystem_unittest
from devbox.utilities.manifest_parser import ManifestParser
class TestManifestParser(fake_filesystem_unittest.TestCase):
def setUp(self):
self.setUpPyfakefs()
def test_manifest_parser(self):
# Arrange
self.fs.CreateFile('my-app/... | 30.016949 | 100 | 0.593732 | 341 | 3,542 | 5.98827 | 0.246334 | 0.058766 | 0.083252 | 0.071988 | 0.817826 | 0.770323 | 0.743389 | 0.695397 | 0.695397 | 0.650343 | 0 | 0.027038 | 0.310841 | 3,542 | 117 | 101 | 30.273504 | 0.809504 | 0.004235 | 0 | 0.824742 | 0 | 0 | 0.690233 | 0.08234 | 0 | 0 | 0 | 0 | 0.103093 | 1 | 0.030928 | false | 0 | 0.030928 | 0 | 0.072165 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6899ddd456696f5f8cbff28853c9ebc19f43f8ce | 18,361 | py | Python | monitoring/tests/unit/gapic/v3/test_service_monitoring_service_client_v3.py | q-logic/google-cloud-python | a65065c89c059bc564bbdd79288a48970907c399 | [
"Apache-2.0"
] | null | null | null | monitoring/tests/unit/gapic/v3/test_service_monitoring_service_client_v3.py | q-logic/google-cloud-python | a65065c89c059bc564bbdd79288a48970907c399 | [
"Apache-2.0"
] | 40 | 2019-07-16T10:04:48.000Z | 2020-01-20T09:04:59.000Z | monitoring/tests/unit/gapic/v3/test_service_monitoring_service_client_v3.py | q-logic/google-cloud-python | a65065c89c059bc564bbdd79288a48970907c399 | [
"Apache-2.0"
] | 2 | 2019-07-18T00:05:31.000Z | 2019-11-27T14:17:22.000Z | # -*- coding: utf-8 -*-
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 38.093361 | 88 | 0.680954 | 1,875 | 18,361 | 6.396267 | 0.090133 | 0.065038 | 0.063037 | 0.033353 | 0.853831 | 0.839323 | 0.812474 | 0.797048 | 0.773034 | 0.75494 | 0 | 0.016006 | 0.237787 | 18,361 | 481 | 89 | 38.172557 | 0.840943 | 0.081532 | 0 | 0.680124 | 0 | 0 | 0.094342 | 0.066111 | 0 | 0 | 0 | 0 | 0.093168 | 1 | 0.074534 | false | 0.003106 | 0.018634 | 0.003106 | 0.111801 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d79a6a449f7e90756102071f66e54f7f316037df | 13,393 | py | Python | realworld_benchmark/nets/eig_layer.py | DomInvivo/pna | 1a7d8ae645d093ebedeffcf148a98f6061957a23 | [
"MIT"
] | null | null | null | realworld_benchmark/nets/eig_layer.py | DomInvivo/pna | 1a7d8ae645d093ebedeffcf148a98f6061957a23 | [
"MIT"
] | null | null | null | realworld_benchmark/nets/eig_layer.py | DomInvivo/pna | 1a7d8ae645d093ebedeffcf148a98f6061957a23 | [
"MIT"
] | 2 | 2020-11-05T15:34:23.000Z | 2020-12-17T17:44:48.000Z | EPS = 1e-5
import threading
import torch
import torch.nn as nn
import torch.nn.functional as F
from .aggregators import AGGREGATORS
from .layers import MLP, FCLayer
from .scalers import SCALERS
class EIGLayerComplex(nn.Module):
def __init__(self, in_dim, out_dim, dropout, graph_norm, batch_norm, aggregators, sc... | 37.099723 | 199 | 0.605615 | 1,824 | 13,393 | 4.211075 | 0.077851 | 0.025778 | 0.019919 | 0.017185 | 0.810311 | 0.798985 | 0.787918 | 0.766046 | 0.691186 | 0.685718 | 0 | 0.005266 | 0.276936 | 13,393 | 361 | 200 | 37.099723 | 0.787898 | 0.044874 | 0 | 0.714286 | 0 | 0 | 0.034264 | 0 | 0 | 0 | 0 | 0 | 0.012245 | 1 | 0.089796 | false | 0 | 0.028571 | 0.032653 | 0.208163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7b1f098471299492d3a164aae5bda72d5a2c99e | 113 | py | Python | bitmovin_api_sdk/encoding/infrastructure/kubernetes/configuration/__init__.py | hofmannben/bitmovin-api-sdk-python | 71aae5cd8a31aa0ad54ca07a6f546a624e8686a9 | [
"MIT"
] | null | null | null | bitmovin_api_sdk/encoding/infrastructure/kubernetes/configuration/__init__.py | hofmannben/bitmovin-api-sdk-python | 71aae5cd8a31aa0ad54ca07a6f546a624e8686a9 | [
"MIT"
] | 1 | 2020-07-06T07:13:43.000Z | 2020-07-06T07:13:43.000Z | bitmovin_api_sdk/encoding/infrastructure/kubernetes/configuration/__init__.py | hofmannben/bitmovin-api-sdk-python | 71aae5cd8a31aa0ad54ca07a6f546a624e8686a9 | [
"MIT"
] | 1 | 2020-07-06T07:07:26.000Z | 2020-07-06T07:07:26.000Z | from bitmovin_api_sdk.encoding.infrastructure.kubernetes.configuration.configuration_api import ConfigurationApi
| 56.5 | 112 | 0.920354 | 12 | 113 | 8.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 113 | 1 | 113 | 113 | 0.926606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7c96b0c8aeabc0eec3210749c777002aac7b033 | 32,365 | py | Python | app/tests/refs/ectyper_dict.py | superphy/spfy | 867e61b32ab00ec536378f96a63f0fb379f47c58 | [
"Apache-2.0"
] | 2 | 2019-05-22T14:29:37.000Z | 2020-02-13T11:30:46.000Z | app/tests/refs/ectyper_dict.py | superphy/backend | 867e61b32ab00ec536378f96a63f0fb379f47c58 | [
"Apache-2.0"
] | 88 | 2017-04-07T21:52:10.000Z | 2018-03-10T23:12:47.000Z | app/tests/refs/ectyper_dict.py | superphy/backend | 867e61b32ab00ec536378f96a63f0fb379f47c58 | [
"Apache-2.0"
] | 2 | 2017-02-10T21:30:13.000Z | 2017-06-05T22:30:17.000Z | # output from call_ectyper.py, to be sent to beautify.py
# example is from ECI-2866_lcl.fasta_ectyper.p
ectyper_dict = {'Virulence Factors': {'lcl|ECI-2866|NODE_56_length_6694_cov_33.7669_ID_111': [{'START': 4864, 'STOP': 5820, 'ORIENTATION': '+', 'GENE_NAME': 'stx1A'}, {'START': 4873, 'STOP': 5820, 'ORIENTATION': '+',... | 10,788.333333 | 32,261 | 0.601792 | 3,807 | 32,365 | 4.92041 | 0.261361 | 0.318706 | 0.403694 | 0.036622 | 0.474749 | 0.388747 | 0.366859 | 0.118727 | 0.083707 | 0.061926 | 0 | 0.172083 | 0.100633 | 32,365 | 3 | 32,261 | 10,788.333333 | 0.471451 | 0.003059 | 0 | 0 | 0 | 0 | 0.501643 | 0.077424 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7eb837a01bcf4d82ba4037dbb7897de0570733c | 26 | py | Python | tests/auctionbets/test_hello_world.py | sam-bailey/auctionbets | 237f2c4d1cb2e3ba2e3194aab35ec85b7bd565f4 | [
"MIT"
] | null | null | null | tests/auctionbets/test_hello_world.py | sam-bailey/auctionbets | 237f2c4d1cb2e3ba2e3194aab35ec85b7bd565f4 | [
"MIT"
] | 4 | 2021-04-11T15:06:50.000Z | 2021-04-11T19:11:43.000Z | tests/melvin/test_hello_world.py | sam-bailey/melvin | 562bd17d84d78f54eb93b77d6aa8c72556a0a31f | [
"MIT"
] | null | null | null | print("Test hello world")
| 13 | 25 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cc284745b925e21a5f5e32898b37c6a8ab358a00 | 21,312 | py | Python | src/falconpy/custom_ioa.py | mccbryan3/falconpy | ec4d3a574f2e9b06d046fc8d7ca6818f1f97331f | [
"Unlicense"
] | null | null | null | src/falconpy/custom_ioa.py | mccbryan3/falconpy | ec4d3a574f2e9b06d046fc8d7ca6818f1f97331f | [
"Unlicense"
] | null | null | null | src/falconpy/custom_ioa.py | mccbryan3/falconpy | ec4d3a574f2e9b06d046fc8d7ca6818f1f97331f | [
"Unlicense"
] | null | null | null | """
_______ __ _______ __ __ __
| _ .----.-----.--.--.--.--| | _ | |_.----|__| |--.-----.
|. 1___| _| _ | | | | _ | 1___| _| _| | <| -__|
|. |___|__| |_____|________|_____|____ |____|__| |__|__|__|_____|
|: 1 | |: 1 |
|::.. ... | 50.742857 | 119 | 0.555602 | 2,219 | 21,312 | 5.129788 | 0.111762 | 0.049284 | 0.043925 | 0.046736 | 0.775894 | 0.775894 | 0.775894 | 0.769042 | 0.764122 | 0.729772 | 0 | 0.006903 | 0.347504 | 21,312 | 419 | 120 | 50.863962 | 0.811664 | 0.227618 | 0 | 0.763636 | 0 | 0.069091 | 0.130973 | 0.036102 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072727 | false | 0 | 0.010909 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0bd684f449fb29bb6b0b014c1fddbe47cd12fbe1 | 302 | py | Python | src/utils/libraries/index.py | Shellyda/Algorithms-Sorting-Project | 205f76b5127a53829056889e46cf240e0d75cbb5 | [
"MIT"
] | null | null | null | src/utils/libraries/index.py | Shellyda/Algorithms-Sorting-Project | 205f76b5127a53829056889e46cf240e0d75cbb5 | [
"MIT"
] | null | null | null | src/utils/libraries/index.py | Shellyda/Algorithms-Sorting-Project | 205f76b5127a53829056889e46cf240e0d75cbb5 | [
"MIT"
] | null | null | null | from utils.libraries.Get_duration_execution_time import Get_duration_execution_time
from utils.libraries.Bubble_sort import Bubble_sort
from utils.libraries.Insertion_sort import Insertion_sort
from utils.libraries.Merge_sort import Merge_sort
from utils.libraries.Selection_sort import Selection_sort
| 50.333333 | 83 | 0.900662 | 44 | 302 | 5.863636 | 0.295455 | 0.174419 | 0.348837 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066225 | 302 | 5 | 84 | 60.4 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04173ab291a28dec9be5ec4dc8e4e4e26a03aeda | 20 | py | Python | purviewcli/model/__init__.py | pblocz/purviewcli | 4f3ac4f746fac80a2db1e8c6910b88b2a70cb21b | [
"MIT"
] | null | null | null | purviewcli/model/__init__.py | pblocz/purviewcli | 4f3ac4f746fac80a2db1e8c6910b88b2a70cb21b | [
"MIT"
] | null | null | null | purviewcli/model/__init__.py | pblocz/purviewcli | 4f3ac4f746fac80a2db1e8c6910b88b2a70cb21b | [
"MIT"
] | null | null | null | from .atlas import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
044cd6d55aaaa85ed616104d85f7411196227c7a | 91 | py | Python | pm4pymdl/algo/mvp/gen_framework/rel_activities/__init__.py | dorian1000/pm4py-mdl | 71e0c2425abb183da293a58d31e25e50137c774f | [
"MIT"
] | 5 | 2021-01-31T22:45:29.000Z | 2022-02-22T14:26:06.000Z | pm4pymdl/algo/mvp/gen_framework/rel_activities/__init__.py | Javert899/pm4py-mdl | 4cc875999100f3f1ad60b925a20e40cf52337757 | [
"MIT"
] | 3 | 2021-07-07T15:32:55.000Z | 2021-07-07T16:15:36.000Z | pm4pymdl/algo/mvp/gen_framework/rel_activities/__init__.py | dorian1000/pm4py-mdl | 71e0c2425abb183da293a58d31e25e50137c774f | [
"MIT"
] | 9 | 2020-09-23T15:34:11.000Z | 2022-03-17T09:15:40.000Z | from pm4pymdl.algo.mvp.gen_framework.rel_activities import classic, rel_activities_builder
| 45.5 | 90 | 0.89011 | 13 | 91 | 5.923077 | 0.846154 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.054945 | 91 | 1 | 91 | 91 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f087078a59a53f53c94da1a5511f5c19ca713f04 | 6,975 | py | Python | utils/hamiltonian.py | fhoeb/fh-thesis-scripts | 8894296ee2ca64bc208cc28803ac888b33bb4a94 | [
"BSD-3-Clause"
] | 2 | 2020-09-27T16:17:06.000Z | 2022-02-01T15:25:40.000Z | utils/hamiltonian.py | fhoeb/fh-thesis-scripts | 8894296ee2ca64bc208cc28803ac888b33bb4a94 | [
"BSD-3-Clause"
] | null | null | null | utils/hamiltonian.py | fhoeb/fh-thesis-scripts | 8894296ee2ca64bc208cc28803ac888b33bb4a94 | [
"BSD-3-Clause"
] | 1 | 2021-01-18T00:13:01.000Z | 2021-01-18T00:13:01.000Z | from scipy.special import factorial
from itertools import count
import numpy as np
from tmps.utils import pauli, fock
def get_boson_boson_dim(alpha, cutoff_coh):
"""
Find the cutoff for the local dimension (identical everywhere) from the chosen accuracy alpha for the impurity
coherent state.
"... | 42.791411 | 118 | 0.677993 | 1,077 | 6,975 | 4.178273 | 0.095636 | 0.031111 | 0.042667 | 0.046667 | 0.902889 | 0.898 | 0.894444 | 0.882222 | 0.843111 | 0.807778 | 0 | 0.013686 | 0.235269 | 6,975 | 162 | 119 | 43.055556 | 0.829959 | 0.385806 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075758 | false | 0 | 0.060606 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f08fc0d043f30f7b77fc0be9f310cc14919727ea | 153 | py | Python | pywi/processing/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | 1 | 2021-07-06T06:02:45.000Z | 2021-07-06T06:02:45.000Z | pywi/processing/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | null | null | null | pywi/processing/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | 1 | 2019-01-07T10:50:38.000Z | 2019-01-07T10:50:38.000Z | """Processing modules
This package contains image processing algorithms.
"""
from . import compositing
from . import filtering
from . import transform
| 17 | 50 | 0.784314 | 17 | 153 | 7.058824 | 0.705882 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150327 | 153 | 8 | 51 | 19.125 | 0.923077 | 0.457516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0a9b76e7527fc4562f1dffa72d9bb26c30f1073 | 30 | py | Python | vggface/resnet50/__init__.py | claudiourbina/VGGFace | 362cc8f805c1fd4135fddf8d602026735bcfdf5a | [
"MIT"
] | null | null | null | vggface/resnet50/__init__.py | claudiourbina/VGGFace | 362cc8f805c1fd4135fddf8d602026735bcfdf5a | [
"MIT"
] | null | null | null | vggface/resnet50/__init__.py | claudiourbina/VGGFace | 362cc8f805c1fd4135fddf8d602026735bcfdf5a | [
"MIT"
] | null | null | null | from .resnet50 import ResNet50 | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.1 | 30 | 1 | 30 | 30 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0a9ef787da7675bb95305830e5a4f6a73cec7a5 | 14,354 | py | Python | supportal/tests/app/management/commands/test_email_users_with_expiring_assignments.py | Elizabeth-Warren/supportal-backend | e55b0e8fd154730bab1708f27386b2adcb18cfbc | [
"MIT"
] | 34 | 2020-03-27T14:59:04.000Z | 2021-11-15T10:24:12.000Z | supportal/tests/app/management/commands/test_email_users_with_expiring_assignments.py | Elizabeth-Warren/supportal-backend | e55b0e8fd154730bab1708f27386b2adcb18cfbc | [
"MIT"
] | 5 | 2021-03-18T22:51:05.000Z | 2022-02-10T15:03:33.000Z | supportal/tests/app/management/commands/test_email_users_with_expiring_assignments.py | Elizabeth-Warren/supportal-backend | e55b0e8fd154730bab1708f27386b2adcb18cfbc | [
"MIT"
] | 14 | 2020-03-27T17:36:39.000Z | 2020-06-18T21:47:43.000Z | from datetime import datetime, timezone
from io import StringIO
from unittest import mock
import freezegun
import pytest
from django.conf import settings
from django.core.management import call_command
from django.utils import timezone
from model_bakery import baker
from supportal.app.common.enums import CanvassResul... | 33.933806 | 88 | 0.725442 | 1,719 | 14,354 | 5.710878 | 0.105294 | 0.11419 | 0.107569 | 0.0656 | 0.816237 | 0.759601 | 0.748599 | 0.736172 | 0.71203 | 0.700214 | 0 | 0.009099 | 0.188449 | 14,354 | 422 | 89 | 34.014218 | 0.833634 | 0.007036 | 0 | 0.680912 | 0 | 0 | 0.104 | 0.064281 | 0 | 0 | 0 | 0 | 0.116809 | 1 | 0.059829 | false | 0 | 0.031339 | 0.002849 | 0.108262 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0dfa6a70f2b05edad087e65290480ef3841bae8 | 911 | py | Python | src/mdfserver/models.py | UCHIC/iUTAHData | 4ffab29ad6b3313416bb2a8b98acf0b2e02c8cab | [
"Unlicense"
] | 2 | 2015-02-25T01:12:51.000Z | 2017-02-08T22:54:41.000Z | src/mdfserver/models.py | UCHIC/iUTAHData | 4ffab29ad6b3313416bb2a8b98acf0b2e02c8cab | [
"Unlicense"
] | 48 | 2015-01-12T18:01:56.000Z | 2021-06-10T20:05:26.000Z | src/mdfserver/models.py | UCHIC/iUTAHData | 4ffab29ad6b3313416bb2a8b98acf0b2e02c8cab | [
"Unlicense"
] | null | null | null | from django.db import models
# from tinymce import models as tinymce_models
#
# # Create your models here.
#
# class Page(models.Model):
# title = models.CharField(max_length=200)
# url = models.CharField(max_length=200)
# content = models.TextField(max_length=20000) #tinymce_models.HTMLField()#forms.CharFi... | 45.55 | 181 | 0.70472 | 118 | 911 | 5.288136 | 0.389831 | 0.086538 | 0.115385 | 0.153846 | 0.754808 | 0.754808 | 0.657051 | 0.657051 | 0.657051 | 0.657051 | 0 | 0.039267 | 0.161361 | 911 | 20 | 182 | 45.55 | 0.777487 | 0.918771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 6 |
f0f736be57d784d43416f82badd0762190fea39d | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/psapi.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/psapi.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/psapi.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/57/99/fd/1d22e7d1fbf9ab07bcdf332318605c4de276c282734bf85d8c6421a6ce | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b058e034e1693406e04d820118fb4291f6395b3 | 4,213 | py | Python | aries_cloudagent/protocols/present_proof/dif/tests/test_pres_request.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 4 | 2019-07-01T13:12:50.000Z | 2019-07-02T20:01:37.000Z | aries_cloudagent/protocols/present_proof/dif/tests/test_pres_request.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 51 | 2021-01-12T05:50:50.000Z | 2022-03-25T06:03:13.000Z | aries_cloudagent/protocols/present_proof/dif/tests/test_pres_request.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 12 | 2019-06-24T22:17:44.000Z | 2019-07-02T19:49:31.000Z | from unittest import TestCase
from ..pres_request_schema import DIFProofRequestSchema
class TestPresRequestSchema(TestCase):
"""DIF Presentation Request Test"""
def test_limit_disclosure(self):
test_pd_a = {
"options": {
"challenge": "3fa85f64-5717-4562-b3fc-2c963f66afa7"... | 38.651376 | 101 | 0.350344 | 236 | 4,213 | 6.042373 | 0.364407 | 0.09467 | 0.06662 | 0.039271 | 0.746143 | 0.746143 | 0.746143 | 0.746143 | 0.746143 | 0.746143 | 0 | 0.063492 | 0.551389 | 4,213 | 108 | 102 | 39.009259 | 0.691005 | 0.006883 | 0 | 0.54902 | 0 | 0 | 0.237913 | 0.070369 | 0 | 0 | 0 | 0 | 0.019608 | 1 | 0.009804 | false | 0 | 0.019608 | 0 | 0.039216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b1891b092271e40a79284fe9042e306de9c61a6 | 26,953 | py | Python | qradar_utilities.py | intel471/titan_qradar_sync | 43d2d2bfcd18c3383e8f4f0377788a0d2f3844a7 | [
"MIT"
] | 1 | 2021-08-23T08:41:56.000Z | 2021-08-23T08:41:56.000Z | qradar_utilities.py | intel471/titan_qradar_sync | 43d2d2bfcd18c3383e8f4f0377788a0d2f3844a7 | [
"MIT"
] | null | null | null | qradar_utilities.py | intel471/titan_qradar_sync | 43d2d2bfcd18c3383e8f4f0377788a0d2f3844a7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.8
import time
from typing import List, Dict
import json
import requests
from requests.exceptions import HTTPError
from urllib3.exceptions import InsecureRequestWarning
from json_utilities import json_get
from titan_qradar_sync_config import TitanQRadarSyncConfig
class QRadarUtilities:
def... | 59.630531 | 365 | 0.61559 | 2,854 | 26,953 | 5.450596 | 0.058514 | 0.069427 | 0.060684 | 0.027899 | 0.84964 | 0.80162 | 0.764657 | 0.719401 | 0.702687 | 0.650489 | 0 | 0.00467 | 0.292992 | 26,953 | 451 | 366 | 59.762749 | 0.81166 | 0.002115 | 0 | 0.478261 | 0 | 0 | 0.0972 | 0.004871 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032609 | false | 0.019022 | 0.021739 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bcb2e6ea72e15c7c10a699c8ebe55ab4cd553e3 | 17,348 | py | Python | model.py | bfMendonca/CarND-Behavioral-Cloning-P3 | 564b8e0c542292acdc6daf3829522cdcd98a1c95 | [
"MIT"
] | null | null | null | model.py | bfMendonca/CarND-Behavioral-Cloning-P3 | 564b8e0c542292acdc6daf3829522cdcd98a1c95 | [
"MIT"
] | null | null | null | model.py | bfMendonca/CarND-Behavioral-Cloning-P3 | 564b8e0c542292acdc6daf3829522cdcd98a1c95 | [
"MIT"
] | null | null | null | import csv
import cv2
import numpy as np
import pandas as pd
import sys
from datetime import datetime
from numpy.random import RandomState
import keras
import tensorflow as tf
from keras.models import Sequential
from keras.callbacks import ModelCheckpoint
from keras.layers import Flatten, Dense, Lambda, Cropping2D, C... | 37.468683 | 112 | 0.654427 | 2,492 | 17,348 | 4.517255 | 0.08427 | 0.121524 | 0.062184 | 0.080839 | 0.822066 | 0.794617 | 0.770809 | 0.769299 | 0.7685 | 0.7685 | 0 | 0.056928 | 0.180828 | 17,348 | 462 | 113 | 37.549784 | 0.735205 | 0.198409 | 0 | 0.648649 | 0 | 0 | 0.073879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0 | 0.040541 | 0 | 0.118243 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aca30b0e051054cf8605e9d7df37ed0c840f2b51 | 383 | py | Python | for_fun/mul_and_div/mul_and_div.py | trisct/Software-Tutorials | 50d7851b861700fe256dfed97f84dc321a5286dc | [
"CC0-1.0"
] | 2 | 2021-08-22T05:19:26.000Z | 2021-12-21T12:03:57.000Z | for_fun/mul_and_div/mul_and_div.py | trisct/Software-Tutorials | 50d7851b861700fe256dfed97f84dc321a5286dc | [
"CC0-1.0"
] | null | null | null | for_fun/mul_and_div/mul_and_div.py | trisct/Software-Tutorials | 50d7851b861700fe256dfed97f84dc321a5286dc | [
"CC0-1.0"
] | null | null | null | import time
a = 3215.35127
b = 3.
start = time.time()
for i in range(100000000):
c = a / b
end = time.time()
time_elapsed = end - start
print('Time elapsed (div ver) = %.5f' % time_elapsed)
a = 3215.35127
b = 1./3.
start = time.time()
for i in range(100000000):
c = a * b
end = time.time()
time_elapsed = end... | 17.409091 | 53 | 0.629243 | 65 | 383 | 3.646154 | 0.338462 | 0.202532 | 0.084388 | 0.092827 | 0.700422 | 0.700422 | 0.700422 | 0.700422 | 0.700422 | 0.700422 | 0 | 0.136213 | 0.214099 | 383 | 21 | 54 | 18.238095 | 0.651163 | 0 | 0 | 0.588235 | 0 | 0 | 0.151436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.117647 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5a14c70626d442e04bd03fd58414f48d6a57094 | 119 | py | Python | communication_modules/azure_iot_hub/__init__.py | dbenge/SimpleSensor_contrib | f48c31d3a0e0e29531ac5b0b445dccafd4f1e1d9 | [
"Apache-2.0"
] | null | null | null | communication_modules/azure_iot_hub/__init__.py | dbenge/SimpleSensor_contrib | f48c31d3a0e0e29531ac5b0b445dccafd4f1e1d9 | [
"Apache-2.0"
] | 5 | 2018-07-22T03:06:33.000Z | 2018-11-08T22:42:53.000Z | communication_modules/azure_iot_hub/__init__.py | dbenge/SimpleSensor_contrib | f48c31d3a0e0e29531ac5b0b445dccafd4f1e1d9 | [
"Apache-2.0"
] | 3 | 2018-07-11T14:49:06.000Z | 2022-03-24T18:31:26.000Z | from simplesensor.communication_modules.azure_iot_hub.azureIotHubModule import AzureIotHubModule as CommunicationModule | 119 | 119 | 0.932773 | 12 | 119 | 9 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042017 | 119 | 1 | 119 | 119 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5aeb41622feaa3f7b1564f4b8743b3dd401d728 | 199 | py | Python | nanodet/util/rank_filter.py | zjiao19/nanodet | 17af4a81fa93e0405f3a9f8c8feb75ad7b9adc50 | [
"Apache-2.0"
] | 8 | 2021-05-01T14:11:19.000Z | 2022-01-11T01:08:35.000Z | nanodet/util/rank_filter.py | zjiao19/nanodet | 17af4a81fa93e0405f3a9f8c8feb75ad7b9adc50 | [
"Apache-2.0"
] | 1 | 2021-12-20T08:01:20.000Z | 2021-12-20T08:01:20.000Z | nanodet/util/rank_filter.py | zjiao19/nanodet | 17af4a81fa93e0405f3a9f8c8feb75ad7b9adc50 | [
"Apache-2.0"
] | null | null | null |
def rank_filter(func):
def func_filter(local_rank=-1, *args, **kwargs):
if local_rank < 1:
return func(*args, **kwargs)
else:
pass
return func_filter
| 22.111111 | 52 | 0.557789 | 25 | 199 | 4.24 | 0.48 | 0.188679 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.331658 | 199 | 8 | 53 | 24.875 | 0.781955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c5f1690fb5bdf9e0c170536780d8205e10259b5d | 94 | py | Python | backend/app/app/crud/__init__.py | luovkle/FastAPI-Note-Taking | 317d92e75cbba3a6e633d6cf3d0bed0021412967 | [
"MIT"
] | null | null | null | backend/app/app/crud/__init__.py | luovkle/FastAPI-Note-Taking | 317d92e75cbba3a6e633d6cf3d0bed0021412967 | [
"MIT"
] | null | null | null | backend/app/app/crud/__init__.py | luovkle/FastAPI-Note-Taking | 317d92e75cbba3a6e633d6cf3d0bed0021412967 | [
"MIT"
] | null | null | null | from .crud_user import crud_user # noqa: F401
from .crud_note import crud_note # noqa: F401
| 31.333333 | 46 | 0.765957 | 16 | 94 | 4.25 | 0.4375 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 94 | 2 | 47 | 47 | 0.794872 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6803550947b81cdf9de81ccf68c02ddd50ac556a | 48 | py | Python | bindings/pydeck/pydeck/exceptions/__init__.py | marsupialmarcos/deck.gl | c9867c1db87e492253865353f68c985019c7c613 | [
"MIT"
] | null | null | null | bindings/pydeck/pydeck/exceptions/__init__.py | marsupialmarcos/deck.gl | c9867c1db87e492253865353f68c985019c7c613 | [
"MIT"
] | null | null | null | bindings/pydeck/pydeck/exceptions/__init__.py | marsupialmarcos/deck.gl | c9867c1db87e492253865353f68c985019c7c613 | [
"MIT"
] | null | null | null | from .exceptions import PydeckException # noqa
| 24 | 47 | 0.8125 | 5 | 48 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.95122 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6814efafa8b0436d0c07705dbb35b7e3e7d2d5ab | 61 | py | Python | itscsapp/admision/models/__init__.py | danyRivC/itscsapp | 485309f41f477fcebf66899740a0b4a954f4b98b | [
"MIT"
] | null | null | null | itscsapp/admision/models/__init__.py | danyRivC/itscsapp | 485309f41f477fcebf66899740a0b4a954f4b98b | [
"MIT"
] | null | null | null | itscsapp/admision/models/__init__.py | danyRivC/itscsapp | 485309f41f477fcebf66899740a0b4a954f4b98b | [
"MIT"
] | null | null | null | from .admision_carrer import *
from .admision_event import *
| 20.333333 | 30 | 0.803279 | 8 | 61 | 5.875 | 0.625 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 31 | 30.5 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a83e29d363c3ca50085e97a39444917b28289d0b | 26 | py | Python | __init__.py | fleximus/pelican-fancyindex | 305a953ed42c3b9f6c43dbd2d20751ac4f11deaf | [
"BSD-2-Clause"
] | null | null | null | __init__.py | fleximus/pelican-fancyindex | 305a953ed42c3b9f6c43dbd2d20751ac4f11deaf | [
"BSD-2-Clause"
] | null | null | null | __init__.py | fleximus/pelican-fancyindex | 305a953ed42c3b9f6c43dbd2d20751ac4f11deaf | [
"BSD-2-Clause"
] | null | null | null | from .fancyindex import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a88816b3f545c55918110797952195372fc30a92 | 1,929 | py | Python | hexastore/bisect.py | alexchamberlain/mutant | 3f4ec0df8b83b2de18766e2c9e1808cff4fd52a9 | [
"MIT"
] | 3 | 2019-06-15T13:13:39.000Z | 2020-02-07T19:54:12.000Z | hexastore/bisect.py | alexchamberlain/mutant | 3f4ec0df8b83b2de18766e2c9e1808cff4fd52a9 | [
"MIT"
] | 276 | 2019-07-03T06:18:37.000Z | 2021-07-28T05:24:59.000Z | hexastore/bisect.py | alexchamberlain/mutant | 3f4ec0df8b83b2de18766e2c9e1808cff4fd52a9 | [
"MIT"
] | null | null | null | """Bisection algorithms."""
from typing import Callable, Optional, Sequence, TypeVar, cast
from .typing import Comparable
T = TypeVar("T")
U = TypeVar("U", bound=Comparable)
def bisect_left(
a: Sequence[T], x: T, lo: int = 0, hi: Optional[int] = None, key: Optional[Callable[[T], U]] = None
) -> int:
"""Ret... | 25.72 | 103 | 0.573354 | 323 | 1,929 | 3.414861 | 0.232198 | 0.009066 | 0.036265 | 0.025385 | 0.75612 | 0.75612 | 0.75612 | 0.75612 | 0.75612 | 0.75612 | 0 | 0.007502 | 0.308968 | 1,929 | 74 | 104 | 26.067568 | 0.819955 | 0.384137 | 0 | 0.756757 | 0 | 0 | 0.042781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.054054 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a888a17e5cc1d1b46ed3663d418f931e372c9caf | 3,150 | py | Python | test.py | eldinsahbaz/MetaheuristicOptimization | d553c4ea791e10b64384056927502717f5009378 | [
"MIT"
] | 1 | 2019-02-22T18:26:55.000Z | 2019-02-22T18:26:55.000Z | test.py | eldinsahbaz/MetaheuristicOptimization | d553c4ea791e10b64384056927502717f5009378 | [
"MIT"
] | null | null | null | test.py | eldinsahbaz/MetaheuristicOptimization | d553c4ea791e10b64384056927502717f5009378 | [
"MIT"
] | null | null | null | import PSO
import numpy as np
from pprint import pprint
from functools import partial
# Define the details of the table design problem
def objective_one(x):
i = 0.001
return -((1/((2*np.pi)**0.5))*np.exp(-0.5*((((x[0]-1.5)*(x[0]-1.5)+(x[1]-1.5)*(x[1]-1.5))/0.5)**1)) + (2/((2*np.pi)**0.5))*np.exp(-0.5*((((x[0]... | 29.439252 | 195 | 0.583492 | 418 | 3,150 | 4.157895 | 0.203349 | 0.103567 | 0.044879 | 0.055236 | 0.770426 | 0.75374 | 0.722094 | 0.718067 | 0.718067 | 0.718067 | 0 | 0.054729 | 0.274921 | 3,150 | 106 | 196 | 29.716981 | 0.706217 | 0.014603 | 0 | 0.735632 | 0 | 0 | 0.154417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0 | 0.045977 | 0.011494 | 0.091954 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8ab1507e7422c2e6e8504b138f80c7c058d5661 | 118 | py | Python | Maths/__init__.py | NextLmabda/PyLambda | 5fb91062c4f9c493fcd3637c2aa4d786f8c387d0 | [
"MIT"
] | null | null | null | Maths/__init__.py | NextLmabda/PyLambda | 5fb91062c4f9c493fcd3637c2aa4d786f8c387d0 | [
"MIT"
] | null | null | null | Maths/__init__.py | NextLmabda/PyLambda | 5fb91062c4f9c493fcd3637c2aa4d786f8c387d0 | [
"MIT"
] | null | null | null | print('Omolewa is teaching a class')
print('Lanre is still making changes')
print('Omolewa has made a change too')
| 29.5 | 39 | 0.737288 | 19 | 118 | 4.578947 | 0.736842 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161017 | 118 | 3 | 40 | 39.333333 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
764337fd61b07695cb56126ab069e65c8c4a854d | 31 | py | Python | relevanceai/_api/endpoints/admin/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 21 | 2021-11-23T13:01:36.000Z | 2022-03-23T03:45:30.000Z | relevanceai/_api/endpoints/admin/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 217 | 2021-11-23T00:11:01.000Z | 2022-03-30T08:11:49.000Z | relevanceai/_api/endpoints/admin/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 4 | 2022-01-04T01:48:30.000Z | 2022-02-11T03:19:32.000Z | from .admin import AdminClient
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76563bc9936580a8d4669bd7cefb4b1d15996d7b | 36 | py | Python | Allswap_djangoREST/backend/allswap/accounts/views.py | yds05238/AllSwap_Backend | 95429fe6c709feef6b9e4b2349921e1cc4dd4c18 | [
"MIT"
] | 2 | 2020-02-19T05:06:49.000Z | 2020-02-20T17:34:41.000Z | Allswap_djangoREST/backend/allswap/accounts/views.py | yds05238/AllSwap_Backend | 95429fe6c709feef6b9e4b2349921e1cc4dd4c18 | [
"MIT"
] | 28 | 2020-06-05T20:52:59.000Z | 2022-03-12T00:15:17.000Z | Allswap_djangoREST/backend/allswap/accounts/views.py | yds05238/AllSwap | 95429fe6c709feef6b9e4b2349921e1cc4dd4c18 | [
"MIT"
] | null | null | null | from rest_framework import generics
| 18 | 35 | 0.888889 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
765cc31257c572ee270073568f4fce119056c92f | 4,533 | py | Python | pinakes/common/auth/keycloak_django/tests/test_permission_checks.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 2 | 2022-03-17T18:53:58.000Z | 2022-03-17T22:04:22.000Z | pinakes/common/auth/keycloak_django/tests/test_permission_checks.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 9 | 2022-03-18T08:22:57.000Z | 2022-03-30T17:14:49.000Z | pinakes/common/auth/keycloak_django/tests/test_permission_checks.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 7 | 2022-03-17T22:03:08.000Z | 2022-03-28T21:28:34.000Z | from unittest import mock
from pinakes.common.auth.keycloak.models import (
AuthzPermission,
AuthzResource,
)
from pinakes.common.auth.keycloak_django.permissions import (
check_wildcard_permission,
check_resource_permission,
check_object_permission,
get_permitted_resources,
)
@mock.patch("pi... | 29.245161 | 79 | 0.736378 | 529 | 4,533 | 5.984877 | 0.113422 | 0.059065 | 0.06633 | 0.08686 | 0.837018 | 0.808907 | 0.730891 | 0.727732 | 0.727732 | 0.727732 | 0 | 0.010225 | 0.158615 | 4,533 | 154 | 80 | 29.435065 | 0.819874 | 0 | 0 | 0.474576 | 0 | 0 | 0.219943 | 0.142952 | 0 | 0 | 0 | 0 | 0.161017 | 1 | 0.059322 | false | 0 | 0.025424 | 0 | 0.084746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76cc225335a2213744e19bb14468fe461b9bf959 | 179 | py | Python | magi/agents/sac_ae/__init__.py | ethanluoyc/magi | 2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa | [
"Apache-2.0"
] | 86 | 2021-11-24T21:53:29.000Z | 2022-03-27T13:35:45.000Z | magi/agents/sac_ae/__init__.py | ethanluoyc/magi | 2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa | [
"Apache-2.0"
] | 7 | 2021-11-26T17:23:29.000Z | 2022-03-07T21:49:44.000Z | magi/agents/sac_ae/__init__.py | ethanluoyc/magi | 2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa | [
"Apache-2.0"
] | 3 | 2021-11-27T11:13:18.000Z | 2022-01-24T14:38:53.000Z | """SAC-AE agent."""
from magi.agents.sac_ae.agent import SACAEAgent
from magi.agents.sac_ae.agent import SACAEConfig
from magi.agents.sac_ae.networks import make_default_networks
| 35.8 | 61 | 0.826816 | 29 | 179 | 4.931034 | 0.413793 | 0.13986 | 0.20979 | 0.356643 | 0.552448 | 0.41958 | 0.41958 | 0 | 0 | 0 | 0 | 0 | 0.078212 | 179 | 4 | 62 | 44.75 | 0.866667 | 0.072626 | 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 | 0 | 0 | 0 | 6 |
4f15458885d2ae78814572df9599b9ae72b6ee6c | 34 | py | Python | app/mashaller/__init__.py | yntonfon/dashboard | 287e7b2d895916102236243c1051da1e5ee3756e | [
"MIT"
] | null | null | null | app/mashaller/__init__.py | yntonfon/dashboard | 287e7b2d895916102236243c1051da1e5ee3756e | [
"MIT"
] | null | null | null | app/mashaller/__init__.py | yntonfon/dashboard | 287e7b2d895916102236243c1051da1e5ee3756e | [
"MIT"
] | null | null | null | from .user import user_marshaller
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f16139d6db319752d1b3230dd073a3e1e47c8fd | 118 | py | Python | runners/mlcube_singularity/mlcube_singularity/__init__.py | johnugeorge/mlcube | 10bdfe859805aa8c868c5a4745259037e123e757 | [
"Apache-2.0"
] | 83 | 2020-12-03T18:53:11.000Z | 2022-03-24T11:58:11.000Z | runners/mlcube_singularity/mlcube_singularity/__init__.py | mlperf/mlbox | 5623826bd9c1d60f082170aeffc9ff1ccda7a656 | [
"Apache-2.0"
] | 100 | 2019-11-08T19:58:59.000Z | 2020-11-19T05:47:12.000Z | runners/mlcube_singularity/mlcube_singularity/__init__.py | johnugeorge/mlcube | 10bdfe859805aa8c868c5a4745259037e123e757 | [
"Apache-2.0"
] | 15 | 2019-10-30T17:53:39.000Z | 2020-10-31T15:07:38.000Z |
def get_runner_class():
from mlcube_singularity.singularity_run import SingularityRun
return SingularityRun
| 19.666667 | 65 | 0.813559 | 13 | 118 | 7.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 118 | 5 | 66 | 23.6 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f2da43ba15b54e4aa7a9570b02b17a2b0fc1c6e | 22 | py | Python | tt/maxvol/__init__.py | rballester/ttpy | a2fdf08fae9d34cb1e5ba28482e82e04b249911b | [
"MIT"
] | null | null | null | tt/maxvol/__init__.py | rballester/ttpy | a2fdf08fae9d34cb1e5ba28482e82e04b249911b | [
"MIT"
] | null | null | null | tt/maxvol/__init__.py | rballester/ttpy | a2fdf08fae9d34cb1e5ba28482e82e04b249911b | [
"MIT"
] | 1 | 2021-01-10T07:02:09.000Z | 2021-01-10T07:02:09.000Z | from _maxvol import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f2eed39bc85b82594221090c77cb7382ee39bd1 | 169 | py | Python | paxLibUL/convolution/__init__.py | PAX-ULaval/pax-libraries | 60e065ef480d85a3c03cfad4d2bbc1a70632c98b | [
"MIT"
] | null | null | null | paxLibUL/convolution/__init__.py | PAX-ULaval/pax-libraries | 60e065ef480d85a3c03cfad4d2bbc1a70632c98b | [
"MIT"
] | null | null | null | paxLibUL/convolution/__init__.py | PAX-ULaval/pax-libraries | 60e065ef480d85a3c03cfad4d2bbc1a70632c98b | [
"MIT"
] | null | null | null | # pylint: disable=wildcard-import
from .architectures import *
from .callbacks import *
from .datasets import *
from .visualisation import *
from .weights_init import *
| 24.142857 | 33 | 0.781065 | 20 | 169 | 6.55 | 0.55 | 0.381679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 169 | 6 | 34 | 28.166667 | 0.89726 | 0.183432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f309231478a6b77460cb55dce7f7772392ec78f | 11,543 | py | Python | mstrio/api/migration.py | czyzq/mstrio-py | b25fd19936b659d503a7eaaa96c8d0b4e118cb7c | [
"Apache-2.0"
] | 1 | 2022-02-15T13:18:04.000Z | 2022-02-15T13:18:04.000Z | mstrio/api/migration.py | czyzq/mstrio-py | b25fd19936b659d503a7eaaa96c8d0b4e118cb7c | [
"Apache-2.0"
] | null | null | null | mstrio/api/migration.py | czyzq/mstrio-py | b25fd19936b659d503a7eaaa96c8d0b4e118cb7c | [
"Apache-2.0"
] | null | null | null | from typing import Optional
import requests
from mstrio.connection import Connection
from mstrio.utils.error_handlers import ErrorHandler
@ErrorHandler(err_msg='Error while creating the package holder')
def create_package_holder(connection: Connection, project_id: Optional[str] = None,
err... | 40.644366 | 98 | 0.664559 | 1,439 | 11,543 | 5.239055 | 0.109798 | 0.083565 | 0.045099 | 0.053057 | 0.867224 | 0.842287 | 0.820533 | 0.783924 | 0.768404 | 0.761507 | 0 | 0 | 0.248116 | 11,543 | 283 | 99 | 40.787986 | 0.868648 | 0.472927 | 0 | 0.522936 | 0 | 0 | 0.218806 | 0.080007 | 0 | 0 | 0 | 0.007067 | 0 | 1 | 0.091743 | false | 0 | 0.137615 | 0 | 0.321101 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f3cddc3d48976524af037fa191a969e354eac83 | 193 | py | Python | keymaster/__main__.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | keymaster/__main__.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | keymaster/__main__.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | import os, sys
sys.path.insert(0, os.path.join(os.getcwd(), '..', 'Imagination'))
sys.path.insert(0, os.path.join(os.getcwd(), '..', 'xmode'))
from keymaster.starter import activate
activate() | 32.166667 | 66 | 0.689119 | 29 | 193 | 4.586207 | 0.482759 | 0.105263 | 0.195489 | 0.210526 | 0.481203 | 0.481203 | 0.481203 | 0.481203 | 0.481203 | 0 | 0 | 0.011299 | 0.082902 | 193 | 6 | 67 | 32.166667 | 0.740113 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4f9120612f328e8baf028521cfe58288d762c155 | 134 | py | Python | hec_gnn/single_model/__init__.py | zlinaf/PowerGear | 51ab67a7e2a2f4833de5196bb8aac57eaf77db69 | [
"MIT"
] | 8 | 2022-03-11T03:29:15.000Z | 2022-03-27T07:39:48.000Z | hec_gnn/single_model/__init__.py | zlinaf/PowerGear | 51ab67a7e2a2f4833de5196bb8aac57eaf77db69 | [
"MIT"
] | null | null | null | hec_gnn/single_model/__init__.py | zlinaf/PowerGear | 51ab67a7e2a2f4833de5196bb8aac57eaf77db69 | [
"MIT"
] | 3 | 2022-03-11T02:30:24.000Z | 2022-03-11T02:35:26.000Z | import sys
import os
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.append(ROOT_DIR) | 33.5 | 87 | 0.791045 | 24 | 134 | 4.166667 | 0.416667 | 0.24 | 0.39 | 0.45 | 0.45 | 0.45 | 0.45 | 0.45 | 0 | 0 | 0 | 0 | 0.052239 | 134 | 4 | 88 | 33.5 | 0.787402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
96d45139aca244273384a51c530c63b4656ed83e | 72 | py | Python | tests/test_main.py | joaogcs/python-project-template | 079f1606a474e155449ccd29da5970f571bf97a8 | [
"MIT"
] | null | null | null | tests/test_main.py | joaogcs/python-project-template | 079f1606a474e155449ccd29da5970f571bf97a8 | [
"MIT"
] | null | null | null | tests/test_main.py | joaogcs/python-project-template | 079f1606a474e155449ccd29da5970f571bf97a8 | [
"MIT"
] | null | null | null | # This is a sample Python script.
def test_print_hi():
assert True
| 14.4 | 33 | 0.708333 | 12 | 72 | 4.083333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 72 | 4 | 34 | 18 | 0.875 | 0.430556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
96f32ed1cb808038241c0062fb82667d9d2ca2d6 | 188 | py | Python | webs/douban/tasks/__init__.py | billvsme/videoSpider | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 216 | 2016-02-20T12:46:43.000Z | 2022-02-23T07:07:00.000Z | webs/douban/tasks/__init__.py | billvsme/tvCrawlers | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 3 | 2016-05-06T05:04:17.000Z | 2021-12-13T19:41:39.000Z | webs/douban/tasks/__init__.py | billvsme/tvCrawlers | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 99 | 2016-02-20T08:34:00.000Z | 2022-02-10T20:52:01.000Z | from . import get_main_movies_base_data
from . import get_main_movies_full_data
from . import get_celebrities_full_data
from . import down_video_images
from . import down_celebrity_images
| 31.333333 | 39 | 0.867021 | 30 | 188 | 4.933333 | 0.433333 | 0.337838 | 0.263514 | 0.22973 | 0.310811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 188 | 5 | 40 | 37.6 | 0.880952 | 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 | 0 | 0 | 0 | 6 |
4fdf21ff4984773ad50f5c25c0c1fd4ddfd99a2a | 37 | py | Python | mmo_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 1 | 2021-12-12T02:50:20.000Z | 2021-12-12T02:50:20.000Z | mmo_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 17 | 2020-02-07T23:40:36.000Z | 2020-12-22T16:38:44.000Z | mmo_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | null | null | null | from mmo_module.mmo import MMOModule
| 18.5 | 36 | 0.864865 | 6 | 37 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fe89fe9a8bdb2830db5052a284915883fc9077c | 199 | py | Python | bin/createLinkograph.py | mikiec84/linkshop | 72959ceca0003be226edeca6496f915502831596 | [
"Apache-2.0"
] | 6 | 2017-07-18T15:28:33.000Z | 2020-03-03T14:45:45.000Z | bin/createLinkograph.py | mikiec84/linkshop | 72959ceca0003be226edeca6496f915502831596 | [
"Apache-2.0"
] | null | null | null | bin/createLinkograph.py | mikiec84/linkshop | 72959ceca0003be226edeca6496f915502831596 | [
"Apache-2.0"
] | 3 | 2017-09-09T00:36:48.000Z | 2020-03-03T14:45:49.000Z | #!/usr/bin/env python3
"""Command-line wrapper for linkoCreate.cli_createLinko."""
import loadPath # Adds the project path.
import linkograph.linkoCreate
linkograph.linkoCreate.cli_createLinko()
| 22.111111 | 59 | 0.79397 | 24 | 199 | 6.5 | 0.75 | 0.179487 | 0.320513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.100503 | 199 | 8 | 60 | 24.875 | 0.865922 | 0.492462 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b2de91bfb8d50062a3db4c0b2f2027c54e1a627 | 49 | py | Python | specviz/plugins/unit_change/__init__.py | ibusko/specviz | b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa | [
"BSD-3-Clause"
] | null | null | null | specviz/plugins/unit_change/__init__.py | ibusko/specviz | b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa | [
"BSD-3-Clause"
] | null | null | null | specviz/plugins/unit_change/__init__.py | ibusko/specviz | b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa | [
"BSD-3-Clause"
] | null | null | null | from .unit_change_dialog import UnitChangeDialog
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c761a408113359da777a62cae459343ebc003d1 | 187 | py | Python | ros/genpy/src/genpy/msg/__init__.py | numberen/apollo-platform | 8f359c8d00dd4a98f56ec2276c5663cb6c100e47 | [
"Apache-2.0"
] | 742 | 2017-07-05T02:49:36.000Z | 2022-03-30T12:55:43.000Z | ros/genpy/src/genpy/msg/__init__.py | numberen/apollo-platform | 8f359c8d00dd4a98f56ec2276c5663cb6c100e47 | [
"Apache-2.0"
] | 73 | 2017-07-06T12:50:51.000Z | 2022-03-07T08:07:07.000Z | ros/genpy/src/genpy/msg/__init__.py | numberen/apollo-platform | 8f359c8d00dd4a98f56ec2276c5663cb6c100e47 | [
"Apache-2.0"
] | 425 | 2017-07-04T22:03:29.000Z | 2022-03-29T06:59:06.000Z | from ._TestFillEmbedTime import *
from ._TestFillSimple import *
from ._TestManyFields import *
from ._TestMsgArray import *
from ._TestPrimitiveArray import *
from ._TestString import *
| 26.714286 | 34 | 0.807487 | 18 | 187 | 8.055556 | 0.444444 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128342 | 187 | 6 | 35 | 31.166667 | 0.889571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c76ebd85af1120266012ad23762034711833042 | 4,405 | py | Python | gamestonk_terminal/etf/financedatabase_view.py | i2infinity/GamestonkTerminal | abf79a5249930e5a9f5d2a1c4ba64590888ecef5 | [
"MIT"
] | 1 | 2021-12-31T04:10:42.000Z | 2021-12-31T04:10:42.000Z | gamestonk_terminal/etf/financedatabase_view.py | greggorrell/GamestonkTerminal | caa2c88c1259967b55a7565c7ce5fb1014f39e68 | [
"MIT"
] | 1 | 2022-03-29T13:45:05.000Z | 2022-03-29T13:45:05.000Z | gamestonk_terminal/etf/financedatabase_view.py | greggorrell/GamestonkTerminal | caa2c88c1259967b55a7565c7ce5fb1014f39e68 | [
"MIT"
] | 1 | 2021-06-20T02:42:40.000Z | 2021-06-20T02:42:40.000Z | """Finance Database view"""
__docformat__ = "numpy"
import os
import pandas as pd
from tabulate import tabulate
from gamestonk_terminal import feature_flags as gtff
from gamestonk_terminal.etf import financedatabase_model
from gamestonk_terminal.helper_funcs import export_data
def display_etf_by_name(
name: str,... | 29.965986 | 108 | 0.613167 | 518 | 4,405 | 4.994208 | 0.187259 | 0.09741 | 0.104368 | 0.053344 | 0.841129 | 0.819095 | 0.819095 | 0.807499 | 0.776575 | 0.776575 | 0 | 0.002818 | 0.274915 | 4,405 | 146 | 109 | 30.171233 | 0.807138 | 0.197276 | 0 | 0.65625 | 0 | 0 | 0.146886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.0625 | 0 | 0.125 | 0.09375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
506c907cacd0c8e8e93832785451ebe1451a8d30 | 175 | py | Python | malpi/dkwm/gym_envs/__init__.py | Bleyddyn/malpi | 9315f19366bd56da12c6dc7a84d830bbec530753 | [
"MIT"
] | 5 | 2017-03-27T22:15:54.000Z | 2022-01-19T23:46:46.000Z | malpi/dkwm/gym_envs/__init__.py | Bleyddyn/malpi | 9315f19366bd56da12c6dc7a84d830bbec530753 | [
"MIT"
] | 10 | 2017-01-19T19:22:06.000Z | 2022-02-27T21:29:50.000Z | malpi/dkwm/gym_envs/__init__.py | Bleyddyn/malpi | 9315f19366bd56da12c6dc7a84d830bbec530753 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
from malpi.dkwm.gym_envs.dkwm_env import DKWMEnv
register(
id='dkwm-v0',
entry_point='malpi.dkwm.gym_envs:DKWMEnv',
)
| 19.444444 | 48 | 0.742857 | 26 | 175 | 4.846154 | 0.538462 | 0.166667 | 0.190476 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.148571 | 175 | 8 | 49 | 21.875 | 0.838926 | 0 | 0 | 0 | 0 | 0 | 0.194286 | 0.154286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
507ab70263733fd377475d2677b804a7e98a6466 | 350 | py | Python | RecoEgamma/EgammaPhotonProducers/python/propOppoMomentumWithMaterialForElectrons_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoEgamma/EgammaPhotonProducers/python/propOppoMomentumWithMaterialForElectrons_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoEgamma/EgammaPhotonProducers/python/propOppoMomentumWithMaterialForElectrons_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
import TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi
#PropagatorWithMaterialESProducer
oppositeToMomElePropagator = TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi.OppositeMaterialPropagator.clone(
Mass = 0.000511,
ComponentName = '... | 38.888889 | 123 | 0.845714 | 24 | 350 | 12.25 | 0.708333 | 0.190476 | 0.367347 | 0.387755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022293 | 0.102857 | 350 | 8 | 124 | 43.75 | 0.914013 | 0.091429 | 0 | 0 | 0 | 0 | 0.082278 | 0.082278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
50f08891336f7e5545f07eea041b3eca967010af | 42 | py | Python | python/testData/requirement/generation/keepMatchingVersion/main.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/requirement/generation/keepMatchingVersion/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/requirement/generation/keepMatchingVersion/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 1 | 2020-03-10T02:53:51.000Z | 2020-03-10T02:53:51.000Z | import django
import numpy
import requests | 14 | 15 | 0.880952 | 6 | 42 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 3 | 15 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fed33d3830cf5a78951341d11b17322020b73f1 | 18,691 | py | Python | datasets/ner_dataset.py | saiajaym/MetaLearningForNER | 88009aa478645685e5bacef762e896c9ca1ecad9 | [
"MIT"
] | 3 | 2021-05-12T15:16:02.000Z | 2021-11-02T05:23:56.000Z | datasets/ner_dataset.py | saiajaym/MetaLearningForNER | 88009aa478645685e5bacef762e896c9ca1ecad9 | [
"MIT"
] | 2 | 2021-08-07T01:59:57.000Z | 2022-03-23T09:46:30.000Z | datasets/ner_dataset.py | saiajaym/MetaLearningForNER | 88009aa478645685e5bacef762e896c9ca1ecad9 | [
"MIT"
] | 2 | 2020-12-27T22:31:14.000Z | 2021-04-02T17:36:35.000Z | import itertools
import json
import os
import random
from collections import defaultdict, Counter
from tqdm.auto import tqdm, trange
from torch.nn import CrossEntropyLoss
from torch.utils import data
import numpy as np
from datasets import utils
class NERSampler:
def __init__(self, dataset, labels, label_map, n... | 37.307385 | 123 | 0.569311 | 2,399 | 18,691 | 4.249687 | 0.088787 | 0.02256 | 0.030603 | 0.02668 | 0.779892 | 0.773811 | 0.765964 | 0.749681 | 0.745856 | 0.74105 | 0 | 0.005004 | 0.337061 | 18,691 | 500 | 124 | 37.382 | 0.817771 | 0.189235 | 0 | 0.710448 | 0 | 0 | 0.027185 | 0 | 0 | 0 | 0 | 0 | 0.00597 | 1 | 0.089552 | false | 0 | 0.029851 | 0.026866 | 0.21194 | 0.035821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e84d4a5decc6c49e64831cb5acb6bf62262b9049 | 276 | py | Python | bentoml/paddle.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 1 | 2021-06-12T17:04:07.000Z | 2021-06-12T17:04:07.000Z | bentoml/paddle.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 4 | 2021-05-16T08:06:25.000Z | 2021-11-13T08:46:36.000Z | bentoml/paddle.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | null | null | null | from ._internal.frameworks.paddle import load
from ._internal.frameworks.paddle import save
from ._internal.frameworks.paddle import load_runner
from ._internal.frameworks.paddle import import_from_paddlehub
__all__ = ["import_from_paddlehub", "load", "load_runner", "save"]
| 39.428571 | 66 | 0.822464 | 35 | 276 | 6.085714 | 0.285714 | 0.225352 | 0.413146 | 0.525822 | 0.676056 | 0.356808 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 276 | 6 | 67 | 46 | 0.841897 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8507d06490cbd085cac36479e442057aa3863d2 | 28,595 | py | Python | src/training/train.py | KinanZ/open_clip | 6e76ee3b3a15ee6c4a187853fd123c967721c32b | [
"MIT"
] | null | null | null | src/training/train.py | KinanZ/open_clip | 6e76ee3b3a15ee6c4a187853fd123c967721c32b | [
"MIT"
] | null | null | null | src/training/train.py | KinanZ/open_clip | 6e76ee3b3a15ee6c4a187853fd123c967721c32b | [
"MIT"
] | null | null | null | import os
import time
import json
import numpy as np
import torch
import torch.nn as nn
from sklearn import decomposition
from torch.cuda.amp import autocast
import torch.distributed as dist
import sys
sys.path.append('/misc/student/alzouabk/Thesis/self_supervised_pretraining/open_clip_thesis/src/')
from training.ze... | 45.606061 | 166 | 0.602168 | 3,841 | 28,595 | 4.245249 | 0.079146 | 0.064026 | 0.072121 | 0.043788 | 0.815344 | 0.785784 | 0.775359 | 0.764872 | 0.758371 | 0.745738 | 0 | 0.018241 | 0.294492 | 28,595 | 626 | 167 | 45.678914 | 0.790027 | 0.098584 | 0 | 0.676 | 0 | 0.004 | 0.038033 | 0.010295 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.028 | 0.004 | 0.07 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e854eac02ff984d86165518b112aa60249a5b42e | 18 | py | Python | allennlp/tests/fixtures/plugins/project_c/allennlp_plugins/c/__init__.py | justindujardin/allennlp | c4559f3751775aa8bc018db417edc119d29d8051 | [
"Apache-2.0"
] | 1 | 2020-03-30T14:07:02.000Z | 2020-03-30T14:07:02.000Z | allennlp/tests/fixtures/plugins/project_c/allennlp_plugins/c/__init__.py | justindujardin/allennlp | c4559f3751775aa8bc018db417edc119d29d8051 | [
"Apache-2.0"
] | 123 | 2020-04-26T02:41:30.000Z | 2021-08-02T21:18:00.000Z | allennlp/tests/fixtures/plugins/project_c/allennlp_plugins/c/__init__.py | justindujardin/allennlp | c4559f3751775aa8bc018db417edc119d29d8051 | [
"Apache-2.0"
] | 2 | 2019-12-21T05:58:44.000Z | 2021-08-16T07:41:21.000Z | from c.c import C
| 9 | 17 | 0.722222 | 5 | 18 | 2.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e85a582b4835c961353024f23cb7838de54c38e5 | 24 | py | Python | torchvision/prototype/utils/__init__.py | yoshitomo-matsubara/vision | 03d11338f3faf94a0749549912593ddb8b70be17 | [
"BSD-3-Clause"
] | 12,063 | 2017-01-18T19:58:38.000Z | 2022-03-31T23:08:44.000Z | torchvision/prototype/utils/__init__.py | yoshitomo-matsubara/vision | 03d11338f3faf94a0749549912593ddb8b70be17 | [
"BSD-3-Clause"
] | 4,673 | 2017-01-18T21:30:03.000Z | 2022-03-31T20:58:33.000Z | torchvision/prototype/utils/__init__.py | yoshitomo-matsubara/vision | 03d11338f3faf94a0749549912593ddb8b70be17 | [
"BSD-3-Clause"
] | 7,132 | 2017-01-18T18:12:23.000Z | 2022-03-31T21:19:10.000Z | from . import _internal
| 12 | 23 | 0.791667 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8a9c1a7e5fb15f5604bf50940522a213e5cd010 | 131 | py | Python | app/api/__init__.py | gladuo/VideoShow | 544c6ccd98ee4da5950d914289f30b5e918aa1a6 | [
"MIT"
] | null | null | null | app/api/__init__.py | gladuo/VideoShow | 544c6ccd98ee4da5950d914289f30b5e918aa1a6 | [
"MIT"
] | null | null | null | app/api/__init__.py | gladuo/VideoShow | 544c6ccd98ee4da5950d914289f30b5e918aa1a6 | [
"MIT"
] | null | null | null | from flask import Blueprint
api = Blueprint('api', __name__)
from . import authentication, videos, shows, users, comments, errors | 26.2 | 68 | 0.770992 | 16 | 131 | 6.0625 | 0.75 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 5 | 68 | 26.2 | 0.858407 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
2cda9fc4c3b7e52ae6618733b4ca5902d28c7ffa | 59 | py | Python | src/models/exif_sc/__init__.py | lemonwaffle/nisemono | f2b32dbff63ea6de47460713aac8a768ff59f126 | [
"MIT"
] | 7 | 2021-07-08T05:17:19.000Z | 2021-12-29T05:45:24.000Z | src/models/exif_sc/__init__.py | yizhe-ang/fake-detection-lab | f2b32dbff63ea6de47460713aac8a768ff59f126 | [
"MIT"
] | null | null | null | src/models/exif_sc/__init__.py | yizhe-ang/fake-detection-lab | f2b32dbff63ea6de47460713aac8a768ff59f126 | [
"MIT"
] | null | null | null | from .exif_sc import EXIF_SC
from .networks import EXIF_Net | 29.5 | 30 | 0.847458 | 11 | 59 | 4.272727 | 0.545455 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 2 | 30 | 29.5 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa44f06aa862871b09d8f10126a6cb038bef569f | 47 | py | Python | manabi/apps/manabi_auth/tests.py | aehlke/manabi | 1dfdd4ecb9c1214b6a70268be0dcfeda9da8754b | [
"MIT"
] | 14 | 2015-10-03T07:34:28.000Z | 2021-09-20T07:10:29.000Z | manabi/apps/manabi_auth/tests.py | aehlke/manabi | 1dfdd4ecb9c1214b6a70268be0dcfeda9da8754b | [
"MIT"
] | 23 | 2019-10-25T08:47:23.000Z | 2022-01-30T02:00:45.000Z | manabi/apps/manabi_auth/tests.py | aehlke/manabi | 1dfdd4ecb9c1214b6a70268be0dcfeda9da8754b | [
"MIT"
] | 7 | 2016-10-04T08:10:36.000Z | 2021-09-20T07:10:33.000Z | from manabi.test_helpers import ManabiTestCase
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa5fa0507088e412dac0381129f186b5aaf9c2d7 | 34 | py | Python | masteronly.py | mbs5mz/cs3240-labdemo | bc6f04f136686394248e6629aeba0cd3bed7770f | [
"MIT"
] | null | null | null | masteronly.py | mbs5mz/cs3240-labdemo | bc6f04f136686394248e6629aeba0cd3bed7770f | [
"MIT"
] | null | null | null | masteronly.py | mbs5mz/cs3240-labdemo | bc6f04f136686394248e6629aeba0cd3bed7770f | [
"MIT"
] | null | null | null | print("This is the master branch") | 34 | 34 | 0.764706 | 6 | 34 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fa6414e49146863505731712674d2bc44a0b263b | 113 | py | Python | pony/orm/tests/test_f_strings.py | luckydonald/pony | e733f14ef4e21514b49248b7b72aae0728029852 | [
"Apache-2.0"
] | 2,628 | 2015-01-02T17:55:28.000Z | 2022-03-31T10:36:42.000Z | pony/orm/tests/test_f_strings.py | luckydonald/pony | e733f14ef4e21514b49248b7b72aae0728029852 | [
"Apache-2.0"
] | 525 | 2015-01-03T20:30:08.000Z | 2022-03-23T12:30:01.000Z | pony/orm/tests/test_f_strings.py | luckydonald/pony | e733f14ef4e21514b49248b7b72aae0728029852 | [
"Apache-2.0"
] | 256 | 2015-01-02T17:55:31.000Z | 2022-03-20T17:01:37.000Z | from sys import version_info
if version_info[:2] >= (3, 6):
from pony.orm.tests.py36_test_f_strings import * | 28.25 | 52 | 0.734513 | 20 | 113 | 3.9 | 0.8 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0.150442 | 113 | 4 | 52 | 28.25 | 0.760417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d75da4931865b017feed0648dddd5ffd50baa642 | 120 | py | Python | src/Bank.py | tokuma09/PyTDD | ae76cd7d6af13c383d4d860500c6291d924a56fd | [
"MIT"
] | null | null | null | src/Bank.py | tokuma09/PyTDD | ae76cd7d6af13c383d4d860500c6291d924a56fd | [
"MIT"
] | 15 | 2021-05-10T13:29:25.000Z | 2021-05-23T07:15:09.000Z | src/Bank.py | tokuma09/PyTDD | ae76cd7d6af13c383d4d860500c6291d924a56fd | [
"MIT"
] | null | null | null | class Bank():
def __init__(self):
pass
def reduce(self, source, to):
return source.reduce(to)
| 15 | 33 | 0.575 | 15 | 120 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308333 | 120 | 7 | 34 | 17.142857 | 0.783133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
d7611de84d0c09241612fe2faace88345d97ec3c | 18,916 | py | Python | src/tests/presale/test_customer.py | n0emis/pretix | 57d68eaddb01ec4adc0837a915631871cae4d91a | [
"Apache-2.0"
] | null | null | null | src/tests/presale/test_customer.py | n0emis/pretix | 57d68eaddb01ec4adc0837a915631871cae4d91a | [
"Apache-2.0"
] | 8 | 2015-01-06T10:50:27.000Z | 2015-01-18T18:38:18.000Z | src/tests/presale/test_customer.py | n0emis/pretix | 57d68eaddb01ec4adc0837a915631871cae4d91a | [
"Apache-2.0"
] | null | null | null | #
# This file is part of pretix (Community Edition).
#
# Copyright (C) 2014-2020 Raphael Michel and contributors
# Copyright (C) 2020-2021 rami.io GmbH and contributors
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
# Public License as published by ... | 33.185965 | 119 | 0.656164 | 2,466 | 18,916 | 4.907948 | 0.124899 | 0.042965 | 0.051557 | 0.067421 | 0.771214 | 0.751136 | 0.733372 | 0.702636 | 0.680245 | 0.659423 | 0 | 0.020162 | 0.208131 | 18,916 | 569 | 120 | 33.244288 | 0.787836 | 0.083263 | 0 | 0.728929 | 0 | 0.006834 | 0.216296 | 0.071078 | 0 | 0 | 0 | 0 | 0.223235 | 1 | 0.052392 | false | 0.100228 | 0.029613 | 0.002278 | 0.08656 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d76d863e3b44be2672e1cb5cd88dd7bc048a830a | 446 | py | Python | test3/routes/MainRoute.py | Ca11MeE/dophon | 6737b0f0dc9ec2c2229865940c3c6d6ee326fc28 | [
"Apache-2.0"
] | 1 | 2018-08-13T09:57:34.000Z | 2018-08-13T09:57:34.000Z | test3/routes/MainRoute.py | Ca11MeE/dophon | 6737b0f0dc9ec2c2229865940c3c6d6ee326fc28 | [
"Apache-2.0"
] | null | null | null | test3/routes/MainRoute.py | Ca11MeE/dophon | 6737b0f0dc9ec2c2229865940c3c6d6ee326fc28 | [
"Apache-2.0"
] | null | null | null | from dophon import *
from dophon.annotation import *
app = blue_print('main', __name__,url_prefix='/main')
@RequestMapping('/', ['get'])
@ResponseTemplate(['index.html'])
def index():
return {}
@GetRoute('/get')
@ResponseTemplate(['index.html'])
def get_index():
return {}
@PostRoute('/post')
@ResponseTe... | 14.866667 | 53 | 0.656951 | 49 | 446 | 5.795918 | 0.44898 | 0.295775 | 0.352113 | 0.394366 | 0.327465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141256 | 446 | 29 | 54 | 15.37931 | 0.741514 | 0 | 0 | 0.421053 | 0 | 0 | 0.139013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.210526 | 0.526316 | 0.052632 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ad099a3f7a3f39b1c81dfbd2b6b67a25e14da906 | 25 | py | Python | eqparse/spaceloads/__init__.py | TfedUD/eqparse | ab1fba5b4995bed3f5fa2f77cdf505bb613c7e71 | [
"MIT"
] | 3 | 2021-01-26T18:48:39.000Z | 2021-07-14T23:22:09.000Z | eqparse/spaceloads/__init__.py | TfedUD/eqparse | ab1fba5b4995bed3f5fa2f77cdf505bb613c7e71 | [
"MIT"
] | null | null | null | eqparse/spaceloads/__init__.py | TfedUD/eqparse | ab1fba5b4995bed3f5fa2f77cdf505bb613c7e71 | [
"MIT"
] | 3 | 2020-11-18T20:22:00.000Z | 2021-07-14T18:55:31.000Z | from .spaceloads import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad142cceab8899fa59076896998cb49029523f11 | 2,793 | py | Python | sendmail.py | jvadair/simpleforum | d1e602841e64130c0059c7390ac2fbe7950feb89 | [
"MIT"
] | null | null | null | sendmail.py | jvadair/simpleforum | d1e602841e64130c0059c7390ac2fbe7950feb89 | [
"MIT"
] | null | null | null | sendmail.py | jvadair/simpleforum | d1e602841e64130c0059c7390ac2fbe7950feb89 | [
"MIT"
] | null | null | null | import smtplib, ssl
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
SMTP_URL = "example.com"
def send_verification_code(recipient, recipient_name, verification_code):
sender_email = "simpleforum@jvadair.com"
with open('.smtp_passwd') as password_file:
p... | 36.75 | 74 | 0.668815 | 332 | 2,793 | 5.509036 | 0.237952 | 0.048114 | 0.049207 | 0.031711 | 0.792783 | 0.792783 | 0.792783 | 0.792783 | 0.792783 | 0.792783 | 0 | 0.006515 | 0.230576 | 2,793 | 75 | 75 | 37.24 | 0.844579 | 0.223058 | 0 | 0.652174 | 0 | 0 | 0.137019 | 0.046635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0.130435 | 0.065217 | 0 | 0.108696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ad322b052b2b88031cf1b45b1db093b00f0d7cf1 | 8,137 | py | Python | tests/test_position_stk_short.py | nwillemse/nctrader | 4754ccdeae465ef4674a829f35fc3f78cf1d3ea4 | [
"MIT"
] | 1 | 2019-11-13T06:38:12.000Z | 2019-11-13T06:38:12.000Z | tests/test_position_stk_short.py | nwillemse/nctrader | 4754ccdeae465ef4674a829f35fc3f78cf1d3ea4 | [
"MIT"
] | null | null | null | tests/test_position_stk_short.py | nwillemse/nctrader | 4754ccdeae465ef4674a829f35fc3f78cf1d3ea4 | [
"MIT"
] | 1 | 2021-05-11T11:24:08.000Z | 2021-05-11T11:24:08.000Z | import unittest
from datetime import datetime
from nctrader.position2 import Position
from nctrader.price_parser import PriceParser
class TestShortRoundTripSPYPosition(unittest.TestCase):
"""
Test a round-trip trade in SPY ETF where the initial
trade is a buy/long of 100 shares of SPY, at a price of
... | 54.610738 | 177 | 0.665233 | 1,157 | 8,137 | 4.621435 | 0.111495 | 0.168319 | 0.170189 | 0.216009 | 0.799514 | 0.786609 | 0.772396 | 0.757621 | 0.660183 | 0.613054 | 0 | 0.139704 | 0.18717 | 8,137 | 148 | 178 | 54.97973 | 0.668733 | 0.039204 | 0 | 0.367521 | 0 | 0.042735 | 0.073256 | 0 | 0 | 0 | 0 | 0 | 0.470085 | 1 | 0.017094 | false | 0 | 0.034188 | 0 | 0.059829 | 0.128205 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad51ca380d95e2a4ab5344077a584650b02823ba | 160 | py | Python | info/modules/passport/__init__.py | xnzgt/git_flask_news | 2511927efd2ecd05f2e4312a896cbdfaf69da790 | [
"MIT"
] | null | null | null | info/modules/passport/__init__.py | xnzgt/git_flask_news | 2511927efd2ecd05f2e4312a896cbdfaf69da790 | [
"MIT"
] | null | null | null | info/modules/passport/__init__.py | xnzgt/git_flask_news | 2511927efd2ecd05f2e4312a896cbdfaf69da790 | [
"MIT"
] | null | null | null | # 创建蓝图接收前端发送数据
from flask import Blueprint
# 设置url_prefix用于与其他蓝图进行区分
passport_blu = Blueprint("passport",__name__,url_prefix="/passport")
from .views import *
| 22.857143 | 68 | 0.80625 | 18 | 160 | 6.777778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 160 | 6 | 69 | 26.666667 | 0.847222 | 0.225 | 0 | 0 | 0 | 0 | 0.140496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.