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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b9898f50f0778509377bedca834b741159dd1fa9 | 45,872 | py | Python | openprocurement/audit/monitoring/tests/test_document.py | ProzorroUKR/openprocurement.audit.api | a17836e29bca28d9151c091e1d2e42de9f70b949 | [
"Apache-2.0"
] | 1 | 2018-05-21T08:14:55.000Z | 2018-05-21T08:14:55.000Z | openprocurement/audit/monitoring/tests/test_document.py | ProzorroUKR/openprocurement.audit.api | a17836e29bca28d9151c091e1d2e42de9f70b949 | [
"Apache-2.0"
] | 59 | 2018-05-18T02:09:47.000Z | 2019-05-29T12:10:06.000Z | openprocurement/audit/monitoring/tests/test_document.py | ProzorroUKR/openprocurement.audit.api | a17836e29bca28d9151c091e1d2e42de9f70b949 | [
"Apache-2.0"
] | 1 | 2020-06-15T11:04:25.000Z | 2020-06-15T11:04:25.000Z | # -*- coding: utf-8 -*-
import unittest
from hashlib import sha512
from unittest import mock
from openprocurement.audit.monitoring.tests.base import BaseWebTest, DSWebTestMixin
from openprocurement.audit.monitoring.tests.test_elimination import MonitoringEliminationBaseTest
from openprocurement.audit.monitoring.tests.... | 44.88454 | 121 | 0.635159 | 4,779 | 45,872 | 5.896003 | 0.036619 | 0.093693 | 0.124889 | 0.072612 | 0.951805 | 0.943074 | 0.925436 | 0.922384 | 0.918231 | 0.911985 | 0 | 0.01283 | 0.21839 | 45,872 | 1,021 | 122 | 44.928501 | 0.773052 | 0.000458 | 0 | 0.838253 | 0 | 0 | 0.188881 | 0.076708 | 0 | 0 | 0 | 0 | 0.265643 | 1 | 0.051948 | false | 0.043684 | 0.007084 | 0 | 0.067296 | 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 |
b9e1a8631ef45df8756a5f1a9021db9b96d6145f | 20,203 | py | Python | src/adaptivehmc.py | modichirag/hmc | e7c7931e999d0ffdee506662d0f095efdc7dc152 | [
"MIT"
] | null | null | null | src/adaptivehmc.py | modichirag/hmc | e7c7931e999d0ffdee506662d0f095efdc7dc152 | [
"MIT"
] | null | null | null | src/adaptivehmc.py | modichirag/hmc | e7c7931e999d0ffdee506662d0f095efdc7dc152 | [
"MIT"
] | null | null | null | import numpy as np
class HMC():
def __init__(self, log_prob, grad_log_prob, invmetric_diag=None):
self.log_prob, self.grad_log_prob = log_prob, grad_log_prob
self.V = lambda x : self.log_prob(x)*-1.
#self.V_g = lambda x : self.grad_log_prob(x)*-1.
self.leapcount, self.Vgcoun... | 38.703065 | 180 | 0.513835 | 2,991 | 20,203 | 3.405884 | 0.09328 | 0.013743 | 0.019142 | 0.008835 | 0.822912 | 0.788456 | 0.769706 | 0.757829 | 0.7433 | 0.721508 | 0 | 0.046162 | 0.341632 | 20,203 | 521 | 181 | 38.777351 | 0.71972 | 0.198782 | 0 | 0.722054 | 0 | 0 | 0.01466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057402 | false | 0 | 0.015106 | 0.006042 | 0.166163 | 0.02719 | 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 |
b9f17cb5e7899351122967abf90e9105830e5b0f | 312,471 | py | Python | Tools/mavlink_px4.py | wms124/PX4_1.4.1_Back-up | 9d6d903a8f46346281ae11104c47f1904da05e37 | [
"BSD-3-Clause"
] | 4,224 | 2015-01-02T11:51:02.000Z | 2020-10-27T23:42:28.000Z | Tools/mavlink_px4.py | wms124/PX4_1.4.1_Back-up | 9d6d903a8f46346281ae11104c47f1904da05e37 | [
"BSD-3-Clause"
] | 11,736 | 2015-01-01T11:59:16.000Z | 2020-10-28T17:13:38.000Z | Tools/mavlink_px4.py | wms124/PX4_1.4.1_Back-up | 9d6d903a8f46346281ae11104c47f1904da05e37 | [
"BSD-3-Clause"
] | 11,850 | 2015-01-02T14:54:47.000Z | 2020-10-28T16:42:47.000Z | '''
MAVLink protocol implementation (auto-generated by mavgen.py)
Generated from: common.xml
Note: this file has been auto-generated. DO NOT EDIT
'''
import struct, array, mavutil, time, json
WIRE_PROTOCOL_VERSION = "1.0"
# some base types from mavlink_types.h
MAVLINK_TYPE_CHAR = 0
MAVLINK_TYPE_UINT8_T = 1
M... | 59.303663 | 579 | 0.58319 | 37,274 | 312,471 | 4.644685 | 0.042496 | 0.019824 | 0.017606 | 0.018715 | 0.859622 | 0.808134 | 0.769289 | 0.736625 | 0.713319 | 0.692721 | 0 | 0.031636 | 0.346509 | 312,471 | 5,268 | 580 | 59.31492 | 0.816202 | 0.423617 | 0 | 0.323996 | 1 | 0 | 0.049116 | 0.005481 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169935 | false | 0.003735 | 0.000467 | 0.044351 | 0.343137 | 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 |
6a07cfcee599ccf0eab0d4eca12139c8a2272c22 | 70,751 | py | Python | legacy/functional_code/backprojection/backprojection.py | jjimmykang/bwsi-backprojection | 440e21f90e2a1d0d1c28bfd9a0faaf97129378a5 | [
"MIT"
] | 1 | 2020-02-09T19:09:27.000Z | 2020-02-09T19:09:27.000Z | legacy/functional_code/backprojection/backprojection.py | jjimmykang/bwsi-backprojection | 440e21f90e2a1d0d1c28bfd9a0faaf97129378a5 | [
"MIT"
] | null | null | null | legacy/functional_code/backprojection/backprojection.py | jjimmykang/bwsi-backprojection | 440e21f90e2a1d0d1c28bfd9a0faaf97129378a5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from pytransform import pyarmor_runtime
pyarmor_runtime()
__pyarmor__(__name__, __file__, b'\xe4\x50\x8c\x64\x26\x42\xd6\x01\x92\x66\xef\x19\xf6\xf6\xdc\x27\x16\xfe\x75\x04\x29\xbd\xcc\xc6\x42\x82\x80\x80\x4c\x5b\xbe\xad\x13\xdf\xc8\x81\x97\xb7\xe7\x2d\xfd\xc3\xe1\x8e\x68\xc9\xc6\xdd\x07\x90\x63\x... | 17,687.75 | 70,671 | 0.750081 | 17,674 | 70,751 | 3.001867 | 0.01522 | 0.000452 | 0.000792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311658 | 0.000141 | 70,751 | 4 | 70,671 | 17,687.75 | 0.438331 | 0.000283 | 0 | 0 | 0 | 0.333333 | 0.9986 | 0.9986 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
6a33a2009362d494b419ac787df1773780479897 | 106 | py | Python | expdj/apps/main/context_processors.py | vsoch/expfactory-docker-dev | a2d9097db3d57a5c5303c2bc281cb4361af25ec4 | [
"MIT"
] | null | null | null | expdj/apps/main/context_processors.py | vsoch/expfactory-docker-dev | a2d9097db3d57a5c5303c2bc281cb4361af25ec4 | [
"MIT"
] | null | null | null | expdj/apps/main/context_processors.py | vsoch/expfactory-docker-dev | a2d9097db3d57a5c5303c2bc281cb4361af25ec4 | [
"MIT"
] | 1 | 2021-04-22T03:43:46.000Z | 2021-04-22T03:43:46.000Z | from expdj.settings import DOMAIN_NAME
def domain_processor(request):
return {'domain': DOMAIN_NAME}
| 21.2 | 38 | 0.783019 | 14 | 106 | 5.714286 | 0.714286 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 4 | 39 | 26.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
e015e5ff95b53ce5e6febf3c0642346436cc1b16 | 71,871 | py | Python | qmeq/tests/test_leadstun.py | gedaskir/test-deploy-qmeq | 47f1176df5341a0f251657c299a4a98aaac40833 | [
"BSD-2-Clause"
] | 16 | 2016-12-14T09:21:16.000Z | 2022-02-23T08:01:45.000Z | qmeq/tests/test_leadstun.py | gedaskir/test-deploy-qmeq | 47f1176df5341a0f251657c299a4a98aaac40833 | [
"BSD-2-Clause"
] | 3 | 2018-02-03T19:13:01.000Z | 2021-06-09T14:10:28.000Z | qmeq/tests/test_leadstun.py | gedaskir/test-deploy-qmeq | 47f1176df5341a0f251657c299a4a98aaac40833 | [
"BSD-2-Clause"
] | 7 | 2017-07-09T04:46:42.000Z | 2021-04-26T16:27:55.000Z | from numpy.linalg import norm
from qmeq.indexing import StateIndexing
from qmeq.leadstun import *
EPS = 1e-14
class ParametersDoubleDotSpinful(object):
def __init__(self):
tL, tR = 2.0, 1.0
self.tleads = {(0,0): tL, (2,2): tL,
(1,1): tR, (3,3): tR,
(... | 303.253165 | 7,347 | 0.503708 | 20,758 | 71,871 | 1.740726 | 0.007563 | 0.871977 | 1.212653 | 1.500526 | 0.969807 | 0.962805 | 0.957159 | 0.945647 | 0.936652 | 0.928488 | 0 | 0.517364 | 0.166242 | 71,871 | 236 | 7,348 | 304.538136 | 0.085643 | 0.002004 | 0 | 0.40796 | 0 | 0 | 0.001422 | 0 | 0 | 0 | 0 | 0 | 0.343284 | 1 | 0.039801 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
e017feebffe8196d8c226e1dcb046468918a3fc6 | 29,671 | py | Python | test/test_dhcp6.py | pogobanane/vpp-fork | fccc95ae06e98a1605c4600b1e441811b67abfa8 | [
"Apache-2.0"
] | 2 | 2019-04-03T10:09:09.000Z | 2020-09-23T08:56:24.000Z | test/test_dhcp6.py | pogobanane/vpp-fork | fccc95ae06e98a1605c4600b1e441811b67abfa8 | [
"Apache-2.0"
] | 2 | 2021-03-20T05:38:00.000Z | 2021-06-02T03:49:49.000Z | test/test_dhcp6.py | AbduSami-bK/vpp | ad3f68b9d8c27206ab5dfbf129352a1c844a7004 | [
"Apache-2.0"
] | 1 | 2019-03-12T18:19:23.000Z | 2019-03-12T18:19:23.000Z | from socket import AF_INET6
from scapy.layers.dhcp6 import DHCP6_Advertise, DHCP6OptClientId, \
DHCP6OptStatusCode, DHCP6OptPref, DHCP6OptIA_PD, DHCP6OptIAPrefix, \
DHCP6OptServerId, DHCP6_Solicit, DHCP6_Reply, DHCP6_Request, DHCP6_Renew, \
DHCP6_Rebind, DUID_LL, DHCP6_Release, DHCP6OptElapsedTime, DHCP6Op... | 37.797452 | 79 | 0.5927 | 3,583 | 29,671 | 4.639967 | 0.070332 | 0.026105 | 0.031759 | 0.021654 | 0.865684 | 0.847459 | 0.826887 | 0.787609 | 0.770045 | 0.738286 | 0 | 0.03936 | 0.31155 | 29,671 | 784 | 80 | 37.845663 | 0.774514 | 0.036264 | 0 | 0.723051 | 0 | 0 | 0.016438 | 0 | 0.00995 | 0 | 0 | 0 | 0.114428 | 1 | 0.091211 | false | 0 | 0.011609 | 0.001658 | 0.116086 | 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 |
e02aa8e977f63bd646308a30ce83ae2d817d6628 | 18,921 | py | Python | alastria_identity/services/contracts.py | alejandroalffer/alastria-identity-lib-py | 4db82fc905fcfa48749cf6908a8dcfb462a5ff81 | [
"MIT"
] | 1 | 2021-04-22T21:22:15.000Z | 2021-04-22T21:22:15.000Z | alastria_identity/services/contracts.py | alejandroalffer/alastria-identity-lib-py | 4db82fc905fcfa48749cf6908a8dcfb462a5ff81 | [
"MIT"
] | null | null | null | alastria_identity/services/contracts.py | alejandroalffer/alastria-identity-lib-py | 4db82fc905fcfa48749cf6908a8dcfb462a5ff81 | [
"MIT"
] | null | null | null | from web3 import Web3
from web3.contract import Contract
IDENTITY_MANAGER_ADDRESS = '0xbd4a2c84edb97be5beff7cd341bd63567e73f8c9'
PUBLIC_KEY_REGISTRY_ADDRESS = '0x4958091227bbfbe1fdfc0fd79fc44844dc014ca0'
PRESENTATION_REGISTRY_ADDRESS = '0x54d1dbfacada17ff39f2bac08e05fbdb4659f671'
CREDENTIAL_REGISTRY_ADDRESS = '0x7bbca... | 430.022727 | 6,734 | 0.674859 | 1,818 | 18,921 | 6.972497 | 0.088559 | 0.070054 | 0.157621 | 0.107999 | 0.828653 | 0.79828 | 0.790549 | 0.772562 | 0.749606 | 0.735879 | 0 | 0.010978 | 0.017864 | 18,921 | 43 | 6,735 | 440.023256 | 0.671151 | 0.01131 | 0 | 0.3125 | 0 | 0 | 0.598471 | 0.067964 | 0 | 0 | 0.008983 | 0.023256 | 0 | 1 | 0.15625 | false | 0 | 0.0625 | 0.15625 | 0.40625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 10 |
e02cc845d08bd7359c4969dc11c28e539667641a | 25,613 | py | Python | data_processing/AWG_and_Alazar/old/Quick3StateProcess.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | data_processing/AWG_and_Alazar/old/Quick3StateProcess.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | data_processing/AWG_and_Alazar/old/Quick3StateProcess.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 14 11:11:55 2022
@author: Hatlab-RRK
Purpose: create a neat, almost-executable file that can quickly plot a 3-state pulse file, and have the option to do just histograms,
or additionally try to fit using majority vote and give classification accuracy
"""
from data_proce... | 93.138182 | 410 | 0.860227 | 5,521 | 25,613 | 3.371128 | 0.051621 | 0.035192 | 0.056308 | 0.070385 | 0.905599 | 0.897647 | 0.883946 | 0.878466 | 0.872179 | 0.868365 | 0 | 0.201483 | 0.036349 | 25,613 | 275 | 411 | 93.138182 | 0.552589 | 0.20556 | 0 | 0.051613 | 0 | 0.677419 | 0.860185 | 0.857474 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025806 | 0 | 0.025806 | 0.019355 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 10 |
e06be6bc35d880acc32e9542139aac8505ea92e4 | 51,466 | py | Python | envcopy.py | chuiyangmeng96/GNN_DRL_Cache | 5e34b2933c5fcc428f18d391fc555c38041a53a3 | [
"MIT"
] | 1 | 2022-03-21T14:25:15.000Z | 2022-03-21T14:25:15.000Z | envcopy.py | chuiyangmeng96/GNN_DRL_Cache | 5e34b2933c5fcc428f18d391fc555c38041a53a3 | [
"MIT"
] | 1 | 2021-08-11T10:07:12.000Z | 2021-08-11T10:07:12.000Z | envcopy.py | chuiyangmeng96/GNN_DRL_Cache | 5e34b2933c5fcc428f18d391fc555c38041a53a3 | [
"MIT"
] | null | null | null | import numpy as np
import math
import time
import random
class Environ:
def __init__(self):
self.length = 500
self.vehicle_num = 500
self.RSU_num = 4
self.RSUposition = np.array([[250, 0], [-250, 0], [0, -250], [0, 250]])
self.MBSposition = np.array([0, 0])
self.del... | 61.709832 | 164 | 0.469766 | 6,574 | 51,466 | 3.574536 | 0.039702 | 0.186136 | 0.255585 | 0.094727 | 0.855483 | 0.844078 | 0.821439 | 0.796119 | 0.771565 | 0.75982 | 0 | 0.049678 | 0.411359 | 51,466 | 834 | 165 | 61.709832 | 0.725994 | 0.122702 | 0 | 0.729252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019048 | false | 0 | 0.005442 | 0 | 0.043537 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0eeb3d35a3c203ebc4e3a9d780cc42de6abeb580 | 37 | py | Python | Codeforces Problems/Add Odd or Subtract Even/Add Odd or Subtract Even2.py | Social-CodePlat/Comptt-Coding-Solutions | 240732e6c1a69e1124064bff4a27a5785a14b021 | [
"MIT"
] | null | null | null | Codeforces Problems/Add Odd or Subtract Even/Add Odd or Subtract Even2.py | Social-CodePlat/Comptt-Coding-Solutions | 240732e6c1a69e1124064bff4a27a5785a14b021 | [
"MIT"
] | 1 | 2020-10-13T20:57:34.000Z | 2020-10-13T20:57:34.000Z | Codeforces Problems/Add Odd or Subtract Even/Add Odd or Subtract Even2.py | Social-CodePlat/Comptt-Coding-Solutions | 240732e6c1a69e1124064bff4a27a5785a14b021 | [
"MIT"
] | null | null | null | b=13
print(b and((b<0)&b|(b>0)&~b)+1) | 18.5 | 32 | 0.513514 | 12 | 37 | 1.583333 | 0.5 | 0.210526 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.054054 | 37 | 2 | 32 | 18.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
0eeed55faef0079dce70ac44f66df5f39a80bcdb | 49,229 | py | Python | test_autoarray/unit/structures/test_arrays.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | test_autoarray/unit/structures/test_arrays.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | test_autoarray/unit/structures/test_arrays.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | import os
import numpy as np
import pytest
import shutil
import autoarray as aa
from autoarray.structures import arrays
from autoarray import exc
test_data_dir = "{}/../test_files/array/".format(
os.path.dirname(os.path.realpath(__file__))
)
class TestArrayAPI:
class TestManual:
def test__array__ma... | 40.219771 | 93 | 0.475939 | 7,392 | 49,229 | 3.00717 | 0.021239 | 0.041927 | 0.036304 | 0.036529 | 0.963606 | 0.95029 | 0.946826 | 0.941338 | 0.93324 | 0.920239 | 0 | 0.101585 | 0.352719 | 49,229 | 1,223 | 94 | 40.252657 | 0.596014 | 0 | 0 | 0.739563 | 0 | 0 | 0.007008 | 0.001889 | 0 | 0 | 0 | 0 | 0.387674 | 1 | 0.030815 | false | 0 | 0.006958 | 0 | 0.05169 | 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 |
1601a24de6348ad66a9381c0effa40ae2e60256b | 24,190 | py | Python | mpf/tests/test_BallHold.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 163 | 2015-01-25T02:19:50.000Z | 2022-03-26T12:00:28.000Z | mpf/tests/test_BallHold.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 1,086 | 2015-03-23T19:53:17.000Z | 2022-03-24T20:46:11.000Z | mpf/tests/test_BallHold.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 148 | 2015-01-28T02:31:39.000Z | 2022-03-22T13:54:01.000Z | from mpf.tests.MpfTestCase import MpfTestCase
from unittest.mock import MagicMock
class TestBallHold(MpfTestCase):
def get_config_file(self):
return 'test_ball_holds.yaml'
def get_machine_path(self):
return 'tests/machine_files/ball_holds/'
def _missing_ball(self, **kwargs):
del... | 37.73791 | 113 | 0.683423 | 3,082 | 24,190 | 5.093446 | 0.06684 | 0.088992 | 0.063065 | 0.075678 | 0.891642 | 0.86183 | 0.841763 | 0.80781 | 0.792967 | 0.766085 | 0 | 0.020912 | 0.221124 | 24,190 | 640 | 114 | 37.796875 | 0.812271 | 0.074163 | 0 | 0.835955 | 0 | 0 | 0.090376 | 0.037664 | 0 | 0 | 0 | 0 | 0.404494 | 1 | 0.035955 | false | 0 | 0.004494 | 0.011236 | 0.05618 | 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 |
16145998ba43092217546fe268221a2b4d946bcd | 68,579 | py | Python | lib/mirror/cnn_wrapper/resnet.py | Yzhbuaa/DAGSfM | 321f9bf24456f2e68aa4ea3d7a59c39040fe1f1f | [
"BSD-3-Clause"
] | 255 | 2018-12-14T05:59:29.000Z | 2020-11-04T12:15:32.000Z | lib/mirror/cnn_wrapper/resnet.py | Yzhbuaa/DAGSfM | 321f9bf24456f2e68aa4ea3d7a59c39040fe1f1f | [
"BSD-3-Clause"
] | 35 | 2018-12-25T03:02:48.000Z | 2020-11-19T03:33:25.000Z | lib/mirror/cnn_wrapper/resnet.py | Yzhbuaa/DAGSfM | 321f9bf24456f2e68aa4ea3d7a59c39040fe1f1f | [
"BSD-3-Clause"
] | 54 | 2018-12-14T06:09:21.000Z | 2020-11-21T08:29:31.000Z | from cnn_wrapper.network import Network
class ResNet50(Network):
def setup(self):
(self.feed('data')
.conv(7, 64, 2, padding=3, relu=False, name='conv1')
.batch_normalization(relu=True, scale=True, center=True, name='bn_conv1')
.max_pool(3, 2, name='pool1')
... | 58.117797 | 93 | 0.601642 | 8,094 | 68,579 | 4.943662 | 0.02125 | 0.07085 | 0.102339 | 0.148148 | 0.953341 | 0.951717 | 0.950817 | 0.946944 | 0.908582 | 0.908582 | 0 | 0.08765 | 0.252366 | 68,579 | 1,179 | 94 | 58.167091 | 0.692776 | 0 | 0 | 0.754717 | 0 | 0 | 0.195555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00283 | false | 0 | 0.000943 | 0 | 0.006604 | 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 |
16648173ad23a422483b74d64cbfe94477a921fe | 33,305 | py | Python | inventory/categories/api/tests/test_categories_api.py | cnobile2012/inventory | bc09ccdead39a5cd758088dbfe5c56dec43c7e29 | [
"MIT"
] | 10 | 2015-02-16T17:12:44.000Z | 2021-06-04T18:14:01.000Z | inventory/categories/api/tests/test_categories_api.py | cnobile2012/inventory | bc09ccdead39a5cd758088dbfe5c56dec43c7e29 | [
"MIT"
] | 1 | 2021-09-20T01:17:38.000Z | 2021-09-20T01:17:50.000Z | inventory/categories/api/tests/test_categories_api.py | cnobile2012/inventory | bc09ccdead39a5cd758088dbfe5c56dec43c7e29 | [
"MIT"
] | 5 | 2015-09-09T02:01:33.000Z | 2021-05-29T09:09:14.000Z | # -*- coding: utf-8 -*-
#
# inventory/categories/api/tests/test_categories_api.py
#
from django.contrib.auth import get_user_model
from rest_framework.reverse import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from inventory.categories.models import Category
from inventory.c... | 43.707349 | 99 | 0.615193 | 3,735 | 33,305 | 5.255957 | 0.067202 | 0.035862 | 0.046865 | 0.042789 | 0.869085 | 0.85854 | 0.843003 | 0.83251 | 0.800163 | 0.761347 | 0 | 0.008364 | 0.264074 | 33,305 | 761 | 100 | 43.764783 | 0.792574 | 0.121603 | 0 | 0.788151 | 0 | 0 | 0.133967 | 0 | 0 | 0 | 0 | 0 | 0.044883 | 1 | 0.064632 | false | 0.001795 | 0.012567 | 0 | 0.087971 | 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 |
16b662960cce6b499c7cf16d11016419ea30ac8d | 4,472 | py | Python | tests/application_directories_test.py | mwtoews/absolufy-imports | e8d184d59900f29497bf9998c947d8fe43b7d8e3 | [
"MIT"
] | 76 | 2021-02-28T21:34:31.000Z | 2022-03-23T21:11:27.000Z | tests/application_directories_test.py | mwtoews/absolufy-imports | e8d184d59900f29497bf9998c947d8fe43b7d8e3 | [
"MIT"
] | 39 | 2021-03-01T16:47:44.000Z | 2022-03-21T21:48:49.000Z | tests/application_directories_test.py | mwtoews/absolufy-imports | e8d184d59900f29497bf9998c947d8fe43b7d8e3 | [
"MIT"
] | 6 | 2021-03-02T20:23:48.000Z | 2022-01-20T08:44:53.000Z | import os
import shutil
from absolufy_imports import main
def test_main(tmpdir):
# make src/mypackage/mysubpackage/bar.py
os.mkdir(os.path.join(str(tmpdir), 'src'))
os.mkdir(os.path.join(str(tmpdir), 'src', 'mypackage'))
os.mkdir(os.path.join(str(tmpdir), 'src', 'mypackage', 'mysubpackage'))
tmp_... | 29.615894 | 75 | 0.542263 | 523 | 4,472 | 4.592734 | 0.099426 | 0.279767 | 0.09159 | 0.097419 | 0.965029 | 0.965029 | 0.965029 | 0.965029 | 0.965029 | 0.965029 | 0 | 0.001947 | 0.311047 | 4,472 | 150 | 76 | 29.813333 | 0.77767 | 0.032871 | 0 | 0.842105 | 0 | 0 | 0.338426 | 0.100463 | 0 | 0 | 0 | 0 | 0.030075 | 1 | 0.015038 | false | 0 | 0.203008 | 0 | 0.218045 | 0.06015 | 0 | 0 | 0 | null | 1 | 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 | 8 |
bc474e563d51c8f57624ed4c2cdc1cece6ae2dcf | 637 | py | Python | jats_vae/jats_cls_types.py | kiwi0fruit/jats-semi-supervised-pytorch | 67e9bb85f09f8ef02e17e495784d1d9a71c3adec | [
"MIT"
] | null | null | null | jats_vae/jats_cls_types.py | kiwi0fruit/jats-semi-supervised-pytorch | 67e9bb85f09f8ef02e17e495784d1d9a71c3adec | [
"MIT"
] | null | null | null | jats_vae/jats_cls_types.py | kiwi0fruit/jats-semi-supervised-pytorch | 67e9bb85f09f8ef02e17e495784d1d9a71c3adec | [
"MIT"
] | null | null | null | from abc import abstractmethod
from torch import Tensor
from torch.nn import Module
class ModuleXYToX(Module):
@abstractmethod
def forward_(self, x: Tensor, y: Tensor) -> Tensor:
raise NotImplementedError
def forward(self, x: Tensor, y: Tensor) -> Tensor: # pylint: disable=arguments-differ
... | 28.954545 | 95 | 0.690738 | 81 | 637 | 5.382716 | 0.296296 | 0.091743 | 0.12844 | 0.137615 | 0.756881 | 0.756881 | 0.756881 | 0.756881 | 0.756881 | 0.518349 | 0 | 0 | 0.204082 | 637 | 21 | 96 | 30.333333 | 0.859961 | 0.102041 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.2 | 0.133333 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bc5389889b3a1673e81e87b6e1f89d2f3e4c5bcc | 44,776 | py | Python | sdk/lusid/api/property_definitions_api.py | bogdanLicaFinbourne/lusid-sdk-python-preview | f0f91f992e0417733c4c8abd2674d080a52b6890 | [
"MIT"
] | null | null | null | sdk/lusid/api/property_definitions_api.py | bogdanLicaFinbourne/lusid-sdk-python-preview | f0f91f992e0417733c4c8abd2674d080a52b6890 | [
"MIT"
] | null | null | null | sdk/lusid/api/property_definitions_api.py | bogdanLicaFinbourne/lusid-sdk-python-preview | f0f91f992e0417733c4c8abd2674d080a52b6890 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
LUSID API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.11.2863
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility lib... | 54.671551 | 268 | 0.639986 | 5,222 | 44,776 | 5.259862 | 0.051704 | 0.041359 | 0.066261 | 0.023883 | 0.965122 | 0.95926 | 0.954454 | 0.939782 | 0.932137 | 0.925948 | 0 | 0.01568 | 0.280731 | 44,776 | 818 | 269 | 54.738386 | 0.837173 | 0.435993 | 0 | 0.741688 | 1 | 0.046036 | 0.291455 | 0.105391 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033248 | false | 0 | 0.012788 | 0 | 0.079284 | 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 |
bcaae85b57974a66cc3e1d060a6307b6dddec2be | 2,519 | py | Python | tests/test_parser.py | harukaeru/KaeruParser | 45f37c5503b5d2557b8252e6ac4694b4182aef55 | [
"BSD-3-Clause"
] | 1 | 2017-08-18T07:29:31.000Z | 2017-08-18T07:29:31.000Z | tests/test_parser.py | harukaeru/KaeruParser | 45f37c5503b5d2557b8252e6ac4694b4182aef55 | [
"BSD-3-Clause"
] | null | null | null | tests/test_parser.py | harukaeru/KaeruParser | 45f37c5503b5d2557b8252e6ac4694b4182aef55 | [
"BSD-3-Clause"
] | 2 | 2017-05-21T15:49:38.000Z | 2020-07-03T10:04:38.000Z | import pytest
from kaeru_parser import Compiler
class TestClass:
def setup_method(self, method):
self.compiler = Compiler()
def test_A(self):
text = open('tests/A.txt', 'r').read()
self.compiler.compile(text)
entity_table = self.compiler.entity_table
home = entity_tab... | 38.753846 | 74 | 0.626042 | 329 | 2,519 | 4.653495 | 0.151976 | 0.158067 | 0.14631 | 0.219464 | 0.872632 | 0.872632 | 0.872632 | 0.872632 | 0.872632 | 0.872632 | 0 | 0.013292 | 0.223501 | 2,519 | 64 | 75 | 39.359375 | 0.769427 | 0 | 0 | 0.730769 | 0 | 0 | 0.086145 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.096154 | false | 0 | 0.038462 | 0 | 0.153846 | 0.019231 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bcc8bfce670cee9b04bfd6cf876bc4ec198dc330 | 1,242 | py | Python | tests/helpers/misc/test_version_is_newer_than_version.py | traibnn/integration | cf5920a677fdaa8408074e533371141828b0b30f | [
"MIT"
] | 1 | 2021-05-22T04:35:29.000Z | 2021-05-22T04:35:29.000Z | tests/helpers/misc/test_version_is_newer_than_version.py | traibnn/integration | cf5920a677fdaa8408074e533371141828b0b30f | [
"MIT"
] | 45 | 2021-07-21T13:32:44.000Z | 2022-03-28T06:15:40.000Z | tests/helpers/misc/test_version_is_newer_than_version.py | traibnn/integration | cf5920a677fdaa8408074e533371141828b0b30f | [
"MIT"
] | null | null | null | """Helpers: Misc: version_left_higher_then_right."""
# pylint: disable=missing-docstring
from custom_components.hacs.helpers.functions.misc import version_left_higher_then_right
def test_basic():
assert version_left_higher_then_right("1.0.0", "0.9.9")
assert version_left_higher_then_right("1", "0.9.9")
as... | 42.827586 | 88 | 0.729469 | 226 | 1,242 | 3.668142 | 0.154867 | 0.053076 | 0.369119 | 0.455971 | 0.78649 | 0.722557 | 0.721351 | 0.721351 | 0.629674 | 0.533173 | 0 | 0.095195 | 0.111916 | 1,242 | 28 | 89 | 44.357143 | 0.656392 | 0.065217 | 0 | 0 | 0 | 0 | 0.154978 | 0 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0.15 | true | 0 | 0.05 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c0c044816b32d6e89ad4afd2eccdce0534e40a5 | 21,116 | py | Python | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum150/Output/Histos/MadAnalysis5job_0/selection_15.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum150/Output/Histos/MadAnalysis5job_0/selection_15.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum150/Output/Histos/MadAnalysis5job_0/selection_15.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_15():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.li... | 108.845361 | 1,068 | 0.716281 | 4,670 | 21,116 | 3.082655 | 0.124197 | 0.286607 | 0.416366 | 0.537649 | 0.591206 | 0.58808 | 0.58808 | 0.571826 | 0.569186 | 0.56731 | 0 | 0.397483 | 0.07795 | 21,116 | 193 | 1,069 | 109.409326 | 0.341911 | 0.06398 | 0 | 0.185841 | 0 | 0.00885 | 0.051701 | 0.010289 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c697e033ab09b8a2927c014191de0022d675382 | 31,804 | py | Python | azure-mgmt-web/azure/mgmt/web/operations/managed_hosting_environments_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | 1 | 2017-10-29T15:14:35.000Z | 2017-10-29T15:14:35.000Z | azure-mgmt-web/azure/mgmt/web/operations/managed_hosting_environments_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/managed_hosting_environments_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 46.294032 | 165 | 0.657213 | 3,288 | 31,804 | 6.135645 | 0.061436 | 0.037177 | 0.03792 | 0.032121 | 0.89769 | 0.890998 | 0.890304 | 0.8793 | 0.868593 | 0.866313 | 0 | 0.003814 | 0.249843 | 31,804 | 686 | 166 | 46.361516 | 0.841772 | 0.242925 | 0 | 0.841096 | 0 | 0.005479 | 0.163262 | 0.09563 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.013699 | 0 | 0.153425 | 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 |
d5c243eb8f017e84cb52cd4f0a167deb9ca1b544 | 135 | py | Python | nlstruct/models/__init__.py | percevalw/nlstruct | 395db91c005536c64eca47a6dab4c5e460a9cfd0 | [
"MIT"
] | 6 | 2020-02-10T09:02:34.000Z | 2021-11-22T12:57:23.000Z | nlstruct/models/__init__.py | percevalw/nlstruct | 395db91c005536c64eca47a6dab4c5e460a9cfd0 | [
"MIT"
] | null | null | null | nlstruct/models/__init__.py | percevalw/nlstruct | 395db91c005536c64eca47a6dab4c5e460a9cfd0 | [
"MIT"
] | 4 | 2020-03-04T08:18:39.000Z | 2022-03-15T12:18:03.000Z | from nlstruct.models.bitag import BiTagSpanScorer
from nlstruct.models.ner import SpanScorer, ContiguousEntityDecoder, NERPreprocessor
| 45 | 84 | 0.881481 | 14 | 135 | 8.5 | 0.714286 | 0.201681 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 135 | 2 | 85 | 67.5 | 0.952 | 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 |
d5d02658cc9757ad409bf4b42c3425eecb4c2ed9 | 250,958 | py | Python | sympy/integrals/rubi/rubi_tests/tests/test_exponential.py | bigfooted/sympy | 1fb2490fa2fa9b476da450f02a25b03c1dc07cf0 | [
"BSD-3-Clause"
] | 8,323 | 2015-01-02T15:51:43.000Z | 2022-03-31T13:13:19.000Z | sympy/integrals/rubi/rubi_tests/tests/test_exponential.py | bigfooted/sympy | 1fb2490fa2fa9b476da450f02a25b03c1dc07cf0 | [
"BSD-3-Clause"
] | 15,102 | 2015-01-01T01:33:17.000Z | 2022-03-31T22:53:13.000Z | sympy/integrals/rubi/rubi_tests/tests/test_exponential.py | bigfooted/sympy | 1fb2490fa2fa9b476da450f02a25b03c1dc07cf0 | [
"BSD-3-Clause"
] | 4,490 | 2015-01-01T17:48:07.000Z | 2022-03-31T17:24:05.000Z | import sys
from sympy.external import import_module
matchpy = import_module("matchpy")
if not matchpy:
#bin/test will not execute any tests now
disabled = True
if sys.version_info[:2] < (3, 6):
disabled = True
from sympy.integrals.rubi.rubi import rubi_integrate
from sympy.functions import log, sqrt, exp... | 275.778022 | 1,673 | 0.492082 | 64,011 | 250,958 | 1.875303 | 0.003124 | 0.072259 | 0.038237 | 0.15045 | 0.987096 | 0.981381 | 0.973392 | 0.96058 | 0.943036 | 0.926075 | 0 | 0.04798 | 0.103392 | 250,958 | 909 | 1,674 | 276.081408 | 0.485505 | 0.020398 | 0 | 0.020737 | 0 | 0.001152 | 0.000354 | 0 | 0 | 0 | 0 | 0 | 0.976959 | 1 | 0.003456 | false | 0 | 0.011521 | 0 | 0.014977 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
d5d715c2c7e546a892d4028e671a9bd265d0b85b | 39,354 | py | Python | sdk/python/pulumi_aws/iam/role.py | jen20/pulumi-aws | 172e00c642adc03238f89cc9c5a16b914a77c2b1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/iam/role.py | jen20/pulumi-aws | 172e00c642adc03238f89cc9c5a16b914a77c2b1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/iam/role.py | jen20/pulumi-aws | 172e00c642adc03238f89cc9c5a16b914a77c2b1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 50.260536 | 529 | 0.642781 | 4,692 | 39,354 | 5.225277 | 0.073529 | 0.06057 | 0.045683 | 0.032304 | 0.899865 | 0.867194 | 0.836358 | 0.806175 | 0.79088 | 0.769017 | 0 | 0.003782 | 0.261015 | 39,354 | 782 | 530 | 50.324808 | 0.839248 | 0.538827 | 0 | 0.435216 | 1 | 0 | 0.11053 | 0.009922 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146179 | false | 0.003322 | 0.023256 | 0.006645 | 0.269103 | 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 |
d5ea8be802e3605d2cd459a3c1d97d9beaf3f02c | 5,858 | py | Python | networkx/classes/tests/test_filters.py | jmmcd/networkx | 207ff7d1e9bfaff013ac77c8d6bb79619892c994 | [
"BSD-3-Clause"
] | 3 | 2020-08-04T20:29:41.000Z | 2020-11-09T09:28:19.000Z | networkx/classes/tests/test_filters.py | jmmcd/networkx | 207ff7d1e9bfaff013ac77c8d6bb79619892c994 | [
"BSD-3-Clause"
] | 30 | 2020-04-15T19:37:40.000Z | 2020-04-22T21:19:35.000Z | networkx/classes/tests/test_filters.py | jmmcd/networkx | 207ff7d1e9bfaff013ac77c8d6bb79619892c994 | [
"BSD-3-Clause"
] | 2 | 2020-02-13T10:33:34.000Z | 2020-08-09T07:59:26.000Z | import pytest
import networkx as nx
class TestFilterFactory(object):
def test_no_filter(self):
nf = nx.filters.no_filter
assert nf()
assert nf(1)
assert nf(2, 1)
def test_hide_nodes(self):
f = nx.classes.filters.hide_nodes([1, 2, 3])
assert not f(1)
ass... | 33.096045 | 58 | 0.520997 | 898 | 5,858 | 3.361915 | 0.041203 | 0.042398 | 0.278238 | 0.23319 | 0.925141 | 0.907254 | 0.785359 | 0.785359 | 0.77741 | 0.775422 | 0 | 0.083713 | 0.325026 | 5,858 | 176 | 59 | 33.284091 | 0.679818 | 0 | 0 | 0.756098 | 0 | 0 | 0.003073 | 0 | 0 | 0 | 0 | 0 | 0.481707 | 1 | 0.067073 | false | 0 | 0.012195 | 0 | 0.085366 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
914ac940c9448829e53d82b96febfa6ab64e7f67 | 29,728 | py | Python | pkg/vtreat/vtreat_api.py | sdrees/pyvtreat | fed9a653b2524ba04b1e92b1087e58bead25f99a | [
"BSD-3-Clause"
] | null | null | null | pkg/vtreat/vtreat_api.py | sdrees/pyvtreat | fed9a653b2524ba04b1e92b1087e58bead25f99a | [
"BSD-3-Clause"
] | null | null | null | pkg/vtreat/vtreat_api.py | sdrees/pyvtreat | fed9a653b2524ba04b1e92b1087e58bead25f99a | [
"BSD-3-Clause"
] | null | null | null | """
Define user visible vtreat API.
"""
import warnings
from typing import Any, Dict, Iterable, Optional
import pandas
import numpy
import vtreat.vtreat_impl as vtreat_impl
import vtreat.util
import vtreat.cross_plan
def vtreat_parameters(user_params: Optional[Dict[str, Any]] = None) -> Dict[str, Any]:
"""
... | 36.929193 | 107 | 0.587964 | 3,549 | 29,728 | 4.62581 | 0.069879 | 0.038984 | 0.024365 | 0.01535 | 0.909606 | 0.893403 | 0.890479 | 0.885119 | 0.882439 | 0.86313 | 0 | 0.001948 | 0.326695 | 29,728 | 804 | 108 | 36.975124 | 0.818245 | 0.131459 | 0 | 0.761513 | 0 | 0 | 0.118218 | 0.030216 | 0 | 0 | 0 | 0 | 0.001645 | 1 | 0.03125 | false | 0 | 0.011513 | 0 | 0.074013 | 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 |
e69bac0d95a484cc682cc3b983cb1fd709bc597a | 23 | py | Python | ch5/5_4.py | hajin-kim/2020-HighSchool-Python-Tutoring | 352025a954bff37d21cc3d59e7d5e0f0269a1f17 | [
"MIT"
] | null | null | null | ch5/5_4.py | hajin-kim/2020-HighSchool-Python-Tutoring | 352025a954bff37d21cc3d59e7d5e0f0269a1f17 | [
"MIT"
] | null | null | null | ch5/5_4.py | hajin-kim/2020-HighSchool-Python-Tutoring | 352025a954bff37d21cc3d59e7d5e0f0269a1f17 | [
"MIT"
] | null | null | null |
print(3 - 2 + 5 * 4)
| 5.75 | 20 | 0.391304 | 5 | 23 | 1.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.391304 | 23 | 3 | 21 | 7.666667 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
e6ad0019aa0debbceb0e97299bec21455f4fe791 | 37,465 | py | Python | sdk/python/pulumi_aws/ec2/fleet.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ec2/fleet.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ec2/fleet.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 57.024353 | 304 | 0.706419 | 4,154 | 37,465 | 6.136254 | 0.05585 | 0.068615 | 0.065594 | 0.023852 | 0.92703 | 0.914319 | 0.908356 | 0.902668 | 0.899529 | 0.884425 | 0 | 0.003381 | 0.202616 | 37,465 | 656 | 305 | 57.11128 | 0.849869 | 0.376405 | 0 | 0.785326 | 1 | 0 | 0.176162 | 0.121715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163043 | false | 0.002717 | 0.019022 | 0 | 0.279891 | 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 |
fc02a83cbe639e71fae049bf583bf8c42df5e753 | 6,241 | py | Python | pandas/tseries/tests/test_cursor.py | ssalonen/pandas | 1929563fdb5358a41420d103a388aa2bd494d543 | [
"PSF-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2015-11-25T19:12:03.000Z | 2015-11-25T19:12:03.000Z | pandas/tseries/tests/test_cursor.py | pierre-haessig/pandas | f9e0b7df8ca8a92133d3cea0a26181140f991e2d | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | pandas/tseries/tests/test_cursor.py | pierre-haessig/pandas | f9e0b7df8ca8a92133d3cea0a26181140f991e2d | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null |
"""
class TestNewOffsets(unittest.TestCase):
def test_yearoffset(self):
off = lib.YearOffset(dayoffset=0, biz=0, anchor=datetime(2002,1,1))
for i in range(500):
t = lib.Timestamp(off.ts)
self.assert_(t.day == 1)
self.assert_(t.month == 1)
self.asse... | 31.680203 | 78 | 0.452652 | 813 | 6,241 | 3.389914 | 0.081181 | 0.185051 | 0.171626 | 0.135704 | 0.854862 | 0.838897 | 0.817852 | 0.780479 | 0.780479 | 0.753266 | 0 | 0.08651 | 0.407307 | 6,241 | 196 | 79 | 31.841837 | 0.658556 | 0.997917 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fc05d951deda111ddf5710180fc7f6ade078c7af | 21,751 | py | Python | src/nninst/statistics.py | uchuhimo/Ptolemy | 5c8ae188af30ee49d38f27d54c67af2eab9489e7 | [
"Apache-2.0"
] | 15 | 2020-08-24T07:11:20.000Z | 2021-09-13T08:03:42.000Z | src/nninst/statistics.py | uchuhimo/Ptolemy | 5c8ae188af30ee49d38f27d54c67af2eab9489e7 | [
"Apache-2.0"
] | 5 | 2021-02-28T17:30:26.000Z | 2021-06-15T09:33:00.000Z | src/nninst/statistics.py | uchuhimo/Ptolemy | 5c8ae188af30ee49d38f27d54c67af2eab9489e7 | [
"Apache-2.0"
] | 3 | 2020-10-22T09:11:11.000Z | 2021-01-16T14:49:34.000Z | import gc
from functools import reduce
from typing import Callable, Iterable, List, Optional, Tuple, TypeVar
import numpy as np
import pandas as pd
from .graph import AttrMap, Graph
from .trace import AddOp, TraceKey
from .utils import filter_not_null
from .utils.fs import IOAction
from .utils.ray import ray_iter
__... | 31.892962 | 87 | 0.600386 | 2,793 | 21,751 | 4.416398 | 0.05836 | 0.054479 | 0.02951 | 0.035752 | 0.868747 | 0.838022 | 0.810296 | 0.786299 | 0.764167 | 0.755006 | 0 | 0.010892 | 0.299297 | 21,751 | 681 | 88 | 31.939794 | 0.798438 | 0.00754 | 0 | 0.707563 | 0 | 0 | 0.028174 | 0.01696 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082353 | false | 0 | 0.016807 | 0.003361 | 0.22521 | 0.003361 | 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 |
fc145b48c692098bc8639996347b86c2a5e6a87a | 15,070 | py | Python | tests/causal_refuters/test_dummy_outcome_refuter.py | Sid-darthvader/dowhy | 535cdb47d7eed8988573770769ecea3856180b48 | [
"MIT"
] | 1 | 2020-12-03T17:28:42.000Z | 2020-12-03T17:28:42.000Z | tests/causal_refuters/test_dummy_outcome_refuter.py | Sid-darthvader/dowhy | 535cdb47d7eed8988573770769ecea3856180b48 | [
"MIT"
] | null | null | null | tests/causal_refuters/test_dummy_outcome_refuter.py | Sid-darthvader/dowhy | 535cdb47d7eed8988573770769ecea3856180b48 | [
"MIT"
] | null | null | null | import pytest
import numpy as np
import pdb
from .base import TestRefuter
def simple_linear_outcome_model(X_train, output_train):
# The outcome is a linear function of the confounder
# The slope is 1,2 and the intercept is 3
return lambda X_train: X_train[:,0] + 2*X_train[:,1] + 3
@pytest... | 77.680412 | 208 | 0.641407 | 1,415 | 15,070 | 6.417668 | 0.081272 | 0.092501 | 0.151966 | 0.191609 | 0.962559 | 0.959806 | 0.959806 | 0.923907 | 0.903094 | 0.890981 | 0 | 0.014211 | 0.252887 | 15,070 | 194 | 209 | 77.680412 | 0.792344 | 0.011546 | 0 | 0.676829 | 0 | 0 | 0.20381 | 0.095782 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128049 | false | 0 | 0.02439 | 0.006098 | 0.164634 | 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 |
fc33705d12ed5c4e545f2568b37e0d216e10f078 | 39 | py | Python | test/self/empty.py | Bin-CI/vaapi-fits | 9c43ea65f7fe99f11fa3c49bb14d30f5de09f010 | [
"BSD-3-Clause"
] | 19 | 2019-03-05T01:59:05.000Z | 2022-01-11T15:31:49.000Z | test/self/empty.py | Bin-CI/vaapi-fits | 9c43ea65f7fe99f11fa3c49bb14d30f5de09f010 | [
"BSD-3-Clause"
] | 213 | 2019-01-29T18:44:05.000Z | 2022-03-30T05:57:04.000Z | test/self/empty.py | Bin-CI/vaapi-fits | 9c43ea65f7fe99f11fa3c49bb14d30f5de09f010 | [
"BSD-3-Clause"
] | 26 | 2019-01-29T05:21:22.000Z | 2022-02-09T00:57:35.000Z | import slash
def test_empty():
pass
| 7.8 | 17 | 0.717949 | 6 | 39 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 4 | 18 | 9.75 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
fc59129eed8d7f230d4eca06d4fe4f49d700157f | 15,194 | py | Python | notebooks/scripts/.ipynb_checkpoints/santa_fe-checkpoint.py | Jarino/pycgp | c3281c0deff3388cb7cfd79339b84391f6499ae1 | [
"MIT"
] | 4 | 2018-02-08T17:34:58.000Z | 2021-09-20T01:37:32.000Z | notebooks/scripts/.ipynb_checkpoints/santa_fe-checkpoint.py | Jarino/pycgp | c3281c0deff3388cb7cfd79339b84391f6499ae1 | [
"MIT"
] | 1 | 2018-02-09T09:59:09.000Z | 2018-02-09T10:52:26.000Z | notebooks/scripts/.ipynb_checkpoints/santa_fe-checkpoint.py | Jarino/pycgp | c3281c0deff3388cb7cfd79339b84391f6499ae1 | [
"MIT"
] | 1 | 2018-12-12T03:51:33.000Z | 2018-12-12T03:51:33.000Z | from pycgp.benchmarks.santafe import PARAMS, EV_PARAMS, X, santafe_cost_function
from pycgp.evolution import evolution
from pycgp.counter import Counter
import random
import numpy as np
from time import time
import pandas as pd
experiment_count = 0
y=None
def run_experiment(params, ev_params, x, y):
global experi... | 25.450586 | 121 | 0.672239 | 2,401 | 15,194 | 4.052478 | 0.043732 | 0.112641 | 0.11223 | 0.120247 | 0.902158 | 0.889414 | 0.873998 | 0.860843 | 0.860843 | 0.856321 | 0 | 0.057959 | 0.126761 | 15,194 | 596 | 122 | 25.493289 | 0.675384 | 0.082533 | 0 | 0.874286 | 0 | 0 | 0.178011 | 0.007546 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002857 | false | 0 | 0.04 | 0 | 0.045714 | 0.011429 | 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 |
fc737465e85d6143b2252183acb00f0998fb4469 | 32,163 | py | Python | tests/providers/captured_responses.py | cauethenorio/django-simplecep | acab8a99fe3df8c6a2f01909c07fa36b1ea2d922 | [
"MIT"
] | 3 | 2020-10-18T16:29:32.000Z | 2021-09-22T12:10:19.000Z | tests/providers/captured_responses.py | cauethenorio/django-simplecep | acab8a99fe3df8c6a2f01909c07fa36b1ea2d922 | [
"MIT"
] | 6 | 2019-11-26T01:18:43.000Z | 2022-02-10T12:50:16.000Z | tests/providers/captured_responses.py | cauethenorio/django-simplecep | acab8a99fe3df8c6a2f01909c07fa36b1ea2d922 | [
"MIT"
] | 1 | 2020-03-31T03:52:13.000Z | 2020-03-31T03:52:13.000Z | # This file was generated by the "capture_real_responses.py" script.
# On Wed, 20 Nov 2019 19:34:18 +0000.
#
# To update it run:
# python -m tests.providers.capture_real_responses
captured_responses = [
{
"request": {
"full_url": "https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService... | 56.327496 | 424 | 0.523117 | 3,273 | 32,163 | 5.107547 | 0.077605 | 0.022432 | 0.037686 | 0.057785 | 0.84752 | 0.824131 | 0.810911 | 0.800861 | 0.783514 | 0.775618 | 0 | 0.038748 | 0.270622 | 32,163 | 570 | 425 | 56.426316 | 0.673857 | 0.005254 | 0 | 0.543517 | 1 | 0.12611 | 0.718198 | 0.126551 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fc7cd664e8b02837045ae83cd7514d3c76c6d7c2 | 131,101 | py | Python | sdks/python/http_client/v1/polyaxon_sdk/api/projects_v1_api.py | gideonbros/polyaxon | 482a756b781e3cb749cc871a275689d1ad16c028 | [
"Apache-2.0"
] | null | null | null | sdks/python/http_client/v1/polyaxon_sdk/api/projects_v1_api.py | gideonbros/polyaxon | 482a756b781e3cb749cc871a275689d1ad16c028 | [
"Apache-2.0"
] | null | null | null | sdks/python/http_client/v1/polyaxon_sdk/api/projects_v1_api.py | gideonbros/polyaxon | 482a756b781e3cb749cc871a275689d1ad16c028 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#
# Copyright 2018-2021 Polyaxon, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | 46.522711 | 131 | 0.587227 | 14,602 | 131,101 | 5.041638 | 0.019586 | 0.053791 | 0.085957 | 0.02695 | 0.971855 | 0.970469 | 0.966367 | 0.962333 | 0.955011 | 0.952851 | 0 | 0.016873 | 0.335444 | 131,101 | 2,817 | 132 | 46.539226 | 0.828107 | 0.420805 | 0 | 0.785053 | 0 | 0 | 0.175397 | 0.039131 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030605 | false | 0 | 0.003559 | 0 | 0.064769 | 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 |
fc886b148ca7d06bef895e6722bca063cd6305ca | 70 | py | Python | homeworks/yan_romanovich/hw05/level01.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | homeworks/yan_romanovich/hw05/level01.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | 8 | 2019-11-15T18:15:56.000Z | 2020-02-03T18:05:05.000Z | homeworks/yan_romanovich/hw05/level01.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | def summa(parametr_1, parametr_2):
return parametr_1 + parametr_2
| 23.333333 | 34 | 0.771429 | 11 | 70 | 4.545455 | 0.545455 | 0.36 | 0.68 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.157143 | 70 | 2 | 35 | 35 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
fca5afcba463e17e6e1c7612518e644ab47d3b1e | 104 | py | Python | cryptoxlib/clients/bibox/exceptions.py | PetrZufan/cryptoxlib-aio | 8fbb817ee7a7a88693804e24877863370d1d53c7 | [
"MIT"
] | 90 | 2020-04-09T18:34:49.000Z | 2022-03-09T14:29:32.000Z | cryptoxlib/clients/bibox/exceptions.py | PetrZufan/cryptoxlib-aio | 8fbb817ee7a7a88693804e24877863370d1d53c7 | [
"MIT"
] | 44 | 2020-04-03T17:02:20.000Z | 2022-01-29T14:51:51.000Z | cryptoxlib/clients/bibox/exceptions.py | PetrZufan/cryptoxlib-aio | 8fbb817ee7a7a88693804e24877863370d1d53c7 | [
"MIT"
] | 28 | 2020-04-25T21:34:53.000Z | 2022-03-31T07:20:07.000Z | from cryptoxlib.exceptions import CryptoXLibException
class BiboxException(CryptoXLibException):
pass | 20.8 | 53 | 0.875 | 9 | 104 | 10.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 104 | 5 | 54 | 20.8 | 0.957895 | 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 |
5d9462f8184184d4436aaa6574a5b0dead6c285d | 7,706 | py | Python | x2_pci_collision_server.py | SigPloit/S1-X2-tools | f2f22c7247663fe0482fe5a9a2941d82eb9674ba | [
"Apache-2.0"
] | 1 | 2022-02-07T13:39:55.000Z | 2022-02-07T13:39:55.000Z | x2_pci_collision_server.py | SigPloit/S1-X2-tools | f2f22c7247663fe0482fe5a9a2941d82eb9674ba | [
"Apache-2.0"
] | null | null | null | x2_pci_collision_server.py | SigPloit/S1-X2-tools | f2f22c7247663fe0482fe5a9a2941d82eb9674ba | [
"Apache-2.0"
] | 1 | 2021-11-01T22:51:15.000Z | 2021-11-01T22:51:15.000Z | #!/usr/bin/env python
import sctp
import binascii
import sys, socket
import time, IPy
from itertools import repeat
#for local testing: sudo ncat --sctp -l -p 36422
#interface 3GPP S1-MME
#verify that the following modules are loaded
#sudo insmod /lib/modules/3.6.11-4.fc16.i686/kernel/lib/libcrc32c.ko
#sudo insmod /l... | 58.824427 | 80 | 0.811705 | 259 | 7,706 | 24.081081 | 0.702703 | 0.003367 | 0.004169 | 0.006413 | 0.012506 | 0.012506 | 0.012506 | 0.012506 | 0.012506 | 0.012506 | 0 | 0.646655 | 0.148326 | 7,706 | 130 | 81 | 59.276923 | 0.303672 | 0.043602 | 0 | 0.054545 | 0 | 0 | 0.762804 | 0.75506 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.045455 | null | null | 0.009091 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5de04d8b815eaf7e74b7321dcfe420300d74e31f | 2,487 | py | Python | sportsbet/datasets/_soccer/_utils.py | gmoraitis/sports-betting | f80eb6eb2779581ef86f38c81d5a12a743b63b53 | [
"MIT"
] | 36 | 2019-09-30T06:20:45.000Z | 2020-12-20T08:34:46.000Z | sportsbet/datasets/_soccer/_utils.py | gmoraitis/sports-betting | f80eb6eb2779581ef86f38c81d5a12a743b63b53 | [
"MIT"
] | 2 | 2020-01-09T18:16:46.000Z | 2020-03-01T00:49:08.000Z | sportsbet/datasets/_soccer/_utils.py | gmoraitis/sports-betting | f80eb6eb2779581ef86f38c81d5a12a743b63b53 | [
"MIT"
] | 19 | 2019-07-20T05:13:03.000Z | 2020-12-21T07:19:39.000Z | """
The :mod:`sportsbed.datasets._utils` includes utilities
for soccer data.
"""
# Author: Georgios Douzas <gdouzas@icloud.com>
# License: MIT
import pandas as pd
OUTPUTS = [
(
'output__home_win__full_time_goals',
lambda data: data['target__home_team__full_time_goals']
> data['target__awa... | 29.607143 | 80 | 0.648573 | 330 | 2,487 | 4.169697 | 0.187879 | 0.19186 | 0.311773 | 0.271802 | 0.746366 | 0.746366 | 0.746366 | 0.746366 | 0.746366 | 0.746366 | 0 | 0.023293 | 0.24045 | 2,487 | 83 | 81 | 29.963855 | 0.705135 | 0.07117 | 0 | 0.422535 | 0 | 0 | 0.494338 | 0.483885 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.014085 | 0 | 0.042254 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5de58bcf945e5ec6ad4ea7cb9be676c8dae17fd4 | 21,923 | py | Python | geoscilabs/em/TDEMDipolarfields.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | 1 | 2019-01-04T10:06:44.000Z | 2019-01-04T10:06:44.000Z | geoscilabs/em/TDEMDipolarfields.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | 1 | 2018-12-30T20:09:25.000Z | 2018-12-30T20:09:25.000Z | geoscilabs/em/TDEMDipolarfields.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import division
import numpy as np
from scipy.constants import mu_0, pi, epsilon_0
from scipy.special import erfc, erf
from SimPEG import utils
# TODO:
# r = lambda dx, dy, dz: np.sqrt( ... | 39.572202 | 128 | 0.590065 | 3,260 | 21,923 | 3.940491 | 0.049387 | 0.010898 | 0.03503 | 0.025689 | 0.973143 | 0.970419 | 0.964036 | 0.959832 | 0.944185 | 0.944185 | 0 | 0.025825 | 0.293482 | 21,923 | 553 | 129 | 39.643761 | 0.803538 | 0.472244 | 0 | 0.751773 | 0 | 0 | 0.049806 | 0 | 0 | 0 | 0 | 0.001808 | 0 | 1 | 0.035461 | false | 0 | 0.028369 | 0 | 0.141844 | 0.003546 | 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 |
b9066961b4de22180d81e4ac0842c1026d688f99 | 86,651 | py | Python | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/mp_fdca92ca7688d207a32daf52e610fd90.py | rfrye-github/ixnetwork_restpy | 23eeb24b21568a23d3f31bbd72814ff55eb1af44 | [
"MIT"
] | null | null | null | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/mp_fdca92ca7688d207a32daf52e610fd90.py | rfrye-github/ixnetwork_restpy | 23eeb24b21568a23d3f31bbd72814ff55eb1af44 | [
"MIT"
] | null | null | null | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/mp_fdca92ca7688d207a32daf52e610fd90.py | rfrye-github/ixnetwork_restpy | 23eeb24b21568a23d3f31bbd72814ff55eb1af44 | [
"MIT"
] | null | null | null | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, ... | 47.402079 | 2,285 | 0.653691 | 9,330 | 86,651 | 5.952197 | 0.054019 | 0.023553 | 0.03533 | 0.050798 | 0.779396 | 0.773472 | 0.718749 | 0.714859 | 0.701264 | 0.620665 | 0 | 0.015042 | 0.24811 | 86,651 | 1,827 | 2,286 | 47.428024 | 0.837334 | 0.43067 | 0 | 0.139323 | 0 | 0 | 0.150144 | 0.037177 | 0 | 0 | 0 | 0 | 0 | 1 | 0.286458 | false | 0 | 0.002604 | 0 | 0.438802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d06a47c2f766659260cd9cc96ceedfc62f94242 | 22,517 | py | Python | pytrx/transformation.py | dleshchev/trx | 9a2ac79c539ec1e9db0faaf2fdcdd85dc5de430f | [
"MIT"
] | 2 | 2021-01-27T16:50:43.000Z | 2022-02-23T20:57:39.000Z | pytrx/transformation.py | dleshchev/trx | 9a2ac79c539ec1e9db0faaf2fdcdd85dc5de430f | [
"MIT"
] | 4 | 2020-06-09T02:02:02.000Z | 2020-06-12T15:35:58.000Z | pytrx/transformation.py | dleshchev/trx | 9a2ac79c539ec1e9db0faaf2fdcdd85dc5de430f | [
"MIT"
] | 2 | 2020-02-03T15:40:37.000Z | 2022-02-03T18:00:22.000Z | # -*- coding: utf-8 -*-
"""
Created on Thu Jun 4 17:33:17 2016
@author: darren
A library of predefined moves for the Molecule class.
"""
import numpy as np
import math
import copy
from pytrx.utils import AtomicMass
from abc import (ABC as _ABC, abstractmethod as _abstractmethod)
class Transformation(_ABC):
'... | 43.469112 | 128 | 0.616823 | 3,151 | 22,517 | 4.301492 | 0.07458 | 0.056072 | 0.041316 | 0.017855 | 0.845286 | 0.833997 | 0.817618 | 0.795559 | 0.782352 | 0.766711 | 0 | 0.027442 | 0.27175 | 22,517 | 517 | 129 | 43.553191 | 0.799122 | 0.128303 | 0 | 0.736111 | 0 | 0 | 0.206053 | 0.008807 | 0 | 0 | 0 | 0 | 0.088889 | 1 | 0.125 | false | 0.002778 | 0.013889 | 0 | 0.202778 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d0a545b86f7503be447402d1d7841206cf36bce | 3,386 | py | Python | Cole/data_input.py | lhq1208/Cole | c64806415c6202f8d58f28c627dee11a6d64bcf4 | [
"Apache-2.0"
] | null | null | null | Cole/data_input.py | lhq1208/Cole | c64806415c6202f8d58f28c627dee11a6d64bcf4 | [
"Apache-2.0"
] | null | null | null | Cole/data_input.py | lhq1208/Cole | c64806415c6202f8d58f28c627dee11a6d64bcf4 | [
"Apache-2.0"
] | null | null | null | __author__='lhq'
import os
import numpy as np
from PIL import Image
from torch.utils.data import Dataset
def get_train_img():
"""
获取输入数据
:return:
"""
cwd=os.getcwd()
mi_dir=cwd+'/dataset/train/mi/'
shu_dir=cwd+'/dataset/train/shu/'
file1=os.listdir(mi_dir)
file0=os.listdir(shu_dir)... | 31.351852 | 70 | 0.634377 | 532 | 3,386 | 3.778195 | 0.12782 | 0.097512 | 0.062687 | 0.023881 | 0.917413 | 0.899502 | 0.899502 | 0.899502 | 0.899502 | 0.899502 | 0 | 0.031575 | 0.233018 | 3,386 | 107 | 71 | 31.64486 | 0.742395 | 0.054341 | 0 | 0.823529 | 0 | 0 | 0.023742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094118 | false | 0 | 0.047059 | 0.023529 | 0.235294 | 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 |
5d40ddf440292d698e38f65d1a987e6f8365ade2 | 7,097 | py | Python | tests/test_0006-notify-when-downloaded.py | ryuwd/uproot4 | 20d8575e941c32559c7b5e62b0ed5f92bc4927d0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0006-notify-when-downloaded.py | ryuwd/uproot4 | 20d8575e941c32559c7b5e62b0ed5f92bc4927d0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0006-notify-when-downloaded.py | ryuwd/uproot4 | 20d8575e941c32559c7b5e62b0ed5f92bc4927d0 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/uproot4/blob/main/LICENSE
from __future__ import absolute_import
import sys
import os
try:
from io import StringIO
except ImportError:
from StringIO import StringIO
try:
import queue
except ImportError:
import Queue as queue
import numpy
impo... | 33.956938 | 104 | 0.611949 | 826 | 7,097 | 5.193705 | 0.133172 | 0.061538 | 0.076923 | 0.097436 | 0.911888 | 0.911888 | 0.909557 | 0.909557 | 0.905828 | 0.892308 | 0 | 0.044904 | 0.243765 | 7,097 | 208 | 105 | 34.120192 | 0.754425 | 0.011413 | 0 | 0.757062 | 0 | 0 | 0.081409 | 0.039778 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062147 | false | 0 | 0.084746 | 0 | 0.146893 | 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 |
5d4689ba30a6ec018319e26f1c3c5b5763a05a1d | 8,057 | py | Python | tests/integration/ipu_copy_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | tests/integration/ipu_copy_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | tests/integration/ipu_copy_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | # Copyright (c) 2019 Graphcore Ltd. All rights reserved.
import numpy as np
import popart
import pytest
import test_util as tu
@tu.requires_ipu_model
def test_ipu_copy_bca1():
popart.getLogger().setLevel("TRACE")
builder = popart.Builder()
i1 = builder.addInputTensor(popart.TensorInfo("FLOAT", [1]))
... | 29.512821 | 100 | 0.61611 | 884 | 8,057 | 5.549774 | 0.149321 | 0.071545 | 0.07501 | 0.090501 | 0.838361 | 0.81064 | 0.781696 | 0.771912 | 0.732776 | 0.723808 | 0 | 0.030555 | 0.252575 | 8,057 | 272 | 101 | 29.621324 | 0.784125 | 0.081916 | 0 | 0.809249 | 0 | 0 | 0.029408 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 1 | 0.040462 | false | 0 | 0.023121 | 0 | 0.063584 | 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 |
537c1f786d320c3a7f49807d65abd0b8c2c122d5 | 10,605 | py | Python | src/models/light/model.py | ab3llini/BlindLess | 46c50fb2748b9d372044d00b901f0cde91946684 | [
"MIT"
] | 1 | 2022-03-19T09:19:12.000Z | 2022-03-19T09:19:12.000Z | src/models/light/model.py | ab3llini/BlindLess | 46c50fb2748b9d372044d00b901f0cde91946684 | [
"MIT"
] | 1 | 2020-02-06T18:26:07.000Z | 2020-02-06T18:26:07.000Z | src/models/light/model.py | ab3llini/BlindLess | 46c50fb2748b9d372044d00b901f0cde91946684 | [
"MIT"
] | null | null | null | import sys
import os
this_path = os.path.dirname(os.path.realpath(__file__))
root_path = os.path.abspath(os.path.join(this_path, os.pardir, os.pardir))
sys.path.append(root_path)
from torch import nn
from modules.image_encoders import *
from torchvision import models
from transformers import GPT2LMHeadModel, GPT2Toke... | 35 | 110 | 0.603395 | 1,292 | 10,605 | 4.831269 | 0.109907 | 0.043255 | 0.024992 | 0.041653 | 0.833387 | 0.807434 | 0.807434 | 0.796379 | 0.796379 | 0.796379 | 0 | 0.044722 | 0.291561 | 10,605 | 302 | 111 | 35.115894 | 0.786104 | 0.217822 | 0 | 0.723529 | 0 | 0 | 0.01226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082353 | false | 0 | 0.035294 | 0 | 0.194118 | 0.023529 | 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 |
539bb8bf573c54bb556bb06b77eafcf39add7bce | 210 | py | Python | project/acorta/models.py | cborao/Django-url-shortener | fb3aea7a947546dbfbffa516c5590d8eb4c60c14 | [
"MIT"
] | null | null | null | project/acorta/models.py | cborao/Django-url-shortener | fb3aea7a947546dbfbffa516c5590d8eb4c60c14 | [
"MIT"
] | null | null | null | project/acorta/models.py | cborao/Django-url-shortener | fb3aea7a947546dbfbffa516c5590d8eb4c60c14 | [
"MIT"
] | null | null | null | from django.db import models
class Content(models.Model):
key = models.CharField(max_length=200)
url = models.CharField(max_length=200)
def __str__(self):
return self.key + ": " + self.url
| 26.25 | 42 | 0.680952 | 29 | 210 | 4.724138 | 0.62069 | 0.218978 | 0.262774 | 0.350365 | 0.394161 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.2 | 210 | 7 | 43 | 30 | 0.779762 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
53aa16faa7c602e62edd721652f7060aa128c59d | 1,758 | py | Python | test/docs/wiki_usage_test_2.py | acaceres2176/massweb | 153d1e00ee293f467e88e7f5ce98617a5c13cfb7 | [
"Apache-2.0"
] | null | null | null | test/docs/wiki_usage_test_2.py | acaceres2176/massweb | 153d1e00ee293f467e88e7f5ce98617a5c13cfb7 | [
"Apache-2.0"
] | null | null | null | test/docs/wiki_usage_test_2.py | acaceres2176/massweb | 153d1e00ee293f467e88e7f5ce98617a5c13cfb7 | [
"Apache-2.0"
] | null | null | null | """
>>> from massweb.mass_requests.mass_request import MassRequest
>>> from massweb.targets.target import Target
>>>
>>> target_1 = Target(url=u"http://course.hyperiongray.com/vuln1", data={"password": "blh123"}, ttype="post")
>>> target_2 = Target(url=u"http://course.hyperiongray.com/vuln2/898538a7... | 46.263158 | 148 | 0.695677 | 225 | 1,758 | 5.346667 | 0.217778 | 0.112219 | 0.049875 | 0.069825 | 0.904406 | 0.879468 | 0.799668 | 0.799668 | 0.724855 | 0.724855 | 0 | 0.082563 | 0.138794 | 1,758 | 37 | 149 | 47.513514 | 0.712021 | 0 | 0 | 0 | 0 | 0 | 0.277955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.083333 | 0.166667 | null | null | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
53c8799043541488e59b587eddc5ff78f1a8b319 | 20,503 | py | Python | lucid/modelzoo/slim_models/Inception.py | dguliani/lucid | 6da3ab010e3442e0b56709ff69ccf3c50a500db4 | [
"Apache-2.0"
] | 7 | 2018-11-06T20:49:27.000Z | 2022-02-12T15:24:00.000Z | lucid/modelzoo/slim_models/Inception.py | dguliani/lucid | 6da3ab010e3442e0b56709ff69ccf3c50a500db4 | [
"Apache-2.0"
] | 2 | 2020-07-19T11:08:01.000Z | 2022-01-22T10:29:30.000Z | lucid/modelzoo/slim_models/Inception.py | dguliani/lucid | 6da3ab010e3442e0b56709ff69ccf3c50a500db4 | [
"Apache-2.0"
] | 3 | 2019-04-02T15:57:30.000Z | 2019-10-23T22:32:06.000Z | # Copyright 2018 The Lucid Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 70.944637 | 112 | 0.698678 | 2,413 | 20,503 | 5.794861 | 0.104849 | 0.086391 | 0.129586 | 0.182507 | 0.889509 | 0.874562 | 0.80934 | 0.776085 | 0.745048 | 0.572409 | 0 | 0.077713 | 0.093108 | 20,503 | 288 | 113 | 71.190972 | 0.674304 | 0.149978 | 0 | 0.147059 | 0 | 0 | 0.632367 | 0.475098 | 0 | 0 | 0 | 0.003472 | 0 | 1 | 0 | false | 0 | 0.009804 | 0 | 0.186275 | 0.004902 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
53e39b988bbbfc1830bfae11f36bc40533867931 | 42 | py | Python | tbn/app.py | RabidGuy/tbn | 005abdadcaeccaf4a2737dc5c1b76870165bfa1a | [
"MIT"
] | null | null | null | tbn/app.py | RabidGuy/tbn | 005abdadcaeccaf4a2737dc5c1b76870165bfa1a | [
"MIT"
] | null | null | null | tbn/app.py | RabidGuy/tbn | 005abdadcaeccaf4a2737dc5c1b76870165bfa1a | [
"MIT"
] | null | null | null | import cmd
class App(cmd.Cmd):
pass
| 7 | 19 | 0.642857 | 7 | 42 | 3.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 42 | 5 | 20 | 8.4 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
54d807743d979e6f69e2be357519b982d511d6bf | 172 | py | Python | ibsng/handler/stat/get_user_queue_stats.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 6 | 2018-03-06T10:16:36.000Z | 2021-12-05T12:43:10.000Z | ibsng/handler/stat/get_user_queue_stats.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-03-06T10:27:08.000Z | 2022-01-02T15:21:27.000Z | ibsng/handler/stat/get_user_queue_stats.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-01-06T16:28:31.000Z | 2018-09-17T19:47:19.000Z | """Get user queue stats API method."""
from ibsng.handler.handler import Handler
class getUserQueueStats(Handler):
"""Get user queue stats method class."""
pass
| 19.111111 | 44 | 0.715116 | 22 | 172 | 5.590909 | 0.590909 | 0.113821 | 0.195122 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 172 | 8 | 45 | 21.5 | 0.866197 | 0.389535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
54db02a38363e2aaab17bad4a8d4d3e8e482cf69 | 21,879 | py | Python | lib/output.py | 1modm/CCToolkit | 65cfc518c7ed2d54883ef452303a0f1ea15275b7 | [
"BSD-3-Clause"
] | 2 | 2020-01-09T18:03:32.000Z | 2021-11-06T18:23:36.000Z | lib/output.py | 1modm/CCToolkit | 65cfc518c7ed2d54883ef452303a0f1ea15275b7 | [
"BSD-3-Clause"
] | null | null | null | lib/output.py | 1modm/CCToolkit | 65cfc518c7ed2d54883ef452303a0f1ea15275b7 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__license__ = """
CCParser
Author: https://twitter.com/1_mod_m/
Project site: https://github.com/1modm/
Copyright (c) 2016, MM
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the followi... | 37.657487 | 151 | 0.67823 | 2,461 | 21,879 | 5.848436 | 0.093864 | 0.031126 | 0.033141 | 0.097547 | 0.883346 | 0.87084 | 0.864656 | 0.855207 | 0.82429 | 0.793163 | 0 | 0.041883 | 0.190274 | 21,879 | 580 | 152 | 37.722414 | 0.770546 | 0.036199 | 0 | 0.728665 | 0 | 0 | 0.125528 | 0.000997 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067834 | false | 0 | 0.004376 | 0 | 0.07221 | 0.172867 | 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 |
070d89b5a98b684a478c0c748a49b5f348dbeab7 | 2,571 | py | Python | bluebottle/exports/tasks.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 10 | 2015-05-28T18:26:40.000Z | 2021-09-06T10:07:03.000Z | bluebottle/exports/tasks.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 762 | 2015-01-15T10:00:59.000Z | 2022-03-31T15:35:14.000Z | bluebottle/exports/tasks.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 9 | 2015-02-20T13:19:30.000Z | 2022-03-08T14:09:17.000Z | import logging
import os
import posixpath
from django.conf import settings
from django.utils import timezone
from celery import shared_task, current_task
from .exporter import get_export_models, get_resource_for_model
logger = logging.getLogger(__name__)
@shared_task
def export(exporter_class, format='xlsx', **kwa... | 30.607143 | 87 | 0.692338 | 330 | 2,571 | 5.215152 | 0.236364 | 0.087159 | 0.063916 | 0.075537 | 0.841371 | 0.841371 | 0.841371 | 0.816967 | 0.816967 | 0.816967 | 0 | 0 | 0.200311 | 2,571 | 83 | 88 | 30.975904 | 0.837062 | 0.054065 | 0 | 0.701754 | 0 | 0 | 0.079398 | 0.020059 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0 | 0.157895 | 0 | 0.22807 | 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 |
075dd661cae7283897d4bccf701174dd9a178f16 | 6,407 | py | Python | BS4 Source codes/yahoo-finance/yahoo-web-source/app-basics/app.py | rabiyulfahimhasim786/beautiful-soup4-basics | 1b030468524d97b94c5bde6e7469a9f57a2f4a56 | [
"MIT"
] | null | null | null | BS4 Source codes/yahoo-finance/yahoo-web-source/app-basics/app.py | rabiyulfahimhasim786/beautiful-soup4-basics | 1b030468524d97b94c5bde6e7469a9f57a2f4a56 | [
"MIT"
] | null | null | null | BS4 Source codes/yahoo-finance/yahoo-web-source/app-basics/app.py | rabiyulfahimhasim786/beautiful-soup4-basics | 1b030468524d97b94c5bde6e7469a9f57a2f4a56 | [
"MIT"
] | null | null | null | from flask import Flask, request, redirect, render_template, url_for
from matplotlib.pyplot import xlim
import yfinance as yf
import requests
from bs4 import BeautifulSoup
import pandas as pd
import json
import gspread
from oauth2client.service_account import ServiceAccountCredentials
from df2gspread import df... | 36.821839 | 190 | 0.558296 | 790 | 6,407 | 4.367089 | 0.178481 | 0.041739 | 0.057391 | 0.104348 | 0.828406 | 0.809565 | 0.809565 | 0.809565 | 0.79942 | 0.79942 | 0 | 0.007218 | 0.286405 | 6,407 | 174 | 191 | 36.821839 | 0.747375 | 0.040425 | 0 | 0.826667 | 0 | 0 | 0.195543 | 0.014745 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.066667 | 0.006667 | 0.153333 | 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 |
4adb251f27efc731964f97b2df71d1e5cac36cc7 | 43 | py | Python | tests/collagen/__init__.py | newskylabs/newskylabs-collagen | 3e2e331605745e6709f57dce8730ceb9ceaa002c | [
"Apache-2.0"
] | null | null | null | tests/collagen/__init__.py | newskylabs/newskylabs-collagen | 3e2e331605745e6709f57dce8730ceb9ceaa002c | [
"Apache-2.0"
] | null | null | null | tests/collagen/__init__.py | newskylabs/newskylabs-collagen | 3e2e331605745e6709f57dce8730ceb9ceaa002c | [
"Apache-2.0"
] | null | null | null | from . import datasets
from . import utils
| 14.333333 | 22 | 0.767442 | 6 | 43 | 5.5 | 0.666667 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.942857 | 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 |
4afc786bc4cc731cb0621fab424c437b2d964190 | 8,347 | py | Python | opensfm/test/test_reconstruction_alignment.py | vik748/OpenSfM | bd949246e3e0d6d3a707a08224038034d27e3ee8 | [
"BSD-2-Clause"
] | 1 | 2020-10-04T06:49:36.000Z | 2020-10-04T06:49:36.000Z | opensfm/test/test_reconstruction_alignment.py | silwalanish/OpenSfM | a1b611a8c8056791f5e0e250ebd9f736fb9eda86 | [
"BSD-2-Clause"
] | 3 | 2021-06-08T22:22:02.000Z | 2022-03-12T00:47:52.000Z | opensfm/test/test_reconstruction_alignment.py | silwalanish/OpenSfM | a1b611a8c8056791f5e0e250ebd9f736fb9eda86 | [
"BSD-2-Clause"
] | null | null | null |
import numpy as np
from opensfm import pygeometry
from opensfm import pybundle
def get_shot_origin(shot):
"""Compute the origin of a shot."""
pose = pygeometry.Pose([shot.rx, shot.ry, shot.rz], [shot.tx, shot.ty, shot.tz])
return pose.get_origin()
def get_reconstruction_origin(r):
"""Compute the or... | 38.643519 | 84 | 0.622978 | 1,472 | 8,347 | 3.347147 | 0.057745 | 0.094175 | 0.081591 | 0.064136 | 0.876801 | 0.845139 | 0.821392 | 0.817333 | 0.806982 | 0.776132 | 0 | 0.087764 | 0.193243 | 8,347 | 215 | 85 | 38.823256 | 0.643897 | 0.044567 | 0 | 0.701863 | 0 | 0 | 0.021961 | 0 | 0 | 0 | 0 | 0 | 0.167702 | 1 | 0.062112 | false | 0 | 0.018634 | 0 | 0.093168 | 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 |
ab0318eb07992d87053496a7262d0a0db7ecaf91 | 3,983 | py | Python | Tests/test_dis.py | amaeckelberghe/Pyjion | cdf8fbd3f3808d398a71fca085420f71c7dff106 | [
"MIT"
] | null | null | null | Tests/test_dis.py | amaeckelberghe/Pyjion | cdf8fbd3f3808d398a71fca085420f71c7dff106 | [
"MIT"
] | null | null | null | Tests/test_dis.py | amaeckelberghe/Pyjion | cdf8fbd3f3808d398a71fca085420f71c7dff106 | [
"MIT"
] | null | null | null | from pyjion.dis import print_il, dis
import pyjion
import unittest
import io
import contextlib
class DisassemblerModuleTestCase(unittest.TestCase):
def setUp(self) -> None:
pyjion.enable()
def tearDown(self) -> None:
pyjion.disable()
def test_fat(self):
def test_f():
... | 68.672414 | 1,866 | 0.611599 | 755 | 3,983 | 3.193377 | 0.156291 | 0.42555 | 0.291165 | 0.079635 | 0.755703 | 0.722522 | 0.676898 | 0.667358 | 0.622148 | 0.622148 | 0 | 0.304949 | 0.183279 | 3,983 | 57 | 1,867 | 69.877193 | 0.436213 | 0 | 0 | 0.234043 | 0 | 0.234043 | 0.638463 | 0.62114 | 0 | 0 | 0 | 0 | 0.085106 | 1 | 0.12766 | false | 0 | 0.106383 | 0 | 0.276596 | 0.06383 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ab3eab49358a14dc8881a213b3bd84eb80939c72 | 22,612 | py | Python | tests/test_sc.py | herrmannlab/highdicom | 95f39dd722ae6d357af3f942e2130d0ff4d68bfc | [
"MIT"
] | 2 | 2022-02-23T02:09:40.000Z | 2022-03-14T18:46:51.000Z | tests/test_sc.py | herrmannlab/highdicom | 95f39dd722ae6d357af3f942e2130d0ff4d68bfc | [
"MIT"
] | 9 | 2022-02-19T13:55:14.000Z | 2022-03-31T13:16:47.000Z | tests/test_sc.py | herrmannlab/highdicom | 95f39dd722ae6d357af3f942e2130d0ff4d68bfc | [
"MIT"
] | null | null | null | from pathlib import Path
from io import BytesIO
import unittest
import numpy as np
import pytest
from pydicom.encaps import generate_pixel_data_frame
from pydicom.filereader import dcmread
from pydicom.uid import (
RLELossless,
JPEGBaseline8Bit,
JPEG2000Lossless,
JPEGLSLossless,
)
from pydicom.valuerep... | 43.401152 | 79 | 0.677782 | 2,222 | 22,612 | 6.512601 | 0.093609 | 0.077534 | 0.045608 | 0.029024 | 0.829245 | 0.818257 | 0.808099 | 0.801811 | 0.76795 | 0.755995 | 0 | 0.013852 | 0.259331 | 22,612 | 520 | 80 | 43.484615 | 0.850191 | 0.007253 | 0 | 0.700624 | 1 | 0 | 0.011318 | 0 | 0 | 0 | 0 | 0 | 0.191268 | 1 | 0.035343 | false | 0 | 0.027027 | 0 | 0.068607 | 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 |
db779ba72b47ace7a4aba561f4b5f489995d388a | 300 | py | Python | cloudperf/__init__.py | bra-fsn/ec2bench | 2c9b22b89198aa52c85b42f268468bab3f293e49 | [
"MIT"
] | 6 | 2019-01-18T18:42:18.000Z | 2022-02-24T21:24:21.000Z | cloudperf/__init__.py | bra-fsn/ec2bench | 2c9b22b89198aa52c85b42f268468bab3f293e49 | [
"MIT"
] | 4 | 2019-10-05T01:11:40.000Z | 2021-10-06T13:12:57.000Z | cloudperf/__init__.py | bra-fsn/ec2bench | 2c9b22b89198aa52c85b42f268468bab3f293e49 | [
"MIT"
] | 3 | 2019-03-01T22:25:40.000Z | 2020-06-12T23:51:29.000Z | from __future__ import absolute_import
from .core import get_prices, get_performance, get_combined, prices_url, performance_url, terminate_instances
__all__ = ['get_prices', 'get_performance', 'get_combined',
'prices_url', 'performance_url', 'terminate_instances']
__version__ = '0.0.42'
| 42.857143 | 109 | 0.776667 | 37 | 300 | 5.621622 | 0.432432 | 0.086538 | 0.115385 | 0.221154 | 0.721154 | 0.721154 | 0.721154 | 0.721154 | 0.721154 | 0.721154 | 0 | 0.015152 | 0.12 | 300 | 6 | 110 | 50 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.29 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
db82f758d7e5f505141facfe5d220b8a9b3cfa68 | 6,553 | py | Python | xlsxwriter/test/drawing/test_drawing_image01.py | Rippling/XlsxWriter-1 | be8d1cb8f8b156cf87bbe5d591f1f5475804be44 | [
"BSD-2-Clause"
] | null | null | null | xlsxwriter/test/drawing/test_drawing_image01.py | Rippling/XlsxWriter-1 | be8d1cb8f8b156cf87bbe5d591f1f5475804be44 | [
"BSD-2-Clause"
] | null | null | null | xlsxwriter/test/drawing/test_drawing_image01.py | Rippling/XlsxWriter-1 | be8d1cb8f8b156cf87bbe5d591f1f5475804be44 | [
"BSD-2-Clause"
] | null | null | null | ###############################################################################
#
# Tests for XlsxWriter.
#
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org
#
import unittest
from io import StringIO
from ..helperfunctions import _xml_to_list
from ...drawing import D... | 38.547059 | 170 | 0.462536 | 624 | 6,553 | 4.746795 | 0.221154 | 0.105334 | 0.059082 | 0.066172 | 0.878123 | 0.841999 | 0.841999 | 0.841999 | 0.841999 | 0.841999 | 0 | 0.062627 | 0.40058 | 6,553 | 169 | 171 | 38.775148 | 0.691446 | 0.037387 | 0 | 0.861314 | 0 | 0.036496 | 0.695336 | 0.043731 | 0 | 0 | 0 | 0 | 0.014599 | 1 | 0.014599 | false | 0 | 0.029197 | 0 | 0.051095 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db8be45a37e081a649d39f13fec40d44b9b4988e | 2,203 | py | Python | tests/integration/cli/test_test.py | gamechanger/dusty | dd9778e3a4f0c623209e53e98aa9dc1fe76fc309 | [
"MIT"
] | 421 | 2015-06-02T16:29:59.000Z | 2021-06-03T18:44:42.000Z | tests/integration/cli/test_test.py | gamechanger/dusty | dd9778e3a4f0c623209e53e98aa9dc1fe76fc309 | [
"MIT"
] | 404 | 2015-06-02T20:23:42.000Z | 2019-08-21T16:59:41.000Z | tests/integration/cli/test_test.py | gamechanger/dusty | dd9778e3a4f0c623209e53e98aa9dc1fe76fc309 | [
"MIT"
] | 16 | 2015-06-16T17:21:02.000Z | 2020-03-27T02:27:09.000Z | import subprocess
import sys
from ...testcases import DustyIntegrationTestCase
from ...fixtures import busybox_single_app_bundle_fixture
class TestTestCLI(DustyIntegrationTestCase):
def setUp(self):
super(TestTestCLI, self).setUp()
busybox_single_app_bundle_fixture(num_bundles=1)
def test_bas... | 48.955556 | 90 | 0.720835 | 300 | 2,203 | 5.06 | 0.19 | 0.101449 | 0.129117 | 0.147563 | 0.85112 | 0.774704 | 0.740448 | 0.740448 | 0.704875 | 0.676548 | 0 | 0.010875 | 0.165229 | 2,203 | 44 | 91 | 50.068182 | 0.814573 | 0 | 0 | 0.305556 | 0 | 0 | 0.182932 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.138889 | false | 0.083333 | 0.111111 | 0 | 0.277778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
dbb9980addda011561e2ee72dd709d8b8262fd2a | 260,009 | py | Python | leetcode/hard/smallest_range/srcs/a_with_q.py | BillionsRichard/pycharmWorkspace | 709e2681fc6d85ff52fb25717215a365f51073aa | [
"Apache-2.0"
] | null | null | null | leetcode/hard/smallest_range/srcs/a_with_q.py | BillionsRichard/pycharmWorkspace | 709e2681fc6d85ff52fb25717215a365f51073aa | [
"Apache-2.0"
] | null | null | null | leetcode/hard/smallest_range/srcs/a_with_q.py | BillionsRichard/pycharmWorkspace | 709e2681fc6d85ff52fb25717215a365f51073aa | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
"""
@version: v1.0
@author: Richard
@license: Apache Licence
@contact: billions.richard@qq.com
@site:
@software: PyCharm
@time: 2019/9/12 20:37
"""
from pprint import pprint as pp
from operator import itemgetter
from collections import deque
import time
class Solution:
"""
输入:[[4... | 3,058.929412 | 257,052 | 0.803391 | 41,484 | 260,009 | 5.032808 | 0.008196 | 0.070811 | 0.038624 | 0.032187 | 0.99498 | 0.99477 | 0.994386 | 0.994386 | 0.994248 | 0.993931 | 0 | 0.801386 | 0.003415 | 260,009 | 84 | 257,053 | 3,095.345238 | 0.004342 | 0.003669 | 0 | 0.104167 | 0 | 0 | 0.000108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.083333 | 0 | 0.145833 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
918d821519c1f1373bfc3701b7eba09c2add0e9c | 11,971 | py | Python | tests/test_engine.py | benthomasson/ansible-events | bd90edb68778f9f5ad82591f46993335fada8ed4 | [
"Apache-2.0"
] | null | null | null | tests/test_engine.py | benthomasson/ansible-events | bd90edb68778f9f5ad82591f46993335fada8ed4 | [
"Apache-2.0"
] | 17 | 2022-03-07T17:57:07.000Z | 2022-03-23T18:58:48.000Z | tests/test_engine.py | benthomasson/ansible-events | bd90edb68778f9f5ad82591f46993335fada8ed4 | [
"Apache-2.0"
] | null | null | null | from durable.lang import *
import durable.lang
import yaml
import os
import asyncio
import janus
import pytest
from queue import Queue
from pprint import pprint
from ansible_events.rules_parser import parse_rule_sets
from ansible_events.engine import run_rulesets, start_source
from ansible_events.messages import Shut... | 34.799419 | 91 | 0.652661 | 1,595 | 11,971 | 4.670846 | 0.067712 | 0.136376 | 0.201074 | 0.223624 | 0.865772 | 0.865235 | 0.862148 | 0.845772 | 0.805638 | 0.745906 | 0 | 0.021195 | 0.168407 | 11,971 | 343 | 92 | 34.900875 | 0.727172 | 0.092557 | 0 | 0.642308 | 0 | 0 | 0.16513 | 0.012908 | 0 | 0 | 0 | 0 | 0.35 | 1 | 0.011538 | false | 0 | 0.053846 | 0 | 0.073077 | 0.007692 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
919a07e3008dced4f32ea44c5ca26bfef562a71c | 4,256 | py | Python | test_tscribe.py | craigmayhew/aws_transcribe_to_docx | 1aded9a7c0f14b8242991e564aec3275fc9f83f9 | [
"MIT"
] | null | null | null | test_tscribe.py | craigmayhew/aws_transcribe_to_docx | 1aded9a7c0f14b8242991e564aec3275fc9f83f9 | [
"MIT"
] | null | null | null | test_tscribe.py | craigmayhew/aws_transcribe_to_docx | 1aded9a7c0f14b8242991e564aec3275fc9f83f9 | [
"MIT"
] | null | null | null | import tscribe
import os
def test_multiple_speakers():
"""
Test output exists with multiple speaker input
# GIVEN a sample file containing multiple speakers
# WHEN calling tscribe.write(...)
# THEN produce the .docx without errors
"""
# Setup
input_file = "sample_multiple.json"
... | 28.373333 | 108 | 0.694314 | 610 | 4,256 | 4.654098 | 0.085246 | 0.098626 | 0.069038 | 0.038042 | 0.975343 | 0.975343 | 0.968299 | 0.912293 | 0.912293 | 0.912293 | 0 | 0 | 0.207472 | 4,256 | 150 | 109 | 28.373333 | 0.841684 | 0.363957 | 0 | 0.814815 | 0 | 0 | 0.231562 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 1 | 0.111111 | false | 0 | 0.037037 | 0 | 0.148148 | 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 |
37ce570ea17404c0b92df14d2829ebd67d4d2da6 | 110 | py | Python | controllers/charlas.py | bkahlerventer/web2congress | 30463ef05a64b95f9ec8a5575e1f45a99986b607 | [
"BSD-3-Clause"
] | 3 | 2016-12-29T23:02:35.000Z | 2021-07-01T01:10:12.000Z | controllers/charlas.py | reingart/web2conf | a5e01d9fc2c25b271db7cee528faef58a46e7106 | [
"BSD-3-Clause"
] | null | null | null | controllers/charlas.py | reingart/web2conf | a5e01d9fc2c25b271db7cee528faef58a46e7106 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf8
# try something like
def index(): return plugin_flatpage()
def rfp(): return plugin_flatpage()
| 22 | 37 | 0.745455 | 15 | 110 | 5.333333 | 0.733333 | 0.3 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.136364 | 110 | 4 | 38 | 27.5 | 0.831579 | 0.281818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 1 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
5305c66e383c26c9dc6b388b901f7cff240eb184 | 178 | py | Python | sportsdataverse/nba/__init__.py | saiemgilani/sportsdataverse-py | 77ae3accbb071b5308335b931e4e55a65e1500cd | [
"MIT"
] | 12 | 2021-10-15T01:24:18.000Z | 2022-03-15T17:00:22.000Z | sportsdataverse/nba/__init__.py | saiemgilani/sportsdataverse-py | 77ae3accbb071b5308335b931e4e55a65e1500cd | [
"MIT"
] | 19 | 2021-11-02T05:53:41.000Z | 2022-03-16T14:16:51.000Z | sportsdataverse/nba/__init__.py | saiemgilani/sportsdataverse-py | 77ae3accbb071b5308335b931e4e55a65e1500cd | [
"MIT"
] | 1 | 2021-12-21T14:49:25.000Z | 2021-12-21T14:49:25.000Z | from sportsdataverse.nba.nba_loaders import *
from sportsdataverse.nba.nba_pbp import *
from sportsdataverse.nba.nba_schedule import *
from sportsdataverse.nba.nba_teams import * | 44.5 | 46 | 0.848315 | 24 | 178 | 6.125 | 0.333333 | 0.517007 | 0.598639 | 0.680272 | 0.632653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08427 | 178 | 4 | 47 | 44.5 | 0.90184 | 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 |
5313c5fe044e92ee0cd4a770248cf8afced9e898 | 34 | py | Python | tests/test_import.py | meads2/googlesearch | 63e6a5afd7f7956a78de5b1543489acbd5de428a | [
"MIT"
] | null | null | null | tests/test_import.py | meads2/googlesearch | 63e6a5afd7f7956a78de5b1543489acbd5de428a | [
"MIT"
] | null | null | null | tests/test_import.py | meads2/googlesearch | 63e6a5afd7f7956a78de5b1543489acbd5de428a | [
"MIT"
] | null | null | null | def test_import_class():
pass
| 11.333333 | 24 | 0.705882 | 5 | 34 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 2 | 25 | 17 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0.5 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
532dc80453825adca54a242b4ab8b4cd9cf2455d | 24,731 | py | Python | mrpy/spatial_operators/haar/2nd_order_ctr_finite_diff/laplacian.py | marc-nguessan/mrpy | 6fb0bce485234a45bb863f71bc2bdf0a22014de3 | [
"BSD-3-Clause"
] | 2 | 2020-01-06T10:48:44.000Z | 2020-01-09T20:07:08.000Z | mrpy/spatial_operators/haar/2nd_order_ctr_finite_diff/laplacian.py | marc-nguessan/mrpy | 6fb0bce485234a45bb863f71bc2bdf0a22014de3 | [
"BSD-3-Clause"
] | 1 | 2020-01-09T20:08:50.000Z | 2020-01-09T20:11:20.000Z | mrpy/spatial_operators/haar/2nd_order_ctr_finite_diff/laplacian.py | marc-nguessan/mrpy | 6fb0bce485234a45bb863f71bc2bdf0a22014de3 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function, division
"""This module is used to compute the laplacian operator in the x-direction.
The procedure "create_matrix" returns the matrix representing the linear
combination of this operation on a cartesian grid representation of a variable.
Since the spatial operator depends on th... | 44.400359 | 124 | 0.539161 | 3,498 | 24,731 | 3.688107 | 0.056032 | 0.033486 | 0.050384 | 0.073638 | 0.861794 | 0.846601 | 0.835672 | 0.82854 | 0.80924 | 0.809085 | 0 | 0.018685 | 0.337795 | 24,731 | 556 | 125 | 44.480216 | 0.769066 | 0.114836 | 0 | 0.671388 | 0 | 0 | 0.037734 | 0.001001 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005666 | false | 0.056657 | 0.031161 | 0 | 0.048159 | 0.022663 | 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 |
7259a096295c97945756dcb2fcac45d03a040b8e | 41,187 | py | Python | Lib/site-packages/tensorflow/python/ops/gen_debug_ops.py | caiyongji/tf2.3.1-py3.7.9-full-built | ace4efcbf05b2b494388739718a18c13eab83c71 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/site-packages/tensorflow/python/ops/gen_debug_ops.py | caiyongji/tf2.3.1-py3.7.9-full-built | ace4efcbf05b2b494388739718a18c13eab83c71 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/site-packages/tensorflow/python/ops/gen_debug_ops.py | caiyongji/tf2.3.1-py3.7.9-full-built | ace4efcbf05b2b494388739718a18c13eab83c71 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | """Python wrappers around TensorFlow ops.
This file is MACHINE GENERATED! Do not edit.
"""
import collections
from tensorflow.python import pywrap_tfe as pywrap_tfe
from tensorflow.python.eager import context as _context
from tensorflow.python.eager import core as _core
from tensorflow.python.eager import execute as... | 45.161184 | 185 | 0.700634 | 5,919 | 41,187 | 4.543842 | 0.064369 | 0.04116 | 0.031753 | 0.029745 | 0.859937 | 0.830935 | 0.812605 | 0.794423 | 0.782413 | 0.766462 | 0 | 0.007047 | 0.207541 | 41,187 | 911 | 186 | 45.210757 | 0.816967 | 0.327749 | 0 | 0.805324 | 1 | 0 | 0.131778 | 0.010012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023295 | false | 0.023295 | 0.019967 | 0 | 0.08985 | 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 |
727206351570781e0dcd436d92725f3516beb0fe | 12,905 | py | Python | bench/FEECa/plot.py | Airini/FEECa | 3ffae7177fca159d965b70e3763a20ab84cd8a8b | [
"BSD-3-Clause"
] | 32 | 2016-05-18T05:41:28.000Z | 2021-07-15T12:51:19.000Z | bench/FEECa/plot.py | Airini/FEECa | 3ffae7177fca159d965b70e3763a20ab84cd8a8b | [
"BSD-3-Clause"
] | 4 | 2016-10-26T13:28:34.000Z | 2017-02-08T16:37:41.000Z | bench/FEECa/plot.py | Airini/FEECa | 3ffae7177fca159d965b70e3763a20ab84cd8a8b | [
"BSD-3-Clause"
] | 8 | 2016-05-18T21:33:55.000Z | 2021-09-13T19:33:06.000Z | import matplotlib
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from matplotlib.patches import Patch
from itertools import dropwhile
sns.set_style("whitegrid")
#------------------------------------------------------------------------------#
# Graphics setting... | 36.558074 | 84 | 0.534599 | 1,903 | 12,905 | 3.510772 | 0.088282 | 0.033678 | 0.02799 | 0.014668 | 0.862146 | 0.830415 | 0.81874 | 0.815746 | 0.803024 | 0.798533 | 0 | 0.032032 | 0.170244 | 12,905 | 352 | 85 | 36.661932 | 0.591894 | 0.295389 | 0 | 0.704762 | 0 | 0 | 0.109516 | 0.030273 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.028571 | 0 | 0.080952 | 0.028571 | 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 |
72856e485b9332ba73ae5cdc47184acd098b8405 | 10,255 | py | Python | src/graphics/tests/test_cursor.py | Kautenja/very-good-semantic-segmentation-labeling-app | 73a51ed17d1e22ae98ebae53058092b425708338 | [
"MIT"
] | 1 | 2020-04-07T01:29:29.000Z | 2020-04-07T01:29:29.000Z | src/graphics/tests/test_cursor.py | Kautenja/very-good-semantic-segmentation-labeling-app | 73a51ed17d1e22ae98ebae53058092b425708338 | [
"MIT"
] | null | null | null | src/graphics/tests/test_cursor.py | Kautenja/very-good-semantic-segmentation-labeling-app | 73a51ed17d1e22ae98ebae53058092b425708338 | [
"MIT"
] | 1 | 2019-02-27T06:01:14.000Z | 2019-02-27T06:01:14.000Z | """Test cases for the brush_cursor module."""
from unittest import TestCase
import numpy as np
from ..cursor import make_circle
from ..cursor import make_cursor, make_ring
from ..cursor import pyglet_cursor
class ShouldCreateCircleWithRadius1(TestCase):
def test(self):
circle = make_circle(1)
expe... | 38.40824 | 77 | 0.312823 | 1,653 | 10,255 | 1.921355 | 0.029038 | 0.450882 | 0.587531 | 0.700252 | 0.838791 | 0.838791 | 0.838791 | 0.78306 | 0.704345 | 0.702771 | 0 | 0.297856 | 0.476841 | 10,255 | 266 | 78 | 38.552632 | 0.294129 | 0.003803 | 0 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041152 | 1 | 0.045267 | false | 0 | 0.020576 | 0 | 0.111111 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 13 |
728743fa71dcd0ee430d6b5eb8107c47123dd326 | 170 | py | Python | library/rpi_ws281x/__init__.py | paulhayes/rpi-ws281x-python | baf174dfee61b58fdb01952ff52738d89cf7616e | [
"BSD-2-Clause"
] | 219 | 2018-04-21T20:49:34.000Z | 2022-03-22T18:10:37.000Z | library/rpi_ws281x/__init__.py | paulhayes/rpi-ws281x-python | baf174dfee61b58fdb01952ff52738d89cf7616e | [
"BSD-2-Clause"
] | 80 | 2018-03-20T10:42:18.000Z | 2022-03-28T20:52:05.000Z | library/rpi_ws281x/__init__.py | paulhayes/rpi-ws281x-python | baf174dfee61b58fdb01952ff52738d89cf7616e | [
"BSD-2-Clause"
] | 83 | 2018-09-17T14:00:01.000Z | 2022-03-23T19:30:39.000Z | # New canonical package, to support `import rpi_ws281x`
from .rpi_ws281x import PixelStrip, Adafruit_NeoPixel, Color, ws
from _rpi_ws281x import *
__version__ = '4.3.0'
| 28.333333 | 64 | 0.782353 | 25 | 170 | 4.96 | 0.72 | 0.217742 | 0.209677 | 0.306452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.135294 | 170 | 5 | 65 | 34 | 0.761905 | 0.311765 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
72b60dfdbd89cfef2bbc88d4e9dafb170ab0bd16 | 12,842 | py | Python | Account/app/mod_service/schemas.py | TamSzaGot/mydata-sdk | 9c8afb75077f0b993819aa534b904501a8112f76 | [
"MIT"
] | 4 | 2018-04-21T00:46:40.000Z | 2019-12-03T13:52:03.000Z | Account/app/mod_service/schemas.py | TamSzaGot/mydata-sdk | 9c8afb75077f0b993819aa534b904501a8112f76 | [
"MIT"
] | 1 | 2019-01-09T10:45:23.000Z | 2019-01-09T10:45:23.000Z | Account/app/mod_service/schemas.py | TamSzaGot/mydata-sdk | 9c8afb75077f0b993819aa534b904501a8112f76 | [
"MIT"
] | 4 | 2018-04-21T01:12:12.000Z | 2020-09-24T06:19:29.000Z | # -*- coding: utf-8 -*-
"""
__author__ = "Jani Yli-Kantola"
__copyright__ = ""
__credits__ = ["Harri Hirvonsalo", "Aleksi Palomäki"]
__license__ = "MIT"
__version__ = "1.3.0"
__maintainer__ = "Jani Yli-Kantola"
__contact__ = "https://github.com/HIIT/mydata-stack"
__status__ = "Development"
"""
schema_sl_init_sink = {... | 25.632735 | 57 | 0.2456 | 580 | 12,842 | 5.256897 | 0.139655 | 0.177107 | 0.078714 | 0.039357 | 0.818629 | 0.814693 | 0.790423 | 0.768121 | 0.741883 | 0.693342 | 0 | 0.003292 | 0.621554 | 12,842 | 500 | 58 | 25.684 | 0.624074 | 0.022193 | 0 | 0.697479 | 0 | 0 | 0.231229 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
72cb4e67c65f45f51e651aa3048a878bb173fd44 | 40,041 | py | Python | vendor/github.com/containers-ai/api/alameda_api/v1alpha1/datahub/recommendations/recommendations_pb2.py | imhd/alameda | a82b009133f53bd5406b3ff371453907192d0f75 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/containers-ai/api/alameda_api/v1alpha1/datahub/recommendations/recommendations_pb2.py | imhd/alameda | a82b009133f53bd5406b3ff371453907192d0f75 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/containers-ai/api/alameda_api/v1alpha1/datahub/recommendations/recommendations_pb2.py | imhd/alameda | a82b009133f53bd5406b3ff371453907192d0f75 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: alameda_api/v1alpha1/datahub/recommendations/recommendations.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobu... | 63.557143 | 5,593 | 0.81454 | 4,752 | 40,041 | 6.491162 | 0.054082 | 0.034753 | 0.068469 | 0.104714 | 0.835538 | 0.812812 | 0.795111 | 0.780879 | 0.709427 | 0.700447 | 0 | 0.039945 | 0.085937 | 40,041 | 629 | 5,594 | 63.658188 | 0.802842 | 0.028471 | 0 | 0.662651 | 1 | 0.001721 | 0.323913 | 0.289814 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022375 | 0 | 0.022375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
72dc317a3aeadc0ea5274238f1d61855344e5c23 | 65,531 | py | Python | tests/adapters/switches/remote_test.py | FrancoisLopez/netman | a40d3235f7ea0cdaf52daab97b0d5ad20857b00e | [
"Apache-2.0"
] | null | null | null | tests/adapters/switches/remote_test.py | FrancoisLopez/netman | a40d3235f7ea0cdaf52daab97b0d5ad20857b00e | [
"Apache-2.0"
] | null | null | null | tests/adapters/switches/remote_test.py | FrancoisLopez/netman | a40d3235f7ea0cdaf52daab97b0d5ad20857b00e | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Internap.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 38.011021 | 127 | 0.590957 | 7,599 | 65,531 | 4.828267 | 0.049612 | 0.043881 | 0.051022 | 0.066558 | 0.870973 | 0.849032 | 0.833034 | 0.799836 | 0.766285 | 0.744208 | 0 | 0.046094 | 0.283255 | 65,531 | 1,723 | 128 | 38.033082 | 0.735059 | 0.008332 | 0 | 0.724638 | 0 | 0.00138 | 0.13723 | 0.065968 | 0 | 0 | 0 | 0 | 0.122843 | 1 | 0.071084 | false | 0.006211 | 0.010352 | 0.00069 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f42d96dc143c1156ee4b6b32a5c46df54b92f152 | 19,468 | py | Python | netbox_onboarding/tests/test_netbox_keeper.py | fallenfuzz/ntc-netbox-plugin-onboarding | aeebc17a8e297c8f7694c59484e68ef28b464fad | [
"Apache-2.0"
] | 180 | 2020-05-19T21:30:01.000Z | 2022-03-15T15:18:27.000Z | netbox_onboarding/tests/test_netbox_keeper.py | fallenfuzz/ntc-netbox-plugin-onboarding | aeebc17a8e297c8f7694c59484e68ef28b464fad | [
"Apache-2.0"
] | 85 | 2020-05-20T22:12:12.000Z | 2022-01-17T20:52:30.000Z | netbox_onboarding/tests/test_netbox_keeper.py | isabella232/ntc-netbox-plugin-onboarding | 2eca893c2e97ed40f2b2c45ef3be93c0d120b6fc | [
"Apache-2.0"
] | 44 | 2020-05-21T00:43:17.000Z | 2022-03-11T05:12:48.000Z | """Unit tests for netbox_onboarding.onboard module and its classes.
(c) 2020 Network To Code
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 requi... | 42.50655 | 118 | 0.672026 | 2,191 | 19,468 | 5.644455 | 0.092652 | 0.042047 | 0.034932 | 0.041481 | 0.830436 | 0.805612 | 0.7744 | 0.760653 | 0.760653 | 0.731786 | 0 | 0.016097 | 0.224574 | 19,468 | 457 | 119 | 42.599562 | 0.803127 | 0.101449 | 0 | 0.736364 | 0 | 0 | 0.224912 | 0.041003 | 0 | 0 | 0 | 0 | 0.169697 | 1 | 0.054545 | false | 0 | 0.021212 | 0 | 0.078788 | 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 |
bebeeeee1bd23bd77af46e3628f66c35885e7633 | 68,666 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/SystemIPC/EightThreads_radix/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/SystemIPC/EightThreads_radix/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/SystemIPC/EightThreads_radix/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.126915 | 124 | 0.682288 | 8,086 | 68,666 | 5.788029 | 0.067524 | 0.123414 | 0.112816 | 0.093329 | 0.939084 | 0.9312 | 0.91823 | 0.887483 | 0.862485 | 0.84178 | 0 | 0.132726 | 0.224143 | 68,666 | 914 | 125 | 75.126915 | 0.745772 | 0 | 0 | 0.642232 | 0 | 0 | 0.656866 | 0.048058 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bec8f3e8e25615ec47e0f369b37c577cbda48806 | 20,401 | py | Python | salt/runners/saltutil.py | casselt/salt | d8a2ef4e0cd544656489d23d161928879b1fc1c0 | [
"Apache-2.0"
] | 1 | 2016-08-21T21:19:12.000Z | 2016-08-21T21:19:12.000Z | salt/runners/saltutil.py | casselt/salt | d8a2ef4e0cd544656489d23d161928879b1fc1c0 | [
"Apache-2.0"
] | 2 | 2019-03-06T20:43:44.000Z | 2019-04-10T23:56:02.000Z | salt/runners/saltutil.py | casselt/salt | d8a2ef4e0cd544656489d23d161928879b1fc1c0 | [
"Apache-2.0"
] | 1 | 2018-11-14T11:01:16.000Z | 2018-11-14T11:01:16.000Z | # -*- coding: utf-8 -*-
'''
The Saltutil runner is used to sync custom types to the Master. See the
:mod:`saltutil module <salt.modules.saltutil>` for documentation on
managing updates to minions.
.. versionadded:: 2016.3.0
'''
from __future__ import absolute_import, print_function, unicode_literals
# Import python l... | 33.444262 | 128 | 0.688839 | 2,485 | 20,401 | 5.471227 | 0.045875 | 0.145631 | 0.132833 | 0.091718 | 0.880038 | 0.875625 | 0.831495 | 0.831495 | 0.831495 | 0.769712 | 0 | 0.00618 | 0.230577 | 20,401 | 609 | 129 | 33.499179 | 0.859973 | 0.502868 | 0 | 0.255102 | 0 | 0 | 0.043896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234694 | false | 0 | 0.030612 | 0 | 0.5 | 0.010204 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fe2c15558338948e894518940184ec48ac6136ab | 5,732 | py | Python | trello/actions.py | cmuozdiaz/trello-py | fa3e05972ad22796e515a6bb1a31e1ea5b365ed6 | [
"BSD-2-Clause"
] | null | null | null | trello/actions.py | cmuozdiaz/trello-py | fa3e05972ad22796e515a6bb1a31e1ea5b365ed6 | [
"BSD-2-Clause"
] | null | null | null | trello/actions.py | cmuozdiaz/trello-py | fa3e05972ad22796e515a6bb1a31e1ea5b365ed6 | [
"BSD-2-Clause"
] | null | null | null | import json
import requests
class Actions(object):
__module__ = 'trello'
def __init__(self, apikey, token=None):
self._apikey = apikey
self._token = token
def get(self, idAction, display=None, entities=None, fields=None, member=None, member_fields=None, memberCreator=None, memberCreator_f... | 54.075472 | 330 | 0.66626 | 743 | 5,732 | 4.986541 | 0.060565 | 0.053981 | 0.080972 | 0.076923 | 0.870175 | 0.870175 | 0.870175 | 0.870175 | 0.85614 | 0.85614 | 0 | 0.003948 | 0.160502 | 5,732 | 105 | 331 | 54.590476 | 0.766002 | 0 | 0 | 0.457831 | 0 | 0 | 0.175886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240964 | false | 0 | 0.024096 | 0 | 0.518072 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
fe9eea00f59c68728aba4c226c290f0abf2ab311 | 176 | py | Python | deeplabcut/pose_estimation_3d/__init__.py | serre-lab/deeplabcut_mgh | aa37b104ba4967932528d4f79665648474f51112 | [
"MIT"
] | null | null | null | deeplabcut/pose_estimation_3d/__init__.py | serre-lab/deeplabcut_mgh | aa37b104ba4967932528d4f79665648474f51112 | [
"MIT"
] | 1 | 2019-12-15T00:37:15.000Z | 2019-12-15T00:37:15.000Z | deeplabcut/pose_estimation_3d/__init__.py | kalpitthakkar/deeplabcut_mgh_pose | 8fa4a59f422ff0357552e290230838239edcfe1b | [
"MIT"
] | null | null | null | from deeplabcut.pose_estimation_3d.camera_calibration import *
from deeplabcut.pose_estimation_3d.plotting3D import *
from deeplabcut.pose_estimation_3d.triangulation import *
| 44 | 62 | 0.880682 | 22 | 176 | 6.727273 | 0.454545 | 0.283784 | 0.364865 | 0.567568 | 0.689189 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.068182 | 176 | 3 | 63 | 58.666667 | 0.878049 | 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 |
feaceee91130522bb582df1a0bee35551eed8a74 | 119 | py | Python | src/ctc/protocols/fei_utils/analytics/metric_groups/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/protocols/fei_utils/analytics/metric_groups/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/protocols/fei_utils/analytics/metric_groups/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .buyback_metrics import *
from .fei_metrics import *
from .fei_volume_metrics import *
from .pcv_metrics import *
| 23.8 | 33 | 0.798319 | 17 | 119 | 5.294118 | 0.411765 | 0.577778 | 0.566667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 4 | 34 | 29.75 | 0.873786 | 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 |
feb02663b37774724d6bc2b05800a55eedb65572 | 68,010 | py | Python | atom/nucleus/python/nucleus_api/api/decision_tree_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/nucleus_api/api/decision_tree_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/nucleus_api/api/decision_tree_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Hydrogen Nucleus API
The Hydrogen Nucleus API # noqa: E501
OpenAPI spec version: 1.9.5
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and pyt... | 41.393792 | 152 | 0.616733 | 7,933 | 68,010 | 4.98626 | 0.024203 | 0.05319 | 0.022651 | 0.029123 | 0.986677 | 0.981343 | 0.976868 | 0.971863 | 0.967793 | 0.954773 | 0 | 0.017357 | 0.296883 | 68,010 | 1,642 | 153 | 41.419001 | 0.809845 | 0.318071 | 0 | 0.830508 | 1 | 0 | 0.189148 | 0.059703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037288 | false | 0 | 0.00452 | 0 | 0.097175 | 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 |
feb46fa9bd771779bd0ea126f4b086a2c209a3da | 3,818 | py | Python | src/sst/elements/ember/test/networkConfig.py | zhangyjBU/sst-elements | d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c | [
"BSD-3-Clause"
] | 2 | 2021-12-24T03:24:33.000Z | 2022-01-11T23:03:39.000Z | src/sst/elements/ember/test/networkConfig.py | zhangyjBU/sst-elements | d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c | [
"BSD-3-Clause"
] | null | null | null | src/sst/elements/ember/test/networkConfig.py | zhangyjBU/sst-elements | d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c | [
"BSD-3-Clause"
] | 2 | 2021-05-23T02:28:02.000Z | 2021-09-08T13:38:46.000Z | import sys
class TopoInfo:
def getNumNodes(self):
pass
def getNetworkParams(self):
pass
class TorusInfo(TopoInfo):
def __init__( self, shape, local_ports ):
width = 1
self.params = {}
self.params["num_dims"] = self.calcNumDim(shape)
self.params["torus:shape"] = shape
self.params["torus:width"] = se... | 25.972789 | 65 | 0.628339 | 455 | 3,818 | 5.167033 | 0.140659 | 0.136112 | 0.09698 | 0.040408 | 0.800085 | 0.755423 | 0.755423 | 0.723097 | 0.723097 | 0.683114 | 0 | 0.004506 | 0.244369 | 3,818 | 146 | 66 | 26.150685 | 0.810399 | 0 | 0 | 0.745614 | 0 | 0 | 0.109743 | 0.042693 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.017544 | 0.008772 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2284f2a698312a1d8ce04561f1eac7c53893a1c5 | 66,138 | py | Python | tests/test_distributed_splunk_image.py | ridvan70/docker-splunk | 467800a6038419d954eb8635a4812df643c881a8 | [
"Apache-2.0"
] | 535 | 2016-09-29T15:38:32.000Z | 2022-03-30T09:11:26.000Z | tests/test_distributed_splunk_image.py | ridvan70/docker-splunk | 467800a6038419d954eb8635a4812df643c881a8 | [
"Apache-2.0"
] | 319 | 2016-09-29T17:20:20.000Z | 2022-03-30T13:40:47.000Z | tests/test_distributed_splunk_image.py | ridvan70/docker-splunk | 467800a6038419d954eb8635a4812df643c881a8 | [
"Apache-2.0"
] | 388 | 2016-09-29T19:34:34.000Z | 2022-03-31T00:40:27.000Z | #!/usr/bin/env python
# encoding: utf-8
import pytest
import time
import re
import os
import tarfile
import requests
import tarfile
import docker
import json
import urllib
import yaml
import subprocess
from shutil import copy, copytree, rmtree
from executor import Executor
from docker.types import Mount
# Code to supp... | 59.745257 | 220 | 0.582146 | 7,434 | 66,138 | 5.011299 | 0.063761 | 0.037204 | 0.050733 | 0.054679 | 0.861277 | 0.850325 | 0.838702 | 0.810463 | 0.796049 | 0.791915 | 0 | 0.01415 | 0.302247 | 66,138 | 1,107 | 221 | 59.745257 | 0.793122 | 0.084112 | 0 | 0.708287 | 0 | 0.01547 | 0.180717 | 0.05142 | 0 | 0 | 0 | 0 | 0.21326 | 1 | 0.027624 | false | 0.076243 | 0.018785 | 0 | 0.047514 | 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 |
229d3a5fba43840eafc7a8fc273b583ec8760d17 | 134 | py | Python | tests/pyflakes_bears/pep8_naming_test_files/E11/invalid.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | null | null | null | tests/pyflakes_bears/pep8_naming_test_files/E11/invalid.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | 12 | 2018-05-21T06:12:59.000Z | 2018-07-30T10:37:16.000Z | tests/pyflakes_bears/pep8_naming_test_files/E11/invalid.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | 1 | 2018-06-10T16:16:47.000Z | 2018-06-10T16:16:47.000Z | class Foo:
[mix_Case, var2] = range(2)
def bar():
'''
>>> class Foo():
... mix_Case = 0
'''
pass
| 13.4 | 31 | 0.395522 | 15 | 134 | 3.4 | 0.733333 | 0.313725 | 0.431373 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.410448 | 134 | 9 | 32 | 14.888889 | 0.607595 | 0.276119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
22a99f31ad3d646eaec1ecd1f7a1bf796c852740 | 168,089 | py | Python | test/IECoreHoudini/SceneCacheTest.py | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | test/IECoreHoudini/SceneCacheTest.py | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | test/IECoreHoudini/SceneCacheTest.py | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | ##########################################################################
#
# Copyright (c) 2013-2015, Image Engine Design Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redis... | 51.815351 | 217 | 0.661465 | 21,181 | 168,089 | 5.238705 | 0.037675 | 0.121124 | 0.034715 | 0.027685 | 0.875172 | 0.854643 | 0.831319 | 0.807266 | 0.788583 | 0.770892 | 0 | 0.032071 | 0.153562 | 168,089 | 3,243 | 218 | 51.831329 | 0.747823 | 0.029098 | 0 | 0.751924 | 0 | 0.000366 | 0.056477 | 0.005696 | 0 | 0 | 0 | 0 | 0.406742 | 1 | 0.028215 | false | 0 | 0.001832 | 0 | 0.036277 | 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 |
22c55f667de0fc14bef7956bdd168df035a20ead | 117 | py | Python | src/utils/pause.py | Kamuish/serval | 37807c4dc9d16bd91daa3931a89f128404c83dd6 | [
"MIT"
] | null | null | null | src/utils/pause.py | Kamuish/serval | 37807c4dc9d16bd91daa3931a89f128404c83dd6 | [
"MIT"
] | 20 | 2020-01-30T22:08:59.000Z | 2020-02-17T23:24:11.000Z | src/utils/pause.py | Kamuish/serval | 37807c4dc9d16bd91daa3931a89f128404c83dd6 | [
"MIT"
] | null | null | null | """ TEMPORARY FIX """
def pause(*args):
print("TRYING TO PAUSE")
def stop(*args):
print("TRYING TO STOP") | 14.625 | 28 | 0.598291 | 16 | 117 | 4.375 | 0.5625 | 0.257143 | 0.428571 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213675 | 117 | 8 | 29 | 14.625 | 0.76087 | 0.111111 | 0 | 0 | 0 | 0 | 0.298969 | 0 | 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 |
22d27ee665e3d4185325e8a0ae49d628517eabd0 | 225 | py | Python | pycaprio/core/objects/__init__.py | reckart/pycaprio | 1d030ecd97cb324e404c16520fe6250c49c3bb06 | [
"MIT"
] | 9 | 2019-08-27T11:21:07.000Z | 2021-03-11T15:41:44.000Z | pycaprio/core/objects/__init__.py | reckart/pycaprio | 1d030ecd97cb324e404c16520fe6250c49c3bb06 | [
"MIT"
] | 25 | 2019-09-03T11:05:18.000Z | 2021-04-18T15:57:33.000Z | pycaprio/core/objects/__init__.py | reckart/pycaprio | 1d030ecd97cb324e404c16520fe6250c49c3bb06 | [
"MIT"
] | 6 | 2019-10-02T16:51:10.000Z | 2021-03-11T15:41:52.000Z | # flake8: noqa
from pycaprio.core.objects.annotation import Annotation
from pycaprio.core.objects.document import Document
from pycaprio.core.objects.project import Project
from pycaprio.core.objects.curation import Curation
| 37.5 | 55 | 0.853333 | 30 | 225 | 6.4 | 0.366667 | 0.25 | 0.333333 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.084444 | 225 | 5 | 56 | 45 | 0.927184 | 0.053333 | 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 |
22ed871a0065b44d748a83c43965b08f77dba746 | 12,318 | py | Python | src/abaqus/BoundaryCondition/SubmodelBC.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/BoundaryCondition/SubmodelBC.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/BoundaryCondition/SubmodelBC.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .BoundaryCondition import BoundaryCondition
from ..Region.Region import Region
class SubmodelBC(BoundaryCondition):
"""The SubmodelBC object stores the data for a submodel boundary condition.
The SubmodelBC object is derived from the BoundaryCondition object.
Attribute... | 54.264317 | 125 | 0.67787 | 1,604 | 12,318 | 5.200748 | 0.115337 | 0.031168 | 0.052146 | 0.059099 | 0.833613 | 0.82726 | 0.822225 | 0.801606 | 0.786502 | 0.773556 | 0 | 0.003746 | 0.284786 | 12,318 | 226 | 126 | 54.504425 | 0.943133 | 0.785598 | 0 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0.115385 | 0.115385 | 0 | 0.576923 | 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 |
a3b9ea1610a20059786b5c26c1c0b33d5b50f05f | 185 | py | Python | streamer_pytorch/__init__.py | liruilong940607/streamer_pytorch | 83a7962d8a9f064d9b78e093cbf3223ec1dd24cd | [
"MIT"
] | 2 | 2020-12-22T17:20:25.000Z | 2021-09-14T03:15:27.000Z | streamer_pytorch/__init__.py | liruilong940607/streamer_pytorch | 83a7962d8a9f064d9b78e093cbf3223ec1dd24cd | [
"MIT"
] | null | null | null | streamer_pytorch/__init__.py | liruilong940607/streamer_pytorch | 83a7962d8a9f064d9b78e093cbf3223ec1dd24cd | [
"MIT"
] | 1 | 2021-09-19T09:37:59.000Z | 2021-09-19T09:37:59.000Z | from .streamer import BaseStreamer
from .streamer import CaptureStreamer
from .streamer import VideoListStreamer
from .streamer import ImageListStreamer
from .streamer import aug_matrix | 37 | 39 | 0.87027 | 21 | 185 | 7.619048 | 0.428571 | 0.375 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 185 | 5 | 40 | 37 | 0.963855 | 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 |
a3e400ab7bd7a1c612da672f2be4f9a3db674ba3 | 170 | py | Python | polls/admin.py | arunko350/deblog | 3dc7c8b4a50ecaef252483053a205781333b60fd | [
"MIT"
] | null | null | null | polls/admin.py | arunko350/deblog | 3dc7c8b4a50ecaef252483053a205781333b60fd | [
"MIT"
] | null | null | null | polls/admin.py | arunko350/deblog | 3dc7c8b4a50ecaef252483053a205781333b60fd | [
"MIT"
] | null | null | null | from django.contrib import admin
from polls.models import Choice
# Register your models here.
from polls.models import Question
admin.site.register([Question, Choice])
| 21.25 | 39 | 0.805882 | 24 | 170 | 5.708333 | 0.541667 | 0.131387 | 0.218978 | 0.306569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123529 | 170 | 7 | 40 | 24.285714 | 0.919463 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
4308ec7488dc78ab8943889dd1964fdd1f1397c9 | 2,546 | py | Python | umbra/common/protobuf/umbra_pb2_grpc.py | banoris/umbra | 3c141d8f54398dfa2b0e991db25e74533f49fe8b | [
"Apache-2.0"
] | null | null | null | umbra/common/protobuf/umbra_pb2_grpc.py | banoris/umbra | 3c141d8f54398dfa2b0e991db25e74533f49fe8b | [
"Apache-2.0"
] | 9 | 2020-06-19T11:09:26.000Z | 2020-08-19T14:46:34.000Z | umbra/common/protobuf/umbra_pb2_grpc.py | banoris/umbra | 3c141d8f54398dfa2b0e991db25e74533f49fe8b | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
import umbra_pb2 as umbra__pb2
class BrokerStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.... | 28.606742 | 69 | 0.728987 | 283 | 2,546 | 6.279152 | 0.240283 | 0.04502 | 0.101294 | 0.12493 | 0.839617 | 0.716939 | 0.716939 | 0.716939 | 0.716939 | 0.640405 | 0 | 0.004833 | 0.187353 | 2,546 | 88 | 70 | 28.931818 | 0.854036 | 0.195601 | 0 | 0.555556 | 1 | 0 | 0.079801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.037037 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4335cbb133cded5a126d4a1039ab72dba04cb065 | 160 | py | Python | networkx/algorithms/community/__init__.py | kakila/networkx | a7c7e0bd2057acf8066d796e53f6ea1a77be803e | [
"BSD-3-Clause"
] | 1 | 2020-11-10T08:15:23.000Z | 2020-11-10T08:15:23.000Z | networkx/algorithms/community/__init__.py | kakila/networkx | a7c7e0bd2057acf8066d796e53f6ea1a77be803e | [
"BSD-3-Clause"
] | null | null | null | networkx/algorithms/community/__init__.py | kakila/networkx | a7c7e0bd2057acf8066d796e53f6ea1a77be803e | [
"BSD-3-Clause"
] | null | null | null | from networkx.algorithms.community.asyn_lpa import *
from networkx.algorithms.community.centrality import *
from networkx.algorithms.community.kclique import *
| 40 | 54 | 0.85 | 19 | 160 | 7.105263 | 0.473684 | 0.266667 | 0.488889 | 0.688889 | 0.548148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 160 | 3 | 55 | 53.333333 | 0.912162 | 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 |
4a5c0e2c07a4d6ee0b1da80f434de76e68fe7d3a | 464,066 | py | Python | applications/z3pyir/opt/check-healthplus.py | wangjwchn/autogr | c6b5404f6165ea6374f628dbd433ef25253ab5f8 | [
"MIT"
] | null | null | null | applications/z3pyir/opt/check-healthplus.py | wangjwchn/autogr | c6b5404f6165ea6374f628dbd433ef25253ab5f8 | [
"MIT"
] | null | null | null | applications/z3pyir/opt/check-healthplus.py | wangjwchn/autogr | c6b5404f6165ea6374f628dbd433ef25253ab5f8 | [
"MIT"
] | null | null | null | import sys
sys.path.append("../../")
from z3 import *
from Rigi.axioms import *
from Rigi.checker import *
from Rigi.table import *
from Rigi.tableIns import *
from Rigi.argvbuilder import *
##############################################################################################
BloodGroupingRh = Table('BloodG... | 88.343042 | 11,915 | 0.755776 | 55,144 | 464,066 | 5.847762 | 0.007653 | 0.065737 | 0.080994 | 0.063479 | 0.957925 | 0.918498 | 0.899451 | 0.882758 | 0.875771 | 0.871132 | 0 | 0.039501 | 0.107918 | 464,066 | 5,252 | 11,916 | 88.359863 | 0.739437 | 0 | 0 | 0.75351 | 0 | 0 | 0.476255 | 0.326884 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05512 | false | 0.013832 | 0.001445 | 0 | 0.111685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4ac4a388ab6c68e313885439546bafd38151c887 | 42,140 | py | Python | tests/api/v2_2_1/test_event_management.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 32 | 2019-09-05T05:16:56.000Z | 2022-03-22T09:50:38.000Z | tests/api/v2_2_1/test_event_management.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 35 | 2019-09-07T18:58:54.000Z | 2022-03-24T19:29:36.000Z | tests/api/v2_2_1/test_event_management.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 18 | 2019-09-09T11:07:21.000Z | 2022-03-25T08:49:59.000Z | # -*- coding: utf-8 -*-
"""DNACenterAPI event_management API fixtures and tests.
Copyright (c) 2019-2021 Cisco Systems.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | 28.863014 | 95 | 0.705505 | 4,726 | 42,140 | 5.910495 | 0.04909 | 0.043497 | 0.034798 | 0.038664 | 0.92167 | 0.919629 | 0.917982 | 0.91519 | 0.903519 | 0.85297 | 0 | 0.020504 | 0.229212 | 42,140 | 1,459 | 96 | 28.882796 | 0.839475 | 0.027053 | 0 | 0.710232 | 0 | 0 | 0.043617 | 0.028322 | 0 | 0 | 0 | 0 | 0.046432 | 1 | 0.116079 | false | 0 | 0.003439 | 0 | 0.189166 | 0.023216 | 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 |
435ba802f67bf5d3b4ad56fb9f2b89c19dce5931 | 123 | py | Python | qmla/exploration_strategies/thesis_demos/__init__.py | Stewart-Wallace/QMLA | 175123ca4e2b4f7af501034989b32f76999c386b | [
"MIT"
] | null | null | null | qmla/exploration_strategies/thesis_demos/__init__.py | Stewart-Wallace/QMLA | 175123ca4e2b4f7af501034989b32f76999c386b | [
"MIT"
] | null | null | null | qmla/exploration_strategies/thesis_demos/__init__.py | Stewart-Wallace/QMLA | 175123ca4e2b4f7af501034989b32f76999c386b | [
"MIT"
] | null | null | null | from qmla.exploration_strategies.thesis_demos.demo import *
from qmla.exploration_strategies.thesis_demos.obj_fncs import * | 61.5 | 63 | 0.878049 | 17 | 123 | 6.058824 | 0.588235 | 0.15534 | 0.368932 | 0.563107 | 0.776699 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056911 | 123 | 2 | 63 | 61.5 | 0.887931 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
78dab7a68b1754877be4adec17daa87a93cb8267 | 16,554 | py | Python | source/backend/lambda_defaultschema/schema/stages.py | shyam-amazon/aws-cloudendure-migration-factory-solution | 5d2aa971137346d2d9126b07776f2adc302410e0 | [
"MIT-0"
] | 24 | 2020-06-03T22:59:18.000Z | 2022-02-07T19:25:32.000Z | source/backend/lambda_defaultschema/schema/stages.py | russomi-labs/aws-cloudendure-migration-factory-solution | 2e7386ff3d5fca7847730aef0b6b05794d5579c6 | [
"MIT-0"
] | 4 | 2021-05-06T01:45:15.000Z | 2021-10-16T23:32:34.000Z | source/backend/lambda_defaultschema/schema/stages.py | russomi-labs/aws-cloudendure-migration-factory-solution | 2e7386ff3d5fca7847730aef0b6b05794d5579c6 | [
"MIT-0"
] | 21 | 2020-06-03T23:23:04.000Z | 2022-03-25T16:11:33.000Z | schema = [
{
"attributes": {
"L": [
{
"M": {
"attr_name": {
"S": "wave_name"
},
"attr_type": {
"S": "wave"
}... | 29.560714 | 58 | 0.136704 | 572 | 16,554 | 3.671329 | 0.097902 | 0.116667 | 0.188571 | 0.209524 | 0.901429 | 0.895714 | 0.895714 | 0.869048 | 0.805238 | 0.704286 | 0 | 0.001288 | 0.765434 | 16,554 | 559 | 59 | 29.613596 | 0.539531 | 0 | 0 | 0.45975 | 0 | 0 | 0.131932 | 0.008276 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 9 |
78e437474e98204887a2c136a507e2064b82af45 | 16,053 | py | Python | skyportal/tests/api/test_thumbnail.py | glenn2763/skyportal | 79dc11bfe08076d9c1f920bad85681ab001e22c8 | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/api/test_thumbnail.py | glenn2763/skyportal | 79dc11bfe08076d9c1f920bad85681ab001e22c8 | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/api/test_thumbnail.py | glenn2763/skyportal | 79dc11bfe08076d9c1f920bad85681ab001e22c8 | [
"BSD-3-Clause"
] | null | null | null | import os
import uuid
import datetime
import base64
from skyportal.tests import api
from skyportal.models import Thumbnail, DBSession, Photometry, Source
def test_token_user_post_get_thumbnail(upload_data_token, public_group):
name = str(uuid.uuid4())
status, data = api('POST', 'telescope',
... | 41.267352 | 103 | 0.442721 | 1,477 | 16,053 | 4.615437 | 0.083277 | 0.078627 | 0.055743 | 0.07628 | 0.908464 | 0.896582 | 0.892768 | 0.879126 | 0.879126 | 0.852574 | 0 | 0.035781 | 0.434187 | 16,053 | 388 | 104 | 41.373711 | 0.714742 | 0 | 0 | 0.828652 | 0 | 0 | 0.144833 | 0.021803 | 0 | 0 | 0 | 0 | 0.199438 | 1 | 0.019663 | false | 0 | 0.016854 | 0 | 0.036517 | 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 |
6007410e8db039e6b7496e66d95c49b763f1487b | 132 | py | Python | __init__.py | MaVCArt/SDFGenerator | 855f73fdef487ffe23e8c69f496b3c4c97a6ef7b | [
"MIT"
] | 4 | 2022-01-06T09:18:17.000Z | 2022-01-07T11:56:46.000Z | __init__.py | MaVCArt/SDFGenerator | 855f73fdef487ffe23e8c69f496b3c4c97a6ef7b | [
"MIT"
] | null | null | null | __init__.py | MaVCArt/SDFGenerator | 855f73fdef487ffe23e8c69f496b3c4c97a6ef7b | [
"MIT"
] | null | null | null | from .main import generate_sdf
from .main import generate_sdf_data
from .main import flood_fill
from .main import generate_image_id
| 26.4 | 35 | 0.848485 | 22 | 132 | 4.818182 | 0.454545 | 0.301887 | 0.528302 | 0.622642 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 132 | 4 | 36 | 33 | 0.913793 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.