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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b2f0f9a0add098676f5dc4d4ab925ec501162c2a | 244,095 | py | Python | sonic-ycabled/tests/test_y_cable_helper.py | itamar-talmon/sonic-platform-daemons | 9ac12bfb406416b0fb3b03a084d8179bdc53f3a6 | [
"Apache-2.0"
] | null | null | null | sonic-ycabled/tests/test_y_cable_helper.py | itamar-talmon/sonic-platform-daemons | 9ac12bfb406416b0fb3b03a084d8179bdc53f3a6 | [
"Apache-2.0"
] | null | null | null | sonic-ycabled/tests/test_y_cable_helper.py | itamar-talmon/sonic-platform-daemons | 9ac12bfb406416b0fb3b03a084d8179bdc53f3a6 | [
"Apache-2.0"
] | null | null | null | from .mock_swsscommon import Table
from sonic_platform_base.sfp_base import SfpBase
from swsscommon import swsscommon
from sonic_py_common import daemon_base
from ycable.ycable_utilities.y_cable_helper import *
from ycable.ycable import *
import copy
import os
import sys
import time
if sys.version_info >= (3, 3):
... | 52.190507 | 160 | 0.63016 | 28,574 | 244,095 | 4.868902 | 0.013334 | 0.045025 | 0.047698 | 0.086657 | 0.966914 | 0.962501 | 0.957405 | 0.951267 | 0.948736 | 0.946213 | 0 | 0.010766 | 0.288404 | 244,095 | 4,676 | 161 | 52.201668 | 0.790192 | 0.005043 | 0 | 0.892984 | 0 | 0 | 0.215549 | 0.174825 | 0 | 0 | 0 | 0 | 0.071526 | 1 | 0.085449 | false | 0.004368 | 0.003276 | 0.021294 | 0.120393 | 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 |
65013262edc489f6c25cf54b98d7088a57f7ac87 | 19,177 | py | Python | client_server.py | shahafashash/protocols | 4d953dfb39d976d33628778673f6aae1b0235750 | [
"MIT"
] | null | null | null | client_server.py | shahafashash/protocols | 4d953dfb39d976d33628778673f6aae1b0235750 | [
"MIT"
] | null | null | null | client_server.py | shahafashash/protocols | 4d953dfb39d976d33628778673f6aae1b0235750 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
from socket import socket, AF_INET, SOCK_STREAM
from Crypto.PublicKey import RSA
from Crypto.Cipher import PKCS1_OAEP, AES
from Crypto.Signature.pkcs1_15 import PKCS115_SigScheme
from Crypto.Util.Padding import pad, unpad
from hashlib import sha512
from pathlib import Path
from s... | 31.489327 | 96 | 0.585597 | 2,385 | 19,177 | 4.589518 | 0.091405 | 0.042755 | 0.013155 | 0.017906 | 0.91586 | 0.896583 | 0.893751 | 0.888452 | 0.884433 | 0.884433 | 0 | 0.033437 | 0.327841 | 19,177 | 608 | 97 | 31.541118 | 0.815749 | 0.383167 | 0 | 0.862222 | 0 | 0 | 0.055194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168889 | false | 0 | 0.062222 | 0 | 0.391111 | 0.004444 | 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 |
65109d14f490c866e5ef11809f59491d1d0a5d2c | 157 | py | Python | scratchai/nets/clf/__init__.py | y0un35/scratchai | f534bdd13ce0efd26d1e3ab423a98f0b2cdcd938 | [
"MIT"
] | 2 | 2019-07-15T16:26:31.000Z | 2020-05-26T09:40:30.000Z | scratchai/nets/clf/__init__.py | y0un35/scratchai | f534bdd13ce0efd26d1e3ab423a98f0b2cdcd938 | [
"MIT"
] | null | null | null | scratchai/nets/clf/__init__.py | y0un35/scratchai | f534bdd13ce0efd26d1e3ab423a98f0b2cdcd938 | [
"MIT"
] | null | null | null | from scratchai.nets.clf.lenet import *
from scratchai.nets.clf.alexnet import *
from scratchai.nets.clf.resnet import *
from scratchai.nets.clf.vgg import *
| 31.4 | 40 | 0.796178 | 24 | 157 | 5.208333 | 0.375 | 0.416 | 0.544 | 0.64 | 0.624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 157 | 4 | 41 | 39.25 | 0.886525 | 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 |
6511e0861e3d5b0d8a6476dd48a9579b01a54854 | 493 | py | Python | notebook_tester.py | jessmuir/DESI-HighSchool | b96e505f72d7f61492fd2faeca0d4ba389a463ef | [
"BSD-3-Clause"
] | null | null | null | notebook_tester.py | jessmuir/DESI-HighSchool | b96e505f72d7f61492fd2faeca0d4ba389a463ef | [
"BSD-3-Clause"
] | null | null | null | notebook_tester.py | jessmuir/DESI-HighSchool | b96e505f72d7f61492fd2faeca0d4ba389a463ef | [
"BSD-3-Clause"
] | null | null | null | import os
import papermill as pm
pm.execute_notebook(
'./Intro.ipynb',
'./pmout/pmout.ipynb',
parameters=dict(alpha=0.6, ratio=0.1)
)
pm.execute_notebook(
'./DESI.ipynb',
'./pmout/pmout.ipynb',
parameters=dict(alpha=0.6, ratio=0.1)
)
pm.execute_notebook(
'./DesigningDESI.ipynb',
'./pmout/pmou... | 18.259259 | 40 | 0.663286 | 70 | 493 | 4.614286 | 0.285714 | 0.111455 | 0.210526 | 0.247678 | 0.752322 | 0.752322 | 0.752322 | 0.752322 | 0.752322 | 0.752322 | 0 | 0.037825 | 0.141988 | 493 | 26 | 41 | 18.961538 | 0.725768 | 0 | 0 | 0.545455 | 0 | 0 | 0.292089 | 0.087221 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3306ddf46d862c7a67e0d6c49cb61d4747afae81 | 176 | py | Python | plugins/broadcom_symantec_endpoint_protection/icon_broadcom_symantec_endpoint_protection/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/broadcom_symantec_endpoint_protection/icon_broadcom_symantec_endpoint_protection/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/broadcom_symantec_endpoint_protection/icon_broadcom_symantec_endpoint_protection/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .blacklist.action import Blacklist
from .get_agent_details.action import GetAgentDetails
from .quarantine.action import Quarantine
| 35.2 | 53 | 0.835227 | 24 | 176 | 6.041667 | 0.666667 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 176 | 4 | 54 | 44 | 0.935484 | 0.210227 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
333fe37decd0ba8919969dc7a9f6329fe28062d8 | 19,753 | py | Python | examples/autosar4/template/packages/platform.py | SHolzmann/autosar | 26a7725ef71f63323ba5daa8d8bd841449da1da4 | [
"MIT"
] | 199 | 2016-07-27T17:14:43.000Z | 2022-03-30T12:28:02.000Z | examples/autosar4/template/packages/platform.py | SHolzmann/autosar | 26a7725ef71f63323ba5daa8d8bd841449da1da4 | [
"MIT"
] | 50 | 2017-10-10T08:19:21.000Z | 2022-03-27T18:43:29.000Z | examples/autosar4/template/packages/platform.py | SHolzmann/autosar | 26a7725ef71f63323ba5daa8d8bd841449da1da4 | [
"MIT"
] | 125 | 2016-07-27T17:16:08.000Z | 2022-03-30T17:03:28.000Z | #!/usr/bin/env python3
import autosar
enable_64_bit_types = True
class AUTOSAR_Platform(autosar.Template):
"""AUTOSAR Platform Package"""
@classmethod
def ref(cls): return '/AUTOSAR_Platform'
@classmethod
def apply(cls, ws):
package = ws.find('/AUTOSAR_Platform')
if package is N... | 48.295844 | 224 | 0.617375 | 1,815 | 19,753 | 6.416529 | 0.058402 | 0.195775 | 0.12983 | 0.105787 | 0.900223 | 0.884252 | 0.803881 | 0.793835 | 0.779753 | 0.779753 | 0 | 0.018872 | 0.278388 | 19,753 | 408 | 225 | 48.414216 | 0.798162 | 0.04531 | 0 | 0.765273 | 0 | 0 | 0.076702 | 0.039335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.18328 | false | 0 | 0.003215 | 0.093248 | 0.282958 | 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 |
3357b6239d616ac5d16830dadf9568ee59c7e9ca | 7,966 | py | Python | inventories/models.py | maziokey/mechanic | 140079101125ece44d107bd826ee70da5ac46041 | [
"MIT"
] | 1 | 2020-08-29T18:35:24.000Z | 2020-08-29T18:35:24.000Z | inventories/models.py | maziokey/mechanic | 140079101125ece44d107bd826ee70da5ac46041 | [
"MIT"
] | null | null | null | inventories/models.py | maziokey/mechanic | 140079101125ece44d107bd826ee70da5ac46041 | [
"MIT"
] | null | null | null | import uuid
import datetime
from django.core.validators import MaxValueValidator, MinValueValidator
from django.db import models
from django.urls import reverse
from django.utils.text import slugify
# Create your models here.
def current_year():
return datetime.date.today().year
def max_value_current_year(value)... | 38.483092 | 129 | 0.681898 | 983 | 7,966 | 5.347915 | 0.116989 | 0.063915 | 0.055925 | 0.083888 | 0.815294 | 0.800076 | 0.800076 | 0.800076 | 0.800076 | 0.800076 | 0 | 0.009802 | 0.193196 | 7,966 | 207 | 130 | 38.483092 | 0.808153 | 0.003013 | 0 | 0.587838 | 0 | 0 | 0.054027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155405 | false | 0 | 0.040541 | 0.060811 | 0.668919 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
cc046cb8a29b3347d94897779b1c5bbd9afe9506 | 68 | py | Python | book_flight/__init__.py | hoou/book-flight | 8ddf30c62e59af8219d02837fb1a21229fb0f908 | [
"MIT"
] | null | null | null | book_flight/__init__.py | hoou/book-flight | 8ddf30c62e59af8219d02837fb1a21229fb0f908 | [
"MIT"
] | null | null | null | book_flight/__init__.py | hoou/book-flight | 8ddf30c62e59af8219d02837fb1a21229fb0f908 | [
"MIT"
] | null | null | null | import book_flight.book_flight
def main():
book_flight.main()
| 11.333333 | 30 | 0.735294 | 10 | 68 | 4.7 | 0.5 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 5 | 31 | 13.6 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cc078976458933168eb04d7a4a8d5794afbbcb55 | 157 | py | Python | tests/unit_tests/test_utils/__init__.py | yardencsGitHub/vak | 04da97b02ded5acccab437c2538d0a1ded3bef80 | [
"BSD-3-Clause"
] | 1 | 2021-04-27T01:22:38.000Z | 2021-04-27T01:22:38.000Z | tests/unit_tests/test_utils/__init__.py | yardencsGitHub/vak | 04da97b02ded5acccab437c2538d0a1ded3bef80 | [
"BSD-3-Clause"
] | null | null | null | tests/unit_tests/test_utils/__init__.py | yardencsGitHub/vak | 04da97b02ded5acccab437c2538d0a1ded3bef80 | [
"BSD-3-Clause"
] | null | null | null | from . import test_bruteforce
from . import test_data
from . import test_general
from . import test_labels
from . import test_split
from . import test_utils
| 22.428571 | 29 | 0.808917 | 24 | 157 | 5.041667 | 0.375 | 0.495868 | 0.694215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152866 | 157 | 6 | 30 | 26.166667 | 0.909774 | 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 |
cc0903f8fb1a47c4e34a919e3347ef447c340a2b | 23,769 | py | Python | edenai/api/translation_api.py | SamyMe/edenai-python | b92ca21086c90a0c31cd68ba92fff897811752d2 | [
"Apache-2.0"
] | 20 | 2021-08-11T09:37:42.000Z | 2022-01-14T08:05:49.000Z | edenai/api/translation_api.py | SamyMe/edenai-python | b92ca21086c90a0c31cd68ba92fff897811752d2 | [
"Apache-2.0"
] | 2 | 2021-08-11T09:36:21.000Z | 2022-03-13T13:49:53.000Z | edenai/api/translation_api.py | SamyMe/edenai-python | b92ca21086c90a0c31cd68ba92fff897811752d2 | [
"Apache-2.0"
] | 7 | 2021-08-06T10:08:59.000Z | 2022-01-29T22:10:45.000Z | # coding: utf-8
"""
Eden AI API Documentation
<a href=\"https://app.edenai.run/user/login\" target=\"_blank\"><img src=\"/static/images/welcome.png\"></a>. # Welcome Eden AI simplifies the use and integration of AI technologies by providing a unique API connected to the best AI engines and combined with a po... | 90.034091 | 4,375 | 0.633683 | 3,018 | 23,769 | 4.898277 | 0.195494 | 0.022188 | 0.021579 | 0.023811 | 0.784076 | 0.759859 | 0.72739 | 0.718596 | 0.716363 | 0.708787 | 0 | 0.010492 | 0.165972 | 23,769 | 263 | 4,376 | 90.376426 | 0.73522 | 0.687997 | 0 | 0.70073 | 0 | 0 | 0.228538 | 0.058306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036496 | false | 0 | 0.029197 | 0 | 0.116788 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 7 |
040a4aa35d3b3939429edd233d1db612a66e5b5c | 10,232 | py | Python | blenderlib/bpy.props.py | kabuku/blender-python | 6e8eee4cd79242bb0a3cd1dd848da04bfe0a9182 | [
"MIT"
] | 23 | 2015-04-18T02:37:19.000Z | 2021-12-20T23:59:28.000Z | blenderlib/bpy.props.py | kabuku/blender-python | 6e8eee4cd79242bb0a3cd1dd848da04bfe0a9182 | [
"MIT"
] | null | null | null | blenderlib/bpy.props.py | kabuku/blender-python | 6e8eee4cd79242bb0a3cd1dd848da04bfe0a9182 | [
"MIT"
] | 5 | 2017-05-06T07:20:40.000Z | 2021-11-08T18:35:43.000Z | '''Property Definitions (bpy.props)
This module defines properties to extend blenders internal data, the result of these functions is used to assign properties to classes registered with blender and can't be used directly.
'''
def BoolProperty(name="", description="", default=False, options={'ANIMATABLE'... | 52.204082 | 283 | 0.666243 | 1,286 | 10,232 | 5.266719 | 0.16563 | 0.033663 | 0.016241 | 0.026576 | 0.781781 | 0.773808 | 0.766573 | 0.766573 | 0.759781 | 0.754614 | 0 | 0.004951 | 0.210321 | 10,232 | 195 | 284 | 52.471795 | 0.833292 | 0.717651 | 0 | 0.5 | 0 | 0 | 0.069915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
044e6d4fc9ca5f81b49f92138b1e644da6b0cdeb | 1,965 | py | Python | LIM_scripts/stationTimings/examples/plot_pulse.py | Bhare8972/LOFAR-LIM | 89f25be8c02cb8980c2e237da3eaac279d40a06a | [
"MIT"
] | 3 | 2019-04-21T13:13:02.000Z | 2020-10-15T12:44:23.000Z | LIM_scripts/stationTimings/examples/plot_pulse.py | Bhare8972/LOFAR-LIM | 89f25be8c02cb8980c2e237da3eaac279d40a06a | [
"MIT"
] | null | null | null | LIM_scripts/stationTimings/examples/plot_pulse.py | Bhare8972/LOFAR-LIM | 89f25be8c02cb8980c2e237da3eaac279d40a06a | [
"MIT"
] | 2 | 2018-11-06T18:34:33.000Z | 2019-04-04T14:16:57.000Z | #!/usr/bin/env python3
from run_Fitter4 import *
from LoLIM.stationTimings.timingInspector_4 import plot_all_stations, plot_station
#plot_all_stations(40,
#
# timeID = "D20180809T141413.250Z",
# output_folder = "Callibration_1",
# pulse_input_folders = ['... | 50.384615 | 118 | 0.570483 | 194 | 1,965 | 5.35567 | 0.324742 | 0.069297 | 0.076997 | 0.061598 | 0.858518 | 0.858518 | 0.858518 | 0.858518 | 0.858518 | 0.858518 | 0 | 0.053729 | 0.365394 | 1,965 | 38 | 119 | 51.710526 | 0.779471 | 0.50229 | 0 | 0 | 0 | 0 | 0.060797 | 0.022013 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0b03b42790270534ef8b3be7c9668a4a3293b394 | 5,738 | py | Python | env/lib/python3.10/site-packages/MediaLibrary/_metadata.py | Arcfrost/MyBlog---TextToSpeech | 861db3881fde00397a9b826c900fa96f5c5d9ae4 | [
"MIT"
] | null | null | null | env/lib/python3.10/site-packages/MediaLibrary/_metadata.py | Arcfrost/MyBlog---TextToSpeech | 861db3881fde00397a9b826c900fa96f5c5d9ae4 | [
"MIT"
] | null | null | null | env/lib/python3.10/site-packages/MediaLibrary/_metadata.py | Arcfrost/MyBlog---TextToSpeech | 861db3881fde00397a9b826c900fa96f5c5d9ae4 | [
"MIT"
] | null | null | null | # This file is generated by objective.metadata
#
# Last update: Sun Jul 11 21:41:10 2021
#
# flake8: noqa
import objc, sys
if sys.maxsize > 2 ** 32:
def sel32or64(a, b):
return b
else:
def sel32or64(a, b):
return a
if objc.arch == "arm64":
def selAorI(a, b):
return a
else:... | 143.45 | 5,167 | 0.936738 | 225 | 5,738 | 23.888889 | 0.871111 | 0.001488 | 0.005953 | 0.005209 | 0.01414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005711 | 0.023527 | 5,738 | 39 | 5,168 | 147.128205 | 0.953596 | 0.018648 | 0 | 0.555556 | 1 | 0.111111 | 0.940078 | 0.939189 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.555556 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
0b0464422e5e83a92b6fb4da4a2c75653c08211b | 4,176 | py | Python | tests/test_scenarios.py | KellyGriffin/kalc | 9b78c4177ed9ffccbf1ecfbf9a7946286cd7c583 | [
"Apache-2.0"
] | null | null | null | tests/test_scenarios.py | KellyGriffin/kalc | 9b78c4177ed9ffccbf1ecfbf9a7946286cd7c583 | [
"Apache-2.0"
] | null | null | null | tests/test_scenarios.py | KellyGriffin/kalc | 9b78c4177ed9ffccbf1ecfbf9a7946286cd7c583 | [
"Apache-2.0"
] | null | null | null | from tests.libs_for_tests import *
import pytest
pytestmark = pytest.mark.skip # TODO DELETEME
# # @pytest.mark.skip(reason="temporary skip")
# def test_OptimisticRun_wo_cli():
# run_dir_wo_cli(TEST_CLUSTER_FOLDER, TEST_DAEMONSET)
# @pytest.mark.skip(reason="temporary skip")
# def test_OptimisticRun_cli_direct(... | 56.432432 | 107 | 0.863266 | 629 | 4,176 | 5.065183 | 0.119237 | 0.041745 | 0.077527 | 0.089768 | 0.906466 | 0.869115 | 0.866918 | 0.866918 | 0.799121 | 0.724733 | 0 | 0.022319 | 0.066571 | 4,176 | 74 | 108 | 56.432432 | 0.795023 | 0.363745 | 0 | 0.131579 | 0 | 0 | 0.146286 | 0.122286 | 0 | 0 | 0 | 0.013514 | 0 | 1 | 0.342105 | false | 0 | 0.052632 | 0 | 0.394737 | 0.105263 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9bf95b11799633edd4b4e983fef0b9720514d8cb | 48,293 | py | Python | tests/functional/gtcs/test_dsql_domain_07.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2022-02-05T11:37:13.000Z | 2022-02-05T11:37:13.000Z | tests/functional/gtcs/test_dsql_domain_07.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2021-09-03T11:47:00.000Z | 2021-09-03T12:42:10.000Z | tests/functional/gtcs/test_dsql_domain_07.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2021-06-30T14:14:16.000Z | 2021-06-30T14:14:16.000Z | #coding:utf-8
#
# id: functional.gtcs.dsql_domain_07
# title: GTCS/tests/DSQL_DOMAIN_07. Test CREATE / ALTER domain statement with ADD/DROP CONSTRAINT clauses, together and separately.
# decription:
# Original test see in:
# https://github.com/FirebirdSQL/fbtcs/b... | 57.97479 | 285 | 0.640465 | 3,133 | 48,293 | 9.699968 | 0.103096 | 1.059559 | 1.579467 | 2.092794 | 0.902534 | 0.890128 | 0.889042 | 0.886015 | 0.837611 | 0.820829 | 0 | 0.53084 | 0.293645 | 48,293 | 832 | 286 | 58.044471 | 0.359727 | 0.045203 | 0 | 0.74507 | 0 | 0.015493 | 0.985383 | 0.412124 | 0 | 1 | 0 | 0 | 0.002817 | 1 | 0.001408 | false | 0.001408 | 0.002817 | 0 | 0.004225 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
501e5428de25fc49f28add139cc65edd699495cf | 12,442 | py | Python | deucevalere/tests/test_convenience_functions_cleanup.py | BenjamenMeyer/deuce-valere | e9ba7d96825e81e51ddd5f99f1464990969a8f07 | [
"Apache-2.0"
] | null | null | null | deucevalere/tests/test_convenience_functions_cleanup.py | BenjamenMeyer/deuce-valere | e9ba7d96825e81e51ddd5f99f1464990969a8f07 | [
"Apache-2.0"
] | null | null | null | deucevalere/tests/test_convenience_functions_cleanup.py | BenjamenMeyer/deuce-valere | e9ba7d96825e81e51ddd5f99f1464990969a8f07 | [
"Apache-2.0"
] | null | null | null | """
Deuce Valere - Tests - Functions - Vault Cleanup
"""
import ddt
from deuceclient.tests import *
import httpretty
from deucevalere import vault_validate, vault_cleanup
from deucevalere.tests import *
from deucevalere.tests.client_base import TestValereClientBase
from deucevalere.tests.client_base import calculate_r... | 40.527687 | 78 | 0.506269 | 1,101 | 12,442 | 5.436876 | 0.099001 | 0.053458 | 0.090879 | 0.083528 | 0.891914 | 0.891914 | 0.879886 | 0.879886 | 0.879719 | 0.879719 | 0 | 0.008713 | 0.428066 | 12,442 | 306 | 79 | 40.660131 | 0.83249 | 0.003858 | 0 | 0.880342 | 0 | 0 | 0.003875 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 1 | 0.119658 | false | 0 | 0.029915 | 0.08547 | 0.239316 | 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 |
aca52ef8c9ae0c046a4bc1b0e26f507f6db1f493 | 6,545 | py | Python | loldib/getratings/models/NA/na_illaoi/na_illaoi_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_illaoi/na_illaoi_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_illaoi/na_illaoi_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Illaoi_Top_Aatrox(Ratings):
pass
class NA_Illaoi_Top_Ahri(Ratings):
pass
class NA_Illaoi_Top_Akali(Ratings):
pass
class NA_Illaoi_Top_Alistar(Ratings):
pass
class NA_Illaoi_Top_Amumu(Ratings):
pass
class NA_Illaoi_Top_Anivia(Ratings):
... | 15.695444 | 46 | 0.766692 | 972 | 6,545 | 4.736626 | 0.151235 | 0.209818 | 0.389661 | 0.479583 | 0.803432 | 0.803432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169748 | 6,545 | 416 | 47 | 15.733173 | 0.847258 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
aca939736eb1c9c472b35974ea5a3c5ecf467008 | 3,133 | py | Python | Rota_System/UI/Events/command_event_list.py | ergoregion/Rota-Program | 44dab4cb11add184619d88aa0fcab61532d128e6 | [
"MIT"
] | null | null | null | Rota_System/UI/Events/command_event_list.py | ergoregion/Rota-Program | 44dab4cb11add184619d88aa0fcab61532d128e6 | [
"MIT"
] | null | null | null | Rota_System/UI/Events/command_event_list.py | ergoregion/Rota-Program | 44dab4cb11add184619d88aa0fcab61532d128e6 | [
"MIT"
] | null | null | null | __author__ = 'Neil Butcher'
from PyQt4 import QtGui
class CommandAddTemplate(QtGui.QUndoCommand):
def __init__(self, model, row, parent):
super(CommandAddTemplate, self).__init__('Added a new template')
self.model = model
self.row = row
self.parent = parent
self.template =... | 36.011494 | 77 | 0.677944 | 365 | 3,133 | 5.693151 | 0.117808 | 0.173244 | 0.127045 | 0.065448 | 0.875842 | 0.85948 | 0.85948 | 0.85948 | 0.85948 | 0.769009 | 0 | 0.000403 | 0.207469 | 3,133 | 87 | 78 | 36.011494 | 0.836488 | 0 | 0 | 0.8 | 0 | 0 | 0.026165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0 | 0.014286 | 0 | 0.242857 | 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 |
4a13a093341e5366e2db3c0f54ff6020f738abda | 91 | py | Python | models/loss.py | APikielny/mannequinchallenge | 686ec20d86210005f1481a2f7c179ccba48636c5 | [
"Apache-2.0"
] | 1 | 2022-02-18T17:09:25.000Z | 2022-02-18T17:09:25.000Z | models/loss.py | APikielny/mannequinchallenge | 686ec20d86210005f1481a2f7c179ccba48636c5 | [
"Apache-2.0"
] | null | null | null | models/loss.py | APikielny/mannequinchallenge | 686ec20d86210005f1481a2f7c179ccba48636c5 | [
"Apache-2.0"
] | null | null | null | import torch
def L2(latent_1, latent_2):
return torch.mean((latent_1 - latent_2) ** 2) | 22.75 | 49 | 0.703297 | 16 | 91 | 3.75 | 0.5625 | 0.233333 | 0.433333 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.164835 | 91 | 4 | 49 | 22.75 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 1 | 0 | 0 | 9 |
4a21ad754bfcacfcac9876c1293c359869191fb9 | 38,085 | py | Python | pybind/slxos/v16r_1_00b/qos/map_/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/qos/map_/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/qos/map_/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 125.279605 | 1,291 | 0.740029 | 5,937 | 38,085 | 4.55651 | 0.029645 | 0.039036 | 0.049682 | 0.05678 | 0.923703 | 0.90522 | 0.891912 | 0.890359 | 0.886589 | 0.884223 | 0 | 0.000174 | 0.093318 | 38,085 | 303 | 1,292 | 125.693069 | 0.783238 | 0.072496 | 0 | 0.453608 | 0 | 0.030928 | 0.522854 | 0.2413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108247 | false | 0 | 0.072165 | 0 | 0.298969 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c5f8ad45a5a715d8150932d38c7e245d91dff773 | 13,806 | py | Python | src/university/migrations/0001_initial.py | Nikhilgupta18/practice-react_django | 4226345a10c528308d13629907952e841621badc | [
"MIT"
] | null | null | null | src/university/migrations/0001_initial.py | Nikhilgupta18/practice-react_django | 4226345a10c528308d13629907952e841621badc | [
"MIT"
] | 11 | 2020-09-07T15:48:40.000Z | 2022-03-08T23:06:16.000Z | src/university/migrations/0001_initial.py | Nikhilgupta18/practice-react_django | 4226345a10c528308d13629907952e841621badc | [
"MIT"
] | null | null | null | # Generated by Django 2.1.5 on 2019-10-22 16:01
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='BusinessGrad',
fields=[
... | 67.676471 | 128 | 0.617268 | 1,456 | 13,806 | 5.741758 | 0.098214 | 0.144737 | 0.206699 | 0.258373 | 0.920574 | 0.91256 | 0.905144 | 0.902751 | 0.836124 | 0.773325 | 0 | 0.004079 | 0.236491 | 13,806 | 203 | 129 | 68.009852 | 0.789014 | 0.003259 | 0 | 0.709184 | 1 | 0 | 0.132495 | 0.036776 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005102 | 0.010204 | 0 | 0.030612 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a83a54edce83e37350bb8587106eae36c63db14f | 14,056 | py | Python | tests/test_endpoints.py | cffbots/fairdatapoint | 6142b31408b5746d1a7e9f59e61735b7ad8bfde9 | [
"Apache-2.0"
] | 9 | 2020-03-27T12:58:51.000Z | 2021-01-21T16:22:46.000Z | tests/test_endpoints.py | MaastrichtU-IDS/fairdatapoint | f9f38903a629acbdb74a6a20014ac424cc3d3206 | [
"Apache-2.0"
] | 26 | 2016-05-26T22:22:34.000Z | 2020-02-13T07:12:37.000Z | tests/test_endpoints.py | MaastrichtU-IDS/fairdatapoint | f9f38903a629acbdb74a6a20014ac424cc3d3206 | [
"Apache-2.0"
] | 4 | 2020-06-09T18:37:33.000Z | 2020-12-16T08:05:01.000Z | import pytest
from fdp.fdp import create_app
@pytest.fixture(scope='class',
params=[None, 'http://0.0.0.0:8890/sparql'],
ids =['Memory Store', 'Persistent Store'])
def client(request):
'''Build http client'''
app = create_app(host='0.0.0.0', port=80, graph_endpoint=request.para... | 40.045584 | 173 | 0.618384 | 1,871 | 14,056 | 4.566542 | 0.092464 | 0.090824 | 0.101592 | 0.130618 | 0.862594 | 0.850655 | 0.828301 | 0.782537 | 0.725187 | 0.660112 | 0 | 0.038187 | 0.241747 | 14,056 | 351 | 174 | 40.045584 | 0.763464 | 0.051935 | 0 | 0.711027 | 0 | 0.011407 | 0.27122 | 0.044173 | 0 | 0 | 0 | 0 | 0.631179 | 1 | 0.053232 | false | 0 | 0.007605 | 0 | 0.068441 | 0.003802 | 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 |
a868f485ffa7e63ccc61184eddf987c19e6a8685 | 11,464 | py | Python | codeprep/cli/spec.py | maximzubkov/codeprep | 807ee1ea33796b6853c45e9dcb4e866b3f09a5f2 | [
"Apache-2.0"
] | 33 | 2020-03-02T23:42:15.000Z | 2022-03-18T02:34:32.000Z | codeprep/cli/spec.py | maximzubkov/codeprep | 807ee1ea33796b6853c45e9dcb4e866b3f09a5f2 | [
"Apache-2.0"
] | 10 | 2020-02-27T13:43:00.000Z | 2021-04-21T12:11:44.000Z | codeprep/cli/spec.py | maximzubkov/codeprep | 807ee1ea33796b6853c45e9dcb4e866b3f09a5f2 | [
"Apache-2.0"
] | 9 | 2020-03-16T14:28:06.000Z | 2021-09-30T09:40:56.000Z | # SPDX-FileCopyrightText: 2020 Hlib Babii <hlibbabii@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0
import logging
import docopt_subcommands as dsc
from codeprep.cli.impl import handle_splitting, handle_learnbpe
from codeprep.config import app_name, version
logger = logging.getLogger(__name__)
@dsc.command()
... | 64.768362 | 187 | 0.516661 | 1,267 | 11,464 | 4.64483 | 0.188635 | 0.016313 | 0.032625 | 0.017672 | 0.752082 | 0.743246 | 0.73407 | 0.73407 | 0.720136 | 0.7113 | 0 | 0.004155 | 0.391137 | 11,464 | 177 | 188 | 64.768362 | 0.838968 | 0.900994 | 0 | 0.409091 | 0 | 0 | 0.029455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a883ff1a0bd8a339fd95681c4bad6ec866cfe6ab | 197 | py | Python | tests/parser/detcons.8.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/detcons.8.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/detcons.8.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
x | y.
:- x.
a :- x.
a :- not y.
a :- b.
b :- a.
t :- not a, not b, not x.
"""
output = """
x | y.
:- x.
a :- x.
a :- not y.
a :- b.
b :- a.
t :- not a, not b, not x.
"""
| 10.368421 | 26 | 0.329949 | 40 | 197 | 1.625 | 0.2 | 0.123077 | 0.092308 | 0.123077 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0 | 0 | 0.375635 | 197 | 18 | 27 | 10.944444 | 0.528455 | 0 | 0 | 0.888889 | 0 | 0 | 0.830601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a8980c03dc8f666410fca2c8e1ef1a095144b3ae | 2,855 | py | Python | lintcode/1516.py | jianershi/algorithm | c3c38723b9c5f1cc745550d89e228f92fd4abfb2 | [
"MIT"
] | 1 | 2021-01-08T06:57:49.000Z | 2021-01-08T06:57:49.000Z | lintcode/1516.py | jianershi/algorithm | c3c38723b9c5f1cc745550d89e228f92fd4abfb2 | [
"MIT"
] | null | null | null | lintcode/1516.py | jianershi/algorithm | c3c38723b9c5f1cc745550d89e228f92fd4abfb2 | [
"MIT"
] | 1 | 2021-01-08T06:57:52.000Z | 2021-01-08T06:57:52.000Z | """
1516. Xor Sum
https://www.lintcode.com/problem/xor-sum/description
"""
from collections import deque
class Solution:
"""
@param arr: the arr
@param target: the target
@return: the sum of paths
"""
def xorSum(self, arr, target):
# Write your code here.
if not arr or not arr[0]... | 42.61194 | 847 | 0.511033 | 721 | 2,855 | 1.920943 | 0.09154 | 0.581949 | 0.862094 | 1.14657 | 0.53574 | 0.492419 | 0.492419 | 0.481588 | 0.433213 | 0.320578 | 0 | 0.208983 | 0.235727 | 2,855 | 66 | 848 | 43.257576 | 0.425756 | 0.099124 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0 | 1 | 0.071429 | false | 0 | 0.02381 | 0 | 0.214286 | 0.02381 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a8d76810d654599d3101f15d10d7d5fab3e41183 | 3,465 | py | Python | tests/test_edit_contact.py | tatyankaZSGX/addressbook | 7a22108f570fe6933c65c8e5e6f0159d114b232c | [
"Apache-2.0"
] | null | null | null | tests/test_edit_contact.py | tatyankaZSGX/addressbook | 7a22108f570fe6933c65c8e5e6f0159d114b232c | [
"Apache-2.0"
] | null | null | null | tests/test_edit_contact.py | tatyankaZSGX/addressbook | 7a22108f570fe6933c65c8e5e6f0159d114b232c | [
"Apache-2.0"
] | null | null | null | __author__ = 'ZSGX'
from model.contact import Contact
import random
#def test_edit_first_contact_from_homepage(app):
# if app.contact.count() == 0:
# app.contact.create(Contact(firstname="test"))
# contact = Contact(firstname="first", middlename="Jasd", lastname="homepage", nickname="Madsti",
# ... | 46.824324 | 102 | 0.711111 | 477 | 3,465 | 4.813417 | 0.138365 | 0.10453 | 0.085366 | 0.073171 | 0.915505 | 0.915505 | 0.896777 | 0.896777 | 0.896777 | 0.896777 | 0 | 0.003455 | 0.164791 | 3,465 | 73 | 103 | 47.465753 | 0.78991 | 0.413276 | 0 | 0.780488 | 0 | 0 | 0.005979 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.04878 | false | 0 | 0.04878 | 0 | 0.097561 | 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 |
4f380d9971770a2bab414911f274c833c40843d2 | 54,090 | py | Python | tests/test_fields.py | deng113jie/ExeTera | 613532a419b93a9838bf5ae5594fc7bb9738cd03 | [
"Apache-2.0"
] | 14 | 2021-03-01T16:57:46.000Z | 2021-12-01T10:49:19.000Z | tests/test_fields.py | deng113jie/ExeTera | 613532a419b93a9838bf5ae5594fc7bb9738cd03 | [
"Apache-2.0"
] | 208 | 2021-02-16T13:47:04.000Z | 2022-03-31T11:27:03.000Z | tests/test_fields.py | deng113jie/ExeTera | 613532a419b93a9838bf5ae5594fc7bb9738cd03 | [
"Apache-2.0"
] | 5 | 2021-03-08T08:50:26.000Z | 2021-12-03T09:26:43.000Z | import unittest
import numpy as np
from io import BytesIO
import h5py
from exetera.core import session
from exetera.core import fields
from exetera.core import persistence as per
from exetera.core import field_importers as fi
from exetera.core import utils
class TestFieldExistence(unittest.TestCase):
def test... | 42.126168 | 167 | 0.553078 | 7,112 | 54,090 | 4.071147 | 0.044713 | 0.116806 | 0.110037 | 0.059266 | 0.881847 | 0.857084 | 0.833115 | 0.816433 | 0.800304 | 0.795089 | 0 | 0.043783 | 0.293566 | 54,090 | 1,283 | 168 | 42.159002 | 0.713957 | 0.004419 | 0 | 0.739346 | 0 | 0 | 0.022093 | 0 | 0 | 0 | 0 | 0 | 0.224975 | 1 | 0.06442 | false | 0 | 0.026759 | 0 | 0.103072 | 0.000991 | 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 |
4f557b8f9330c91130b2b8eb307c4fd14501036d | 15,782 | py | Python | test/CoreLib/test_FeatIO.py | jianTaoLiu-SWJTU2012/taolib | 6c3d6bdbfc8d6038ce4835f6e149c0f3dba8ca4d | [
"BSD-3-Clause"
] | 14 | 2015-12-25T14:20:25.000Z | 2022-01-01T07:31:56.000Z | test/CoreLib/test_FeatIO.py | jianTaoLiu-SWJTU2012/taolib | 6c3d6bdbfc8d6038ce4835f6e149c0f3dba8ca4d | [
"BSD-3-Clause"
] | null | null | null | test/CoreLib/test_FeatIO.py | jianTaoLiu-SWJTU2012/taolib | 6c3d6bdbfc8d6038ce4835f6e149c0f3dba8ca4d | [
"BSD-3-Clause"
] | 11 | 2016-11-06T06:27:10.000Z | 2021-06-16T16:11:01.000Z | #!/usr/bin/env python
from Cistrome.CoreLib.FeatIO import SOFT
import unittest
class TestSOFT(unittest.TestCase):
def setUp(self):
self.softstring = """
GEO SOFT Filed Name Protocaol Name Protocol Content
The Experiment is AB1791_H3_GLP1TS_AD_1_EVERETT
!Sample_amplification_protocol_ch1 Worm_LM-PCR_Am... | 166.126316 | 1,051 | 0.824293 | 2,613 | 15,782 | 4.822426 | 0.197857 | 0.015237 | 0.017142 | 0.013967 | 0.857392 | 0.851837 | 0.839695 | 0.83287 | 0.829934 | 0.829934 | 0 | 0.039528 | 0.140793 | 15,782 | 94 | 1,052 | 167.893617 | 0.889749 | 0.001267 | 0 | 0.636364 | 0 | 0.25 | 0.975319 | 0.198591 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.022727 | false | 0 | 0.022727 | 0 | 0.056818 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4f65cfe326a32b0ca9a64851895411c4587170eb | 68,590 | py | Python | benchmarks/SimResults/combinations_spec_heteroFair/oldstuff/cmp_perlbenchgamessbzip2calculix/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_heteroFair/oldstuff/cmp_perlbenchgamessbzip2calculix/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_heteroFair/oldstuff/cmp_perlbenchgamessbzip2calculix/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.043764 | 124 | 0.681994 | 8,082 | 68,590 | 5.781985 | 0.067681 | 0.123604 | 0.11299 | 0.093473 | 0.939589 | 0.930987 | 0.919345 | 0.886518 | 0.863278 | 0.842671 | 0 | 0.131638 | 0.224391 | 68,590 | 914 | 125 | 75.043764 | 0.746762 | 0 | 0 | 0.642232 | 0 | 0 | 0.657594 | 0.048111 | 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 |
4fa66191e897b600fad36daad8d96f0c2b5f8443 | 93 | py | Python | project/Packaging/sta663/pkg/sub1/__init__.py | taotangtt/sta-663-2018 | 67dac909477f81d83ebe61e0753de2328af1be9c | [
"BSD-3-Clause"
] | 72 | 2018-01-20T20:50:22.000Z | 2022-02-27T23:24:21.000Z | project/Packaging/sta663/pkg/sub1/__init__.py | taotangtt/sta-663-2018 | 67dac909477f81d83ebe61e0753de2328af1be9c | [
"BSD-3-Clause"
] | 1 | 2020-02-03T13:43:46.000Z | 2020-02-03T13:43:46.000Z | project/Packaging/sta663/pkg/sub1/__init__.py | taotangtt/sta-663-2018 | 67dac909477f81d83ebe61e0753de2328af1be9c | [
"BSD-3-Clause"
] | 64 | 2018-01-12T17:13:14.000Z | 2022-03-14T20:22:46.000Z | from sta663.pkg.sub1.sub1_stuff import g1, g2
from sta663.pkg.sub1.more_sub1_stuff import g3
| 31 | 46 | 0.827957 | 18 | 93 | 4.111111 | 0.555556 | 0.27027 | 0.351351 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 0.096774 | 93 | 2 | 47 | 46.5 | 0.72619 | 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 |
8c035e20af93b4a9437d1bf06d22384db29111c2 | 138 | py | Python | src/ribo_api/services/__init__.py | RinPham/RiBo-Core | 8c5a00a215b42aad2f6a4167b9cb97fe11d78823 | [
"MIT"
] | null | null | null | src/ribo_api/services/__init__.py | RinPham/RiBo-Core | 8c5a00a215b42aad2f6a4167b9cb97fe11d78823 | [
"MIT"
] | null | null | null | src/ribo_api/services/__init__.py | RinPham/RiBo-Core | 8c5a00a215b42aad2f6a4167b9cb97fe11d78823 | [
"MIT"
] | null | null | null | from ribo_api.services.base import BaseService
from ribo_api.services.user import UserService
from ribo_api.services.api import ApiService | 46 | 46 | 0.876812 | 21 | 138 | 5.619048 | 0.47619 | 0.20339 | 0.279661 | 0.483051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 138 | 3 | 47 | 46 | 0.929134 | 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 |
8c5cb0f996576be9afa7a1ffbca68a5ff7178000 | 214 | py | Python | lfs_samples/admin.py | diefenbach/lfs-samples | 2ebd25a1e30a3513cbf0cb2b84066ed1f35011a2 | [
"BSD-3-Clause"
] | 1 | 2021-02-22T09:57:48.000Z | 2021-02-22T09:57:48.000Z | lfs_samples/admin.py | diefenbach/lfs-samples | 2ebd25a1e30a3513cbf0cb2b84066ed1f35011a2 | [
"BSD-3-Clause"
] | null | null | null | lfs_samples/admin.py | diefenbach/lfs-samples | 2ebd25a1e30a3513cbf0cb2b84066ed1f35011a2 | [
"BSD-3-Clause"
] | null | null | null | # django imports
from django.contrib import admin
# lfs imports
from . models import IsSample
from . models import ProductSamplesRelation
admin.site.register(ProductSamplesRelation)
admin.site.register(IsSample)
| 21.4 | 43 | 0.827103 | 25 | 214 | 7.08 | 0.48 | 0.124294 | 0.180791 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 214 | 9 | 44 | 23.777778 | 0.931579 | 0.121495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 |
4fc87eccd2b298f62b5e11f1699e4a410091c837 | 136 | py | Python | trojsten/polls/admin.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | 5 | 2018-04-22T22:44:02.000Z | 2021-04-26T20:44:44.000Z | trojsten/polls/admin.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | 250 | 2018-04-24T12:04:11.000Z | 2022-03-09T06:56:47.000Z | trojsten/polls/admin.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | 8 | 2019-04-28T11:33:03.000Z | 2022-02-26T13:30:36.000Z | from django.contrib import admin
from .models import Answer, Question
admin.site.register(Question)
admin.site.register(Answer)
| 19.428571 | 37 | 0.779412 | 18 | 136 | 5.888889 | 0.555556 | 0.245283 | 0.320755 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 6 | 38 | 22.666667 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
4ff9300b1d23f8969ba774191d1a4d73a27c9fc9 | 34 | py | Python | src/lib/os.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/os.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/os.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("os")
| 17 | 33 | 0.735294 | 6 | 34 | 3.333333 | 0.666667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 |
8b27a2afc6ccae134858a3d18bf5c00c8437e79f | 3,347 | py | Python | src/run_ensembles_from_saved_parameter_tuning_mlp.py | martasls/pythonic-learning-machine | 330d1d5320adc8667bc7ce527808ec7a9c2271d4 | [
"MIT"
] | null | null | null | src/run_ensembles_from_saved_parameter_tuning_mlp.py | martasls/pythonic-learning-machine | 330d1d5320adc8667bc7ce527808ec7a9c2271d4 | [
"MIT"
] | null | null | null | src/run_ensembles_from_saved_parameter_tuning_mlp.py | martasls/pythonic-learning-machine | 330d1d5320adc8667bc7ce527808ec7a9c2271d4 | [
"MIT"
] | null | null | null | from benchmark.benchmarker import pickup_benchmark
def run_ensembles(dataset_name, benchmark_file_name):
pickup_benchmark(dataset_name, benchmark_file_name)
if __name__ == '__main__':
# run_ensembles('r_concrete', 'r_concrete_slm__2019_02_05__06_13_44.pkl')
run_ensembles('r_concrete', 'r_concrete_m... | 53.126984 | 88 | 0.767254 | 610 | 3,347 | 3.395082 | 0.1 | 0.237566 | 0.267986 | 0.177692 | 0.944471 | 0.912603 | 0.898117 | 0.861902 | 0.704491 | 0.60309 | 0 | 0.188806 | 0.113833 | 3,347 | 62 | 89 | 53.983871 | 0.50944 | 0.610696 | 0 | 0 | 0 | 0 | 0.457516 | 0.384804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8cc988ac6952de00ee50cdb5bd026e28b6ca813b | 188,066 | py | Python | Multi-task AE/runner/MVAE_runner.py | ZiyHe/SLF_Estimate | 9ff2ed6d7de2ca63455e31db0adf0b8daf68606a | [
"MIT"
] | null | null | null | Multi-task AE/runner/MVAE_runner.py | ZiyHe/SLF_Estimate | 9ff2ed6d7de2ca63455e31db0adf0b8daf68606a | [
"MIT"
] | null | null | null | Multi-task AE/runner/MVAE_runner.py | ZiyHe/SLF_Estimate | 9ff2ed6d7de2ca63455e31db0adf0b8daf68606a | [
"MIT"
] | null | null | null | import numpy as np
import os
import torch
import torch.optim as optim
from torch.nn import functional as F
from torch.utils.data import DataLoader, TensorDataset, random_split
from torchvision.utils import save_image
from model.Multitask_AE import MAE, MGVAE, MLVAE, MGMVAE, MLMVAE
import sys
sys.path.append('.... | 57.830873 | 182 | 0.610163 | 25,377 | 188,066 | 4.205068 | 0.013201 | 0.053977 | 0.019567 | 0.021085 | 0.988239 | 0.986618 | 0.985981 | 0.985981 | 0.985091 | 0.98406 | 0 | 0.028501 | 0.27166 | 188,066 | 3,252 | 183 | 57.830873 | 0.750555 | 0.090091 | 0 | 0.969407 | 0 | 0.00258 | 0.065922 | 0.005733 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026907 | false | 0.005898 | 0.00516 | 0 | 0.056395 | 0.081828 | 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 |
8cec1dec9b6607aa204bf23f40ef40a649c6e18c | 458 | py | Python | centralpy/responses/__init__.py | pmaengineering/centralpy | edd89925bcc4204add1bf93b7ff3437cc0e6ea92 | [
"MIT"
] | null | null | null | centralpy/responses/__init__.py | pmaengineering/centralpy | edd89925bcc4204add1bf93b7ff3437cc0e6ea92 | [
"MIT"
] | 1 | 2022-01-22T14:36:57.000Z | 2022-01-24T07:19:44.000Z | centralpy/responses/__init__.py | pmaengineering/centralpy | edd89925bcc4204add1bf93b7ff3437cc0e6ea92 | [
"MIT"
] | 1 | 2021-06-30T13:45:09.000Z | 2021-06-30T13:45:09.000Z | """Module for possible ODK Central responses."""
from centralpy.responses.attachment import Attachment
from centralpy.responses.attachment_listing import AttachmentListing
from centralpy.responses.csv_zip import CsvZip
from centralpy.responses.form_listing import FormListing
from centralpy.responses.project_listing imp... | 50.888889 | 68 | 0.879913 | 53 | 458 | 7.509434 | 0.415094 | 0.228643 | 0.386935 | 0.160804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074236 | 458 | 8 | 69 | 57.25 | 0.938679 | 0.091703 | 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 |
50aa022d209d97457ea14fb1b3d0a19aeae938e3 | 151 | py | Python | tests/test_custom_utils.py | tahseenadit/azure-pipeline-pyscaffold-unittest | 2f78ef1d53a5e0aae45e1901dc333833a33ef5d2 | [
"MIT"
] | null | null | null | tests/test_custom_utils.py | tahseenadit/azure-pipeline-pyscaffold-unittest | 2f78ef1d53a5e0aae45e1901dc333833a33ef5d2 | [
"MIT"
] | null | null | null | tests/test_custom_utils.py | tahseenadit/azure-pipeline-pyscaffold-unittest | 2f78ef1d53a5e0aae45e1901dc333833a33ef5d2 | [
"MIT"
] | null | null | null | import pytest
from demoproject.custom_utils import add
def test_add():
assert add(2,5) == 7
assert add(2.5,2.5) == 5
assert add(6,6) == 12 | 21.571429 | 40 | 0.649007 | 28 | 151 | 3.428571 | 0.535714 | 0.28125 | 0.208333 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 0.211921 | 151 | 7 | 41 | 21.571429 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | true | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
50aeb890a9857838963354f75af1cac3cb99ff39 | 1,834 | py | Python | tests/test_ogc_utils.py | GispoCoding/datacube-ows | 4ffe14ccf9f382bff8f4a33fc54729d3e18b670e | [
"Apache-2.0"
] | 2 | 2020-08-10T13:41:42.000Z | 2020-09-23T22:20:00.000Z | tests/test_ogc_utils.py | GispoCoding/datacube-ows | 4ffe14ccf9f382bff8f4a33fc54729d3e18b670e | [
"Apache-2.0"
] | null | null | null | tests/test_ogc_utils.py | GispoCoding/datacube-ows | 4ffe14ccf9f382bff8f4a33fc54729d3e18b670e | [
"Apache-2.0"
] | 2 | 2020-07-31T16:54:23.000Z | 2020-08-10T13:42:41.000Z | import datacube_ows.ogc_utils
import pytest
def test_get_service_base_url():
# not a list
allowed_urls = "https://foo.hello.world"
request_url = "https://foo.bar.baz"
ret = datacube_ows.ogc_utils.get_service_base_url(allowed_urls, request_url)
assert ret == "https://foo.hello.world"
# Value ... | 39.021277 | 93 | 0.690294 | 280 | 1,834 | 4.275 | 0.157143 | 0.133668 | 0.120301 | 0.175439 | 0.868003 | 0.786132 | 0.781955 | 0.745196 | 0.745196 | 0.686717 | 0 | 0.005128 | 0.1494 | 1,834 | 47 | 94 | 39.021277 | 0.762179 | 0.056707 | 0 | 0.548387 | 0 | 0 | 0.337587 | 0.013921 | 0 | 0 | 0 | 0 | 0.225806 | 1 | 0.064516 | false | 0 | 0.064516 | 0 | 0.129032 | 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 |
50bea0cb3bd11757b1e0a45ac25695fe12634209 | 14,799 | py | Python | tests/unit/service/test_engine.py | firebolt-db/firebolt-python-sdk | 35154a5ce070e71138d8573ce4c97891e212a939 | [
"Apache-2.0"
] | 4 | 2022-01-29T19:21:52.000Z | 2022-03-25T20:48:14.000Z | tests/unit/service/test_engine.py | firebolt-db/firebolt-python-sdk | 35154a5ce070e71138d8573ce4c97891e212a939 | [
"Apache-2.0"
] | 92 | 2021-11-19T18:15:15.000Z | 2022-03-30T11:52:06.000Z | tests/unit/service/test_engine.py | firebolt-db/firebolt-python-sdk | 35154a5ce070e71138d8573ce4c97891e212a939 | [
"Apache-2.0"
] | 6 | 2021-11-22T22:04:20.000Z | 2022-02-18T15:30:23.000Z | from typing import Callable, List
from pydantic import ValidationError
from pytest import raises
from pytest_httpx import HTTPXMock
from firebolt.common import Settings
from firebolt.model.engine import Engine, _EngineCreateRequest
from firebolt.model.engine_revision import EngineRevision
from firebolt.model.instance... | 33.107383 | 88 | 0.757416 | 1,889 | 14,799 | 5.519322 | 0.058232 | 0.073374 | 0.086323 | 0.143871 | 0.829944 | 0.805486 | 0.778247 | 0.75705 | 0.722808 | 0.717533 | 0 | 0.003243 | 0.166498 | 14,799 | 446 | 89 | 33.181614 | 0.841994 | 0.005271 | 0 | 0.751282 | 0 | 0 | 0.020455 | 0.008087 | 0 | 0 | 0 | 0 | 0.017949 | 1 | 0.025641 | false | 0 | 0.028205 | 0 | 0.053846 | 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 |
50f90069509f783e543ca35adc39f8104e465db7 | 22,700 | py | Python | hcrack/.no_dec.py | shyamjangid07/Reverse-Engineering | 469efabcd6057f7895d8d891f1fabdf2ffe730b0 | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | hcrack/.no_dec.py | ajairakaam/Reverse-Engineering | 49d00bafd0622ffb79e081946a19c5fd3a42628f | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | hcrack/.no_dec.py | ajairakaam/Reverse-Engineering | 49d00bafd0622ffb79e081946a19c5fd3a42628f | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z | #!/usr/bin/python
# coding=utf-8
# Originally Written By:Muhammad Hamza
# Source : Python2"
# Donot Recode It.
#Import module
import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,getpass
os.system('rm -rf .txt')
for n in range(2000):
nmbr = random.randint(1111111, 9999999)
sys.stdou... | 35.139319 | 321 | 0.606123 | 3,447 | 22,700 | 4.006963 | 0.092254 | 0.041703 | 0.03649 | 0.034752 | 0.872719 | 0.870765 | 0.863814 | 0.858167 | 0.855922 | 0.84832 | 0 | 0.118678 | 0.175198 | 22,700 | 645 | 322 | 35.193798 | 0.608556 | 0.009692 | 0 | 0.83101 | 0 | 0.095819 | 0.453085 | 0.198233 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.191638 | 0.015679 | null | null | 0.146341 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
0f99978ee90db509ec39497573c966255046d7b8 | 2,187 | py | Python | pyaz/redis/firewall_rules/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/redis/firewall_rules/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/redis/firewall_rules/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ... pyaz_utils import _call_az
def create(end_ip, name, resource_group, rule_name, start_ip):
'''
Create a redis cache firewall rule.
Required Parameters:
- end_ip -- Highest IP address included in the range.
- name -- Name of the Redis cache.
- resource_group -- Name of resource group. Y... | 33.646154 | 128 | 0.67947 | 302 | 2,187 | 4.791391 | 0.139073 | 0.134762 | 0.055978 | 0.044921 | 0.895646 | 0.895646 | 0.895646 | 0.873531 | 0.873531 | 0.822391 | 0 | 0 | 0.222222 | 2,187 | 64 | 129 | 34.171875 | 0.850676 | 0.631001 | 0 | 0 | 0 | 0 | 0.231013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
0fa5efe0ce4420f47cf3810bdaaa9408001fa882 | 178 | py | Python | topside/procedures/__init__.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 4 | 2020-04-18T00:40:55.000Z | 2021-06-10T04:04:09.000Z | topside/procedures/__init__.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 82 | 2020-04-15T21:26:04.000Z | 2022-02-04T04:50:07.000Z | topside/procedures/__init__.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 8 | 2020-04-21T17:54:36.000Z | 2022-02-28T16:14:21.000Z | from topside.procedures.conditions import *
from topside.procedures.procedures_engine import *
from topside.procedures.procedure import *
from topside.procedures import proclang
| 35.6 | 50 | 0.853933 | 21 | 178 | 7.190476 | 0.380952 | 0.291391 | 0.556291 | 0.536424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 178 | 4 | 51 | 44.5 | 0.932099 | 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 |
0fc988175a24c5cf9c33f019e21371c7218bf72d | 85,579 | py | Python | scripts/make_svg_files.py | jamesscottbrown/parametric-sbolv-1 | 5638c2a30fc9bf14a5616cb18ba7dc3473b7e30f | [
"MIT"
] | null | null | null | scripts/make_svg_files.py | jamesscottbrown/parametric-sbolv-1 | 5638c2a30fc9bf14a5616cb18ba7dc3473b7e30f | [
"MIT"
] | null | null | null | scripts/make_svg_files.py | jamesscottbrown/parametric-sbolv-1 | 5638c2a30fc9bf14a5616cb18ba7dc3473b7e30f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
################################################################################
# Author: Thomas Gorochowski, Biocompute Lab <tom@chofski.co.uk>
# Last Updated: 10/03/2020
################################################################################
# All drawing is done in SVG frame of refer... | 62.925735 | 1,413 | 0.741245 | 12,756 | 85,579 | 4.674428 | 0.029476 | 0.0643 | 0.097221 | 0.111091 | 0.869791 | 0.827511 | 0.792108 | 0.770641 | 0.760142 | 0.732806 | 0 | 0.02371 | 0.08134 | 85,579 | 1,359 | 1,414 | 62.972038 | 0.73473 | 0.086283 | 0 | 0.52993 | 0 | 0.065141 | 0.494269 | 0.349206 | 0.00088 | 0 | 0 | 0 | 0 | 1 | 0.03169 | false | 0 | 0.001761 | 0 | 0.066021 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e83a3b1e8fa92b7d9f52a47e51de4b197fdc7bfa | 13,158 | py | Python | tests/integration/network/test_pack.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | 2 | 2020-11-20T10:27:14.000Z | 2021-02-21T13:57:56.000Z | tests/integration/network/test_pack.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | null | null | null | tests/integration/network/test_pack.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | null | null | null | from collections import OrderedDict
from unittest import TestCase
from unittest.mock import patch
import rsa
from cryptography.fernet import Fernet
from dimensigon.network.encryptation import pack_msg, unpack_msg
class TestPack_msg_pickle(TestCase):
@classmethod
def setUpClass(cls) -> None:
cls.pub... | 41.771429 | 119 | 0.69091 | 1,744 | 13,158 | 4.894495 | 0.049885 | 0.145501 | 0.115745 | 0.132849 | 0.95724 | 0.95724 | 0.955483 | 0.954545 | 0.946931 | 0.946931 | 0 | 0.003637 | 0.205958 | 13,158 | 314 | 120 | 41.904459 | 0.813361 | 0 | 0 | 0.917749 | 0 | 0 | 0.072883 | 0.009424 | 0 | 0 | 0 | 0 | 0.497836 | 1 | 0.099567 | false | 0 | 0.025974 | 0 | 0.134199 | 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 |
e84c112cd6559c2a31921fbe9ae54f6bfe997787 | 6,840 | py | Python | regreg/sklearn/tests/test_gaussian.py | vishalbelsare/regreg | d1b62cc43cdd83331f2b0817b0ae099d5ef97966 | [
"BSD-2-Clause"
] | 11 | 2016-02-25T01:53:03.000Z | 2020-11-30T00:59:46.000Z | regreg/sklearn/tests/test_gaussian.py | vishalbelsare/regreg | d1b62cc43cdd83331f2b0817b0ae099d5ef97966 | [
"BSD-2-Clause"
] | 21 | 2015-09-17T19:18:09.000Z | 2021-04-28T06:15:02.000Z | regreg/sklearn/tests/test_gaussian.py | vishalbelsare/regreg | d1b62cc43cdd83331f2b0817b0ae099d5ef97966 | [
"BSD-2-Clause"
] | 8 | 2016-03-24T00:03:03.000Z | 2019-08-25T23:40:42.000Z | import numpy as np
try:
from sklearn.model_selection import cross_validate
from sklearn.model_selection import GridSearchCV
from ..api import (gaussian,
gaussian_lagrange)
have_sklearn = True
except ImportError:
have_sklearn = False
from ...api import l1norm, group_lasso
from... | 37.377049 | 94 | 0.557456 | 836 | 6,840 | 4.29067 | 0.104067 | 0.166713 | 0.03206 | 0.066908 | 0.926122 | 0.908837 | 0.902147 | 0.902147 | 0.902147 | 0.902147 | 0 | 0.018214 | 0.333772 | 6,840 | 182 | 95 | 37.582418 | 0.768927 | 0.005117 | 0 | 0.797101 | 0 | 0 | 0.022951 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 1 | 0.036232 | false | 0 | 0.050725 | 0.014493 | 0.101449 | 0.021739 | 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 |
e8810dbfee67b7a4d80c9f6cecbf412b0bc1b995 | 135,532 | py | Python | assembler/assembler_v128.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | 7 | 2020-01-15T13:36:37.000Z | 2021-04-10T02:54:28.000Z | assembler/assembler_v128.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | null | null | null | assembler/assembler_v128.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | null | null | null | #
# Register
# Dir 0 - Direct access
# ---- ---- Value between 0 to 255
# Dir 1 - Indirect access
# 00000 0000 Disable operand
# 00000 0001 Reserved
# 00--- ---- Reserved
# 10000 0000 RD0
# 10000 0001 RD1
# 10000 0010 RD2
# 10000 0011 RD3
# 10000 0100 RD4
# 10000 0101 RD5
# 10000 0110 RD6
# 10000 0111... | 50.439896 | 1,171 | 0.578181 | 18,169 | 135,532 | 4.037481 | 0.034454 | 0.144703 | 0.143299 | 0.059831 | 0.897297 | 0.879398 | 0.871955 | 0.855651 | 0.84709 | 0.842115 | 0 | 0.088326 | 0.25695 | 135,532 | 2,687 | 1,172 | 50.439896 | 0.640095 | 0.168676 | 0 | 0.860664 | 0 | 0.000503 | 0.067421 | 0.000595 | 0.126761 | 0 | 0.001345 | 0 | 0 | 1 | 0.023139 | false | 0.04326 | 0.001509 | 0.001006 | 0.077465 | 0.048793 | 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 |
e88eefb6819d05e0671da287159c41dd47af66d9 | 1,476 | py | Python | api/migrations/0023_auto_20190724_0841.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 11 | 2018-06-11T06:05:12.000Z | 2022-03-25T09:31:44.000Z | api/migrations/0023_auto_20190724_0841.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 498 | 2017-11-07T21:20:13.000Z | 2022-03-31T14:37:18.000Z | api/migrations/0023_auto_20190724_0841.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 6 | 2018-04-11T13:29:50.000Z | 2020-07-16T16:52:11.000Z | # Generated by Django 2.0.12 on 2019-07-24 08:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0022_appeal_real_data_update'),
]
operations = [
migrations.AddField(
model_name='fieldreport',
name='other_... | 30.122449 | 62 | 0.575881 | 141 | 1,476 | 5.858156 | 0.333333 | 0.152542 | 0.194915 | 0.228814 | 0.7046 | 0.7046 | 0.7046 | 0.7046 | 0.644068 | 0.644068 | 0 | 0.019685 | 0.311653 | 1,476 | 48 | 63 | 30.75 | 0.793307 | 0.031165 | 0 | 0.642857 | 1 | 0 | 0.154762 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e892b2d40c1ded2208b2c955a7039367421233a1 | 84 | py | Python | easy_exceptions/__init__.py | riegie/EasyExceptions | 72c8991b097be11ed58d3219376670e3d333a91e | [
"MIT"
] | 4 | 2020-03-06T18:38:38.000Z | 2020-03-07T02:49:46.000Z | easy_exceptions/__init__.py | riegie/EasyExceptions | 72c8991b097be11ed58d3219376670e3d333a91e | [
"MIT"
] | null | null | null | easy_exceptions/__init__.py | riegie/EasyExceptions | 72c8991b097be11ed58d3219376670e3d333a91e | [
"MIT"
] | 1 | 2020-03-10T17:33:21.000Z | 2020-03-10T17:33:21.000Z | from .easy_exceptions import EasyException
from .easy_exceptions import bind_parent
| 28 | 42 | 0.880952 | 11 | 84 | 6.454545 | 0.636364 | 0.225352 | 0.507042 | 0.676056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 43 | 42 | 0.934211 | 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 |
e89848a02d19b512a6aab1aa3dc56c35679cf729 | 5,292 | py | Python | pontoon/terminology/utils.py | foss4/pontoon | 0503cc78f00e1e9d23c1ca885fe74a627563fc82 | [
"BSD-3-Clause"
] | 1,145 | 2015-05-15T01:08:16.000Z | 2022-03-31T14:23:45.000Z | pontoon/terminology/utils.py | foss4/pontoon | 0503cc78f00e1e9d23c1ca885fe74a627563fc82 | [
"BSD-3-Clause"
] | 1,365 | 2015-05-04T21:54:18.000Z | 2022-03-30T16:53:49.000Z | pontoon/terminology/utils.py | foss4/pontoon | 0503cc78f00e1e9d23c1ca885fe74a627563fc82 | [
"BSD-3-Clause"
] | 667 | 2015-05-04T21:33:45.000Z | 2022-03-30T10:25:33.000Z | from xml.sax.saxutils import escape, quoteattr
def build_tbx_v2_file(term_translations, locale):
"""
Generates contents of the TBX 2008 (v2) file (TBX-Default dialect):
TBX files could contain large amount of entries and it's impossible to render all the data with
django templates. Rendering a string... | 40.396947 | 223 | 0.51833 | 809 | 5,292 | 3.357231 | 0.170581 | 0.146539 | 0.149116 | 0.122239 | 0.874448 | 0.833211 | 0.81296 | 0.81296 | 0.801915 | 0.757732 | 0 | 0.007768 | 0.270219 | 5,292 | 130 | 224 | 40.707692 | 0.695495 | 0.086735 | 0 | 0.618182 | 1 | 0.118182 | 0.570832 | 0.239866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.009091 | 0 | 0.027273 | 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 |
e89bf4489261eaddb826ecce906fb72d18ebf969 | 8,980 | py | Python | analysis_notebooks/stratify_helper.py | gitter-lab/active-learning-drug-discovery | b24004a359037b3a1175a61c181ec231b711c797 | [
"MIT"
] | null | null | null | analysis_notebooks/stratify_helper.py | gitter-lab/active-learning-drug-discovery | b24004a359037b3a1175a61c181ec231b711c797 | [
"MIT"
] | null | null | null | analysis_notebooks/stratify_helper.py | gitter-lab/active-learning-drug-discovery | b24004a359037b3a1175a61c181ec231b711c797 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import os
import glob
import pathlib
def stratify_target(data_df, output_dir, task_col_name,
split_size=96, cluster_col_name='BT_0.4 ID',
random_seed=20190918):
np.random.seed(random_seed)
data_df = data_df[~pd.isna(data_df[... | 48.27957 | 122 | 0.569488 | 1,099 | 8,980 | 4.318471 | 0.098271 | 0.051833 | 0.048673 | 0.03287 | 0.911504 | 0.897598 | 0.888748 | 0.856511 | 0.846397 | 0.846397 | 0 | 0.015963 | 0.33029 | 8,980 | 186 | 123 | 48.27957 | 0.773196 | 0.042762 | 0 | 0.847826 | 0 | 0 | 0.086713 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 1 | 0.014493 | false | 0 | 0.036232 | 0 | 0.050725 | 0.07971 | 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 |
e8d24239bd6f33919168d994f39d305bad68c05b | 275 | py | Python | openprocurement/auctions/core/endpoints.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 2 | 2016-09-15T20:17:43.000Z | 2017-01-08T03:32:43.000Z | openprocurement/auctions/core/endpoints.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 183 | 2017-12-21T11:04:37.000Z | 2019-03-27T08:14:34.000Z | openprocurement/auctions/core/endpoints.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 12 | 2016-09-05T12:07:48.000Z | 2019-02-26T09:24:17.000Z | ENDPOINTS = {
'auction': '/auctions/{auction_id}',
'contract': '/auctions/{auction_id}/contracts/{contract_id}',
'contracts': '/auctions/{auction_id}/contracts',
'item': '/auctions/{auction_id}/items/{item_id}',
'items': '/auctions/{auction_id}/items',
}
| 34.375 | 65 | 0.647273 | 29 | 275 | 5.896552 | 0.275862 | 0.438596 | 0.497076 | 0.304094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123636 | 275 | 7 | 66 | 39.285714 | 0.709544 | 0 | 0 | 0 | 0 | 0 | 0.723636 | 0.603636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fa3570aa0d9160360bce2b658ecee26fc8b14bd7 | 19,188 | py | Python | tests/test_fms_api_team_avatar_parser.py | tervay/the-blue-alliance | e14c15cb04b455f90a2fcfdf4c1cdbf8454e17f8 | [
"MIT"
] | 1 | 2016-03-19T20:29:35.000Z | 2016-03-19T20:29:35.000Z | tests/test_fms_api_team_avatar_parser.py | gregmarra/the-blue-alliance | 5bedaf5c80b4623984760d3da3289640639112f9 | [
"MIT"
] | 11 | 2020-10-10T03:05:29.000Z | 2022-02-27T09:57:22.000Z | tests/test_fms_api_team_avatar_parser.py | gregmarra/the-blue-alliance | 5bedaf5c80b4623984760d3da3289640639112f9 | [
"MIT"
] | null | null | null | import json
import unittest2
from datafeeds.parsers.fms_api.fms_api_team_avatar_parser import FMSAPITeamAvatarParser
from google.appengine.ext import ndb
from google.appengine.ext import testbed
from models.district import District
from consts.media_type import MediaType
class TestFMSAPITeamAvatarParser(unittest2.... | 309.483871 | 8,345 | 0.931676 | 772 | 19,188 | 23.053109 | 0.393782 | 0.012643 | 0.013485 | 0.009103 | 0.97213 | 0.959207 | 0.958757 | 0.958757 | 0.9419 | 0.939821 | 0 | 0.140527 | 0.028716 | 19,188 | 61 | 8,346 | 314.557377 | 0.814401 | 0.00641 | 0 | 0.177778 | 0 | 0.044444 | 0.882325 | 0.876817 | 0 | 1 | 0 | 0 | 0.4 | 1 | 0.111111 | false | 0 | 0.155556 | 0 | 0.288889 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
fa363704ca41abf33dd820cadc0c4f877e438a8f | 19,361 | py | Python | graviti/client/data.py | wangyuqing0424/graviti-python-sdk | 66300cc1edda6a848cac094899afb3d0421c595d | [
"MIT"
] | null | null | null | graviti/client/data.py | wangyuqing0424/graviti-python-sdk | 66300cc1edda6a848cac094899afb3d0421c595d | [
"MIT"
] | null | null | null | graviti/client/data.py | wangyuqing0424/graviti-python-sdk | 66300cc1edda6a848cac094899afb3d0421c595d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#
# Copyright 2022 Graviti. Licensed under MIT License.
#
"""Interfaces about data."""
from typing import Any, Dict, Optional
from urllib.parse import urljoin
from graviti.client.requests import URL_PATH_PREFIX, open_api_do
def list_data(
url: str,
access_key: str,
dataset_id: st... | 39.837449 | 100 | 0.541449 | 1,723 | 19,361 | 5.987232 | 0.113175 | 0.027918 | 0.012796 | 0.026755 | 0.857503 | 0.853044 | 0.826095 | 0.817953 | 0.793912 | 0.789647 | 0 | 0.144559 | 0.349724 | 19,361 | 485 | 101 | 39.919588 | 0.674821 | 0.761531 | 0 | 0.818182 | 0 | 0 | 0.132697 | 0.060037 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040404 | false | 0 | 0.030303 | 0 | 0.111111 | 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 |
fa686070d9db5729b703f86cbe6bdddc0cc9aa82 | 74 | py | Python | db/ticker.py | CryptoInsights/query | 7a3ba95f424b0a709ad1caa7fbd3d2386b69f7b6 | [
"MIT"
] | null | null | null | db/ticker.py | CryptoInsights/query | 7a3ba95f424b0a709ad1caa7fbd3d2386b69f7b6 | [
"MIT"
] | null | null | null | db/ticker.py | CryptoInsights/query | 7a3ba95f424b0a709ad1caa7fbd3d2386b69f7b6 | [
"MIT"
] | null | null | null | from .mongo import db
def get_all_tickers():
return db.coins.find()
| 12.333333 | 26 | 0.702703 | 12 | 74 | 4.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 74 | 5 | 27 | 14.8 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d72848d601a54da00c28d38fd56b6414b98bb83d | 36,010 | py | Python | tests/test_08_busdvolgauge.py | taariq/volumegauge | f92ea90f4eefab9079fd624bddbe0e3cf5684f80 | [
"Apache-2.0"
] | 3 | 2020-12-17T01:11:08.000Z | 2020-12-24T08:06:07.000Z | tests/test_08_busdvolgauge.py | taariq/volumegauge | f92ea90f4eefab9079fd624bddbe0e3cf5684f80 | [
"Apache-2.0"
] | 13 | 2020-11-22T20:24:23.000Z | 2021-01-07T20:19:57.000Z | tests/test_08_busdvolgauge.py | taariq/volumegauge | f92ea90f4eefab9079fd624bddbe0e3cf5684f80 | [
"Apache-2.0"
] | 3 | 2020-12-17T18:32:46.000Z | 2020-12-23T21:57:47.000Z | #!/usr/bin/python3
import pytest
PERIOD = 30
DENOMINATOR = 10 ** 18
SMOOTHING = 2
ALPHA = DENOMINATOR - SMOOTHING * DENOMINATOR / (PERIOD + 1)
def test_exchange_ydai_to_yusdc(_busdvolgauge, busdpool, yDAI_BUSD, tracker, accounts):
for i in range(5):
print("Attemp #" + str(i + 1) + " .....")
last_... | 61.555556 | 130 | 0.648209 | 4,017 | 36,010 | 5.550162 | 0.017177 | 0.103342 | 0.081812 | 0.066741 | 0.991254 | 0.990312 | 0.990312 | 0.990312 | 0.990312 | 0.990312 | 0 | 0.021757 | 0.222688 | 36,010 | 584 | 131 | 61.660959 | 0.774749 | 0.000472 | 0 | 0.876122 | 0 | 0 | 0.116693 | 0.036008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043088 | false | 0 | 0.001795 | 0 | 0.044883 | 0.301616 | 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 |
d75e51d447a4a8c0118e1c36621cf3b0c22e5d78 | 84,818 | py | Python | Netconf/bindings/bindingCapability.py | lrodrin/transceivers | 62b8e44c0a459615a0464a9567e28e195c4dabf1 | [
"MIT"
] | null | null | null | Netconf/bindings/bindingCapability.py | lrodrin/transceivers | 62b8e44c0a459615a0464a9567e28e195c4dabf1 | [
"MIT"
] | null | null | null | Netconf/bindings/bindingCapability.py | lrodrin/transceivers | 62b8e44c0a459615a0464a9567e28e195c4dabf1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 73.308557 | 2,306 | 0.752576 | 10,890 | 84,818 | 5.587971 | 0.021579 | 0.055609 | 0.148292 | 0.185693 | 0.932444 | 0.915945 | 0.906102 | 0.901829 | 0.889685 | 0.888173 | 0 | 0.005396 | 0.119538 | 84,818 | 1,156 | 2,307 | 73.371972 | 0.809465 | 0.154083 | 0 | 0.64464 | 0 | 0.030837 | 0.410276 | 0.267487 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113069 | false | 0 | 0.022026 | 0 | 0.268722 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ad2bdd3e49c9933b56d53ff5038f652e0861a31a | 158 | py | Python | scitbx/linalg/eigensystem.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | scitbx/linalg/eigensystem.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | scitbx/linalg/eigensystem.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
from scitbx.linalg.ext import eigensystem_real_symmetric as real_symmetric # implicit import
| 52.666667 | 92 | 0.873418 | 21 | 158 | 6.142857 | 0.714286 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 158 | 2 | 93 | 79 | 0.902098 | 0.094937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
ad37eac67576e8f3a86df4a9ca2baf122f10a377 | 181 | py | Python | glitter/blocks/text_image/choices.py | dhamaniasad/django-glitter | b9b0a3d8b49d5d9b840656f84564ba0a6e016f98 | [
"BSD-3-Clause"
] | 3 | 2017-06-01T16:22:18.000Z | 2018-08-22T21:45:55.000Z | glitter/blocks/text_image/choices.py | blancltd/django-glitter | b9b0a3d8b49d5d9b840656f84564ba0a6e016f98 | [
"BSD-3-Clause"
] | 85 | 2016-02-25T10:34:03.000Z | 2017-04-03T11:07:59.000Z | glitter/blocks/text_image/choices.py | dhamaniasad/django-glitter | b9b0a3d8b49d5d9b840656f84564ba0a6e016f98 | [
"BSD-3-Clause"
] | 1 | 2020-04-21T19:14:11.000Z | 2020-04-21T19:14:11.000Z | POSITION_IMAGE_LEFT = 'image-left'
POSITION_IMAGE_RIGHT = 'image-right'
POSITION_CHOICES = (
(POSITION_IMAGE_LEFT, 'Image Left'),
(POSITION_IMAGE_RIGHT, 'Image Right'),
)
| 20.111111 | 42 | 0.729282 | 22 | 181 | 5.590909 | 0.227273 | 0.422764 | 0.276423 | 0.357724 | 0.878049 | 0.878049 | 0.878049 | 0.878049 | 0.878049 | 0.878049 | 0 | 0 | 0.143646 | 181 | 8 | 43 | 22.625 | 0.793548 | 0 | 0 | 0 | 0 | 0 | 0.232044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
ad6dce0fb3c75baa10b6fe8f090a39a948fb91ba | 11,428 | py | Python | Models/HTR_Models.py | terng03412/ResFlor | 721ba62040ce35c73f5a6b4105818f8d8a3d0312 | [
"MIT"
] | 2 | 2020-12-18T04:00:50.000Z | 2021-11-14T14:03:33.000Z | Models/HTR_Models.py | terng03412/ResFlor | 721ba62040ce35c73f5a6b4105818f8d8a3d0312 | [
"MIT"
] | null | null | null | Models/HTR_Models.py | terng03412/ResFlor | 721ba62040ce35c73f5a6b4105818f8d8a3d0312 | [
"MIT"
] | null | null | null |
import tensorflow as tf
import numpy as np
import cv2
import string
import h5py
keras = tf.keras
print(tf.__version__)
class FullGatedConv2D(keras.layers.Conv2D):
"""Gated Convolutional Class"""
def __init__(self, filters, **kwargs):
super(FullGatedConv2D, self).__init__(filters=filters * 2, **kwa... | 46.080645 | 95 | 0.673521 | 1,572 | 11,428 | 4.785623 | 0.072519 | 0.166689 | 0.120962 | 0.103948 | 0.864682 | 0.864682 | 0.860827 | 0.860827 | 0.848863 | 0.826266 | 0 | 0.044542 | 0.15917 | 11,428 | 247 | 96 | 46.267206 | 0.73837 | 0.012951 | 0 | 0.727749 | 0 | 0 | 0.036507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036649 | false | 0 | 0.026178 | 0 | 0.099476 | 0.005236 | 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 |
ad777552cc89034b8d30c3951a1ee4a89d47357a | 8,697 | py | Python | tests/vpm_test.py | arademaker/pydelphin | 3ebcce48c4edcb4e797fc8e447a80e38e8fef53a | [
"MIT"
] | 60 | 2016-05-13T18:35:59.000Z | 2021-07-13T03:05:23.000Z | tests/vpm_test.py | arademaker/pydelphin | 3ebcce48c4edcb4e797fc8e447a80e38e8fef53a | [
"MIT"
] | 295 | 2015-10-07T17:02:33.000Z | 2022-02-03T05:26:16.000Z | tests/vpm_test.py | arademaker/pydelphin | 3ebcce48c4edcb4e797fc8e447a80e38e8fef53a | [
"MIT"
] | 21 | 2015-10-07T16:36:51.000Z | 2020-11-15T07:46:34.000Z |
from io import StringIO as S
import pytest
from delphin import vpm
def test_load(tmp_path):
vpm.load(S('; test vpm\n'
'a : b\n'
' 1 >> 2'))
vpmfile = tmp_path / 'test.vpm'
vpmfile.write_text('; test vpm\n'
'a : b\n'
' 1 >> 2')
... | 52.077844 | 150 | 0.496838 | 1,120 | 8,697 | 3.826786 | 0.094643 | 0.09636 | 0.108259 | 0.150257 | 0.861176 | 0.794914 | 0.742184 | 0.716752 | 0.702053 | 0.624825 | 0 | 0.027137 | 0.211912 | 8,697 | 166 | 151 | 52.391566 | 0.598191 | 0.118317 | 0 | 0.198347 | 0 | 0 | 0.288497 | 0 | 0 | 0 | 0 | 0 | 0.53719 | 1 | 0.066116 | false | 0.024793 | 0.024793 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ad8c0c8b8c34c2ea1f14c24c109140498310c329 | 2,238 | py | Python | optconstruct/types/composed/brokerurl.py | Frawless/option_parser | 64ad95fe0840aafe3e74fddf3cb7687df86f7913 | [
"Apache-2.0"
] | null | null | null | optconstruct/types/composed/brokerurl.py | Frawless/option_parser | 64ad95fe0840aafe3e74fddf3cb7687df86f7913 | [
"Apache-2.0"
] | null | null | null | optconstruct/types/composed/brokerurl.py | Frawless/option_parser | 64ad95fe0840aafe3e74fddf3cb7687df86f7913 | [
"Apache-2.0"
] | null | null | null | """
# TODO jstejska: Fill package info
"""
import copy
import reformat
from optconstruct.types import BasicComposed
class BrokerURLnodeJS(BasicComposed):
"""BrokerURL option construct class for nodeJS messaging client."""
composed_keys = {'host'}
def generate(self, data, client=None):
"""Ge... | 27.292683 | 92 | 0.596962 | 241 | 2,238 | 5.431535 | 0.248963 | 0.110008 | 0.039725 | 0.05806 | 0.705118 | 0.705118 | 0.705118 | 0.705118 | 0.705118 | 0.705118 | 0 | 0 | 0.291332 | 2,238 | 81 | 93 | 27.62963 | 0.825347 | 0.227882 | 0 | 0.702703 | 0 | 0 | 0.117573 | 0.085967 | 0 | 0 | 0 | 0.012346 | 0 | 1 | 0.054054 | false | 0.054054 | 0.081081 | 0 | 0.324324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
ad9695f04458f0dbc4bf34e22a12c97869a235ca | 18,532 | py | Python | apis/nb/clients/visibility_service_client/IwansiteApi.py | CiscoDevNet/APIC-EM-Generic-Scripts- | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 45 | 2016-06-09T15:41:25.000Z | 2019-08-06T17:13:11.000Z | apis/nb/clients/visibility_service_client/IwansiteApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2016-06-12T03:03:56.000Z | 2017-03-13T18:20:11.000Z | apis/nb/clients/visibility_service_client/IwansiteApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 15 | 2016-06-22T03:51:37.000Z | 2019-07-10T10:06:02.000Z | #!/usr/bin/env python
#pylint: skip-file
# This source code is licensed under the Apache license found in the
# LICENSE file in the root directory of this project.
import sys
import os
import urllib.request, urllib.parse, urllib.error
from .models import *
class IwansiteApi(object):
def __init__(self, apiClie... | 26.323864 | 115 | 0.511763 | 1,451 | 18,532 | 6.533425 | 0.095796 | 0.038397 | 0.035865 | 0.027532 | 0.879641 | 0.879641 | 0.87173 | 0.87173 | 0.865401 | 0.858861 | 0 | 0 | 0.39046 | 18,532 | 703 | 116 | 26.361309 | 0.839235 | 0.130261 | 0 | 0.86711 | 0 | 0 | 0.157209 | 0.01289 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033223 | false | 0 | 0.013289 | 0 | 0.109635 | 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 |
0f00bd0bbba4acd1cedbfe669b3a342a769e8c9e | 46,399 | py | Python | imageai/Detection/__init__.py | linxing58/ImageAI | 93a6194261abe6123ab75206ae1cdf7143067889 | [
"MIT"
] | null | null | null | imageai/Detection/__init__.py | linxing58/ImageAI | 93a6194261abe6123ab75206ae1cdf7143067889 | [
"MIT"
] | null | null | null | imageai/Detection/__init__.py | linxing58/ImageAI | 93a6194261abe6123ab75206ae1cdf7143067889 | [
"MIT"
] | null | null | null | import cv2
from imageai.Detection.keras_retinanet.models.resnet import resnet50_retinanet
from imageai.Detection.keras_retinanet.utils.image import read_image_bgr, read_image_array, read_image_stream, preprocess_image, resize_image
from imageai.Detection.keras_retinanet.utils.visualization import draw_box, draw_captio... | 54.45892 | 212 | 0.58012 | 5,038 | 46,399 | 5.142318 | 0.100437 | 0.017756 | 0.017833 | 0.010499 | 0.956382 | 0.95175 | 0.945768 | 0.94156 | 0.94156 | 0.94156 | 0 | 0.018386 | 0.333003 | 46,399 | 851 | 213 | 54.522914 | 0.818728 | 0.278993 | 0 | 0.940092 | 0 | 0.004608 | 0.112056 | 0.001451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034562 | false | 0 | 0.023041 | 0 | 0.092166 | 0.004608 | 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 |
7e2d213e75bd248ac4c61f5cf2a0e2b28ed22ffc | 8,593 | py | Python | build/mavros_msgs/cmake/mavros_msgs-genmsg-context.py | arijitnoobstar/UAVProjectileCatcher | 3c1bed80df167192cb4b971b58c891187628142e | [
"Apache-2.0"
] | 10 | 2021-03-15T03:58:06.000Z | 2021-12-30T15:33:38.000Z | build/mavros_msgs/cmake/mavros_msgs-genmsg-context.py | arijitnoobstar/UAVProjectileCatcher | 3c1bed80df167192cb4b971b58c891187628142e | [
"Apache-2.0"
] | 1 | 2021-09-09T15:29:31.000Z | 2021-09-09T15:29:31.000Z | build/mavros_msgs/cmake/mavros_msgs-genmsg-context.py | arijitnoobstar/UAVProjectileCatcher | 3c1bed80df167192cb4b971b58c891187628142e | [
"Apache-2.0"
] | 4 | 2021-03-06T09:35:58.000Z | 2021-05-24T14:34:11.000Z | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/arijitnoobstar/UAVProjectileCatcher/src/mavros/mavros_msgs/msg/ADSBVehicle.msg;/home/arijitnoobstar/UAVProjectileCatcher/src/mavros/mavros_msgs/msg/ActuatorControl.msg;/home/arijitnoobstar/UAVProjectileCatcher/src/mavros/mavros_msgs/msg/Altitude... | 716.083333 | 4,689 | 0.874782 | 1,033 | 8,593 | 7.155857 | 0.140368 | 0.127165 | 0.472944 | 0.510281 | 0.798566 | 0.783685 | 0.783685 | 0.783685 | 0.758523 | 0 | 0 | 0.000234 | 0.003957 | 8,593 | 11 | 4,690 | 781.181818 | 0.863419 | 0.005702 | 0 | 0 | 1 | 0.333333 | 0.976235 | 0.972606 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
7e8cfba675ed7689eefe309de0560a8877742ee7 | 14,224 | py | Python | misc/webdriver-w3c-tests/element_state/visibility_test.py | chenxix/crosswalk-test-suite | a2353dd2df912334cf6489f99bc0af4e091079a0 | [
"BSD-3-Clause"
] | null | null | null | misc/webdriver-w3c-tests/element_state/visibility_test.py | chenxix/crosswalk-test-suite | a2353dd2df912334cf6489f99bc0af4e091079a0 | [
"BSD-3-Clause"
] | null | null | null | misc/webdriver-w3c-tests/element_state/visibility_test.py | chenxix/crosswalk-test-suite | a2353dd2df912334cf6489f99bc0af4e091079a0 | [
"BSD-3-Clause"
] | null | null | null | # -*- mode: python; fill-column: 100; comment-column: 100; -*-
import os
import sys
import unittest
from selenium.common.exceptions import ElementNotVisibleException
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir)))
import base_test
class NaturalNonVisibleElementsTest(base_t... | 45.736334 | 122 | 0.731299 | 1,925 | 14,224 | 5.086753 | 0.092468 | 0.093954 | 0.074346 | 0.109375 | 0.837316 | 0.811683 | 0.790952 | 0.751838 | 0.731005 | 0.718239 | 0 | 0.0015 | 0.156074 | 14,224 | 310 | 123 | 45.883871 | 0.814229 | 0.03234 | 0 | 0.466667 | 0 | 0 | 0.177537 | 0.155845 | 0 | 0 | 0.000437 | 0.003226 | 0.231111 | 1 | 0.213333 | false | 0.04 | 0.022222 | 0 | 0.257778 | 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 | 0 | 0 | 0 | 7 |
0e1ee0c7fab79db37d1432b18856a59881df3fe4 | 6,635 | py | Python | result_metric/result_metric_MoEx.py | MelonDLI/ATSPrivacy | 2cf4bd67c9c0c69092b63dcdc3d06b33acf32812 | [
"MIT"
] | null | null | null | result_metric/result_metric_MoEx.py | MelonDLI/ATSPrivacy | 2cf4bd67c9c0c69092b63dcdc3d06b33acf32812 | [
"MIT"
] | null | null | null | result_metric/result_metric_MoEx.py | MelonDLI/ATSPrivacy | 2cf4bd67c9c0c69092b63dcdc3d06b33acf32812 | [
"MIT"
] | null | null | null | import numpy as np
# #! MoEx 38-3-7+17-33-45
# file ='/home/remote/u7076589/ATSPrivacy/benchmark/images/MoEx_data_cifar100_arch_ResNet20-4_epoch_200_optim_inversed_mode_aug_auglist_38-3-7+17-33-45_rlabel_False/metric.npy'
# result = np.load(file,allow_pickle=True)
# sum_ = 0
# max_psnr = 0
# for i in range(len(result)... | 39.96988 | 176 | 0.674604 | 1,032 | 6,635 | 4.070736 | 0.060078 | 0.073316 | 0.086408 | 0.117829 | 0.994763 | 0.994763 | 0.993811 | 0.992383 | 0.992383 | 0.992383 | 0 | 0.066038 | 0.089375 | 6,635 | 166 | 177 | 39.96988 | 0.629262 | 0.287415 | 0 | 0.838095 | 0 | 0.066667 | 0.466196 | 0.336329 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009524 | 0 | 0.009524 | 0.380952 | 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 |
0e76e87e53656c552a94032fe88c1f3cfff5810f | 152 | py | Python | RecoBTag/Skimming/python/btagMC_QCD_380_470_SkimPaths_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoBTag/Skimming/python/btagMC_QCD_380_470_SkimPaths_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoBTag/Skimming/python/btagMC_QCD_380_470_SkimPaths_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from RecoBTag.Skimming.btagMC_QCD_380_470_cfi import *
btagMC_QCD_380_470Path = cms.Path(btagMC_QCD_380_470)
| 25.333333 | 54 | 0.855263 | 25 | 152 | 4.8 | 0.64 | 0.225 | 0.3 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129496 | 0.085526 | 152 | 5 | 55 | 30.4 | 0.733813 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0ea36a6287c6284e0f0f9e2e53432d62f96dc1d8 | 34,343 | py | Python | kimai_python/api/activity_api.py | MPW1412/kimai-python | 7c89b0866b85fbc4b1092b30eca21f1be48db533 | [
"MIT"
] | null | null | null | kimai_python/api/activity_api.py | MPW1412/kimai-python | 7c89b0866b85fbc4b1092b30eca21f1be48db533 | [
"MIT"
] | null | null | null | kimai_python/api/activity_api.py | MPW1412/kimai-python | 7c89b0866b85fbc4b1092b30eca21f1be48db533 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Kimai 2 - API Docs
JSON API for the Kimai 2 time-tracking software. Read more about its usage in the [API documentation](https://www.kimai.org/documentation/rest-api.html) and then download a [Swagger file](doc.json) for import e.g. in Postman. Be aware: it is not yet considered stable and... | 42.035496 | 314 | 0.614245 | 4,153 | 34,343 | 4.849506 | 0.060197 | 0.046077 | 0.042453 | 0.0286 | 0.946375 | 0.933615 | 0.921053 | 0.906653 | 0.886544 | 0.867229 | 0 | 0.015341 | 0.293946 | 34,343 | 816 | 315 | 42.08701 | 0.815242 | 0.335265 | 0 | 0.740577 | 0 | 0.008869 | 0.216799 | 0.060188 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037694 | false | 0 | 0.008869 | 0 | 0.101996 | 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 |
7ecea1dee90d39f5a9e50539aad613fcc30bd0c6 | 12,934 | py | Python | codenerix_geodata/migrations/0001_initial.py | centrologic/django-codenerix-geodata | 42d8cca77857765db4ead311608dfee55711ff51 | [
"Apache-2.0"
] | 1 | 2017-11-23T13:28:19.000Z | 2017-11-23T13:28:19.000Z | codenerix_geodata/migrations/0001_initial.py | centrologic/django-codenerix-geodata | 42d8cca77857765db4ead311608dfee55711ff51 | [
"Apache-2.0"
] | null | null | null | codenerix_geodata/migrations/0001_initial.py | centrologic/django-codenerix-geodata | 42d8cca77857765db4ead311608dfee55711ff51 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-09-18 08:08
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Crea... | 51.325397 | 180 | 0.576852 | 1,228 | 12,934 | 5.885993 | 0.07899 | 0.10653 | 0.072634 | 0.115108 | 0.911179 | 0.908965 | 0.899281 | 0.889873 | 0.889873 | 0.889873 | 0 | 0.00567 | 0.277331 | 12,934 | 251 | 181 | 51.52988 | 0.767626 | 0.005257 | 0 | 0.740741 | 1 | 0 | 0.147477 | 0.033041 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012346 | 0 | 0.028807 | 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 |
7eeecc6f441ac8c99db932f925c174ddca5ff26e | 7,451 | py | Python | tmps/chain/itime/factory.py | fhoeb/py-tmps | b7eced582acb4042815a775090a59f569975e3be | [
"BSD-3-Clause"
] | 1 | 2020-02-21T20:03:44.000Z | 2020-02-21T20:03:44.000Z | tmps/chain/itime/factory.py | fhoeb/py-tmps | b7eced582acb4042815a775090a59f569975e3be | [
"BSD-3-Clause"
] | null | null | null | tmps/chain/itime/factory.py | fhoeb/py-tmps | b7eced582acb4042815a775090a59f569975e3be | [
"BSD-3-Clause"
] | 1 | 2020-02-21T19:56:53.000Z | 2020-02-21T19:56:53.000Z | """
Main interface factory functions for imaginary time evolution propagators (ITMPS, ITMPO, ITPMPS)
"""
from tmps.chain.itime.itmps import ITMPS
from tmps.chain.itime.itpmps import ITPMPS
from tmps.chain.itime.itmpo import ITMPO
import numpy as np
from tmps.utils.shape import check_shape
def from_hamiltonian(psi_... | 66.526786 | 113 | 0.64139 | 934 | 7,451 | 4.885439 | 0.149893 | 0.17883 | 0.077142 | 0.073636 | 0.911681 | 0.885382 | 0.885382 | 0.885382 | 0.885382 | 0.885382 | 0 | 0.011995 | 0.306268 | 7,451 | 111 | 114 | 67.126126 | 0.870768 | 0.42558 | 0 | 0.790323 | 0 | 0 | 0.050906 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 1 | 0.032258 | false | 0 | 0.080645 | 0 | 0.209677 | 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 |
add61b93da4fc9f378051c2a96440624942583ea | 94 | py | Python | tests/test_A000290.py | TimothyDJones/oeis | d9d608bc32ee31c73c139e1b68e4eb6315205e8d | [
"MIT"
] | 21 | 2020-03-21T17:50:13.000Z | 2022-01-18T01:52:47.000Z | tests/test_A000290.py | TimothyDJones/oeis | d9d608bc32ee31c73c139e1b68e4eb6315205e8d | [
"MIT"
] | 296 | 2019-11-18T14:04:36.000Z | 2022-03-27T21:59:24.000Z | tests/test_A000290.py | TimothyDJones/oeis | d9d608bc32ee31c73c139e1b68e4eb6315205e8d | [
"MIT"
] | 29 | 2019-11-18T11:56:22.000Z | 2022-03-26T22:31:57.000Z | from oeis import A000290
def test_squares():
assert A000290[:6] == [0, 1, 4, 9, 16, 25]
| 15.666667 | 46 | 0.617021 | 16 | 94 | 3.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287671 | 0.223404 | 94 | 5 | 47 | 18.8 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
adf1125aa39956e6f42a70f2a96f782cf039240f | 14,658 | py | Python | HydroWeno/Weno.py | Goobley/WenoExperiments | de3207d35ea12a8be60241cdb958ed01db7a52eb | [
"MIT"
] | null | null | null | HydroWeno/Weno.py | Goobley/WenoExperiments | de3207d35ea12a8be60241cdb958ed01db7a52eb | [
"MIT"
] | null | null | null | HydroWeno/Weno.py | Goobley/WenoExperiments | de3207d35ea12a8be60241cdb958ed01db7a52eb | [
"MIT"
] | 1 | 2020-08-10T07:19:45.000Z | 2020-08-10T07:19:45.000Z | import numpy as np
from numba import njit, stencil, prange
@njit(parallel=True, cache=True)
def reconstruct_weno(q, dx=None):
nRows, nGrid = q.shape
result = np.zeros((nRows, 2, nGrid))
# Set up general and left/right coefficients.
# The left/right coeffs are just flipped relative to each other
Po... | 43.111765 | 131 | 0.479602 | 2,326 | 14,658 | 3.018057 | 0.05718 | 0.055271 | 0.064815 | 0.037607 | 0.944302 | 0.944302 | 0.944302 | 0.944302 | 0.938177 | 0.914672 | 0 | 0.102346 | 0.334084 | 14,658 | 340 | 132 | 43.111765 | 0.616843 | 0.146882 | 0 | 0.889313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019084 | false | 0 | 0.007634 | 0 | 0.045802 | 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 |
bc0fa790fcb8ab1bd6577826c4e3b0e56c01341f | 1,646 | py | Python | DIGDriver/region_model/autoencoders/ae_nets/fc_nets.py | maxwellsh/DIGDriver | 1f8503c8c22861d6f9b601fd8c5a131e3dc31fc1 | [
"BSD-3-Clause"
] | 1 | 2021-08-07T00:05:48.000Z | 2021-08-07T00:05:48.000Z | DIGDriver/region_model/autoencoders/ae_nets/fc_nets.py | maxwellsh/DIGDriver | 1f8503c8c22861d6f9b601fd8c5a131e3dc31fc1 | [
"BSD-3-Clause"
] | null | null | null | DIGDriver/region_model/autoencoders/ae_nets/fc_nets.py | maxwellsh/DIGDriver | 1f8503c8c22861d6f9b601fd8c5a131e3dc31fc1 | [
"BSD-3-Clause"
] | null | null | null | import torch
import torch.nn as nn
class Autoencoder_FC(nn.Module):
def __init__(self, in_shape):
super().__init__()
bs,w,tracks = in_shape
self.encoder = nn.Sequential(
nn.Linear(w * tracks, 512),
nn.ReLU(),
nn.Linear(512, 128),
nn.ReLU(),
... | 24.567164 | 41 | 0.458688 | 197 | 1,646 | 3.71066 | 0.162437 | 0.175103 | 0.131327 | 0.229822 | 0.935705 | 0.935705 | 0.935705 | 0.935705 | 0.935705 | 0.935705 | 0 | 0.07362 | 0.405832 | 1,646 | 66 | 42 | 24.939394 | 0.673824 | 0 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.033333 | 0 | 0.233333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cb094fe8464af6f4ce8982e36f75fb024bd2d84b | 2,490 | py | Python | business_register/migrations/0075_auto_20210324_1008.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | business_register/migrations/0075_auto_20210324_1008.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | business_register/migrations/0075_auto_20210324_1008.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2021-03-24 10:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('business_register', '0074_auto_20210323_1515'),
]
operations = [
migrations.AlterField(
model_name='companylinkwithpep',
... | 46.111111 | 190 | 0.651807 | 275 | 2,490 | 5.770909 | 0.254545 | 0.100819 | 0.126024 | 0.146188 | 0.821676 | 0.803403 | 0.773787 | 0.708255 | 0.606175 | 0.606175 | 0 | 0.016481 | 0.244578 | 2,490 | 53 | 191 | 46.981132 | 0.82722 | 0.018072 | 0 | 0.723404 | 1 | 0 | 0.386001 | 0.009415 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cb1f3a458254fb01557ef2a46a6e3a0819eb2536 | 77 | py | Python | run.py | kimani-njoroge/Password_Locker | 9752ad84bae46d517576d78ca1a5816d1ad72202 | [
"MIT"
] | null | null | null | run.py | kimani-njoroge/Password_Locker | 9752ad84bae46d517576d78ca1a5816d1ad72202 | [
"MIT"
] | null | null | null | run.py | kimani-njoroge/Password_Locker | 9752ad84bae46d517576d78ca1a5816d1ad72202 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.6
from lock import User
from lock import Credentials
| 15.4 | 28 | 0.779221 | 13 | 77 | 4.615385 | 0.769231 | 0.266667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.142857 | 77 | 4 | 29 | 19.25 | 0.878788 | 0.298701 | 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 |
cb2af825639e61a0c87e2adb12e101fccfdc318d | 61 | py | Python | examples/modules/text_modeling.py | snehankekre/streamlit-yellowbrick | fd94bf4554966390ee578831612350d613aa3de7 | [
"MIT"
] | 7 | 2021-06-08T10:24:19.000Z | 2022-02-02T11:57:56.000Z | examples/modules/text_modeling.py | snehankekre/streamlit-yellowbrick | fd94bf4554966390ee578831612350d613aa3de7 | [
"MIT"
] | null | null | null | examples/modules/text_modeling.py | snehankekre/streamlit-yellowbrick | fd94bf4554966390ee578831612350d613aa3de7 | [
"MIT"
] | null | null | null | import streamlit as st
def run_text_modeling():
return
| 10.166667 | 24 | 0.737705 | 9 | 61 | 4.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 61 | 5 | 25 | 12.2 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
cb30b7fa0113b5a568746307cf11476c5ac54f19 | 195 | py | Python | tests/test_logging_handler.py | bbux-dev/dataspec | 6a0efd1c91ff222831a3fb15e7b458515ffc47d0 | [
"MIT"
] | 2 | 2021-04-21T13:53:16.000Z | 2021-08-24T16:51:16.000Z | tests/test_logging_handler.py | bbux-dev/dataspec | 6a0efd1c91ff222831a3fb15e7b458515ffc47d0 | [
"MIT"
] | 5 | 2021-03-14T16:31:41.000Z | 2021-07-02T09:00:31.000Z | tests/test_logging_handler.py | bbux-dev/dataspec | 6a0efd1c91ff222831a3fb15e7b458515ffc47d0 | [
"MIT"
] | null | null | null | from datagen import logging_handler
def test_logging_handler():
""" for coverage sake """
logging_handler.configure_logging('debug')
logging_handler.configure_logging('off')
| 24.375 | 47 | 0.728205 | 22 | 195 | 6.136364 | 0.590909 | 0.414815 | 0.340741 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174359 | 195 | 7 | 48 | 27.857143 | 0.838509 | 0.087179 | 0 | 0 | 0 | 0 | 0.04908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cb46d63c4b0b8d3577e3cc0ee39f43a7bd78616b | 614,443 | py | Python | mappings/finassist.py | 18F/data-act-pilot | ccfb6631ea757dd6980f4770e71aeaf1f6fa5a22 | [
"CC0-1.0"
] | 24 | 2015-06-16T17:29:30.000Z | 2022-02-15T14:31:34.000Z | mappings/finassist.py | 18F/data-act-pilot | ccfb6631ea757dd6980f4770e71aeaf1f6fa5a22 | [
"CC0-1.0"
] | 112 | 2015-06-16T18:30:32.000Z | 2016-02-18T21:53:47.000Z | mappings/finassist.py | 18F/data-act-pilot | ccfb6631ea757dd6980f4770e71aeaf1f6fa5a22 | [
"CC0-1.0"
] | 11 | 2015-06-17T03:23:25.000Z | 2021-02-17T11:07:19.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated by generateDS.py.
#
# Command line options:
# ('-o', 'finassist.py')
# ('-q', '')
# ('-f', '')
# ('--no-dates', '')
# ('--no-versions', '')
#
# Command line arguments:
# ../schema/xbrl/finassist/da-finassist-content-2015-06-29.xsd
#
# Command lin... | 48.936206 | 464 | 0.640074 | 64,120 | 614,443 | 5.884935 | 0.011962 | 0.069836 | 0.016791 | 0.025711 | 0.831845 | 0.804538 | 0.782799 | 0.754326 | 0.745594 | 0.731527 | 0 | 0.004811 | 0.254483 | 614,443 | 12,555 | 465 | 48.940104 | 0.818939 | 0.012673 | 0 | 0.771277 | 1 | 0.008976 | 0.085675 | 0.016715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.175947 | false | 0.014461 | 0.000914 | 0.037317 | 0.267786 | 0.066656 | 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 |
cb5dd0d1f09b0b40c7950d5a3086cbc055c02423 | 6,252 | gyp | Python | binding.gyp | bengfarrell/nuimotion | 7117c251389b68e2e5d1b8fb8fb1ccd0550b5a77 | [
"MIT"
] | 21 | 2015-01-28T23:41:08.000Z | 2021-03-03T23:19:55.000Z | binding.gyp | bengfarrell/nuimotion | 7117c251389b68e2e5d1b8fb8fb1ccd0550b5a77 | [
"MIT"
] | 3 | 2015-08-30T11:37:52.000Z | 2020-10-16T13:57:59.000Z | binding.gyp | bengfarrell/nuimotion | 7117c251389b68e2e5d1b8fb8fb1ccd0550b5a77 | [
"MIT"
] | 8 | 2015-03-03T15:46:35.000Z | 2018-02-05T04:00:20.000Z | {
"variables": {
# Be sure to create OPENNI2 and NITE2 system vars
"OPENNI2%": "$(OPENNI2)",
"NITE2%": "$(NITE2)"
},
"targets": [
{
"target_name":"copy-files",
"conditions": [
[ "OS=='win'", {
"copies": [
{ "files": [ "<(OPENNI2)/Redist/OpenNI2/Drivers/Kinec... | 35.931034 | 102 | 0.508317 | 587 | 6,252 | 5.359455 | 0.153322 | 0.111888 | 0.127146 | 0.120153 | 0.885887 | 0.848061 | 0.813096 | 0.73363 | 0.705022 | 0.705022 | 0 | 0.037903 | 0.295266 | 6,252 | 173 | 103 | 36.138728 | 0.676123 | 0.074216 | 0 | 0.605634 | 0 | 0 | 0.594983 | 0.475779 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cbbe1609a4f2d2f3ae7f071eb98128dcb1c941f9 | 38,987 | py | Python | ramandecompy/tests/test_peakidentify.py | kernb2/raman-spectra-decomp-analysis | 9ee09021e8e57735209812b062607de7e123beea | [
"MIT"
] | 14 | 2019-04-23T19:09:56.000Z | 2022-03-19T16:51:41.000Z | ramandecompy/tests/test_peakidentify.py | kernb2/raman-spectra-decomp-analysis | 9ee09021e8e57735209812b062607de7e123beea | [
"MIT"
] | 53 | 2019-04-23T19:55:35.000Z | 2020-05-20T03:43:11.000Z | ramandecompy/tests/test_peakidentify.py | kernb2/raman-spectra-decomp-analysis | 9ee09021e8e57735209812b062607de7e123beea | [
"MIT"
] | 10 | 2020-03-31T18:37:52.000Z | 2022-02-12T23:14:16.000Z | """
Module used to unit test the functionality and outputs of the peakidentify.py module
"""
# IMPORTING MODULES
import os
import h5py
import numpy as np
import pandas as pd
from ramandecompy import peakidentify
from ramandecompy import dataprep
hdf5_calfilename = 'ramandecompy/tests/test_files/peakidentify_calibration... | 41.697326 | 98 | 0.567343 | 4,202 | 38,987 | 5.071633 | 0.070919 | 0.027685 | 0.036601 | 0.021022 | 0.8444 | 0.818216 | 0.787105 | 0.769696 | 0.720801 | 0.720801 | 0 | 0.02541 | 0.338831 | 38,987 | 935 | 99 | 41.697326 | 0.801335 | 0.080463 | 0 | 0.728716 | 0 | 0 | 0.206472 | 0.034075 | 0 | 0 | 0 | 0 | 0.037518 | 1 | 0.015873 | false | 0.053391 | 0.008658 | 0 | 0.025974 | 0.066378 | 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 |
1dda2191697baa3f7dfbb1fb8b1423c88080dc9b | 10,102 | py | Python | lib/utils/show_boxes.py | chi3x10/RepMet | d5b13e01940bbb7ed59dd1ff073e03c0808f76c0 | [
"Apache-2.0"
] | 103 | 2019-08-16T11:55:04.000Z | 2022-03-04T16:47:57.000Z | lib/utils/show_boxes.py | chi3x10/RepMet | d5b13e01940bbb7ed59dd1ff073e03c0808f76c0 | [
"Apache-2.0"
] | 33 | 2019-05-25T08:42:06.000Z | 2022-03-08T21:32:10.000Z | lib/utils/show_boxes.py | chi3x10/RepMet | d5b13e01940bbb7ed59dd1ff073e03c0808f76c0 | [
"Apache-2.0"
] | 18 | 2019-09-14T07:35:39.000Z | 2021-11-25T04:25:20.000Z | # --------------------------------------------------------
# Deformable Convolutional Networks
# Copyright (c) 2017 Microsoft
# Copyright (c) 2019 IBM Corp
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Yi Li, Haocheng Zhang
# --------------------------------------------------------
imp... | 35.321678 | 123 | 0.507127 | 1,362 | 10,102 | 3.643906 | 0.110866 | 0.030224 | 0.047149 | 0.032239 | 0.834777 | 0.810598 | 0.772114 | 0.7568 | 0.728189 | 0.728189 | 0 | 0.044224 | 0.330727 | 10,102 | 285 | 124 | 35.445614 | 0.689839 | 0.065631 | 0 | 0.804444 | 0 | 0 | 0.024947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035556 | false | 0 | 0.044444 | 0 | 0.093333 | 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 |
38084c1c9cb74186e95e12f0a8c5dabdbf1ce6b2 | 103 | py | Python | icekit/plugins/page_anchor/models.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 52 | 2016-09-13T03:50:58.000Z | 2022-02-23T16:25:08.000Z | icekit/plugins/page_anchor/models.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 304 | 2016-08-11T14:17:30.000Z | 2020-07-22T13:35:18.000Z | icekit/plugins/page_anchor/models.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 12 | 2016-09-21T18:46:35.000Z | 2021-02-15T19:37:50.000Z | from . import abstract_models
class PageAnchorItem(abstract_models.AbstractPageAnchorItem):
pass
| 17.166667 | 61 | 0.825243 | 10 | 103 | 8.3 | 0.8 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 5 | 62 | 20.6 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
69dcbaf180f25588720b1b1ae1213555bdd0cc05 | 916 | py | Python | handlers/graphql/types/objecttype.py | pashazz/vmemperor | a0b53f67d75cccbd8e1e6a0419d85babab7041f5 | [
"Apache-2.0"
] | 1 | 2019-02-02T15:01:32.000Z | 2019-02-02T15:01:32.000Z | handlers/graphql/types/objecttype.py | pashazz/vmemperor | a0b53f67d75cccbd8e1e6a0419d85babab7041f5 | [
"Apache-2.0"
] | null | null | null | handlers/graphql/types/objecttype.py | pashazz/vmemperor | a0b53f67d75cccbd8e1e6a0419d85babab7041f5 | [
"Apache-2.0"
] | null | null | null | import graphene
class ObjectType(graphene.ObjectType):
'''
Implements mapping and iterable iterfaces around graphene's ObjectType so
we could pass our objects to other functions pythonically
'''
def __iter__(self):
for element in self._meta.fields:
yield element, getattr(self,... | 24.105263 | 77 | 0.674672 | 108 | 916 | 5.537037 | 0.333333 | 0.053512 | 0.093645 | 0.093645 | 0.849498 | 0.849498 | 0.849498 | 0.849498 | 0.849498 | 0.849498 | 0 | 0 | 0.246725 | 916 | 37 | 78 | 24.756757 | 0.866667 | 0.287118 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.058824 | 0.235294 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
387068ce36ac09acafc39b86cc7ebb7d5f018a9a | 19,157 | py | Python | ironic_inspector/test/unit/test_firewall.py | mail2nsrajesh/ironic-inspector | 7fa31ac6be2c1a03a0b2303b01e363cab14794a5 | [
"Apache-2.0"
] | null | null | null | ironic_inspector/test/unit/test_firewall.py | mail2nsrajesh/ironic-inspector | 7fa31ac6be2c1a03a0b2303b01e363cab14794a5 | [
"Apache-2.0"
] | null | null | null | ironic_inspector/test/unit/test_firewall.py | mail2nsrajesh/ironic-inspector | 7fa31ac6be2c1a03a0b2303b01e363cab14794a5 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 NEC Corporation
# 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... | 43.049438 | 79 | 0.544501 | 2,215 | 19,157 | 4.483973 | 0.11377 | 0.098268 | 0.120822 | 0.151027 | 0.82501 | 0.806383 | 0.787354 | 0.77648 | 0.757652 | 0.740234 | 0 | 0.026133 | 0.294879 | 19,157 | 444 | 80 | 43.146396 | 0.709135 | 0.041865 | 0 | 0.808451 | 0 | 0.008451 | 0.126023 | 0.016858 | 0 | 0 | 0 | 0 | 0.056338 | 1 | 0.033803 | false | 0 | 0.019718 | 0 | 0.059155 | 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 |
389d1ea13b11a72839582de319d9905e3c7d402b | 10,277 | py | Python | src/Manual feature Extraction approch/features.py | Bakar31/Hire-The-Perfect-Candidate | ab9071eefefbe4d0df10e82dce5707f6c094ebe1 | [
"Apache-2.0"
] | 2 | 2021-09-10T18:22:39.000Z | 2021-10-05T18:28:19.000Z | src/Manual feature Extraction approch/features.py | Bakar31/Hire-The-Perfect-Candidate | ab9071eefefbe4d0df10e82dce5707f6c094ebe1 | [
"Apache-2.0"
] | null | null | null | src/Manual feature Extraction approch/features.py | Bakar31/Hire-The-Perfect-Candidate | ab9071eefefbe4d0df10e82dce5707f6c094ebe1 | [
"Apache-2.0"
] | null | null | null | import re
from preparing_to_train import train_df, test_df
# train features
train_df['words_counts'] = train_df['resumes'].apply(lambda x: len(str(x).split()))
train_df['char_counts'] = train_df['resumes'].apply(lambda x: len(str(x)))
train_df['avg_word_len'] = train_df['char_counts']/train_df['words_counts']
train_df... | 87.837607 | 117 | 0.718011 | 1,661 | 10,277 | 4.232992 | 0.066225 | 0.109515 | 0.207083 | 0.295833 | 0.828901 | 0.804011 | 0.799033 | 0.790499 | 0.790499 | 0.786517 | 0 | 0.000834 | 0.066848 | 10,277 | 117 | 118 | 87.837607 | 0.732325 | 0.002725 | 0 | 0 | 0 | 0 | 0.304284 | 0.008198 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.018182 | 0 | 0.018182 | 0.018182 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
38a8fe3f1a673cbf3b40b00aa332df49c2d3e1ea | 29,781 | py | Python | appengine/gce-backend/cleanup_test.py | Swift1313/luci-py | 0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4 | [
"Apache-2.0"
] | null | null | null | appengine/gce-backend/cleanup_test.py | Swift1313/luci-py | 0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4 | [
"Apache-2.0"
] | null | null | null | appengine/gce-backend/cleanup_test.py | Swift1313/luci-py | 0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# Copyright 2016 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
"""Unit tests for cleanup.py."""
import unittest
import test_env
test_env.setup_test_env()
from google.appengine.ext import n... | 28.913592 | 80 | 0.652463 | 3,291 | 29,781 | 5.682163 | 0.051656 | 0.040428 | 0.060963 | 0.052888 | 0.913583 | 0.896203 | 0.883957 | 0.837701 | 0.793262 | 0.715455 | 0 | 0.004064 | 0.22333 | 29,781 | 1,029 | 81 | 28.941691 | 0.80441 | 0.100534 | 0 | 0.83522 | 0 | 0 | 0.080036 | 0.015313 | 0 | 0 | 0 | 0 | 0.005031 | 1 | 0.093082 | false | 0.005031 | 0.012579 | 0.007547 | 0.127044 | 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 |
38d363491b8c53a3dc9953105a2b7f03652007bd | 775 | py | Python | range_1.py | Krishna-Aaseri/Python_Logical_Questions | c0f025a56dbbf85426142adb423b25fa7b034adb | [
"MIT"
] | null | null | null | range_1.py | Krishna-Aaseri/Python_Logical_Questions | c0f025a56dbbf85426142adb423b25fa7b034adb | [
"MIT"
] | null | null | null | range_1.py | Krishna-Aaseri/Python_Logical_Questions | c0f025a56dbbf85426142adb423b25fa7b034adb | [
"MIT"
] | null | null | null | # num = [10, 20, 30, 40, 50, 40, 40, 60, 70] #range: 40-80
# i = 0
# count = 0
# while i < len(num):
# if num[i] >= 40 and num[i] < 80:
# count = count + 1
# i = i + 1
# print count
#===========================================================================
# Input : [10, 20, 30, 40, 50, 40, 40, 60, 70] range: 10-... | 23.484848 | 76 | 0.402581 | 126 | 775 | 2.47619 | 0.190476 | 0.089744 | 0.076923 | 0.102564 | 0.849359 | 0.849359 | 0.849359 | 0.791667 | 0.714744 | 0.657051 | 0 | 0.18569 | 0.242581 | 775 | 32 | 77 | 24.21875 | 0.345826 | 0.735484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
38dd53f3d3c85d00e41321871c4bd3ae8cd9e2b4 | 74 | py | Python | HW2/scripts/utils.py | UltronAI/Stochastic-Process | edbfe0eb2b62758e093306d18ba5a96415572be1 | [
"MIT"
] | null | null | null | HW2/scripts/utils.py | UltronAI/Stochastic-Process | edbfe0eb2b62758e093306d18ba5a96415572be1 | [
"MIT"
] | null | null | null | HW2/scripts/utils.py | UltronAI/Stochastic-Process | edbfe0eb2b62758e093306d18ba5a96415572be1 | [
"MIT"
] | null | null | null | import numpy as np
def mse(y_pred, y):
return np.mean((y-y_pred)**2)
| 14.8 | 33 | 0.648649 | 16 | 74 | 2.875 | 0.6875 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.189189 | 74 | 4 | 34 | 18.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 |
38e5678d4874768a9fa0f7f1d27950c976ffddc0 | 111 | py | Python | pynumdiff/nnet/__init__.py | fossabot/PyNumDiff | dccad2ad7a875f2ecccb0db2bb6e2afa392916d1 | [
"MIT"
] | null | null | null | pynumdiff/nnet/__init__.py | fossabot/PyNumDiff | dccad2ad7a875f2ecccb0db2bb6e2afa392916d1 | [
"MIT"
] | null | null | null | pynumdiff/nnet/__init__.py | fossabot/PyNumDiff | dccad2ad7a875f2ecccb0db2bb6e2afa392916d1 | [
"MIT"
] | null | null | null | from pynumdiff.nnet.__nnet__ import adam as adam
from pynumdiff.nnet.__nnet__ import quasinewton as quasinewton | 55.5 | 62 | 0.864865 | 16 | 111 | 5.5 | 0.4375 | 0.295455 | 0.386364 | 0.477273 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 111 | 2 | 62 | 55.5 | 0.88 | 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 |
38e6861c9f7806a7f307034ecf8801bb12087614 | 14,973 | py | Python | kuryr_kubernetes/tests/unit/controller/drivers/test_lb_public_ip.py | ragilsetian/kuryr-k8s | 922baf3fcd68517427da861939fcf6832708fc4f | [
"Apache-2.0"
] | null | null | null | kuryr_kubernetes/tests/unit/controller/drivers/test_lb_public_ip.py | ragilsetian/kuryr-k8s | 922baf3fcd68517427da861939fcf6832708fc4f | [
"Apache-2.0"
] | null | null | null | kuryr_kubernetes/tests/unit/controller/drivers/test_lb_public_ip.py | ragilsetian/kuryr-k8s | 922baf3fcd68517427da861939fcf6832708fc4f | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2017 RedHat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 44.695522 | 79 | 0.618714 | 1,835 | 14,973 | 4.671935 | 0.107357 | 0.040826 | 0.05319 | 0.07092 | 0.869591 | 0.846611 | 0.81815 | 0.80217 | 0.793305 | 0.763443 | 0 | 0.038257 | 0.296467 | 14,973 | 334 | 80 | 44.829341 | 0.775584 | 0.040206 | 0 | 0.782101 | 0 | 0 | 0.084494 | 0.045974 | 0 | 0 | 0 | 0 | 0.070039 | 1 | 0.070039 | false | 0 | 0.035019 | 0 | 0.108949 | 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 |
2a4e084b2645a119068723676c33b0e1cab5d700 | 3,231 | py | Python | vulnerable_people_form/integrations/notification_content.py | StephenGill/govuk-shielded-vulnerable-people-service | fbb74de933ffd3080c84611de067ba336bfa5518 | [
"MIT"
] | null | null | null | vulnerable_people_form/integrations/notification_content.py | StephenGill/govuk-shielded-vulnerable-people-service | fbb74de933ffd3080c84611de067ba336bfa5518 | [
"MIT"
] | null | null | null | vulnerable_people_form/integrations/notification_content.py | StephenGill/govuk-shielded-vulnerable-people-service | fbb74de933ffd3080c84611de067ba336bfa5518 | [
"MIT"
] | null | null | null | from flask import render_template
from vulnerable_people_form.form_pages.shared.session import form_answers, is_nhs_login_user
def create_spl_no_match_email_content(reference_number):
return render_template(
"_spl_no_match_email_template.md",
first_name=form_answers()["name"]["first_name"],
... | 42.513158 | 93 | 0.735067 | 429 | 3,231 | 4.944056 | 0.137529 | 0.145215 | 0.084866 | 0.107496 | 0.956624 | 0.934936 | 0.934936 | 0.91702 | 0.91702 | 0.759547 | 0 | 0 | 0.148561 | 3,231 | 75 | 94 | 43.08 | 0.770992 | 0 | 0 | 0.709677 | 0 | 0 | 0.237078 | 0.16156 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.032258 | 0.096774 | 0.225806 | 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 |
2a6652d3cdead536a3ffa2f8dca821498413afc9 | 157 | py | Python | src/nlp_datasets/text_to_speech/__init__.py | TeaKatz/NLP_Datasets | 6eeacd0d120ce8d7d1e3da2b40af94006ee1cdf6 | [
"MIT"
] | null | null | null | src/nlp_datasets/text_to_speech/__init__.py | TeaKatz/NLP_Datasets | 6eeacd0d120ce8d7d1e3da2b40af94006ee1cdf6 | [
"MIT"
] | null | null | null | src/nlp_datasets/text_to_speech/__init__.py | TeaKatz/NLP_Datasets | 6eeacd0d120ce8d7d1e3da2b40af94006ee1cdf6 | [
"MIT"
] | null | null | null | from .WordAudioDataset import WordAudioDataset
from .WordAudioDataset import WordAudioWithNegativeSamples
from .Word2SpeechDataset import Word2SpeechDataset | 39.25 | 58 | 0.904459 | 12 | 157 | 11.833333 | 0.416667 | 0.28169 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.076433 | 157 | 4 | 59 | 39.25 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2a78ede36657404156938ecd2bbfe301f4f38fb9 | 61 | py | Python | dql/__init__.py | E-G-C/dql | fb208cf3033aacc5347a1dc2ebfa9fd5cc7945e0 | [
"MIT"
] | 3 | 2019-08-26T02:44:11.000Z | 2022-03-09T21:57:18.000Z | dql/__init__.py | E-G-C/dql | fb208cf3033aacc5347a1dc2ebfa9fd5cc7945e0 | [
"MIT"
] | 1 | 2019-09-09T15:30:20.000Z | 2019-11-25T20:54:38.000Z | dql/__init__.py | E-G-C/dql | fb208cf3033aacc5347a1dc2ebfa9fd5cc7945e0 | [
"MIT"
] | null | null | null | from .dictQL import DictQL
from .dictQL import DictQL as Dql
| 20.333333 | 33 | 0.803279 | 10 | 61 | 4.9 | 0.5 | 0.408163 | 0.653061 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 61 | 2 | 34 | 30.5 | 0.960784 | 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 |
aa69789160f789f70a1dbf0b63d581f712e03079 | 16,312 | py | Python | src/syft/proto/grid/messages/transfer_messages_pb2.py | dnabanita7/PySyft | ce2510e65f5bad382e88806bcde30fa38c3c76c4 | [
"Apache-2.0"
] | 2 | 2020-10-19T19:18:46.000Z | 2020-12-07T12:06:30.000Z | packages/syft/src/syft/proto/grid/messages/transfer_messages_pb2.py | Metrix1010/PySyft | 6477f64b63dc285059c3766deab3993653cead2e | [
"Apache-2.0"
] | 5 | 2020-09-11T05:47:12.000Z | 2020-10-13T08:36:17.000Z | packages/syft/src/syft/proto/grid/messages/transfer_messages_pb2.py | Metrix1010/PySyft | 6477f64b63dc285059c3766deab3993653cead2e | [
"Apache-2.0"
] | 1 | 2021-08-19T12:23:01.000Z | 2021-08-19T12:23:01.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: proto/grid/messages/transfer_messages.proto
"""Generated protocol buffer code."""
# third party
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import r... | 33.494867 | 1,170 | 0.630824 | 1,719 | 16,312 | 5.631181 | 0.089587 | 0.040496 | 0.060847 | 0.055785 | 0.778512 | 0.766942 | 0.707335 | 0.703202 | 0.703202 | 0.68688 | 0 | 0.034901 | 0.272805 | 16,312 | 486 | 1,171 | 33.563786 | 0.78115 | 0.034576 | 0 | 0.799559 | 1 | 0.006608 | 0.137999 | 0.103229 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013216 | 0 | 0.013216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
aa76793ac46890610864fa1198baf08dec71380f | 72,246 | py | Python | pyboto3/athena.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/athena.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/athena.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 39.56517 | 3,846 | 0.699181 | 8,777 | 72,246 | 5.739091 | 0.077019 | 0.020646 | 0.027079 | 0.025014 | 0.817815 | 0.794231 | 0.778845 | 0.753792 | 0.736302 | 0.728877 | 0 | 0.006084 | 0.228732 | 72,246 | 1,825 | 3,847 | 39.586849 | 0.89792 | 0.969728 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
aa86014d9bec52a8e02ab3027ebcc87b83f96443 | 5,265 | py | Python | python/p13.py | luizfranca/project-euler | 9bd43954283ecf27c61303b7004f24df5dddcabe | [
"MIT"
] | null | null | null | python/p13.py | luizfranca/project-euler | 9bd43954283ecf27c61303b7004f24df5dddcabe | [
"MIT"
] | null | null | null | python/p13.py | luizfranca/project-euler | 9bd43954283ecf27c61303b7004f24df5dddcabe | [
"MIT"
] | null | null | null | # Project Euler
# Problem 12
# Large sum
number = """
37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
23067588207539346171171980310421047513778063246676
8926167069... | 46.184211 | 71 | 0.966192 | 128 | 5,265 | 39.742188 | 0.953125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.977765 | 0.026211 | 5,265 | 114 | 72 | 46.184211 | 0.014433 | 0.006458 | 0 | 0 | 0 | 0 | 0.975899 | 0.956389 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.009524 | 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 |
aa8e7e4e868d0d3eb8db5039b1b78fc6733322c6 | 8,273 | py | Python | tests/arrays/test_leetcode_arrays_solution.py | nutshellfool/algorithmPlayground_python | cb3a56a879ad5edc526a09c750c073596bb956d4 | [
"MIT"
] | null | null | null | tests/arrays/test_leetcode_arrays_solution.py | nutshellfool/algorithmPlayground_python | cb3a56a879ad5edc526a09c750c073596bb956d4 | [
"MIT"
] | null | null | null | tests/arrays/test_leetcode_arrays_solution.py | nutshellfool/algorithmPlayground_python | cb3a56a879ad5edc526a09c750c073596bb956d4 | [
"MIT"
] | null | null | null | from unittest import TestCase
from src.arrays.leetcode_arrays_solution import Solution
class TestArrayLeetCodeSolution(TestCase):
def setUp(self):
self.solution = Solution()
def test_maxArea(self):
height = [1, 8, 6, 2, 5, 4, 8, 3, 7]
max_area = self.solution.maxArea(height)
... | 37.265766 | 72 | 0.677143 | 1,083 | 8,273 | 4.834718 | 0.064635 | 0.051566 | 0.111727 | 0.097403 | 0.894194 | 0.87796 | 0.863827 | 0.821429 | 0.75382 | 0.733766 | 0 | 0.035742 | 0.218784 | 8,273 | 221 | 73 | 37.434389 | 0.774408 | 0 | 0 | 0.539326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.404494 | 1 | 0.224719 | false | 0 | 0.011236 | 0 | 0.241573 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
aa9c7569a27d69570cd01db2ef721bf49ae91caf | 7,787 | py | Python | src/ebay_rest/api/commerce_notification/api/config_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | src/ebay_rest/api/commerce_notification/api/config_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | src/ebay_rest/api/commerce_notification/api/config_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Notification API
The eBay Notification API enables management of the entire end-to-end eBay notification experience by allowing users to:<ul><li>Browse for supported notification topics and retrieve topic details</li><li>Create, configure, and manage notification destination endpionts</li>... | 36.731132 | 442 | 0.621163 | 908 | 7,787 | 5.10022 | 0.197137 | 0.044915 | 0.024185 | 0.031095 | 0.800043 | 0.784712 | 0.784712 | 0.768301 | 0.760527 | 0.75664 | 0 | 0.015824 | 0.293951 | 7,787 | 211 | 443 | 36.905213 | 0.826482 | 0.402979 | 0 | 0.704762 | 0 | 0 | 0.133886 | 0.03128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.038095 | 0 | 0.152381 | 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 |
aacc6003dda7d0f113232d2ad8f543a975d4a6fa | 13,098 | py | Python | lib/saq/modules/test_hal9000.py | krayzpipes/ACE-1 | 138bf2aecad949f0b72b66519c32893df033de39 | [
"Apache-2.0"
] | 28 | 2018-08-08T11:57:31.000Z | 2022-01-12T23:06:18.000Z | lib/saq/modules/test_hal9000.py | krayzpipes/ACE-1 | 138bf2aecad949f0b72b66519c32893df033de39 | [
"Apache-2.0"
] | 108 | 2018-08-08T12:35:06.000Z | 2019-07-19T22:57:19.000Z | lib/saq/modules/test_hal9000.py | krayzpipes/ACE-1 | 138bf2aecad949f0b72b66519c32893df033de39 | [
"Apache-2.0"
] | 16 | 2018-08-03T18:48:00.000Z | 2021-11-09T00:35:35.000Z | # vim: sw=4:ts=4:et
import logging
import saq
import saq.database
import saq.test
from saq.analysis import RootAnalysis
from saq.database import use_db, get_db_connection, set_dispositions
from saq.constants import *
from saq.test import *
from saq.util import *
from .hal9000 import HAL9000Analysis, _compute_hal9000... | 44.25 | 118 | 0.654756 | 1,488 | 13,098 | 5.497312 | 0.110887 | 0.070416 | 0.06846 | 0.034963 | 0.88802 | 0.863936 | 0.863936 | 0.854523 | 0.845966 | 0.832641 | 0 | 0.02232 | 0.274851 | 13,098 | 295 | 119 | 44.4 | 0.838913 | 0.137426 | 0 | 0.839024 | 0 | 0 | 0.061179 | 0.026461 | 0 | 0 | 0 | 0 | 0.317073 | 1 | 0.014634 | false | 0 | 0.04878 | 0 | 0.068293 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.