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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ccc320548cc3532a16790b1400d23010cb9ea34 | 312 | py | Python | temboo/core/Library/Google/OAuth/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Google/OAuth/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Google/OAuth/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Google.OAuth.FinalizeOAuth import FinalizeOAuth, FinalizeOAuthInputSet, FinalizeOAuthResultSet, FinalizeOAuthChoreographyExecution
from temboo.Library.Google.OAuth.InitializeOAuth import InitializeOAuth, InitializeOAuthInputSet, InitializeOAuthResultSet, InitializeOAuthChoreographyExecution
| 104 | 160 | 0.910256 | 22 | 312 | 12.909091 | 0.636364 | 0.070423 | 0.119718 | 0.161972 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044872 | 312 | 2 | 161 | 156 | 0.95302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
7cf09c10f24fe12d8b17049e5ecec3098c3ef933 | 274,330 | py | Python | verilog_langserver/verilog_parser/antlr_build/diagnosis/SystemVerilogListener.py | eirikpre/verilog-langserver | e18545b139e40fe935bad430daf43e70553003a4 | [
"MIT"
] | 1 | 2020-09-24T02:30:10.000Z | 2020-09-24T02:30:10.000Z | verilog_langserver/verilog_parser/antlr_build/diagnosis/SystemVerilogListener.py | eirikpre/verilog-langserver | e18545b139e40fe935bad430daf43e70553003a4 | [
"MIT"
] | null | null | null | verilog_langserver/verilog_parser/antlr_build/diagnosis/SystemVerilogListener.py | eirikpre/verilog-langserver | e18545b139e40fe935bad430daf43e70553003a4 | [
"MIT"
] | null | null | null | # Generated from C:\Users\eirik\Desktop\verilog-langserver\verilog_langserver\verilog_parser/grammar/diagnosis/SystemVerilog.g4 by ANTLR 4.8
from antlr4 import *
if __name__ is not None and "." in __name__:
from .SystemVerilogParser import SystemVerilogParser
else:
from SystemVerilogParser import SystemVer... | 41.735889 | 141 | 0.771122 | 29,212 | 274,330 | 6.991921 | 0.037861 | 0.04286 | 0.071433 | 0.128579 | 0.924792 | 0.915598 | 0.915598 | 0.783606 | 0.777927 | 0.469552 | 0 | 0.000445 | 0.18095 | 274,330 | 6,573 | 142 | 41.735889 | 0.908576 | 0.375183 | 0 | 0.498803 | 1 | 0 | 0.000006 | 0 | 0 | 0 | 0 | 0 | 0.008895 | 1 | 0.498803 | false | 0.50154 | 0.005132 | 0 | 0.504276 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 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 | 8 |
6b0188e17e264d12c71fc510e34506fdab4211db | 130 | py | Python | src/deidentify_data/__init__.py | ksaustin88/deidentify_data | 24a0aa252c7f135185109044437595927a616104 | [
"MIT"
] | null | null | null | src/deidentify_data/__init__.py | ksaustin88/deidentify_data | 24a0aa252c7f135185109044437595927a616104 | [
"MIT"
] | null | null | null | src/deidentify_data/__init__.py | ksaustin88/deidentify_data | 24a0aa252c7f135185109044437595927a616104 | [
"MIT"
] | null | null | null | import src.deidentify_data.core
import src.deidentify_data.utilities
import src.deidentify_data.io
from src import deidentify_data | 32.5 | 36 | 0.884615 | 20 | 130 | 5.55 | 0.4 | 0.504505 | 0.513514 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069231 | 130 | 4 | 37 | 32.5 | 0.917355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
6b14fad20ef7c6a476b2deb21e15c838d3a26517 | 1,375 | py | Python | tests/parsing/test_range_from_text.py | sixty-north/les_iterables | 755cdde4dd9e3d56ce2f424ff0619bde7064e897 | [
"MIT"
] | 2 | 2020-07-04T22:21:10.000Z | 2021-12-10T14:38:18.000Z | tests/parsing/test_range_from_text.py | sixty-north/les_iterables | 755cdde4dd9e3d56ce2f424ff0619bde7064e897 | [
"MIT"
] | 1 | 2020-05-26T12:01:50.000Z | 2020-05-26T12:01:50.000Z | tests/parsing/test_range_from_text.py | sixty-north/les_iterables | 755cdde4dd9e3d56ce2f424ff0619bde7064e897 | [
"MIT"
] | null | null | null | from pytest import raises
from les_iterables.parsing import range_from_text
def test_range_from_text_empty():
with raises(ValueError):
range_from_text("")
def test_range_from_text_non_numeric():
with raises(ValueError):
range_from_text("NOT A NUMBER")
def test_range_from_text_single_numbe... | 24.553571 | 67 | 0.741818 | 217 | 1,375 | 4.235023 | 0.18894 | 0.235038 | 0.325354 | 0.191513 | 0.820457 | 0.774755 | 0.682263 | 0.593036 | 0.45049 | 0.282916 | 0 | 0.03833 | 0.146182 | 1,375 | 55 | 68 | 25 | 0.74276 | 0 | 0 | 0.266667 | 0 | 0 | 0.042909 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.4 | true | 0 | 0.066667 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86356a16194f55ecf1ebf6d2a79d4e791ac27e68 | 2,844 | py | Python | searchBar/booking/tests.py | rajvijen/Industry-Visit-Planning-and-Booking | fe54f9f354eb88cd78b1bc18a61908fe7de03577 | [
"MIT"
] | null | null | null | searchBar/booking/tests.py | rajvijen/Industry-Visit-Planning-and-Booking | fe54f9f354eb88cd78b1bc18a61908fe7de03577 | [
"MIT"
] | 8 | 2019-09-05T04:58:20.000Z | 2022-01-13T00:58:01.000Z | searchBar/booking/tests.py | rajvijen/ASE-101 | fe54f9f354eb88cd78b1bc18a61908fe7de03577 | [
"MIT"
] | 5 | 2018-11-15T19:04:29.000Z | 2018-11-17T06:10:38.000Z | from django.test import TestCase ,Client
from django.http import HttpRequest
from django.urls import reverse
from basicapp.models import UserProfileInfo
from django.contrib.auth.models import User
class ListView_Testing(TestCase):
@classmethod
def setUpTestData(cls):
cls.client = Client()
... | 41.217391 | 119 | 0.686709 | 338 | 2,844 | 5.630178 | 0.180473 | 0.057803 | 0.066211 | 0.077246 | 0.871256 | 0.862323 | 0.862323 | 0.860221 | 0.82659 | 0.82659 | 0 | 0.014348 | 0.19128 | 2,844 | 69 | 120 | 41.217391 | 0.813043 | 0 | 0 | 0.588235 | 0 | 0 | 0.107981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.117647 | 0.294118 | 0 | 0.529412 | 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 | 1 | 0 | 0 | 8 |
86512d418fe64d54f1cb927d25353cdfea239c81 | 102,502 | py | Python | plugins/modules/oci_cloud_guard_target.py | sohwaje/oci-ansible-collection | 9e6b8cf55e596a96560710a457a7df05886fc59c | [
"Apache-2.0"
] | null | null | null | plugins/modules/oci_cloud_guard_target.py | sohwaje/oci-ansible-collection | 9e6b8cf55e596a96560710a457a7df05886fc59c | [
"Apache-2.0"
] | null | null | null | plugins/modules/oci_cloud_guard_target.py | sohwaje/oci-ansible-collection | 9e6b8cf55e596a96560710a457a7df05886fc59c | [
"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... | 50.196866 | 156 | 0.331184 | 5,731 | 102,502 | 5.770372 | 0.065957 | 0.041488 | 0.090475 | 0.111763 | 0.869035 | 0.836891 | 0.807499 | 0.779196 | 0.754642 | 0.722951 | 0 | 0.017276 | 0.623344 | 102,502 | 2,041 | 157 | 50.22146 | 0.839282 | 0.004302 | 0 | 0.840966 | 0 | 0.005536 | 0.846201 | 0.050476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006543 | false | 0.000503 | 0.004026 | 0.003523 | 0.017614 | 0.000503 | 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 |
865dc4ddf79c635bc688a33bc3eb6b1fd49bd885 | 17,227 | py | Python | Virus-Fake-main/Android.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | Virus-Fake-main/Android.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | Virus-Fake-main/Android.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | import os,time,sys
from datetime import datetime
def ketik(teks):
for i in teks + "\n":
sys.stdout.write(i)
sys.stdout.flush()
time.sleep(0.01)
#kqng ricod
#kqng ricod
#kqng ricod
#kqng ricod
#kqng ricod
#kqng ricod
#kqng ricod
#kqng ricod
#kqng ricod
#kqng ricod
#kqng r... | 2.936254 | 111 | 0.500203 | 1,993 | 17,227 | 4.323131 | 0.063221 | 0.891017 | 1.285515 | 1.779944 | 0.893106 | 0.891017 | 0.891017 | 0.891017 | 0.891017 | 0.891017 | 0 | 0.021359 | 0.415685 | 17,227 | 5,866 | 112 | 2.936754 | 0.833996 | 0.495153 | 0 | 0.076923 | 0 | 0 | 0.105813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015385 | false | 0 | 0.030769 | 0 | 0.046154 | 0.107692 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
869cfc51ce16c38bdf09886876680ec614676ded | 6,567 | py | Python | synthetic/img_scale.py | train-your-deblender/cutout-evaluation | 79009552d1c9072696034fa31f71273975f35749 | [
"BSD-3-Clause"
] | null | null | null | synthetic/img_scale.py | train-your-deblender/cutout-evaluation | 79009552d1c9072696034fa31f71273975f35749 | [
"BSD-3-Clause"
] | null | null | null | synthetic/img_scale.py | train-your-deblender/cutout-evaluation | 79009552d1c9072696034fa31f71273975f35749 | [
"BSD-3-Clause"
] | null | null | null | #
# Written by Min-Su Shin
# Department of Astrophysical Sciences, Princeton University
#
# You can freely use the code.
#
import numpy
import math
def sky_median_sig_clip(input_arr, sig_fract, percent_fract, max_iter=100):
"""Estimating sky value for a given number of iterations
@type input_arr: numpy arra... | 31.123223 | 95 | 0.678392 | 894 | 6,567 | 4.777405 | 0.106264 | 0.061812 | 0.032779 | 0.026223 | 0.86303 | 0.860688 | 0.860688 | 0.841489 | 0.811988 | 0.811988 | 0 | 0.009634 | 0.225522 | 6,567 | 210 | 96 | 31.271429 | 0.830122 | 0.319933 | 0 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.020833 | 0 | 0.145833 | 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 |
86a9fbe39fe1458d24c82d7f01725e3ea5cfc307 | 73,566 | py | Python | src/models/models.py | biswassanket/transformer_classification | 054bf10cf28e87af286d57b01e8d20b01e07efeb | [
"MIT"
] | 3 | 2021-02-09T15:44:41.000Z | 2021-11-02T15:34:11.000Z | src/models/models.py | biswassanket/transformer_classification | 054bf10cf28e87af286d57b01e8d20b01e07efeb | [
"MIT"
] | null | null | null | src/models/models.py | biswassanket/transformer_classification | 054bf10cf28e87af286d57b01e8d20b01e07efeb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import print_function, division
import sys
sys.path.insert(0,'.')
import torch
import torch.nn as nn
import torchvision.models as models
import numpy as np
import pdb
import torch
import torch.nn as nn
import torchvision.models as models
import torch.nn.functional as F
# Custo... | 41.822626 | 141 | 0.630957 | 10,343 | 73,566 | 4.256309 | 0.032582 | 0.031075 | 0.046612 | 0.0169 | 0.915635 | 0.905072 | 0.895464 | 0.890148 | 0.881925 | 0.872158 | 0 | 0.053084 | 0.263287 | 73,566 | 1,758 | 142 | 41.846416 | 0.759193 | 0.168475 | 0 | 0.78785 | 0 | 0 | 0.018171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03271 | false | 0.005607 | 0.013084 | 0.000935 | 0.091589 | 0.011215 | 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 |
86ca6ae5dc79204d8e9b7107f2737e917d834899 | 9,928 | py | Python | packages/syft/tests/syft/lib/tenseal/tenseal_ckksvector_test.py | exityan/PySyft | 35166c487a5be57f9ad28929ed88a8ba6bdd5aeb | [
"Apache-2.0"
] | 1 | 2020-08-01T08:23:54.000Z | 2020-08-01T08:23:54.000Z | packages/syft/tests/syft/lib/tenseal/tenseal_ckksvector_test.py | exityan/PySyft | 35166c487a5be57f9ad28929ed88a8ba6bdd5aeb | [
"Apache-2.0"
] | 5 | 2020-09-11T05:47:12.000Z | 2020-10-13T08:36:17.000Z | packages/syft/tests/syft/lib/tenseal/tenseal_ckksvector_test.py | exityan/PySyft | 35166c487a5be57f9ad28929ed88a8ba6bdd5aeb | [
"Apache-2.0"
] | 1 | 2020-10-15T06:13:38.000Z | 2020-10-15T06:13:38.000Z | # stdlib
from typing import Any
from typing import Sequence
# third party
import pytest
# syft absolute
import syft as sy
# syft relative
from .utils_test import decrypt
ts = pytest.importorskip("tenseal")
def _almost_equal(vec1: Sequence, vec2: Sequence, precision_pow_ten: int = 1) -> None:
upper_bound = pow... | 25.854167 | 86 | 0.687248 | 1,529 | 9,928 | 4.151733 | 0.083061 | 0.067738 | 0.073094 | 0.115942 | 0.883585 | 0.881537 | 0.871613 | 0.857593 | 0.852079 | 0.785444 | 0 | 0.050369 | 0.194098 | 9,928 | 383 | 87 | 25.921671 | 0.743032 | 0.016418 | 0 | 0.706612 | 0 | 0 | 0.011598 | 0 | 0 | 0 | 0 | 0 | 0.004132 | 1 | 0.066116 | false | 0 | 0.024793 | 0 | 0.095041 | 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 |
813f2905840de6b9731c806830ee09779124e8a0 | 15,215 | py | Python | src/relstorage/adapters/tests/test_batch.py | lungj/relstorage | e18394b0197f6b70708037f36defbd3fe3ee5137 | [
"ZPL-2.1"
] | null | null | null | src/relstorage/adapters/tests/test_batch.py | lungj/relstorage | e18394b0197f6b70708037f36defbd3fe3ee5137 | [
"ZPL-2.1"
] | null | null | null | src/relstorage/adapters/tests/test_batch.py | lungj/relstorage | e18394b0197f6b70708037f36defbd3fe3ee5137 | [
"ZPL-2.1"
] | null | null | null | ##############################################################################
#
# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOF... | 34.038031 | 81 | 0.504174 | 1,591 | 15,215 | 4.702074 | 0.095537 | 0.142361 | 0.123513 | 0.085283 | 0.840262 | 0.815132 | 0.799091 | 0.770619 | 0.754712 | 0.717952 | 0 | 0.021474 | 0.341965 | 15,215 | 446 | 82 | 34.11435 | 0.725729 | 0.036872 | 0 | 0.743719 | 0 | 0 | 0.161005 | 0 | 0 | 0 | 0 | 0 | 0.178392 | 1 | 0.057789 | false | 0.005025 | 0.012563 | 0 | 0.090452 | 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 |
d49649cd5d03a06f37e0f2dae724b4d47acba39f | 621 | py | Python | python--exercicios/ex051.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | python--exercicios/ex051.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | python--exercicios/ex051.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | primeiro = int(input('Primeiro termo : '))
razão = int(input('Razão : '))
décimo = primeiro + (10 -1) * razão
for c in range(primeiro, décimo + razão, razão ):
print('{}'.format(c), end='-> ')
print('ACABOU')
primeiro = int(input('Primeiro número : '))
razão = int(input('Razão : '))
décimo = primeiro + (10 - 1) * ... | 29.571429 | 49 | 0.613527 | 82 | 621 | 4.646341 | 0.207317 | 0.125984 | 0.125984 | 0.188976 | 0.923885 | 0.923885 | 0.923885 | 0.923885 | 0.923885 | 0.923885 | 0 | 0.01751 | 0.172303 | 621 | 20 | 50 | 31.05 | 0.723735 | 0 | 0 | 0.882353 | 0 | 0 | 0.161031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.294118 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d4abeb50c5df2331c4176605d9b867676ac8971d | 29,192 | py | Python | sdk/python/pulumi_aws/s3/bucket_object.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/s3/bucket_object.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/s3/bucket_object.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"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, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | 60.438923 | 378 | 0.672479 | 3,792 | 29,192 | 5.016878 | 0.09942 | 0.057822 | 0.061817 | 0.038793 | 0.828164 | 0.792893 | 0.769291 | 0.769291 | 0.760986 | 0.757622 | 0 | 0.014032 | 0.218793 | 29,192 | 482 | 379 | 60.564315 | 0.820171 | 0.549945 | 0 | 0.334783 | 1 | 0 | 0.124404 | 0.027934 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117391 | false | 0.004348 | 0.021739 | 0.008696 | 0.256522 | 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 |
d4c60e75a2984de6910059a8ca8fa8e33aa6f067 | 50,974 | py | Python | pymatflow/flow/surface_pes.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/flow/surface_pes.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/flow/surface_pes.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | """
Overall manger for surface PES calculation
Prospects:
we might use a special scanning matter(moving atoms), like those used in AFM, and get the
image of the surface potential energy, which may help build the dataset for traning of the
surface recoginization and classification for microscopy picture and help... | 53.826822 | 162 | 0.463432 | 6,416 | 50,974 | 3.603024 | 0.04894 | 0.174028 | 0.158325 | 0.024917 | 0.925985 | 0.917723 | 0.908163 | 0.899684 | 0.896224 | 0.889259 | 0 | 0.026373 | 0.385569 | 50,974 | 946 | 163 | 53.883721 | 0.711718 | 0.131655 | 0 | 0.833566 | 0 | 0.015385 | 0.238739 | 0.039378 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012587 | false | 0.013986 | 0.011189 | 0 | 0.027972 | 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 |
d4c93987fa0e47603ec4d310b8e57e99ae307652 | 11,170 | py | Python | recording/utils/recording_utils.py | chrelli/3DDD_social_mouse_tracker | 291d2ed90029628dd65db0ce3e8972b721159a15 | [
"Apache-2.0"
] | 1 | 2022-02-10T07:26:09.000Z | 2022-02-10T07:26:09.000Z | recording/utils/recording_utils.py | chrelli/3DDD_social_mouse_tracker | 291d2ed90029628dd65db0ce3e8972b721159a15 | [
"Apache-2.0"
] | 1 | 2022-02-11T06:55:29.000Z | 2022-02-12T22:26:44.000Z | recording/utils/recording_utils.py | chrelli/3DDD_social_mouse_tracker | 291d2ed90029628dd65db0ce3e8972b721159a15 | [
"Apache-2.0"
] | null | null | null | #%% Import the nescessary stuff
# basic OS stuff
import time, os, sys, shutil
# for math and plotting
import pandas as pd
import numpy as np
import scipy as sp
import matplotlib.pyplot as plt
# small utilities
import csv
from colour import Color
from itertools import compress # for list selection with logical
from tq... | 30.856354 | 102 | 0.659355 | 1,639 | 11,170 | 4.360586 | 0.175717 | 0.031902 | 0.030922 | 0.036379 | 0.818385 | 0.807192 | 0.799216 | 0.790262 | 0.774591 | 0.774591 | 0 | 0.019224 | 0.240913 | 11,170 | 361 | 103 | 30.941828 | 0.823682 | 0.272337 | 0 | 0.77 | 0 | 0 | 0.096389 | 0.007846 | 0 | 0 | 0 | 0.00277 | 0 | 1 | 0.075 | false | 0 | 0.155 | 0 | 0.28 | 0.11 | 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 |
be097ec7d1ebfc7d1133660273e1ffc42e533294 | 3,933 | py | Python | Code/queue.py | FritzHeider/CS-1.3-Core-Data-Structures | 0978c540dc953ec4279cfe6947a975950ce47948 | [
"MIT"
] | null | null | null | Code/queue.py | FritzHeider/CS-1.3-Core-Data-Structures | 0978c540dc953ec4279cfe6947a975950ce47948 | [
"MIT"
] | 2 | 2020-03-04T00:34:42.000Z | 2020-03-10T08:20:34.000Z | Code/queue.py | FritzHeider/CS-1.3-Core-Data-Structures | 0978c540dc953ec4279cfe6947a975950ce47948 | [
"MIT"
] | null | null | null | from linkedlist import LinkedList
# Implement LinkedQueue below, then change the assignment at the bottom
# to use this Queue implementation to verify it passes all tests
class LinkedQueue(object):
def __init__(self, iterable=None):
"""Initialize this queue and enqueue the given items, if any."""
... | 34.80531 | 80 | 0.61734 | 536 | 3,933 | 4.494403 | 0.201493 | 0.07472 | 0.03653 | 0.032379 | 0.723537 | 0.723537 | 0.704442 | 0.704442 | 0.704442 | 0.704442 | 0 | 0.00327 | 0.30028 | 3,933 | 112 | 81 | 35.116071 | 0.871003 | 0.461226 | 0 | 0.644068 | 0 | 0 | 0.02572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.237288 | false | 0 | 0.016949 | 0 | 0.525424 | 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 | 0 | 1 | 0 | 0 | 7 |
07b31e4d5a15ca561e2d14f056105447a6b78d17 | 1,330 | py | Python | tests/test_1913.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1913.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1913.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 1913. Maximum Product Difference Between Two Pairs
"""
@pytest.fixture(scope="session")
def init_variables_1913():
from src.leetcode_1913_maximum_product_difference_between_two_pairs import Solution
solution = Solution()
def _init_variables_1913():
... | 23.333333 | 87 | 0.72782 | 176 | 1,330 | 5.193182 | 0.238636 | 0.199125 | 0.260394 | 0.122538 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.105455 | 0.172932 | 1,330 | 56 | 88 | 23.75 | 0.725455 | 0.030075 | 0 | 1 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.307692 | false | 0 | 0.153846 | 0.076923 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
07b8f5b65e0d8a462fc3a964db7483661dfd184b | 6,848 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_telnet_cfg.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_telnet_cfg.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_telnet_cfg.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_telnet_cfg
This module contains a collection of YANG definitions
for Cisco IOS\-XR ipv4\-telnet package configuration.
This module contains definitions
for the following management objects\:
ipv6\-telnet\: IPv6 telnet configuration
ipv4\-telnet\: ipv4 telnet
Copyright (c) 2013\-2018 by Cis... | 30.846847 | 126 | 0.614924 | 782 | 6,848 | 5.025575 | 0.157289 | 0.063613 | 0.050891 | 0.049873 | 0.845293 | 0.829771 | 0.805598 | 0.805598 | 0.805598 | 0.786768 | 0 | 0.021311 | 0.273657 | 6,848 | 221 | 127 | 30.986425 | 0.768798 | 0.155812 | 0 | 0.704918 | 0 | 0 | 0.113801 | 0.040101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114754 | false | 0 | 0.098361 | 0 | 0.327869 | 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 |
07bc0d80a44bfbc533c5c1111c7a191c9aad1bef | 6,980 | py | Python | roles/lib_openshift/src/test/unit/test_oc_storageclass.py | Roscoe198/Ansible-Openshift | b874bef456852ef082a27dfec4f2d7d466702370 | [
"Apache-2.0"
] | 164 | 2015-07-29T17:35:04.000Z | 2021-12-16T16:38:04.000Z | roles/lib_openshift/src/test/unit/test_oc_storageclass.py | Roscoe198/Ansible-Openshift | b874bef456852ef082a27dfec4f2d7d466702370 | [
"Apache-2.0"
] | 3,634 | 2015-06-09T13:49:15.000Z | 2022-03-23T20:55:44.000Z | roles/lib_openshift/src/test/unit/test_oc_storageclass.py | Roscoe198/Ansible-Openshift | b874bef456852ef082a27dfec4f2d7d466702370 | [
"Apache-2.0"
] | 250 | 2015-06-08T19:53:11.000Z | 2022-03-01T04:51:23.000Z | '''
Unit tests for oc serviceaccount
'''
import os
import sys
import unittest
import mock
import yaml
# Removing invalid variable names for tests so that I can
# keep them brief
# pylint: disable=invalid-name,no-name-in-module
# Disable import-error b/c our libraries aren't loaded in jenkins
# pylint: disable=import... | 34.9 | 129 | 0.575215 | 722 | 6,980 | 5.376731 | 0.257618 | 0.032458 | 0.022669 | 0.047398 | 0.874807 | 0.871716 | 0.871716 | 0.871716 | 0.871716 | 0.871716 | 0 | 0.020028 | 0.28467 | 6,980 | 199 | 130 | 35.075377 | 0.75746 | 0.121777 | 0 | 0.80916 | 0 | 0.015267 | 0.435234 | 0.166612 | 0 | 0 | 0 | 0 | 0.076336 | 1 | 0.015267 | false | 0 | 0.045802 | 0 | 0.068702 | 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 |
07bcc6d71b4a266654ba701275e8ad2b66116bc2 | 16,435 | py | Python | asv_bench/benchmarks/dataset_io.py | DocOtak/xarray | 01a9baa01b1378cbf3f324ea3c27150a3860d3d1 | [
"Apache-2.0"
] | 1 | 2020-09-14T02:32:54.000Z | 2020-09-14T02:32:54.000Z | asv_bench/benchmarks/dataset_io.py | DocOtak/xarray | 01a9baa01b1378cbf3f324ea3c27150a3860d3d1 | [
"Apache-2.0"
] | null | null | null | asv_bench/benchmarks/dataset_io.py | DocOtak/xarray | 01a9baa01b1378cbf3f324ea3c27150a3860d3d1 | [
"Apache-2.0"
] | 2 | 2019-08-22T21:07:03.000Z | 2020-03-30T10:25:00.000Z | from __future__ import absolute_import, division, print_function
import os
import numpy as np
import pandas as pd
import xarray as xr
from . import randint, randn, requires_dask
try:
import dask
import dask.multiprocessing
except ImportError:
pass
os.environ['HDF5_USE_FILE_LOCKING'] = 'FALSE'
class... | 36.603563 | 78 | 0.547733 | 1,745 | 16,435 | 4.955874 | 0.104298 | 0.030759 | 0.047179 | 0.041628 | 0.851411 | 0.831869 | 0.795791 | 0.765957 | 0.750347 | 0.74549 | 0 | 0.018215 | 0.338607 | 16,435 | 448 | 79 | 36.685268 | 0.777369 | 0.011622 | 0 | 0.739264 | 0 | 0 | 0.084547 | 0.00827 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165644 | false | 0.003067 | 0.03681 | 0 | 0.276074 | 0.003067 | 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 |
07e0a96dc5448ea582baf863e9a4ccac71d8386e | 42,877 | py | Python | test/unit/test_ssl_certificate_api_v1.py | KumarGanesanIBM/networking-python-sdk | c00801b8cb908496bb1b8635ee0a53513af57639 | [
"Apache-2.0"
] | null | null | null | test/unit/test_ssl_certificate_api_v1.py | KumarGanesanIBM/networking-python-sdk | c00801b8cb908496bb1b8635ee0a53513af57639 | [
"Apache-2.0"
] | null | null | null | test/unit/test_ssl_certificate_api_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... | 42.036275 | 557 | 0.515101 | 3,800 | 42,877 | 5.590263 | 0.065263 | 0.029374 | 0.016476 | 0.038413 | 0.903215 | 0.900956 | 0.881231 | 0.846396 | 0.795886 | 0.783835 | 0 | 0.028942 | 0.227208 | 42,877 | 1,019 | 558 | 42.077527 | 0.612162 | 0.269305 | 0 | 0.766409 | 0 | 0.050193 | 0.324554 | 0.102618 | 0 | 0 | 0 | 0 | 0.160232 | 1 | 0.065637 | false | 0 | 0.013514 | 0 | 0.111969 | 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 |
07e467a1ed5b4e7e91875d972b5c92dc92b1a7b3 | 2,676 | py | Python | strategies/ASLP/layer_functions.py | N0ciple/ASLP | e7a55057e78e7cc565f53559ac21b88c796b90c4 | [
"MIT"
] | null | null | null | strategies/ASLP/layer_functions.py | N0ciple/ASLP | e7a55057e78e7cc565f53559ac21b88c796b90c4 | [
"MIT"
] | null | null | null | strategies/ASLP/layer_functions.py | N0ciple/ASLP | e7a55057e78e7cc565f53559ac21b88c796b90c4 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
def add_linear_layer_parameters(layer,config=None):
layer.mask = nn.Parameter(config['init_value'] * torch.ones_like(layer.weight), requires_grad=True)
layer.scaling_param = nn.Parameter(torch.tensor(1.0),requires_grad=True)
if config["sig... | 43.16129 | 103 | 0.635277 | 332 | 2,676 | 4.891566 | 0.195783 | 0.121921 | 0.062808 | 0.044335 | 0.910099 | 0.910099 | 0.910099 | 0.910099 | 0.910099 | 0.910099 | 0 | 0.006094 | 0.2642 | 2,676 | 61 | 104 | 43.868852 | 0.81869 | 0.073617 | 0 | 0.780488 | 0 | 0 | 0.048583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.073171 | 0 | 0.219512 | 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 |
58026c332961a43a7d65ccfeba2878c28df582de | 428 | py | Python | recbole/data/dataset/__init__.py | Zephyr-29/RecBole | e8300611765c947ce904f29c610b188033ec8da8 | [
"MIT"
] | 1 | 2021-02-03T11:07:05.000Z | 2021-02-03T11:07:05.000Z | recbole/data/dataset/__init__.py | Zephyr-29/RecBole | e8300611765c947ce904f29c610b188033ec8da8 | [
"MIT"
] | null | null | null | recbole/data/dataset/__init__.py | Zephyr-29/RecBole | e8300611765c947ce904f29c610b188033ec8da8 | [
"MIT"
] | null | null | null | from recbole.data.dataset.dataset import Dataset
from recbole.data.dataset.sequential_dataset import SequentialDataset
from recbole.data.dataset.kg_dataset import KnowledgeBasedDataset
from recbole.data.dataset.social_dataset import SocialDataset
from recbole.data.dataset.kg_seq_dataset import Kg_Seq_Dataset
from recbo... | 53.5 | 69 | 0.883178 | 57 | 428 | 6.473684 | 0.263158 | 0.208672 | 0.284553 | 0.417344 | 0.287263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 428 | 7 | 70 | 61.142857 | 0.9225 | 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 |
ed575a35a029fab0ce40bba1e8680698eec28209 | 191 | py | Python | src/interpreter/functions/repeat.py | BowlingPizzaBall/b-star | 3e614443281702e124309ea7496314519b707b5f | [
"MIT"
] | null | null | null | src/interpreter/functions/repeat.py | BowlingPizzaBall/b-star | 3e614443281702e124309ea7496314519b707b5f | [
"MIT"
] | null | null | null | src/interpreter/functions/repeat.py | BowlingPizzaBall/b-star | 3e614443281702e124309ea7496314519b707b5f | [
"MIT"
] | null | null | null | from typing import List
from src.interpreter.expression import Expression
def repeat(block: List, codebase):
return str(Expression(block[1], codebase)) * Expression(block[2], codebase)
| 27.285714 | 79 | 0.769634 | 25 | 191 | 5.88 | 0.6 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011976 | 0.125654 | 191 | 6 | 80 | 31.833333 | 0.868263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
9c31f1f2fb4e96be208860fdaa1d79a86c70215d | 5,075 | py | Python | src/reverse.py | bradfireborn/ShellPop | 34edbd2224bd4116dbf8d09a9add0d102ab82dd3 | [
"MIT"
] | 1 | 2021-06-11T19:07:24.000Z | 2021-06-11T19:07:24.000Z | src/reverse.py | bluuberry/ShellPop | c7240755c2eb1c15acc3383766de49c2c04bcf4b | [
"MIT"
] | null | null | null | src/reverse.py | bluuberry/ShellPop | c7240755c2eb1c15acc3383766de49c2c04bcf4b | [
"MIT"
] | 1 | 2018-06-23T02:11:22.000Z | 2018-06-23T02:11:22.000Z | #!/usr/bin/env python
from binary import WINDOWS_NCAT, binary_to_bat, shellcode_to_ps1
def REV_PYTHON_TCP():
return """python -c \"import os; import pty; import socket; lhost = 'TARGET'; lport = PORT; s = socket.socket(socket.AF_INET, socket.SOCK_STREAM); s.connect((lhost, lport)); os.dup2(s.fileno(), 0); os.dup2(s.f... | 74.632353 | 1,233 | 0.639606 | 824 | 5,075 | 3.864078 | 0.253641 | 0.025126 | 0.013191 | 0.024497 | 0.411118 | 0.349874 | 0.315955 | 0.268844 | 0.261621 | 0.261621 | 0 | 0.016226 | 0.113498 | 5,075 | 68 | 1,234 | 74.632353 | 0.691487 | 0.003941 | 0 | 0 | 0 | 0.4 | 0.808111 | 0.268051 | 0 | 0 | 0 | 0 | 0 | 1 | 0.488889 | true | 0.022222 | 0.066667 | 0.488889 | 1.044444 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9c33948a84130176bf136241dc9ba2d55c963d5e | 2,834 | py | Python | experiments/issue548/mas.py | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | 4 | 2019-04-23T10:41:35.000Z | 2019-10-27T05:14:42.000Z | experiments/issue548/mas.py | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | null | null | null | experiments/issue548/mas.py | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | 4 | 2018-01-16T00:00:22.000Z | 2019-11-01T23:35:01.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from downward import suites
import common_setup
REVS = ["issue548-base", "issue548-v1"]
LIMITS = {"search_time": 1800}
SUITE = suites.suite_optimal_with_ipc11()
B_CONFIGS = {
'rl-b50k': ['--search', 'astar(merge_and_shrink(merge_strategy=merge_linear(variable_orde... | 64.409091 | 273 | 0.801341 | 380 | 2,834 | 5.631579 | 0.215789 | 0.117757 | 0.06729 | 0.079907 | 0.808411 | 0.808411 | 0.808411 | 0.808411 | 0.808411 | 0.802804 | 0 | 0.023907 | 0.055399 | 2,834 | 43 | 274 | 65.906977 | 0.775495 | 0.015173 | 0 | 0 | 0 | 0.264706 | 0.770886 | 0.702402 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
131ad0751ec5ad1876c4521117a125e588c6de79 | 18,187 | py | Python | ironic_python_agent/tests/unit/extensions/test_iscsi.py | ooneko/ironic-python-agent | c2ef8530dbff303e998ac2acdc3402531646f62d | [
"Apache-2.0"
] | null | null | null | ironic_python_agent/tests/unit/extensions/test_iscsi.py | ooneko/ironic-python-agent | c2ef8530dbff303e998ac2acdc3402531646f62d | [
"Apache-2.0"
] | null | null | null | ironic_python_agent/tests/unit/extensions/test_iscsi.py | ooneko/ironic-python-agent | c2ef8530dbff303e998ac2acdc3402531646f62d | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Red Hat, 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/LICENSE-2.0
#
# Unless required by... | 47.238961 | 79 | 0.585583 | 1,954 | 18,187 | 5.145855 | 0.120266 | 0.061661 | 0.033913 | 0.049727 | 0.831726 | 0.815813 | 0.763998 | 0.736251 | 0.736251 | 0.713277 | 0 | 0.006178 | 0.305768 | 18,187 | 384 | 80 | 47.361979 | 0.790195 | 0.046792 | 0 | 0.734824 | 0 | 0 | 0.097199 | 0.018597 | 0 | 0 | 0 | 0 | 0.166134 | 1 | 0.067093 | false | 0 | 0.025559 | 0.003195 | 0.115016 | 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 |
134aa0e62634bd41e5d505092cdb41995b50e17e | 8,253 | py | Python | tests/visualization_tests/matplotlib_tests/test_pareto_front.py | agarwalrounak/optuna | b5fd0439dc33c94c06251974b8cb023a3f9bccc7 | [
"MIT"
] | 2 | 2020-09-21T21:55:46.000Z | 2021-04-11T09:56:55.000Z | tests/visualization_tests/matplotlib_tests/test_pareto_front.py | SCUTJcfeng/optuna | 9331374a2460da067a6922e4ea09dd4706f3d950 | [
"MIT"
] | 5 | 2021-05-23T08:39:21.000Z | 2021-05-23T09:34:55.000Z | tests/visualization_tests/matplotlib_tests/test_pareto_front.py | SCUTJcfeng/optuna | 9331374a2460da067a6922e4ea09dd4706f3d950 | [
"MIT"
] | null | null | null | import itertools
from typing import List
from typing import Optional
import numpy as np
import pytest
import optuna
from optuna.visualization.matplotlib import plot_pareto_front
@pytest.mark.filterwarnings("ignore::optuna.exceptions.ExperimentalWarning")
@pytest.mark.parametrize("include_dominated_trials", [False, ... | 35.573276 | 97 | 0.668605 | 989 | 8,253 | 5.282103 | 0.094034 | 0.099923 | 0.193721 | 0.07657 | 0.88438 | 0.857389 | 0.849732 | 0.82791 | 0.80915 | 0.799579 | 0 | 0.011464 | 0.21786 | 8,253 | 231 | 98 | 35.727273 | 0.797831 | 0.047619 | 0 | 0.607527 | 0 | 0 | 0.061815 | 0.035177 | 0 | 0 | 0 | 0 | 0.107527 | 1 | 0.021505 | false | 0 | 0.037634 | 0 | 0.05914 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
134f60fb7797c96f9718860d1a3bdcd352cb0343 | 97 | py | Python | tests/Modules/dir_module/sub_module/sub_module_functions.py | shoriwe/PyMemoryImport | abd41e2bd840585a1223b61d8111d65ee46c6e47 | [
"MIT"
] | null | null | null | tests/Modules/dir_module/sub_module/sub_module_functions.py | shoriwe/PyMemoryImport | abd41e2bd840585a1223b61d8111d65ee46c6e47 | [
"MIT"
] | null | null | null | tests/Modules/dir_module/sub_module/sub_module_functions.py | shoriwe/PyMemoryImport | abd41e2bd840585a1223b61d8111d65ee46c6e47 | [
"MIT"
] | null | null | null | def hello_from_sub_module_functions():
print("Hello!!! From sub_module.sub_module_functions") | 48.5 | 58 | 0.804124 | 14 | 97 | 5.071429 | 0.5 | 0.380282 | 0.338028 | 0.507042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 58 | 48.5 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0.459184 | 0.316327 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
135735366896684c5cf45e6004f77c2304bf7a47 | 136 | py | Python | Strings/Basic string methods/string_methods.py | fsierra2000/Python | 19c3f52797b366019794ea75508d7317ef492ed5 | [
"MIT"
] | null | null | null | Strings/Basic string methods/string_methods.py | fsierra2000/Python | 19c3f52797b366019794ea75508d7317ef492ed5 | [
"MIT"
] | null | null | null | Strings/Basic string methods/string_methods.py | fsierra2000/Python | 19c3f52797b366019794ea75508d7317ef492ed5 | [
"MIT"
] | null | null | null | monty_python = "Monty Python"
print(monty_python)
print(monty_python.lower()) # Print lower-cased version of the string
print(???)
| 19.428571 | 72 | 0.735294 | 19 | 136 | 5.105263 | 0.473684 | 0.453608 | 0.329897 | 0.43299 | 0.443299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 6 | 73 | 22.666667 | 0.82906 | 0.286765 | 0 | 0 | 0 | 0 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
136fb3fdf1b1a862c5676bccfbac532b7cfe86e4 | 29,985 | py | Python | lib/architectures.py | osimeoni/RethinkingDeepActiveLearning | 8a0056f47605276b1c9d8338d423433dae73f5e9 | [
"MIT"
] | 4 | 2021-03-01T17:43:48.000Z | 2022-03-24T11:28:48.000Z | lib/architectures.py | osimeoni/RethinkingDeepActiveLearning | 8a0056f47605276b1c9d8338d423433dae73f5e9 | [
"MIT"
] | null | null | null | lib/architectures.py | osimeoni/RethinkingDeepActiveLearning | 8a0056f47605276b1c9d8338d423433dae73f5e9 | [
"MIT"
] | null | null | null | import sys
import math
import itertools
import torch
from torch import nn
from torch.nn import functional as F
from torch.autograd import Variable, Function
from .utils import export, parameter_count
import pdb
@export
def cifar_cnn_single(pretrained=False, **kwargs):
assert not pretrained
model = CNNSingle... | 34.544931 | 121 | 0.576755 | 3,957 | 29,985 | 4.269649 | 0.065959 | 0.013377 | 0.031607 | 0.038355 | 0.850962 | 0.812548 | 0.787985 | 0.760817 | 0.739568 | 0.724297 | 0 | 0.063453 | 0.293613 | 29,985 | 867 | 122 | 34.584775 | 0.734196 | 0.02081 | 0 | 0.727407 | 0 | 0 | 0.004133 | 0 | 0 | 0 | 0 | 0 | 0.020741 | 1 | 0.071111 | false | 0 | 0.014815 | 0.001481 | 0.162963 | 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 |
13de891fdb9156030c49143b5c2dec8cbe5439bb | 8,615 | py | Python | ext/ANTsPyNet/antspynet/architectures/create_resnet_super_resolution_model.py | tsmonteiro/fmri_proc | ee740cfa3c3a7ef8e1ee1ebd3b286a66712e0ec1 | [
"MIT"
] | 2 | 2021-11-16T10:00:33.000Z | 2021-12-13T02:57:40.000Z | ext/ANTsPyNet/antspynet/architectures/create_resnet_super_resolution_model.py | tsmonteiro/fmri_proc | ee740cfa3c3a7ef8e1ee1ebd3b286a66712e0ec1 | [
"MIT"
] | null | null | null | ext/ANTsPyNet/antspynet/architectures/create_resnet_super_resolution_model.py | tsmonteiro/fmri_proc | ee740cfa3c3a7ef8e1ee1ebd3b286a66712e0ec1 | [
"MIT"
] | 1 | 2021-12-13T02:57:27.000Z | 2021-12-13T02:57:27.000Z |
from keras.models import Model
from keras.layers import (Input, Activation, Add, BatchNormalization,
Conv2D, Conv2DTranspose,
MaxPooling2D, UpSampling2D,
Conv3D, Conv3DTranspose,
MaxPooling3D, UpSampling3D)
def cre... | 37.620087 | 90 | 0.594893 | 887 | 8,615 | 5.468997 | 0.122886 | 0.098949 | 0.12987 | 0.085756 | 0.955061 | 0.951763 | 0.935683 | 0.935683 | 0.908679 | 0.906205 | 0 | 0.016101 | 0.336738 | 8,615 | 228 | 91 | 37.785088 | 0.832867 | 0.234707 | 0 | 0.724138 | 0 | 0 | 0.015726 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.017241 | 0 | 0.086207 | 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 |
13f8ab2e56225ab2c39c34021f0f607148bf8795 | 48 | py | Python | src/nlp_modeltrainers/__init__.py | TeaKatz/NLP_ModelTrainers | cc212f02b2c9204585ab172cef0101b5882edf92 | [
"MIT"
] | null | null | null | src/nlp_modeltrainers/__init__.py | TeaKatz/NLP_ModelTrainers | cc212f02b2c9204585ab172cef0101b5882edf92 | [
"MIT"
] | null | null | null | src/nlp_modeltrainers/__init__.py | TeaKatz/NLP_ModelTrainers | cc212f02b2c9204585ab172cef0101b5882edf92 | [
"MIT"
] | null | null | null | from .BaseTrainerModule import BaseTrainerModule | 48 | 48 | 0.916667 | 4 | 48 | 11 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b98b99a9381aa754eec3ed3ee063d785aaf1ab54 | 31,064 | py | Python | examples/cpp-standalone-example/example.py | Hopery/OpenQL | f6cf78b7add50827166fd79c29dc7a8ea6fd624f | [
"Apache-2.0"
] | null | null | null | examples/cpp-standalone-example/example.py | Hopery/OpenQL | f6cf78b7add50827166fd79c29dc7a8ea6fd624f | [
"Apache-2.0"
] | null | null | null | examples/cpp-standalone-example/example.py | Hopery/OpenQL | f6cf78b7add50827166fd79c29dc7a8ea6fd624f | [
"Apache-2.0"
] | null | null | null |
from openql import openql as ql
import os
import argparse
def circuit(new_scheduler='yes', scheduler='ASAP', uniform_sched= 'no', sched_commute = 'yes', mapper='no', moves='no', maptiebreak='random', initial_placement='no', output_dir_name='compiler_output', measurement=True, log_level='LOG_NOTHING'):
output_dir ... | 26.59589 | 244 | 0.423481 | 5,161 | 31,064 | 2.534974 | 0.031002 | 0.428036 | 0.23114 | 0.017657 | 0.872736 | 0.872736 | 0.867309 | 0.857831 | 0.857831 | 0.857831 | 0 | 0.124577 | 0.239506 | 31,064 | 1,168 | 245 | 26.59589 | 0.429225 | 0 | 0 | 0.964625 | 0 | 0.000863 | 0.129539 | 0.000934 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000863 | false | 0 | 0.002588 | 0 | 0.003451 | 0.000863 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b9b8e73e3fdd8876fddb0ad5b400960b334a7592 | 128 | py | Python | adasher/data_utils/__init__.py | Bhanuchander210/adasher | f1902ce23b7ec461d47da81eee68e7e67c1e4ab5 | [
"MIT"
] | 1 | 2022-03-16T23:35:42.000Z | 2022-03-16T23:35:42.000Z | adasher/data_utils/__init__.py | Bhanuchander210/adasher | f1902ce23b7ec461d47da81eee68e7e67c1e4ab5 | [
"MIT"
] | null | null | null | adasher/data_utils/__init__.py | Bhanuchander210/adasher | f1902ce23b7ec461d47da81eee68e7e67c1e4ab5 | [
"MIT"
] | null | null | null | from adasher.data_utils.__util import DF, Period, Periods
def time_period(dt1, dt2, name):
return Period(dt1, dt2, name)
| 18.285714 | 57 | 0.734375 | 20 | 128 | 4.5 | 0.75 | 0.2 | 0.266667 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.164063 | 128 | 6 | 58 | 21.333333 | 0.803738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
b9d25657407c98c719c723e18792b38b090227a2 | 1,519 | py | Python | src/hepmc/core/densities/rambo.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | 2 | 2018-11-15T03:01:03.000Z | 2020-02-25T16:54:02.000Z | src/hepmc/core/densities/rambo.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | null | null | null | src/hepmc/core/densities/rambo.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | 1 | 2021-04-15T09:02:00.000Z | 2021-04-15T09:02:00.000Z | import numpy as np
from ..density import Distribution
from .. import phase_space
class Rambo(Distribution):
def __init__(self, nparticles, E_CM):
self.mapping = phase_space.Rambo(E_CM, nparticles)
super().__init__(self.mapping.ndim, False)
def rvs(self, sample_size):
xs = np.random.r... | 23.734375 | 64 | 0.651086 | 204 | 1,519 | 4.647059 | 0.161765 | 0.050633 | 0.14346 | 0.088608 | 0.879747 | 0.845992 | 0.845992 | 0.845992 | 0.845992 | 0.845992 | 0 | 0 | 0.239631 | 1,519 | 63 | 65 | 24.111111 | 0.820779 | 0 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.311111 | false | 0 | 0.066667 | 0.133333 | 0.6 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
b9f60a1f44261659f1049a1cd4f5d01188546b41 | 5,558 | py | Python | Ranger/test/src/Collections/RangeBucketMapTest.py | er432/Ranger | a583b332ffe0e5db9f60a5716c9a5504d91fbd39 | [
"BSD-3-Clause"
] | 2 | 2015-03-22T00:31:28.000Z | 2021-01-31T16:24:42.000Z | Ranger/test/src/Collections/RangeBucketMapTest.py | er432/Ranger | a583b332ffe0e5db9f60a5716c9a5504d91fbd39 | [
"BSD-3-Clause"
] | 1 | 2015-10-06T00:43:51.000Z | 2015-10-06T02:36:36.000Z | Ranger/test/src/Collections/RangeBucketMapTest.py | er432/Ranger | a583b332ffe0e5db9f60a5716c9a5504d91fbd39 | [
"BSD-3-Clause"
] | 2 | 2016-04-10T08:02:23.000Z | 2020-12-11T06:17:41.000Z | import unittest
from Ranger.src.Collections.RangeBucketMap import RangeBucketMap
from Ranger.src.Range.Range import Range
debug = False
class RangeBucketMapTest(unittest.TestCase):
""" Unit Tests for RangeBucketMap.py """
def test_put(self):
if debug: print("Testing put")
buckets = RangeBucket... | 49.625 | 77 | 0.624685 | 737 | 5,558 | 4.689281 | 0.104478 | 0.221354 | 0.292824 | 0.178241 | 0.804398 | 0.76765 | 0.697627 | 0.660301 | 0.632813 | 0.619792 | 0 | 0.049623 | 0.187837 | 5,558 | 111 | 78 | 50.072072 | 0.715995 | 0.005757 | 0 | 0.574074 | 0 | 0 | 0.027909 | 0 | 0 | 0 | 0 | 0 | 0.574074 | 1 | 0.046296 | false | 0 | 0.027778 | 0 | 0.083333 | 0.046296 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 7 |
b9ff1a2cb9aa9de7941c92a74be607ff50750766 | 204 | py | Python | src/audit_alembic/__init__.py | jpassaro/Audit-Alembic | 3f0d83cd9965933ee6779ca335fd0945aa853969 | [
"MIT"
] | 2 | 2017-07-10T19:15:04.000Z | 2021-07-07T14:27:39.000Z | src/audit_alembic/__init__.py | jpassaro/Audit-Alembic | 3f0d83cd9965933ee6779ca335fd0945aa853969 | [
"MIT"
] | 7 | 2017-07-10T17:16:37.000Z | 2017-12-12T02:06:18.000Z | src/audit_alembic/__init__.py | jpassaro/Audit-Alembic | 3f0d83cd9965933ee6779ca335fd0945aa853969 | [
"MIT"
] | 3 | 2017-12-12T02:04:16.000Z | 2018-03-14T02:17:04.000Z | __version__ = "0.2.0"
from . import exc # noqa: F401
from .base import Auditor # noqa: F401
from .base import CommonColumnValues # noqa: F401
from .base import alembic_supports_callback # noqa: F401
| 29.142857 | 57 | 0.740196 | 29 | 204 | 5 | 0.482759 | 0.22069 | 0.248276 | 0.331034 | 0.455172 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 0.176471 | 204 | 6 | 58 | 34 | 0.77381 | 0.210784 | 0 | 0 | 0 | 0 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e04d783221856972c4b63e71a76928532e617ca2 | 102 | py | Python | cloeepy_mongo/__init__.py | cloeeai/CloeePy-Mongo | 4fa7cde79e8f62bf089985c595e4c9e8806b1166 | [
"MIT"
] | null | null | null | cloeepy_mongo/__init__.py | cloeeai/CloeePy-Mongo | 4fa7cde79e8f62bf089985c595e4c9e8806b1166 | [
"MIT"
] | null | null | null | cloeepy_mongo/__init__.py | cloeeai/CloeePy-Mongo | 4fa7cde79e8f62bf089985c595e4c9e8806b1166 | [
"MIT"
] | null | null | null | from cloeepy_mongo.cloeepy_mongo import CloeePyMongo
def get_plugin_class():
return CloeePyMongo
| 20.4 | 52 | 0.833333 | 13 | 102 | 6.230769 | 0.769231 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 4 | 53 | 25.5 | 0.910112 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
e04f2bea1cb0d44b0ce2b413f21e9debf566f4e0 | 10,433 | py | Python | ByteToImage/src/bytetoimage.py | p--q/ByteToImage | 79139718ecbb499a72340155ff5be3b9ffce5c5b | [
"BSD-3-Clause"
] | null | null | null | ByteToImage/src/bytetoimage.py | p--q/ByteToImage | 79139718ecbb499a72340155ff5be3b9ffce5c5b | [
"BSD-3-Clause"
] | null | null | null | ByteToImage/src/bytetoimage.py | p--q/ByteToImage | 79139718ecbb499a72340155ff5be3b9ffce5c5b | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import binascii
import os
import imghdr
def main():
fd = "images" # 画像フォルダ
if not os.path.exists(fd):
os.mkdir(fd)
os.chdir(fd)
#画像の十六進法のバイト列の辞書。キー:画像名、値:十六進数バイト列
dic = {"image1ImageSmall":b"424df800000000000000760000002800000010000000100000000... | 372.607143 | 4,301 | 0.964919 | 93 | 10,433 | 108.150538 | 0.666667 | 0.000795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.471044 | 0.023483 | 10,433 | 28 | 4,302 | 372.607143 | 0.516196 | 0.011119 | 0 | 0 | 0 | 0 | 0.943647 | 0.932687 | 0 | 1 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.16 | 0 | 0.2 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e06444a57013ea8f9cd17fc6391a95143d0008d1 | 146 | py | Python | api/namex/resources/auto_analyse/paths/bc_name_analysis/issues/contains_words_to_avoid.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 1 | 2020-02-21T05:49:14.000Z | 2020-02-21T05:49:14.000Z | api/namex/resources/auto_analyse/paths/bc_name_analysis/issues/contains_words_to_avoid.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | null | null | null | api/namex/resources/auto_analyse/paths/bc_name_analysis/issues/contains_words_to_avoid.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | null | null | null | from namex.resources.auto_analyse.issues import ContainsWordsToAvoidIssue
class BcContainsWordsToAvoidIssue(ContainsWordsToAvoidIssue):
pass | 29.2 | 73 | 0.876712 | 12 | 146 | 10.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 146 | 5 | 74 | 29.2 | 0.947761 | 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 | 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 |
0ef2160b01cfb593942a01592777d46ec9b75696 | 13,038 | py | Python | src/putils/findDiagonal/find5dRotation2.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | 7 | 2018-04-03T06:37:42.000Z | 2021-11-08T11:44:06.000Z | src/putils/findDiagonal/find5dRotation2.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | null | null | null | src/putils/findDiagonal/find5dRotation2.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | 3 | 2016-10-27T20:23:34.000Z | 2019-12-13T13:54:11.000Z | from scipy import *
from scipy import linalg
import sys
import copy
def mprint(Us):
for i in range(shape(Us)[0]):
for j in range(shape(Us)[1]):
print "%11.8f %11.8f " % (real(Us[i,j]), imag(Us[i,j])),
print
def MakeOrthogonal(a, b, ii):
a -= (a[ii]/b[ii])*b
a *= 1/sqrt(dot(a,a... | 43.605351 | 241 | 0.582605 | 1,954 | 13,038 | 3.870522 | 0.103889 | 0.416501 | 0.431046 | 0.633082 | 0.608621 | 0.595266 | 0.589978 | 0.588126 | 0.588126 | 0.588126 | 0 | 0.494906 | 0.26975 | 13,038 | 298 | 242 | 43.751678 | 0.299443 | 0.200107 | 0 | 0.260563 | 0 | 0.239437 | 0.702546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.028169 | null | null | 0.183099 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
162b6f3a446fe589a90fe785c7ee4b1c7564b21b | 73 | py | Python | python/cinn/optim.py | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | 1 | 2019-10-23T09:16:23.000Z | 2019-10-23T09:16:23.000Z | python/cinn/optim.py | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | null | null | null | python/cinn/optim.py | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | null | null | null | from .core_api.optim import simplify
from .core_api.optim import ir_copy
| 24.333333 | 36 | 0.835616 | 13 | 73 | 4.461538 | 0.615385 | 0.275862 | 0.37931 | 0.551724 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 37 | 36.5 | 0.892308 | 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 |
1662cdc4663bee606f8b997df607434398e36a18 | 3,032 | py | Python | tests/test_main.py | ACCESS-cloud-based-InSAR/DockerizedTopsApp | b96b50cebd188ed3ca99e07f8b4c3e3483b5f853 | [
"Apache-2.0"
] | 2 | 2021-11-12T19:58:01.000Z | 2021-12-07T00:12:03.000Z | tests/test_main.py | ACCESS-Cloud-Based-InSAR/DockerizedTopsApp | d7d7b7101fc747517d85b52de03ac2fc6e08be16 | [
"Apache-2.0"
] | 27 | 2021-11-09T22:10:55.000Z | 2022-03-21T10:32:36.000Z | tests/test_main.py | ACCESS-Cloud-Based-InSAR/DockerizedTopsApp | d7d7b7101fc747517d85b52de03ac2fc6e08be16 | [
"Apache-2.0"
] | null | null | null | import pytest
from isce2_topsapp.__main__ import ensure_earthdata_credentials
def test_main_check_earthdata_credentials_prefer_netrc(tmp_path, monkeypatch):
monkeypatch.setenv('HOME', str(tmp_path))
netrc = tmp_path / '.netrc'
netrc.write_text('machine foobar.nasa.gov login foo password bar')
ensure... | 40.972973 | 87 | 0.737137 | 386 | 3,032 | 5.580311 | 0.121762 | 0.074745 | 0.126741 | 0.094708 | 0.940111 | 0.914113 | 0.863974 | 0.863974 | 0.837047 | 0.784123 | 0 | 0.000384 | 0.140831 | 3,032 | 73 | 88 | 41.534247 | 0.826488 | 0 | 0 | 0.764706 | 0 | 0 | 0.298153 | 0.014512 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.058824 | false | 0.27451 | 0.039216 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
169d5fcaa66ddb3b6a054a250d86808f9d4a8885 | 11,617 | py | Python | tests/auth.py | joker2017/InstaParser | a08d1af841bd1701458be8ea0daedc7fbec94575 | [
"MIT"
] | null | null | null | tests/auth.py | joker2017/InstaParser | a08d1af841bd1701458be8ea0daedc7fbec94575 | [
"MIT"
] | null | null | null | tests/auth.py | joker2017/InstaParser | a08d1af841bd1701458be8ea0daedc7fbec94575 | [
"MIT"
] | null | null | null | import pytest
from random import randint, choice
from instaparser.agents import AgentAccount
from instaparser.entities import Account, Media, Location, Tag, Comment
from tests.settings import accounts, creds, locations, photos, photo_sets, tags, videos
def parametrize(*args):
result = []
for variable in zi... | 29.863753 | 100 | 0.662994 | 1,357 | 11,617 | 5.559322 | 0.058954 | 0.139581 | 0.066808 | 0.093054 | 0.848091 | 0.807927 | 0.768558 | 0.754109 | 0.719247 | 0.633749 | 0 | 0.008175 | 0.210295 | 11,617 | 388 | 101 | 29.940722 | 0.814149 | 0 | 0 | 0.639535 | 0 | 0 | 0.059654 | 0.046828 | 0 | 0 | 0 | 0 | 0.124031 | 1 | 0.108527 | false | 0.317829 | 0.01938 | 0 | 0.131783 | 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 |
16cd4efcde768d9949800ada0aa7712cf0286a23 | 12,020 | py | Python | tests/test_client_ws_functional.py | Martiusweb/aiohttp | 718313b89d6a5b1ecdc48cdd908aabdbac53a1cf | [
"Apache-2.0"
] | null | null | null | tests/test_client_ws_functional.py | Martiusweb/aiohttp | 718313b89d6a5b1ecdc48cdd908aabdbac53a1cf | [
"Apache-2.0"
] | null | null | null | tests/test_client_ws_functional.py | Martiusweb/aiohttp | 718313b89d6a5b1ecdc48cdd908aabdbac53a1cf | [
"Apache-2.0"
] | 1 | 2019-11-24T23:12:51.000Z | 2019-11-24T23:12:51.000Z | import asyncio
import pytest
import aiohttp
from aiohttp import hdrs, helpers, web
@asyncio.coroutine
def test_send_recv_text(loop, test_client):
@asyncio.coroutine
def handler(request):
ws = web.WebSocketResponse()
yield from ws.prepare(request)
msg = yield from ws.receive_str()
... | 25.466102 | 75 | 0.645341 | 1,562 | 12,020 | 4.857875 | 0.069782 | 0.14233 | 0.063785 | 0.057986 | 0.891671 | 0.85767 | 0.833553 | 0.819979 | 0.786505 | 0.770295 | 0 | 0.004148 | 0.237854 | 12,020 | 471 | 76 | 25.52017 | 0.824146 | 0 | 0 | 0.805797 | 0 | 0 | 0.030033 | 0 | 0 | 0 | 0 | 0 | 0.110145 | 1 | 0.092754 | false | 0 | 0.011594 | 0 | 0.144928 | 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 |
16da25251bf979a10758e5dadd116d7d7491b726 | 656 | py | Python | tests/TestUtils.py | magayorker/magatip | 1aef0b5d3228ed35f1547cb184a5c3a9bd7c5b76 | [
"MIT"
] | 49 | 2017-05-10T09:48:05.000Z | 2022-03-19T20:30:32.000Z | tests/TestUtils.py | hockleyj/sodogetip | 37d6880f3dbe2bb46a29bfa67d93763b91c7a6e7 | [
"MIT"
] | 57 | 2017-05-10T02:56:22.000Z | 2021-10-06T11:44:22.000Z | tests/TestUtils.py | hockleyj/sodogetip | 37d6880f3dbe2bb46a29bfa67d93763b91c7a6e7 | [
"MIT"
] | 25 | 2017-05-09T21:29:29.000Z | 2022-02-06T03:57:17.000Z | import unittest
import utils
class TestUtils(unittest.TestCase):
def test_check_amount_valid(self):
self.assertEqual(True, utils.check_amount_valid(1))
self.assertEqual(True, utils.check_amount_valid(10))
self.assertEqual(False, utils.check_amount_valid(0.1))
self.assertEqual(Fals... | 32.8 | 64 | 0.71189 | 85 | 656 | 5.176471 | 0.247059 | 0.225 | 0.327273 | 0.381818 | 0.763636 | 0.763636 | 0.763636 | 0.763636 | 0.763636 | 0.763636 | 0 | 0.021818 | 0.161585 | 656 | 19 | 65 | 34.526316 | 0.778182 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
16e884a88674f69f53168af91d40d8bbaf1ef361 | 157 | py | Python | tests/test_rehome.py | hiqdev/rehome | f14ff75c352a9d4d35a4f6e26a6ad66ad9677099 | [
"BSD-3-Clause"
] | 5 | 2016-09-23T09:48:45.000Z | 2018-10-29T13:37:50.000Z | tests/test_rehome.py | hiqdev/rehome | f14ff75c352a9d4d35a4f6e26a6ad66ad9677099 | [
"BSD-3-Clause"
] | null | null | null | tests/test_rehome.py | hiqdev/rehome | f14ff75c352a9d4d35a4f6e26a6ad66ad9677099 | [
"BSD-3-Clause"
] | null | null | null | import Rehome
def test_normalize_repo():
assert '.' == Rehome.normalize_repo('.')
assert 'https://github.com/a/b' == Rehome.normalize_repo('a/b')
| 19.625 | 67 | 0.66242 | 21 | 157 | 4.761905 | 0.571429 | 0.39 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146497 | 157 | 7 | 68 | 22.428571 | 0.746269 | 0 | 0 | 0 | 0 | 0 | 0.174194 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bc5eb207fe304a37cc6208deadedbb743424f931 | 56,727 | py | Python | python/perspective/perspective/tests/table/test_table_datetime.py | mehtabhavin10/perspective | faa9f721d0518a620508a78298a96cb005c07275 | [
"Apache-2.0"
] | 1 | 2020-05-13T06:30:55.000Z | 2020-05-13T06:30:55.000Z | python/perspective/perspective/tests/table/test_table_datetime.py | mehtabhavin10/perspective | faa9f721d0518a620508a78298a96cb005c07275 | [
"Apache-2.0"
] | null | null | null | python/perspective/perspective/tests/table/test_table_datetime.py | mehtabhavin10/perspective | faa9f721d0518a620508a78298a96cb005c07275 | [
"Apache-2.0"
] | null | null | null | # *****************************************************************************
#
# Copyright (c) 2019, the Perspective Authors.
#
# This file is part of the Perspective library, distributed under the terms of
# the Apache License 2.0. The full license can be found in the LICENSE file.
#
import os
import time
import p... | 33.927632 | 114 | 0.377757 | 5,167 | 56,727 | 3.964002 | 0.03832 | 0.171858 | 0.210917 | 0.224978 | 0.926374 | 0.914364 | 0.901377 | 0.890294 | 0.882677 | 0.881213 | 0 | 0.046418 | 0.519964 | 56,727 | 1,671 | 115 | 33.947935 | 0.70574 | 0.035168 | 0 | 0.814089 | 0 | 0 | 0.040712 | 0 | 0 | 0 | 0 | 0 | 0.058097 | 1 | 0.061002 | false | 0 | 0.00581 | 0 | 0.069717 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 10 |
bc5ed4492fbb895792dd72da4bd72b52576c1a64 | 229 | py | Python | tests/test_cipher_yd2564.py | QMSS-G5072-2020/cipher_dong_yifei | c64fad3dc2d723f16a2568aeff68d297a490a1cf | [
"MIT"
] | null | null | null | tests/test_cipher_yd2564.py | QMSS-G5072-2020/cipher_dong_yifei | c64fad3dc2d723f16a2568aeff68d297a490a1cf | [
"MIT"
] | null | null | null | tests/test_cipher_yd2564.py | QMSS-G5072-2020/cipher_dong_yifei | c64fad3dc2d723f16a2568aeff68d297a490a1cf | [
"MIT"
] | null | null | null | from cipher_yd2564 import __version__
from cipher_yd2564 import cipher_yd2564
def test_version():
assert __version__ == '0.1.1'
def test_negative_shift():
assert cipher_yd2564.cipher('the', -1, encrypt=True) == 'sgd'
| 20.818182 | 65 | 0.742358 | 32 | 229 | 4.84375 | 0.5 | 0.309677 | 0.206452 | 0.283871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.148472 | 229 | 10 | 66 | 22.9 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.048035 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bcbfa12609e4b30a7a17158f6c3c32a85a5a89a4 | 38 | py | Python | DL/__init__.py | GrayFlash/100_Days_ML_CODE | 7c0ae04de50e7056d26019216c4f4dc8eda341d3 | [
"Unlicense"
] | null | null | null | DL/__init__.py | GrayFlash/100_Days_ML_CODE | 7c0ae04de50e7056d26019216c4f4dc8eda341d3 | [
"Unlicense"
] | null | null | null | DL/__init__.py | GrayFlash/100_Days_ML_CODE | 7c0ae04de50e7056d26019216c4f4dc8eda341d3 | [
"Unlicense"
] | null | null | null | from .L_layered_NN import L_layered_NN | 38 | 38 | 0.894737 | 8 | 38 | 3.75 | 0.625 | 0.533333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
bcdc5d842f44cb5d53ced099e227b0563d758387 | 1,941 | py | Python | catkin_ws/build/cyton_gamma_300-1500_operation_and_simulation/dynamixel_motor-master/dynamixel_controllers/cmake/dynamixel_controllers-genmsg-context.py | Gabriellavoura/Cyton-Gamma-1500 | 7380000c0e4b2d71830fbc4b28c3b1ac5b750eeb | [
"MIT"
] | 1 | 2020-10-06T14:02:44.000Z | 2020-10-06T14:02:44.000Z | catkin_ws/build/cyton_gamma_300-1500_operation_and_simulation/dynamixel_motor-master/dynamixel_controllers/cmake/dynamixel_controllers-genmsg-context.py | Gabriellavoura/Cyton-Gamma-1500 | 7380000c0e4b2d71830fbc4b28c3b1ac5b750eeb | [
"MIT"
] | null | null | null | catkin_ws/build/cyton_gamma_300-1500_operation_and_simulation/dynamixel_motor-master/dynamixel_controllers/cmake/dynamixel_controllers-genmsg-context.py | Gabriellavoura/Cyton-Gamma-1500 | 7380000c0e4b2d71830fbc4b28c3b1ac5b750eeb | [
"MIT"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = ""
services_str = "/home/gabriel/Cyton_ROS/Cyton-Gamma-1500/catkin_ws/src/cyton_gamma_300-1500_operation_and_simulation/dynamixel_motor-master/dynamixel_controllers/srv/RestartController.srv;/home/gabriel/Cyton_ROS/Cyton-Gamma-1500/catkin_ws/src/cyton_... | 161.75 | 1,546 | 0.871716 | 280 | 1,941 | 5.692857 | 0.235714 | 0.112923 | 0.090339 | 0.107277 | 0.726474 | 0.726474 | 0.726474 | 0.726474 | 0.726474 | 0.726474 | 0 | 0.052438 | 0.017517 | 1,941 | 11 | 1,547 | 176.454545 | 0.783429 | 0.025245 | 0 | 0 | 1 | 0.111111 | 0.892593 | 0.879894 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4c161cf940fca1200c3e1073eef7490aac14a284 | 13,407 | py | Python | ivy/functional/backends/numpy/elementwise.py | VedPatwardhan/ivy | 7b2105fa8cf38879444a1029bfaa7f0b2f27717a | [
"Apache-2.0"
] | null | null | null | ivy/functional/backends/numpy/elementwise.py | VedPatwardhan/ivy | 7b2105fa8cf38879444a1029bfaa7f0b2f27717a | [
"Apache-2.0"
] | null | null | null | ivy/functional/backends/numpy/elementwise.py | VedPatwardhan/ivy | 7b2105fa8cf38879444a1029bfaa7f0b2f27717a | [
"Apache-2.0"
] | null | null | null | # global
import numpy as np
from typing import Optional, Callable
import functools
# local
import ivy
try:
from scipy.special import erf as _erf
except (ImportError, ModuleNotFoundError):
_erf = None
# when inputs are 0 dimensional, numpy's functions return scalars
# so we use this wrapper to ensure outputs... | 27.643299 | 85 | 0.651898 | 2,101 | 13,407 | 4.013327 | 0.070919 | 0.220944 | 0.071158 | 0.113852 | 0.875949 | 0.868596 | 0.863259 | 0.863259 | 0.782021 | 0.737192 | 0 | 0.031131 | 0.199746 | 13,407 | 484 | 86 | 27.700413 | 0.754777 | 0.011561 | 0 | 0.609065 | 0 | 0 | 0.010345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172805 | false | 0 | 0.016997 | 0.113314 | 0.385269 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
4c6bb7f9cfec52c9d9155f3fb6e1fce711858dcf | 270 | py | Python | envelope.py | snghojeong/balance-adviser | 3c5811c62ff794575281ed2d060805fd157022b7 | [
"MIT"
] | 1 | 2020-01-31T12:18:30.000Z | 2020-01-31T12:18:30.000Z | envelope.py | snghojeong/balance-adviser | 3c5811c62ff794575281ed2d060805fd157022b7 | [
"MIT"
] | null | null | null | envelope.py | snghojeong/balance-adviser | 3c5811c62ff794575281ed2d060805fd157022b7 | [
"MIT"
] | 1 | 2020-02-08T12:51:04.000Z | 2020-02-08T12:51:04.000Z | def envelopeHiBounds(valueList, wnd):
return envelopeBounds(valueList, wnd, 0.025)
def envelopeLoBounds(valueList, wnd):
return envelopeBounds(valueList, wnd, 0.025)
def envelopeBounds(valueList, wnd, ratio):
return valueList.ewm(wnd).mean() * (1 + ratio)
| 30 | 50 | 0.737037 | 32 | 270 | 6.21875 | 0.40625 | 0.301508 | 0.39196 | 0.321608 | 0.512563 | 0.512563 | 0.512563 | 0.512563 | 0.512563 | 0 | 0 | 0.038793 | 0.140741 | 270 | 8 | 51 | 33.75 | 0.818966 | 0 | 0 | 0.333333 | 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 |
d5bec02a9804972ff143ecb35cc2f2b64820070e | 178 | py | Python | rnn_cell/__init__.py | h4ste/cantrip | 33bce1378586f4c8c00315883e03296848109845 | [
"MIT"
] | 2 | 2020-03-26T05:07:07.000Z | 2020-06-19T13:27:57.000Z | rnn_cell/__init__.py | h4ste/cantrip | 33bce1378586f4c8c00315883e03296848109845 | [
"MIT"
] | null | null | null | rnn_cell/__init__.py | h4ste/cantrip | 33bce1378586f4c8c00315883e03296848109845 | [
"MIT"
] | 3 | 2018-09-14T02:39:09.000Z | 2021-02-22T22:28:32.000Z | from rnn_cell.ran_cell import RANCell, RANStateTuple
from rnn_cell.ran_cell import VHRANCell
from rnn_cell.gru_cell import LayerNormGRUCell
from rnn_cell.rhn_cell import RHNCell
| 35.6 | 52 | 0.876404 | 29 | 178 | 5.103448 | 0.413793 | 0.189189 | 0.297297 | 0.189189 | 0.324324 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095506 | 178 | 4 | 53 | 44.5 | 0.919255 | 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 |
91108ce7879bd3803cbe8c116fe9207ac4dcb419 | 104,601 | py | Python | tuf_vectors/uptane.py | xcheng-here/tuf-test-vectors | e7f42a23321376a51faac361f23b7f4a4a66092d | [
"MIT"
] | null | null | null | tuf_vectors/uptane.py | xcheng-here/tuf-test-vectors | e7f42a23321376a51faac361f23b7f4a4a66092d | [
"MIT"
] | null | null | null | tuf_vectors/uptane.py | xcheng-here/tuf-test-vectors | e7f42a23321376a51faac361f23b7f4a4a66092d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import re
from os import path
from tuf_vectors.metadata import Target, Delegation, Role, SKIPPED_DELEGATION_NAME
from tuf_vectors.step import Step, DEFAULT_TARGET_NAME, DEFAULT_TARGET_CONTENT, DEFAULT_DELEGATION_NAME, MISSING_DELEGATION_NAME
class Uptane:
CLASS_SUFFIX = 'Uptane'
'... | 24.588858 | 128 | 0.561782 | 10,294 | 104,601 | 5.253837 | 0.029823 | 0.239835 | 0.207607 | 0.16153 | 0.915315 | 0.910249 | 0.901059 | 0.88697 | 0.87926 | 0.875728 | 0 | 0.008643 | 0.347377 | 104,601 | 4,253 | 129 | 24.594639 | 0.783608 | 0.054177 | 0 | 0.741957 | 0 | 0 | 0.163942 | 0.011842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006096 | false | 0 | 0.001355 | 0.004741 | 0.117508 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
9125b210c8bf5e608391eb8a039fe89233ad7720 | 41 | py | Python | ycm/__init__.py | chinosk114514/ycm-api | 249e3dd985bc758b719564f5e20010e606b50921 | [
"MIT"
] | 8 | 2021-12-09T09:45:52.000Z | 2022-01-24T09:58:30.000Z | ycm/__init__.py | chinosk114514/ycm-api | 249e3dd985bc758b719564f5e20010e606b50921 | [
"MIT"
] | null | null | null | ycm/__init__.py | chinosk114514/ycm-api | 249e3dd985bc758b719564f5e20010e606b50921 | [
"MIT"
] | null | null | null | from . import query
from . import server
| 13.666667 | 20 | 0.756098 | 6 | 41 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
912b59c2f97a7271614a8a3530723bfd0c642345 | 167 | py | Python | tests/trigger/test_redos.py | davidaustinarcher/vulnpy | 692703dae701197fd42ae7fc5a9d52f05a501550 | [
"MIT"
] | 7 | 2021-03-23T17:40:45.000Z | 2022-03-14T16:07:27.000Z | tests/trigger/test_redos.py | davidaustinarcher/vulnpy | 692703dae701197fd42ae7fc5a9d52f05a501550 | [
"MIT"
] | 27 | 2020-06-29T13:35:45.000Z | 2022-01-21T07:10:55.000Z | tests/trigger/test_redos.py | davidaustinarcher/vulnpy | 692703dae701197fd42ae7fc5a9d52f05a501550 | [
"MIT"
] | 14 | 2020-07-26T18:23:16.000Z | 2022-03-09T13:44:53.000Z | from vulnpy.trigger import redos
def test_re_fullmatch():
redos.do_re_fullmatch("a")
def test_re_fullmatch_compiled():
redos.do_re_fullmatch_compiled("a")
| 16.7 | 39 | 0.766467 | 25 | 167 | 4.72 | 0.48 | 0.372881 | 0.152542 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131737 | 167 | 9 | 40 | 18.555556 | 0.813793 | 0 | 0 | 0 | 0 | 0 | 0.011976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
e689dfcea15e90ccab655bb36e285ffc7285b2f5 | 31,549 | py | Python | tests/unit/test_client.py | jlrgraham23/okta-sdk-python | 5d4ffa5402b7c1739f571dffd00b205eef5e1761 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_client.py | jlrgraham23/okta-sdk-python | 5d4ffa5402b7c1739f571dffd00b205eef5e1761 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_client.py | jlrgraham23/okta-sdk-python | 5d4ffa5402b7c1739f571dffd00b205eef5e1761 | [
"Apache-2.0"
] | null | null | null | import aiohttp
import asyncio
import aiohttp
import logging
from aiohttp.client_reqrep import ConnectionKey
from ssl import SSLCertVerificationError
from okta.client import Client as OktaClient
import pytest
from okta.constants import FINDING_OKTA_DOMAIN
import yaml
import os
from okta.error_messages import ERROR_MESSA... | 34.631175 | 103 | 0.638499 | 3,606 | 31,549 | 5.307266 | 0.07127 | 0.031038 | 0.048908 | 0.028425 | 0.843348 | 0.793709 | 0.751489 | 0.7181 | 0.705873 | 0.68492 | 0 | 0.005813 | 0.242131 | 31,549 | 910 | 104 | 34.669231 | 0.794605 | 0.02092 | 0 | 0.701681 | 0 | 0.002801 | 0.172911 | 0.014537 | 0 | 0 | 0 | 0 | 0.123249 | 1 | 0.065826 | false | 0.026611 | 0.021008 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e6c83a9ab7932e617abbf9c97070c6a218dfe2f8 | 153,611 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_asr9k_sc_envmon_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_asr9k_sc_envmon_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_asr9k_sc_envmon_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_asr9k_sc_envmon_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR asr9k\-sc\-envmon package operational data.
This module contains definitions
for the following management objects\:
environmental\-monitoring\-cli\: Environmental Monitoring
Operational data space
en... | 61.815292 | 484 | 0.358588 | 9,124 | 153,611 | 5.745397 | 0.028058 | 0.021671 | 0.027088 | 0.035348 | 0.948074 | 0.925354 | 0.883081 | 0.858721 | 0.843307 | 0.833635 | 0 | 0.019256 | 0.569302 | 153,611 | 2,484 | 485 | 61.840177 | 0.77308 | 0.144208 | 0 | 0.690114 | 0 | 0.012357 | 0.112174 | 0.046336 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098859 | false | 0 | 0.039924 | 0 | 0.209125 | 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 |
e6e1a3684c45606c4d8010581ca3127cba8e7dc2 | 34,072 | py | Python | src/PhyloAcc-interface/phyloacc_lib/plot.py | gwct/PhyloAcc | 089162e2bce5a17b95d71add074bf51bccc8a266 | [
"MIT"
] | null | null | null | src/PhyloAcc-interface/phyloacc_lib/plot.py | gwct/PhyloAcc | 089162e2bce5a17b95d71add074bf51bccc8a266 | [
"MIT"
] | null | null | null | src/PhyloAcc-interface/phyloacc_lib/plot.py | gwct/PhyloAcc | 089162e2bce5a17b95d71add074bf51bccc8a266 | [
"MIT"
] | null | null | null | #############################################################################
# Functions to generate plots and html files for easy visualization of
# input dataset
# Gregg Thomas
#############################################################################
import os
import shutil
import re
import phyloacc_lib.core a... | 40.561905 | 150 | 0.599114 | 4,587 | 34,072 | 4.313277 | 0.084587 | 0.01304 | 0.019712 | 0.019712 | 0.870811 | 0.84003 | 0.81117 | 0.787617 | 0.780238 | 0.774223 | 0 | 0.023798 | 0.216864 | 34,072 | 840 | 151 | 40.561905 | 0.717685 | 0.262209 | 0 | 0.631841 | 1 | 0 | 0.177305 | 0.007654 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00995 | false | 0 | 0.034826 | 0 | 0.052239 | 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 |
fc01ea8195a47767f88ef0c918f85a0c274301f5 | 90 | py | Python | actualizer/api/response.py | mcqueenjordan/actualizer | 359642d90173b598b58af7b3da55d748abdca614 | [
"MIT"
] | 1 | 2018-04-29T04:40:25.000Z | 2018-04-29T04:40:25.000Z | actualizer/api/response.py | mcqueenjordan/actualizer | 359642d90173b598b58af7b3da55d748abdca614 | [
"MIT"
] | null | null | null | actualizer/api/response.py | mcqueenjordan/actualizer | 359642d90173b598b58af7b3da55d748abdca614 | [
"MIT"
] | null | null | null | class Response: pass
class LogResponse(Response): pass
class ListResponse(Response): pass
| 22.5 | 34 | 0.822222 | 11 | 90 | 6.727273 | 0.454545 | 0.486486 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 3 | 35 | 30 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
fc06465937e3d0ab551aeffda8404be01702f760 | 48,586 | py | Python | model/models.py | UmaTaru/run | be29e4d41a4de3dee27cd6796801bfe51382d294 | [
"MIT"
] | 163 | 2019-06-23T14:07:57.000Z | 2022-02-25T23:06:07.000Z | model/models.py | UmaTaru/run | be29e4d41a4de3dee27cd6796801bfe51382d294 | [
"MIT"
] | 8 | 2019-07-24T12:41:31.000Z | 2022-02-10T00:17:20.000Z | model/models.py | UmaTaru/run | be29e4d41a4de3dee27cd6796801bfe51382d294 | [
"MIT"
] | 31 | 2019-06-26T01:21:07.000Z | 2021-09-06T17:23:24.000Z | import torch
import torch.nn as nn
from model.utils import to_var, pad, normal_kl_div, normal_logpdf, bag_of_words_loss, to_bow, EOS_ID, detokenize
import model.layers as layers
import numpy as np
VariationalModels = ['VHRED', 'VHCR']
class HRED(nn.Module):
def __init__(self, config):
super(HRED, self)._... | 48.781124 | 127 | 0.572367 | 5,129 | 48,586 | 5.069019 | 0.050107 | 0.048002 | 0.026809 | 0.023886 | 0.883188 | 0.857879 | 0.830686 | 0.810531 | 0.792992 | 0.774107 | 0 | 0.007279 | 0.352447 | 48,586 | 995 | 128 | 48.830151 | 0.819083 | 0.137406 | 0 | 0.750371 | 0 | 0 | 0.000962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02526 | false | 0 | 0.007429 | 0.001486 | 0.063893 | 0.002972 | 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 |
fc2659709eefdbd31922fdc217b27bac8b7aabca | 158 | py | Python | blog/modules/profile/__init__.py | feel-easy/flask_blog | dd4f9b1bec85e32fa4080f638e2b7034ad16ef4c | [
"Apache-2.0"
] | 1 | 2019-03-19T11:00:44.000Z | 2019-03-19T11:00:44.000Z | blog/modules/profile/__init__.py | feel-easy/flask_blog | dd4f9b1bec85e32fa4080f638e2b7034ad16ef4c | [
"Apache-2.0"
] | 6 | 2021-03-18T22:44:46.000Z | 2022-03-11T23:42:59.000Z | blog/modules/profile/__init__.py | feel-easy/flask_blog | dd4f9b1bec85e32fa4080f638e2b7034ad16ef4c | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
profile_blue = Blueprint('profile_blue', __name__, url_prefix='/user')
# RESTful:表现层状态转换,开发web项目需要具备的风格特点。
from . import views
| 19.75 | 70 | 0.78481 | 19 | 158 | 6.157895 | 0.736842 | 0.273504 | 0.34188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 158 | 7 | 71 | 22.571429 | 0.835714 | 0.208861 | 0 | 0 | 0 | 0 | 0.138211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
fc9a532c09486e975b6bbdda439c73f79bd7de86 | 132 | py | Python | code/frameworks/pisr/utils/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | null | null | null | code/frameworks/pisr/utils/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | null | null | null | code/frameworks/pisr/utils/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | null | null | null |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .utils import *
| 18.857143 | 38 | 0.848485 | 17 | 132 | 5.764706 | 0.470588 | 0.306122 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 6 | 39 | 22 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
5d91496cb7c84a173933bb615d89b056740283dc | 116 | py | Python | accepted/chennaipy/october/samplecode/explicitimports/bar.py | tasdikrahman/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | 1 | 2017-04-16T06:59:02.000Z | 2017-04-16T06:59:02.000Z | accepted/chennaipy/october/samplecode/explicitimports/bar.py | prodicus/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | null | null | null | accepted/chennaipy/october/samplecode/explicitimports/bar.py | prodicus/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | 1 | 2019-10-26T00:28:07.000Z | 2019-10-26T00:28:07.000Z | # explicitimports/bar.py
class Bar(object):
pass
print("inside 'explicitimports/bar.py'")
from . import foo
| 11.6 | 40 | 0.706897 | 15 | 116 | 5.466667 | 0.733333 | 0.439024 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 9 | 41 | 12.888889 | 0.845361 | 0.189655 | 0 | 0 | 0 | 0 | 0.340659 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0.25 | 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 |
5d93fde8b2e8402fa6de12253767d21ce8278b91 | 17,136 | py | Python | tests/Subprocess/test_Subprocess_MIME.py | pyscioffice/email2pdf | 584833e86113c2957583403bb7c0d7f8ebea755b | [
"MIT"
] | 1 | 2022-03-10T20:36:16.000Z | 2022-03-10T20:36:16.000Z | tests/Subprocess/test_Subprocess_MIME.py | pyscioffice/email2pdf | 584833e86113c2957583403bb7c0d7f8ebea755b | [
"MIT"
] | null | null | null | tests/Subprocess/test_Subprocess_MIME.py | pyscioffice/email2pdf | 584833e86113c2957583403bb7c0d7f8ebea755b | [
"MIT"
] | null | null | null | from datetime import datetime
from email.mime.multipart import MIMEMultipart
import os
import tempfile
from tests.BaseTestClasses import Email2PDFTestCase
class TestMIME(Email2PDFTestCase):
def setUp(self):
super(TestMIME, self).setUp()
self.msg = MIMEMultipart()
def test_noheaders(self):
... | 49.383285 | 124 | 0.664041 | 1,820 | 17,136 | 6.207143 | 0.113187 | 0.040896 | 0.080729 | 0.049571 | 0.854829 | 0.82606 | 0.806763 | 0.804815 | 0.790741 | 0.769939 | 0 | 0.00901 | 0.203373 | 17,136 | 346 | 125 | 49.526012 | 0.818255 | 0 | 0 | 0.720257 | 0 | 0.003215 | 0.10866 | 0.031104 | 0 | 0 | 0 | 0 | 0.543408 | 1 | 0.07717 | false | 0 | 0.016077 | 0 | 0.096463 | 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 |
5d62e631a79c45d3da50aa99d1a28f3c6b87bc14 | 1,418 | py | Python | accounts/decorators.py | qinyanjuidavid/Raki | 2bca3e6a6f410619c699be8c45cd2cad8aa08e0c | [
"MIT"
] | null | null | null | accounts/decorators.py | qinyanjuidavid/Raki | 2bca3e6a6f410619c699be8c45cd2cad8aa08e0c | [
"MIT"
] | null | null | null | accounts/decorators.py | qinyanjuidavid/Raki | 2bca3e6a6f410619c699be8c45cd2cad8aa08e0c | [
"MIT"
] | null | null | null | from django.contrib.auth import REDIRECT_FIELD_NAME
from django.contrib.auth.decorators import user_passes_test
def administrator_required(function=None,
redirect_field_name=REDIRECT_FIELD_NAME,
login_url="/accounts/login/"):
actual_decorator = user_passes_tes... | 29.541667 | 82 | 0.666432 | 166 | 1,418 | 5.337349 | 0.210843 | 0.190745 | 0.249436 | 0.1693 | 0.812641 | 0.812641 | 0.812641 | 0.812641 | 0.812641 | 0.812641 | 0 | 0 | 0.264457 | 1,418 | 47 | 83 | 30.170213 | 0.849473 | 0 | 0 | 0.685714 | 0 | 0 | 0.052891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0.114286 | 0.057143 | 0 | 0.314286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
53dbc06869472920c14e0052ed4fc609a8294557 | 4,764 | py | Python | tests/test_mail.py | wahello/scrapy | b82a480e91ba3fb43b8c75f1e70d204919105e4b | [
"BSD-3-Clause"
] | 3 | 2020-08-06T04:59:26.000Z | 2020-08-19T01:22:39.000Z | tests/test_mail.py | wahello/scrapy | b82a480e91ba3fb43b8c75f1e70d204919105e4b | [
"BSD-3-Clause"
] | 4 | 2020-06-06T03:16:43.000Z | 2020-07-27T16:43:50.000Z | tests/test_mail.py | wahello/scrapy | b82a480e91ba3fb43b8c75f1e70d204919105e4b | [
"BSD-3-Clause"
] | null | null | null | # coding=utf-8
import unittest
from io import BytesIO
from email.charset import Charset
from scrapy.mail import MailSender
class MailSenderTest(unittest.TestCase):
def test_send(self):
mailsender = MailSender(debug=True)
mailsender.send(to=['test@scrapy.org'], subject='subject', body='body',
... | 37.511811 | 80 | 0.622796 | 561 | 4,764 | 5.139037 | 0.130125 | 0.171696 | 0.097121 | 0.052029 | 0.83316 | 0.811655 | 0.811655 | 0.749913 | 0.710024 | 0.683663 | 0 | 0.004632 | 0.229639 | 4,764 | 126 | 81 | 37.809524 | 0.780926 | 0.002519 | 0 | 0.604167 | 0 | 0 | 0.136211 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 1 | 0.072917 | false | 0 | 0.041667 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9908d8f4e303c64626cf0b77116a7563242ee69c | 51 | py | Python | examples/one/rule_4.py | ayushpallav/anthill | 740b8fce4281dfc4ca587c21a2d37741c649d870 | [
"MIT"
] | 14 | 2020-05-22T20:57:29.000Z | 2021-08-19T14:56:32.000Z | examples/one/rule_4.py | ayushpallav/apple-pie | 740b8fce4281dfc4ca587c21a2d37741c649d870 | [
"MIT"
] | 2 | 2021-01-04T05:05:08.000Z | 2021-01-04T05:11:08.000Z | examples/one/rule_4.py | ayushpallav/apple-pie | 740b8fce4281dfc4ca587c21a2d37741c649d870 | [
"MIT"
] | null | null | null | print("-----------------rule_4------------------")
| 25.5 | 50 | 0.215686 | 3 | 51 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.019608 | 51 | 1 | 51 | 51 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0.803922 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
54e0b539feade859123bfe6c4d6a679e4f52ceeb | 4,166 | py | Python | tests/policy/test_gaussian_policy.py | PuzeLiu/mushroom-rl | 99942b425e66b4ddcc26009d7105dde23841e95d | [
"MIT"
] | 344 | 2020-01-10T09:45:02.000Z | 2022-03-30T09:48:28.000Z | tests/policy/test_gaussian_policy.py | AmmarFahmy/mushroom-rl | 2625ee7f64d5613b3b9fba00f0b7a39fece88ca5 | [
"MIT"
] | 44 | 2020-01-23T03:00:56.000Z | 2022-03-25T17:14:22.000Z | tests/policy/test_gaussian_policy.py | AmmarFahmy/mushroom-rl | 2625ee7f64d5613b3b9fba00f0b7a39fece88ca5 | [
"MIT"
] | 93 | 2020-01-10T21:17:58.000Z | 2022-03-31T17:58:52.000Z | from mushroom_rl.policy.gaussian_policy import *
from mushroom_rl.approximators.regressor import Regressor
from mushroom_rl.approximators.parametric import LinearApproximator
from mushroom_rl.utils.numerical_gradient import numerical_diff_policy
def test_univariate_gaussian():
np.random.seed(88)
sigma = 1e-3 ... | 29.757143 | 73 | 0.630101 | 520 | 4,166 | 4.765385 | 0.126923 | 0.054883 | 0.068604 | 0.124294 | 0.805892 | 0.797014 | 0.797014 | 0.797014 | 0.774415 | 0.748184 | 0 | 0.012987 | 0.279165 | 4,166 | 139 | 74 | 29.971223 | 0.812188 | 0 | 0 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 1 | 0.05102 | false | 0 | 0.040816 | 0 | 0.091837 | 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 |
54e66c562a6c9478f9370ccb2f800e12b0084108 | 141 | py | Python | devilry/project/common/http_error_handlers.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/project/common/http_error_handlers.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/project/common/http_error_handlers.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | handler404 = 'devilry.devilry_errortemplates.views.custom_404_handler'
handler500 = 'devilry.devilry_errortemplates.views.custom_500_handler' | 70.5 | 70 | 0.879433 | 16 | 141 | 7.375 | 0.5625 | 0.237288 | 0.474576 | 0.559322 | 0.661017 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.035461 | 141 | 2 | 71 | 70.5 | 0.779412 | 0 | 0 | 0 | 0 | 0 | 0.774648 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
db62351278c9a45ad5a2e829f0a11da9b4944222 | 3,295 | py | Python | glosysnet/nn/activate/activate.py | NareshAtnPLUS/glosysnet | e85df44727b8784766be7e728267e5699997e226 | [
"MIT"
] | null | null | null | glosysnet/nn/activate/activate.py | NareshAtnPLUS/glosysnet | e85df44727b8784766be7e728267e5699997e226 | [
"MIT"
] | null | null | null | glosysnet/nn/activate/activate.py | NareshAtnPLUS/glosysnet | e85df44727b8784766be7e728267e5699997e226 | [
"MIT"
] | null | null | null | import numpy as np
def sigmoid(x, derivative=False):
if (derivative == True):
return x * (1 - x)# Derivative Equation
return 1 / (1 + np.exp(-x))
def tanh(x, derivative=False):
if (derivative == True):
return (1 - np.square(np.tanh(x)))# Derivative Equation
return np.tanh(x)
def relu(... | 30.229358 | 83 | 0.427618 | 527 | 3,295 | 2.671727 | 0.087287 | 0.073864 | 0.085227 | 0.15625 | 0.839489 | 0.839489 | 0.800426 | 0.714489 | 0.704545 | 0.678267 | 0 | 0.026007 | 0.404856 | 3,295 | 109 | 84 | 30.229358 | 0.691994 | 0.073141 | 0 | 0.747475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.030303 | 0.010101 | 0 | 0.272727 | 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 |
db9098f2b064b71de95efeb1e67b324c9678fe4d | 44,034 | py | Python | ironic/tests/unit/drivers/modules/oneview/test_deploy.py | mail2nsrajesh/ironic | ff4be0cd4044a634a8ad04ad50bc97fa625b3305 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/drivers/modules/oneview/test_deploy.py | mail2nsrajesh/ironic | ff4be0cd4044a634a8ad04ad50bc97fa625b3305 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/drivers/modules/oneview/test_deploy.py | mail2nsrajesh/ironic | ff4be0cd4044a634a8ad04ad50bc97fa625b3305 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Hewlett Packard Enterprise Development LP.
# Copyright 2016 Universidade Federal de Campina Grande
# 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 Licens... | 47.501618 | 79 | 0.683563 | 5,430 | 44,034 | 5.160037 | 0.052118 | 0.040829 | 0.032656 | 0.032121 | 0.918413 | 0.907099 | 0.88697 | 0.864342 | 0.848139 | 0.841893 | 0 | 0.001221 | 0.237271 | 44,034 | 926 | 80 | 47.552916 | 0.833026 | 0.018281 | 0 | 0.778195 | 0 | 0 | 0.051037 | 0.015068 | 0 | 0 | 0 | 0 | 0.151629 | 1 | 0.06015 | false | 0.003759 | 0.030075 | 0 | 0.097744 | 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 |
dba8d17b113a045f52f47aebeeb44caccf3102dd | 81 | py | Python | devops-console/apps/pipelines/views.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | 4 | 2019-12-06T06:19:33.000Z | 2021-12-23T13:05:06.000Z | devops-console/apps/pipelines/views.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | 8 | 2020-03-15T03:40:38.000Z | 2022-03-12T00:50:27.000Z | devops-console/apps/pipelines/views.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | null | null | null | from rest_framework import viewsets
from rest_framework.response import Response
| 27 | 44 | 0.888889 | 11 | 81 | 6.363636 | 0.545455 | 0.228571 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 2 | 45 | 40.5 | 0.958904 | 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 |
dbd0b75cc3fa040909911a05eaa10e5db16e1d9f | 26,653 | py | Python | models.py | dipikakhullar/ocr | a55e70d82f42803be5ed63f8f59e4fa597fcf8d6 | [
"MIT"
] | 284 | 2018-10-17T12:13:54.000Z | 2022-03-31T07:36:31.000Z | models.py | dipikakhullar/ocr | a55e70d82f42803be5ed63f8f59e4fa597fcf8d6 | [
"MIT"
] | 72 | 2018-10-29T08:45:47.000Z | 2021-12-16T15:15:24.000Z | models.py | dipikakhullar/ocr | a55e70d82f42803be5ed63f8f59e4fa597fcf8d6 | [
"MIT"
] | 86 | 2018-10-26T14:11:08.000Z | 2022-03-26T13:44:10.000Z | '''
Created on Sep 3, 2017
@author: Michal.Busta at gmail.com
'''
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
from torch.nn import LeakyReLU, Conv2d, Dropout2d, LogSoftmax, InstanceNorm2d
import math
class CReLU(nn.Module):
def __init__(self):
super(CReLU, self).... | 34.795039 | 169 | 0.631749 | 4,030 | 26,653 | 4.018114 | 0.059801 | 0.010128 | 0.021861 | 0.032607 | 0.883345 | 0.873093 | 0.864942 | 0.859137 | 0.842525 | 0.836287 | 0 | 0.063781 | 0.216448 | 26,653 | 765 | 170 | 34.840523 | 0.711597 | 0.007466 | 0 | 0.784211 | 0 | 0 | 0.010286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057895 | false | 0 | 0.012281 | 0.012281 | 0.126316 | 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 |
9158f1e7cc0e15dbe063889fd076849a0fe8e5ff | 118 | py | Python | venv/lib/python3.6/site-packages/django/contrib/postgres/forms/__init__.py | xiegudong45/typeidea | db6504a232d120d6ffa185730bd35b9b9ecffa6c | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | checkerista/.env/Lib/site-packages/django/contrib/postgres/forms/__init__.py | LybaFatimaNasir/CS311S20PID02 | bc29a8c4c9ee508c74d231c015a57b1ca4dfcb39 | [
"MIT"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | checkerista/.env/Lib/site-packages/django/contrib/postgres/forms/__init__.py | LybaFatimaNasir/CS311S20PID02 | bc29a8c4c9ee508c74d231c015a57b1ca4dfcb39 | [
"MIT"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | from .array import * # NOQA
from .hstore import * # NOQA
from .jsonb import * # NOQA
from .ranges import * # NOQA
| 23.6 | 29 | 0.661017 | 16 | 118 | 4.875 | 0.4375 | 0.512821 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 118 | 4 | 30 | 29.5 | 0.866667 | 0.161017 | 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 |
916448fcf1b92bd11dde344e0c57d11f2b1fe248 | 14,524 | py | Python | simfile/notes/tests/test_group.py | garcia/simfile | 4e15660c964d8d3c0e6d1f69431138e7eb4db288 | [
"MIT"
] | 22 | 2017-04-24T05:37:13.000Z | 2022-03-08T00:41:37.000Z | simfile/notes/tests/test_group.py | garcia/simfile | 4e15660c964d8d3c0e6d1f69431138e7eb4db288 | [
"MIT"
] | 10 | 2021-05-31T01:21:56.000Z | 2022-03-17T04:26:54.000Z | simfile/notes/tests/test_group.py | garcia/simfile | 4e15660c964d8d3c0e6d1f69431138e7eb4db288 | [
"MIT"
] | 3 | 2019-06-05T15:23:53.000Z | 2021-09-11T02:39:36.000Z | import unittest
from .. import Note, NoteType, NoteData
from ..group import *
from ...timing import Beat
def testing_valid_notes():
return NoteData(
'1200\n'
'0010\n'
'0001\n'
'0010\n'
',\n'
'1300\n'
'0001\n'
'4004\n'
'0010\n'
',\n'
... | 44.280488 | 102 | 0.584687 | 1,859 | 14,524 | 4.369554 | 0.050027 | 0.13985 | 0.256063 | 0.17075 | 0.914317 | 0.901268 | 0.897329 | 0.87837 | 0.867167 | 0.847347 | 0 | 0.041058 | 0.268865 | 14,524 | 328 | 103 | 44.280488 | 0.723891 | 0 | 0 | 0.747541 | 0 | 0 | 0.012599 | 0 | 0 | 0 | 0 | 0 | 0.042623 | 1 | 0.04918 | false | 0 | 0.013115 | 0.006557 | 0.07541 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9165a074903032d25c03ea86cdbe3da5abba3c4d | 92 | py | Python | rock_paper_scissors/rps.py | juanchaves/python_squad | 5eac78ac5a5e5ccd179358366fdbbb3177a587ee | [
"MIT"
] | null | null | null | rock_paper_scissors/rps.py | juanchaves/python_squad | 5eac78ac5a5e5ccd179358366fdbbb3177a587ee | [
"MIT"
] | null | null | null | rock_paper_scissors/rps.py | juanchaves/python_squad | 5eac78ac5a5e5ccd179358366fdbbb3177a587ee | [
"MIT"
] | null | null | null | '''
Rock, Paper, Scissors
'''
print('Hell and welcome to the rock, paper, scissors game!')
| 15.333333 | 60 | 0.673913 | 13 | 92 | 4.769231 | 0.769231 | 0.290323 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 61 | 18.4 | 0.805195 | 0.228261 | 0 | 0 | 0 | 0 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
9182426ec02a7214c7e1db2eb3f2d536c3667bfa | 212 | py | Python | lib/keychain_empty.py | JDWarner/pysense | 586fd451a16f97d5397bdf346a160b8fa40f358b | [
"MIT"
] | null | null | null | lib/keychain_empty.py | JDWarner/pysense | 586fd451a16f97d5397bdf346a160b8fa40f358b | [
"MIT"
] | null | null | null | lib/keychain_empty.py | JDWarner/pysense | 586fd451a16f97d5397bdf346a160b8fa40f358b | [
"MIT"
] | null | null | null | __all__ = ['MQTT_API_KEY',
'MQTT_WRITE_API_KEY',
'CHANNEL',
'wifi_ssid',
'wifi_pw']
MQTT_API_KEY = ""
MQTT_WRITE_API_KEY = ""
CHANNEL = ""
wifi_ssid = ''
wifi_pw = ''
| 17.666667 | 32 | 0.533019 | 25 | 212 | 3.8 | 0.36 | 0.252632 | 0.210526 | 0.294737 | 0.968421 | 0.968421 | 0.968421 | 0.968421 | 0.968421 | 0.968421 | 0 | 0 | 0.316038 | 212 | 11 | 33 | 19.272727 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
919a45d486878aa91c53fa232f09c4c5c06a67e9 | 255 | py | Python | rastervision/data/label/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 4 | 2019-03-11T12:38:15.000Z | 2021-04-06T14:57:52.000Z | rastervision/data/label/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | rastervision/data/label/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 1 | 2021-12-02T08:07:21.000Z | 2021-12-02T08:07:21.000Z | # flake8: noqa
from rastervision.data.label.labels import *
from rastervision.data.label.chip_classification_labels import *
from rastervision.data.label.object_detection_labels import *
from rastervision.data.label.semantic_segmentation_labels import *
| 36.428571 | 66 | 0.85098 | 32 | 255 | 6.59375 | 0.4375 | 0.303318 | 0.379147 | 0.473934 | 0.526066 | 0.526066 | 0 | 0 | 0 | 0 | 0 | 0.004255 | 0.078431 | 255 | 6 | 67 | 42.5 | 0.893617 | 0.047059 | 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 |
91dedf9396fe27ca781cdbc1f3827437ef3cd792 | 7,820 | py | Python | easyai/model/backbone/cls/squeezenet.py | lpj0822/image_point_cloud_det | 7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f | [
"MIT"
] | 1 | 2020-09-05T09:18:56.000Z | 2020-09-05T09:18:56.000Z | easyai/model/backbone/cls/squeezenet.py | lpj0822/image_point_cloud_det | 7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f | [
"MIT"
] | 8 | 2020-04-20T02:18:55.000Z | 2022-03-12T00:24:50.000Z | easyai/model/backbone/cls/squeezenet.py | lpj0822/image_point_cloud_det | 7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author:
from easyai.base_name.backbone_name import BackboneName
from easyai.base_name.block_name import NormalizationType, ActivationType
from easyai.base_name.block_name import LayerType
from easyai.model.backbone.utility.base_backbone import *
from easyai.model.base_blo... | 43.20442 | 98 | 0.64335 | 904 | 7,820 | 5.323009 | 0.102876 | 0.097257 | 0.118454 | 0.079801 | 0.926642 | 0.905445 | 0.905445 | 0.891729 | 0.891729 | 0.891729 | 0 | 0.047872 | 0.254731 | 7,820 | 180 | 99 | 43.444444 | 0.777797 | 0.006266 | 0 | 0.834532 | 0 | 0 | 0.003476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043165 | false | 0 | 0.043165 | 0 | 0.115108 | 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 |
37ea95674fb07f05727604ecac2ccb5cd7117b32 | 67,495 | py | Python | sample_mods/bfb/bfb_abs_cons6vgdt.py | kuanhanl/cappresse | 31cd7d03414a930f7e2c21e1a3eb5e7dd25cc500 | [
"MIT"
] | 2 | 2019-09-26T20:56:06.000Z | 2019-11-18T21:03:27.000Z | sample_mods/bfb/bfb_abs_cons6vgdt.py | kuanhanl/cappresse | 31cd7d03414a930f7e2c21e1a3eb5e7dd25cc500 | [
"MIT"
] | 6 | 2018-03-19T20:36:49.000Z | 2018-04-13T15:27:29.000Z | sample_mods/bfb/bfb_abs_cons6vgdt.py | kuanhanl/cappresse | 31cd7d03414a930f7e2c21e1a3eb5e7dd25cc500 | [
"MIT"
] | 5 | 2018-10-04T18:51:02.000Z | 2020-07-02T15:31:35.000Z |
from __future__ import division
from pyomo.core.base import Constraint, sqrt, exp, Expression
from nmpc_mhe.aux.cpoinsc import collptsgen
from nmpc_mhe.aux.lagrange_f import lgr, lgry, lgrdot, lgrydot
"""
Version note implemented momentum balance and diffusive terms for the bubble region (gas)
"""
__author__ = '... | 35.523684 | 261 | 0.483814 | 13,530 | 67,495 | 2.326016 | 0.040355 | 0.104604 | 0.137269 | 0.176416 | 0.88116 | 0.853325 | 0.819294 | 0.793302 | 0.746592 | 0.707095 | 0 | 0.038413 | 0.314231 | 67,495 | 1,899 | 262 | 35.542391 | 0.641511 | 0.06033 | 0 | 0.511295 | 0 | 0 | 0.001808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165663 | false | 0 | 0.003012 | 0.004518 | 0.49247 | 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 |
37f2985dc87131d69e6852420f6279afaec8a3b5 | 7,373 | py | Python | loldib/getratings/models/NA/na_fiddlesticks/na_fiddlesticks_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_fiddlesticks/na_fiddlesticks_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_fiddlesticks/na_fiddlesticks_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Fiddlesticks_Mid_Aatrox(Ratings):
pass
class NA_Fiddlesticks_Mid_Ahri(Ratings):
pass
class NA_Fiddlesticks_Mid_Akali(Ratings):
pass
class NA_Fiddlesticks_Mid_Alistar(Ratings):
pass
class NA_Fiddlesticks_Mid_Amumu(Ratings):
pass
class NA_... | 17.681055 | 49 | 0.792893 | 972 | 7,373 | 5.588477 | 0.151235 | 0.177835 | 0.482695 | 0.55891 | 0.83229 | 0.83229 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 7,373 | 416 | 50 | 17.723558 | 0.867454 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
5306ac14c5741775af37d169c4026ce82754e8e9 | 259 | py | Python | nmigen_boards/te0714_03_50_2I.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 11 | 2021-12-10T12:23:29.000Z | 2022-03-13T08:40:20.000Z | nmigen_boards/te0714_03_50_2I.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 12 | 2021-12-11T18:51:29.000Z | 2022-03-12T05:08:52.000Z | nmigen_boards/te0714_03_50_2I.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 7 | 2021-12-12T07:20:21.000Z | 2022-03-06T06:20:55.000Z | from amaranth_boards.te0714_03_50_2I import *
from amaranth_boards.te0714_03_50_2I import __all__
import warnings
warnings.warn("instead of nmigen_boards.te0714_03_50_2I, use amaranth_boards.te0714_03_50_2I",
DeprecationWarning, stacklevel=2)
| 32.375 | 94 | 0.818533 | 39 | 259 | 4.923077 | 0.461538 | 0.25 | 0.291667 | 0.333333 | 0.604167 | 0.510417 | 0.375 | 0.375 | 0 | 0 | 0 | 0.163717 | 0.127413 | 259 | 7 | 95 | 37 | 0.685841 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 0.235521 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
728ba80af3290a33bef05998d02e43a8721be80e | 42,835 | py | Python | Yukki/Plugins/callback.py | nezukorobot/YUUKI | 7589acbb7db1e52710ee9fce1bdc6df5cb924be6 | [
"MIT"
] | null | null | null | Yukki/Plugins/callback.py | nezukorobot/YUUKI | 7589acbb7db1e52710ee9fce1bdc6df5cb924be6 | [
"MIT"
] | null | null | null | Yukki/Plugins/callback.py | nezukorobot/YUUKI | 7589acbb7db1e52710ee9fce1bdc6df5cb924be6 | [
"MIT"
] | 1 | 2021-12-01T10:17:55.000Z | 2021-12-01T10:17:55.000Z | from pyrogram import Client, filters
from pyrogram.types import (
CallbackQuery,
InlineKeyboardButton,
InlineKeyboardMarkup,
InputMediaPhoto,
Message,
)
from asyncio import QueueEmpty
from pyrogram import Client, filters
from Yukki import app, BOT_USERNAME, dbb, SUDOERS
import os
import youtube_dl
f... | 50.692308 | 244 | 0.559519 | 4,710 | 42,835 | 4.942038 | 0.092994 | 0.073033 | 0.055849 | 0.047687 | 0.840357 | 0.826653 | 0.793315 | 0.774842 | 0.760665 | 0.72853 | 0 | 0.008427 | 0.329567 | 42,835 | 845 | 245 | 50.692308 | 0.800752 | 0 | 0 | 0.724224 | 0 | 0.039752 | 0.199762 | 0.044262 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003727 | false | 0.014907 | 0.067081 | 0 | 0.115528 | 0.017391 | 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 |
72ad14e6b6354b234e34163e68c1cabbac949a35 | 35,186 | py | Python | Plugins/Games/EvilNinja/Functions.py | CHHOrganization/BlackDoc | 7931f7d659344b44b6bdedfc0f1157910366bf64 | [
"Unlicense"
] | 3 | 2022-03-17T23:19:52.000Z | 2022-03-18T10:36:52.000Z | Plugins/Games/EvilNinja/Functions.py | CHHOrganization/BlackDoc | 7931f7d659344b44b6bdedfc0f1157910366bf64 | [
"Unlicense"
] | 1 | 2022-03-18T04:51:44.000Z | 2022-03-21T02:16:13.000Z | Plugins/Games/EvilNinja/Functions.py | CHHOrganization/BlackDoc | 7931f7d659344b44b6bdedfc0f1157910366bf64 | [
"Unlicense"
] | null | null | null | import os,sys,time
from Settings import *
#EVilNinja Data
Level_1_Names = ["Kerry", "Jackey", "Mary", "Blackey", "Melisa", "Susan"]
Level_1_Surnames = ["White", "Rockafeller", "Chinano", "Kingsley", "Martinez", "White"]
Level_1_DOBs = ["1980-12-26", "1966-03-09", "1972-06-23", "1994-08-08", "1982-11-10", "1961-0... | 50.627338 | 135 | 0.625988 | 4,803 | 35,186 | 4.270664 | 0.05788 | 0.093019 | 0.067814 | 0.087022 | 0.941303 | 0.89611 | 0.888699 | 0.827759 | 0.827759 | 0.827759 | 0 | 0.054119 | 0.202296 | 35,186 | 695 | 136 | 50.627338 | 0.676678 | 0.004775 | 0 | 0.617801 | 0 | 0 | 0.230754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.188482 | false | 0.191972 | 0.00349 | 0 | 0.191972 | 0.746946 | 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 | 1 | 0 | 8 |
72c5b4f84eee7a4255278b49254946cd7d450872 | 265 | py | Python | pointnav_vo/rl/__init__.py | rxlqn/PointNav-VO | 6f7672482a3f1628a3b11025709518ee166e812b | [
"Apache-2.0"
] | 25 | 2021-08-28T04:06:31.000Z | 2022-03-02T23:03:13.000Z | pointnav_vo/rl/__init__.py | rxlqn/PointNav-VO | 6f7672482a3f1628a3b11025709518ee166e812b | [
"Apache-2.0"
] | 11 | 2021-10-01T07:03:11.000Z | 2022-03-26T02:28:44.000Z | pointnav_vo/rl/__init__.py | rxlqn/PointNav-VO | 6f7672482a3f1628a3b11025709518ee166e812b | [
"Apache-2.0"
] | 5 | 2021-09-01T09:05:42.000Z | 2022-01-27T10:11:37.000Z | from pointnav_vo.rl.policies.resnet_policy import PointNavResNetPolicy
from pointnav_vo.rl.common.base_trainer import BaseTrainer, BaseRLTrainer
from pointnav_vo.rl.ppo.ppo_trainer import PPOTrainer
from pointnav_vo.rl.ddppo.algo.ddppo_trainer import DDPPOTrainer
| 44.166667 | 73 | 0.879245 | 38 | 265 | 5.921053 | 0.5 | 0.213333 | 0.248889 | 0.284444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067925 | 265 | 5 | 74 | 53 | 0.910931 | 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 |
72c71b05894423e8e1a9d85cc2f7a117e8bc26f8 | 66,970 | py | Python | com/vmware/vcenter/trusted_infrastructure/trust_authority_clusters/attestation/tpm2_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/vcenter/trusted_infrastructure/trust_authority_clusters/attestation/tpm2_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/vcenter/trusted_infrastructure/trust_authority_clusters/attestation/tpm2_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2020 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.
#---------... | 42.439797 | 149 | 0.599448 | 7,126 | 66,970 | 5.467584 | 0.052484 | 0.043427 | 0.044043 | 0.054207 | 0.895976 | 0.880422 | 0.859093 | 0.854551 | 0.849263 | 0.834249 | 0 | 0.005588 | 0.307884 | 66,970 | 1,577 | 150 | 42.466709 | 0.834998 | 0.355906 | 0 | 0.739237 | 1 | 0.00984 | 0.283137 | 0.216657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03321 | false | 0 | 0.01722 | 0 | 0.092251 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
72df02610a6150426e0f34df5fb77b467dffa3a5 | 49,754 | py | Python | gnsstools/beidou/b2bi_strings.py | wumouyan/GNSS-SDR-Python | 61292c2ba151724538808663e2a6d0b048635401 | [
"MIT"
] | 2 | 2020-05-10T17:09:10.000Z | 2020-05-10T17:09:12.000Z | gnsstools/beidou/b2bi_strings.py | wumouyan/GNSS-SDR-Python | 61292c2ba151724538808663e2a6d0b048635401 | [
"MIT"
] | null | null | null | gnsstools/beidou/b2bi_strings.py | wumouyan/GNSS-SDR-Python | 61292c2ba151724538808663e2a6d0b048635401 | [
"MIT"
] | 2 | 2020-09-12T18:26:44.000Z | 2020-10-08T12:03:27.000Z | b2bi_strings = {
19: "fK4vQqsDwbXp/Hyjlc2EsVthXQCr/wdvCo5ZwrlpJB5eCoDdhJpZkkL+5XbQS5CqG0dz/bvErrAAQzAh2GYKIN7I/fswVYOFBoz5JcJbzv+c00ChoGMsuxzki1iTfyCVuXG8P5zg7FhiLtKUAlNusocKFGkL3dfwvbKNXGUgRGRdOpp5TCAFj7rZOgrMApz5lzdkxBlb4mKBqqdP2MFEIMsKEPE96rCSRvvuYddLTzQx42yoCg49L2yDyd7Fx2p36v3Khz8NtO9ozeigXYULYMzmojkHnkQ6Zi6gUvzd... | 1,554.8125 | 1,714 | 0.964586 | 1,541 | 49,754 | 31.142764 | 0.991564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161522 | 0.002412 | 49,754 | 31 | 1,715 | 1,604.967742 | 0.805375 | 0 | 0 | 0 | 0 | 0.935484 | 0.993789 | 0.993789 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
72e7b08740de4230b24cd577cdbba822aad6a844 | 133 | py | Python | core/platform/__init__.py | cmayer0087/dashzero | 73f53577556764f93eab4406c271faab06c03aa4 | [
"MIT"
] | 21 | 2020-02-21T21:35:10.000Z | 2022-03-01T13:24:19.000Z | core/platform/__init__.py | shpi/homeassistant-gui | d6f9212ddff70a4d229c3a5efc23364cc142a27a | [
"MIT"
] | 7 | 2020-06-06T10:03:22.000Z | 2021-10-30T15:13:54.000Z | core/platform/__init__.py | shpi/homeassistant-gui | d6f9212ddff70a4d229c3a5efc23364cc142a27a | [
"MIT"
] | 6 | 2020-02-21T20:57:03.000Z | 2022-02-15T07:26:29.000Z | from core.platform.baseplatform import BasePlatform
from core.platform.raspberry import Raspberry
from core.platform.shpi import Shpi | 44.333333 | 51 | 0.87218 | 18 | 133 | 6.444444 | 0.388889 | 0.206897 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 133 | 3 | 52 | 44.333333 | 0.95082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
72f1cd692ca1315295fa221fd7ddb8d0050e53ef | 559 | py | Python | Python/Tests/TestData/Grammar/LiteralsV2.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | Python/Tests/TestData/Grammar/LiteralsV2.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/Grammar/LiteralsV2.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | 1000L
u"unicode string"
U"unicode string"
ur"raw unicode"
UR"raw unicode"
Ur"raw unicode"
uR"raw unicode"
u"""unicode string"""
U"""unicode string"""
ur"""raw unicode"""
UR"""raw unicode"""
Ur"""raw unicode"""
uR"""raw unicode"""
u'unicode string'
U'unicode string'
ur'raw unicode'
UR'raw unicode'
Ur'raw unicode'
uR'raw... | 15.971429 | 35 | 0.676208 | 93 | 559 | 4.064516 | 0.236559 | 0.21164 | 0.507937 | 0.444444 | 0.806878 | 0.806878 | 0.806878 | 0.806878 | 0.806878 | 0.806878 | 0 | 0.095808 | 0.103757 | 559 | 34 | 36 | 16.441176 | 0.658683 | 0 | 0 | 0.235294 | 0 | 0 | 0.527697 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f406a59c7854e0f76c523713e34696a11b37d824 | 5,237 | py | Python | src/analysis/document_threshold_analysis.py | stevenzim/chiir-2019 | 8355b8de42c725130edfb7bace490ad34d351ca4 | [
"MIT"
] | null | null | null | src/analysis/document_threshold_analysis.py | stevenzim/chiir-2019 | 8355b8de42c725130edfb7bace490ad34d351ca4 | [
"MIT"
] | null | null | null | src/analysis/document_threshold_analysis.py | stevenzim/chiir-2019 | 8355b8de42c725130edfb7bace490ad34d351ca4 | [
"MIT"
] | null | null | null | """Code below can be used to extract some simple descriptive statistics about the documents the user will retrieve in
results page. e.g. if document is in top quartile of privace threats"""
# Example to get statistics for participant 'TOOO1'
from src import experiment
from src import annotations
task_list = ['T1'... | 25.057416 | 118 | 0.708421 | 728 | 5,237 | 4.57967 | 0.15522 | 0.172765 | 0.053989 | 0.064787 | 0.84793 | 0.845831 | 0.817037 | 0.807439 | 0.779244 | 0.779244 | 0 | 0.045055 | 0.152377 | 5,237 | 208 | 119 | 25.177885 | 0.706015 | 0.565591 | 0 | 0.78 | 0 | 0 | 0.172058 | 0.013127 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.16 | 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 |
be4df30d0912545535fbfd66402ba40d8133e32f | 12,947 | py | Python | st2tests/integration/mistral/test_wiring_cancel.py | nickbaum/st2 | 21c01c7c8c0f511ee75e3b2a3a03502472281058 | [
"Apache-2.0"
] | 1 | 2020-11-09T21:05:33.000Z | 2020-11-09T21:05:33.000Z | st2tests/integration/mistral/test_wiring_cancel.py | ellerbrock/st2 | b3a0d9f82053c1fd5adb616dc8331bad427cd11f | [
"Apache-2.0"
] | 3 | 2021-03-26T00:29:52.000Z | 2021-03-26T00:34:45.000Z | st2tests/integration/mistral/test_wiring_cancel.py | ellerbrock/st2 | b3a0d9f82053c1fd5adb616dc8331bad427cd11f | [
"Apache-2.0"
] | null | null | null | # Licensed to the StackStorm, Inc ('StackStorm') 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 use th... | 46.405018 | 98 | 0.709585 | 1,757 | 12,947 | 5.010814 | 0.103586 | 0.04373 | 0.048728 | 0.137324 | 0.849159 | 0.848364 | 0.848364 | 0.848364 | 0.848364 | 0.848364 | 0 | 0.004441 | 0.217348 | 12,947 | 278 | 99 | 46.571942 | 0.864403 | 0.341006 | 0 | 0.759399 | 0 | 0 | 0.063432 | 0.038817 | 0 | 0 | 0 | 0 | 0.12782 | 1 | 0.075188 | false | 0 | 0.045113 | 0 | 0.135338 | 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 |
be5186a8699ba3aa6f1e58fd9af1f8f088f3d1c2 | 350 | py | Python | data_loader/__init__.py | ghhabib2/mPower_Project | 3404bc84d0f756bb9fee0891c255307b23214d7c | [
"MIT"
] | null | null | null | data_loader/__init__.py | ghhabib2/mPower_Project | 3404bc84d0f756bb9fee0891c255307b23214d7c | [
"MIT"
] | null | null | null | data_loader/__init__.py | ghhabib2/mPower_Project | 3404bc84d0f756bb9fee0891c255307b23214d7c | [
"MIT"
] | null | null | null | from data_loader.data_loader import DataLoader
from data_loader.load_tapping_data import TappingDataLoader
from data_loader.load_memory_data import MemeoryDataLoader
from data_loader.load_walking_data import WalkingDataLoader
from data_loader.load_voice_data import VoiceDataLoader
from data_loader.load_accumulated_data... | 50 | 67 | 0.914286 | 47 | 350 | 6.446809 | 0.340426 | 0.231023 | 0.277228 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068571 | 350 | 6 | 68 | 58.333333 | 0.929448 | 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 |
be71b526a10d997ea52538027ee9ce51fcf32166 | 243 | py | Python | graph_weather/models/__init__.py | openclimatefix/graph_weather | e00b75418d62181d213fede2925bb100b4091f57 | [
"MIT"
] | 6 | 2022-02-25T09:27:57.000Z | 2022-03-28T22:26:56.000Z | graph_weather/models/__init__.py | openclimatefix/graph_weather | e00b75418d62181d213fede2925bb100b4091f57 | [
"MIT"
] | 11 | 2022-02-25T08:24:17.000Z | 2022-03-30T18:31:16.000Z | graph_weather/models/__init__.py | openclimatefix/graph_weather | e00b75418d62181d213fede2925bb100b4091f57 | [
"MIT"
] | null | null | null | """Models"""
from .layers.assimilator_decoder import AssimilatorDecoder
from .layers.assimilator_encoder import AssimilatorEncoder
from .layers.decoder import Decoder
from .layers.encoder import Encoder
from .layers.processor import Processor
| 34.714286 | 58 | 0.847737 | 28 | 243 | 7.285714 | 0.357143 | 0.245098 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 243 | 6 | 59 | 40.5 | 0.918919 | 0.024691 | 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 |
be91aae3692083c837250ea5fcb2595913e45b71 | 74 | py | Python | python/testData/addImport/newFromImportFromSameModule.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/addImport/newFromImportFromSameModule.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/addImport/newFromImportFromSameModule.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from mod import a
from mod import b
from mod import c, a
from mod import d | 18.5 | 20 | 0.77027 | 17 | 74 | 3.352941 | 0.411765 | 0.491228 | 0.912281 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 74 | 4 | 21 | 18.5 | 0.982759 | 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 |
beaffa07ee6169e99b3c7d3fd3ea2374d0ffa83d | 7,392 | bzl | Python | compatibility/versions.bzl | sofusmortensen/daml | 33fe0ca3d90affdb79e16f8b43cb751d9b7cdb9a | [
"Apache-2.0"
] | null | null | null | compatibility/versions.bzl | sofusmortensen/daml | 33fe0ca3d90affdb79e16f8b43cb751d9b7cdb9a | [
"Apache-2.0"
] | null | null | null | compatibility/versions.bzl | sofusmortensen/daml | 33fe0ca3d90affdb79e16f8b43cb751d9b7cdb9a | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# This file is autogenerated and should not be modified manually.
# Update versions/UpdateVersions.hs instead.
sdk_versions = [
"1.0.0",
"1.0.1",
"1.1.1",
"1.2.0",
... | 56.861538 | 100 | 0.77151 | 387 | 7,392 | 14.573643 | 0.330749 | 0.006383 | 0.005319 | 0.02234 | 0.153014 | 0.138475 | 0.07961 | 0.07961 | 0.072163 | 0.039184 | 0 | 0.489378 | 0.133929 | 7,392 | 129 | 101 | 57.302326 | 0.391596 | 0.032197 | 0 | 0.28 | 1 | 0 | 0.774094 | 0.679955 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bec2a13b68868423b30d4224bd6f231aeb978464 | 193 | py | Python | spiketag/analysis/__init__.py | chongxi/spiketag | d27bc9553936c5f9c8a5b71dedcf701987a5b77b | [
"BSD-3-Clause"
] | 4 | 2018-04-23T18:08:39.000Z | 2020-03-10T19:06:28.000Z | spiketag/analysis/__init__.py | chongxi/spiketag | d27bc9553936c5f9c8a5b71dedcf701987a5b77b | [
"BSD-3-Clause"
] | 69 | 2017-02-17T19:27:52.000Z | 2022-03-30T04:06:53.000Z | spiketag/analysis/__init__.py | chongxi/spiketag | d27bc9553936c5f9c8a5b71dedcf701987a5b77b | [
"BSD-3-Clause"
] | 5 | 2017-02-01T16:11:32.000Z | 2021-02-05T20:10:43.000Z | from .place_field import place_field
from .place_field import info_bits, info_sparcity
from .core import *
from .decoder import Decoder, NaiveBayes, load_decoder
from .core import spike_binning | 38.6 | 54 | 0.839378 | 29 | 193 | 5.344828 | 0.448276 | 0.193548 | 0.180645 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11399 | 193 | 5 | 55 | 38.6 | 0.906433 | 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 |
fe62ddfa5f0ed189462c015e81d130ef5ff3fe42 | 2,657 | py | Python | code/turn-on-access-service.py | fogies/docker-android-accessibility-capture | f07f675325dbeedbea4d3ef824f0558b61b29738 | [
"Apache-2.0"
] | null | null | null | code/turn-on-access-service.py | fogies/docker-android-accessibility-capture | f07f675325dbeedbea4d3ef824f0558b61b29738 | [
"Apache-2.0"
] | null | null | null | code/turn-on-access-service.py | fogies/docker-android-accessibility-capture | f07f675325dbeedbea4d3ef824f0558b61b29738 | [
"Apache-2.0"
] | null | null | null | from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
#import com.android.provider.Settings
import time, sys
device = MonkeyRunner.waitForConnection()
count=1
logsdir=sys.argv[1]
runComponent='com.android.settings/.Settings'
device.startActivity(component=runComponent)
time.sleep(6)
screenShot = device.takeS... | 42.854839 | 91 | 0.765149 | 329 | 2,657 | 6.091185 | 0.12766 | 0.167665 | 0.191617 | 0.231537 | 0.881737 | 0.881737 | 0.881737 | 0.881737 | 0.881737 | 0.881737 | 0 | 0.009091 | 0.047798 | 2,657 | 62 | 92 | 42.854839 | 0.783004 | 0.013549 | 0 | 0.862069 | 0 | 0 | 0.294163 | 0.011446 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.034483 | null | null | 0.137931 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.