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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
91241904e244238fe54d661ecdc0d33ab3a1e23c | 28,064 | py | Python | samples/guidewire/compute_ap.py | liruiqi0515/mask-rcnn-point | 8a4da7067b7eb0c638199a7af988a7573a9fffbc | [
"MIT"
] | null | null | null | samples/guidewire/compute_ap.py | liruiqi0515/mask-rcnn-point | 8a4da7067b7eb0c638199a7af988a7573a9fffbc | [
"MIT"
] | null | null | null | samples/guidewire/compute_ap.py | liruiqi0515/mask-rcnn-point | 8a4da7067b7eb0c638199a7af988a7573a9fffbc | [
"MIT"
] | null | null | null | import keras.backend as K
import cv2, time, os
import numpy as np
import model as modellib
from skimage import morphology
class MAPCallback:
def __init__(self,
model,
val_dataset,
class_names,
threshold=5,
inference_num=50,
... | 40.790698 | 122 | 0.514645 | 3,727 | 28,064 | 3.676684 | 0.068151 | 0.036269 | 0.017733 | 0.021455 | 0.848427 | 0.833102 | 0.825659 | 0.812012 | 0.802452 | 0.788513 | 0 | 0.030936 | 0.35729 | 28,064 | 687 | 123 | 40.850073 | 0.72878 | 0.082775 | 0 | 0.768439 | 0 | 0 | 0.011115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053173 | false | 0 | 0.008576 | 0 | 0.109777 | 0.020583 | 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 |
91489778266b1738c7040cd08cd5ffc369a0e47a | 1,192 | py | Python | half_tones/half_tones/stucki.py | giovaninppc/MC920 | 7d46238f4079dabc4769c72cbed44d024fcf5c97 | [
"MIT"
] | 1 | 2019-08-23T19:23:18.000Z | 2019-08-23T19:23:18.000Z | half_tones/half_tones/stucki.py | giovaninppc/MC920 | 7d46238f4079dabc4769c72cbed44d024fcf5c97 | [
"MIT"
] | null | null | null | half_tones/half_tones/stucki.py | giovaninppc/MC920 | 7d46238f4079dabc4769c72cbed44d024fcf5c97 | [
"MIT"
] | 1 | 2020-11-05T23:56:49.000Z | 2020-11-05T23:56:49.000Z | from half_tones.check_range import *
def Stucki(img, error: int, x, y, z):
if checkRange(x+1, y, img):
img[x+1][y][z] = img[x+1][y][z] + (8/42) * error
if checkRange(x+2, y, img):
img[x+2][y][z] = img[x+2][y][z] + (4/42) * error
if checkRange(x-2, y+1, img):
img[x-2][y+1][z] = img[x... | 42.571429 | 60 | 0.468121 | 266 | 1,192 | 2.090226 | 0.078947 | 0.172662 | 0.080935 | 0.375899 | 0.906475 | 0.760791 | 0.757194 | 0.706835 | 0.706835 | 0.706835 | 0 | 0.106195 | 0.241611 | 1,192 | 27 | 61 | 44.148148 | 0.50885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.038462 | 0 | 0.076923 | 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 |
fc1689c842711ac8caa62d2bde2fc7a2a958485f | 140 | py | Python | tests/extract/test_transfer_info.py | akudan/purr | ca6a57217a2cd83fb267d06e8a77657e213f73ce | [
"MIT"
] | 4 | 2019-11-14T18:15:42.000Z | 2022-03-22T22:23:35.000Z | tests/extract/test_transfer_info.py | akudan/purr | ca6a57217a2cd83fb267d06e8a77657e213f73ce | [
"MIT"
] | 1 | 2020-01-17T22:33:53.000Z | 2020-01-29T21:53:51.000Z | tests/extract/test_transfer_info.py | akudan/purr | ca6a57217a2cd83fb267d06e8a77657e213f73ce | [
"MIT"
] | 1 | 2021-07-07T19:31:26.000Z | 2021-07-07T19:31:26.000Z |
def test_create_stat_table():
pass
def test_get_latest_successful_ts():
pass
def test_update_latest_successful_ts():
pass
| 10.769231 | 39 | 0.742857 | 20 | 140 | 4.65 | 0.55 | 0.225806 | 0.236559 | 0.473118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192857 | 140 | 12 | 40 | 11.666667 | 0.823009 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
fc31b71922b0abe2403d6c1e41963784601763ad | 29,338 | py | Python | tests/test_ridge.py | ncilfone/mabwiser | 329125d4110312d6001e9486e1cb3490a90565c4 | [
"Apache-2.0"
] | 31 | 2019-06-14T12:26:44.000Z | 2020-05-17T19:04:35.000Z | tests/test_ridge.py | ncilfone/mabwiser | 329125d4110312d6001e9486e1cb3490a90565c4 | [
"Apache-2.0"
] | 4 | 2019-12-16T08:41:28.000Z | 2020-05-27T21:32:11.000Z | tests/test_ridge.py | ncilfone/mabwiser | 329125d4110312d6001e9486e1cb3490a90565c4 | [
"Apache-2.0"
] | 6 | 2019-06-16T13:08:41.000Z | 2020-04-17T01:57:14.000Z | # -*- coding: utf-8 -*-
import math
import numpy as np
from sklearn.preprocessing import StandardScaler
from mabwiser.mab import LearningPolicy
from mabwiser.linear import _RidgeRegression
from tests.test_base import BaseTest
class RidgeRegressionTest(BaseTest):
def test_predict_ridge(self):
context =... | 56.527938 | 128 | 0.492535 | 4,080 | 29,338 | 3.385784 | 0.041176 | 0.040104 | 0.036485 | 0.104459 | 0.928116 | 0.914941 | 0.908933 | 0.898943 | 0.883958 | 0.874113 | 0 | 0.154182 | 0.352035 | 29,338 | 519 | 129 | 56.527938 | 0.572488 | 0.003954 | 0 | 0.72 | 0 | 0 | 0.00024 | 0 | 0 | 0 | 0 | 0 | 0.284706 | 1 | 0.035294 | false | 0 | 0.014118 | 0 | 0.051765 | 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 |
fc7a9bea85936ee4bf5630a996f1753df0a4b812 | 10,629 | py | Python | sanity/tests/test_cli.py | CiscoCloud/sdu-test-sanity | 9653ab953bedff015737f99b75ae5b5bb490894c | [
"Apache-2.0"
] | null | null | null | sanity/tests/test_cli.py | CiscoCloud/sdu-test-sanity | 9653ab953bedff015737f99b75ae5b5bb490894c | [
"Apache-2.0"
] | null | null | null | sanity/tests/test_cli.py | CiscoCloud/sdu-test-sanity | 9653ab953bedff015737f99b75ae5b5bb490894c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2015-2016 Cisco Systems, Inc.
# 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/LI... | 39.808989 | 78 | 0.628563 | 1,222 | 10,629 | 5.251228 | 0.135025 | 0.037089 | 0.044413 | 0.030856 | 0.824996 | 0.800686 | 0.788842 | 0.773259 | 0.766402 | 0.766402 | 0 | 0.001648 | 0.258068 | 10,629 | 266 | 79 | 39.958647 | 0.812072 | 0.05946 | 0 | 0.768889 | 0 | 0 | 0.054103 | 0 | 0 | 0 | 0 | 0 | 0.182222 | 1 | 0.084444 | false | 0.013333 | 0.022222 | 0 | 0.133333 | 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 |
fc8a5b4a81faa5faf0d899b2e8aad1414da5cf06 | 3,434 | py | Python | src/genie/libs/parser/iosxe/tests/ShowCryptoSockets/cli/equal/golden_1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowCryptoSockets/cli/equal/golden_1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowCryptoSockets/cli/equal/golden_1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | expected_output = {
'socket_connections': {
'total_socket_connections': 4,
'sockets_in_listen_state': ['Tunnel1-head-0', 'Tunnel2-head-0', 'Tunnel3-head-0', 'Tunnel20-head-0'],
'Tu1': {
'peers': {
'remote_ip': '10.0.0.2',
'local_ip': '85... | 34.34 | 110 | 0.354106 | 385 | 3,434 | 3.049351 | 0.155844 | 0.110733 | 0.102215 | 0.091993 | 0.800681 | 0.770869 | 0.770869 | 0.770869 | 0.770869 | 0.722317 | 0 | 0.219904 | 0.455737 | 3,434 | 100 | 111 | 34.34 | 0.40824 | 0 | 0 | 0.59 | 0 | 0.06 | 0.409316 | 0.092868 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fca468b4cb8ee4246cb643257452fa3d4a56b71c | 3,936 | py | Python | machine_learning_module/hex_nn_models.py | msc-acse/acse-9-independent-research-project-lunayeliu | 8643db1b21d6c2e7e6f1370a9b12a65ec67cce61 | [
"MIT"
] | null | null | null | machine_learning_module/hex_nn_models.py | msc-acse/acse-9-independent-research-project-lunayeliu | 8643db1b21d6c2e7e6f1370a9b12a65ec67cce61 | [
"MIT"
] | null | null | null | machine_learning_module/hex_nn_models.py | msc-acse/acse-9-independent-research-project-lunayeliu | 8643db1b21d6c2e7e6f1370a9b12a65ec67cce61 | [
"MIT"
] | 1 | 2019-08-30T14:17:43.000Z | 2019-08-30T14:17:43.000Z | from collections import OrderedDict
import torch.nn as nn
# 2 Layers model
class DLCM_hex_8_2(nn.Module):
"""
Network for hex 8 elements
Input - 8x3
2 layers
Output - 20
"""
def __init__(self):
super(DLCM_hex_8_2, self).__init__()
self.fc = nn.Sequential(OrderedDict([
... | 24.6 | 45 | 0.473577 | 486 | 3,936 | 3.662551 | 0.113169 | 0.121348 | 0.053933 | 0.04382 | 0.940449 | 0.940449 | 0.814607 | 0.814607 | 0.814607 | 0.686517 | 0 | 0.086261 | 0.349085 | 3,936 | 159 | 46 | 24.754717 | 0.608509 | 0.109756 | 0 | 0.734694 | 0 | 0 | 0.047648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.020408 | 0 | 0.265306 | 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 |
5d8305f878d204ca983dec4d2f37793319e90b8f | 85 | py | Python | pymdmix_run/__init__.py | mdmix4/pymdmix-run | 2c3fdeca39f02429ab0040491e2ad016de210795 | [
"MIT"
] | null | null | null | pymdmix_run/__init__.py | mdmix4/pymdmix-run | 2c3fdeca39f02429ab0040491e2ad016de210795 | [
"MIT"
] | null | null | null | pymdmix_run/__init__.py | mdmix4/pymdmix-run | 2c3fdeca39f02429ab0040491e2ad016de210795 | [
"MIT"
] | null | null | null | from pymdmix_run.run import RunPlugin
def get_plugin_class():
return RunPlugin
| 14.166667 | 37 | 0.788235 | 12 | 85 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 5 | 38 | 17 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
f8e4366a7751b37008f9d0e7145ae40afc5eec6d | 23,685 | py | Python | tensorflow_quantum/python/differentiators/linear_combination.py | PyJedi/quantum | 3f4a3c320e048b8a8faf3a10339975d2d5366fb6 | [
"Apache-2.0"
] | 1 | 2020-03-10T04:12:46.000Z | 2020-03-10T04:12:46.000Z | tensorflow_quantum/python/differentiators/linear_combination.py | PyJedi/quantum | 3f4a3c320e048b8a8faf3a10339975d2d5366fb6 | [
"Apache-2.0"
] | 2 | 2021-08-25T16:13:38.000Z | 2022-02-10T02:36:50.000Z | tensorflow_quantum/python/differentiators/linear_combination.py | PyJedi/quantum | 3f4a3c320e048b8a8faf3a10339975d2d5366fb6 | [
"Apache-2.0"
] | 1 | 2020-03-12T07:19:12.000Z | 2020-03-12T07:19:12.000Z | # Copyright 2020 The TensorFlow Quantum Authors. 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... | 45.812379 | 80 | 0.609584 | 2,794 | 23,685 | 4.994273 | 0.141016 | 0.017558 | 0.044432 | 0.037624 | 0.8088 | 0.797549 | 0.777053 | 0.768812 | 0.760355 | 0.749176 | 0 | 0.015542 | 0.299134 | 23,685 | 516 | 81 | 45.901163 | 0.82506 | 0.404602 | 0 | 0.723849 | 0 | 0 | 0.040868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054393 | false | 0.025105 | 0.016736 | 0.008368 | 0.125523 | 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 |
f8e90e672e298127e182eb030542a46c72347765 | 2,423 | py | Python | test/game/field_outputter_test.py | setokinto/slack-bomber | 4a9a546fc1fb8966b6eb232f3200d48537abd0b6 | [
"MIT"
] | 4 | 2016-12-08T02:27:32.000Z | 2019-02-20T05:55:00.000Z | test/game/field_outputter_test.py | setokinto/slack-bomber | 4a9a546fc1fb8966b6eb232f3200d48537abd0b6 | [
"MIT"
] | 31 | 2016-10-13T10:38:22.000Z | 2021-07-01T05:27:10.000Z | test/game/field_outputter_test.py | setokinto/slack-bomber | 4a9a546fc1fb8966b6eb232f3200d48537abd0b6 | [
"MIT"
] | null | null | null |
import unittest
from unittest.mock import Mock, patch
from app.game.field_outputter import FieldOutputter
from app.game.field import Field
class FieldOutputterTest(unittest.TestCase):
def setUp(self):
pass
@patch("app.game.field_outputter.slacker")
def test_outputter_send_new_message(self, mock... | 42.508772 | 70 | 0.704499 | 291 | 2,423 | 5.62543 | 0.182131 | 0.17471 | 0.166158 | 0.102627 | 0.835675 | 0.835675 | 0.814905 | 0.814905 | 0.79047 | 0.79047 | 0 | 0.008656 | 0.189435 | 2,423 | 56 | 71 | 43.267857 | 0.824847 | 0 | 0 | 0.714286 | 0 | 0 | 0.078035 | 0.039637 | 0 | 0 | 0 | 0 | 0.183673 | 1 | 0.081633 | false | 0.020408 | 0.081633 | 0 | 0.183673 | 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 |
f8e960c693492a608c8e4eb981c6968863bbab72 | 10,579 | py | Python | airfoil_shapes_re_v2/xfoil_analysis_v2.py | omersan/PGML | 09de3472341c05ff929fd8bbeb90ab0595e7eaa4 | [
"Apache-2.0"
] | 6 | 2020-11-26T02:25:21.000Z | 2022-01-21T01:55:54.000Z | airfoil_shapes_re_v2/xfoil_analysis_v2.py | zuokuijun/PGML | 2b919d65e6467b2afdd9f58b9a72f1d5ec74132f | [
"Apache-2.0"
] | null | null | null | airfoil_shapes_re_v2/xfoil_analysis_v2.py | zuokuijun/PGML | 2b919d65e6467b2afdd9f58b9a72f1d5ec74132f | [
"Apache-2.0"
] | 5 | 2020-12-26T05:10:00.000Z | 2021-12-07T08:05:32.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Nov 4 16:47:31 2020
@author: suraj
"""
import numpy as np
import csv
import os
import matplotlib.pyplot as plt
from xfoil import XFoil
from xfoil.model import Airfoil
#%%
import glob
import os
#os.chdir(r'directory where the files are located')
myFil... | 31.864458 | 68 | 0.502978 | 1,297 | 10,579 | 3.922899 | 0.108712 | 0.153302 | 0.150943 | 0.100236 | 0.845126 | 0.808766 | 0.805425 | 0.795204 | 0.795204 | 0.784984 | 0 | 0.039296 | 0.376973 | 10,579 | 332 | 69 | 31.864458 | 0.732666 | 0.028358 | 0 | 0.758197 | 0 | 0 | 0.057126 | 0.03217 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036885 | 0 | 0.036885 | 0.004098 | 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 |
5d0d9119e993b9c0751687fde356593fed17d456 | 11,776 | py | Python | DialogFormatReader.py | tilde-nlp/pip2-next-dlg-action | 652a2fc03f78cecc1ad32ce737916da2ff3f1688 | [
"MIT"
] | null | null | null | DialogFormatReader.py | tilde-nlp/pip2-next-dlg-action | 652a2fc03f78cecc1ad32ce737916da2ff3f1688 | [
"MIT"
] | null | null | null | DialogFormatReader.py | tilde-nlp/pip2-next-dlg-action | 652a2fc03f78cecc1ad32ce737916da2ff3f1688 | [
"MIT"
] | 1 | 2020-09-30T07:15:35.000Z | 2020-09-30T07:15:35.000Z | import sys
import numpy as np
import pandas as pd
import random
from itertools import chain
np.set_printoptions(edgeitems=30, linewidth=100000)
from Embeddings import Embeddings
def ResetEntitiesInHistory(history, entity):
if entity[0]!='_':
if entity in history:
history.remove(entity)
els... | 35.684848 | 112 | 0.531844 | 1,314 | 11,776 | 4.663623 | 0.134703 | 0.094648 | 0.031984 | 0.031332 | 0.817396 | 0.811521 | 0.787369 | 0.767624 | 0.738087 | 0.700392 | 0 | 0.01672 | 0.334664 | 11,776 | 329 | 113 | 35.793313 | 0.765412 | 0.054603 | 0 | 0.777778 | 0 | 0 | 0.07747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02682 | false | 0.003831 | 0.034483 | 0.003831 | 0.08046 | 0.003831 | 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 |
5d124a64a602d6bbb9b38ad3963f8db6e64141c1 | 92 | py | Python | test2/code/a/a.py | fifoforlifo/pynja | 73c5bc0eec02c7bd5bf0d60856c86dd3abb0e6fe | [
"Apache-2.0"
] | null | null | null | test2/code/a/a.py | fifoforlifo/pynja | 73c5bc0eec02c7bd5bf0d60856c86dd3abb0e6fe | [
"Apache-2.0"
] | null | null | null | test2/code/a/a.py | fifoforlifo/pynja | 73c5bc0eec02c7bd5bf0d60856c86dd3abb0e6fe | [
"Apache-2.0"
] | null | null | null | import pynja
pynja.import_subdir("a0")
pynja.import_subdir("a1")
pynja.import_subdir("a2")
| 15.333333 | 25 | 0.771739 | 14 | 92 | 4.857143 | 0.428571 | 0.485294 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.065217 | 92 | 5 | 26 | 18.4 | 0.755814 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 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 |
5d23cf44825b41a14d84fbacce6d438be8a7bc24 | 58,254 | py | Python | physics_engine.py | YunzhuLi/CompositionalKoopmanOperators | 116057b11192bb2fbea2b9af411cddcee354dae8 | [
"MIT"
] | 56 | 2020-04-28T14:34:15.000Z | 2022-03-18T13:22:31.000Z | physics_engine.py | YunzhuLi/CompositionalKoopmanOperators | 116057b11192bb2fbea2b9af411cddcee354dae8 | [
"MIT"
] | 4 | 2020-06-29T19:53:27.000Z | 2021-04-05T05:18:40.000Z | physics_engine.py | YunzhuLi/CompositionalKoopmanOperators | 116057b11192bb2fbea2b9af411cddcee354dae8 | [
"MIT"
] | 8 | 2020-06-09T16:12:24.000Z | 2021-11-15T21:43:57.000Z | import os
import cv2
import matplotlib.pyplot as plt
import numpy as np
import pymunk
from matplotlib.collections import PatchCollection
from matplotlib.colors import to_rgba
from matplotlib.patches import Circle, Polygon
from pymunk.vec2d import Vec2d
from utils import rand_float, rand_int, calc_dis, norm
class En... | 37.08084 | 118 | 0.452673 | 7,954 | 58,254 | 3.182047 | 0.045386 | 0.03062 | 0.008416 | 0.0226 | 0.832951 | 0.810036 | 0.786764 | 0.758198 | 0.744172 | 0.73228 | 0 | 0.05094 | 0.404882 | 58,254 | 1,570 | 119 | 37.104459 | 0.679128 | 0.034298 | 0 | 0.725846 | 0 | 0 | 0.016891 | 0.000519 | 0 | 0 | 0 | 0 | 0.008258 | 1 | 0.04294 | false | 0.004955 | 0.009083 | 0.008258 | 0.073493 | 0.006606 | 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 |
5d423d0508653587ed90d8b63f87105fc4668456 | 18,755 | py | Python | test/unit/test_custom_pages_v1.py | KumarGanesanIBM/networking-python-sdk | c00801b8cb908496bb1b8635ee0a53513af57639 | [
"Apache-2.0"
] | null | null | null | test/unit/test_custom_pages_v1.py | KumarGanesanIBM/networking-python-sdk | c00801b8cb908496bb1b8635ee0a53513af57639 | [
"Apache-2.0"
] | null | null | null | test/unit/test_custom_pages_v1.py | KumarGanesanIBM/networking-python-sdk | c00801b8cb908496bb1b8635ee0a53513af57639 | [
"Apache-2.0"
] | 1 | 2020-07-30T10:39:28.000Z | 2020-07-30T10:39:28.000Z | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2020.
#
# 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 l... | 46.8875 | 506 | 0.539803 | 1,818 | 18,755 | 5.336084 | 0.10231 | 0.07793 | 0.019792 | 0.032162 | 0.8729 | 0.8729 | 0.8729 | 0.862798 | 0.8428 | 0.807752 | 0 | 0.032161 | 0.205865 | 18,755 | 399 | 507 | 47.005013 | 0.619176 | 0.23903 | 0 | 0.794118 | 0 | 0.058824 | 0.437355 | 0.100723 | 0 | 0 | 0 | 0 | 0.137255 | 1 | 0.058824 | false | 0 | 0.034314 | 0 | 0.122549 | 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 |
5d67917db20d3abe76dc371e2111f0d0842ca2a7 | 8,606 | py | Python | venv/Lib/site-packages/tensorflow_core/_api/v2/compat/v1/train/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow_core/_api/v2/compat/v1/train/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow_core/_api/v2/compat/v1/train/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Support for training models.
See the [Training](https://tensorflow.org/api_guides/python/train) guide.
"""
from __future__ import print_function as _print_function
import sys as _sys
... | 64.706767 | 105 | 0.896003 | 1,089 | 8,606 | 6.86685 | 0.189164 | 0.250334 | 0.310243 | 0.404386 | 0.704065 | 0.658732 | 0.552955 | 0.419363 | 0.265579 | 0.071008 | 0 | 0.000495 | 0.060074 | 8,606 | 132 | 106 | 65.19697 | 0.923971 | 0.026726 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 1 | 0 | true | 0 | 0.991736 | 0 | 0.991736 | 0.024793 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
53ba915cacc281d87ab55f1e308d5a6221c7a741 | 71 | py | Python | theBroker/venv/Lib/site-packages/ttn/github_com/TheThingsNetwork/api/networkserver/__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/networkserver/__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/networkserver/__init__.py | emirgo/WeatherStation | f0f8c3464470991fc962d83cea20f3bcfd6a04b6 | [
"MIT"
] | 22 | 2017-11-03T10:21:50.000Z | 2021-04-08T05:20:51.000Z | from .networkserver_pb2_grpc import *
from .networkserver_pb2 import *
| 23.666667 | 37 | 0.830986 | 9 | 71 | 6.222222 | 0.555556 | 0.607143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.112676 | 71 | 2 | 38 | 35.5 | 0.857143 | 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 |
53f2d949c65ee54393a2e4a95412be97655c2ddd | 9,102 | py | Python | Front-end/antlr/SQLGramaticaListener.py | cor14095/probases1 | 0e99fde61108379a22339603f94238aa81808968 | [
"MIT"
] | 1 | 2017-04-02T01:52:57.000Z | 2017-04-02T01:52:57.000Z | Front-end/antlr/SQLGramaticaListener.py | cor14095/probases1 | 0e99fde61108379a22339603f94238aa81808968 | [
"MIT"
] | null | null | null | Front-end/antlr/SQLGramaticaListener.py | cor14095/probases1 | 0e99fde61108379a22339603f94238aa81808968 | [
"MIT"
] | null | null | null | # Generated from gramatica/SQLGramatica.g4 by ANTLR 4.7
from antlr4 import *
# This class defines a complete listener for a parse tree produced by SQLGramaticaParser.
class SQLGramaticaListener(ParseTreeListener):
# Enter a parse tree produced by SQLGramaticaParser#literal.
def enterLiteral(self, ctx):
... | 26.080229 | 89 | 0.690947 | 1,032 | 9,102 | 6.078488 | 0.140504 | 0.073649 | 0.122748 | 0.220947 | 0.807429 | 0.807429 | 0.801371 | 0.800574 | 0.652001 | 0.641798 | 0 | 0.000586 | 0.249506 | 9,102 | 348 | 90 | 26.155172 | 0.917728 | 0.518238 | 0 | 0.493506 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.493506 | false | 0.493506 | 0.006494 | 0 | 0.506494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
53fe281b711789e1b1d841bfc17dcfa4d3417ad5 | 47 | py | Python | chess_main.py | ChessGameGroup/chess_game | 01d140d5b274bdd76a78e59b1d96c11b18ebc8d5 | [
"MIT"
] | null | null | null | chess_main.py | ChessGameGroup/chess_game | 01d140d5b274bdd76a78e59b1d96c11b18ebc8d5 | [
"MIT"
] | null | null | null | chess_main.py | ChessGameGroup/chess_game | 01d140d5b274bdd76a78e59b1d96c11b18ebc8d5 | [
"MIT"
] | null | null | null | from functions import print_grid
print_grid()
| 11.75 | 32 | 0.829787 | 7 | 47 | 5.285714 | 0.714286 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 3 | 33 | 15.666667 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 1 | 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 | 0 | 1 | 0 | 7 |
072bee0fbeaad20da79672c991cb9ef1aa233107 | 28,424 | py | Python | sdk/python/pulumi_gcp/organizations/policy.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/organizations/policy.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/organizations/policy.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"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... | 47.771429 | 307 | 0.667077 | 3,249 | 28,424 | 5.676208 | 0.078793 | 0.056068 | 0.057694 | 0.022666 | 0.903861 | 0.889166 | 0.86585 | 0.848606 | 0.833424 | 0.814391 | 0 | 0.009583 | 0.23642 | 28,424 | 594 | 308 | 47.851852 | 0.840122 | 0.476851 | 0 | 0.695167 | 1 | 0 | 0.134179 | 0.040215 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159851 | false | 0.003717 | 0.026022 | 0 | 0.282528 | 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 |
073993288533c56b6b371dba51632083cb4a9829 | 4,895 | py | Python | tests/test_inituniqresult.py | ZenulAbidin/bip39validator | b78f2db6f46b56b408eef3a51e921e96247a9b46 | [
"MIT"
] | 3 | 2021-02-11T20:37:56.000Z | 2021-06-11T03:29:15.000Z | tests/test_inituniqresult.py | ZenulAbidin/bip39validator | b78f2db6f46b56b408eef3a51e921e96247a9b46 | [
"MIT"
] | 4 | 2020-10-04T23:11:08.000Z | 2020-12-23T00:32:52.000Z | tests/test_inituniqresult.py | ZenulAbidin/bip39validator | b78f2db6f46b56b408eef3a51e921e96247a9b46 | [
"MIT"
] | null | null | null | from unittest import TestCase
from bip39validator.BIP39WordList import BIP39WordList
inituniq_2group_l3 = """quick
quote"""
inituniq_4group_l3 = """quick
quote
risk
rich"""
class TestInitUniqResult(TestCase):
def test_similargroup(self):
bip39 = BIP39WordList("inituniq_2group_l3", string=inituniq_2group_... | 36.259259 | 80 | 0.566088 | 549 | 4,895 | 4.803279 | 0.096539 | 0.083428 | 0.091013 | 0.113766 | 0.906712 | 0.899886 | 0.88358 | 0.834661 | 0.801289 | 0.720137 | 0 | 0.045346 | 0.31522 | 4,895 | 134 | 81 | 36.529851 | 0.741348 | 0 | 0 | 0.606557 | 0 | 0 | 0.071093 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 1 | 0.081967 | false | 0.081967 | 0.016393 | 0 | 0.106557 | 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 |
0762086a89758c3f2bcdb308ff2aa71b96bd9546 | 52,892 | py | Python | test/integration/ggrc/notifications/test_assignable_notifications.py | MikalaiMikalalai/ggrc-core | f0f83b3638574bb64de474f3b70ed27436ca812a | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-01-12T23:46:00.000Z | 2019-01-12T23:46:00.000Z | test/integration/ggrc/notifications/test_assignable_notifications.py | MikalaiMikalalai/ggrc-core | f0f83b3638574bb64de474f3b70ed27436ca812a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/integration/ggrc/notifications/test_assignable_notifications.py | MikalaiMikalalai/ggrc-core | f0f83b3638574bb64de474f3b70ed27436ca812a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (C) 2020 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# pylint: disable=invalid-name,too-many-lines
"""Tests for notifications for models with assignable mixin."""
import unittest
from collections import OrderedDict
from datetime impo... | 38.919794 | 80 | 0.700616 | 6,557 | 52,892 | 5.448223 | 0.063139 | 0.074348 | 0.055425 | 0.053298 | 0.855363 | 0.832718 | 0.821856 | 0.80243 | 0.788657 | 0.768755 | 0 | 0.00763 | 0.177361 | 52,892 | 1,358 | 81 | 38.948454 | 0.813404 | 0.075985 | 0 | 0.805585 | 0 | 0 | 0.208092 | 0.114871 | 0 | 0 | 0 | 0.000736 | 0.195489 | 0 | null | null | 0 | 0.108486 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ab0e9431a1809999fe3f59fcce2a2324fa11f14a | 4,813 | py | Python | TP3/test_parse_gh_statuses_file.py | will-afs/PYT | e2ad09d3449a28124a033dcc7ddd0429cbd18239 | [
"MIT"
] | null | null | null | TP3/test_parse_gh_statuses_file.py | will-afs/PYT | e2ad09d3449a28124a033dcc7ddd0429cbd18239 | [
"MIT"
] | null | null | null | TP3/test_parse_gh_statuses_file.py | will-afs/PYT | e2ad09d3449a28124a033dcc7ddd0429cbd18239 | [
"MIT"
] | null | null | null | import unittest
import os
from parse_gh_statuses_file import get_status_from_gh_statuses_data_file, get_statuses_from_gh_statuses_data_file
DATA_FILE_URL = '/home/william/Programming/PYT/TP3/'
DATA_FILE_URI = 'data'
DATA_FILE_URN = DATA_FILE_URL + DATA_FILE_URI
class TestParseGHStatusesFile(unittest.TestCase):
... | 50.135417 | 113 | 0.531893 | 477 | 4,813 | 4.763103 | 0.132075 | 0.207746 | 0.197183 | 0.253521 | 0.821743 | 0.809419 | 0.807218 | 0.737676 | 0.737676 | 0.608275 | 0 | 0.030172 | 0.421567 | 4,813 | 96 | 114 | 50.135417 | 0.78592 | 0 | 0 | 0.428571 | 0 | 0 | 0.03469 | 0.02742 | 0 | 0 | 0 | 0 | 0.155844 | 1 | 0.12987 | false | 0 | 0.038961 | 0 | 0.194805 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ab4ea5cc1201ee05f753c0349079707d44fb3d7e | 102,068 | py | Python | Project 1/source code/Classification.py | zenith378/Data-Mining | 424590ab09b2ce7cb83c4a80bc4d9140a646fe76 | [
"MIT"
] | 1 | 2022-01-05T10:16:35.000Z | 2022-01-05T10:16:35.000Z | Project 1/source code/Classification.py | zenith378/Data-Mining | 424590ab09b2ce7cb83c4a80bc4d9140a646fe76 | [
"MIT"
] | null | null | null | Project 1/source code/Classification.py | zenith378/Data-Mining | 424590ab09b2ce7cb83c4a80bc4d9140a646fe76 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Copia di Classification.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/19w462hZ5-StoAmR7fA-GquAcs-hibbSU
"""
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sb
from matplotlib.... | 28.800226 | 159 | 0.723478 | 16,782 | 102,068 | 4.098677 | 0.027649 | 0.034601 | 0.020455 | 0.030181 | 0.940858 | 0.93292 | 0.928806 | 0.925012 | 0.922569 | 0.917335 | 0 | 0.020442 | 0.13347 | 102,068 | 3,544 | 160 | 28.800226 | 0.757262 | 0.043412 | 0 | 0.922545 | 1 | 0 | 0.088119 | 0.000713 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000461 | false | 0 | 0.026279 | 0 | 0.02674 | 0.078377 | 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 |
db419cc536faa492920d3742901bc8588e6578fb | 58,653 | py | Python | submission/code/modular/decide.py | NNpanpan/CS4278-5478-Project-Materials | f577f8beba9b96d63c31802d16c286749a3f7918 | [
"MIT"
] | null | null | null | submission/code/modular/decide.py | NNpanpan/CS4278-5478-Project-Materials | f577f8beba9b96d63c31802d16c286749a3f7918 | [
"MIT"
] | null | null | null | submission/code/modular/decide.py | NNpanpan/CS4278-5478-Project-Materials | f577f8beba9b96d63c31802d16c286749a3f7918 | [
"MIT"
] | null | null | null | from modular.lane_detection.lane import inspect_box, detect_lane, has_red_bar, is_pit
from modular.sign_recognition.detect_stop_sign import stop_detect
import numpy as np
import os
import argparse
class Controller:
def __init__(self, has_pit=False, has_intersection=False, has_stop_sign=False):
self.turnin... | 39.232776 | 107 | 0.471979 | 7,944 | 58,653 | 3.303877 | 0.037261 | 0.017831 | 0.016345 | 0.070411 | 0.959308 | 0.951535 | 0.946735 | 0.944182 | 0.940715 | 0.936333 | 0 | 0.076049 | 0.431231 | 58,653 | 1,494 | 108 | 39.259036 | 0.710701 | 0.244267 | 0 | 0.905128 | 0 | 0 | 0.005608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010256 | false | 0.021795 | 0.00641 | 0 | 0.255128 | 0.028205 | 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 |
db51878bb985db494b8c2f165ef4475626cd37d4 | 35,779 | py | Python | model-optimizer/mo/middle/passes/fusing/resnet_optimization_test.py | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 1 | 2021-04-06T03:32:12.000Z | 2021-04-06T03:32:12.000Z | model-optimizer/mo/middle/passes/fusing/resnet_optimization_test.py | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 28 | 2021-09-24T09:29:02.000Z | 2022-03-28T13:20:46.000Z | model-optimizer/mo/middle/passes/fusing/resnet_optimization_test.py | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 1 | 2020-08-30T11:48:03.000Z | 2020-08-30T11:48:03.000Z | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import unittest
import numpy as np
from mo.front.common.partial_infer.elemental import copy_shape_infer
from mo.front.common.partial_infer.eltwise import eltwise_infer
from mo.middle.passes.fusing.resnet_optimization import stride_opti... | 56.344882 | 120 | 0.384276 | 3,765 | 35,779 | 3.374768 | 0.037716 | 0.114592 | 0.073036 | 0.039666 | 0.925153 | 0.91807 | 0.909806 | 0.896584 | 0.858177 | 0.850386 | 0 | 0.07912 | 0.441153 | 35,779 | 634 | 121 | 56.433754 | 0.556339 | 0.031219 | 0 | 0.843137 | 0 | 0 | 0.225411 | 0.006207 | 0 | 0 | 0 | 0 | 0.011765 | 1 | 0.011765 | false | 0.001961 | 0.017647 | 0 | 0.031373 | 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 |
dbd2bf2c66c1b2d69f4ee0636c49b8d4c5b451df | 14,077 | py | Python | pytests/storage/magma/magma_basic_crud.py | ashwin2002/TAF | 4223787a1f4c0fe9fa841543020b48ada9ade9e3 | [
"Apache-2.0"
] | null | null | null | pytests/storage/magma/magma_basic_crud.py | ashwin2002/TAF | 4223787a1f4c0fe9fa841543020b48ada9ade9e3 | [
"Apache-2.0"
] | null | null | null | pytests/storage/magma/magma_basic_crud.py | ashwin2002/TAF | 4223787a1f4c0fe9fa841543020b48ada9ade9e3 | [
"Apache-2.0"
] | null | null | null | from Cb_constants.CBServer import CbServer
from couchbase_helper.documentgenerator import doc_generator
from magma_base import MagmaBaseTest
class BasicCrudTests(MagmaBaseTest):
def setUp(self):
super(BasicCrudTests, self).setUp()
self.change_swap_space(self.cluster.nodes_in_cluster)
self.... | 42.917683 | 77 | 0.586418 | 1,563 | 14,077 | 5.015355 | 0.120282 | 0.035081 | 0.03827 | 0.022962 | 0.845388 | 0.815155 | 0.811456 | 0.811456 | 0.803546 | 0.796658 | 0 | 0.008603 | 0.322867 | 14,077 | 327 | 78 | 43.04893 | 0.813785 | 0.076579 | 0 | 0.812261 | 0 | 0 | 0.039535 | 0.006759 | 0 | 0 | 0 | 0 | 0.02682 | 1 | 0.019157 | false | 0 | 0.011494 | 0 | 0.034483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dbd307a3faaff0cec21361b697c9bf3126b647c1 | 16,564 | py | Python | sdk/python/pulumi_akamai/app_sec_advanced_settings_logging.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-01-21T15:22:12.000Z | 2021-08-25T14:15:29.000Z | sdk/python/pulumi_akamai/app_sec_advanced_settings_logging.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2020-08-13T14:39:36.000Z | 2022-03-31T15:19:48.000Z | sdk/python/pulumi_akamai/app_sec_advanced_settings_logging.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"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 ... | 57.117241 | 377 | 0.704117 | 1,956 | 16,564 | 5.780164 | 0.108896 | 0.041836 | 0.049531 | 0.029188 | 0.822041 | 0.808067 | 0.802494 | 0.782682 | 0.774456 | 0.773748 | 0 | 0.001994 | 0.21269 | 16,564 | 289 | 378 | 57.314879 | 0.864964 | 0.527228 | 0 | 0.59589 | 1 | 0 | 0.108988 | 0.023071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.150685 | false | 0.006849 | 0.034247 | 0 | 0.273973 | 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 |
91db2b2b058bcbace267a6750d2a10e1c9ba8c20 | 12,228 | py | Python | test/terra/reference/ref_initialize.py | eliarbel/qiskit-aer | 827f8922948dd18a588e8617bccaec465934280f | [
"Apache-2.0"
] | 1 | 2019-12-12T07:58:14.000Z | 2019-12-12T07:58:14.000Z | test/terra/reference/ref_initialize.py | BryceFuller/qiskit-aer | abd418e37359210e809a94e74db33f08ad053fd6 | [
"Apache-2.0"
] | 29 | 2018-12-19T10:11:00.000Z | 2018-12-19T10:16:18.000Z | test/terra/reference/ref_initialize.py | BryceFuller/qiskit-aer | abd418e37359210e809a94e74db33f08ad053fd6 | [
"Apache-2.0"
] | null | null | null | # This code is part of Qiskit.
#
# (C) Copyright IBM 2018, 2019.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivat... | 37.857585 | 99 | 0.456003 | 1,706 | 12,228 | 3.239156 | 0.079132 | 0.043431 | 0.058632 | 0.052117 | 0.80818 | 0.769273 | 0.737785 | 0.715527 | 0.70105 | 0.624502 | 0 | 0.108657 | 0.348217 | 12,228 | 322 | 100 | 37.975155 | 0.584693 | 0.247628 | 0 | 0.717073 | 0 | 0 | 0.027524 | 0 | 0 | 0 | 0.014753 | 0 | 0 | 1 | 0.039024 | false | 0 | 0.009756 | 0 | 0.092683 | 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 |
530e826259bbd062eb1c1abfe05d8820344b7d01 | 101 | py | Python | kornia/geometry/warp/__init__.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2021-01-26T05:25:01.000Z | 2022-02-08T06:10:41.000Z | kornia/geometry/warp/__init__.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-05-03T10:34:15.000Z | 2022-02-17T04:25:26.000Z | kornia/geometry/warp/__init__.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2021-04-30T01:51:38.000Z | 2022-01-27T05:06:04.000Z | from kornia.geometry.warp.homography_warper import *
from kornia.geometry.warp.depth_warper import *
| 33.666667 | 52 | 0.841584 | 14 | 101 | 5.928571 | 0.571429 | 0.240964 | 0.433735 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 2 | 53 | 50.5 | 0.892473 | 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 |
53195ebb4eb50b0707bba2cc88d96afb60e41d83 | 33 | py | Python | tests/tests_unit/test_api/good_absolute_import/shared/util.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_unit/test_api/good_absolute_import/shared/util.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_unit/test_api/good_absolute_import/shared/util.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | def shared_func():
return 42
| 11 | 18 | 0.666667 | 5 | 33 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.242424 | 33 | 2 | 19 | 16.5 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
7263e0a4e7a780153965a53eb89c8abaf125d29d | 4,345 | py | Python | plot_micrometals_pv_official.py | dword1511/powdercore-q | ddf24c50e8178033a30cfbbf94642a5199764da6 | [
"Apache-2.0"
] | null | null | null | plot_micrometals_pv_official.py | dword1511/powdercore-q | ddf24c50e8178033a30cfbbf94642a5199764da6 | [
"Apache-2.0"
] | null | null | null | plot_micrometals_pv_official.py | dword1511/powdercore-q | ddf24c50e8178033a30cfbbf94642a5199764da6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from pv_plotter import PvPlotter
import micrometals
if __name__ == '__main__':
plotter = PvPlotter()
f = {'MHz': [10, 5, 2, 1], 'kHz': [500, 200, 100, 50, 10, 1]}
colors = ['#a50021', '#cc0000', '#ff5050', '#ff9999', '#3366ff', '#0000cc', '#00cc66', '#006400', '#ff3399', '... | 41.380952 | 124 | 0.688608 | 627 | 4,345 | 4.527911 | 0.148325 | 0.087355 | 0.143008 | 0.167665 | 0.84255 | 0.84255 | 0.84255 | 0.84255 | 0.84255 | 0.84255 | 0 | 0.043792 | 0.16962 | 4,345 | 104 | 125 | 41.778846 | 0.743071 | 0.022555 | 0 | 0.4 | 0 | 0 | 0.027091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 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 |
728c01bad19303a74b6fa600231b7732020fd3cd | 177 | py | Python | utils/__init__.py | fringebits/AdventOfCode-2021 | a54edb07a3585e30abf56efd57abe188861f1855 | [
"MIT"
] | 1 | 2015-12-10T19:36:37.000Z | 2015-12-10T19:36:37.000Z | utils/__init__.py | fringebits/AdventOfCode-2021 | a54edb07a3585e30abf56efd57abe188861f1855 | [
"MIT"
] | null | null | null | utils/__init__.py | fringebits/AdventOfCode-2021 | a54edb07a3585e30abf56efd57abe188861f1855 | [
"MIT"
] | null | null | null | from .helpers import bisect
from .helpers import xor
from .load import load_input
from .timer import timer
from .timer import Timer
from .vec2 import Vec2
from .vec3 import Vec3 | 25.285714 | 28 | 0.80791 | 29 | 177 | 4.896552 | 0.344828 | 0.15493 | 0.239437 | 0.28169 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.152542 | 177 | 7 | 29 | 25.285714 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
72eb046fdf5b853db1bc2a945c7321f7ad12a0b9 | 59,155 | py | Python | utils/learning_behaviour_utils.py | ColdFrenzy/Adaptive_Learning | 02cdd519a7e224fe5f2a49b0c21baa3dac5ce0e1 | [
"MIT"
] | null | null | null | utils/learning_behaviour_utils.py | ColdFrenzy/Adaptive_Learning | 02cdd519a7e224fe5f2a49b0c21baa3dac5ce0e1 | [
"MIT"
] | null | null | null | utils/learning_behaviour_utils.py | ColdFrenzy/Adaptive_Learning | 02cdd519a7e224fe5f2a49b0c21baa3dac5ce0e1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
import os
import random
import numpy as np
import logging
import math
from policies.minimax_policy import minimax
from policies.minimax_connect3 import minimax_connect3
sys.path.insert(1, os.path.abspath(os.pardir))
from config.custom_config import Config
from config.connect4_confi... | 42.928157 | 166 | 0.495275 | 5,974 | 59,155 | 4.623368 | 0.051724 | 0.027227 | 0.035301 | 0.034757 | 0.899819 | 0.885409 | 0.882259 | 0.873968 | 0.864518 | 0.863613 | 0 | 0.020516 | 0.426524 | 59,155 | 1,378 | 167 | 42.928157 | 0.793656 | 0.070543 | 0 | 0.860968 | 0 | 0 | 0.038302 | 0.00044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013388 | false | 0 | 0.014418 | 0 | 0.045314 | 0.032956 | 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 |
be59a7815cdbbe5547e7f870f234461a7ff66030 | 2,534 | py | Python | jaseci_core/jaseci/actions/standard/request.py | codedbychavez/jaseci | 50393201d9e4590099a4865f95451897cb00f134 | [
"MIT"
] | null | null | null | jaseci_core/jaseci/actions/standard/request.py | codedbychavez/jaseci | 50393201d9e4590099a4865f95451897cb00f134 | [
"MIT"
] | null | null | null | jaseci_core/jaseci/actions/standard/request.py | codedbychavez/jaseci | 50393201d9e4590099a4865f95451897cb00f134 | [
"MIT"
] | null | null | null | """Built in actions for Jaseci"""
import requests
from jaseci.actions.live_actions import jaseci_action
@jaseci_action()
def get(url: str, data: dict, header: dict):
"""
Issue request
Param 1 - url
Param 2 - data
Param 3 - header
Return - response object
"""
res = requests.get(url, js... | 21.474576 | 58 | 0.59708 | 321 | 2,534 | 4.65109 | 0.127726 | 0.080375 | 0.112525 | 0.056263 | 0.898192 | 0.898192 | 0.898192 | 0.898192 | 0.898192 | 0.898192 | 0 | 0.00982 | 0.276638 | 2,534 | 117 | 59 | 21.65812 | 0.804692 | 0.214286 | 0 | 0.75 | 0 | 0 | 0.09005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.035714 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
be6b0c34a40956e84ba6ab474ccc037dc5acfc41 | 489 | py | Python | graphics 1_turtle.py | Suman196/Turtle-1 | ef4fd1f98c3a3402909fa4c68d4fb21fc21ff30a | [
"MIT"
] | null | null | null | graphics 1_turtle.py | Suman196/Turtle-1 | ef4fd1f98c3a3402909fa4c68d4fb21fc21ff30a | [
"MIT"
] | null | null | null | graphics 1_turtle.py | Suman196/Turtle-1 | ef4fd1f98c3a3402909fa4c68d4fb21fc21ff30a | [
"MIT"
] | null | null | null | import turtle
my_turtle = turtle.Turtle()
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.left(90)
my_turtle.forward(100)
my_turtle.backward(100)
my_turtle.right(180)
my_turtle.right(45)
my_turtle.forward(50)
my_turtle.right(45)
my_turtle.forward(100)... | 21.26087 | 27 | 0.811861 | 90 | 489 | 4.166667 | 0.144444 | 0.469333 | 0.4 | 0.336 | 0.829333 | 0.829333 | 0.824 | 0.602667 | 0.602667 | 0.602667 | 0 | 0.114224 | 0.051125 | 489 | 23 | 28 | 21.26087 | 0.693966 | 0 | 0 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
be7014e5fe081ff15a42629ae30c876c60f6b3fe | 15,418 | py | Python | sdk/python/pulumi_alicloud/directmail/mail_address.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/directmail/mail_address.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/directmail/mail_address.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.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... | 40.680739 | 183 | 0.638929 | 1,799 | 15,418 | 5.292385 | 0.108949 | 0.071631 | 0.088226 | 0.078563 | 0.822183 | 0.797185 | 0.775864 | 0.740258 | 0.734902 | 0.71232 | 0 | 0.005177 | 0.260799 | 15,418 | 378 | 184 | 40.78836 | 0.830218 | 0.371838 | 0 | 0.630208 | 1 | 0 | 0.090377 | 0.004938 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0.125 | 0.026042 | 0 | 0.276042 | 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 |
be95e8415cbcf5e535eb450da1c0b73734e38b6d | 80 | py | Python | DMRevenge/COMPONENT/__init__.py | u18-yuiha/DigestMaker | 1a7478a81d9024ae22f647bc82adca780e885a26 | [
"MIT",
"Unlicense"
] | null | null | null | DMRevenge/COMPONENT/__init__.py | u18-yuiha/DigestMaker | 1a7478a81d9024ae22f647bc82adca780e885a26 | [
"MIT",
"Unlicense"
] | null | null | null | DMRevenge/COMPONENT/__init__.py | u18-yuiha/DigestMaker | 1a7478a81d9024ae22f647bc82adca780e885a26 | [
"MIT",
"Unlicense"
] | null | null | null | from tkinter import *
from tkinter import messagebox
#import BasicErrorComponent | 26.666667 | 30 | 0.8625 | 9 | 80 | 7.666667 | 0.555556 | 0.318841 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 3 | 31 | 26.666667 | 0.971831 | 0.325 | 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 |
beb197627874a5ffd86d853bb73e94b271c6d154 | 4,691 | py | Python | test_movie_analysis.py | peyton-rh/project | 2e1cbb133f551ef06a46d83848ee45bc7e40b2fd | [
"MIT"
] | null | null | null | test_movie_analysis.py | peyton-rh/project | 2e1cbb133f551ef06a46d83848ee45bc7e40b2fd | [
"MIT"
] | 2 | 2021-09-08T01:18:53.000Z | 2022-01-13T01:40:56.000Z | test_movie_analysis.py | peyton-rh/project | 2e1cbb133f551ef06a46d83848ee45bc7e40b2fd | [
"MIT"
] | 1 | 2019-09-30T13:21:41.000Z | 2019-09-30T13:21:41.000Z | from analyze_movie import movie_analysis
import pytest
class TestMovieAnalysis:
def test_sql_actor_heading(self):
expected_heading = 'actor_1_name'
actual_heading = movie_analysis.analyze_profitability("sqlite:///movies.db",
'movie',
... | 49.904255 | 100 | 0.452356 | 380 | 4,691 | 5.297368 | 0.165789 | 0.083458 | 0.089419 | 0.147541 | 0.839046 | 0.839046 | 0.839046 | 0.832588 | 0.828614 | 0.828614 | 0 | 0.049347 | 0.477297 | 4,691 | 93 | 101 | 50.44086 | 0.771615 | 0 | 0 | 0.768293 | 0 | 0 | 0.070134 | 0.006608 | 0 | 0 | 0 | 0 | 0.146341 | 1 | 0.109756 | false | 0 | 0.02439 | 0 | 0.146341 | 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 |
fea79ae4a40b117779eb70b3e839c7ede6d79b1b | 187 | py | Python | scrapy/gd/runner.py | xkdcc/robots | 6c86bd56630fcfa003bc535b515a8a5e447d9274 | [
"MIT"
] | null | null | null | scrapy/gd/runner.py | xkdcc/robots | 6c86bd56630fcfa003bc535b515a8a5e447d9274 | [
"MIT"
] | null | null | null | scrapy/gd/runner.py | xkdcc/robots | 6c86bd56630fcfa003bc535b515a8a5e447d9274 | [
"MIT"
] | 1 | 2021-01-28T16:51:52.000Z | 2021-01-28T16:51:52.000Z | # -*- coding: utf-8 -*-
from scrapy import cmdline
# cmdline.execute("scrapy runspider gd/spiders/spider_gd.py".split())
cmdline.execute("scrapy runspider gd/spiders/safari.py".split())
| 31.166667 | 69 | 0.737968 | 26 | 187 | 5.269231 | 0.576923 | 0.20438 | 0.291971 | 0.423358 | 0.554745 | 0.554745 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.090909 | 187 | 5 | 70 | 37.4 | 0.8 | 0.475936 | 0 | 0 | 0 | 0 | 0.389474 | 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 |
feacb480f072ddea612c4a6de9d331b78a832b7c | 246 | py | Python | source/__init__.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | 28 | 2021-01-27T00:41:40.000Z | 2022-02-14T10:11:51.000Z | source/__init__.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | null | null | null | source/__init__.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | 6 | 2021-02-03T01:42:08.000Z | 2021-12-03T17:47:19.000Z | from .gaussian import Gaussian
from .source import Source
from .discreteLogistic import DiscreteLogistic, MixtureDiscreteLogistic
from .hierarchyPrior import HierarchyPrior, ParameterizedHierarchyPrior, PassiveHierarchyPrior, SimpleHierarchyPrior | 61.5 | 116 | 0.890244 | 20 | 246 | 10.95 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077236 | 246 | 4 | 116 | 61.5 | 0.964758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
228e9a933d0cda0ee8f3e0cbb78a97ad0c3e4c6a | 375 | py | Python | rangeset/__init__.py | wenbobuaa/pykit | 43e38fe40297a1e7a9329bcf3db3554c7ca48ead | [
"MIT"
] | 13 | 2016-12-16T09:23:09.000Z | 2018-03-10T08:04:00.000Z | rangeset/__init__.py | wenbobuaa/pykit | 43e38fe40297a1e7a9329bcf3db3554c7ca48ead | [
"MIT"
] | 74 | 2017-03-23T11:36:22.000Z | 2018-04-02T06:19:09.000Z | rangeset/__init__.py | drmingdrmer/pykit | e25a71146e81aaf79625cf8d4f4c439ccd515b82 | [
"MIT"
] | 5 | 2016-12-27T07:30:47.000Z | 2018-03-10T07:06:21.000Z | from .rangeset import (
IntIncRange,
IntIncRangeSet,
Range,
RangeDict,
RangeSet,
ValueRange,
substract_range,
intersect,
substract,
union,
)
__all__ = [
"IntIncRange",
"IntIncRangeSet",
"Range",
"RangeDict",
"RangeSet",
"ValueRange",
"substract_ran... | 12.5 | 23 | 0.573333 | 26 | 375 | 8.038462 | 0.461538 | 0.239234 | 0.287081 | 0.373206 | 0.899522 | 0.899522 | 0.899522 | 0.899522 | 0.899522 | 0.899522 | 0 | 0 | 0.304 | 375 | 29 | 24 | 12.931034 | 0.800766 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
22daf5611f99cde53f41826e5d312b39a61f6f28 | 30,818 | py | Python | plugins/modules/oci_loadbalancer_listener.py | sagar2938/oci-ansible-collection | 5b8ce583a0d5d0aabf14494d61aea4649e18d1e6 | [
"Apache-2.0"
] | null | null | null | plugins/modules/oci_loadbalancer_listener.py | sagar2938/oci-ansible-collection | 5b8ce583a0d5d0aabf14494d61aea4649e18d1e6 | [
"Apache-2.0"
] | null | null | null | plugins/modules/oci_loadbalancer_listener.py | sagar2938/oci-ansible-collection | 5b8ce583a0d5d0aabf14494d61aea4649e18d1e6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# Copyright (c) 2020, 2021 Oracle and/or its affiliates.
# This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Apache License v2.0
# See LICENSE.TXT for d... | 45.860119 | 154 | 0.590564 | 3,232 | 30,818 | 5.473082 | 0.122834 | 0.022387 | 0.020182 | 0.024931 | 0.841992 | 0.814518 | 0.766409 | 0.731472 | 0.698287 | 0.680875 | 0 | 0.009828 | 0.342949 | 30,818 | 671 | 155 | 45.928465 | 0.863746 | 0.013953 | 0 | 0.717286 | 0 | 0.050081 | 0.808731 | 0.099388 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016155 | false | 0.008078 | 0.012924 | 0.008078 | 0.050081 | 0.001616 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a3adc8aef5ddcc4f82d6dc688a380de5c6b6373e | 163 | py | Python | system/config.py | sfsm565826960/Novel2Love | ce7e8d12fedc48573f4b783cc261160b907a2c62 | [
"MIT"
] | 4 | 2019-02-17T22:01:12.000Z | 2021-01-13T06:59:41.000Z | system/config.py | sfsm565826960/Novel2Love | ce7e8d12fedc48573f4b783cc261160b907a2c62 | [
"MIT"
] | null | null | null | system/config.py | sfsm565826960/Novel2Love | ce7e8d12fedc48573f4b783cc261160b907a2c62 | [
"MIT"
] | null | null | null | #coding=utf-8
def connect_db():
import mysql.connector
return mysql.connector.connect(user='root', password='', database='novel2love', use_unicode=True)
| 23.285714 | 101 | 0.730061 | 21 | 163 | 5.571429 | 0.857143 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013986 | 0.122699 | 163 | 6 | 102 | 27.166667 | 0.804196 | 0.07362 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
a3b5a22a805753d42e97f8f1e4e3dab7d3c9c507 | 55,338 | py | Python | src/test/python/apache/aurora/executor/common/test_health_checker.py | ajain13/aurora | 40d91feb71b85c1ad31233a45b6d70603de224fc | [
"Apache-2.0"
] | null | null | null | src/test/python/apache/aurora/executor/common/test_health_checker.py | ajain13/aurora | 40d91feb71b85c1ad31233a45b6d70603de224fc | [
"Apache-2.0"
] | null | null | null | src/test/python/apache/aurora/executor/common/test_health_checker.py | ajain13/aurora | 40d91feb71b85c1ad31233a45b6d70603de224fc | [
"Apache-2.0"
] | 1 | 2022-02-27T10:41:45.000Z | 2022-02-27T10:41:45.000Z | #
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under ... | 44.735651 | 100 | 0.740377 | 7,066 | 55,338 | 5.469714 | 0.048118 | 0.114699 | 0.105954 | 0.071257 | 0.896427 | 0.885637 | 0.872442 | 0.866517 | 0.856892 | 0.850294 | 0 | 0.009657 | 0.17104 | 55,338 | 1,236 | 101 | 44.771845 | 0.832865 | 0.035961 | 0 | 0.813931 | 0 | 0 | 0.052975 | 0.011463 | 0 | 0 | 0 | 0 | 0.354962 | 1 | 0.054389 | false | 0 | 0.016221 | 0.001908 | 0.078244 | 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 |
a3b91ae918fb0454637e17919bfa1a1817eb078b | 197 | py | Python | backend/core/views/__init__.py | linea-it/pz-server | 20b75baae8afd2d3e5ede6fbcd71ebe54918a7cd | [
"MIT"
] | 3 | 2021-09-21T21:00:51.000Z | 2022-03-24T19:36:39.000Z | backend/core/views/__init__.py | linea-it/pz-server | 20b75baae8afd2d3e5ede6fbcd71ebe54918a7cd | [
"MIT"
] | null | null | null | backend/core/views/__init__.py | linea-it/pz-server | 20b75baae8afd2d3e5ede6fbcd71ebe54918a7cd | [
"MIT"
] | null | null | null | from core.views.release import ReleaseViewSet
from core.views.product_type import ProductTypeViewSet
from core.views.product import ProductViewSet
from core.views.github_auth import TestGithubAuth
| 39.4 | 54 | 0.878173 | 26 | 197 | 6.576923 | 0.5 | 0.187135 | 0.304094 | 0.233918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081218 | 197 | 4 | 55 | 49.25 | 0.944751 | 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 |
43019fa53da9679d3c3989c61f8a90ca850bf8f8 | 68,676 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_mylocality/cmp_GemsFDTD/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_mylocality/cmp_GemsFDTD/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_mylocality/cmp_GemsFDTD/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.137856 | 124 | 0.682203 | 8,095 | 68,676 | 5.781717 | 0.067449 | 0.123411 | 0.112813 | 0.093327 | 0.938337 | 0.930432 | 0.918061 | 0.886546 | 0.862338 | 0.842745 | 0 | 0.132551 | 0.22411 | 68,676 | 914 | 125 | 75.137856 | 0.745801 | 0 | 0 | 0.642232 | 0 | 0 | 0.65677 | 0.048051 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4334d1e159afdbc3a801eb83f5e94613b461ca09 | 197,972 | py | Python | python-shell/src/test/test_gaffer_operations.py | sw96411/gaffer-tools | 2dd4ff64cf6afa1dd3f9529977d7170370b11f58 | [
"Apache-2.0"
] | null | null | null | python-shell/src/test/test_gaffer_operations.py | sw96411/gaffer-tools | 2dd4ff64cf6afa1dd3f9529977d7170370b11f58 | [
"Apache-2.0"
] | null | null | null | python-shell/src/test/test_gaffer_operations.py | sw96411/gaffer-tools | 2dd4ff64cf6afa1dd3f9529977d7170370b11f58 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2016-2019 Crown Copyright
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 36.948862 | 124 | 0.299456 | 9,675 | 197,972 | 6.088165 | 0.056744 | 0.043716 | 0.078689 | 0.118364 | 0.89133 | 0.874743 | 0.85943 | 0.828634 | 0.787889 | 0.764307 | 0 | 0.009994 | 0.602227 | 197,972 | 5,357 | 125 | 36.955759 | 0.738 | 0.002814 | 0 | 0.623794 | 0 | 0 | 0.066957 | 0.027585 | 0 | 0 | 0 | 0 | 0.000715 | 1 | 0.000715 | false | 0.000357 | 0.001072 | 0 | 0.002501 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4335222efb0465d4791d48da750c3cc90a7d3d3d | 190 | py | Python | snuggle/data/models/mongo/util.py | halfak/snuggle | 384818aaf8a783013b076ada3c74226f10e5dc18 | [
"MIT"
] | 2 | 2021-04-26T20:34:25.000Z | 2021-11-12T11:26:57.000Z | snuggle/data/models/mongo/util.py | halfak/snuggle | 384818aaf8a783013b076ada3c74226f10e5dc18 | [
"MIT"
] | null | null | null | snuggle/data/models/mongo/util.py | halfak/snuggle | 384818aaf8a783013b076ada3c74226f10e5dc18 | [
"MIT"
] | null | null | null |
def mongoify(doc):
if 'id' in doc:
doc['_id'] = doc['id']
del doc['id']
return doc
def demongoify(doc):
if "_id" in doc:
doc['id'] = doc['_id']
del doc['_id']
return doc
| 11.875 | 24 | 0.557895 | 32 | 190 | 3.1875 | 0.28125 | 0.294118 | 0.137255 | 0.176471 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0 | 0 | 0.242105 | 190 | 15 | 25 | 12.666667 | 0.708333 | 0 | 0 | 0.2 | 0 | 0 | 0.10582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
433ca49fbb8adbfb98950177982e2a2a5ef07eec | 4,551 | py | Python | admin/modelos/formularios_db.py | CIDGUN/unexpo | cc1220f641087e65b4678d17c45426794c1615ea | [
"Apache-2.0"
] | null | null | null | admin/modelos/formularios_db.py | CIDGUN/unexpo | cc1220f641087e65b4678d17c45426794c1615ea | [
"Apache-2.0"
] | null | null | null | admin/modelos/formularios_db.py | CIDGUN/unexpo | cc1220f641087e65b4678d17c45426794c1615ea | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
try:
from ztec.zdb import DB
except:
from zdb import DB
db=DB()
db.load=True
db('Formularios').campo('Nombre',db.str,False,True,False,False,0,-1,None,None)
db('Formularios').campo('Contenido',db.list,False,True,False,False,0,-1,None,None)
db('Formularios').campo('args',db.dict,False,True,False... | 175.038462 | 1,613 | 0.633267 | 680 | 4,551 | 4.205882 | 0.192647 | 0.033566 | 0.058741 | 0.07972 | 0.846504 | 0.840909 | 0.840909 | 0.840909 | 0.840909 | 0.840909 | 0 | 0.030532 | 0.100417 | 4,551 | 25 | 1,614 | 182.04 | 0.668051 | 0.004614 | 0 | 0.083333 | 0 | 0 | 0.55742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4a2c4409de8c324e16075fba002fbc4c6742acfc | 131 | py | Python | data_preprocessing/__init__.py | KylinLiu-633/GS-GLSTM-master | 585eb099bb49a5f737b001db9a5031dc1a409fd8 | [
"MIT"
] | null | null | null | data_preprocessing/__init__.py | KylinLiu-633/GS-GLSTM-master | 585eb099bb49a5f737b001db9a5031dc1a409fd8 | [
"MIT"
] | 1 | 2021-08-31T09:20:10.000Z | 2021-09-08T04:37:17.000Z | data_preprocessing/__init__.py | KylinLiu-633/GS-GLSTM-master | 585eb099bb49a5f737b001db9a5031dc1a409fd8 | [
"MIT"
] | null | null | null | from .get_dataset import word_mapping, edge_mapping, char_mapping
from .get_dataset import get_dataset_from_instances, collect_data | 65.5 | 65 | 0.885496 | 20 | 131 | 5.35 | 0.55 | 0.280374 | 0.261682 | 0.373832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 131 | 2 | 66 | 65.5 | 0.884298 | 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 |
4a958671aa088352e289ec4b83ba7245eca8388c | 6,125 | py | Python | mesh2tex/texnet/models/decoder.py | nihalsid/texture_fields | dcd091a5f40fe433dbc47f2055d1cd2d3d2a1b87 | [
"MIT"
] | 78 | 2019-10-30T13:05:16.000Z | 2022-03-02T06:15:20.000Z | mesh2tex/texnet/models/decoder.py | nihalsid/texture_fields | dcd091a5f40fe433dbc47f2055d1cd2d3d2a1b87 | [
"MIT"
] | 6 | 2020-06-21T08:39:02.000Z | 2021-11-28T14:47:12.000Z | mesh2tex/texnet/models/decoder.py | nihalsid/texture_fields | dcd091a5f40fe433dbc47f2055d1cd2d3d2a1b87 | [
"MIT"
] | 12 | 2020-04-02T21:08:15.000Z | 2021-12-12T14:23:38.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from mesh2tex import common
from mesh2tex.layers import (
ResnetBlockPointwise,
EqualizedLR
)
class DecoderEachLayerC(nn.Module):
def __init__(self, c_dim=128, z_dim=128, dim=3,
hidden_size=128, leaky=True,
... | 35.818713 | 62 | 0.603592 | 917 | 6,125 | 3.752454 | 0.083969 | 0.083697 | 0.111595 | 0.032549 | 0.916013 | 0.904969 | 0.89596 | 0.89596 | 0.89596 | 0.89596 | 0 | 0.028846 | 0.286857 | 6,125 | 170 | 63 | 36.029412 | 0.758929 | 0.008327 | 0 | 0.855072 | 0 | 0 | 0.001977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0 | 0.036232 | 0 | 0.094203 | 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 |
435ba19e0432ffe8dd85a3cc0e614d50fb921a7c | 28,801 | py | Python | controller.py | Jazpy/MYP-P2 | 86f38b52a6e3616cb8d9d81d97441dc1a6264f8c | [
"MIT"
] | null | null | null | controller.py | Jazpy/MYP-P2 | 86f38b52a6e3616cb8d9d81d97441dc1a6264f8c | [
"MIT"
] | null | null | null | controller.py | Jazpy/MYP-P2 | 86f38b52a6e3616cb8d9d81d97441dc1a6264f8c | [
"MIT"
] | null | null | null | import Tkinter as tk
import ttk
import textwrap
import db_func
import table_objects
"""
This module manages the connection between database and GUI,
it is the controller of the MVC programming pattern
"""
class controller(tk.Frame):
def __init__(self, parent, db):
"""
Construct new 'controller' object
:par... | 28.291749 | 82 | 0.620187 | 4,208 | 28,801 | 4.195105 | 0.052519 | 0.026908 | 0.053249 | 0.046111 | 0.836685 | 0.793973 | 0.776299 | 0.749901 | 0.735003 | 0.724183 | 0 | 0.034008 | 0.208743 | 28,801 | 1,017 | 83 | 28.319567 | 0.74062 | 0.023923 | 0 | 0.713004 | 0 | 0 | 0.10269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010463 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
43963e954da0ba78130c8b33fa13b0a2ac4f6676 | 1,022 | py | Python | eduu/utils/__init__.py | Keys-007/EduuRobot | 13d75fee3b3c08cd6f1f0c6dcec5df0f542ba851 | [
"MIT"
] | 1 | 2022-01-01T07:19:42.000Z | 2022-01-01T07:19:42.000Z | eduu/utils/__init__.py | Keys-007/EduuRobot | 13d75fee3b3c08cd6f1f0c6dcec5df0f542ba851 | [
"MIT"
] | null | null | null | eduu/utils/__init__.py | Keys-007/EduuRobot | 13d75fee3b3c08cd6f1f0c6dcec5df0f542ba851 | [
"MIT"
] | null | null | null | """EduuRobot utilities."""
# SPDX-License-Identifier: MIT
# Copyright (c) 2018-2022 Amano Team
from typing import List
from .utils import (
EMOJI_PATTERN,
add_chat,
aiowrap,
button_parser,
chat_exists,
check_perms,
commands,
del_restarted,
get_emoji_regex,
get_format_keys,
... | 17.62069 | 36 | 0.634051 | 114 | 1,022 | 5.245614 | 0.5 | 0.080268 | 0.050167 | 0.063545 | 0.809365 | 0.809365 | 0.809365 | 0.809365 | 0.809365 | 0.809365 | 0 | 0.010471 | 0.252446 | 1,022 | 57 | 37 | 17.929825 | 0.772251 | 0.08317 | 0 | 0 | 0 | 0 | 0.284946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.039216 | 0 | 0.039216 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
43accad8e739fda15cb274b7494c679d52d86153 | 266 | py | Python | encrypted_dns/upstream/__init__.py | fakegit/Encrypted-DNS | bc1f18006b302bb2d9849c214e09ba0bc948738c | [
"Apache-2.0"
] | null | null | null | encrypted_dns/upstream/__init__.py | fakegit/Encrypted-DNS | bc1f18006b302bb2d9849c214e09ba0bc948738c | [
"Apache-2.0"
] | null | null | null | encrypted_dns/upstream/__init__.py | fakegit/Encrypted-DNS | bc1f18006b302bb2d9849c214e09ba0bc948738c | [
"Apache-2.0"
] | null | null | null | from encrypted_dns.upstream.base_upstream import Upstream
from encrypted_dns.upstream.tls import TLSUpstream
from encrypted_dns.upstream.https import HTTPSUpstream
from encrypted_dns.upstream.udp import UDPUpstream
from encrypted_dns.upstream.tcp import TCPUpstream
| 44.333333 | 57 | 0.887218 | 36 | 266 | 6.388889 | 0.388889 | 0.282609 | 0.347826 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075188 | 266 | 5 | 58 | 53.2 | 0.934959 | 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 |
43c4d763334df4f6123eeae0bed61b543872388a | 192 | py | Python | mcunet/utils/__init__.py | 1999michael/tinyml | e8a5c9baef3d8a4890bb7ddbed4f5655cb4fa535 | [
"MIT"
] | 306 | 2021-01-15T07:49:40.000Z | 2022-03-31T03:13:20.000Z | utils/__init__.py | liuyy3364/mcunet | f53f9e20e8e912bdb111b4c32da75e71e9a59597 | [
"Apache-2.0"
] | 9 | 2021-02-04T00:58:33.000Z | 2022-03-29T06:19:55.000Z | utils/__init__.py | liuyy3364/mcunet | f53f9e20e8e912bdb111b4c32da75e71e9a59597 | [
"Apache-2.0"
] | 65 | 2021-01-18T06:06:09.000Z | 2022-03-25T01:42:15.000Z | from .flops_counter import *
from .pytorch_utils import *
from .my_modules import *
from .common_tools import *
from .pytorch_modules import *
from .bn_utils import *
from .net_config import * | 27.428571 | 30 | 0.786458 | 28 | 192 | 5.142857 | 0.464286 | 0.416667 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 192 | 7 | 31 | 27.428571 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
78ddd085041dc1388a3659c68f22ca143128a112 | 9,220 | py | Python | test.py | thiagofigcosta/stock-pred-v2 | a2905a2aaf87f083772c9c416aa755f7cf604319 | [
"MIT"
] | null | null | null | test.py | thiagofigcosta/stock-pred-v2 | a2905a2aaf87f083772c9c416aa755f7cf604319 | [
"MIT"
] | null | null | null | test.py | thiagofigcosta/stock-pred-v2 | a2905a2aaf87f083772c9c416aa755f7cf604319 | [
"MIT"
] | null | null | null | #!/bin/python3
# -*- coding: utf-8 -*-
import os
import sys
import time
import numpy as np
from Utils import Utils
from Dataset import Dataset
def dataset_test():
stock_value=[1,2,3,4,5,6,7,8,9,10]
features_values=[[10],[20],[30],[40],[50],[60],[70],[80],[90],100]
dates=Utils.getStrNextNWorkDays('17/0... | 40.977778 | 134 | 0.675163 | 1,089 | 9,220 | 5.567493 | 0.111111 | 0.042883 | 0.065314 | 0.040079 | 0.83655 | 0.814448 | 0.788059 | 0.780142 | 0.780142 | 0.73495 | 0 | 0.02006 | 0.097072 | 9,220 | 224 | 135 | 41.160714 | 0.708228 | 0.045011 | 0 | 0.788945 | 0 | 0 | 0.218692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005025 | false | 0 | 0.030151 | 0 | 0.035176 | 0.668342 | 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 | 1 | 0 | 8 |
78e731df4869e70f8e9615578e4491150bf9e8c9 | 110 | py | Python | helpers/__init__.py | ichach-m-i-sc/docker-webexteams-bot-example | 781932646951164554ae39abb442e5f0acacb491 | [
"MIT"
] | 4 | 2019-01-26T20:53:44.000Z | 2020-01-20T19:43:37.000Z | helpers/__init__.py | ichach-m-i-sc/docker-webexteams-bot-example | 781932646951164554ae39abb442e5f0acacb491 | [
"MIT"
] | 6 | 2021-04-29T19:07:04.000Z | 2021-05-03T15:01:07.000Z | helpers/__init__.py | ichach-m-i-sc/docker-webexteams-bot-example | 781932646951164554ae39abb442e5f0acacb491 | [
"MIT"
] | 4 | 2018-11-10T20:35:11.000Z | 2021-04-29T19:03:00.000Z | from .yaml_helper import *
from .ngrok_helper import *
from .spark_helper import *
from .html_helper import *
| 22 | 27 | 0.781818 | 16 | 110 | 5.125 | 0.4375 | 0.585366 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 4 | 28 | 27.5 | 0.87234 | 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 |
601066abad8001fab3800918885a958b07b2ee49 | 58,930 | py | Python | tvdb_api/api/series_api.py | h3llrais3r/tvdbapi-v2-client | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | 2 | 2021-01-24T07:45:22.000Z | 2021-11-15T11:29:25.000Z | tvdb_api/api/series_api.py | h3llrais3r/tvdb_api_v2 | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | null | null | null | tvdb_api/api/series_api.py | h3llrais3r/tvdb_api_v2 | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | 1 | 2020-05-07T10:16:15.000Z | 2020-05-07T10:16:15.000Z | # coding: utf-8
"""
TheTVDB API v2
API v3 targets v2 functionality with a few minor additions. The API is accessible via https://api.thetvdb.com and provides the following REST endpoints in JSON format. How to use this API documentation ---------------- You may browse the API routes without authentication... | 45.087988 | 2,040 | 0.628508 | 7,310 | 58,930 | 4.844049 | 0.046238 | 0.048348 | 0.018978 | 0.0244 | 0.928325 | 0.922084 | 0.917848 | 0.913499 | 0.91076 | 0.908755 | 0 | 0.016257 | 0.283964 | 58,930 | 1,306 | 2,041 | 45.122511 | 0.822922 | 0.408502 | 0 | 0.797143 | 0 | 0 | 0.191432 | 0.049436 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.005714 | 0 | 0.094286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
609baf493b97a0be785c4717bc1e541aa3bf2b97 | 5,758 | py | Python | t2t_bert/distributed_single_sentence_classification/model_fn_interface.py | yyht/bert | 480c909e0835a455606e829310ff949c9dd23549 | [
"Apache-2.0"
] | 34 | 2018-12-19T01:00:57.000Z | 2021-03-26T09:36:37.000Z | t2t_bert/distributed_single_sentence_classification/model_fn_interface.py | yyht/bert | 480c909e0835a455606e829310ff949c9dd23549 | [
"Apache-2.0"
] | 11 | 2018-12-25T03:37:59.000Z | 2021-08-25T14:43:58.000Z | t2t_bert/distributed_single_sentence_classification/model_fn_interface.py | yyht/bert | 480c909e0835a455606e829310ff949c9dd23549 | [
"Apache-2.0"
] | 9 | 2018-12-27T08:00:44.000Z | 2020-06-08T03:05:14.000Z | try:
from .model_fn import model_fn_builder
from .model_distillation_fn import model_fn_builder as model_distillation_builder_fn
from distributed_pair_sentence_classification.bert_model_fn import model_fn_builder as bert_nli_builder_fn
from distributed_pair_sentence_classification.interaction_model_fn import model_... | 59.979167 | 143 | 0.869225 | 815 | 5,758 | 5.631902 | 0.068712 | 0.111329 | 0.164706 | 0.118519 | 0.875599 | 0.837255 | 0.747059 | 0.726144 | 0.686928 | 0.662745 | 0 | 0.00306 | 0.091872 | 5,758 | 95 | 144 | 60.610526 | 0.874737 | 0.038729 | 0 | 0.37931 | 0 | 0 | 0.100145 | 0.049892 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0 | 0.402299 | 0 | 0.643678 | 0.011494 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
716c8530c3806d943baad3a778449fc4d9f2e319 | 108 | py | Python | tbxforms/layout/base.py | jams2/tbxforms | d88aabb428a5e74d67fe877eb1e74bf9d9550c9f | [
"BSD-2-Clause"
] | 15 | 2020-04-07T10:27:33.000Z | 2022-03-07T13:25:40.000Z | tbxforms/layout/base.py | jams2/tbxforms | d88aabb428a5e74d67fe877eb1e74bf9d9550c9f | [
"BSD-2-Clause"
] | 13 | 2022-02-21T10:24:59.000Z | 2022-03-28T11:26:58.000Z | tbxforms/layout/base.py | jams2/tbxforms | d88aabb428a5e74d67fe877eb1e74bf9d9550c9f | [
"BSD-2-Clause"
] | 5 | 2021-02-24T13:57:17.000Z | 2021-09-27T10:11:58.000Z | from crispy_forms import layout as crispy_forms_layout
class Layout(crispy_forms_layout.Layout):
pass
| 18 | 54 | 0.824074 | 16 | 108 | 5.25 | 0.5 | 0.392857 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 55 | 21.6 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
7173fe05e1485e36396bb47b2c985b2980cffa5e | 4,295 | py | Python | auto_machine_learning/feature_engineering/anova.py | mihir2510/SuperML | e2c236a3a1e64c4bc480ba853e61b14349bd4b6f | [
"MIT"
] | 1 | 2021-06-12T15:17:34.000Z | 2021-06-12T15:17:34.000Z | auto_machine_learning/feature_engineering/anova.py | mihir2510/SuperML | e2c236a3a1e64c4bc480ba853e61b14349bd4b6f | [
"MIT"
] | 1 | 2022-02-20T06:45:12.000Z | 2022-02-20T06:45:12.000Z | auto_machine_learning/feature_engineering/anova.py | mihir2510/SuperML | e2c236a3a1e64c4bc480ba853e61b14349bd4b6f | [
"MIT"
] | 1 | 2021-05-31T15:44:25.000Z | 2021-05-31T15:44:25.000Z | from auto_machine_learning.utils import *
from sklearn.feature_selection import f_classif, SelectKBest
from sklearn.model_selection import train_test_split
from sklearn import metrics
from math import ceil, sqrt, log2
#----------------------------------------------------------------------------------------------------... | 36.398305 | 119 | 0.595576 | 491 | 4,295 | 5.032587 | 0.207739 | 0.089437 | 0.046135 | 0.019425 | 0.80089 | 0.80089 | 0.80089 | 0.80089 | 0.80089 | 0.80089 | 0 | 0.003375 | 0.241211 | 4,295 | 117 | 120 | 36.709402 | 0.754833 | 0.299418 | 0 | 0.811594 | 0 | 0 | 0.041781 | 0.014726 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0 | 0.246377 | 0 | 0.304348 | 0.014493 | 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 |
71c1dfa9068d28774bc922fc0a1c22c7b6df071e | 30,376 | py | Python | katie/SVD_Code_NEW/Watermarking_New/watermark_experiments.py | S-I-SVD/Randomized-SVD | 82108238a53c70938af87417f98aadc7f74b2a87 | [
"MIT"
] | 1 | 2021-12-09T13:34:44.000Z | 2021-12-09T13:34:44.000Z | katie/SVD_Code_NEW/Watermarking_New/watermark_experiments.py | S-I-SVD/Randomized-SVD | 82108238a53c70938af87417f98aadc7f74b2a87 | [
"MIT"
] | null | null | null | katie/SVD_Code_NEW/Watermarking_New/watermark_experiments.py | S-I-SVD/Randomized-SVD | 82108238a53c70938af87417f98aadc7f74b2a87 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import matplotlib
import numpy as np
import os
import imageio
from timeit import timeit
from mpl_toolkits import mplot3d
from PIL import Image
#import png
import svd_tools_copy as svdt
import image_tools_copy as it
#import ../../../david/watermark as watermarktools
#sunset = it.load_im... | 47.536776 | 174 | 0.739992 | 3,755 | 30,376 | 5.713715 | 0.050067 | 0.098532 | 0.095409 | 0.020135 | 0.928082 | 0.921417 | 0.911536 | 0.901095 | 0.896667 | 0.856351 | 0 | 0.013395 | 0.159468 | 30,376 | 638 | 175 | 47.611285 | 0.826923 | 0.102811 | 0 | 0.755889 | 0 | 0 | 0.089049 | 0.073668 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077088 | false | 0 | 0.021413 | 0 | 0.149893 | 0.03212 | 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 |
71cc963c376905849b4bed61c98ac2638f98c3c3 | 10,728 | py | Python | tests/test_observable/test_minby.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 4,342 | 2015-01-06T09:00:23.000Z | 2022-03-28T15:05:50.000Z | tests/test_observable/test_minby.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 613 | 2015-01-07T20:44:56.000Z | 2022-03-20T06:14:20.000Z | tests/test_observable/test_minby.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 420 | 2015-01-07T14:30:30.000Z | 2022-03-11T22:47:46.000Z | import unittest
from rx import operators as ops
from rx.testing import TestScheduler, ReactiveTest
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscribed = ReactiveTest.subscribed
disposed = ReactiveTest.disposed
created =... | 28.531915 | 78 | 0.478001 | 1,225 | 10,728 | 4.057143 | 0.073469 | 0.042254 | 0.043461 | 0.053521 | 0.878672 | 0.873642 | 0.863783 | 0.863783 | 0.852515 | 0.852515 | 0 | 0.043224 | 0.378915 | 10,728 | 375 | 79 | 28.608 | 0.702686 | 0.00494 | 0 | 0.800654 | 0 | 0 | 0.038134 | 0 | 0 | 0 | 0 | 0 | 0.143791 | 1 | 0.111111 | false | 0.003268 | 0.009804 | 0.042484 | 0.228758 | 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 |
71e146003a2943e78db3d29b24ca3cfddc536f53 | 173 | py | Python | pysit/optimization/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 64 | 2015-09-08T06:23:27.000Z | 2022-03-09T23:35:24.000Z | pysit/optimization/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 23 | 2015-10-08T01:14:24.000Z | 2021-07-15T11:37:05.000Z | pysit/optimization/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 48 | 2015-06-25T14:48:22.000Z | 2021-12-06T19:50:25.000Z |
from pysit.optimization.gradient_descent import *
from pysit.optimization.lbfgs import *
from pysit.optimization.cg import *
from pysit.optimization.gauss_newton import *
| 24.714286 | 49 | 0.82659 | 22 | 173 | 6.409091 | 0.454545 | 0.255319 | 0.595745 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104046 | 173 | 6 | 50 | 28.833333 | 0.909677 | 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 |
71e16d0133673cf14f2748901dab066e8ac6ae2e | 167 | py | Python | settings/channel_archiver/NIH.XRAY_SCOPE_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | settings/channel_archiver/NIH.XRAY_SCOPE_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | settings/channel_archiver/NIH.XRAY_SCOPE_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | P3.filename = '//mx340hs/data/anfinrud_1906/Archive/NIH.XRAY_SCOPE.P3.txt'
TRACE_COUNT.filename = '//mx340hs/data/anfinrud_1906/Archive/NIH.XRAY_SCOPE.TRACE_COUNT.txt' | 83.5 | 92 | 0.814371 | 26 | 167 | 5 | 0.5 | 0.230769 | 0.292308 | 0.415385 | 0.769231 | 0.769231 | 0.769231 | 0.769231 | 0.769231 | 0 | 0 | 0.098765 | 0.02994 | 167 | 2 | 92 | 83.5 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0.744048 | 0.744048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
e0b54317b7693ecfe98ed92da93541ca01d55722 | 52,657 | py | Python | test/integration/component/test_eip_elb.py | Codegass/cloudstack | 71056191f2bdad4be1a7eaf9bb73a7dcee3516f2 | [
"Apache-2.0"
] | 1,131 | 2015-01-08T18:59:06.000Z | 2022-03-29T11:31:10.000Z | test/integration/component/test_eip_elb.py | Codegass/cloudstack | 71056191f2bdad4be1a7eaf9bb73a7dcee3516f2 | [
"Apache-2.0"
] | 5,908 | 2015-01-13T15:28:37.000Z | 2022-03-31T20:31:07.000Z | test/integration/component/test_eip_elb.py | Codegass/cloudstack | 71056191f2bdad4be1a7eaf9bb73a7dcee3516f2 | [
"Apache-2.0"
] | 1,083 | 2015-01-05T01:16:52.000Z | 2022-03-31T12:14:10.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 33.99419 | 88 | 0.539074 | 5,599 | 52,657 | 4.956957 | 0.0818 | 0.032752 | 0.02342 | 0.019601 | 0.823017 | 0.802443 | 0.781473 | 0.765763 | 0.750847 | 0.7342 | 0 | 0.009142 | 0.370568 | 52,657 | 1,548 | 89 | 34.01615 | 0.828234 | 0.186205 | 0 | 0.756206 | 0 | 0 | 0.178686 | 0.008362 | 0 | 0 | 0 | 0.001938 | 0.06383 | 1 | 0.015957 | false | 0.010638 | 0.007979 | 0 | 0.041667 | 0.000887 | 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 |
1cefa8833fea565b264536529bf478b9d59d191b | 27,669 | py | Python | Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/controller/test_import_resources_controller.py | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/controller/test_import_resources_controller.py | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Gems/AWSCore/Code/Tools/ResourceMappingTool/tests/unit/controller/test_import_resources_controller.py | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | """
Copyright (c) Contributors to the Open 3D Engine Project.
For complete copyright and license terms please see the LICENSE at the root of this distribution.
SPDX-License-Identifier: Apache-2.0 OR MIT
"""
from typing import List
from unittest import TestCase
from unittest.mock import (call, MagicMock, patch)
from ... | 69 | 126 | 0.805306 | 3,359 | 27,669 | 6.023519 | 0.054778 | 0.09267 | 0.064795 | 0.082786 | 0.899521 | 0.878762 | 0.870657 | 0.851777 | 0.82573 | 0.811545 | 0 | 0.003012 | 0.136109 | 27,669 | 400 | 127 | 69.1725 | 0.843451 | 0.055007 | 0 | 0.741176 | 0 | 0 | 0.047099 | 0.042653 | 0 | 0 | 0 | 0.0025 | 0.276471 | 1 | 0.061765 | false | 0 | 0.491176 | 0 | 0.573529 | 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 | 1 | 0 | 0 | 0 | 0 | 8 |
1cf8de58674a7520d41acc340c2fad3206e72036 | 159 | py | Python | seismoTK/__init__.py | GilbertoAquino/seismoTK | 41cfef1a1c145613d6ce1539635391855338b97f | [
"MIT"
] | null | null | null | seismoTK/__init__.py | GilbertoAquino/seismoTK | 41cfef1a1c145613d6ce1539635391855338b97f | [
"MIT"
] | null | null | null | seismoTK/__init__.py | GilbertoAquino/seismoTK | 41cfef1a1c145613d6ce1539635391855338b97f | [
"MIT"
] | null | null | null | from seismoTK.RACM import RACM
from seismoTK.Polarization import Polarization
from seismoTK.Polarization import read_pol
from seismoTK.S_Filter import S_Filter | 39.75 | 46 | 0.880503 | 23 | 159 | 5.956522 | 0.391304 | 0.350365 | 0.350365 | 0.437956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 159 | 4 | 47 | 39.75 | 0.951389 | 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 |
e8066be15a41ac1c8ae9ffc6bd092451431c786e | 59,307 | py | Python | src/monosat/api/python/monosat/pbtheory.py | yasoob/monosat | 8a210240191e99807700188537f89177e150de4a | [
"MIT"
] | null | null | null | src/monosat/api/python/monosat/pbtheory.py | yasoob/monosat | 8a210240191e99807700188537f89177e150de4a | [
"MIT"
] | null | null | null | src/monosat/api/python/monosat/pbtheory.py | yasoob/monosat | 8a210240191e99807700188537f89177e150de4a | [
"MIT"
] | null | null | null | # The MIT License (MIT)
#
# Copyright (c) 2014, Sam Bayless
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
# associated documentation files (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify... | 36.586675 | 174 | 0.56592 | 6,149 | 59,307 | 5.428362 | 0.084404 | 0.058779 | 0.075257 | 0.037149 | 0.807963 | 0.796459 | 0.783157 | 0.777794 | 0.759579 | 0.742113 | 0 | 0.003848 | 0.32089 | 59,307 | 1,620 | 175 | 36.609259 | 0.824908 | 0.162207 | 0 | 0.733032 | 0 | 0.00181 | 0.031738 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 1 | 0.122172 | false | 0.006335 | 0.011765 | 0.039819 | 0.238914 | 0.004525 | 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 |
e810e506556a302cd54508a74967600b9d95880e | 419 | py | Python | datatrans/structured_data/__init__.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | 1 | 2020-10-24T04:07:42.000Z | 2020-10-24T04:07:42.000Z | datatrans/structured_data/__init__.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | null | null | null | datatrans/structured_data/__init__.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | null | null | null | from datatrans.structured_data.base import *
from datatrans.structured_data.carousel import ItemList, ItemListOrderType, ListItem
from datatrans.structured_data.lower import *
from datatrans.structured_data.person import Person
from datatrans.structured_data.recipe import NutritionInformation, Recipe
from datatrans.str... | 52.375 | 84 | 0.880668 | 50 | 419 | 7.24 | 0.36 | 0.251381 | 0.444751 | 0.522099 | 0.18232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073986 | 419 | 7 | 85 | 59.857143 | 0.93299 | 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 |
1c48dfb24d4b32da11dc3b82cac98790cf672df3 | 10,254 | py | Python | pyxform/tests_v1/test_randomize_itemsets.py | PMA-2020/pmaxform3 | 9d36f97f25cb09f0fb8aafb69370454731ecbbd5 | [
"BSD-2-Clause"
] | 1 | 2020-10-19T15:37:36.000Z | 2020-10-19T15:37:36.000Z | pyxform/tests_v1/test_randomize_itemsets.py | PMA-2020/pmaxform3 | 9d36f97f25cb09f0fb8aafb69370454731ecbbd5 | [
"BSD-2-Clause"
] | 1 | 2022-03-16T13:48:25.000Z | 2022-03-17T07:33:15.000Z | pyxform/tests_v1/test_randomize_itemsets.py | PMA-2020/pmaxform3 | 9d36f97f25cb09f0fb8aafb69370454731ecbbd5 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Test randomize itemsets.
"""
from pyxform.tests_v1.pyxform_test_case import PyxformTestCase
class RandomizeItemsetsTest(PyxformTestCase):
def test_randomized_select_one(self):
self.assertPyxformXform(
name="data",
md="""
| survey | ... | 50.019512 | 125 | 0.302906 | 573 | 10,254 | 5.212914 | 0.153578 | 0.063274 | 0.062605 | 0.110479 | 0.804151 | 0.787077 | 0.73619 | 0.73619 | 0.707734 | 0.691999 | 0 | 0.004465 | 0.606885 | 10,254 | 204 | 126 | 50.264706 | 0.736542 | 0.004584 | 0 | 0.740113 | 0 | 0.00565 | 0.734288 | 0.005589 | 0 | 0 | 0 | 0 | 0.062147 | 1 | 0.062147 | false | 0 | 0.00565 | 0 | 0.073446 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1c520abe54f5d75ef1ea1dbc65fc919bc36d827b | 21,193 | py | Python | spar_python/analytics/ta1/parse_client_harness_log_test.py | nathanawmk/SPARTA | 6eeb28b2dd147088b6e851876b36eeba3e700f16 | [
"BSD-2-Clause"
] | 37 | 2017-06-09T13:55:23.000Z | 2022-01-28T12:51:17.000Z | spar_python/analytics/ta1/parse_client_harness_log_test.py | nathanawmk/SPARTA | 6eeb28b2dd147088b6e851876b36eeba3e700f16 | [
"BSD-2-Clause"
] | null | null | null | spar_python/analytics/ta1/parse_client_harness_log_test.py | nathanawmk/SPARTA | 6eeb28b2dd147088b6e851876b36eeba3e700f16 | [
"BSD-2-Clause"
] | 5 | 2017-06-09T13:55:26.000Z | 2021-11-11T03:51:56.000Z | # *****************************************************************
# Copyright 2013 MIT Lincoln Laboratory
# Project: SPAR
# Authors: Tim Meunier
# Description: Unit tests for the perfomer queries log file
# parser
# *********************************************... | 46.887168 | 105 | 0.544755 | 1,958 | 21,193 | 5.678754 | 0.14811 | 0.089037 | 0.116557 | 0.012591 | 0.809425 | 0.791888 | 0.784963 | 0.751327 | 0.724795 | 0.710136 | 0 | 0.278065 | 0.36026 | 21,193 | 451 | 106 | 46.991131 | 0.542042 | 0.049026 | 0 | 0.701493 | 0 | 0.027363 | 0.289926 | 0.011354 | 0 | 0 | 0 | 0 | 0.042289 | 1 | 0.012438 | false | 0 | 0.017413 | 0 | 0.057214 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c864e7f6f31ad2a4384b0778ab51ac0cafa7e85 | 81,242 | py | Python | tests/test_choice_calcs.py | bouzaghrane/pylogit | f83b0fd6debaa7358d87c3828428f6d4ead71357 | [
"BSD-3-Clause"
] | 1 | 2020-06-01T07:47:12.000Z | 2020-06-01T07:47:12.000Z | tests/test_choice_calcs.py | pabloguarda/pylogit | f83b0fd6debaa7358d87c3828428f6d4ead71357 | [
"BSD-3-Clause"
] | null | null | null | tests/test_choice_calcs.py | pabloguarda/pylogit | f83b0fd6debaa7358d87c3828428f6d4ead71357 | [
"BSD-3-Clause"
] | 2 | 2021-07-18T02:59:54.000Z | 2022-03-14T20:32:41.000Z | """
Tests for the choice_calcs.py file.
"""
import unittest
import warnings
from collections import OrderedDict
import numpy as np
import numpy.testing as npt
import pandas as pd
from scipy.sparse import csr_matrix
from scipy.sparse import diags
from scipy.sparse import block_diag
import pylogit.asym_logit as asym
im... | 44.34607 | 79 | 0.602422 | 9,551 | 81,242 | 4.859282 | 0.048267 | 0.062054 | 0.027149 | 0.031674 | 0.836073 | 0.807072 | 0.791967 | 0.779427 | 0.76721 | 0.762298 | 0 | 0.010648 | 0.32722 | 81,242 | 1,831 | 80 | 44.370289 | 0.838468 | 0.23782 | 0 | 0.773169 | 0 | 0 | 0.01889 | 0 | 0 | 0 | 0 | 0 | 0.11827 | 1 | 0.055605 | false | 0 | 0.010591 | 0.033539 | 0.123566 | 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 |
98d3fbf1fd5c3c8b55d719cd5ca105b240724c1f | 5,274 | py | Python | atlas/foundations_core_rest_api_components/src/test/helpers/api_resource_mocks.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 296 | 2020-03-16T19:55:00.000Z | 2022-01-10T19:46:05.000Z | atlas/foundations_core_rest_api_components/src/test/helpers/api_resource_mocks.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 57 | 2020-03-17T11:15:57.000Z | 2021-07-10T14:42:27.000Z | atlas/foundations_core_rest_api_components/src/test/helpers/api_resource_mocks.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 38 | 2020-03-17T21:06:05.000Z | 2022-02-08T03:19:34.000Z | class APIResourceMocks(object):
def index(self):
from foundations_core_rest_api_components.lazy_result import LazyResult
from foundations_core_rest_api_components.response import Response
def _index():
return 'some data'
return Response('Mock', LazyResult(_index))
c... | 42.192 | 83 | 0.662495 | 543 | 5,274 | 6.127072 | 0.081031 | 0.135257 | 0.171326 | 0.207394 | 0.88428 | 0.872858 | 0.845807 | 0.798317 | 0.798317 | 0.798317 | 0 | 0.002632 | 0.279674 | 5,274 | 124 | 84 | 42.532258 | 0.873125 | 0 | 0 | 0.775701 | 0 | 0 | 0.031475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.280374 | false | 0.009346 | 0.280374 | 0.140187 | 0.981308 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
98df0032cc98e3a41835e2b4355b81f21cd5e78d | 2,647 | py | Python | tests/Unit/PointwiseFunctions/AnalyticData/GrMhd/MagneticRotor.py | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | tests/Unit/PointwiseFunctions/AnalyticData/GrMhd/MagneticRotor.py | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | tests/Unit/PointwiseFunctions/AnalyticData/GrMhd/MagneticRotor.py | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | # Distributed under the MIT License.
# See LICENSE.txt for details.
import numpy as np
def compute_piecewise(x, rotor_radius, inner_value, outer_value):
radius = np.sqrt(np.square(x[0]) + np.square(x[1]))
if (radius > rotor_radius):
return outer_value
else:
return inner_value
def rest_m... | 40.723077 | 79 | 0.687193 | 314 | 2,647 | 5.455414 | 0.165605 | 0.102744 | 0.105079 | 0.138938 | 0.799766 | 0.783421 | 0.754816 | 0.7338 | 0.7338 | 0.7338 | 0 | 0.008893 | 0.235361 | 2,647 | 64 | 80 | 41.359375 | 0.837451 | 0.023801 | 0 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209302 | false | 0 | 0.023256 | 0.139535 | 0.465116 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
98e40e76354a084762617cf9de1c0a8ba973f332 | 8,854 | py | Python | xlsxwriter/test/worksheet/test_write_sheet_protection.py | totdiao/XlsxWriter | 3d65858d8933bddb8262d500bcc2005f28fde645 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | xlsxwriter/test/worksheet/test_write_sheet_protection.py | totdiao/XlsxWriter | 3d65858d8933bddb8262d500bcc2005f28fde645 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | xlsxwriter/test/worksheet/test_write_sheet_protection.py | totdiao/XlsxWriter | 3d65858d8933bddb8262d500bcc2005f28fde645 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2016, John McNamara, jmcnamara@cpan.org
#
import unittest
from ...compatibility import StringIO
from ...worksheet import Worksheet
class TestWriteSheetProtection(unittest.TestCase):
"... | 30.426117 | 286 | 0.611136 | 933 | 8,854 | 5.570204 | 0.096463 | 0.10583 | 0.211661 | 0.107754 | 0.833173 | 0.820858 | 0.820858 | 0.820858 | 0.803541 | 0.736386 | 0 | 0.022321 | 0.241021 | 8,854 | 290 | 287 | 30.531034 | 0.751042 | 0.102665 | 0 | 0.535714 | 0 | 0.011905 | 0.238943 | 0.023082 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.113095 | false | 0.22619 | 0.017857 | 0 | 0.136905 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 8 |
98ed29a70654be02e27dd878a2444e94eab8af89 | 44 | py | Python | src/sage/crypto/__init__.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 5 | 2015-01-04T07:15:06.000Z | 2022-03-04T15:15:18.000Z | src/sage/crypto/__init__.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/crypto/__init__.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 10 | 2016-09-28T13:12:40.000Z | 2022-02-12T09:28:34.000Z | from lattice import gen_lattice
import all
| 11 | 31 | 0.840909 | 7 | 44 | 5.142857 | 0.714286 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 3 | 32 | 14.666667 | 0.972973 | 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 |
c70eb3191bf991f66333f7f071c60d73363ea369 | 4,782 | py | Python | knownly/billing/tests/__init__.py | dwightgunning/knownly | 55a3f82887dca1ff94723e3272ef79ed5f2d0eb2 | [
"MIT"
] | 2 | 2017-11-21T20:24:01.000Z | 2018-12-24T04:32:31.000Z | knownly/billing/tests/__init__.py | dwightgunning/knownly | 55a3f82887dca1ff94723e3272ef79ed5f2d0eb2 | [
"MIT"
] | 2 | 2020-06-05T18:05:19.000Z | 2021-06-10T20:04:02.000Z | knownly/billing/tests/__init__.py | dwightgunning/knownly | 55a3f82887dca1ff94723e3272ef79ed5f2d0eb2 | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.test import TestCase
from knownly.billing.forms import SubscriptionPlanForm
from knownly.billing.models import CustomerBillingDetails
from knownly import plans
class SubscriptionPlanFormTest(TestCase):
def test_basic_plan_fields_required(self):
... | 44.691589 | 96 | 0.595985 | 488 | 4,782 | 5.690574 | 0.14959 | 0.162045 | 0.252791 | 0.328412 | 0.770256 | 0.761973 | 0.733885 | 0.720922 | 0.720922 | 0.720922 | 0 | 0.003483 | 0.27959 | 4,782 | 106 | 97 | 45.113208 | 0.802612 | 0 | 0 | 0.556818 | 0 | 0 | 0.125471 | 0 | 0 | 0 | 0 | 0 | 0.568182 | 0 | null | null | 0 | 0.056818 | null | null | 0.011364 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c730433451854550af12eb17824a1a9c3e04ff6a | 1,952 | py | Python | netbox/extras/migrations/0054_standardize_models.py | orphanedgamboa/netbox | 5cdc38ec3adb5278480b267a6c8e674e9d3fca39 | [
"Apache-2.0"
] | 1 | 2022-02-18T03:00:08.000Z | 2022-02-18T03:00:08.000Z | netbox/extras/migrations/0054_standardize_models.py | emersonfelipesp/netbox | fecca5ad83fb6b48a2f15982dfd3242653f105f9 | [
"Apache-2.0"
] | 1 | 2021-08-23T15:38:47.000Z | 2021-08-23T15:40:10.000Z | netbox/extras/migrations/0054_standardize_models.py | emersonfelipesp/netbox | fecca5ad83fb6b48a2f15982dfd3242653f105f9 | [
"Apache-2.0"
] | 1 | 2018-12-05T12:03:21.000Z | 2018-12-05T12:03:21.000Z | from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('extras', '0053_rename_webhook_obj_type'),
]
operations = [
migrations.AlterField(
model_name='configcontext',
name='id',
field=models.BigAutoField(primar... | 31.483871 | 73 | 0.567111 | 168 | 1,952 | 6.446429 | 0.214286 | 0.184672 | 0.23084 | 0.267775 | 0.767313 | 0.767313 | 0.767313 | 0.767313 | 0.767313 | 0.767313 | 0 | 0.003014 | 0.320184 | 1,952 | 61 | 74 | 32 | 0.813112 | 0 | 0 | 0.701754 | 0 | 0 | 0.080943 | 0.014344 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c75e0341918bb67d29fcb0b3e9155fd61be81aca | 307 | py | Python | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/core/reshape/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 18 | 2018-02-23T11:28:54.000Z | 2021-09-23T08:19:54.000Z | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/core/reshape/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 2 | 2018-01-22T23:21:36.000Z | 2018-01-22T23:31:27.000Z | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/core/reshape/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 12 | 2017-05-23T06:01:12.000Z | 2021-08-16T05:09:46.000Z | # flake8: noqa
from pandas.core.reshape.concat import concat
from pandas.core.reshape.reshape import melt
from pandas.core.reshape.merge import (
merge, ordered_merge, merge_ordered, merge_asof)
from pandas.core.reshape.pivot import pivot_table, crosstab
from pandas.core.reshape.tile import cut, qcut
| 34.111111 | 59 | 0.811075 | 46 | 307 | 5.326087 | 0.391304 | 0.204082 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003663 | 0.110749 | 307 | 8 | 60 | 38.375 | 0.893773 | 0.039088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
c75f6f3282b689f54f4b41b511f4da94d9fb2c3b | 17,014 | py | Python | deeppavlov/core/layers/tf_attention_mechanisms.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 5,893 | 2018-02-01T18:13:20.000Z | 2022-03-31T19:22:21.000Z | deeppavlov/core/layers/tf_attention_mechanisms.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 749 | 2018-01-31T11:36:02.000Z | 2022-03-30T07:24:22.000Z | deeppavlov/core/layers/tf_attention_mechanisms.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 1,155 | 2018-02-01T10:52:15.000Z | 2022-03-29T02:12:15.000Z | # Copyright 2017 Neural Networks and Deep Learning lab, MIPT
#
# 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 applicab... | 50.337278 | 135 | 0.672623 | 2,245 | 17,014 | 4.872606 | 0.093987 | 0.063991 | 0.030716 | 0.031081 | 0.92833 | 0.921382 | 0.913063 | 0.911692 | 0.909681 | 0.909681 | 0 | 0.013804 | 0.237863 | 17,014 | 337 | 136 | 50.486647 | 0.829799 | 0.362525 | 0 | 0.895833 | 0 | 0 | 0.062798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.020833 | 0 | 0.083333 | 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 |
c762abd7912bc0d637a406357b7467d777accccb | 357,618 | py | Python | poc/CVE_2019_2729.py | rabbitmask/Weblogic- | 05cee3a69cf403e4db5f057c569a923c107cb97b | [
"MIT"
] | 1 | 2022-02-22T06:58:37.000Z | 2022-02-22T06:58:37.000Z | poc/CVE_2019_2729.py | secfb/WeblogicScan | 05cee3a69cf403e4db5f057c569a923c107cb97b | [
"MIT"
] | null | null | null | poc/CVE_2019_2729.py | secfb/WeblogicScan | 05cee3a69cf403e4db5f057c569a923c107cb97b | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# _*_ coding:utf-8 _*_
'''
____ _ _ _ _ __ __ _
| _ \ __ _| |__ | |__ (_) |_| \/ | __ _ ___| | __
| |_) / _` | '_ \| '_ \| | __| |\/| |/ _` / __| |/ /
| _ < (_| | |_) | |_) | | |_| | | | (_| \__ \ <
|_| \_\__,_|_.__/|_.__/|_|\__|_| |_|\__,_|___/_|\_\
... | 100.285474 | 205,599 | 0.644277 | 59,746 | 357,618 | 3.854919 | 0.08583 | 0.331683 | 0.44214 | 0.626366 | 0.970949 | 0.970714 | 0.12502 | 0.124759 | 0.124759 | 0.124759 | 0 | 0.147846 | 0.044665 | 357,618 | 3,566 | 205,600 | 100.285474 | 0.526292 | 0.000839 | 0 | 0.010443 | 0 | 0.001976 | 0.997589 | 0.911249 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000282 | false | 0 | 0.001129 | 0 | 0.001976 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c7a83681a3652bcad54bbe3eaf86dff3d2e1b78b | 1,690 | py | Python | notification_importers/tests/snapshots/snap_test_notification_google_sheet_importer.py | City-of-Helsinki/palvelutarjotin | 4ad67cbf4062832aba8080cb96ac785bdbbe9aa8 | [
"MIT"
] | 2 | 2020-11-10T16:31:26.000Z | 2021-02-19T10:33:27.000Z | notification_importers/tests/snapshots/snap_test_notification_google_sheet_importer.py | City-of-Helsinki/palvelutarjotin | 4ad67cbf4062832aba8080cb96ac785bdbbe9aa8 | [
"MIT"
] | 239 | 2020-04-23T07:36:17.000Z | 2022-03-15T08:38:38.000Z | notification_importers/tests/snapshots/snap_test_notification_google_sheet_importer.py | City-of-Helsinki/palvelutarjotin | 4ad67cbf4062832aba8080cb96ac785bdbbe9aa8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots[
"test_create_non_existing_and_update_existing_notifications 1"
] = """enrolment_approved|enrolment_approved fi updated subject|enrolment_a... | 76.818182 | 272 | 0.856805 | 217 | 1,690 | 6.359447 | 0.16129 | 0.258696 | 0.130435 | 0.134783 | 0.823913 | 0.744928 | 0.744928 | 0.744928 | 0.697101 | 0.697101 | 0 | 0.003891 | 0.087574 | 1,690 | 21 | 273 | 80.47619 | 0.891051 | 0.036686 | 0 | 0.357143 | 0 | 0.357143 | 0.884923 | 0.617846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c7b8acdd3370e337e8d3cc4e74982bfc51053ac6 | 678 | py | Python | updateSite.py | letsgoexploring/miscellaneous-python-code | 20e0b4f87ec7cdbcd7a7b44f236ce9b71f7cf0ee | [
"MIT"
] | null | null | null | updateSite.py | letsgoexploring/miscellaneous-python-code | 20e0b4f87ec7cdbcd7a7b44f236ce9b71f7cf0ee | [
"MIT"
] | null | null | null | updateSite.py | letsgoexploring/miscellaneous-python-code | 20e0b4f87ec7cdbcd7a7b44f236ce9b71f7cf0ee | [
"MIT"
] | null | null | null | import os
try:
os.chdir("/Users/brianjenkins/dropbox/github/teaching")
os.system("git add -A")
os.system("git commit -m \"automatic update\"")
os.system("git push")
os.chdir("/Users/brianjenkins/dropbox/github/data")
os.system("git add -A")
os.system("git commit -m \"automatic update\"")
... | 29.478261 | 59 | 0.638643 | 96 | 678 | 4.510417 | 0.21875 | 0.221709 | 0.30485 | 0.12933 | 0.960739 | 0.960739 | 0.812933 | 0.812933 | 0.812933 | 0.812933 | 0 | 0 | 0.175516 | 678 | 23 | 60 | 29.478261 | 0.774598 | 0 | 0 | 0.631579 | 0 | 0 | 0.424153 | 0.22975 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c7dbec119983a08116764fa60b4e2e2e2618c232 | 1,952 | py | Python | tests/unit/database/test_database.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | tests/unit/database/test_database.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | tests/unit/database/test_database.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | # import pytest
class TestDatabase:
def test___call__(self): # synced
assert True
def test_default_schema(self): # synced
assert True
def test_schema_names(self): # synced
assert True
def test_table_names(self): # synced
assert True
def test_view_names(self)... | 21.450549 | 62 | 0.639344 | 241 | 1,952 | 4.838174 | 0.190871 | 0.174099 | 0.397942 | 0.497427 | 0.823328 | 0.823328 | 0.707547 | 0.212693 | 0.212693 | 0.212693 | 0 | 0 | 0.300205 | 1,952 | 90 | 63 | 21.688889 | 0.853587 | 0.110656 | 0 | 0.491525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.491525 | 1 | 0.491525 | false | 0 | 0 | 0 | 0.508475 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
1bea211d9508477c8b9d4c53639b655123df5f08 | 1,669 | py | Python | cnn.py | KiLJ4EdeN/signal_models | ebb607bb9e94d6a0913716e4fb1ca7dde4b692c3 | [
"MIT"
] | null | null | null | cnn.py | KiLJ4EdeN/signal_models | ebb607bb9e94d6a0913716e4fb1ca7dde4b692c3 | [
"MIT"
] | null | null | null | cnn.py | KiLJ4EdeN/signal_models | ebb607bb9e94d6a0913716e4fb1ca7dde4b692c3 | [
"MIT"
] | null | null | null | import tensorflow as tf
inputs = tf.keras.layers.Input(shape=(2000, 1))
x = tf.keras.layers.Conv1D(filters=2, kernel_size=15, padding='valid')(inputs)
x = tf.keras.layers.Conv1D(filters=2, kernel_size=15, padding='valid')(x)
x = tf.keras.layers.MaxPooling1D(pool_size=2)(x)
x = tf.keras.layers.Conv1D(filters=4, kernel... | 52.15625 | 78 | 0.720791 | 284 | 1,669 | 4.165493 | 0.165493 | 0.147929 | 0.263736 | 0.272189 | 0.846154 | 0.820795 | 0.820795 | 0.820795 | 0.820795 | 0.820795 | 0 | 0.049869 | 0.086878 | 1,669 | 31 | 79 | 53.83871 | 0.726378 | 0 | 0 | 0.642857 | 0 | 0 | 0.04973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.035714 | 0.035714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
40163c37b269ff674b40494efc1a1b6d1b5431f6 | 48,412 | py | Python | basic_samples/SDS/Python/SDSPy/Python2/SdsClient.py | hanhossain/OCS-Samples | 6f0f7878e6d9bccc32b6d663446678e070859d14 | [
"Apache-2.0"
] | null | null | null | basic_samples/SDS/Python/SDSPy/Python2/SdsClient.py | hanhossain/OCS-Samples | 6f0f7878e6d9bccc32b6d663446678e070859d14 | [
"Apache-2.0"
] | null | null | null | basic_samples/SDS/Python/SDSPy/Python2/SdsClient.py | hanhossain/OCS-Samples | 6f0f7878e6d9bccc32b6d663446678e070859d14 | [
"Apache-2.0"
] | null | null | null | # SdsClient.py
#
# Copyright (C) 2018 OSIsoft, LLC. All rights reserved.
#
# THIS SOFTWARE CONTAINS CONFIDENTIAL INFORMATION AND TRADE SECRETS OF
# OSIsoft, LLC. USE, DISCLOSURE, OR REPRODUCTION IS PROHIBITED WITHOUT
# THE PRIOR EXPRESS WRITTEN PERMISSION OF OSIsoft, LLC.
#
# RESTRICTED RIGHTS LEGEND
# Use, duplicatio... | 46.238777 | 199 | 0.644964 | 5,488 | 48,412 | 5.453171 | 0.063411 | 0.064691 | 0.077589 | 0.056805 | 0.804224 | 0.773181 | 0.760517 | 0.744111 | 0.72757 | 0.724563 | 0 | 0.008889 | 0.263385 | 48,412 | 1,046 | 200 | 46.282983 | 0.830319 | 0.015616 | 0 | 0.71161 | 0 | 0.001248 | 0.088383 | 0.018191 | 0.001248 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.01623 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
401eb27cae97f4e983d54e78fbaee0f118ab255c | 4,539 | py | Python | simple_repl/tests/test_parser.py | vaskinyy/kata-repl | ec27158cd8173fab4981f01624e94166d331dcbc | [
"MIT"
] | null | null | null | simple_repl/tests/test_parser.py | vaskinyy/kata-repl | ec27158cd8173fab4981f01624e94166d331dcbc | [
"MIT"
] | null | null | null | simple_repl/tests/test_parser.py | vaskinyy/kata-repl | ec27158cd8173fab4981f01624e94166d331dcbc | [
"MIT"
] | null | null | null | import unittest
from repl import lexems
from repl.lexer import Token
from repl.parser import Parser
class Test_Parser(unittest.TestCase):
def test_adding(self):
parser = Parser()
tree = parser.run("1 + 7")
self.assertEqual(tree.op, Token(lexems.PLUS, lexems.PLUS))
self.assertEqual... | 43.228571 | 96 | 0.636043 | 606 | 4,539 | 4.70297 | 0.092409 | 0.165965 | 0.182456 | 0.237193 | 0.883158 | 0.856491 | 0.840702 | 0.8 | 0.694035 | 0.680351 | 0 | 0.010036 | 0.209738 | 4,539 | 105 | 97 | 43.228571 | 0.7845 | 0 | 0 | 0.54023 | 0 | 0 | 0.057269 | 0 | 0 | 0 | 0 | 0 | 0.45977 | 1 | 0.149425 | false | 0 | 0.045977 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
40294d367a38c973cd2136fc0230c7b2b97479e3 | 12,934 | py | Python | tests/test_utils.py | fossabot/touvlo | 5eb65e11826e9519cb938a517c432701e7ce5ae9 | [
"MIT"
] | null | null | null | tests/test_utils.py | fossabot/touvlo | 5eb65e11826e9519cb938a517c432701e7ce5ae9 | [
"MIT"
] | null | null | null | tests/test_utils.py | fossabot/touvlo | 5eb65e11826e9519cb938a517c432701e7ce5ae9 | [
"MIT"
] | null | null | null | from math import radians
import pytest
from numpy import array, cos, sin, exp
from numpy.testing import assert_allclose
from touvlo.utils import (numerical_grad, g_grad, BGD, SGD, MBGD)
class TestLogisticRegression:
@pytest.fixture(scope="module")
def err(self):
return 0.0001
def test_numeric_... | 35.729282 | 76 | 0.394773 | 1,791 | 12,934 | 2.778894 | 0.082635 | 0.053044 | 0.034358 | 0.038176 | 0.811935 | 0.791642 | 0.78702 | 0.743018 | 0.734378 | 0.733173 | 0 | 0.146139 | 0.414334 | 12,934 | 361 | 77 | 35.828255 | 0.510891 | 0 | 0 | 0.744186 | 0 | 0 | 0.000464 | 0 | 0 | 0 | 0 | 0 | 0.066445 | 1 | 0.126246 | false | 0 | 0.016611 | 0.019934 | 0.209302 | 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 |
4029bb53471c97a4e61ffb5bcb20e1ae2fbe1e9a | 446,837 | py | Python | python/spoonacular/com/spoonacular/default_api.py | FPU-Spring-2021-CEN4010/spoonacular-api-clients | 5becc86987c1b0406ed05d02f5c158fba284aa9c | [
"MIT"
] | null | null | null | python/spoonacular/com/spoonacular/default_api.py | FPU-Spring-2021-CEN4010/spoonacular-api-clients | 5becc86987c1b0406ed05d02f5c158fba284aa9c | [
"MIT"
] | null | null | null | python/spoonacular/com/spoonacular/default_api.py | FPU-Spring-2021-CEN4010/spoonacular-api-clients | 5becc86987c1b0406ed05d02f5c158fba284aa9c | [
"MIT"
] | null | null | null | # coding: utf-8
"""
spoonacular API
The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 80,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural langu... | 48.680357 | 1,558 | 0.645488 | 55,725 | 446,837 | 4.922566 | 0.01624 | 0.052758 | 0.084109 | 0.029397 | 0.979953 | 0.974237 | 0.971135 | 0.964886 | 0.957825 | 0.94901 | 0 | 0.016897 | 0.270213 | 446,837 | 9,178 | 1,559 | 48.685661 | 0.824297 | 0.384433 | 0 | 0.819563 | 0 | 0 | 0.200527 | 0.043827 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032604 | false | 0 | 0.001013 | 0 | 0.082422 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
402ae7b9d23540c4df39e1edae05bc76b92dd4bf | 41 | py | Python | src/universal_api/__init__.py | VolodymyrVozniak/universal-api | 2566f55dc50d50f9833c4c6ef2617cc9378a2a9f | [
"MIT"
] | null | null | null | src/universal_api/__init__.py | VolodymyrVozniak/universal-api | 2566f55dc50d50f9833c4c6ef2617cc9378a2a9f | [
"MIT"
] | null | null | null | src/universal_api/__init__.py | VolodymyrVozniak/universal-api | 2566f55dc50d50f9833c4c6ef2617cc9378a2a9f | [
"MIT"
] | null | null | null | from universal_api.universal_api import * | 41 | 41 | 0.878049 | 6 | 41 | 5.666667 | 0.666667 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.894737 | 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 |
4088fac56d395800a7a7b45c16abcab993a6746c | 3,469 | py | Python | airl/policy/estimators.py | malkayo/AiRL | 7db8c6c7fa8c93783a18d7180c3e24fb6792c10a | [
"BSD-3-Clause"
] | null | null | null | airl/policy/estimators.py | malkayo/AiRL | 7db8c6c7fa8c93783a18d7180c3e24fb6792c10a | [
"BSD-3-Clause"
] | null | null | null | airl/policy/estimators.py | malkayo/AiRL | 7db8c6c7fa8c93783a18d7180c3e24fb6792c10a | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
def get_std_nn(policy, optim, w_init="zero", regularization=1E-3):
# Return an std_nn Keras model
from keras.models import Sequential
from keras.layers import Dense
from keras.regularizers import l2
from keras.layers.advanced_activations import LeakyReLU
input_shape = (polic... | 36.515789 | 81 | 0.689536 | 472 | 3,469 | 4.940678 | 0.141949 | 0.092624 | 0.054031 | 0.103774 | 0.958405 | 0.958405 | 0.931818 | 0.919811 | 0.903516 | 0.903516 | 0 | 0.037311 | 0.181032 | 3,469 | 94 | 82 | 36.904255 | 0.783527 | 0.057077 | 0 | 0.734375 | 0 | 0 | 0.045692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.15625 | null | null | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
409c28b48d82474c126683dd3387a73b0c9aacd2 | 194 | py | Python | pystrings/lineup_students/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 3 | 2017-05-02T10:28:13.000Z | 2019-02-06T09:10:11.000Z | pystrings/lineup_students/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2017-06-21T20:39:14.000Z | 2020-02-25T10:28:57.000Z | pystrings/lineup_students/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2016-07-29T04:35:22.000Z | 2017-01-18T17:05:36.000Z | def lineup_students(string):
return sorted(string.split(), key=lambda x: (len(x), x), reverse=True)
# lineup_students = lambda s: sorted(s.split(), key=lambda x: (len(x), x), reverse=True)
| 38.8 | 88 | 0.685567 | 31 | 194 | 4.225806 | 0.451613 | 0.21374 | 0.21374 | 0.229008 | 0.473282 | 0.473282 | 0.473282 | 0.473282 | 0.473282 | 0 | 0 | 0 | 0.128866 | 194 | 4 | 89 | 48.5 | 0.775148 | 0.443299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
40a9cf7f2a478c74c6e767c554c948cc9a9490a2 | 4,184 | py | Python | misago/conf/tests/test_hydrators.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | 1 | 2017-07-25T03:04:36.000Z | 2017-07-25T03:04:36.000Z | misago/conf/tests/test_hydrators.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | misago/conf/tests/test_hydrators.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | from django.test import TestCase
from misago.conf.hydrators import dehydrate_value, hydrate_value
from misago.conf.models import Setting
class HydratorsTests(TestCase):
def test_hydrate_dehydrate_string(self):
"""string value is correctly hydrated and dehydrated"""
wet_value = 'Ni!'
dry_v... | 37.026549 | 72 | 0.686185 | 508 | 4,184 | 5.377953 | 0.110236 | 0.122987 | 0.095168 | 0.151537 | 0.847731 | 0.847731 | 0.822108 | 0.799414 | 0.770132 | 0.770132 | 0 | 0.002449 | 0.219407 | 4,184 | 112 | 73 | 37.357143 | 0.834048 | 0.13217 | 0 | 0.739726 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0.273973 | 1 | 0.150685 | false | 0 | 0.041096 | 0 | 0.219178 | 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 |
40abb3ad746369194537416d8bf7b773d4cf9a79 | 1,772 | py | Python | test/integration/CommentDocTag/giant summary.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 30 | 2019-10-29T12:47:50.000Z | 2022-02-12T06:41:39.000Z | test/integration/CommentDocTag/giant summary.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 247 | 2017-09-21T17:11:18.000Z | 2019-10-08T12:59:07.000Z | test/integration/CommentDocTag/giant summary.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 17 | 2017-10-01T16:53:20.000Z | 2018-11-28T07:20:35.000Z | #
aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq
rrr sss ttt uuu vvv www xxx yyy zzz aaa bbb ccc ddd eee fff ggg hhh
iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy
zzz aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp
qqq rrr sss ttt uuu vvv www xxx yyy zzz aaa bb... | 61.103448 | 67 | 0.748307 | 442 | 1,772 | 3 | 0.058824 | 0.076923 | 0.115385 | 0.153846 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.250564 | 1,772 | 28 | 68 | 63.285714 | 0.998494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
40bb224e2ca9696f3b12fee38d99b8fb0c64b840 | 740,635 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_bgp_oc_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_bgp_oc_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_bgp_oc_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ Cisco_IOS_XR_ipv4_bgp_oc_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR ipv4\-bgp\-oc package operational data.
This module contains definitions
for the following management objects\:
oc\-bgp\: OC\-BGP operational data
Copyright (c) 2013\-2018 by Cisco Systems, Inc.
All rights re... | 65.4329 | 905 | 0.365426 | 48,345 | 740,635 | 5.328162 | 0.005357 | 0.007935 | 0.08036 | 0.030281 | 0.99229 | 0.991203 | 0.990528 | 0.989006 | 0.989006 | 0.988338 | 0 | 0.030157 | 0.545562 | 740,635 | 11,318 | 906 | 65.438682 | 0.735175 | 0.155398 | 0 | 0.853179 | 0 | 0.017213 | 0.113924 | 0.052692 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097408 | false | 0 | 0.034427 | 0 | 0.200081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
40c173b15c494cacb0c9093874e1c6443097f271 | 94,821 | py | Python | test/gff_test.py | DivSeek-Canada/python-chado | 68648a10fcf26b73cf05e9a403c67e48e6b2f66f | [
"MIT"
] | null | null | null | test/gff_test.py | DivSeek-Canada/python-chado | 68648a10fcf26b73cf05e9a403c67e48e6b2f66f | [
"MIT"
] | null | null | null | test/gff_test.py | DivSeek-Canada/python-chado | 68648a10fcf26b73cf05e9a403c67e48e6b2f66f | [
"MIT"
] | 1 | 2021-05-02T14:49:57.000Z | 2021-05-02T14:49:57.000Z | from nose.tools import raises
from . import ChadoTestCase, ci
class GFFTest(ChadoTestCase):
def _del_dbxref(self):
self.ci.session.query(self.ci.model.dbxref).filter(
self.ci.model.dbxref.db_id == 1,
(self.ci.model.dbxref.accession.like('VNBP%') | self.ci.model.dbxref.accession.l... | 57.888278 | 224 | 0.686019 | 12,675 | 94,821 | 4.9357 | 0.027219 | 0.119405 | 0.107081 | 0.066113 | 0.968063 | 0.964067 | 0.957896 | 0.955163 | 0.94976 | 0.934703 | 0 | 0.03669 | 0.200915 | 94,821 | 1,637 | 225 | 57.923641 | 0.788967 | 0.026123 | 0 | 0.882158 | 0 | 0.046473 | 0.276672 | 0.029892 | 0 | 0 | 0 | 0 | 0.564315 | 1 | 0.017427 | false | 0 | 0.00166 | 0 | 0.019917 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dc0dbb9039c841f1dfc7ec952a49857bc2478422 | 11,301 | py | Python | cookbook/dt-and-al.py | ianzhengnan/learnpy | ed1736ac976d56253183399466a167fb9319f869 | [
"Apache-2.0"
] | 1 | 2017-06-12T03:12:29.000Z | 2017-06-12T03:12:29.000Z | cookbook/dt-and-al.py | ianzhengnan/learnpy | ed1736ac976d56253183399466a167fb9319f869 | [
"Apache-2.0"
] | null | null | null | cookbook/dt-and-al.py | ianzhengnan/learnpy | ed1736ac976d56253183399466a167fb9319f869 | [
"Apache-2.0"
] | null | null | null | <<<<<<< HEAD
# records = [
# ('foo', 1,2),
# ('bar', 'hello'),
# ('foo', 3,4)
# ]
# def do_foo(x, y):
# print('foo', x, y)
# def do_bar(s):
# print('bar', s)
# for tag, *args in records:
# if tag == 'foo':
# do_foo(*args)
# elif tag == 'bar':
# do_bar(*... | 24.355603 | 97 | 0.427307 | 1,233 | 11,301 | 3.827251 | 0.150852 | 0.044077 | 0.050434 | 0.026701 | 0.994278 | 0.994278 | 0.994278 | 0.994278 | 0.994278 | 0.994278 | 0 | 0.053921 | 0.209008 | 11,301 | 463 | 98 | 24.408207 | 0.47399 | 0.854526 | 0 | 0.8 | 0 | 0 | 0.052394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.08 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
dc1352a0c2e4a18514a3fcd504082382c453ee8d | 3,786 | py | Python | src/ctc/rpc/rpc_digestors/rpc_log_digestors.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/rpc/rpc_digestors/rpc_log_digestors.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/rpc/rpc_digestors/rpc_log_digestors.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from __future__ import annotations
from ctc import spec
from ctc import binary
from .. import rpc_format
from .. import rpc_spec
def digest_eth_new_filter(
response: spec.RpcSingularResponse, decode_response: bool = False
) -> spec.RpcSingularResponse:
if decode_response:
response = binary.convert(re... | 26.851064 | 80 | 0.653988 | 403 | 3,786 | 5.918114 | 0.119107 | 0.09979 | 0.060377 | 0.090566 | 0.935849 | 0.935849 | 0.935849 | 0.92956 | 0.92956 | 0.92956 | 0 | 0.005098 | 0.274696 | 3,786 | 140 | 81 | 27.042857 | 0.863438 | 0 | 0 | 0.807018 | 0 | 0 | 0.012946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061404 | false | 0 | 0.04386 | 0 | 0.166667 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.