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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7168ef5e4a4a1f334f8d8e2a722b8d508688f3b0 | 4,369 | py | Python | chapter1/find-errors-syntax.py | lhornedowl/hpl-python-primer | aaf98b88df37fb4e600f49b8221e8ebbe15ebab5 | [
"MIT"
] | null | null | null | chapter1/find-errors-syntax.py | lhornedowl/hpl-python-primer | aaf98b88df37fb4e600f49b8221e8ebbe15ebab5 | [
"MIT"
] | null | null | null | chapter1/find-errors-syntax.py | lhornedowl/hpl-python-primer | aaf98b88df37fb4e600f49b8221e8ebbe15ebab5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Exercise 1.16
# Author: Little Horned Owl
# Only the most surprising line to me is explained:
c = 4**3**2**3
# It may be assumed that the assignment above is corresponding to
# ((4**3)**2)**3 = 4**18 = 68719476736.
# However, the expression is evaluated right to left resulting in
# (4**(3**(... | 242.722222 | 3,951 | 0.965896 | 72 | 4,369 | 58.611111 | 0.708333 | 0.001896 | 0.002133 | 0.002844 | 0.00237 | 0 | 0 | 0 | 0 | 0 | 0 | 0.930168 | 0.016709 | 4,369 | 17 | 3,952 | 257 | 0.052142 | 0.076448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
717a81a746465240f96747704222b344bc522235 | 26 | py | Python | Measure/perimeter_crofton.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Measure/perimeter_crofton.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Measure/perimeter_crofton.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | # 计算二进制图像中所有对象的Crofton总周长。 | 26 | 26 | 0.884615 | 1 | 26 | 23 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 26 | 1 | 26 | 26 | 0.92 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
717fa928fecc52839b52469a65d7c98e0fba845d | 28 | py | Python | pearce/sims/__init__.py | mclaughlin6464/pearce | 746f2bf4bf45e904d66996e003043661a01423ba | [
"MIT"
] | null | null | null | pearce/sims/__init__.py | mclaughlin6464/pearce | 746f2bf4bf45e904d66996e003043661a01423ba | [
"MIT"
] | 16 | 2016-11-04T22:24:32.000Z | 2018-05-01T22:53:39.000Z | pearce/sims/__init__.py | mclaughlin6464/pearce | 746f2bf4bf45e904d66996e003043661a01423ba | [
"MIT"
] | 3 | 2016-10-04T08:07:52.000Z | 2019-05-03T23:50:01.000Z | from .submit_sims import *
| 9.333333 | 26 | 0.75 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.869565 | 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 |
71ada5ff59d7fd3932ae87377ee75a234cdb23fb | 49 | py | Python | exercises/secret-handshake/secret_handshake.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/secret-handshake/secret_handshake.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/secret-handshake/secret_handshake.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def handshake():
pass
def code():
pass
| 7 | 16 | 0.55102 | 6 | 49 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 49 | 6 | 17 | 8.166667 | 0.818182 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e0ec2afcece83010e1b08ac9a570d616ec575801 | 539 | py | Python | tests/filters/test_created.py | GermanFab/organize | b0e29ca24dee81bbd14207187dbd06bc6be07fc0 | [
"MIT"
] | null | null | null | tests/filters/test_created.py | GermanFab/organize | b0e29ca24dee81bbd14207187dbd06bc6be07fc0 | [
"MIT"
] | null | null | null | tests/filters/test_created.py | GermanFab/organize | b0e29ca24dee81bbd14207187dbd06bc6be07fc0 | [
"MIT"
] | null | null | null | from datetime import datetime, timedelta
from organize.filters import Created
def test_min():
now = datetime.now()
ct = Created(days=10, hours=12, mode="older")
assert not ct.matches_datetime(now - timedelta(days=10, hours=0))
assert ct.matches_datetime(now - timedelta(days=10, hours=13))
def test_... | 29.944444 | 70 | 0.703154 | 80 | 539 | 4.6625 | 0.3125 | 0.176944 | 0.176944 | 0.214477 | 0.739946 | 0.739946 | 0.739946 | 0.739946 | 0.739946 | 0.605898 | 0 | 0.04878 | 0.163265 | 539 | 17 | 71 | 31.705882 | 0.778271 | 0 | 0 | 0.166667 | 0 | 0 | 0.018553 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 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 |
1cc4ed7c94ca204434a5058ab5ea08fecdc6ce04 | 64 | py | Python | mednum/__init__.py | slamer59/batch8_mednum | 81597fd315a1b00446d9f761ce1ac712d2113905 | [
"MIT"
] | null | null | null | mednum/__init__.py | slamer59/batch8_mednum | 81597fd315a1b00446d9f761ce1ac712d2113905 | [
"MIT"
] | null | null | null | mednum/__init__.py | slamer59/batch8_mednum | 81597fd315a1b00446d9f761ce1ac712d2113905 | [
"MIT"
] | null | null | null | from .config import *
from . import features
from . import data
| 16 | 22 | 0.75 | 9 | 64 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 23 | 21.333333 | 0.923077 | 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 |
1cd67b91a3c5328007a364e213c388833bac2cb6 | 7,817 | py | Python | tests/utility/test_digit_utility.py | tkscode/pyNormalizeNumExp | ac7df9b49153d9b792f5c8087b17c0d8c4a615b2 | [
"BSD-3-Clause"
] | 2 | 2021-11-09T06:18:21.000Z | 2021-12-04T10:58:26.000Z | tests/utility/test_digit_utility.py | tkscode/pyNormalizeNumExp | ac7df9b49153d9b792f5c8087b17c0d8c4a615b2 | [
"BSD-3-Clause"
] | null | null | null | tests/utility/test_digit_utility.py | tkscode/pyNormalizeNumExp | ac7df9b49153d9b792f5c8087b17c0d8c4a615b2 | [
"BSD-3-Clause"
] | 1 | 2021-11-09T03:33:33.000Z | 2021-11-09T03:33:33.000Z | import pytest
from pynormalizenumexp.expression.base import NotationType
from pynormalizenumexp.expression.abstime import AbstimePattern
from pynormalizenumexp.utility.dict_loader import DictLoader
from pynormalizenumexp.utility.digit_utility import DigitUtility
@pytest.fixture(scope="class")
def digit_utility():
... | 47.090361 | 92 | 0.713061 | 977 | 7,817 | 5.337769 | 0.081883 | 0.278428 | 0.310642 | 0.279962 | 0.860019 | 0.816874 | 0.686098 | 0.552253 | 0.382359 | 0.353787 | 0 | 0.010796 | 0.182423 | 7,817 | 165 | 93 | 47.375758 | 0.803943 | 0.004733 | 0 | 0.085271 | 0 | 0 | 0.013373 | 0 | 0 | 0 | 0 | 0 | 0.697674 | 1 | 0.139535 | false | 0 | 0.03876 | 0.007752 | 0.193798 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8094419f018a71eab6980ac3e75ee580e5f22de | 260 | py | Python | jupyterlab_primehub/jupyterlab_primehub/utils.py | InfuseAI/primehub-job | 7a68ac9ff8452c4faa72adf3b73a70270aa5ac65 | [
"Apache-2.0"
] | null | null | null | jupyterlab_primehub/jupyterlab_primehub/utils.py | InfuseAI/primehub-job | 7a68ac9ff8452c4faa72adf3b73a70270aa5ac65 | [
"Apache-2.0"
] | 3 | 2020-10-26T08:21:02.000Z | 2021-07-14T06:06:58.000Z | jupyterlab_primehub/jupyterlab_primehub/utils.py | InfuseAI/primehub-job | 7a68ac9ff8452c4faa72adf3b73a70270aa5ac65 | [
"Apache-2.0"
] | null | null | null | def get_group_volume_name(group_name):
group_name = group_name
return group_name.lower().replace('_', '-')
def get_group_volume_path(group_name):
group_volume_name = get_group_volume_name(group_name)
return '/home/jovyan/' + group_volume_name | 32.5 | 57 | 0.761538 | 38 | 260 | 4.684211 | 0.289474 | 0.303371 | 0.337079 | 0.191011 | 0.404494 | 0.303371 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 260 | 8 | 58 | 32.5 | 0.787611 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 6 |
08fa5dbe6e3a1ec4343ac7f7b8203579be598442 | 5,115 | py | Python | build/lib/Graph_Sampling/SRW_RWF_ISRW.py | Alessi0X/Graph_Sampling | b906c35314ddfecca0132092a21d21ca8542073b | [
"MIT"
] | 102 | 2019-04-23T12:54:49.000Z | 2022-03-28T18:18:38.000Z | build/lib/Graph_Sampling/SRW_RWF_ISRW.py | Alessi0X/Graph_Sampling | b906c35314ddfecca0132092a21d21ca8542073b | [
"MIT"
] | 5 | 2019-04-14T20:24:08.000Z | 2021-04-06T14:08:10.000Z | build/lib/Graph_Sampling/SRW_RWF_ISRW.py | Alessi0X/Graph_Sampling | b906c35314ddfecca0132092a21d21ca8542073b | [
"MIT"
] | 31 | 2019-06-01T02:09:59.000Z | 2022-01-18T06:37:18.000Z | import random
import time
import datetime
import io
import array,re,itertools
import numpy as np
import networkx as nx
import matplotlib.pyplot as plt
from itertools import groupby
class SRW_RWF_ISRW:
def __init__(self):
self.growth_size = 2
self.T = 100 #number of iterations
#with a proba... | 43.347458 | 96 | 0.665298 | 711 | 5,115 | 4.413502 | 0.146273 | 0.107712 | 0.049713 | 0.051625 | 0.782664 | 0.775972 | 0.766412 | 0.766412 | 0.766412 | 0.766412 | 0 | 0.011283 | 0.254936 | 5,115 | 117 | 97 | 43.717949 | 0.812123 | 0.062757 | 0 | 0.703297 | 0 | 0 | 0.021303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043956 | false | 0 | 0.098901 | 0 | 0.186813 | 0.010989 | 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 |
08fc537c7a88f2e1ab0de0fdf2a54401477d5812 | 343 | py | Python | util/data/gen/wbemsvc.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/wbemsvc.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/wbemsvc.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'DllCanUnloadNow', 'address': '0x7ffb2a351560'}, {'type': 'function', 'name': 'DllGetClassObject', 'address': '0x7ffb2a3514a0'}, {'type': 'function', 'name': 'DllRegisterServer', 'address': '0x7ffb2a352550'}, {'type': 'function', 'name': 'DllUnregisterServer', 'addre... | 171.5 | 330 | 0.670554 | 26 | 343 | 8.846154 | 0.538462 | 0.208696 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107937 | 0.081633 | 343 | 2 | 330 | 171.5 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0.627907 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c0613047bd27b0c8cf11158c9664accca02afba | 15,430 | py | Python | tests/api/v3_0_0/test_guest_type.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_0_0/test_guest_type.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_0_0/test_guest_type.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI guest_type API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without res... | 31.683778 | 247 | 0.699287 | 1,836 | 15,430 | 5.575163 | 0.12146 | 0.096717 | 0.048359 | 0.041911 | 0.839488 | 0.834701 | 0.830109 | 0.828937 | 0.82669 | 0.808812 | 0 | 0.016756 | 0.214841 | 15,430 | 486 | 248 | 31.748971 | 0.828147 | 0.074919 | 0 | 0.7 | 0 | 0 | 0.119016 | 0.047662 | 0 | 0 | 0 | 0 | 0.126316 | 1 | 0.105263 | false | 0.005263 | 0.013158 | 0 | 0.202632 | 0.021053 | 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 |
1c0e469b195fb05ca5766fffaaafb8f5773491c1 | 47,616 | py | Python | tools/accuracy_checker/tests/test_dlsdk_launcher.py | bosques-urbanos/open_model_zoo | c1deee7b0707621c248e6d74b43b1564e94cf001 | [
"Apache-2.0"
] | 1 | 2021-01-05T09:38:41.000Z | 2021-01-05T09:38:41.000Z | tools/accuracy_checker/tests/test_dlsdk_launcher.py | bosques-urbanos/open_model_zoo | c1deee7b0707621c248e6d74b43b1564e94cf001 | [
"Apache-2.0"
] | 1 | 2021-11-15T15:52:24.000Z | 2021-11-15T15:52:24.000Z | tools/accuracy_checker/tests/test_dlsdk_launcher.py | bosques-urbanos/open_model_zoo | c1deee7b0707621c248e6d74b43b1564e94cf001 | [
"Apache-2.0"
] | 1 | 2020-12-11T03:01:50.000Z | 2020-12-11T03:01:50.000Z | """
Copyright (c) 2018-2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 38.153846 | 116 | 0.628864 | 5,087 | 47,616 | 5.512679 | 0.062905 | 0.030988 | 0.043505 | 0.046357 | 0.881147 | 0.861177 | 0.8467 | 0.832935 | 0.815426 | 0.800521 | 0 | 0.003646 | 0.251155 | 47,616 | 1,247 | 117 | 38.184443 | 0.78282 | 0.011929 | 0 | 0.68591 | 0 | 0 | 0.294175 | 0.125106 | 0 | 0 | 0 | 0 | 0.044031 | 1 | 0.086106 | false | 0 | 0.018591 | 0 | 0.116438 | 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 |
1c500df626cf3564b4c82e9a1e5bf30be7875573 | 88 | py | Python | parameters/IGParameterList/__init__.py | bertrandboudaud/imagegraph | 7c95b645edeb1a68d56c6c3b19f1ff6fde413afc | [
"MIT"
] | null | null | null | parameters/IGParameterList/__init__.py | bertrandboudaud/imagegraph | 7c95b645edeb1a68d56c6c3b19f1ff6fde413afc | [
"MIT"
] | null | null | null | parameters/IGParameterList/__init__.py | bertrandboudaud/imagegraph | 7c95b645edeb1a68d56c6c3b19f1ff6fde413afc | [
"MIT"
] | null | null | null | from . import IGParameterList
def get():
return IGParameterList.IGParameterList()
| 14.666667 | 44 | 0.761364 | 8 | 88 | 8.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 45 | 17.6 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
1c52aae5b4d4a14ad7da115808a672d329084c1a | 32 | py | Python | jschema/docs/__init__.py | stepan-perlov/jschema | f7d2b0f2fe7c3a936a9ffaa62257d5c5f0a8c7d7 | [
"MIT"
] | null | null | null | jschema/docs/__init__.py | stepan-perlov/jschema | f7d2b0f2fe7c3a936a9ffaa62257d5c5f0a8c7d7 | [
"MIT"
] | null | null | null | jschema/docs/__init__.py | stepan-perlov/jschema | f7d2b0f2fe7c3a936a9ffaa62257d5c5f0a8c7d7 | [
"MIT"
] | null | null | null | from .make_docs import makeDocs
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 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 |
98cc03baea22b5d9a592416a68c69686105a2611 | 16,798 | py | Python | connectorx-python/connectorx/tests/test_oracle.py | alexander-beedie/connector-x | 597b5be03ceb13f70c889a2638de0036c016308b | [
"MIT"
] | null | null | null | connectorx-python/connectorx/tests/test_oracle.py | alexander-beedie/connector-x | 597b5be03ceb13f70c889a2638de0036c016308b | [
"MIT"
] | null | null | null | connectorx-python/connectorx/tests/test_oracle.py | alexander-beedie/connector-x | 597b5be03ceb13f70c889a2638de0036c016308b | [
"MIT"
] | null | null | null | import os
import pandas as pd
import pytest
from pandas.testing import assert_frame_equal
from .. import read_sql
@pytest.fixture(scope="module") # type: ignore
def oracle_url() -> str:
conn = os.environ["ORACLE_URL"]
return conn
@pytest.mark.xfail
@pytest.mark.skipif(
not os.environ.get("ORACLE_URL")... | 37.833333 | 208 | 0.60156 | 2,328 | 16,798 | 4.133162 | 0.074742 | 0.082311 | 0.027125 | 0.036583 | 0.870193 | 0.837144 | 0.810642 | 0.778632 | 0.766577 | 0.766577 | 0 | 0.051264 | 0.246339 | 16,798 | 443 | 209 | 37.918736 | 0.708768 | 0.000714 | 0 | 0.56927 | 0 | 0.012594 | 0.26847 | 0.004349 | 0 | 0 | 0 | 0 | 0.055416 | 1 | 0.057935 | false | 0 | 0.012594 | 0 | 0.073048 | 0.002519 | 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 |
98f7c3a6ccd9e0af6bfdbed166ab2dcf46150fa8 | 37 | py | Python | pyefun/compile/__init__.py | nuo010/pyefun | c1c4dfcfd382a67df005a66958da95aa13c30686 | [
"Apache-2.0"
] | 94 | 2021-05-19T04:09:29.000Z | 2022-03-27T04:02:30.000Z | pyefun/compile/__init__.py | nuo010/pyefun | c1c4dfcfd382a67df005a66958da95aa13c30686 | [
"Apache-2.0"
] | 11 | 2021-05-22T06:44:19.000Z | 2021-12-27T11:16:06.000Z | pyefun/compile/__init__.py | nuo010/pyefun | c1c4dfcfd382a67df005a66958da95aa13c30686 | [
"Apache-2.0"
] | 21 | 2021-05-22T21:08:09.000Z | 2022-02-24T02:39:06.000Z | from pyefun.compile.compile import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
c75bedf1937b9d604f7c293bab37ce35a52c8547 | 33 | py | Python | src/latexqol/__init__.py | konradgj/latexqol | 40bee69204913013cf67967814c25c5905054878 | [
"MIT"
] | null | null | null | src/latexqol/__init__.py | konradgj/latexqol | 40bee69204913013cf67967814c25c5905054878 | [
"MIT"
] | null | null | null | src/latexqol/__init__.py | konradgj/latexqol | 40bee69204913013cf67967814c25c5905054878 | [
"MIT"
] | null | null | null | from latexqol.conversion import * | 33 | 33 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 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 |
c7f20cc6d040e3f0cdc12c0e36adca55b67580de | 5,502 | py | Python | Utils/Data/Statistic/ColdUsers.py | MaurizioFD/recsys-challenge-2020-twitter | 95dc024fb4f8777aa62e1304536daece640428de | [
"Apache-2.0"
] | 44 | 2020-07-09T11:31:17.000Z | 2022-03-04T05:50:48.000Z | Utils/Data/Statistic/ColdUsers.py | kiminh/recsys-challenge-2020-twitter | 567f0db40be7db3d21c360f2ca6cdf2addc7c698 | [
"Apache-2.0"
] | 3 | 2020-10-02T18:55:21.000Z | 2020-10-13T22:13:58.000Z | Utils/Data/Statistic/ColdUsers.py | kiminh/recsys-challenge-2020-twitter | 567f0db40be7db3d21c360f2ca6cdf2addc7c698 | [
"Apache-2.0"
] | 9 | 2020-08-08T14:55:59.000Z | 2021-09-06T09:17:03.000Z | from Utils.Data.DatasetUtils import get_test_or_val_set_id_from_train
from Utils.Data import Data
from Utils.Data.Data import get_dataset_xgb, get_feature
from Utils.Data.DataUtils import create_all
from Utils.Data.Features.Generated.EngagerFeature.KnownEngagementCount import *
from Utils.Data.Features.MappedFeatures i... | 38.746479 | 121 | 0.725554 | 799 | 5,502 | 4.590738 | 0.108886 | 0.047983 | 0.063795 | 0.056707 | 0.87241 | 0.868593 | 0.868593 | 0.868593 | 0.861505 | 0.838604 | 0 | 0.002164 | 0.160124 | 5,502 | 142 | 122 | 38.746479 | 0.791604 | 0.056343 | 0 | 0.673267 | 0 | 0.019802 | 0.196491 | 0.077516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019802 | false | 0 | 0.089109 | 0 | 0.108911 | 0.178218 | 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 |
c7f364cf1c833865a1cdb96348fc5df68030064d | 2,156 | py | Python | tensor2tensor/data_generators/all_problems.py | webdeveloper0012/Tensor2tensor | 48bce065278eba461c8a2840e4132becbc822c7c | [
"Apache-2.0"
] | 9 | 2019-11-21T02:48:21.000Z | 2021-08-18T07:30:34.000Z | tensor2tensor/data_generators/all_problems.py | webdeveloper0012/Tensor2tensor | 48bce065278eba461c8a2840e4132becbc822c7c | [
"Apache-2.0"
] | 4 | 2021-08-25T14:41:19.000Z | 2022-02-09T23:28:01.000Z | tensor2tensor/data_generators/all_problems.py | webdeveloper0012/Tensor2tensor | 48bce065278eba461c8a2840e4132becbc822c7c | [
"Apache-2.0"
] | 3 | 2021-04-27T08:01:32.000Z | 2021-04-27T17:55:48.000Z | # coding=utf-8
# Copyright 2017 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 39.925926 | 74 | 0.843228 | 289 | 2,156 | 6.128028 | 0.411765 | 0.21118 | 0.26087 | 0.385093 | 0.514399 | 0.184077 | 0 | 0 | 0 | 0 | 0 | 0.018286 | 0.112245 | 2,156 | 53 | 75 | 40.679245 | 0.907001 | 0.371521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.035714 | 0.928571 | 0 | 0.928571 | 0.035714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1bf497135cb1be0984bacb896993baeafdb63ee1 | 47 | py | Python | factom/livefeed/__init__.py | FactomProject/factom-api | 90fa64fdd9eae7ec4e14571893cb5f8ebfc1a946 | [
"MIT"
] | 13 | 2019-08-12T16:32:56.000Z | 2022-02-23T17:16:30.000Z | factom/livefeed/__init__.py | FactomProject/factom-api | 90fa64fdd9eae7ec4e14571893cb5f8ebfc1a946 | [
"MIT"
] | 6 | 2019-07-30T19:22:48.000Z | 2020-07-29T04:40:13.000Z | factom/livefeed/__init__.py | FactomProject/factom-api | 90fa64fdd9eae7ec4e14571893cb5f8ebfc1a946 | [
"MIT"
] | 3 | 2019-07-12T18:57:25.000Z | 2020-07-25T07:57:23.000Z | from .listener import LiveFeedListener # noqa
| 23.5 | 46 | 0.808511 | 5 | 47 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 1 | 47 | 47 | 0.95 | 0.085106 | 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 |
40234ae0ccc4fd8feeb81551f08512ce964affc8 | 16,200 | py | Python | dataset_generation/0_molecular_generation/ddc_pub/generators.py | 5AGE-zhang/TocoDecoy | 6ce34d717d965e7d36cb8d2b1b527d2fded7c2d3 | [
"MIT"
] | 5 | 2021-01-12T14:07:25.000Z | 2021-09-08T00:51:01.000Z | ddc_pub/generators.py | learningmatter-mit/Deep-Drug-Coder | 1edc899a63332038afc3dd0f866af328527e82eb | [
"MIT"
] | null | null | null | ddc_pub/generators.py | learningmatter-mit/Deep-Drug-Coder | 1edc899a63332038afc3dd0f866af328527e82eb | [
"MIT"
] | null | null | null | # Source: https://github.com/EBjerrum/molvecgen
import threading
import numpy as np
from tensorflow.keras.utils import Sequence
class Iterator(object):
"""Abstract base class for data iterators.
:parameter n: Integer, total number of samples in the dataset to loop over.
:parameter batch_size: Integer, s... | 33.061224 | 97 | 0.598765 | 2,046 | 16,200 | 4.524927 | 0.115836 | 0.0593 | 0.029704 | 0.031108 | 0.812162 | 0.782458 | 0.762044 | 0.726723 | 0.70944 | 0.704688 | 0 | 0.015617 | 0.312222 | 16,200 | 489 | 98 | 33.128834 | 0.815293 | 0.221728 | 0 | 0.692537 | 0 | 0 | 0.012827 | 0 | 0 | 0 | 0 | 0.006135 | 0 | 1 | 0.074627 | false | 0 | 0.008955 | 0.01194 | 0.143284 | 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 |
40a6a2d3998872281ed0f442ad11b4b1f54336b3 | 224 | py | Python | thoraxe/add_transcripts/__init__.py | PhyloSofS-Team/exonhomology | 5f9b2d3e111bf7ec72c38937e95a91703656545a | [
"MIT"
] | 6 | 2019-10-01T14:34:08.000Z | 2021-07-17T12:10:09.000Z | thoraxe/add_transcripts/__init__.py | PhyloSofS-Team/exonhomology | 5f9b2d3e111bf7ec72c38937e95a91703656545a | [
"MIT"
] | 2 | 2019-10-07T09:22:46.000Z | 2021-07-22T13:21:55.000Z | thoraxe/add_transcripts/__init__.py | PhyloSofS-Team/exonhomology | 5f9b2d3e111bf7ec72c38937e95a91703656545a | [
"MIT"
] | 2 | 2021-03-29T13:14:57.000Z | 2021-12-31T15:23:26.000Z | """
add_transcripts: Add user-defined transcript data.
It adds the new transcripts to the data previously downloaded from Ensembl.
"""
from thoraxe.add_transcripts.add_transcripts import main, get_output_paths, read_fasta
| 28 | 86 | 0.816964 | 32 | 224 | 5.53125 | 0.71875 | 0.237288 | 0.19209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120536 | 224 | 7 | 87 | 32 | 0.898477 | 0.566964 | 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 | 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 |
40ce48aadb6dafd4540eed07eb91b22881f80a92 | 3,492 | py | Python | tests/test_views/test_view_user.py | adrianomqsmts/ratingstars | 512c06df11460ad464924c6888b71c4759fa500d | [
"MIT"
] | null | null | null | tests/test_views/test_view_user.py | adrianomqsmts/ratingstars | 512c06df11460ad464924c6888b71c4759fa500d | [
"MIT"
] | null | null | null | tests/test_views/test_view_user.py | adrianomqsmts/ratingstars | 512c06df11460ad464924c6888b71c4759fa500d | [
"MIT"
] | null | null | null | import pytest
from project.forms.form_user import LoginForm
from project.models.model_user import UsersModel
from flask_login import login_user, logout_user, current_user
from flask import url_for, get_flashed_messages
from project.views.view_user import login
def test_login_page_with_true_user_and_correct_passwor... | 39.681818 | 107 | 0.703036 | 475 | 3,492 | 4.913684 | 0.183158 | 0.023136 | 0.03599 | 0.047986 | 0.797344 | 0.79563 | 0.745073 | 0.745073 | 0.745073 | 0.745073 | 0 | 0.016955 | 0.206186 | 3,492 | 87 | 108 | 40.137931 | 0.825036 | 0.051546 | 0 | 0.6875 | 0 | 0 | 0.134791 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.109375 | false | 0.171875 | 0.125 | 0 | 0.234375 | 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 |
40f7923b43e23a35e2eceaf250fa5eeb5fe5308b | 91 | py | Python | desafio-aula-54/desafio3.py | higornobrega/Python_3_Basico_ao_Avancado | d056dffa0954fa33a767c58ce2a7a15f7435d047 | [
"MIT"
] | null | null | null | desafio-aula-54/desafio3.py | higornobrega/Python_3_Basico_ao_Avancado | d056dffa0954fa33a767c58ce2a7a15f7435d047 | [
"MIT"
] | null | null | null | desafio-aula-54/desafio3.py | higornobrega/Python_3_Basico_ao_Avancado | d056dffa0954fa33a767c58ce2a7a15f7435d047 | [
"MIT"
] | null | null | null | def soma(valor, porcento):
return valor + (valor * (porcento/100))
print(soma(50, 10)) | 22.75 | 43 | 0.659341 | 13 | 91 | 4.615385 | 0.692308 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0.164835 | 91 | 4 | 44 | 22.75 | 0.697368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
40f92fcf55351c5e38a3a6f2984cea6f720fc08d | 38 | py | Python | clmm/lsst/__init__.py | 96RadhikaJadhav/CLMM | cd0508f82f9a6a4692fe785277ac25c73e89d0d7 | [
"BSD-3-Clause"
] | null | null | null | clmm/lsst/__init__.py | 96RadhikaJadhav/CLMM | cd0508f82f9a6a4692fe785277ac25c73e89d0d7 | [
"BSD-3-Clause"
] | null | null | null | clmm/lsst/__init__.py | 96RadhikaJadhav/CLMM | cd0508f82f9a6a4692fe785277ac25c73e89d0d7 | [
"BSD-3-Clause"
] | null | null | null | from .load_clusters_with_gcr import *
| 19 | 37 | 0.842105 | 6 | 38 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.852941 | 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 |
907999a67501c11e10e6508ae3bd5232aa4364d7 | 9,371 | py | Python | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi_async.py | kazrael2119/azure-sdk-for-python | 485dd7b1b5ac41c1a5b9991e402b4035b55f437a | [
"MIT"
] | 1 | 2022-02-18T01:17:27.000Z | 2022-02-18T01:17:27.000Z | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi_async.py | kazrael2119/azure-sdk-for-python | 485dd7b1b5ac41c1a5b9991e402b4035b55f437a | [
"MIT"
] | null | null | null | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi_async.py | kazrael2119/azure-sdk-for-python | 485dd7b1b5ac41c1a5b9991e402b4035b55f437a | [
"MIT"
] | 1 | 2022-03-04T06:21:56.000Z | 2022-03-04T06:21:56.000Z |
# coding=utf-8
# ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
import pytest
import functools
from devtools_testutils.aio import recorded_by_proxy_async
from preparers import FormRecognizerPreparer
from preparers imp... | 52.943503 | 161 | 0.721801 | 1,037 | 9,371 | 6.255545 | 0.144648 | 0.053954 | 0.024048 | 0.027131 | 0.80592 | 0.798212 | 0.761831 | 0.750732 | 0.739325 | 0.692616 | 0 | 0.018925 | 0.182371 | 9,371 | 176 | 162 | 53.244318 | 0.827721 | 0.023904 | 0 | 0.468531 | 0 | 0.027972 | 0.125068 | 0.016851 | 0 | 0 | 0 | 0 | 0.223776 | 1 | 0.111888 | false | 0 | 0.055944 | 0 | 0.174825 | 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 |
90e625d948cc2dce31232cdef3f632c9d10aeed8 | 25 | py | Python | widgets/progressivis_nb_widgets/__init__.py | jdfekete/progressivis | 3bc79ce229cd628ef0aa4663136a674743697b47 | [
"BSD-2-Clause"
] | 51 | 2015-09-14T16:31:02.000Z | 2022-01-12T17:56:53.000Z | widgets/progressivis_nb_widgets/__init__.py | jdfekete/progressivis | 3bc79ce229cd628ef0aa4663136a674743697b47 | [
"BSD-2-Clause"
] | 10 | 2017-11-15T15:10:05.000Z | 2022-01-19T07:36:43.000Z | widgets/progressivis_nb_widgets/__init__.py | jdfekete/progressivis | 3bc79ce229cd628ef0aa4663136a674743697b47 | [
"BSD-2-Clause"
] | 5 | 2017-11-14T20:20:56.000Z | 2020-01-22T06:26:51.000Z | from .nbwidgets import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
90e96f28b06da2ada9a76d8c3e5c064423517607 | 194 | py | Python | rex/utils/random.py | Spico197/REx | bb3cdb845765a63e9bd18070068af52a1b2db3f3 | [
"MIT"
] | 4 | 2021-12-29T08:16:07.000Z | 2022-03-21T03:03:24.000Z | rex/utils/random.py | Spico197/REx | bb3cdb845765a63e9bd18070068af52a1b2db3f3 | [
"MIT"
] | null | null | null | rex/utils/random.py | Spico197/REx | bb3cdb845765a63e9bd18070068af52a1b2db3f3 | [
"MIT"
] | null | null | null | import random
import string
from typing import Optional
def generate_random_string(len: Optional[int] = 8) -> str:
return "".join(random.sample(string.ascii_letters + string.digits, len))
| 24.25 | 76 | 0.757732 | 27 | 194 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.134021 | 194 | 7 | 77 | 27.714286 | 0.85119 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
290c69783cccae3e5d9f0e70c037677e8744b813 | 23,831 | py | Python | training/vae_networks.py | zhuxinqimac/stylegan2 | 5c3bda161ead21ea290de4190d3704e59cf6de64 | [
"BSD-Source-Code"
] | 5 | 2020-01-23T10:04:27.000Z | 2021-07-04T09:51:28.000Z | training/vae_networks.py | zhuxinqimac/stylegan2 | 5c3bda161ead21ea290de4190d3704e59cf6de64 | [
"BSD-Source-Code"
] | null | null | null | training/vae_networks.py | zhuxinqimac/stylegan2 | 5c3bda161ead21ea290de4190d3704e59cf6de64 | [
"BSD-Source-Code"
] | null | null | null | #!/usr/bin/python
#-*- coding: utf-8 -*-
# >.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.
# Licensed under the Apache License, Version 2.0 (the "License")
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# --- File Name: vae_networks.py
# --- Creation Date: 14-08-2020
# --- Last Modified: Sun ... | 43.806985 | 118 | 0.578994 | 2,917 | 23,831 | 4.303051 | 0.093589 | 0.047801 | 0.042384 | 0.037285 | 0.848152 | 0.81501 | 0.786727 | 0.765057 | 0.736934 | 0.702438 | 0 | 0.013128 | 0.344719 | 23,831 | 543 | 119 | 43.887661 | 0.790663 | 0.125089 | 0 | 0.623377 | 0 | 0 | 0.035956 | 0.010135 | 0 | 0 | 0 | 0 | 0.008658 | 1 | 0.012987 | false | 0 | 0.090909 | 0.006494 | 0.116883 | 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 |
2913824564b41b3bb34ef23058960df7a40e530c | 207 | py | Python | torchchem/data/__init__.py | scarcella/torchchem | 48540715948cf75a2018eff736c00a3040f38fa7 | [
"MIT"
] | 36 | 2020-03-07T19:32:39.000Z | 2022-03-22T10:15:38.000Z | torchchem/data/__init__.py | RickeyEstes/torchchem | b4cee54088c2d1d52c349c3ed67126bc86940ba8 | [
"MIT"
] | 10 | 2020-03-14T02:49:46.000Z | 2022-02-10T01:08:03.000Z | torchchem/data/__init__.py | RickeyEstes/torchchem | b4cee54088c2d1d52c349c3ed67126bc86940ba8 | [
"MIT"
] | 12 | 2020-03-18T06:54:46.000Z | 2022-01-18T22:57:00.000Z | """
torchchem.data submodule
"""
from torchchem.data.mol_graph import mol_to_graph
from torchchem.data.mol_dataset import MolDataset
from torchchem.data.data_utils import load_csv_dataset, load_sdf_dataset | 29.571429 | 72 | 0.845411 | 31 | 207 | 5.354839 | 0.451613 | 0.313253 | 0.307229 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 207 | 7 | 72 | 29.571429 | 0.878307 | 0.115942 | 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 |
292ffa4d62a19e99053b5a3afe8d2596e4d3cee7 | 22,276 | py | Python | datahub/activity_stream/interaction/test/test_views.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 6 | 2019-12-02T16:11:24.000Z | 2022-03-18T10:02:02.000Z | datahub/activity_stream/interaction/test/test_views.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 1,696 | 2019-10-31T14:08:37.000Z | 2022-03-29T12:35:57.000Z | datahub/activity_stream/interaction/test/test_views.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 9 | 2019-11-22T12:42:03.000Z | 2021-09-03T14:25:05.000Z | import datetime
import pytest
from freezegun import freeze_time
from rest_framework import status
from datahub.activity_stream.interaction.serializers import InteractionActivitySerializer
from datahub.activity_stream.test import hawk
from datahub.activity_stream.test.utils import get_url
from datahub.core.test_utils ... | 45.554192 | 99 | 0.504399 | 1,880 | 22,276 | 5.838298 | 0.107447 | 0.010933 | 0.014759 | 0.020044 | 0.816782 | 0.783072 | 0.77469 | 0.7541 | 0.7541 | 0.746447 | 0 | 0.016498 | 0.38234 | 22,276 | 488 | 100 | 45.647541 | 0.781234 | 0.03497 | 0 | 0.670673 | 0 | 0 | 0.199344 | 0.094187 | 0 | 0 | 0 | 0 | 0.040865 | 1 | 0.024038 | false | 0 | 0.026442 | 0 | 0.050481 | 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 |
46340f03e425cd13662312670b62843d211449e2 | 36 | py | Python | src/config/settings/__init__.py | michailbrynard/django-skeleton | 772cd579cad1b8853ed6f1a2c14cbacac2ba41da | [
"MIT"
] | null | null | null | src/config/settings/__init__.py | michailbrynard/django-skeleton | 772cd579cad1b8853ed6f1a2c14cbacac2ba41da | [
"MIT"
] | null | null | null | src/config/settings/__init__.py | michailbrynard/django-skeleton | 772cd579cad1b8853ed6f1a2c14cbacac2ba41da | [
"MIT"
] | null | null | null | from config.settings.common import * | 36 | 36 | 0.833333 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 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 |
4644dbbf86a0491faf38c59389b951d286ac13ff | 5,126 | py | Python | tools/get_libs.py | FindDefinition/myclang | 3fa641f3b4fa87e0d3b1d840288e61442293036a | [
"Apache-2.0"
] | null | null | null | tools/get_libs.py | FindDefinition/myclang | 3fa641f3b4fa87e0d3b1d840288e61442293036a | [
"Apache-2.0"
] | null | null | null | tools/get_libs.py | FindDefinition/myclang | 3fa641f3b4fa87e0d3b1d840288e61442293036a | [
"Apache-2.0"
] | null | null | null | string = "lib/libLLVMAArch64CodeGen.a lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a lib/libLLVMAArch64Disassembler.a lib/libLLVMAArch64Info.a lib/libLLVMAArch64Utils.a lib/libLLVMAMDGPUCodeGen.a lib/libLLVMAMDGPUAsmParser.a lib/libLLVMAMDGPUDesc.a lib/libLLVMAMDGPUDisassembler.a lib/libLLVMAMDGPUInfo... | 569.555556 | 4,967 | 0.835349 | 599 | 5,126 | 7.148581 | 0.287145 | 0.176553 | 0.010276 | 0.010743 | 0.359178 | 0.091079 | 0.091079 | 0.091079 | 0 | 0 | 0 | 0.009558 | 0.081545 | 5,126 | 9 | 4,968 | 569.555556 | 0.899958 | 0 | 0 | 0 | 0 | 0.142857 | 0.968793 | 0.733762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
46571a6dfe00f34f00a8dd41dd784f5dfbc75cdd | 6,032 | py | Python | huaweicloud-sdk-rabbitmq/huaweicloudsdkrabbitmq/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-rabbitmq/huaweicloudsdkrabbitmq/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-rabbitmq/huaweicloudsdkrabbitmq/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import RabbitMQClient
from huaweicloudsdkrabbitmq.v2.rabbitmq_client import RabbitMQClient
from huaweicloudsdkrabbitmq.v2.rabbitmq_async_client import RabbitMQAsyncClient
# import models into sdk package
from huaweicloudsdkrabbitmq.v2.model.batch_create_or_dele... | 87.42029 | 129 | 0.925564 | 627 | 6,032 | 8.598086 | 0.197767 | 0.294194 | 0.316824 | 0.361157 | 0.552588 | 0.531998 | 0.33222 | 0.161009 | 0.112781 | 0.023372 | 0 | 0.010747 | 0.043601 | 6,032 | 68 | 130 | 88.705882 | 0.92373 | 0.010942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.048387 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46782cc8246499f4f0fc0419c848bdf242b134b6 | 49,033 | py | Python | examples/tutorial_Hopper-v2_H.py | LearnerZHENG/ElegantRL | 36d78df38582ad7ae1a813c23adb02fade1213f6 | [
"Apache-2.0"
] | 1 | 2022-03-03T06:13:43.000Z | 2022-03-03T06:13:43.000Z | examples/tutorial_Hopper-v2_H.py | LearnerZHENG/ElegantRL | 36d78df38582ad7ae1a813c23adb02fade1213f6 | [
"Apache-2.0"
] | null | null | null | examples/tutorial_Hopper-v2_H.py | LearnerZHENG/ElegantRL | 36d78df38582ad7ae1a813c23adb02fade1213f6 | [
"Apache-2.0"
] | null | null | null | import sys
from elegantrl.demo import *
def demo_continuous_action_on_policy():
gpu_id = int(sys.argv[1]) if len(sys.argv) > 1 else 0 # >=0 means GPU ID, -1 means CPU
drl_id = 1 # int(sys.argv[2])
env_id = 4 # int(sys.argv[3])
env_name = ['Pendulum-v0',
'Pendulum-v1',
... | 59.723508 | 103 | 0.772582 | 6,598 | 49,033 | 5.668536 | 0.224765 | 0.03417 | 0.193524 | 0.209192 | 0.299243 | 0.06834 | 0.058581 | 0.053421 | 0.051817 | 0.04786 | 0 | 0.728884 | 0.13342 | 49,033 | 820 | 104 | 59.796341 | 0.151326 | 0.006057 | 0 | 0.119186 | 0 | 0 | 0.819354 | 0.770576 | 0 | 0 | 0 | 0.00122 | 0 | 1 | 0.00436 | false | 0 | 0.007267 | 0 | 0.011628 | 0.014535 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3b7364ec2912805ac2778d71cf733de21cdedd9 | 592 | py | Python | learning/utf8.py | skulluglify/orion.CM | 4377977df517f6e52bea3ef04b380effcc75988d | [
"BSD-3-Clause"
] | null | null | null | learning/utf8.py | skulluglify/orion.CM | 4377977df517f6e52bea3ef04b380effcc75988d | [
"BSD-3-Clause"
] | null | null | null | learning/utf8.py | skulluglify/orion.CM | 4377977df517f6e52bea3ef04b380effcc75988d | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env python
a = 0b111111
b = 0b111111000000
c = 0b111111000000000000
d = 0b111111000000000000000000
"""
128
2048
65536
2097152
0x80
0x800
0x10000
0x200000
0b11111111 0xFF
0b00111111 0x3F
0b0011111100000000 0x3F00
0b001111110000000000000000 0x3F0000
0b1100 0000 0000 0000 0xC000
0b1110 0000 0000 0000 000... | 12.869565 | 52 | 0.793919 | 76 | 592 | 6.184211 | 0.657895 | 0.204255 | 0.229787 | 0.204255 | 0.102128 | 0.059574 | 0 | 0 | 0 | 0 | 0 | 0.714567 | 0.141892 | 592 | 45 | 53 | 13.155556 | 0.21063 | 0.035473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d3d6043bd11531aec7d1e405b083e543f4372b8a | 180 | py | Python | sanic_openapi/__init__.py | matsurihime/fork-sanic-openapi | b0558fa788459983723e80775f3ef06895ae4e82 | [
"MIT"
] | null | null | null | sanic_openapi/__init__.py | matsurihime/fork-sanic-openapi | b0558fa788459983723e80775f3ef06895ae4e82 | [
"MIT"
] | 1 | 2018-05-30T05:09:22.000Z | 2018-05-30T05:09:22.000Z | sanic_openapi/__init__.py | matsurihime/fork-sanic-openapi | b0558fa788459983723e80775f3ef06895ae4e82 | [
"MIT"
] | null | null | null | from .openapi import blueprint as openapi_blueprint
from .swagger import blueprint as swagger_blueprint
__version__ = '0.5.1'
__all__ = ['openapi_blueprint', 'swagger_blueprint']
| 30 | 52 | 0.805556 | 23 | 180 | 5.782609 | 0.478261 | 0.225564 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0.111111 | 180 | 5 | 53 | 36 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d3e52035b1cb60908585ba23726fe5c8e77d8e2c | 2,292 | py | Python | anchore_engine/util/dockerfile.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 1 | 2019-06-27T08:47:48.000Z | 2019-06-27T08:47:48.000Z | anchore_engine/util/dockerfile.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 4 | 2020-11-07T00:16:02.000Z | 2020-11-08T20:52:06.000Z | anchore_engine/util/dockerfile.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 1 | 2019-11-23T03:39:28.000Z | 2019-11-23T03:39:28.000Z | import re
from collections import namedtuple, OrderedDict
# TODO: complete dockerfile parser for easy checks and validation against any part of it
#
# def parse_dockerfile(dockerfile_content, is_guessed=False):
# """
# Given a single string as a dockerfile, parse it into a keyed dict.
#
# :param dockerfile... | 30.157895 | 109 | 0.510035 | 224 | 2,292 | 5.147321 | 0.433036 | 0.152645 | 0.195143 | 0.044232 | 0.115351 | 0.080659 | 0 | 0 | 0 | 0 | 0 | 0.016586 | 0.368674 | 2,292 | 75 | 110 | 30.56 | 0.780235 | 0.908377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3105a827881eab8adfef46ebb66277564a7e8b74 | 62 | py | Python | Arithmetic_Operators.py | FahimFBA/HackerRank-Solutions | 07f5041044fbb8075a214838a8038534452217c2 | [
"Apache-2.0"
] | 2 | 2021-03-29T07:29:16.000Z | 2021-03-30T12:17:13.000Z | Arithmetic_Operators.py | FahimFBA/HackerRank-Solutions | 07f5041044fbb8075a214838a8038534452217c2 | [
"Apache-2.0"
] | null | null | null | Arithmetic_Operators.py | FahimFBA/HackerRank-Solutions | 07f5041044fbb8075a214838a8038534452217c2 | [
"Apache-2.0"
] | 1 | 2021-02-14T15:11:34.000Z | 2021-02-14T15:11:34.000Z | a=int(input())
b=int(input())
print(a+b)
print(a-b)
print(a*b) | 12.4 | 14 | 0.629032 | 15 | 62 | 2.6 | 0.333333 | 0.461538 | 0.538462 | 0.615385 | 0.538462 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 5 | 15 | 12.4 | 0.672414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
311a81473d2f903ac1ab76afe7ded32a04a4efd4 | 44 | py | Python | hardware/__init__.py | muma7490/PyLight | 75fc809e69ae5f1ea3c44f6746f44c3e235e317f | [
"MIT"
] | null | null | null | hardware/__init__.py | muma7490/PyLight | 75fc809e69ae5f1ea3c44f6746f44c3e235e317f | [
"MIT"
] | 9 | 2018-06-10T18:41:26.000Z | 2018-06-14T18:38:45.000Z | hardware/__init__.py | muma7490/PyLight | 75fc809e69ae5f1ea3c44f6746f44c3e235e317f | [
"MIT"
] | null | null | null | from hardware.GPIOControl import GPIOControl | 44 | 44 | 0.909091 | 5 | 44 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 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 |
315e7d04f5ee77fc54ed8bfa1318a1ab4926e38d | 31,815 | py | Python | indy_apis.py | liweinan/jws-maven-repository-builder-config | ca05f41ea0835898f1d0e9809a6df9de3f8b2400 | [
"Apache-2.0"
] | null | null | null | indy_apis.py | liweinan/jws-maven-repository-builder-config | ca05f41ea0835898f1d0e9809a6df9de3f8b2400 | [
"Apache-2.0"
] | null | null | null | indy_apis.py | liweinan/jws-maven-repository-builder-config | ca05f41ea0835898f1d0e9809a6df9de3f8b2400 | [
"Apache-2.0"
] | null | null | null | from maven_repo_util import slashAtTheEnd
import hashlib
import httplib
import json
import logging
import os
import re
import sys
import time
import urllib
import urlparse
from configuration import Configuration
from subprocess import Popen
from subprocess import PIPE
class UrlRequester:
def _request(self, metho... | 47.556054 | 120 | 0.556561 | 3,165 | 31,815 | 5.524803 | 0.107109 | 0.018529 | 0.052156 | 0.061764 | 0.804587 | 0.791833 | 0.779309 | 0.76484 | 0.751344 | 0.722121 | 0 | 0.011114 | 0.358007 | 31,815 | 668 | 121 | 47.627246 | 0.844994 | 0.423731 | 0 | 0.52669 | 0 | 0.007117 | 0.083291 | 0.006678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071174 | false | 0 | 0.049822 | 0.003559 | 0.224199 | 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 |
31685f8bcc411f4e8a353a489ec2824a2ab3ba07 | 25,643 | py | Python | src/controller/wamdamAPI/GetComapreScenarios.py | WamdamProject/WaMDaM_Wizard | f8f5a830464f3c8f45e4eb0557833eefb267d7b2 | [
"BSD-3-Clause"
] | null | null | null | src/controller/wamdamAPI/GetComapreScenarios.py | WamdamProject/WaMDaM_Wizard | f8f5a830464f3c8f45e4eb0557833eefb267d7b2 | [
"BSD-3-Clause"
] | 3 | 2018-11-17T05:49:18.000Z | 2020-12-31T15:57:14.000Z | src/controller/wamdamAPI/GetComapreScenarios.py | WamdamProject/WaMDaM_Wizard | f8f5a830464f3c8f45e4eb0557833eefb267d7b2 | [
"BSD-3-Clause"
] | null | null | null |
from ..ConnectDB_ParseExcel import DB_Setup
from ..ConnectDB_ParseExcel import SqlAlchemy as sq
'''
This class is used to compare any two scenarios within a MasterNetwork in a selected database file.
'''
class GetComapreScenarios(object):
def __init__(self):
self.setup = DB_Setup()
self.sessio... | 59.913551 | 224 | 0.592169 | 1,925 | 25,643 | 7.872727 | 0.097143 | 0.035368 | 0.02613 | 0.01742 | 0.827846 | 0.809568 | 0.797823 | 0.793204 | 0.767074 | 0.767074 | 0 | 0.007767 | 0.292049 | 25,643 | 428 | 225 | 59.913551 | 0.827035 | 0.094529 | 0 | 0.660819 | 0 | 0.008772 | 0.526802 | 0.328492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02924 | false | 0.01462 | 0.005848 | 0 | 0.078947 | 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 |
318de2c96b376a9e8db91e89e1faec6c54392ce7 | 39 | py | Python | distask/locks/__init__.py | tickbh/distask | 266435b1d5ba0b2b54e5f354781d48795b41bb3b | [
"MulanPSL-1.0"
] | 1 | 2021-06-19T01:09:27.000Z | 2021-06-19T01:09:27.000Z | distask/locks/__init__.py | tickbh/distask | 266435b1d5ba0b2b54e5f354781d48795b41bb3b | [
"MulanPSL-1.0"
] | null | null | null | distask/locks/__init__.py | tickbh/distask | 266435b1d5ba0b2b54e5f354781d48795b41bb3b | [
"MulanPSL-1.0"
] | 1 | 2021-06-26T15:04:09.000Z | 2021-06-26T15:04:09.000Z | from distask.locks.base import BaseLock | 39 | 39 | 0.871795 | 6 | 39 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 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 |
31a0e776c2f7326e10180cfbdd9c128a85ebd5c1 | 88,790 | py | Python | DIVE/_widget.py | Dive576/DIVE | d371b6d9fd6f4467081fc86fc8fb23eba4a41f89 | [
"BSD-3-Clause"
] | 5 | 2021-12-22T21:19:22.000Z | 2022-03-12T07:15:06.000Z | DIVE/_widget.py | Dive576/DIVE | d371b6d9fd6f4467081fc86fc8fb23eba4a41f89 | [
"BSD-3-Clause"
] | 2 | 2022-02-20T18:42:55.000Z | 2022-02-25T02:14:31.000Z | DIVE/_widget.py | Dive576/DIVE | d371b6d9fd6f4467081fc86fc8fb23eba4a41f89 | [
"BSD-3-Clause"
] | null | null | null | from ._components.dive_manager import DIVEManager as _DIVEManager
import importlib as _importlib
import vispy as _vp
qt = _vp.app.use_app().backend_name
try:
_qtcore = _importlib.import_module('{}.QtCore'.format(qt))
_qtwidgets = _importlib.import_module('{}.QtWidgets'.format(qt))
except:
pass
else... | 50.163842 | 777 | 0.618617 | 12,349 | 88,790 | 4.315491 | 0.038627 | 0.02308 | 0.026345 | 0.028822 | 0.808489 | 0.773587 | 0.75334 | 0.719433 | 0.693312 | 0.669707 | 0 | 0.003095 | 0.312209 | 88,790 | 1,769 | 778 | 50.192199 | 0.869557 | 0.643969 | 0 | 0.025478 | 0 | 0 | 0.01983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.414013 | false | 0.006369 | 0.031847 | 0 | 0.579618 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7302ac9531d5a74911a4ced162a9f9d784108563 | 83 | py | Python | suzieq/engines/pandas/ospfNbr.py | foobug/suzieq | c5927616a0e1a1fd9283f2a3eeb120d24ff0f2b5 | [
"Apache-2.0"
] | 487 | 2020-04-29T13:34:34.000Z | 2022-03-31T06:13:41.000Z | suzieq/engines/pandas/ospfNbr.py | foobug/suzieq | c5927616a0e1a1fd9283f2a3eeb120d24ff0f2b5 | [
"Apache-2.0"
] | 410 | 2020-04-24T20:57:52.000Z | 2022-03-31T18:07:48.000Z | suzieq/engines/pandas/ospfNbr.py | foobug/suzieq | c5927616a0e1a1fd9283f2a3eeb120d24ff0f2b5 | [
"Apache-2.0"
] | 75 | 2020-04-29T22:13:34.000Z | 2022-03-31T17:00:17.000Z | from .engineobj import SqPandasEngine
class OspfnbrObj(SqPandasEngine):
pass
| 13.833333 | 37 | 0.795181 | 8 | 83 | 8.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 5 | 38 | 16.6 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
73193582a63663976a323990383ce982ae107d8d | 36,351 | py | Python | src/frr/tests/topotests/ospf_basic_functionality/test_ospf_single_area.py | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | src/frr/tests/topotests/ospf_basic_functionality/test_ospf_single_area.py | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | src/frr/tests/topotests/ospf_basic_functionality/test_ospf_single_area.py | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#
# Copyright (c) 2020 by VMware, Inc. ("VMware")
# Used Copyright (c) 2018 by Network Device Education Foundation, Inc.
# ("NetDEF") in this file.
#
# Permission to use, copy, modify, and/or distribute this software
# for any purpose with or without fee is hereby granted, provided
# that the above c... | 32.956482 | 88 | 0.552337 | 4,149 | 36,351 | 4.692456 | 0.092793 | 0.022497 | 0.041296 | 0.061945 | 0.821871 | 0.812522 | 0.798243 | 0.7853 | 0.766757 | 0.748369 | 0 | 0.026385 | 0.302495 | 36,351 | 1,102 | 89 | 32.986388 | 0.741471 | 0.061099 | 0 | 0.62123 | 0 | 0 | 0.285732 | 0.003197 | 0 | 0 | 0 | 0 | 0.083233 | 1 | 0.008444 | false | 0 | 0.015682 | 0 | 0.024125 | 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 |
731fb71ed05a95eb59ee38b3c73860e54037ece6 | 68 | py | Python | __init__.py | fourwood/OutflowCone | fbd52dd3e1f28b89fe860bd638a63fd0df277d50 | [
"MIT"
] | null | null | null | __init__.py | fourwood/OutflowCone | fbd52dd3e1f28b89fe860bd638a63fd0df277d50 | [
"MIT"
] | null | null | null | __init__.py | fourwood/OutflowCone | fbd52dd3e1f28b89fe860bd638a63fd0df277d50 | [
"MIT"
] | null | null | null | from OutflowCone.Helpers import *
from OutflowCone.Cone import Cone
| 22.666667 | 33 | 0.838235 | 9 | 68 | 6.333333 | 0.555556 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 34 | 34 | 0.95 | 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 |
733caa2ed95b9451eda2d6e1d57718dadd3616f4 | 4,259 | py | Python | mnist_train.py | kobe0308/mobilenet_mnist | 76a29ed55373c2c8d0a6df8437ef0cd237bc6c48 | [
"MIT"
] | null | null | null | mnist_train.py | kobe0308/mobilenet_mnist | 76a29ed55373c2c8d0a6df8437ef0cd237bc6c48 | [
"MIT"
] | null | null | null | mnist_train.py | kobe0308/mobilenet_mnist | 76a29ed55373c2c8d0a6df8437ef0cd237bc6c48 | [
"MIT"
] | null | null | null |
#coding: utf-8
import os
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
import mnist_inference
BATCH_SIZE = 100
LEARNING_RATE_BASE = 0.8
LEARNING_RATE_DECAY = 0.99
REGULARAZTION_RATE = 0.0001
TRAINING_STEPS =10000
MOVING_AVERAGE_DECAY = 0.99
MODEL_SAVE_PATH = "./mobilenet_v1_mod... | 42.59 | 139 | 0.7166 | 609 | 4,259 | 4.706076 | 0.215107 | 0.055827 | 0.02268 | 0.030705 | 0.810537 | 0.810537 | 0.810537 | 0.810537 | 0.810537 | 0.810537 | 0 | 0.016944 | 0.168584 | 4,259 | 99 | 140 | 43.020202 | 0.792432 | 0.03475 | 0 | 0.614286 | 0 | 0 | 0.064343 | 0.005118 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0 | 0.057143 | 0 | 0.1 | 0.042857 | 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 |
b432f4ef1da61e3f7bc9068d2683530645719cd6 | 75 | py | Python | continuous_control/MLP/__init__.py | BLUECARVIN/Several-ReinforcementLearning | e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e | [
"MIT"
] | null | null | null | continuous_control/MLP/__init__.py | BLUECARVIN/Several-ReinforcementLearning | e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e | [
"MIT"
] | null | null | null | continuous_control/MLP/__init__.py | BLUECARVIN/Several-ReinforcementLearning | e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e | [
"MIT"
] | null | null | null | from .ActorCritic import *
from .QFunction import *
from .Gaussian import * | 25 | 26 | 0.773333 | 9 | 75 | 6.444444 | 0.555556 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 3 | 27 | 25 | 0.90625 | 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 |
b4710d9c0a9ab977287d2b42a0c70a7c381b3467 | 97 | py | Python | tardis/settings_changeme.py | nrmay/mytardis | 34a460cde6a847c66a6ec3725182c09dc9167bd5 | [
"Apache-2.0"
] | null | null | null | tardis/settings_changeme.py | nrmay/mytardis | 34a460cde6a847c66a6ec3725182c09dc9167bd5 | [
"Apache-2.0"
] | null | null | null | tardis/settings_changeme.py | nrmay/mytardis | 34a460cde6a847c66a6ec3725182c09dc9167bd5 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=wildcard-import
from default_settings import * # noqa # pylint: disable=W0614
| 32.333333 | 62 | 0.773196 | 12 | 97 | 6.166667 | 0.75 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.134021 | 97 | 2 | 63 | 48.5 | 0.833333 | 0.608247 | 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 |
c331c10e52aff495b5a967322726f6f7f86aa662 | 2,926 | py | Python | test_autolens/simulators/imaging/simulators.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | test_autolens/simulators/imaging/simulators.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | test_autolens/simulators/imaging/simulators.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | import autolens as al
from test_autolens.simulators.imaging import instrument_util
def simulate__mass_sie__source_sersic(instrument):
dataset_name = "mass_sie__source_sersic"
# This source-only system has a smooth source (low Sersic Index) and simple SIE mass profile.
lens_galaxy = al.Galax... | 28.686275 | 98 | 0.600137 | 351 | 2,926 | 4.752137 | 0.162393 | 0.021583 | 0.017986 | 0.079137 | 0.896882 | 0.869305 | 0.82554 | 0.784772 | 0.784772 | 0.784772 | 0 | 0.064485 | 0.30041 | 2,926 | 101 | 99 | 28.970297 | 0.750366 | 0.093985 | 0 | 0.697368 | 0 | 0 | 0.034564 | 0.034564 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039474 | false | 0 | 0.026316 | 0 | 0.065789 | 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 |
c37b3a40a280f02bdd9ce6843212a6d7df50e81a | 1,080 | py | Python | vivo.py | Aziroshin/blockchaintools | 72bf833b500628f35502914d5ef2d2248af84055 | [
"MIT"
] | null | null | null | vivo.py | Aziroshin/blockchaintools | 72bf833b500628f35502914d5ef2d2248af84055 | [
"MIT"
] | null | null | null | vivo.py | Aziroshin/blockchaintools | 72bf833b500628f35502914d5ef2d2248af84055 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#-*- coding: utf-8 -*-
#=======================================================================================
# Imports
#=======================================================================================
#==========================================================
#========================... | 38.571429 | 88 | 0.184259 | 33 | 1,080 | 5.787879 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001947 | 0.049074 | 1,080 | 28 | 89 | 38.571429 | 0.184031 | 0.815741 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 0 | 1 | 0 | 0.035714 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6f226eb7a955739c010efc9e7e05dcba0cc59d78 | 20,038 | py | Python | laed/models/sent_models.py | jaywalnut310/NeuralDialog-LAED | 606f4f10fccea9081674c8e01ae2c47e2ba3d4a3 | [
"Apache-2.0"
] | 195 | 2018-04-22T05:05:26.000Z | 2022-01-10T06:30:50.000Z | laed/models/sent_models.py | jaywalnut310/NeuralDialog-LAED | 606f4f10fccea9081674c8e01ae2c47e2ba3d4a3 | [
"Apache-2.0"
] | 6 | 2018-05-29T12:29:56.000Z | 2019-12-11T04:07:05.000Z | laed/models/sent_models.py | jaywalnut310/NeuralDialog-LAED | 606f4f10fccea9081674c8e01ae2c47e2ba3d4a3 | [
"Apache-2.0"
] | 44 | 2018-05-29T07:37:55.000Z | 2021-05-31T08:06:30.000Z | # -*- coding: utf-8 -*-
# author: Tiancheng Zhao
import torch
import torch.nn as nn
import torch.nn.functional as F
from laed.dataset.corpora import PAD, BOS, EOS
from torch.autograd import Variable
from laed import criterions
from laed.enc2dec.decoders import DecoderRNN
from laed.enc2dec.encoders import EncoderRNN
fro... | 45.029213 | 124 | 0.547061 | 2,571 | 20,038 | 3.956437 | 0.096072 | 0.047188 | 0.025954 | 0.029493 | 0.820586 | 0.786571 | 0.777625 | 0.756587 | 0.746068 | 0.72906 | 0 | 0.008668 | 0.366653 | 20,038 | 444 | 125 | 45.130631 | 0.792845 | 0.055994 | 0 | 0.636086 | 0 | 0 | 0.008374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030581 | false | 0 | 0.045872 | 0 | 0.110092 | 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 |
6f33f60ae569bdb60ff9b364189df50523a2b858 | 60,639 | py | Python | data.py | HamzaFarhan/dreamai2 | ea84815bdb745e7a49a54baafbd8a80b688d5cba | [
"MIT"
] | null | null | null | data.py | HamzaFarhan/dreamai2 | ea84815bdb745e7a49a54baafbd8a80b688d5cba | [
"MIT"
] | null | null | null | data.py | HamzaFarhan/dreamai2 | ea84815bdb745e7a49a54baafbd8a80b688d5cba | [
"MIT"
] | null | null | null | from .utils import *
from .dai_imports import *
class DaiDataset(Dataset):
def __init__(self, data, data_dir='', tfms=None, ss_tfms=None, channels=3,
meta_idx=None, do_tta=False, tta=None, num_tta=3, img_idx=0, label_idx=1,
**kwargs):
super(DaiDataset, self).__init_... | 37.570632 | 158 | 0.540955 | 8,346 | 60,639 | 3.728493 | 0.042176 | 0.028794 | 0.021113 | 0.024038 | 0.79176 | 0.772736 | 0.760782 | 0.745324 | 0.732856 | 0.719262 | 0 | 0.024379 | 0.333696 | 60,639 | 1,614 | 159 | 37.570632 | 0.745793 | 0.070977 | 0 | 0.734663 | 0 | 0 | 0.025391 | 0.001281 | 0 | 0 | 0 | 0 | 0.000767 | 1 | 0.044479 | false | 0.000767 | 0.001534 | 0.007669 | 0.08819 | 0.016104 | 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 |
489a467fd7002c28a2466c0cf232743c47c5398b | 40 | py | Python | vnpy/gateway/okexs/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 323 | 2015-11-21T14:45:29.000Z | 2022-03-16T08:54:37.000Z | vnpy/gateway/okexs/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 9 | 2017-03-21T08:26:21.000Z | 2021-08-23T06:41:17.000Z | vnpy/gateway/okexs/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 148 | 2016-09-26T03:25:39.000Z | 2022-02-06T14:43:48.000Z | from .okexs_gateway import OkexsGateway
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
489b3830afd43e3f88970c85225e6b793098c87f | 116 | py | Python | bayene/__init__.py | bwseoh/Bayene | 96763df02736ee2798d66d84cf99c217cd05ebbc | [
"BSD-3-Clause"
] | 4 | 2016-06-12T19:15:27.000Z | 2017-06-13T16:03:51.000Z | bayene/__init__.py | bwseoh/Bayene | 96763df02736ee2798d66d84cf99c217cd05ebbc | [
"BSD-3-Clause"
] | 1 | 2017-07-07T02:06:08.000Z | 2017-07-07T02:06:08.000Z | bayene/__init__.py | bwseoh/Bayene | 96763df02736ee2798d66d84cf99c217cd05ebbc | [
"BSD-3-Clause"
] | 1 | 2021-07-05T15:57:21.000Z | 2021-07-05T15:57:21.000Z | from . import utils
from . import ilp_model
from . import ilp_solver
__all__ = ['utils', 'ilp_model', 'ilp_solver'] | 23.2 | 46 | 0.732759 | 17 | 116 | 4.529412 | 0.411765 | 0.38961 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146552 | 116 | 5 | 46 | 23.2 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48c9025c52a81c74acf8e1bd8d09a83d268b6877 | 69 | py | Python | src/models/__init__.py | lorainemg/information-retrieval-system | 51a421d3b8934d0efdc57f85a369080be6314a3b | [
"MIT"
] | 1 | 2021-07-11T01:28:55.000Z | 2021-07-11T01:28:55.000Z | src/models/__init__.py | lorainemg/information-retrieval-system | 51a421d3b8934d0efdc57f85a369080be6314a3b | [
"MIT"
] | null | null | null | src/models/__init__.py | lorainemg/information-retrieval-system | 51a421d3b8934d0efdc57f85a369080be6314a3b | [
"MIT"
] | null | null | null | from models.model import MRI
from models.vector_mri import VectorMRI
| 23 | 39 | 0.855072 | 11 | 69 | 5.272727 | 0.636364 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 40 | 34.5 | 0.95082 | 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 |
48f2e75f3ba79f64dd6717b3bde82a3c61827672 | 78 | py | Python | py_tdlib/constructors/notification_group_type_messages.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/notification_group_type_messages.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/notification_group_type_messages.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class notificationGroupTypeMessages(Type):
pass
| 13 | 42 | 0.807692 | 8 | 78 | 7.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 5 | 43 | 15.6 | 0.926471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
48faae35c68898bcffa68732e75131d605cac5ea | 8,652 | py | Python | data.py | wangkua1/ssl_bad_gan | 106e704218dba7fb884a6de988579523afa86c3e | [
"MIT"
] | null | null | null | data.py | wangkua1/ssl_bad_gan | 106e704218dba7fb884a6de988579523afa86c3e | [
"MIT"
] | null | null | null | data.py | wangkua1/ssl_bad_gan | 106e704218dba7fb884a6de988579523afa86c3e | [
"MIT"
] | null | null | null |
import numpy as np
import torch
from torchvision.datasets import MNIST, SVHN, CIFAR10, CIFAR100
from torchvision import transforms
import torchvision.utils as vutils
class DataLoader(object):
def __init__(self, config, raw_loader, indices, batch_size):
self.images, self.labels = [], []
for idx in... | 47.538462 | 126 | 0.699491 | 1,200 | 8,652 | 4.8525 | 0.1 | 0.054783 | 0.007728 | 0.010304 | 0.750472 | 0.744633 | 0.72351 | 0.711317 | 0.703589 | 0.703589 | 0 | 0.02307 | 0.17337 | 8,652 | 181 | 127 | 47.801105 | 0.791107 | 0.023463 | 0 | 0.549296 | 0 | 0 | 0.01978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.035211 | null | null | 0.028169 | 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 |
5b0a792297702fc3cd3f6639bbeae9fa78081bba | 15,997 | py | Python | colour/models/rgb/transfer_functions/tests/test_sony_slog.py | JGoldstone/colour | 6829b363d5f0682bff0f4826995e7ceac189ff28 | [
"BSD-3-Clause"
] | null | null | null | colour/models/rgb/transfer_functions/tests/test_sony_slog.py | JGoldstone/colour | 6829b363d5f0682bff0f4826995e7ceac189ff28 | [
"BSD-3-Clause"
] | null | null | null | colour/models/rgb/transfer_functions/tests/test_sony_slog.py | JGoldstone/colour | 6829b363d5f0682bff0f4826995e7ceac189ff28 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Defines the unit tests for the
:mod:`colour.models.rgb.transfer_functions.sony_slog` module.
"""
import numpy as np
import unittest
from colour.models.rgb.transfer_functions import (
log_encoding_SLog,
log_decoding_SLog,
log_encoding_SLog2,
log_decoding_SLog2,
log_encod... | 31.552268 | 79 | 0.635057 | 2,071 | 15,997 | 4.64703 | 0.057943 | 0.078865 | 0.089776 | 0.076475 | 0.885806 | 0.869077 | 0.84414 | 0.820761 | 0.786367 | 0.733791 | 0 | 0.095262 | 0.245359 | 15,997 | 506 | 80 | 31.614625 | 0.701955 | 0.213978 | 0 | 0.586207 | 0 | 0 | 0.031271 | 0.010115 | 0 | 0 | 0 | 0 | 0.229885 | 1 | 0.091954 | false | 0 | 0.015326 | 0 | 0.130268 | 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 |
d2897edb5c3d96853e650b511f4249c8d209bb58 | 30 | py | Python | another_test.py | kongmlor/pylab | c6ca3763281b161eb642c207eea1accc7ddd3fae | [
"Apache-2.0"
] | null | null | null | another_test.py | kongmlor/pylab | c6ca3763281b161eb642c207eea1accc7ddd3fae | [
"Apache-2.0"
] | null | null | null | another_test.py | kongmlor/pylab | c6ca3763281b161eb642c207eea1accc7ddd3fae | [
"Apache-2.0"
] | null | null | null | print("This is another test")
| 15 | 29 | 0.733333 | 5 | 30 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 |
82895509b555ebcd0d18788cb01762700395cd97 | 31 | py | Python | pscv/__init__.py | kazetof/pscv | 18c8ed9defb02a35c322d61e91e442728f0ce13c | [
"BSD-2-Clause"
] | null | null | null | pscv/__init__.py | kazetof/pscv | 18c8ed9defb02a35c322d61e91e442728f0ce13c | [
"BSD-2-Clause"
] | null | null | null | pscv/__init__.py | kazetof/pscv | 18c8ed9defb02a35c322d61e91e442728f0ce13c | [
"BSD-2-Clause"
] | null | null | null | from .object_detection import f | 31 | 31 | 0.870968 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
829a11f137ef7079d0aa7898e355295f57de253a | 43 | py | Python | pprintast/__main__.py | clarketm/pprintast | 850c63b99976b5ad6cc03726557396adfe47d453 | [
"MIT"
] | 14 | 2018-12-02T09:51:50.000Z | 2021-04-07T21:29:06.000Z | pprintast/__main__.py | clarketm/pprintast | 850c63b99976b5ad6cc03726557396adfe47d453 | [
"MIT"
] | null | null | null | pprintast/__main__.py | clarketm/pprintast | 850c63b99976b5ad6cc03726557396adfe47d453 | [
"MIT"
] | 1 | 2021-02-04T22:33:53.000Z | 2021-02-04T22:33:53.000Z | from pprintast.pprintast import cli
cli()
| 10.75 | 35 | 0.790698 | 6 | 43 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 36 | 14.333333 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
7da9c0ed1c5953ca4bd0f7df81f44f977c64d665 | 167 | py | Python | unitreport/__init__.py | annahadji/unitreport | d2d7e5e7ab641d0245d41e1e3339518d80e40463 | [
"MIT"
] | 1 | 2020-07-05T20:07:17.000Z | 2020-07-05T20:07:17.000Z | unitreport/__init__.py | annahadji/unitreport | d2d7e5e7ab641d0245d41e1e3339518d80e40463 | [
"MIT"
] | null | null | null | unitreport/__init__.py | annahadji/unitreport | d2d7e5e7ab641d0245d41e1e3339518d80e40463 | [
"MIT"
] | null | null | null | """Unittest-based data quality and report generation tool."""
from .decorators import plotting, tabling
from .generate import discover_and_run, generate_report, main
| 33.4 | 61 | 0.808383 | 22 | 167 | 6 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113772 | 167 | 4 | 62 | 41.75 | 0.891892 | 0.329341 | 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 |
7dd39c30c21e3f5053a86004d8376f9f421c4806 | 2,520 | py | Python | image_query.py | wangzishuo111/doraemon | dcad07891c6658deef30025e431250527d3e43d1 | [
"MIT"
] | null | null | null | image_query.py | wangzishuo111/doraemon | dcad07891c6658deef30025e431250527d3e43d1 | [
"MIT"
] | null | null | null | image_query.py | wangzishuo111/doraemon | dcad07891c6658deef30025e431250527d3e43d1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from base.log import *
import os
import json
import requests
import urllib2
def poc_hbase_url(trackId,trackPointId,type1,seq,imageType):
url = 'http://10.11.5.36:8888/image/get?trackPointId=%s&type=%s&seq=%s&imageType=%s&trackId=%s' %(trackPointId,type1,seq,imageType,trackId)
... | 43.448276 | 152 | 0.686508 | 346 | 2,520 | 4.791908 | 0.16763 | 0.133293 | 0.156815 | 0.227382 | 0.872135 | 0.823884 | 0.823884 | 0.794331 | 0.672497 | 0.494572 | 0 | 0.153042 | 0.165079 | 2,520 | 57 | 153 | 44.210526 | 0.634981 | 0.008333 | 0 | 0.173913 | 0 | 0.086957 | 0.292468 | 0.098157 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.108696 | null | null | 0.108696 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
815ecd49a613f79f8a6cdd5b0066460e8db81b68 | 87 | py | Python | hello_world.py | guppikan/PythonLearning | b1674b7187c783b682da26c2190e2b47938faa16 | [
"MIT"
] | null | null | null | hello_world.py | guppikan/PythonLearning | b1674b7187c783b682da26c2190e2b47938faa16 | [
"MIT"
] | null | null | null | hello_world.py | guppikan/PythonLearning | b1674b7187c783b682da26c2190e2b47938faa16 | [
"MIT"
] | null | null | null | # learning hello world
# print statement to print "Hello world"
print("Hello World") | 17.4 | 40 | 0.735632 | 12 | 87 | 5.333333 | 0.5 | 0.46875 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 41 | 17.4 | 0.888889 | 0.689655 | 0 | 0 | 0 | 0 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
81e4ba32519309a1311137d27b27f6ac0a18fb58 | 24 | py | Python | aeromet_py/__init__.py | TAF-Verification/aeromet-py | 6b51bbb34825242df03c1138a9719abd0d1257a3 | [
"MIT"
] | null | null | null | aeromet_py/__init__.py | TAF-Verification/aeromet-py | 6b51bbb34825242df03c1138a9719abd0d1257a3 | [
"MIT"
] | null | null | null | aeromet_py/__init__.py | TAF-Verification/aeromet-py | 6b51bbb34825242df03c1138a9719abd0d1257a3 | [
"MIT"
] | null | null | null | from .metar import Metar | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 |
c4c7caca0219168179c9456e60065d50bd789e41 | 315 | py | Python | code/archs/cluster/__init__.py | ThmCuong/IIC-tmp | 7029050db45aaec0099dca67b31b613f1e5ecf10 | [
"MIT"
] | null | null | null | code/archs/cluster/__init__.py | ThmCuong/IIC-tmp | 7029050db45aaec0099dca67b31b613f1e5ecf10 | [
"MIT"
] | null | null | null | code/archs/cluster/__init__.py | ThmCuong/IIC-tmp | 7029050db45aaec0099dca67b31b613f1e5ecf10 | [
"MIT"
] | null | null | null | # from code.archs.cluster.baselines import *
# from code.archs.cluster.net5g import *
# from code.archs.cluster.net5g_two_head import *
# from code.archs.cluster.net6c import *
# from code.archs.cluster.net6c_two_head import *
from . import baselines, net5g, net5g_two_head, net6c, net6c_two_head, residual, vgg
| 39.375 | 86 | 0.777778 | 47 | 315 | 5.042553 | 0.255319 | 0.168776 | 0.274262 | 0.421941 | 0.523207 | 0.523207 | 0 | 0 | 0 | 0 | 0 | 0.028881 | 0.120635 | 315 | 7 | 87 | 45 | 0.826715 | 0.685714 | 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 |
c4ed24d4bd6701292ea5cb6ebc45f922e349d303 | 41 | py | Python | src/services/__init__.py | myuanz/HTTP-Forwarding | 859f9b7cedfffd1eecc535822f34433ce0c1e4e0 | [
"BSD-3-Clause"
] | null | null | null | src/services/__init__.py | myuanz/HTTP-Forwarding | 859f9b7cedfffd1eecc535822f34433ce0c1e4e0 | [
"BSD-3-Clause"
] | null | null | null | src/services/__init__.py | myuanz/HTTP-Forwarding | 859f9b7cedfffd1eecc535822f34433ce0c1e4e0 | [
"BSD-3-Clause"
] | null | null | null | from .device_service import DeviceService | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
4828b390b7e561913381c97f6a77530216fcf94f | 224 | py | Python | tests/petstore-full/petstore_full/service/user/__init__.py | ppentchev/openapi-client-generator | a058af4ec28a1e53809273a662fb8cba0157695e | [
"MIT"
] | 6 | 2021-01-16T21:36:43.000Z | 2022-01-24T10:21:14.000Z | tests/petstore-full/petstore_full/service/user/__init__.py | ppentchev/openapi-client-generator | a058af4ec28a1e53809273a662fb8cba0157695e | [
"MIT"
] | 11 | 2021-01-17T00:05:44.000Z | 2022-01-23T16:13:56.000Z | tests/petstore-full/petstore_full/service/user/__init__.py | ppentchev/openapi-client-generator | a058af4ec28a1e53809273a662fb8cba0157695e | [
"MIT"
] | 2 | 2021-11-06T00:07:34.000Z | 2022-01-14T01:35:06.000Z | """ Auto-generated by openapi-client-generator
https://github.com/avanov/openapi-client-generator
"""
from . import post
from . import by_username
from . import logout
from . import create_with_list
from . import login
| 16 | 50 | 0.763393 | 31 | 224 | 5.419355 | 0.612903 | 0.297619 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138393 | 224 | 13 | 51 | 17.230769 | 0.870466 | 0.415179 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4841f58c9a40a2101f629b5304ed246cbaf4e2f8 | 25,094 | gyp | Python | LuaKitProject/src/Projects/base/allocator/allocator.gyp | andrewvmail/luakit | edbadd7824bd17b6a430d8323f255d404498c27a | [
"MIT"
] | 321 | 2018-06-17T03:52:46.000Z | 2022-03-18T02:34:52.000Z | base/allocator/allocator.gyp | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 19 | 2018-06-26T10:37:45.000Z | 2020-12-09T03:16:45.000Z | base/allocator/allocator.gyp | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 58 | 2018-06-21T10:43:03.000Z | 2022-03-29T12:42:11.000Z | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'jemalloc_dir': '../../third_party/jemalloc/chromium',
'tcmalloc_dir': '../../third_party/tcmalloc/chromium',
'use_vtable_... | 38.606154 | 125 | 0.557544 | 2,616 | 25,094 | 5.108563 | 0.159404 | 0.201661 | 0.255612 | 0.175097 | 0.681832 | 0.62616 | 0.584705 | 0.567495 | 0.551556 | 0.534122 | 0 | 0.004981 | 0.279908 | 25,094 | 649 | 126 | 38.665639 | 0.734588 | 0.102335 | 0 | 0.694539 | 0 | 0 | 0.621145 | 0.514929 | 0 | 0 | 0 | 0.001541 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.003413 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
484952735935ee80e885374c9ec78fa55504874f | 90 | py | Python | app/api/__init__.py | stazrad/geohack-collab-project | 4bc584e11db57501c2cae870029a89dbeece5674 | [
"MIT"
] | 5 | 2020-09-08T14:54:42.000Z | 2020-09-15T01:07:38.000Z | app/api/__init__.py | stazrad/geohack-collab-project | 4bc584e11db57501c2cae870029a89dbeece5674 | [
"MIT"
] | 19 | 2020-09-10T15:30:58.000Z | 2020-09-16T16:16:43.000Z | app/api/__init__.py | stazrad/geohack-collab-project | 4bc584e11db57501c2cae870029a89dbeece5674 | [
"MIT"
] | 2 | 2020-09-14T23:50:23.000Z | 2020-09-18T22:46:33.000Z | from flask import Blueprint
api_bp = Blueprint('api', __name__)
from . import geoserver
| 15 | 35 | 0.766667 | 12 | 90 | 5.333333 | 0.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 5 | 36 | 18 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 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 |
4859b69308d00e1afd181f3a71d9d7e078440718 | 2,225 | gyp | Python | gyp/pdf.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | 20 | 2015-03-15T22:42:36.000Z | 2021-04-28T21:34:05.000Z | gyp/pdf.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | 1 | 2017-01-19T05:40:33.000Z | 2017-01-19T05:40:33.000Z | gyp/pdf.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | null | null | null | {
'includes': [
'common.gypi',
],
'targets': [
{
'target_name': 'pdf',
'type': 'static_library',
'dependencies': [
'core.gyp:core',
'ports.gyp:ports',
'utils.gyp:utils',
'zlib.gyp:zlib',
],
'include_dirs': [
'../deps/skia/include/confi... | 32.246377 | 88 | 0.558202 | 261 | 2,225 | 4.720307 | 0.302682 | 0.201299 | 0.223214 | 0.261364 | 0.528409 | 0.042208 | 0 | 0 | 0 | 0 | 0 | 0.001777 | 0.241348 | 2,225 | 68 | 89 | 32.720588 | 0.728081 | 0.133483 | 0 | 0.186441 | 0 | 0 | 0.648931 | 0.556077 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
486c754c5c68a53a12944a5e0f443f2345cbd989 | 23,838 | py | Python | examples/core/models/t_models.py | zyh1999/pytorch-quantum | c00bd564a99001fee2fd6b30e5e34562ab981e28 | [
"MIT"
] | 98 | 2021-07-23T07:11:32.000Z | 2021-12-19T14:04:58.000Z | examples/core/models/t_models.py | zyh1999/pytorch-quantum | c00bd564a99001fee2fd6b30e5e34562ab981e28 | [
"MIT"
] | 2 | 2021-02-11T19:01:48.000Z | 2021-04-04T20:29:57.000Z | examples/core/models/t_models.py | zyh1999/pytorch-quantum | c00bd564a99001fee2fd6b30e5e34562ab981e28 | [
"MIT"
] | 12 | 2021-07-23T07:10:47.000Z | 2021-12-16T23:44:44.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import torchquantum as tq
import torchquantum.functional as tqf
import numpy as np
__all__ = ['Static', 'Quanvolution', 'Hybrid', 'model_dict']
class TQAll(tq.QuantumModule):
def __init__(self, n_gate: int, op: tq.Operator):
super().__ini... | 40.131313 | 79 | 0.529533 | 3,428 | 23,838 | 3.490957 | 0.063886 | 0.104036 | 0.132364 | 0.088076 | 0.873903 | 0.838389 | 0.801538 | 0.784658 | 0.736358 | 0.730175 | 0 | 0.060717 | 0.32637 | 23,838 | 593 | 80 | 40.198988 | 0.684519 | 0.239534 | 0 | 0.584 | 0 | 0 | 0.003171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048 | false | 0 | 0.016 | 0 | 0.101333 | 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 |
6f95c7bb811ee9facef156a5b3f731d42fda4342 | 3,599 | py | Python | Xiaochi-Li-individual-project/Code/Xiaochi_model.py | XC-Li/DL_Final_Project_Group_1 | 6b7fadc3066688a3adba4a8e8a279a24611bb0af | [
"MIT"
] | 24 | 2019-01-02T03:38:41.000Z | 2022-03-08T08:13:04.000Z | Xiaochi-Li-individual-project/Code/Xiaochi_model.py | XC-Li/DL_Final_Project_Group_1 | 6b7fadc3066688a3adba4a8e8a279a24611bb0af | [
"MIT"
] | 4 | 2019-03-29T07:21:27.000Z | 2020-11-29T19:36:51.000Z | Xiaochi-Li-individual-project/Code/Xiaochi_model.py | XC-Li/DL_Final_Project_Group_1 | 6b7fadc3066688a3adba4a8e8a279a24611bb0af | [
"MIT"
] | 9 | 2019-04-07T19:48:01.000Z | 2021-11-25T11:04:43.000Z | """
Keras models
By: Xiaochi (George) Li
Dec.2018
"""
import tensorflow as tf
from tensorflow.keras import layers, Sequential
def light_vgg():
"""
this model is inspired by vgg net, but lighter
CV_Accuracy ~75% in 10 epoch, 12s per epoch
"""
model = Sequential([
# Block 1: in:100x100x3, ... | 40.438202 | 115 | 0.612948 | 466 | 3,599 | 4.678112 | 0.223176 | 0.12844 | 0.066055 | 0.088073 | 0.882569 | 0.882569 | 0.853211 | 0.842202 | 0.842202 | 0.802752 | 0 | 0.094259 | 0.215893 | 3,599 | 88 | 116 | 40.897727 | 0.678242 | 0.247847 | 0 | 0.521739 | 0 | 0 | 0.126654 | 0.018147 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.130435 | 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 |
6f9991a5e3939228f3444b0a7bb59a7e1d255dbe | 225 | py | Python | my-project-env/lib/python3.6/site-packages/JIT/server.py | kaoutharBousbaa1/python-bootcamp | 5936a8bcf43fef6602f04f8db8fc9117db1db821 | [
"MIT"
] | null | null | null | my-project-env/lib/python3.6/site-packages/JIT/server.py | kaoutharBousbaa1/python-bootcamp | 5936a8bcf43fef6602f04f8db8fc9117db1db821 | [
"MIT"
] | null | null | null | my-project-env/lib/python3.6/site-packages/JIT/server.py | kaoutharBousbaa1/python-bootcamp | 5936a8bcf43fef6602f04f8db8fc9117db1db821 | [
"MIT"
] | null | null | null |
class Server(object):
def left(self,step):
print("向左转")
def right(self,step):
print("向右转")
def forward(self,step):
print("齐步走")
def backward(self,step):
print("向后退")
| 20.454545 | 29 | 0.52 | 27 | 225 | 4.333333 | 0.555556 | 0.273504 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324444 | 225 | 10 | 30 | 22.5 | 0.769737 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0 | 0.555556 | 0.444444 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
6fa3d9135300bc541f3a46b0cbd70ac31e8e1ec1 | 97 | py | Python | simple_input_test.py | aiventures/tools | f24587a22d2bf975c17dc5ad1cb366bd3224b75e | [
"MIT"
] | null | null | null | simple_input_test.py | aiventures/tools | f24587a22d2bf975c17dc5ad1cb366bd3224b75e | [
"MIT"
] | null | null | null | simple_input_test.py | aiventures/tools | f24587a22d2bf975c17dc5ad1cb366bd3224b75e | [
"MIT"
] | null | null | null | from simple_input import v
print(f"test: value from simple_input (key to exit): <{v}>")
input("") | 32.333333 | 60 | 0.71134 | 17 | 97 | 3.941176 | 0.705882 | 0.298507 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 3 | 61 | 32.333333 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6fc8d0215cc130e29a69f07c120932199b179092 | 267 | py | Python | tests/test_python_sphinx_wagtail_theme.py | allcaps/sphinx_wagtail_theme | 09e5c279f6a673fd9a928288e25ca81118c6b5b0 | [
"MIT"
] | 10 | 2021-03-11T11:34:57.000Z | 2022-03-11T16:49:48.000Z | tests/test_python_sphinx_wagtail_theme.py | allcaps/sphinx_wagtail_theme | 09e5c279f6a673fd9a928288e25ca81118c6b5b0 | [
"MIT"
] | 94 | 2021-03-10T10:59:53.000Z | 2022-03-31T10:44:04.000Z | tests/test_python_sphinx_wagtail_theme.py | allcaps/sphinx_wagtail_theme | 09e5c279f6a673fd9a928288e25ca81118c6b5b0 | [
"MIT"
] | 9 | 2021-03-24T12:32:32.000Z | 2022-03-30T08:39:53.000Z | import sphinx_wagtail_theme
def test_theme_info():
assert isinstance(sphinx_wagtail_theme.__version__, str)
assert len(sphinx_wagtail_theme.__version__) > 5
def test_module_methods():
assert isinstance(sphinx_wagtail_theme.get_html_theme_path(), str)
| 24.272727 | 70 | 0.805243 | 36 | 267 | 5.333333 | 0.5 | 0.270833 | 0.375 | 0.302083 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004255 | 0.11985 | 267 | 10 | 71 | 26.7 | 0.812766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.333333 | true | 0 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6fd92f74ab5f68610a21419b86055b796eb2007f | 158 | py | Python | introspection/__init__.py | synw/django-introspection | 7cdf1556f92ea18f8cbe41311eed8f8de88f3a42 | [
"MIT"
] | 6 | 2017-08-28T14:14:48.000Z | 2021-09-16T14:27:20.000Z | introspection/__init__.py | synw/django-introspection | 7cdf1556f92ea18f8cbe41311eed8f8de88f3a42 | [
"MIT"
] | 1 | 2021-11-02T19:04:31.000Z | 2021-11-03T15:31:41.000Z | introspection/__init__.py | synw/django-introspection | 7cdf1556f92ea18f8cbe41311eed8f8de88f3a42 | [
"MIT"
] | null | null | null | # flake8: noqa F401
from introspection.inspector.inspector import AppInspector
from introspection.model import ModelFieldRepresentation, ModelRepresentation
| 31.6 | 77 | 0.873418 | 15 | 158 | 9.2 | 0.733333 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.088608 | 158 | 4 | 78 | 39.5 | 0.930556 | 0.107595 | 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 |
6fdaf3cc21a4f20d77bbce173e05d3f756aae7d0 | 141,323 | py | Python | cottonformation/res/autoscaling.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/autoscaling.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/autoscaling.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropAutoScalingGroupAcceleratorTotalMemoryMiBRequest(Property):
"""
A... | 74.14638 | 298 | 0.788067 | 13,967 | 141,323 | 7.882079 | 0.020119 | 0.030666 | 0.042166 | 0.065165 | 0.9107 | 0.910545 | 0.897465 | 0.857615 | 0.857579 | 0.856289 | 0 | 0.000008 | 0.091514 | 141,323 | 1,905 | 299 | 74.185302 | 0.85745 | 0.328687 | 0 | 0.459193 | 0 | 0 | 0.107726 | 0.076125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004484 | false | 0 | 0.003587 | 0 | 0.249327 | 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 |
6febe142e93a532f7339453473141de763b9fa31 | 19 | py | Python | baloo/io/__init__.py | cda-group/baloo | 0d442117c2a919b177e0a96024cbdc82762cb646 | [
"BSD-3-Clause"
] | 11 | 2018-12-16T00:19:39.000Z | 2021-01-06T04:56:02.000Z | baloo/io/__init__.py | monner/baloo | f6e05e35b73a75e8a300754c6bdc575e5f2d53b9 | [
"BSD-3-Clause"
] | 11 | 2018-09-06T23:10:52.000Z | 2020-01-14T20:49:35.000Z | baloo/io/__init__.py | monner/baloo | f6e05e35b73a75e8a300754c6bdc575e5f2d53b9 | [
"BSD-3-Clause"
] | 6 | 2019-02-12T14:30:43.000Z | 2020-03-15T17:17:56.000Z | from .csv import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82ec459da99f9c9af9a11a62144b42a10d5d2caf | 192,069 | py | Python | src/constant.py | lwa19/dsc | 20b7edf638df71ca4ba3ba0857167bd673b78c21 | [
"MIT"
] | 6 | 2016-03-11T20:29:56.000Z | 2017-01-16T21:06:39.000Z | src/constant.py | lwa19/dsc | 20b7edf638df71ca4ba3ba0857167bd673b78c21 | [
"MIT"
] | 126 | 2018-03-14T14:36:15.000Z | 2022-03-28T18:59:43.000Z | src/constant.py | lwa19/dsc | 20b7edf638df71ca4ba3ba0857167bd673b78c21 | [
"MIT"
] | 8 | 2018-12-07T15:42:48.000Z | 2021-11-08T01:16:58.000Z | #!/usr/bin/env python3
__author__ = "Gao Wang"
__copyright__ = "Copyright 2016, Stephens lab"
__email__ = "gaow@uchicago.edu"
__license__ = "MIT"
__version__ = "0.2.2"
HTML_CSS = '/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */\n.fancybox-wrap,\n.fancybox-skin,\n.fancybox-outer,\n.fancybox-inner,... | 19,206.9 | 174,562 | 0.632497 | 37,696 | 192,069 | 3.215912 | 0.064304 | 0.053701 | 0.042639 | 0.033689 | 0.325027 | 0.240796 | 0.186559 | 0.149719 | 0.118546 | 0.10185 | 0 | 0.013636 | 0.044682 | 192,069 | 9 | 174,563 | 21,341 | 0.647049 | 0.000109 | 0 | 0 | 0 | 17.25 | 0.369217 | 0.212557 | 0.125 | 0 | 0 | 0 | 0.125 | 1 | 0 | false | 0.125 | 0.375 | 0 | 0.375 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
82f3fa2972ab7ae3d8e4b7ebd56060c305cbf7c4 | 193 | py | Python | job-orchestrator/transformers/__init__.py | anaai/anaai | fa49ba107e7c6d32aef46796452308334517a224 | [
"MIT"
] | 31 | 2022-01-26T21:47:31.000Z | 2022-03-21T12:22:39.000Z | job-orchestrator/transformers/__init__.py | anaai/anaai | fa49ba107e7c6d32aef46796452308334517a224 | [
"MIT"
] | 3 | 2022-01-24T11:16:05.000Z | 2022-01-28T15:11:19.000Z | job-orchestrator/transformers/__init__.py | anaai/anaai | fa49ba107e7c6d32aef46796452308334517a224 | [
"MIT"
] | 2 | 2022-02-08T12:07:55.000Z | 2022-02-08T19:45:40.000Z | from transformers.ascii_art import ASCIIArt
from transformers.sketch_art import SketchArt
from transformers.fast_neural_style import FastNeuralStyle
from transformers.anime_gan import AnimeGAN
| 38.6 | 58 | 0.896373 | 25 | 193 | 6.72 | 0.6 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082902 | 193 | 4 | 59 | 48.25 | 0.949153 | 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 |
82f48f7e84e3429ad1fc9f6e923f6165fa7dab45 | 934 | py | Python | PycharmProjects/Cursoemvideo/exe113.py | Alexandrelb78/CursoemvideoPython | b14efe1c7a27b190db6d3b7519bb313b6944759e | [
"MIT"
] | null | null | null | PycharmProjects/Cursoemvideo/exe113.py | Alexandrelb78/CursoemvideoPython | b14efe1c7a27b190db6d3b7519bb313b6944759e | [
"MIT"
] | null | null | null | PycharmProjects/Cursoemvideo/exe113.py | Alexandrelb78/CursoemvideoPython | b14efe1c7a27b190db6d3b7519bb313b6944759e | [
"MIT"
] | null | null | null | def leiaInt(msg):
while True:
try:
n = int (input(msg))
except(ValueError, TypeError):
print ('\033[31mERRO: POR FAVOR, DIGITE UM NUMERO INTEIRO VALIDO.\033[m')
continue
except(KeyboardInterrupt):
print ('\n\033[31mUSUARIO PREFERIU NÃO DIGITAR ... | 29.1875 | 85 | 0.561028 | 111 | 934 | 4.720721 | 0.414414 | 0.061069 | 0.045802 | 0.057252 | 0.770992 | 0.709924 | 0.709924 | 0.709924 | 0.709924 | 0.709924 | 0 | 0.057878 | 0.334047 | 934 | 31 | 86 | 30.129032 | 0.784566 | 0 | 0 | 0.740741 | 0 | 0 | 0.346895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0 | 0 | 0.222222 | 0.185185 | 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 |
d2369c3479e9881bad6bcc1afb474bc4cc0b392a | 33 | py | Python | plugins/irc_plugin/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 38 | 2015-02-12T11:57:59.000Z | 2018-11-15T16:03:45.000Z | plugins/irc_plugin/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 68 | 2015-02-05T23:29:47.000Z | 2017-12-27T08:26:25.000Z | plugins/irc_plugin/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 21 | 2015-02-06T18:58:21.000Z | 2017-12-24T20:08:59.000Z | from irc_plugin import IrcPlugin
| 16.5 | 32 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
963680c028ba6b140ee1452617b193cfa84101f8 | 54 | py | Python | tests/__init__.py | philsupertramp/dj-migration-test | 97ec4513b9848d96436907de7940841866895e3c | [
"MIT"
] | 4 | 2019-07-05T19:32:07.000Z | 2020-02-07T00:47:15.000Z | tests/__init__.py | philsupertramp/dj-migration-test | 97ec4513b9848d96436907de7940841866895e3c | [
"MIT"
] | 17 | 2019-08-23T07:21:23.000Z | 2021-09-22T18:44:26.000Z | tests/__init__.py | philsupertramp/dj-migration-test | 97ec4513b9848d96436907de7940841866895e3c | [
"MIT"
] | null | null | null | from .test_client import *
from .test_config import *
| 18 | 26 | 0.777778 | 8 | 54 | 5 | 0.625 | 0.4 | 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 |
96459f1f1bc867f3b62f9026b34d31de35c93bb6 | 130 | py | Python | MNIST_framework/main_activations.py | vanessadamario/data_efficiency | fc702d2241d737591163697332e3de1d0a0ed085 | [
"MIT"
] | null | null | null | MNIST_framework/main_activations.py | vanessadamario/data_efficiency | fc702d2241d737591163697332e3de1d0a0ed085 | [
"MIT"
] | null | null | null | MNIST_framework/main_activations.py | vanessadamario/data_efficiency | fc702d2241d737591163697332e3de1d0a0ed085 | [
"MIT"
] | 1 | 2021-12-27T00:46:35.000Z | 2021-12-27T00:46:35.000Z | import os
import argparse
from os.path import join
from runs.activation_mnist_natural import eval_activations
eval_activations()
| 18.571429 | 58 | 0.861538 | 19 | 130 | 5.684211 | 0.631579 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 130 | 6 | 59 | 21.666667 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
964775c2b334fcf41b7f3f416c04f2c3dfa9251e | 16,030 | py | Python | pybind/slxos/v16r_1_00b/support/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/support/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/support/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 68.212766 | 633 | 0.735558 | 2,130 | 16,030 | 5.321596 | 0.085915 | 0.016939 | 0.044464 | 0.028231 | 0.808381 | 0.778738 | 0.76921 | 0.765064 | 0.758888 | 0.756065 | 0 | 0.000431 | 0.132377 | 16,030 | 234 | 634 | 68.504274 | 0.814567 | 0.120462 | 0 | 0.430464 | 0 | 0.02649 | 0.384128 | 0.164698 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099338 | false | 0 | 0.072848 | 0 | 0.298013 | 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 |
965294268477f1cb7f5aa69f3715a36848e4efdf | 22 | py | Python | python/gdaxfun/gdaxfun/tests/__init__.py | matr1xc0in/gdaxfun | e74b653aceed26336b0afd3cc4f5e40f0bacba43 | [
"BSD-3-Clause"
] | 1 | 2017-12-28T16:56:31.000Z | 2017-12-28T16:56:31.000Z | python/gdaxfun/gdaxfun/tests/__init__.py | matr1xc0in/gdaxfun | e74b653aceed26336b0afd3cc4f5e40f0bacba43 | [
"BSD-3-Clause"
] | null | null | null | python/gdaxfun/gdaxfun/tests/__init__.py | matr1xc0in/gdaxfun | e74b653aceed26336b0afd3cc4f5e40f0bacba43 | [
"BSD-3-Clause"
] | null | null | null | from gdaxfun import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 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 |
965899e428a00d336e0ac3024aa42bc6883bc8e3 | 722 | py | Python | commands/help.py | macoin-finance/telegram-bot | ea4a76356b0a80eb1ef0994c6be2048a0fc3c486 | [
"BSD-3-Clause"
] | 9 | 2021-07-10T04:43:30.000Z | 2022-02-23T04:57:15.000Z | commands/help.py | coffnix/telegram-bot | 6692e680a0050f6067d01afe4dec486b487fbf8f | [
"BSD-3-Clause"
] | 2 | 2021-07-12T01:56:18.000Z | 2021-07-12T02:05:42.000Z | commands/help.py | coffnix/telegram-bot | 6692e680a0050f6067d01afe4dec486b487fbf8f | [
"BSD-3-Clause"
] | 6 | 2021-07-10T04:44:32.000Z | 2021-07-28T16:34:51.000Z | MESSAGE_TEXT='Commands available to MaCoinEIROS:\n/site\tMaCoin official website\n/video\tDisplay tutorials in video\n/contract\tDisplay MaCoin contract\n/price\tDisplay current MaCoin price\n/metamask\tTutorial for metamask\n/trust\tTutorial for trust wallet\n/graph\tDisplay the MaCoin graph\n/news\tDisplay the latest... | 144.4 | 604 | 0.836565 | 109 | 722 | 5.486239 | 0.477064 | 0.036789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076177 | 722 | 4 | 605 | 180.5 | 0.896552 | 0 | 0 | 0 | 0 | 0.333333 | 0.815789 | 0.498615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96812cc5a804ec0049b121a9d271d0369284fb23 | 28 | py | Python | stulib/compute.py | javakung/stulib | d27bbf1b7253b2d00143d864a7ef8d7940d50850 | [
"MIT"
] | null | null | null | stulib/compute.py | javakung/stulib | d27bbf1b7253b2d00143d864a7ef8d7940d50850 | [
"MIT"
] | null | null | null | stulib/compute.py | javakung/stulib | d27bbf1b7253b2d00143d864a7ef8d7940d50850 | [
"MIT"
] | null | null | null | def sum(x,y):
return x+y | 14 | 14 | 0.571429 | 7 | 28 | 2.285714 | 0.714286 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 14 | 14 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
969a191cc096f975fbf8fb1589d7c2fa40ebd8a7 | 29 | py | Python | legistar/__init__.py | russbiggs/legistar | 20dac22f7bfa2c48f903d7281d5f515ed9d2dd9b | [
"MIT"
] | null | null | null | legistar/__init__.py | russbiggs/legistar | 20dac22f7bfa2c48f903d7281d5f515ed9d2dd9b | [
"MIT"
] | 3 | 2020-03-24T17:36:43.000Z | 2021-02-02T22:21:06.000Z | legistar/__init__.py | russbiggs/legistar | 20dac22f7bfa2c48f903d7281d5f515ed9d2dd9b | [
"MIT"
] | null | null | null | from .client import Legistar
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
969ecaeb33feda09e80c3d4eb61037ae921fb934 | 102 | py | Python | data/typing/numpy.core.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/numpy.core.py | data-apis/python-record-api | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/numpy.core.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
# usage.statsmodels: 1
newaxis: object
# usage.statsmodels: 1
recarray: object
| 12.75 | 22 | 0.754902 | 13 | 102 | 5.923077 | 0.692308 | 0.415584 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.156863 | 102 | 7 | 23 | 14.571429 | 0.872093 | 0.401961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
96a92eeb10d02b8c724875a9dd171f66e1938186 | 165 | tac | Python | fmi-avi-xmlmodel-iwxxm211/src/main/resources/int/icao/iwxxm/2.1.1/examples/taf-A5-1.tac | spatineo/fmi-avi-xmlmodel | 92a87b3d65b1e1a4ec9b7226238785de01a744db | [
"MIT"
] | null | null | null | fmi-avi-xmlmodel-iwxxm211/src/main/resources/int/icao/iwxxm/2.1.1/examples/taf-A5-1.tac | spatineo/fmi-avi-xmlmodel | 92a87b3d65b1e1a4ec9b7226238785de01a744db | [
"MIT"
] | 1 | 2019-03-12T11:26:03.000Z | 2019-03-25T11:00:14.000Z | fmi-avi-xmlmodel-iwxxm211/src/main/resources/int/icao/iwxxm/2.1.1/examples/taf-A5-1.tac | spatineo/fmi-avi-xmlmodel | 92a87b3d65b1e1a4ec9b7226238785de01a744db | [
"MIT"
] | 1 | 2020-02-26T07:19:02.000Z | 2020-02-26T07:19:02.000Z | TAF YUDO 151800Z 1600/1618 13005MPS 9000 BKN020 BECMG 1606/1608 SCT015CB BKN020 TEMPO 1608/1612 17006G12MPS 1000 TSRA SCT010CB BKN020 FM161230 15004MPS 9999 BKN020
| 82.5 | 164 | 0.842424 | 25 | 165 | 5.56 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.584507 | 0.139394 | 165 | 1 | 165 | 165 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96b9b1b8a0fdf7eada7c8e988ff79a58c14f6f68 | 8,548 | py | Python | mecc/apps/doc_gen/tasks.py | unistra/eva | 9f7bd8c44edbca05eb45b36cb5b8e658e53bc3c0 | [
"Apache-2.0"
] | null | null | null | mecc/apps/doc_gen/tasks.py | unistra/eva | 9f7bd8c44edbca05eb45b36cb5b8e658e53bc3c0 | [
"Apache-2.0"
] | 3 | 2021-03-19T10:36:10.000Z | 2021-09-08T01:37:47.000Z | mecc/apps/doc_gen/tasks.py | unistra/eva | 9f7bd8c44edbca05eb45b36cb5b8e658e53bc3c0 | [
"Apache-2.0"
] | null | null | null | import logging
import os
import shutil
from django.conf import settings
from django_celery_results.models import TaskResult
from celery import shared_task
from celery.signals import task_prerun, task_postrun, task_success, task_failure
from mecc.apps.utils.documents_generator import Document
########################... | 36.686695 | 84 | 0.620964 | 1,019 | 8,548 | 4.92051 | 0.105986 | 0.070203 | 0.127643 | 0.143598 | 0.866972 | 0.857399 | 0.839051 | 0.816314 | 0.801157 | 0.794176 | 0 | 0 | 0.138863 | 8,548 | 232 | 85 | 36.844828 | 0.681157 | 0.048315 | 0 | 0.582822 | 0 | 0 | 0.065793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153374 | false | 0 | 0.04908 | 0 | 0.226994 | 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 |
73bee8e5bd8e9783448bd1b8f9eef687f477061b | 18,445 | py | Python | CodaMais/forum/tests.py | igor-gme/herokuTest | bbc79a3c3f2f5c4a212f762df6a80013f9dfb7e7 | [
"Apache-2.0"
] | null | null | null | CodaMais/forum/tests.py | igor-gme/herokuTest | bbc79a3c3f2f5c4a212f762df6a80013f9dfb7e7 | [
"Apache-2.0"
] | null | null | null | CodaMais/forum/tests.py | igor-gme/herokuTest | bbc79a3c3f2f5c4a212f762df6a80013f9dfb7e7 | [
"Apache-2.0"
] | null | null | null | # Django.
from django.test import TestCase
from django.test.client import RequestFactory
from django.core.exceptions import ObjectDoesNotExist
from django.contrib.messages.storage.fallback import FallbackStorage
# local Django.
from forum.models import (
Topic, Answer
)
from user.models import User
from forum.vie... | 40.449561 | 98 | 0.657143 | 2,248 | 18,445 | 5.154804 | 0.065836 | 0.084657 | 0.061529 | 0.024594 | 0.818778 | 0.801519 | 0.779082 | 0.742233 | 0.703918 | 0.678374 | 0 | 0.002421 | 0.238601 | 18,445 | 455 | 99 | 40.538462 | 0.8227 | 0.028734 | 0 | 0.635135 | 0 | 0 | 0.065415 | 0.010893 | 0 | 0 | 0 | 0 | 0.156757 | 1 | 0.124324 | false | 0.008108 | 0.018919 | 0 | 0.186486 | 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 |
73e4e23610f44fba41eca2c3ac299b68d97a1819 | 90 | py | Python | core/orchestrators/__init__.py | dpasse/boom-shaka-laka | 611ad4fed251be333651d05c6e6d57aab93f27b2 | [
"MIT"
] | null | null | null | core/orchestrators/__init__.py | dpasse/boom-shaka-laka | 611ad4fed251be333651d05c6e6d57aab93f27b2 | [
"MIT"
] | null | null | null | core/orchestrators/__init__.py | dpasse/boom-shaka-laka | 611ad4fed251be333651d05c6e6d57aab93f27b2 | [
"MIT"
] | null | null | null | from .many_to_many_vocab_orchestrator import ManyToManySameInputAndOutputVocabOrchestrator | 90 | 90 | 0.955556 | 8 | 90 | 10.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 90 | 1 | 90 | 90 | 0.942529 | 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 |
73eb5ad0a5d019e7392d051c8d72b20290da4488 | 206 | py | Python | sdu_beta_career/resumes/admin.py | Adilet1/beta_career | 6c484bc06852b587bd4dadee27220e4aa41700c2 | [
"MIT"
] | null | null | null | sdu_beta_career/resumes/admin.py | Adilet1/beta_career | 6c484bc06852b587bd4dadee27220e4aa41700c2 | [
"MIT"
] | null | null | null | sdu_beta_career/resumes/admin.py | Adilet1/beta_career | 6c484bc06852b587bd4dadee27220e4aa41700c2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from sdu_beta_career.resumes.models import Resume
from sdu_beta_career.resumes.models import WorkExperience
admin.site.register(Resume)
admin.site.register(WorkExperience)
| 29.428571 | 57 | 0.864078 | 29 | 206 | 6 | 0.482759 | 0.08046 | 0.126437 | 0.195402 | 0.413793 | 0.413793 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0.072816 | 206 | 6 | 58 | 34.333333 | 0.910995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb927d8656bb1a27123fb67ef2da63ed500d3bb4 | 4,616 | py | Python | tests/size_test.py | marnixlenoble/spotlight | 6052f490963ecb4172131eb2e17d4804ed757de5 | [
"MIT"
] | null | null | null | tests/size_test.py | marnixlenoble/spotlight | 6052f490963ecb4172131eb2e17d4804ed757de5 | [
"MIT"
] | null | null | null | tests/size_test.py | marnixlenoble/spotlight | 6052f490963ecb4172131eb2e17d4804ed757de5 | [
"MIT"
] | null | null | null | from decimal import Decimal
from src.spotlight.errors import SIZE_ERROR
from .validator_test import ValidatorTest
class SizeTest(ValidatorTest):
def setUp(self):
self.field = "test"
def test_size_rule_with_invalid_string_length_expect_error(self):
rules = {"test": "size:5"}
data = {"... | 31.834483 | 85 | 0.629766 | 596 | 4,616 | 4.654362 | 0.092282 | 0.08075 | 0.055516 | 0.075703 | 0.898342 | 0.898342 | 0.877073 | 0.869142 | 0.863374 | 0.79416 | 0 | 0.024093 | 0.235702 | 4,616 | 144 | 86 | 32.055556 | 0.762188 | 0 | 0 | 0.616162 | 0 | 0 | 0.058492 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 1 | 0.151515 | false | 0 | 0.030303 | 0 | 0.191919 | 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 |
fbb74d0f812c80ef69fa327079465ce2a23ac5ce | 144 | py | Python | omniflo_lead/omniflo_lead/doctype/audit_log/test_audit_log.py | techomniflo/omniflo_lead | 137c4ca07960e367db4d418ab87d10686204682f | [
"MIT"
] | null | null | null | omniflo_lead/omniflo_lead/doctype/audit_log/test_audit_log.py | techomniflo/omniflo_lead | 137c4ca07960e367db4d418ab87d10686204682f | [
"MIT"
] | null | null | null | omniflo_lead/omniflo_lead/doctype/audit_log/test_audit_log.py | techomniflo/omniflo_lead | 137c4ca07960e367db4d418ab87d10686204682f | [
"MIT"
] | null | null | null | # Copyright (c) 2022, Omniflo and Contributors
# See license.txt
# import frappe
import unittest
class TestAuditLog(unittest.TestCase):
pass
| 16 | 46 | 0.777778 | 18 | 144 | 6.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.145833 | 144 | 8 | 47 | 18 | 0.878049 | 0.513889 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.