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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce829c91eaf75b1ed2171380cb8913c06dcb1070 | 1,849 | py | Python | candejar/cid/__init__.py | Ricyteach/candejar | a83a83a377f7d757568e373f2ff6dcb4e1661e70 | [
"MIT"
] | null | null | null | candejar/cid/__init__.py | Ricyteach/candejar | a83a83a377f7d757568e373f2ff6dcb4e1661e70 | [
"MIT"
] | null | null | null | candejar/cid/__init__.py | Ricyteach/candejar | a83a83a377f7d757568e373f2ff6dcb4e1661e70 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Sub package for reading/writing (parsing/formatting) lines of .cid files."""
from typing import TypeVar, Type
from .cidlineclasses import A1, A2, C1, C2, C3, C4, C5, E1, Stop, D1, D2Isotropic, D2Orthotropic, D2Duncan, D3Duncan, D4Duncan, D2Over, D2Hardin, D2HardinTRIA, D2Interface, D2Compo... | 97.315789 | 640 | 0.78583 | 208 | 1,849 | 6.908654 | 0.514423 | 0.011134 | 0.016701 | 0.011134 | 0.74739 | 0.719555 | 0.702853 | 0.702853 | 0.702853 | 0.702853 | 0 | 0.08369 | 0.114657 | 1,849 | 18 | 641 | 102.722222 | 0.794136 | 0.134667 | 0 | 0 | 0 | 0.111111 | 0.392453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
ceae5a7d16efbed0c1b9385c2f0c43199af1d60c | 24,720 | py | Python | tests/test_testcase.py | WalkerWhite/introcs-python | c4bcc697e49a371a4254ae9cb883cf06aa6f9e4f | [
"MIT"
] | 1 | 2021-12-26T03:15:59.000Z | 2021-12-26T03:15:59.000Z | tests/test_testcase.py | WalkerWhite/introcs-python | c4bcc697e49a371a4254ae9cb883cf06aa6f9e4f | [
"MIT"
] | null | null | null | tests/test_testcase.py | WalkerWhite/introcs-python | c4bcc697e49a371a4254ae9cb883cf06aa6f9e4f | [
"MIT"
] | 2 | 2021-01-20T01:38:08.000Z | 2021-07-17T02:15:37.000Z | """
Unit test for the test case package
This tests the custom unittest package that we provide in introcs to make everything
easier.
:author: Walker M. White (wmw2)
:version: July 13, 2018
"""
import unittest
import numpy
# This is necessary for command interception
display = print
thequit = quit
class UnitTestT... | 40.927152 | 137 | 0.602427 | 3,190 | 24,720 | 4.506583 | 0.081505 | 0.062326 | 0.138773 | 0.155189 | 0.842168 | 0.816082 | 0.787841 | 0.738592 | 0.705829 | 0.655815 | 0 | 0.046297 | 0.246804 | 24,720 | 603 | 138 | 40.995025 | 0.725818 | 0.080947 | 0 | 0.429864 | 0 | 0.006787 | 0.145735 | 0.025923 | 0 | 0 | 0 | 0 | 0.665158 | 1 | 0.042986 | false | 0 | 0.00905 | 0 | 0.067873 | 0.011312 | 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 |
ceb71354700747f8520f3991f32c2e68bf2e4396 | 4,759 | py | Python | PyP100/PyP110.py | seeya/TapoP100 | 2a82bbfbb8de18786c15be4732a89f48c94f4141 | [
"MIT"
] | null | null | null | PyP100/PyP110.py | seeya/TapoP100 | 2a82bbfbb8de18786c15be4732a89f48c94f4141 | [
"MIT"
] | null | null | null | PyP100/PyP110.py | seeya/TapoP100 | 2a82bbfbb8de18786c15be4732a89f48c94f4141 | [
"MIT"
] | null | null | null | from PyP100 import PyP100
import json
import logging
import time
_LOGGER = logging.getLogger(__name__)
class P110(PyP100.P100):
def getEnergyUsage(self):
URL = f"http://{self.ipAddress}/app?token={self.token}"
Payload = {
"method": "get_energy_usage",
"requestTimeMils": i... | 29.018293 | 93 | 0.539609 | 379 | 4,759 | 6.722955 | 0.203166 | 0.062794 | 0.015699 | 0.023548 | 0.907771 | 0.907771 | 0.894035 | 0.894035 | 0.894035 | 0.894035 | 0 | 0.039735 | 0.333684 | 4,759 | 163 | 94 | 29.196319 | 0.763797 | 0 | 0 | 0.65873 | 0 | 0 | 0.206766 | 0.030258 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0.119048 | 0.031746 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
490166dd8cb2244fb85cecfd652e7e73615184d0 | 18,705 | py | Python | saleor/graphql/giftcard/tests/mutations/test_gift_card_create.py | felipearmat/saleor | 34c01912fede74dae45edfd23c1bfdca8ad26e35 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/giftcard/tests/mutations/test_gift_card_create.py | felipearmat/saleor | 34c01912fede74dae45edfd23c1bfdca8ad26e35 | [
"CC-BY-4.0"
] | 101 | 2018-06-02T17:33:17.000Z | 2022-03-28T04:46:22.000Z | saleor/graphql/giftcard/tests/mutations/test_gift_card_create.py | aminziadna/saleor | 2e78fb5bcf8b83a6278af02551a104cfa555a1fb | [
"CC-BY-4.0"
] | null | null | null | from datetime import date, timedelta
from .....giftcard import GiftCardEvents
from .....giftcard.error_codes import GiftCardErrorCode
from ....core.enums import TimePeriodTypeEnum
from ....tests.utils import assert_no_permission, get_graphql_content
from ...enums import GiftCardExpiryTypeEnum
CREATE_GIFT_CARD_MUTATIO... | 28.955108 | 79 | 0.586848 | 1,780 | 18,705 | 5.92191 | 0.069663 | 0.056162 | 0.030547 | 0.040983 | 0.879328 | 0.876957 | 0.876577 | 0.868419 | 0.862916 | 0.85286 | 0 | 0.005492 | 0.308848 | 18,705 | 645 | 80 | 29 | 0.80987 | 0.009356 | 0 | 0.754069 | 0 | 0 | 0.280493 | 0.002703 | 0 | 0 | 0 | 0 | 0.169982 | 1 | 0.019892 | false | 0 | 0.01085 | 0 | 0.030741 | 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 |
0b453cdd71bd5d3851a13fb669731ca007702389 | 17,274 | py | Python | tests/request/django_2x/test_patched_request.py | zlqm/django_improved_view | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | 1 | 2021-02-10T08:26:30.000Z | 2021-02-10T08:26:30.000Z | tests/request/django_2x/test_patched_request.py | zlqm/simple_django_api | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | null | null | null | tests/request/django_2x/test_patched_request.py | zlqm/simple_django_api | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
from io import BytesIO
from django.http import (RawPostDataException, UnreadablePostError)
from django.test import SimpleTestCase
from django.test.client import FakePayload
from django.utils.http import urlencode
from django.utils.six.moves.urllib.parse import urlencode as orig... | 39.259091 | 90 | 0.550828 | 1,710 | 17,274 | 5.412281 | 0.125731 | 0.061588 | 0.087952 | 0.051324 | 0.819125 | 0.811345 | 0.780119 | 0.773204 | 0.766072 | 0.732685 | 0 | 0.005141 | 0.335649 | 17,274 | 439 | 91 | 39.348519 | 0.801325 | 0.125101 | 0 | 0.781538 | 0 | 0.003077 | 0.195082 | 0.024796 | 0 | 0 | 0 | 0 | 0.138462 | 1 | 0.083077 | false | 0 | 0.024615 | 0 | 0.123077 | 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 |
0b59e35147da1e0e53e044bb8b7b8b670a4b5cd5 | 21,320 | py | Python | test/test_index_calculation.py | vthorsteinsson/Tokenizer | 19ade7dc63c131e1942fba31159bc8fc771aec3e | [
"MIT"
] | 10 | 2018-01-17T19:17:17.000Z | 2019-02-19T02:25:36.000Z | test/test_index_calculation.py | vthorsteinsson/Tokenizer | 19ade7dc63c131e1942fba31159bc8fc771aec3e | [
"MIT"
] | 4 | 2018-04-20T08:45:39.000Z | 2018-11-28T18:13:15.000Z | test/test_index_calculation.py | vthorsteinsson/Tokenizer | 19ade7dc63c131e1942fba31159bc8fc771aec3e | [
"MIT"
] | 3 | 2018-04-20T08:36:12.000Z | 2018-11-20T16:31:55.000Z | # type: ignore
"""
test_index_calculation.py
Tests for Tokenizer module
Copyright (C) 2022 by Miðeind ehf.
This software is licensed under the MIT License:
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
... | 40.609524 | 141 | 0.59742 | 2,720 | 21,320 | 4.491176 | 0.120221 | 0.126965 | 0.085953 | 0.126064 | 0.793549 | 0.782253 | 0.767436 | 0.767272 | 0.750491 | 0.727243 | 0 | 0.085617 | 0.284522 | 21,320 | 524 | 142 | 40.687023 | 0.714763 | 0.175375 | 0 | 0.747774 | 0 | 0 | 0.031752 | 0.002416 | 0 | 0 | 0 | 0 | 0.418398 | 1 | 0.026706 | false | 0 | 0.002967 | 0 | 0.029674 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0b5db7ed44c3ed53a93c41b43f259a5e9de1bd30 | 2,614 | py | Python | tests/test_compound_doc.py | pbutler/jsg | de2dc80776093411069f86930abc1a19204c3f32 | [
"MIT"
] | null | null | null | tests/test_compound_doc.py | pbutler/jsg | de2dc80776093411069f86930abc1a19204c3f32 | [
"MIT"
] | null | null | null | tests/test_compound_doc.py | pbutler/jsg | de2dc80776093411069f86930abc1a19204c3f32 | [
"MIT"
] | null | null | null |
from jsg import Document, CompoundDocument
from jsg.fields import StringField
from utils import check_schema, schema
def test_compound_doc(schema):
@schema.add()
class A(Document):
a = StringField()
@schema.add()
class B(Document):
b = StringField()
@schema.add()
class C(C... | 23.763636 | 61 | 0.300306 | 161 | 2,614 | 4.801242 | 0.229814 | 0.14489 | 0.108668 | 0.129366 | 0.804657 | 0.804657 | 0.765847 | 0.765847 | 0.765847 | 0.765847 | 0 | 0.003413 | 0.551645 | 2,614 | 109 | 62 | 23.981651 | 0.656143 | 0 | 0 | 0.604167 | 0 | 0 | 0.160413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.03125 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0ba9692648d095439d162e6a3ef32c1b02cd1523 | 5,408 | py | Python | regularTour/forms.py | irfanmaulananasution/guidian | b5224c58d320c81bb085a89bcc011e020207a1f2 | [
"MIT"
] | 1 | 2021-09-09T02:34:59.000Z | 2021-09-09T02:34:59.000Z | regularTour/forms.py | irfanmaulananasution/guidian | b5224c58d320c81bb085a89bcc011e020207a1f2 | [
"MIT"
] | null | null | null | regularTour/forms.py | irfanmaulananasution/guidian | b5224c58d320c81bb085a89bcc011e020207a1f2 | [
"MIT"
] | null | null | null | from django import forms
from regularTour import models
class CreateRegularTourForm(forms.Form):
destination = forms.CharField(
label = 'Destination',
required = True,
max_length = 15,
widget = forms.TextInput(attrs={
'class': 'form-control',
'type': 'text',
... | 26.640394 | 143 | 0.505917 | 469 | 5,408 | 5.801706 | 0.202559 | 0.074972 | 0.111724 | 0.123484 | 0.896729 | 0.896729 | 0.896729 | 0.896729 | 0.864388 | 0.823227 | 0 | 0.006725 | 0.367604 | 5,408 | 202 | 144 | 26.772277 | 0.788889 | 0.021635 | 0 | 0.808989 | 0 | 0.022472 | 0.282876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011236 | 0 | 0.146067 | 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 |
e7fcd83d9bd596a83c7b481e02613a9ce02258c3 | 93 | py | Python | scripts/cloud_functions/login.py | themichaelusa/poke | c466084e77017c8f0c143662e1b1d19db7e55bc6 | [
"Apache-2.0"
] | 3 | 2019-10-26T17:16:28.000Z | 2020-03-02T17:21:34.000Z | scripts/cloud_functions/login.py | themichaelusa/poke | c466084e77017c8f0c143662e1b1d19db7e55bc6 | [
"Apache-2.0"
] | 3 | 2020-02-29T17:26:51.000Z | 2020-03-01T01:56:37.000Z | scripts/cloud_functions/login.py | themichaelusa/poke | c466084e77017c8f0c143662e1b1d19db7e55bc6 | [
"Apache-2.0"
] | 1 | 2020-02-28T22:24:04.000Z | 2020-02-28T22:24:04.000Z | from backend.user_auth import *
def login(uname, pwd):
return login_internal(uname, pwd) | 23.25 | 37 | 0.752688 | 14 | 93 | 4.857143 | 0.785714 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 4 | 37 | 23.25 | 0.860759 | 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 |
f023b57955cbf5ba24a0009c7e42ded7c43dc15b | 5,556 | py | Python | game_obj.py | Raymond4578/Atipycal-Invasion | fd1fe9b3ff31d8cfe202acb411c9cb4afd5aa401 | [
"MIT"
] | 1 | 2021-02-08T12:50:35.000Z | 2021-02-08T12:50:35.000Z | game_obj.py | Raymond4578/Atipycal-Invasion | fd1fe9b3ff31d8cfe202acb411c9cb4afd5aa401 | [
"MIT"
] | null | null | null | game_obj.py | Raymond4578/Atipycal-Invasion | fd1fe9b3ff31d8cfe202acb411c9cb4afd5aa401 | [
"MIT"
] | null | null | null | import random
class game_obj(object):
def __init__(self, x, y, pic_path):
"""
:param int x: inital x position of object
:param int y: inital y position of object
:param str pic_path: relative path of object picture
"""
self.x = x
self.y = y
... | 27.369458 | 94 | 0.5045 | 713 | 5,556 | 3.758766 | 0.123422 | 0.031343 | 0.020522 | 0.03694 | 0.847388 | 0.839179 | 0.839179 | 0.778358 | 0.764179 | 0.686194 | 0 | 0 | 0.406947 | 5,556 | 203 | 95 | 27.369458 | 0.813354 | 0.394708 | 0 | 0.78481 | 0 | 0 | 0.004662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164557 | false | 0.037975 | 0.012658 | 0 | 0.278481 | 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 |
f084264e13202e50627937dd1211d4ba29bbfadc | 15,737 | py | Python | test/test_bit_stream.py | bcarr092/CSignal | 056761e4997091d2907468d17fb82607a56d3bf6 | [
"Apache-2.0"
] | 1 | 2015-11-14T01:18:27.000Z | 2015-11-14T01:18:27.000Z | test/test_bit_stream.py | bcarr092/CSignal | 056761e4997091d2907468d17fb82607a56d3bf6 | [
"Apache-2.0"
] | null | null | null | test/test_bit_stream.py | bcarr092/CSignal | 056761e4997091d2907468d17fb82607a56d3bf6 | [
"Apache-2.0"
] | null | null | null | from csignal_tests import *
from array import array
import unittest
import struct
import socket
import random
import string
import sys
class TestsBitStream( unittest.TestCase ):
def test_bit_stream_peak( self ):
data = ''
for index in range( 1000 ):
initialNumber = random.randint( 0, 2 ** 32 - 1 )... | 27.853097 | 95 | 0.630171 | 1,676 | 15,737 | 5.629475 | 0.063842 | 0.130578 | 0.063593 | 0.053418 | 0.881929 | 0.866879 | 0.85045 | 0.83222 | 0.828511 | 0.786222 | 0 | 0.016746 | 0.282837 | 15,737 | 564 | 96 | 27.902482 | 0.819245 | 0.00197 | 0 | 0.733696 | 0 | 0 | 0.00363 | 0 | 0 | 0 | 0.000255 | 0 | 0.345109 | 1 | 0.038043 | false | 0 | 0.021739 | 0 | 0.0625 | 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 |
65204eb142fd3ae2388aa35a9355011980d45bcd | 8,688 | py | Python | livestock/override.py | jayan13/livestock | 75f4ccb246818d9cd55400d88fefbb36c168c713 | [
"MIT"
] | null | null | null | livestock/override.py | jayan13/livestock | 75f4ccb246818d9cd55400d88fefbb36c168c713 | [
"MIT"
] | null | null | null | livestock/override.py | jayan13/livestock | 75f4ccb246818d9cd55400d88fefbb36c168c713 | [
"MIT"
] | null | null | null | # Copyright (c) 2022, alantechnologies and contributors
# For license information, please see license.txt
import frappe
from frappe.utils import add_days, flt, get_datetime, get_time, get_url, nowtime, today
from erpnext.projects.doctype.project.project import Project
from frappe.model.document import Document
class ... | 35.753086 | 152 | 0.739871 | 1,285 | 8,688 | 4.71284 | 0.106615 | 0.044584 | 0.038639 | 0.028071 | 0.820343 | 0.787153 | 0.769485 | 0.747853 | 0.706902 | 0.706902 | 0 | 0.009245 | 0.15343 | 8,688 | 243 | 153 | 35.753086 | 0.81414 | 0.011625 | 0 | 0.716578 | 0 | 0 | 0.247874 | 0.024345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053476 | false | 0 | 0.02139 | 0 | 0.080214 | 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 |
334fa0d10eed72b7e8717c8ed51e0378efc49ab6 | 103 | py | Python | rpython/jit/backend/test/test_zll_stress_2.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | rpython/jit/backend/test/test_zll_stress_2.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | rpython/jit/backend/test/test_zll_stress_2.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z | from rpython.jit.backend.test import zll_stress
def test_stress_2():
zll_stress.do_test_stress(2)
| 20.6 | 47 | 0.796117 | 18 | 103 | 4.222222 | 0.611111 | 0.236842 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.116505 | 103 | 4 | 48 | 25.75 | 0.813187 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
336a14618cc92c74396f30771a9c6d9269d2ce36 | 965 | py | Python | tests/test_cli.py | blaisep/chaostoolkit | 3fec59b58552042407a9f0957179c51124a183bc | [
"Apache-2.0"
] | 1 | 2020-02-18T03:31:14.000Z | 2020-02-18T03:31:14.000Z | tests/test_cli.py | blaisep/chaostoolkit | 3fec59b58552042407a9f0957179c51124a183bc | [
"Apache-2.0"
] | null | null | null | tests/test_cli.py | blaisep/chaostoolkit | 3fec59b58552042407a9f0957179c51124a183bc | [
"Apache-2.0"
] | 1 | 2019-02-16T11:03:30.000Z | 2019-02-16T11:03:30.000Z | # -*- coding: utf-8 -*-
import click
from click.testing import CliRunner
from chaostoolkit.cli import cli
def test_path_to_experiment_description_is_mandatory():
runner = CliRunner()
result = runner.invoke(cli, ['run'])
assert result.exit_code == 2
assert result.exception
assert 'Error: Missing a... | 31.129032 | 97 | 0.707772 | 126 | 965 | 5.253968 | 0.309524 | 0.108761 | 0.049849 | 0.058912 | 0.850453 | 0.850453 | 0.850453 | 0.850453 | 0.850453 | 0.850453 | 0 | 0.005057 | 0.180311 | 965 | 30 | 98 | 32.166667 | 0.831858 | 0.021762 | 0 | 0.636364 | 0 | 0 | 0.208068 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 1 | 0.136364 | false | 0 | 0.136364 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
336d57e25fcbdec438a84d75a88af46f516654ce | 5,988 | py | Python | utils.py | MaelC001/SPI2022 | ddcbb0b1e480fe0ba43e1dc90826a157a5f58828 | [
"MIT"
] | null | null | null | utils.py | MaelC001/SPI2022 | ddcbb0b1e480fe0ba43e1dc90826a157a5f58828 | [
"MIT"
] | null | null | null | utils.py | MaelC001/SPI2022 | ddcbb0b1e480fe0ba43e1dc90826a157a5f58828 | [
"MIT"
] | 1 | 2022-03-22T17:21:05.000Z | 2022-03-22T17:21:05.000Z | '''
@Author danielvallejo237
'''
import unidecode
import json
import re
import numpy as np
import regex
class RecetaVS:
def __init__(self,texto):
self.texto=texto
self.author=""
self.ing=[]
self.titulo=""
self.preparacion=""
self.unaccented=unidecode.unidecode(self.... | 37.660377 | 136 | 0.560454 | 711 | 5,988 | 4.683544 | 0.129395 | 0.048048 | 0.033033 | 0.035135 | 0.869069 | 0.869069 | 0.85015 | 0.85015 | 0.85015 | 0.841441 | 0 | 0.018808 | 0.263026 | 5,988 | 159 | 137 | 37.660377 | 0.735781 | 0.034068 | 0 | 0.816327 | 0 | 0 | 0.136556 | 0.032449 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108844 | false | 0 | 0.034014 | 0 | 0.210884 | 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 |
683035178dbdf6917b8b132b3c32123a542a760b | 249 | py | Python | backend/aprs/api/serializers.py | ruilvo/radioamadorismo-website | 65c85a62cae367cbe235854a7c1a051fbc84b461 | [
"Apache-2.0"
] | 7 | 2021-12-03T16:16:02.000Z | 2021-12-16T18:13:10.000Z | backend/aprs/api/serializers.py | ruilvo/radioamadorismo-website | 65c85a62cae367cbe235854a7c1a051fbc84b461 | [
"Apache-2.0"
] | null | null | null | backend/aprs/api/serializers.py | ruilvo/radioamadorismo-website | 65c85a62cae367cbe235854a7c1a051fbc84b461 | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
class CallsignSerializer(serializers.Serializer):
callsign = serializers.CharField(max_length=200)
class PasscodeSerializer(serializers.Serializer):
passcode = serializers.CharField(max_length=200)
| 24.9 | 52 | 0.823293 | 25 | 249 | 8.08 | 0.6 | 0.207921 | 0.227723 | 0.287129 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026906 | 0.104418 | 249 | 9 | 53 | 27.666667 | 0.878924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.2 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
683611a41b1d81d88568f95531fa780e865f92b2 | 6,980 | py | Python | moveis/saguao.py | augusnunes/titanic-escape | 0d856555a810870aff62c0d0378a26c2b4cf2fe1 | [
"MIT"
] | null | null | null | moveis/saguao.py | augusnunes/titanic-escape | 0d856555a810870aff62c0d0378a26c2b4cf2fe1 | [
"MIT"
] | null | null | null | moveis/saguao.py | augusnunes/titanic-escape | 0d856555a810870aff62c0d0378a26c2b4cf2fe1 | [
"MIT"
] | null | null | null | from superclasses.movel import Movel
import time
from copy import deepcopy
# Interativos
class Cofre(Movel):
# itens esconditos é lista de itens que vai pro inventario depois de quebrar
def __init__(self, name, message, itens_escondidos):
super().__init__(name, message)
self.itens_escondidos ... | 30.884956 | 93 | 0.519628 | 738 | 6,980 | 4.841463 | 0.201897 | 0.075567 | 0.063812 | 0.040302 | 0.84075 | 0.834593 | 0.834593 | 0.821439 | 0.821439 | 0.809404 | 0 | 0.007728 | 0.388252 | 6,980 | 226 | 94 | 30.884956 | 0.82904 | 0.096991 | 0 | 0.796053 | 0 | 0 | 0.192387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059211 | false | 0.039474 | 0.019737 | 0 | 0.190789 | 0.164474 | 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 |
686de4a0cc5e96db46a76ff8561d82fbbb66ecfa | 101 | py | Python | sprites/__init__.py | GpNico/MultiObjectDatasetCreator | bfe505e06c66a88da7bbe1530b9300ca47028200 | [
"MIT"
] | 4 | 2020-01-06T08:50:04.000Z | 2021-12-06T08:41:13.000Z | sprites/__init__.py | GpNico/MultiObjectDatasetCreator | bfe505e06c66a88da7bbe1530b9300ca47028200 | [
"MIT"
] | 2 | 2021-06-08T20:48:25.000Z | 2021-09-08T01:35:58.000Z | sprites/__init__.py | GpNico/MultiObjectDatasetCreator | bfe505e06c66a88da7bbe1530b9300ca47028200 | [
"MIT"
] | 2 | 2020-11-19T14:20:29.000Z | 2021-01-12T12:00:44.000Z | from .dsprites_binary_color import generate_dsprites
from .mnist_binary import generate_binary_mnist
| 33.666667 | 52 | 0.90099 | 14 | 101 | 6.071429 | 0.5 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 2 | 53 | 50.5 | 0.913978 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
68822b12d969f81140b2b7addde85f711e142801 | 3,319 | py | Python | ddos.py | MR-ID19/PASS-DDOS | ef03ab589aa9b92e2b55895d75d16fa6528983fd | [
"Apache-2.0"
] | 5 | 2020-05-07T09:45:52.000Z | 2021-02-17T04:21:58.000Z | ddos.py | MR-ID19/PASS-DDOS | ef03ab589aa9b92e2b55895d75d16fa6528983fd | [
"Apache-2.0"
] | 1 | 2020-07-13T03:31:22.000Z | 2020-07-13T03:31:22.000Z | ddos.py | MR-ID19/PASS-DDOS | ef03ab589aa9b92e2b55895d75d16fa6528983fd | [
"Apache-2.0"
] | 1 | 2021-03-25T10:49:44.000Z | 2021-03-25T10:49:44.000Z | #jangan di recode om :(
#susah bikin nya xixixi
import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJyNV81zE8kV7xlJNpa/wViA+WhgAW/wSshmbTAsjowd22sjO5JcWgSOqqXplVofM2K6B9vEVKWK/QdyTC65JKnKJf9CDjnlnFxSlUsql9xyzyV5r2dGshH5GEk9r9+8z9973dOqkuCKwe/78JN/iRBiwdcgLUJKXdogJSOkTVIyQzpCSpGQjpJSNKRjpBQ... | 663.8 | 3,242 | 0.963845 | 104 | 3,319 | 30.759615 | 0.971154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155777 | 0.003917 | 3,319 | 4 | 3,243 | 829.75 | 0.811857 | 0.013558 | 0 | 0 | 0 | 0.5 | 0.973105 | 0.973105 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
68ac5c4d5195c701459ef498a7213479034cefcb | 6,472 | py | Python | src/foxdot/research/ryan-kirkbride/180430_1259_noodling_around.py | Neko250/aisthesis | 1d4a2c3070d10596c28b25ea2170523583e7eff0 | [
"Apache-2.0"
] | 4 | 2018-06-29T18:39:34.000Z | 2021-06-20T16:44:29.000Z | src/foxdot/research/ryan-kirkbride/180430_1259_noodling_around.py | Neko250/aisthesis | 1d4a2c3070d10596c28b25ea2170523583e7eff0 | [
"Apache-2.0"
] | null | null | null | src/foxdot/research/ryan-kirkbride/180430_1259_noodling_around.py | Neko250/aisthesis | 1d4a2c3070d10596c28b25ea2170523583e7eff0 | [
"Apache-2.0"
] | null | null | null | """
Ryan Kirkbride - Noodling around:
https://www.youtube.com/watch?v=CXrkq7u69vU
How to:
- Run the statements line by line (alt+enter),
go to the next one whenever you feel like
- The "#### > run block <" blocks should be
executed together (ctrl+enter)
- If you want to fast-forward through the son... | 45.577465 | 150 | 0.536001 | 1,463 | 6,472 | 2.371155 | 0.090226 | 0.026521 | 0.044681 | 0.04324 | 0.836552 | 0.829057 | 0.819833 | 0.816085 | 0.793312 | 0.780917 | 0 | 0.140693 | 0.072002 | 6,472 | 141 | 151 | 45.900709 | 0.436896 | 0.070457 | 0 | 0.159574 | 0 | 0 | 0.090423 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cc2e99720ed641f2f4e761a469c76abf04bc43be | 24,461 | py | Python | django_evolution/tests/test_change_meta.py | kamrankalantarli/django-evolution | 3e67426b189aecca5e470607838d1191f4892859 | [
"BSD-3-Clause"
] | null | null | null | django_evolution/tests/test_change_meta.py | kamrankalantarli/django-evolution | 3e67426b189aecca5e470607838d1191f4892859 | [
"BSD-3-Clause"
] | null | null | null | django_evolution/tests/test_change_meta.py | kamrankalantarli/django-evolution | 3e67426b189aecca5e470607838d1191f4892859 | [
"BSD-3-Clause"
] | null | null | null | """Unit tests for the ChangeMeta mutation."""
from __future__ import unicode_literals
from django.db import models
from nose import SkipTest
try:
# Django >= 1.11
from django.db.models import Index
except ImportError:
# Django <= 1.10
Index = None
from django_evolution.mutations import ChangeMeta
fr... | 34.795164 | 79 | 0.54544 | 2,145 | 24,461 | 5.945921 | 0.062937 | 0.048612 | 0.070566 | 0.094088 | 0.924886 | 0.917124 | 0.899796 | 0.867257 | 0.855653 | 0.836365 | 0 | 0.020635 | 0.352152 | 24,461 | 702 | 80 | 34.844729 | 0.784186 | 0.082785 | 0 | 0.784698 | 0 | 0 | 0.160814 | 0.021556 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040925 | false | 0 | 0.014235 | 0 | 0.181495 | 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 |
04130d9d72f2d608f13024f5b2a9a61a79251c97 | 136 | py | Python | numlab/automata/__init__.py | jmorgadov/NumLab | 96a3771837b87132674e65ec3bb1f0ab5f5f089f | [
"MIT"
] | 9 | 2022-01-19T22:40:58.000Z | 2022-02-24T02:39:51.000Z | numlab/automata/__init__.py | jmorgadov/NumLab | 96a3771837b87132674e65ec3bb1f0ab5f5f089f | [
"MIT"
] | 41 | 2021-11-09T18:22:10.000Z | 2022-02-06T19:04:23.000Z | numlab/automata/__init__.py | jmorgadov/NumLab | 96a3771837b87132674e65ec3bb1f0ab5f5f089f | [
"MIT"
] | null | null | null | from numlab.automata.state import State
from numlab.automata.transition import Transition
from numlab.automata.automata import Automata
| 34 | 49 | 0.867647 | 18 | 136 | 6.555556 | 0.333333 | 0.254237 | 0.457627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 3 | 50 | 45.333333 | 0.951613 | 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 |
f0cc6880c8e98aa27ccff9238dd4b05cc8c7677f | 13,419 | py | Python | tools/valuation.py | zq7734509/mmsegmentation-multi-layer | 4f2f5309464d1808a7cce78aa83839df85fcd5a0 | [
"Apache-2.0"
] | 1 | 2022-01-12T07:42:40.000Z | 2022-01-12T07:42:40.000Z | tools/valuation.py | zq7734509/mmsegmentation-multi-layer | 4f2f5309464d1808a7cce78aa83839df85fcd5a0 | [
"Apache-2.0"
] | null | null | null | tools/valuation.py | zq7734509/mmsegmentation-multi-layer | 4f2f5309464d1808a7cce78aa83839df85fcd5a0 | [
"Apache-2.0"
] | 1 | 2022-02-05T17:31:40.000Z | 2022-02-05T17:31:40.000Z | import numpy as np
import os
import glob
from PIL import Image
import cv2 as cv
import os
from sklearn.metrics import confusion_matrix,cohen_kappa_score
from skimage import io
from skimage import measure
from scipy import ndimage
from scipy import misc
from sklearn.metrics import f1_score
from libtiff import TIFF
def ... | 57.840517 | 128 | 0.547209 | 1,899 | 13,419 | 3.647709 | 0.07425 | 0.069294 | 0.173235 | 0.112603 | 0.899957 | 0.891295 | 0.891295 | 0.876714 | 0.866031 | 0.854482 | 0 | 0.032962 | 0.204188 | 13,419 | 232 | 129 | 57.840517 | 0.615694 | 0.002012 | 0 | 0.839623 | 0 | 0.009434 | 0.171023 | 0.105751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009434 | false | 0 | 0.061321 | 0 | 0.070755 | 0.179245 | 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 |
9bd8e21ad2dc279c477c29020446adc29cf8800f | 2,009 | py | Python | Note/UBX_Checksum.py | lsangild/ITAMS | d23841b09ff5eab38dd533aa2428ca9f25557d24 | [
"MIT"
] | null | null | null | Note/UBX_Checksum.py | lsangild/ITAMS | d23841b09ff5eab38dd533aa2428ca9f25557d24 | [
"MIT"
] | null | null | null | Note/UBX_Checksum.py | lsangild/ITAMS | d23841b09ff5eab38dd533aa2428ca9f25557d24 | [
"MIT"
] | null | null | null | #buffer = [0xB5, 0x62, 0x06, 0x00, 0x14, 0x00, 0x01, 0x00, 0x00, 0x00, 0xD0, 0x08, 0x00, 0x00, 0x80, 0x25, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00]
#buffer = [0xB5, 0x62, 0x06, 0x09, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
#buffer = [0xB5, 0x62, 0x06, 0x3B,... | 91.318182 | 310 | 0.65107 | 328 | 2,009 | 3.987805 | 0.121951 | 0.825688 | 1.009174 | 1.125382 | 0.807339 | 0.772171 | 0.70948 | 0.636086 | 0.636086 | 0.607034 | 0 | 0.498499 | 0.171229 | 2,009 | 22 | 311 | 91.318182 | 0.287087 | 0.894475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
9be3f8b163f9164b3b7bac7d44357789f75021e3 | 6,716 | py | Python | tests/integration_tests/test_drivers_license.py | JobtechSwe/elastic-importers | ae370984f79295a784350f98e695977a1f73647a | [
"Apache-2.0"
] | 2 | 2020-03-02T18:29:08.000Z | 2021-06-09T00:48:24.000Z | tests/integration_tests/test_drivers_license.py | JobtechSwe/elastic-importers | ae370984f79295a784350f98e695977a1f73647a | [
"Apache-2.0"
] | 12 | 2019-01-31T09:54:23.000Z | 2021-10-04T11:25:44.000Z | tests/integration_tests/test_drivers_license.py | JobtechSwe/elastic-importers | ae370984f79295a784350f98e695977a1f73647a | [
"Apache-2.0"
] | 1 | 2018-11-09T14:44:55.000Z | 2018-11-09T14:44:55.000Z | import pytest
from importers.platsannons import converter
drivers_licenses_test_data = [
{'input': {'korkort': [{'namn': 'B', 'varde': 'VTK8_WRx_GcM'}]},
'expected': [{'concept_id': 'VTK8_WRx_GcM', 'legacy_ams_taxonomy_id': '3', 'label': 'B'}]},
{'input': {'korkort': [{'namn': 'B', 'varde': 'VTK8_WRx_GcM'... | 85.012658 | 113 | 0.557028 | 846 | 6,716 | 4.017731 | 0.089835 | 0.108561 | 0.20506 | 0.229185 | 0.888791 | 0.888791 | 0.883789 | 0.872315 | 0.865254 | 0.765813 | 0 | 0.024814 | 0.177933 | 6,716 | 78 | 114 | 86.102564 | 0.590835 | 0 | 0 | 0.4 | 0 | 0 | 0.523973 | 0.134306 | 0 | 0 | 0 | 0 | 0.013333 | 1 | 0.013333 | false | 0 | 0.026667 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
501e3eb7516750df33f83d9929a307b858b4bed5 | 158 | py | Python | jiminy/gym/envs/parameter_tuning/__init__.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | 3 | 2020-03-16T13:50:40.000Z | 2021-06-09T05:26:13.000Z | jiminy/gym/envs/parameter_tuning/__init__.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | null | null | null | jiminy/gym/envs/parameter_tuning/__init__.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | null | null | null | from jiminy.gym.envs.parameter_tuning.convergence import ConvergenceControl
from jiminy.gym.envs.parameter_tuning.train_deep_cnn import CNNClassifierTraining
| 52.666667 | 81 | 0.898734 | 20 | 158 | 6.9 | 0.65 | 0.144928 | 0.188406 | 0.246377 | 0.463768 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 158 | 2 | 82 | 79 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
acdc2e4a327a4070da7b1134a24eef4e7fc77299 | 1,905 | py | Python | data_log/migrations/0011_auto_20190427_1159.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 66 | 2017-09-11T04:46:00.000Z | 2021-03-13T00:02:42.000Z | data_log/migrations/0011_auto_20190427_1159.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 133 | 2017-09-24T21:28:59.000Z | 2021-04-02T10:35:31.000Z | data_log/migrations/0011_auto_20190427_1159.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 28 | 2017-08-30T19:04:32.000Z | 2020-11-16T04:09:00.000Z | # Generated by Django 2.1.7 on 2019-04-27 18:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('data_log', '0010_auto_20190420_2332'),
]
operations = [
migrations.AlterModelOptions(
name='craftrunelog',
options={'get_lat... | 35.277778 | 86 | 0.549606 | 149 | 1,905 | 6.865772 | 0.295302 | 0.26393 | 0.30303 | 0.175953 | 0.722385 | 0.722385 | 0.722385 | 0.722385 | 0.677419 | 0.677419 | 0 | 0.022595 | 0.27979 | 1,905 | 53 | 87 | 35.943396 | 0.723032 | 0.023622 | 0 | 0.638298 | 1 | 0 | 0.306781 | 0.012379 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
c57e8f8342e120782e66cbf0b96a0f52f1c5b346 | 593 | py | Python | autonomous_tello/scripts/tello/square2.py | moshes7/tello | a313759662649e43f53d83c1cae4daa8cd86dd2d | [
"MIT"
] | 2 | 2019-10-28T07:18:06.000Z | 2020-12-21T15:58:30.000Z | autonomous_tello/scripts/tello/square2.py | moshes7/tello | a313759662649e43f53d83c1cae4daa8cd86dd2d | [
"MIT"
] | null | null | null | autonomous_tello/scripts/tello/square2.py | moshes7/tello | a313759662649e43f53d83c1cae4daa8cd86dd2d | [
"MIT"
] | null | null | null | from djitellopy import Tello
import time
# parameters
step = 100
sleepTime = 8
tello = Tello()
tello.connect()
tello.takeoff()
time.sleep(sleepTime)
tello.move_forward(step)
time.sleep(sleepTime)
tello.rotate_clockwise(90)
time.sleep(sleepTime)
tello.move_forward(step)
time.sleep(sleepTime)
tello.rotate_clockwi... | 14.119048 | 28 | 0.790894 | 83 | 593 | 5.554217 | 0.240964 | 0.195228 | 0.390456 | 0.498915 | 0.726681 | 0.726681 | 0.726681 | 0.726681 | 0.726681 | 0.726681 | 0 | 0.022181 | 0.08769 | 593 | 42 | 29 | 14.119048 | 0.829945 | 0.016863 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c5ac4cec90ee75f3a7e8965f67a23996301b8520 | 11,234 | py | Python | src/genie/libs/parser/iosxe/tests/ShowInterfaces/cli/equal/golden_interface_output_10_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowInterfaces/cli/equal/golden_interface_output_10_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowInterfaces/cli/equal/golden_interface_output_10_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | expected_output = {
"Tunnel10": {
"bandwidth": 100,
"counters": {
"in_abort": 0,
"in_broadcast_pkts": 0,
"in_crc_errors": 0,
"in_errors": 0,
"in_frame": 0,
"in_giants": 0,
"in_ignored": 0,
"in_multicast_p... | 30.198925 | 54 | 0.44668 | 1,101 | 11,234 | 4.197094 | 0.111717 | 0.045445 | 0.022722 | 0.023804 | 0.928154 | 0.928154 | 0.928154 | 0.928154 | 0.921229 | 0.921229 | 0 | 0.077283 | 0.410272 | 11,234 | 372 | 55 | 30.198925 | 0.620226 | 0 | 0 | 0.833333 | 0 | 0 | 0.415487 | 0.042635 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a84c82f2780fa22fdd61240334d6a8a8ba177503 | 5,635 | py | Python | models/layers/InferenceNetwork.py | gamerDecathlete/NormalizingFlowsNMT | 5bff15058cad26c52002c026daa906b5aa8b894b | [
"MIT"
] | null | null | null | models/layers/InferenceNetwork.py | gamerDecathlete/NormalizingFlowsNMT | 5bff15058cad26c52002c026daa906b5aa8b894b | [
"MIT"
] | null | null | null | models/layers/InferenceNetwork.py | gamerDecathlete/NormalizingFlowsNMT | 5bff15058cad26c52002c026daa906b5aa8b894b | [
"MIT"
] | null | null | null | import torch.nn as nn
from torch.nn.utils.rnn import pad_packed_sequence, pack_padded_sequence
import torch
class SourceInferenceNetwork(nn.Module):
"""Encodes 2 sequences and generates sets of parameters based on requested values"""
def __init__(self, src_size, hidden_size, dist_x, use_avg=True, num_layers=1,... | 39.683099 | 133 | 0.632476 | 796 | 5,635 | 4.271357 | 0.174623 | 0.024706 | 0.028824 | 0.021176 | 0.859706 | 0.83 | 0.816471 | 0.816471 | 0.816471 | 0.801765 | 0 | 0.008389 | 0.280745 | 5,635 | 142 | 134 | 39.683099 | 0.830496 | 0.248447 | 0 | 0.707317 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.036585 | 0.02439 | 0.231707 | 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 |
a8cacb9aa6de56048c5521019dcc7e369bfac05d | 61 | py | Python | python/top_level_imports/not_how_to_do_it/util/helper.py | tardate/LittleCodingKata | 25f37f2a422d1f63a7d03b25a7876d6fa707cf7a | [
"MIT"
] | 8 | 2017-06-02T05:12:11.000Z | 2022-01-09T02:50:55.000Z | python/top_level_imports/how_to_do_it/util/helper.py | tardate/LittleCodingKata | 25f37f2a422d1f63a7d03b25a7876d6fa707cf7a | [
"MIT"
] | 34 | 2021-03-09T00:55:40.000Z | 2022-03-29T05:54:38.000Z | python/top_level_imports/how_to_do_it/util/helper.py | tardate/LittleCodingKata | 25f37f2a422d1f63a7d03b25a7876d6fa707cf7a | [
"MIT"
] | 3 | 2016-06-15T10:13:12.000Z | 2022-01-09T02:51:16.000Z | import constants
def message():
return constants.HELLO
| 10.166667 | 26 | 0.737705 | 7 | 61 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 5 | 27 | 12.2 | 0.918367 | 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 |
766e42e7e6196667cb12ab3f950c95f258078054 | 59,449 | py | Python | policy/feudalRL/DIP_parametrisation.py | helloric/pydial3 | 34988f4592c4e28388b2818de8768d841696efbb | [
"Apache-2.0"
] | null | null | null | policy/feudalRL/DIP_parametrisation.py | helloric/pydial3 | 34988f4592c4e28388b2818de8768d841696efbb | [
"Apache-2.0"
] | null | null | null | policy/feudalRL/DIP_parametrisation.py | helloric/pydial3 | 34988f4592c4e28388b2818de8768d841696efbb | [
"Apache-2.0"
] | null | null | null | ###############################################################################
# PyDial: Multi-domain Statistical Spoken Dialogue System Software
###############################################################################
#
# Copyright 2015 - 2019
# Cambridge University Engineering Department Dialogue Systems Grou... | 29.386555 | 215 | 0.580733 | 8,968 | 59,449 | 3.7907 | 0.130687 | 0.083836 | 0.030004 | 0.052772 | 0.807942 | 0.784292 | 0.775438 | 0.768878 | 0.764612 | 0.762083 | 0 | 0.096989 | 0.243133 | 59,449 | 2,022 | 216 | 29.401088 | 0.65854 | 0.057949 | 0 | 0.814041 | 0 | 0 | 0.384887 | 0.004221 | 0 | 0 | 0 | 0 | 0.000536 | 1 | 0.01179 | false | 0 | 0.003751 | 0.002144 | 0.025723 | 0.001608 | 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 |
766eee39b7b00ff848158f1d742e9b1accbd31d8 | 250 | py | Python | atividades01/Exercicio11/modulo.py | fernando44/Estudando-Python | ead53df1d1753f630575ca4b1be70d2b53657d6a | [
"MIT"
] | null | null | null | atividades01/Exercicio11/modulo.py | fernando44/Estudando-Python | ead53df1d1753f630575ca4b1be70d2b53657d6a | [
"MIT"
] | null | null | null | atividades01/Exercicio11/modulo.py | fernando44/Estudando-Python | ead53df1d1753f630575ca4b1be70d2b53657d6a | [
"MIT"
] | null | null | null | def soma(var1, var2):
var = var1 +var2
return var
def subtracao(var1, var2):
var =var1 - var2
return var
def multiplicacao(var1, var2):
var =var1 * var2
return var
def divisao(var1, var2):
var =var1/var2
return var
| 15.625 | 30 | 0.628 | 36 | 250 | 4.361111 | 0.25 | 0.407643 | 0.280255 | 0.382166 | 0.770701 | 0.770701 | 0.770701 | 0.592357 | 0 | 0 | 0 | 0.088398 | 0.276 | 250 | 15 | 31 | 16.666667 | 0.779006 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
4f21fd26ea19653fccfcc687ef5a731e1e2fb8c0 | 122 | py | Python | tests/test_sanity.py | ffreemt/koyeb-nb2 | b1bf1c53e3a36e2f9153bf52c5a49974a4c5bb1e | [
"MIT"
] | 4 | 2021-07-22T06:25:20.000Z | 2022-01-25T07:45:29.000Z | tests/test_sanity.py | ffreemt/koyeb-nb2 | b1bf1c53e3a36e2f9153bf52c5a49974a4c5bb1e | [
"MIT"
] | null | null | null | tests/test_sanity.py | ffreemt/koyeb-nb2 | b1bf1c53e3a36e2f9153bf52c5a49974a4c5bb1e | [
"MIT"
] | 1 | 2022-02-21T04:57:13.000Z | 2022-02-21T04:57:13.000Z | """Test sanity."""
from koyeb_nb2 import koyeb_nb2
def test_sanity():
"""Test sanity."""
assert not koyeb_nb2()
| 15.25 | 31 | 0.655738 | 17 | 122 | 4.470588 | 0.529412 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.188525 | 122 | 7 | 32 | 17.428571 | 0.737374 | 0.204918 | 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 | 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 |
4f823082ea3ea6dd2a767ce3eca0c7289f9b197b | 8,843 | py | Python | rouge_papier_v2/rouge_papier_v2/generate.py | BambooPalace/text-summarization | 17ac68598563492b5e8959493b2bf1b137f78a5a | [
"MIT"
] | 54 | 2019-09-20T12:31:10.000Z | 2022-03-19T12:21:32.000Z | rouge_papier_v2/rouge_papier_v2/generate.py | huaweicould-ei/ExtSummLongDoc | 43da8584a1ec5df6ed31a844285a12b71eb2b4a8 | [
"MIT"
] | 9 | 2019-11-25T06:17:11.000Z | 2022-03-23T04:08:53.000Z | rouge_papier_v2/rouge_papier_v2/generate.py | huaweicould-ei/ExtSummLongDoc | 43da8584a1ec5df6ed31a844285a12b71eb2b4a8 | [
"MIT"
] | 12 | 2019-12-08T10:06:05.000Z | 2022-03-06T08:10:53.000Z | from .util import TempFileManager, make_simple_config_text
from . import wrapper
import numpy as np
def compute_extract(sentences, summaries, mode="independent", ngram=1,
length=100, length_unit="word", remove_stopwords=False):
if mode == "independent":
return compute_greedy_independe... | 39.833333 | 79 | 0.579102 | 933 | 8,843 | 5.22508 | 0.118971 | 0.059487 | 0.044308 | 0.054154 | 0.858051 | 0.845538 | 0.824205 | 0.801846 | 0.801846 | 0.793231 | 0 | 0.009814 | 0.331675 | 8,843 | 221 | 80 | 40.013575 | 0.815059 | 0 | 0 | 0.742515 | 0 | 0 | 0.023748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02994 | false | 0 | 0.023952 | 0 | 0.095808 | 0.023952 | 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 |
4f907bf4a329fdb73f6668bfebf7117ea930d72e | 7,443 | py | Python | tests/handling/test_cause_handling.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | tests/handling/test_cause_handling.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | tests/handling/test_cause_handling.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | import asyncio
import logging
import kopf
from kopf.reactor.causation import CREATE, UPDATE, DELETE, NEW, GONE, FREE, NOOP
from kopf.reactor.handling import custom_object_handler
from kopf.structs.finalizers import FINALIZER
from kopf.structs.lastseen import LAST_SEEN_ANNOTATION
async def test_new(registry, handlers... | 31.142259 | 82 | 0.681177 | 930 | 7,443 | 5.245161 | 0.111828 | 0.059041 | 0.058426 | 0.050636 | 0.834358 | 0.822263 | 0.820008 | 0.814268 | 0.814268 | 0.814268 | 0 | 0.010503 | 0.219669 | 7,443 | 238 | 83 | 31.273109 | 0.829373 | 0.017063 | 0 | 0.737968 | 0 | 0 | 0.130114 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 1 | 0 | false | 0 | 0.037433 | 0 | 0.037433 | 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 |
8b0482aa55281b3c2e8aa6e9f6398bb15e2278a1 | 16,859 | py | Python | pyradox/convnets/resnet.py | p4vv37/pyradox | cfc8c07d637a1cc189dd8d200f8a55d00405b81f | [
"MIT"
] | 61 | 2021-01-10T09:31:32.000Z | 2022-02-13T13:30:48.000Z | pyradox/convnets/resnet.py | p4vv37/pyradox | cfc8c07d637a1cc189dd8d200f8a55d00405b81f | [
"MIT"
] | 1 | 2021-04-24T12:03:19.000Z | 2021-04-24T12:03:19.000Z | pyradox/convnets/resnet.py | p4vv37/pyradox | cfc8c07d637a1cc189dd8d200f8a55d00405b81f | [
"MIT"
] | 6 | 2021-01-17T16:17:35.000Z | 2022-02-13T13:30:49.000Z | import math, copy
from functools import reduce
from tensorflow.keras import layers
from pyradox.modules import *
from tensorflow.keras.activations import swish
from tensorflow.nn import relu6
def relu(x):
return layers.ReLU()(x)
def hard_sigmoid(x):
return layers.ReLU(6.0)(x + 3.0) * (1.0 / 6.0)
def hard_... | 38.490868 | 121 | 0.538229 | 1,728 | 16,859 | 5.121528 | 0.069444 | 0.061695 | 0.016271 | 0.04339 | 0.906893 | 0.892203 | 0.892203 | 0.892203 | 0.892203 | 0.892203 | 0 | 0.038516 | 0.371671 | 16,859 | 438 | 122 | 38.490868 | 0.796941 | 0.377543 | 0 | 0.866667 | 0 | 0 | 0.004765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.022222 | 0.011111 | 0.155556 | 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 |
8c67bc9d5f4a90321154e47a5d2e59a76c24ffdd | 60 | py | Python | addons/account_edi_ubl/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/account_edi_ubl/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/account_edi_ubl/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | from . import account_move
from . import account_edi_format
| 20 | 32 | 0.833333 | 9 | 60 | 5.222222 | 0.666667 | 0.425532 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 33 | 30 | 0.903846 | 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 |
506cfa3fd4face5da219e3b07b73401295f1685f | 21,168 | py | Python | dataloaders/dm_loader.py | iliasprc/MScThesis | dcfd70691ebb5c99c467d69d0946fe33d4d4d3e7 | [
"MIT",
"Unlicense"
] | null | null | null | dataloaders/dm_loader.py | iliasprc/MScThesis | dcfd70691ebb5c99c467d69d0946fe33d4d4d3e7 | [
"MIT",
"Unlicense"
] | null | null | null | dataloaders/dm_loader.py | iliasprc/MScThesis | dcfd70691ebb5c99c467d69d0946fe33d4d4d3e7 | [
"MIT",
"Unlicense"
] | null | null | null | import os
import random
from random import randint
import torch
from torch.utils.data import Dataset
from .utils.utils import read_data_, read_fidpnn_dataset
train_prefix = "train"
dev_prefix = "val"
test_prefix = "test"
class DMshort(Dataset):
def __init__(self, config, mode):
train_filepath = "data/i... | 38.627737 | 118 | 0.516204 | 2,670 | 21,168 | 3.986517 | 0.053933 | 0.065389 | 0.063886 | 0.015784 | 0.961575 | 0.951334 | 0.940436 | 0.931417 | 0.919203 | 0.906332 | 0 | 0.018012 | 0.336451 | 21,168 | 547 | 119 | 38.698355 | 0.739784 | 0.279006 | 0 | 0.905488 | 0 | 0 | 0.066095 | 0.034542 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054878 | false | 0 | 0.018293 | 0.018293 | 0.17378 | 0.060976 | 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 |
50782f9a25e8be1f91f9019869fc170a18eed6f0 | 3,395 | py | Python | monitor/anomaly_detection/task/metric_task.py | opengauss-mirror/openGauss-AI | 449ce3cac81ced74dd56edf76709553411b0814a | [
"MulanPSL-1.0"
] | 1 | 2021-12-22T08:31:07.000Z | 2021-12-22T08:31:07.000Z | monitor/anomaly_detection/task/metric_task.py | opengauss-mirror/openGauss-AI | 449ce3cac81ced74dd56edf76709553411b0814a | [
"MulanPSL-1.0"
] | null | null | null | monitor/anomaly_detection/task/metric_task.py | opengauss-mirror/openGauss-AI | 449ce3cac81ced74dd56edf76709553411b0814a | [
"MulanPSL-1.0"
] | 3 | 2021-12-16T13:55:57.000Z | 2022-02-24T09:53:49.000Z | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | 34.292929 | 110 | 0.658616 | 482 | 3,395 | 4.574689 | 0.273859 | 0.053968 | 0.036281 | 0.097959 | 0.838095 | 0.828118 | 0.81678 | 0.786848 | 0.781406 | 0.745125 | 0 | 0.024868 | 0.218262 | 3,395 | 98 | 111 | 34.642857 | 0.805953 | 0 | 0 | 0.457143 | 0 | 0 | 0.071181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.042857 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
508349b5346a9b794452b1bbb4120c27b9998d18 | 5,159 | py | Python | dhl_delivery/dhl_process.py | ivangsm/dhl_delivery | aa7ae5251715350a1ffa3ecbc96c8ac233f5dd21 | [
"MIT"
] | null | null | null | dhl_delivery/dhl_process.py | ivangsm/dhl_delivery | aa7ae5251715350a1ffa3ecbc96c8ac233f5dd21 | [
"MIT"
] | null | null | null | dhl_delivery/dhl_process.py | ivangsm/dhl_delivery | aa7ae5251715350a1ffa3ecbc96c8ac233f5dd21 | [
"MIT"
] | null | null | null | import time
from datetime import datetime
import multiprocessing
import dhl_delivery
import dhl_delivery.config
import urllib.parse
import urllib.request
class DhlProcess:
def __init__(self):
pass
@staticmethod
def check_utilities(n, return_dict):
return_dict['return_check_utilities'] = ... | 36.330986 | 116 | 0.663695 | 647 | 5,159 | 4.925811 | 0.11592 | 0.062755 | 0.070599 | 0.098839 | 0.834641 | 0.800753 | 0.800753 | 0.800753 | 0.800753 | 0.800753 | 0 | 0.00155 | 0.249855 | 5,159 | 141 | 117 | 36.588652 | 0.821964 | 0.073076 | 0 | 0.716981 | 0 | 0 | 0.057652 | 0.034382 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084906 | false | 0.018868 | 0.066038 | 0 | 0.188679 | 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 |
50d3a4d451ad52a377683d73bc2a6be4b3d89439 | 92 | py | Python | src/gui_utils.py | kataphraktos/faa_eval | d0260a35abdc60ce27fdf58765f78177461255a3 | [
"MIT"
] | null | null | null | src/gui_utils.py | kataphraktos/faa_eval | d0260a35abdc60ce27fdf58765f78177461255a3 | [
"MIT"
] | null | null | null | src/gui_utils.py | kataphraktos/faa_eval | d0260a35abdc60ce27fdf58765f78177461255a3 | [
"MIT"
] | null | null | null | from tkinter import filedialog
def get_file_path():
return filedialog.askopenfilename() | 23 | 39 | 0.804348 | 11 | 92 | 6.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 4 | 39 | 23 | 0.9 | 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 |
0fa60f7ad608422ba6750ff3282494067c43d3fa | 497 | py | Python | spec/fixtures/specificLint/lint_unsupportedoperandtypesfor.py | Askaholic/linter-mypy | 97978c5c9455d4215ea0cd0395e34b8eb118feca | [
"MIT"
] | 33 | 2016-12-08T14:53:50.000Z | 2022-02-22T20:56:49.000Z | spec/fixtures/specificLint/lint_unsupportedoperandtypesfor.py | Askaholic/linter-mypy | 97978c5c9455d4215ea0cd0395e34b8eb118feca | [
"MIT"
] | 27 | 2017-03-12T01:18:05.000Z | 2021-01-27T14:59:54.000Z | spec/fixtures/specificLint/lint_unsupportedoperandtypesfor.py | Askaholic/linter-mypy | 97978c5c9455d4215ea0cd0395e34b8eb118feca | [
"MIT"
] | 7 | 2017-03-12T01:56:07.000Z | 2022-03-24T18:09:00.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
add(1, 2) + "!"
result =add(1, 2) + "!"
result= add(1, 2) + "!"
result = add(1, 2) + "!"
x= add(1, 2) + "!"
def add(x: int, y: int) -> int:
add(1, 2) + "!"
result =add(1, 2) + "!"
result= add(1, 2) + "!"
result = add(1, 2) + "!"
x= add(1, 2) + "!"
def xadd(x: int,... | 19.115385 | 33 | 0.420523 | 84 | 497 | 2.488095 | 0.202381 | 0.287081 | 0.358852 | 0.473684 | 0.76555 | 0.76555 | 0.76555 | 0.76555 | 0.76555 | 0.76555 | 0 | 0.087432 | 0.263581 | 497 | 25 | 34 | 19.88 | 0.483607 | 0.086519 | 0 | 0.894737 | 0 | 0 | 0.037611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
0fb2106c6417b67000aed7028dce59e01b8f02d7 | 221 | py | Python | settings.py | pavel-wh/autotesting_course | 7d6a395fe000aa796f3ed1eeaa4387caa7dd2ecb | [
"MIT"
] | 1 | 2019-11-17T02:29:25.000Z | 2019-11-17T02:29:25.000Z | settings.py | pavel-wh/autotesting_course | 7d6a395fe000aa796f3ed1eeaa4387caa7dd2ecb | [
"MIT"
] | 1 | 2021-06-01T23:53:26.000Z | 2021-06-01T23:53:26.000Z | settings.py | pavel-wh/autotesting_course | 7d6a395fe000aa796f3ed1eeaa4387caa7dd2ecb | [
"MIT"
] | null | null | null | BROWSER_DRIVER = "D:\\Soft\\Installed\\webDrivers\\chromedriver.exe"
BROWSER_DRIVER_CHROME = "D:\\Soft\\Installed\\webDrivers\\chromedriver.exe"
BROWSER_DRIVER_FIREFOX = r"D:\\Soft\\Installed\webDrivers\\geckodriver.exe"
| 55.25 | 75 | 0.78733 | 27 | 221 | 6.259259 | 0.444444 | 0.230769 | 0.248521 | 0.426036 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0 | 0 | 0 | 0 | 0.040724 | 221 | 3 | 76 | 73.666667 | 0.79717 | 0 | 0 | 0 | 0 | 0 | 0.656109 | 0.656109 | 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 |
0fc2562e5bc83c7cebaf0d1f087d594eb5745ed7 | 347 | py | Python | python/debug_runner.py | paul-leonard/data-structures-and-algorithms | 783d2450d2cafcb507fefd79dc02c4819aebb312 | [
"MIT"
] | 1 | 2020-09-07T19:39:18.000Z | 2020-09-07T19:39:18.000Z | python/debug_runner.py | paul-leonard/data-structures-and-algorithms | 783d2450d2cafcb507fefd79dc02c4819aebb312 | [
"MIT"
] | 1 | 2020-11-16T06:54:25.000Z | 2020-11-16T06:54:25.000Z | python/debug_runner.py | paul-leonard/data-structures-and-algorithms | 783d2450d2cafcb507fefd79dc02c4819aebb312 | [
"MIT"
] | null | null | null | from code_challenges.fifo_animal_shelter.fifo_animal_shelter import AnimalShelter
print("You can use this file and run debugger againist it... and then have imports and calls of functions you want to test. Those python files and functions can then be a far lower level in the file structure... but debugger will actual... | 86.75 | 263 | 0.806916 | 59 | 347 | 4.661017 | 0.762712 | 0.072727 | 0.123636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152738 | 347 | 3 | 264 | 115.666667 | 0.935374 | 0 | 0 | 0 | 0 | 0.5 | 0.731988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
0fc3aac476a34b2676d7a8a2427cbe601bedb0c3 | 192 | py | Python | lumapps/api/__init__.py | cmccoy10/lumapps-sdk | 3e4a15da526f921faa401b45e3945d1301b52dbe | [
"MIT"
] | 8 | 2018-12-17T15:46:22.000Z | 2021-11-16T16:18:26.000Z | lumapps/api/__init__.py | cmccoy10/lumapps-sdk | 3e4a15da526f921faa401b45e3945d1301b52dbe | [
"MIT"
] | 118 | 2019-01-03T10:35:59.000Z | 2022-03-17T16:43:05.000Z | lumapps/api/__init__.py | cmccoy10/lumapps-sdk | 3e4a15da526f921faa401b45e3945d1301b52dbe | [
"MIT"
] | 10 | 2018-11-23T13:57:22.000Z | 2021-09-30T20:55:40.000Z | from lumapps.api.base_client import BaseClient, FileContent # noqa
from lumapps.api.client import LumAppsClient # noqa
from lumapps.api.conf import __pypi_packagename__, __version__ # noqa
| 48 | 70 | 0.822917 | 25 | 192 | 5.92 | 0.56 | 0.222973 | 0.283784 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119792 | 192 | 3 | 71 | 64 | 0.87574 | 0.072917 | 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 |
0fccdcdf3d849a57e9a0a5a5621c0fef81122249 | 15,613 | py | Python | tests/test_cli.py | renemoll/bob | 0d0d897f92816b90dbcdd8131d22e3457fb6588b | [
"MIT"
] | null | null | null | tests/test_cli.py | renemoll/bob | 0d0d897f92816b90dbcdd8131d22e3457fb6588b | [
"MIT"
] | null | null | null | tests/test_cli.py | renemoll/bob | 0d0d897f92816b90dbcdd8131d22e3457fb6588b | [
"MIT"
] | null | null | null | """Test the CLI entry point."""
import os
import pathlib
import subprocess
import tempfile
import docopt
import pytest_mock
import toml
from bob.cli import main
def test_cli_bootstrap(
mocker: pytest_mock.MockerFixture, tmp_path: pathlib.Path
) -> None:
"""Verify the CLI performs a plain bootstrap operation... | 23.54902 | 85 | 0.504708 | 1,507 | 15,613 | 5.099536 | 0.078965 | 0.074951 | 0.074951 | 0.060377 | 0.893429 | 0.890306 | 0.890306 | 0.881588 | 0.862589 | 0.857645 | 0 | 0.00629 | 0.348299 | 15,613 | 662 | 86 | 23.584592 | 0.748993 | 0.103696 | 0 | 0.806262 | 0 | 0 | 0.20518 | 0.037948 | 0 | 0 | 0 | 0 | 0.076321 | 1 | 0.031311 | false | 0 | 0.015656 | 0 | 0.046967 | 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 |
0feda9d1b8f0066c7bf31586968294c72678305b | 163 | py | Python | machine_translation/constants.py | kpburgula/nlp_code_snippets | edbb59443438b13450ab7103c810b1a421566bdd | [
"MIT"
] | 1 | 2021-12-06T04:10:08.000Z | 2021-12-06T04:10:08.000Z | machine_translation/constants.py | kpburgula/nlp_code_snippets | edbb59443438b13450ab7103c810b1a421566bdd | [
"MIT"
] | null | null | null | machine_translation/constants.py | kpburgula/nlp_code_snippets | edbb59443438b13450ab7103c810b1a421566bdd | [
"MIT"
] | null | null | null | en_path = "/media/sf_Desktop/data/fr-en/europarl-v7.fr-en.en"
fr_path = "/media/sf_Desktop/data/fr-en/europarl-v7.fr-en.fr"
root = "/media/sf_Desktop/data/fr-en/"
| 40.75 | 61 | 0.730061 | 33 | 163 | 3.454545 | 0.30303 | 0.175439 | 0.368421 | 0.473684 | 0.894737 | 0.894737 | 0.701754 | 0.701754 | 0.701754 | 0.701754 | 0 | 0.012987 | 0.055215 | 163 | 3 | 62 | 54.333333 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.779141 | 0.779141 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 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 | 11 |
0ff88a08b4ec9978b2608943683e700d4e8a65f1 | 37,165 | py | Python | ctadmtool/dmspectrum/dmflux_table.py | sergiohcdna/ctadmtool | d509d51033855de5fb54d0c9be5fda84a2ed629e | [
"BSD-3-Clause"
] | null | null | null | ctadmtool/dmspectrum/dmflux_table.py | sergiohcdna/ctadmtool | d509d51033855de5fb54d0c9be5fda84a2ed629e | [
"BSD-3-Clause"
] | 1 | 2022-03-24T02:38:35.000Z | 2022-03-24T02:38:35.000Z | ctadmtool/dmspectrum/dmflux_table.py | sergiohcdna/ctadmtool | d509d51033855de5fb54d0c9be5fda84a2ed629e | [
"BSD-3-Clause"
] | null | null | null | import gammalib
import math
import numpy as np
from ctadmtool.dmspectrum.dmspectra import dmspectrum
from ctadmtool.tools.misc import ValidValue , ValidString
from tqdm import tqdm
import warnings
ALLOWED_FERMIONS = ('Majorana', 'Dirac')
ALLOWED_CHANNELS = ('eL', 'eR', 'e',
'MuL', 'MuR', 'Mu', 'TauL', 'TauR', 'T... | 29.33307 | 80 | 0.550518 | 4,203 | 37,165 | 4.782774 | 0.090174 | 0.03343 | 0.023878 | 0.027062 | 0.903393 | 0.899314 | 0.892747 | 0.890558 | 0.890558 | 0.886081 | 0 | 0.014106 | 0.360985 | 37,165 | 1,266 | 81 | 29.35624 | 0.83233 | 0.335907 | 0 | 0.901515 | 0 | 0 | 0.100358 | 0.002344 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117424 | false | 0 | 0.013258 | 0 | 0.251894 | 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 |
e8794a4c61ca7c1ebe2d1b1ebb59c213552321c2 | 202 | py | Python | fluidml/storage/__init__.py | fluidml/fluidml | 4bee9b180d84ea9c7e5d98e1ffc48fcc5080e045 | [
"Apache-2.0"
] | 15 | 2021-01-06T14:03:49.000Z | 2022-03-04T19:30:27.000Z | fluidml/storage/__init__.py | fluidml/fluidml | 4bee9b180d84ea9c7e5d98e1ffc48fcc5080e045 | [
"Apache-2.0"
] | 16 | 2021-01-24T00:24:39.000Z | 2021-08-04T20:56:03.000Z | fluidml/storage/__init__.py | fluidml/fluidml | 4bee9b180d84ea9c7e5d98e1ffc48fcc5080e045 | [
"Apache-2.0"
] | 1 | 2021-07-09T06:34:49.000Z | 2021-07-09T06:34:49.000Z | from .base import ResultsStore
from .file_store import LocalFileStore, TypeInfo
from .in_memory_store import InMemoryStore
try:
from .mongo_db_store import MongoDBStore
except ImportError:
pass
| 25.25 | 48 | 0.821782 | 26 | 202 | 6.192308 | 0.692308 | 0.204969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143564 | 202 | 7 | 49 | 28.857143 | 0.930636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.714286 | 0 | 0.714286 | 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 |
e8c676555b79ea83578a0e61486a92abaa2f6e96 | 68,608 | py | Python | benchmarks/SimResults/combinations_spec_mylocality/cmp_astarlbmtontoh264ref/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_mylocality/cmp_astarlbmtontoh264ref/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_mylocality/cmp_astarlbmtontoh264ref/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.063457 | 124 | 0.682078 | 8,082 | 68,608 | 5.784212 | 0.067805 | 0.123556 | 0.112946 | 0.093437 | 0.939013 | 0.929837 | 0.917793 | 0.885257 | 0.861449 | 0.842239 | 0 | 0.131932 | 0.224332 | 68,608 | 914 | 125 | 75.063457 | 0.74651 | 0 | 0 | 0.642232 | 0 | 0 | 0.657421 | 0.048099 | 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 |
fa4e2e4b6eb4f4e2cbfad52d3ed026c70cb917b9 | 14,928 | py | Python | tests/test_fireye.py | ccDev-Labs/splunk-connect-for-syslog | 2b30c711b4e53135444b485623bfc610ac2f19e2 | [
"BSD-2-Clause",
"CC0-1.0"
] | null | null | null | tests/test_fireye.py | ccDev-Labs/splunk-connect-for-syslog | 2b30c711b4e53135444b485623bfc610ac2f19e2 | [
"BSD-2-Clause",
"CC0-1.0"
] | null | null | null | tests/test_fireye.py | ccDev-Labs/splunk-connect-for-syslog | 2b30c711b4e53135444b485623bfc610ac2f19e2 | [
"BSD-2-Clause",
"CC0-1.0"
] | null | null | null | # Copyright 2019 Splunk, Inc.
#
# Use of this source code is governed by a BSD-2-clause-style
# license that can be found in the LICENSE-BSD2 file or at
# https://opensource.org/licenses/BSD-2-Clause
import random
from jinja2 import Environment
from .sendmessage import *
from .splunkutils import *
from .timeutils imp... | 105.87234 | 3,761 | 0.693462 | 1,998 | 14,928 | 5.114114 | 0.247748 | 0.021922 | 0.01331 | 0.019573 | 0.768644 | 0.762576 | 0.760325 | 0.760325 | 0.760325 | 0.760325 | 0 | 0.120575 | 0.161643 | 14,928 | 140 | 3,762 | 106.628571 | 0.695885 | 0.318998 | 0 | 0.646341 | 0 | 0.04878 | 0.686767 | 0.214602 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.04878 | false | 0 | 0.060976 | 0 | 0.109756 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fa59008d5e00948fc70e6a8140c91c646ce814f5 | 2,317 | py | Python | terrascript/opc/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/opc/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/opc/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/opc/r.py
import terrascript
class opc_compute_acl(terrascript.Resource):
pass
class opc_compute_image_list(terrascript.Resource):
pass
class opc_compute_image_list_entry(terrascript.Resource):
pass
class opc_compute_instance(terrascript.Resource):
pass
class opc_compute_ip_address_... | 21.063636 | 64 | 0.813984 | 286 | 2,317 | 6.227273 | 0.174825 | 0.157215 | 0.451993 | 0.534531 | 0.864121 | 0.864121 | 0.677709 | 0.298147 | 0 | 0 | 0 | 0.000493 | 0.123867 | 2,317 | 109 | 65 | 21.256881 | 0.876847 | 0.008632 | 0 | 0.492958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.492958 | 0.014085 | 0 | 0.507042 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
d7115cd7d47a765c510ee45420fe90a7787e4b10 | 8,241 | py | Python | tests/test_to_pubkey.py | pmazzocchi/btclib | 5e57a741907eb9b7b827e700e59be824398e3e5d | [
"MIT"
] | 1 | 2019-01-30T16:43:32.000Z | 2019-01-30T16:43:32.000Z | tests/test_to_pubkey.py | pmazzocchi/btclib | 5e57a741907eb9b7b827e700e59be824398e3e5d | [
"MIT"
] | null | null | null | tests/test_to_pubkey.py | pmazzocchi/btclib | 5e57a741907eb9b7b827e700e59be824398e3e5d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Copyright (C) 2017-2020 The btclib developers
#
# This file is part of btclib. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution.
#
# No part of btclib including this file, may be copied, modified, propagated,
# or distributed except... | 48.476471 | 129 | 0.690329 | 1,075 | 8,241 | 5.022326 | 0.11814 | 0.091869 | 0.086683 | 0.186701 | 0.851824 | 0.842749 | 0.819041 | 0.775699 | 0.753288 | 0.670865 | 0 | 0.024629 | 0.206771 | 8,241 | 169 | 130 | 48.763314 | 0.801285 | 0.119039 | 0 | 0.42735 | 0 | 0 | 0.090117 | 0.061368 | 0 | 0 | 0 | 0 | 0.504274 | 1 | 0.017094 | false | 0 | 0.059829 | 0 | 0.08547 | 0.017094 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d725bf44f1254278448c6888f806ddea635065c4 | 7,870 | py | Python | halotools/mock_observables/pairwise_velocities/tests/test_los_pvd_vs_rp.py | mclaughlin6464/halotools_old | 96fbdf5fc156160f19ccd4ae3ee964f831d26fa6 | [
"BSD-3-Clause"
] | null | null | null | halotools/mock_observables/pairwise_velocities/tests/test_los_pvd_vs_rp.py | mclaughlin6464/halotools_old | 96fbdf5fc156160f19ccd4ae3ee964f831d26fa6 | [
"BSD-3-Clause"
] | null | null | null | halotools/mock_observables/pairwise_velocities/tests/test_los_pvd_vs_rp.py | mclaughlin6464/halotools_old | 96fbdf5fc156160f19ccd4ae3ee964f831d26fa6 | [
"BSD-3-Clause"
] | null | null | null | """
"""
from __future__ import absolute_import, division, print_function
import numpy as np
from astropy.tests.helper import pytest
from astropy.utils.misc import NumpyRNGContext
from ..los_pvd_vs_rp import los_pvd_vs_rp
from ...tests.cf_helpers import generate_locus_of_3d_points
__all__ = ('test_los_pvd_vs_rp_corr... | 37.47619 | 88 | 0.705591 | 1,299 | 7,870 | 4.113934 | 0.13164 | 0.009731 | 0.014596 | 0.043039 | 0.900075 | 0.895771 | 0.868825 | 0.8561 | 0.8561 | 0.850299 | 0 | 0.069975 | 0.18831 | 7,870 | 209 | 89 | 37.655502 | 0.766594 | 0.327954 | 0 | 0.704082 | 0 | 0 | 0.032373 | 0.032373 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.05102 | false | 0 | 0.061224 | 0 | 0.112245 | 0.010204 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d73fc794a36998baf243df7cb08340cd282cc7b8 | 94 | py | Python | podcast_feed_parser/__init__.py | The-Daishogun/podcast_feed_parser | 95902a1234314085f012306bfea795d30872a70b | [
"MIT"
] | null | null | null | podcast_feed_parser/__init__.py | The-Daishogun/podcast_feed_parser | 95902a1234314085f012306bfea795d30872a70b | [
"MIT"
] | null | null | null | podcast_feed_parser/__init__.py | The-Daishogun/podcast_feed_parser | 95902a1234314085f012306bfea795d30872a70b | [
"MIT"
] | null | null | null | from podcast_feed_parser.podcast_feed_parser import PodcastFeedParser
from utils import hasher | 47 | 69 | 0.914894 | 13 | 94 | 6.307692 | 0.615385 | 0.268293 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 94 | 2 | 70 | 47 | 0.942529 | 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 |
d758485f0490861b49b3cbe2512b1e8f95198f33 | 3,833 | py | Python | simulation/tests/test_model.py | fladdimir/csa-simulation-based-sc-forecast | 80f176a783496f8859609f63b56c6199a73d9909 | [
"MIT"
] | 2 | 2020-11-04T17:34:38.000Z | 2021-08-13T07:55:23.000Z | simulation/tests/test_model.py | fladdimir/csa-simulation-based-sc-forecast | 80f176a783496f8859609f63b56c6199a73d9909 | [
"MIT"
] | null | null | null | simulation/tests/test_model.py | fladdimir/csa-simulation-based-sc-forecast | 80f176a783496f8859609f63b56c6199a73d9909 | [
"MIT"
] | 2 | 2021-05-28T02:55:44.000Z | 2021-08-03T13:56:10.000Z | import os
import executables.run_parse_convert
from model.blocks.order import Order
from model.blocks.wip import wip
from model.sim_model import Model
from simpy.core import Environment
directory_path = os.path.dirname(os.path.realpath(__file__))
def test_parse_convert():
executables.run_parse_convert.parse_bpm... | 30.664 | 85 | 0.706235 | 544 | 3,833 | 4.738971 | 0.123162 | 0.083786 | 0.086889 | 0.065943 | 0.850659 | 0.829325 | 0.815361 | 0.813421 | 0.806051 | 0.806051 | 0 | 0.016041 | 0.186799 | 3,833 | 124 | 86 | 30.91129 | 0.811036 | 0.015654 | 0 | 0.752688 | 0 | 0 | 0.022305 | 0 | 0 | 0 | 0 | 0 | 0.27957 | 1 | 0.075269 | false | 0 | 0.064516 | 0 | 0.139785 | 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 |
d76b3510cad652f76a637d270d50951e9503f875 | 25,462 | py | Python | cicd/upload_to_garmin.py | samueldumont/WorkoutDatafield | 7f6f290f8695935fcae0c28a486256067cb93a13 | [
"MIT"
] | null | null | null | cicd/upload_to_garmin.py | samueldumont/WorkoutDatafield | 7f6f290f8695935fcae0c28a486256067cb93a13 | [
"MIT"
] | null | null | null | cicd/upload_to_garmin.py | samueldumont/WorkoutDatafield | 7f6f290f8695935fcae0c28a486256067cb93a13 | [
"MIT"
] | null | null | null | import os
import requests
import xml.etree.ElementTree as ET
from pathlib import Path
from bs4 import BeautifulSoup
from requests_toolbelt import MultipartEncoder
import cloudscraper
import random, string
import time
GARMIN_USERNAME = os.getenv("GARMIN_USERNAME")
GARMIN_PASSWORD = os.getenv("GARMIN_PASSWORD")
APP_ID =... | 43.674099 | 152 | 0.626345 | 1,955 | 25,462 | 7.97954 | 0.144246 | 0.498782 | 0.530962 | 0.753205 | 0.780641 | 0.773333 | 0.769103 | 0.769103 | 0.764679 | 0.764679 | 0 | 0.011542 | 0.19696 | 25,462 | 583 | 153 | 43.674099 | 0.751406 | 0.00377 | 0 | 0.685558 | 0 | 0.025594 | 0.608543 | 0.450856 | 0 | 0 | 0 | 0.001715 | 0 | 1 | 0 | false | 0.005484 | 0.016453 | 0 | 0.016453 | 0.007313 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ad160084b502a6ace74d3d32d9f5f8b584c9ff12 | 183,081 | py | Python | tdm/python/antchain_sdk_tdm/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-28T06:40:50.000Z | 2022-02-25T11:02:18.000Z | tdm/python/antchain_sdk_tdm/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | null | null | null | tdm/python/antchain_sdk_tdm/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-30T09:29:03.000Z | 2022-01-07T10:42:22.000Z | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from Tea.model import TeaModel
from typing import List
class Config(TeaModel):
"""
Model for initing client
"""
def __init__(
self,
access_key_id: str = None,
access_key_secret: str = None,
se... | 35.849031 | 168 | 0.601772 | 24,162 | 183,081 | 4.291615 | 0.020942 | 0.046194 | 0.083148 | 0.06741 | 0.892472 | 0.852836 | 0.832748 | 0.820067 | 0.807819 | 0.795003 | 0 | 0.000658 | 0.302347 | 183,081 | 5,106 | 169 | 35.856052 | 0.811183 | 0.02606 | 0 | 0.844595 | 1 | 0.000965 | 0.115491 | 0.011325 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079151 | false | 0.005309 | 0.000483 | 0 | 0.138996 | 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 |
ad1adddab3dcab908949e38a517dbd02c0a0f9d7 | 13,114 | py | Python | apps/challenges/task_definitions.py | tdd-ai/Mukayese | f099486a01c12e5166d1d5f40913982471ad5bba | [
"BSD-3-Clause"
] | 2 | 2021-09-14T16:51:45.000Z | 2021-12-23T19:55:47.000Z | apps/challenges/task_definitions.py | tdd-ai/Mukayese | f099486a01c12e5166d1d5f40913982471ad5bba | [
"BSD-3-Clause"
] | null | null | null | apps/challenges/task_definitions.py | tdd-ai/Mukayese | f099486a01c12e5166d1d5f40913982471ad5bba | [
"BSD-3-Clause"
] | null | null | null | task_definition = """
{{
"family":"{queue_name}",
"executionRoleArn":"{EXECUTION_ROLE_ARN}",
"networkMode":"awsvpc",
"containerDefinitions":[
{{
"name": "{container_name}",
"image": "{WORKER_IMAGE}",
"essential": True,
"environment": [
... | 26.817996 | 60 | 0.377307 | 827 | 13,114 | 5.622733 | 0.151149 | 0.030108 | 0.020645 | 0.024086 | 0.867097 | 0.867097 | 0.856774 | 0.83828 | 0.83828 | 0.83828 | 0 | 0.001262 | 0.456001 | 13,114 | 488 | 61 | 26.872951 | 0.650547 | 0 | 0 | 0.930233 | 0 | 0 | 0.976361 | 0.176605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.016913 | 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 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a8e1be35826c0b5e31baa28aa502830019f7bf85 | 7,456 | py | Python | tests/test_monitor_resources.py | CFMTech/monitor-server-api | 51b927ae929ffec46c06a6d248969f6343ab5241 | [
"MIT"
] | 3 | 2021-06-16T07:05:39.000Z | 2021-06-16T18:48:04.000Z | tests/test_monitor_resources.py | CFMTech/monitor-server-api | 51b927ae929ffec46c06a6d248969f6343ab5241 | [
"MIT"
] | 2 | 2021-10-15T21:35:55.000Z | 2021-10-19T11:16:58.000Z | tests/test_monitor_resources.py | CFMTech/monitor-server-api | 51b927ae929ffec46c06a6d248969f6343ab5241 | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2021 Jean-Sébastien Dieu <jean-sebastien.dieu@cfm.fr>
#
# SPDX-License-Identifier: MIT
def test_list_head_resources_on_all_metrics(monitor, gen):
# Lets generate 200 metrics
c, s = gen.new_context(), gen.new_session()
for i in range(200):
mem = abs(100 - i) * 100
... | 40.967033 | 103 | 0.652629 | 1,104 | 7,456 | 4.237319 | 0.09692 | 0.043608 | 0.017956 | 0.03292 | 0.951689 | 0.950834 | 0.941428 | 0.941428 | 0.941428 | 0.941428 | 0 | 0.059136 | 0.217543 | 7,456 | 181 | 104 | 41.19337 | 0.742715 | 0.097908 | 0 | 0.835616 | 1 | 0.013699 | 0.14584 | 0.066508 | 0 | 0 | 0 | 0 | 0.205479 | 1 | 0.054795 | false | 0 | 0 | 0 | 0.054795 | 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 |
d1112c9bb742ed7f1238ff0c26540fb1c14b4d67 | 11,953 | py | Python | wallgen.py | TheSpeedX/wallgen | a36a9d7a0ce6e93a06d254f1508d01d29c0f483b | [
"MIT"
] | 35 | 2019-09-13T09:11:49.000Z | 2022-03-02T21:16:28.000Z | wallgen.py | TheSpeedX/wallgen | a36a9d7a0ce6e93a06d254f1508d01d29c0f483b | [
"MIT"
] | null | null | null | wallgen.py | TheSpeedX/wallgen | a36a9d7a0ce6e93a06d254f1508d01d29c0f483b | [
"MIT"
] | 1 | 2020-03-15T03:16:53.000Z | 2020-03-15T03:16:53.000Z | import sys
import time
import click
import numpy as np
from tools.gradient import *
from tools.shapes import *
from tools.wallpaper import *
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
@click.group(context_settings=CONTEXT_SETTINGS)
def cli():
pass
@cli.command()
@click.argument("side", type=click.I... | 30.108312 | 163 | 0.667698 | 1,794 | 11,953 | 4.390747 | 0.122631 | 0.050273 | 0.021582 | 0.030215 | 0.831281 | 0.789895 | 0.787483 | 0.763996 | 0.732005 | 0.709915 | 0 | 0.01341 | 0.15151 | 11,953 | 396 | 164 | 30.184343 | 0.763262 | 0.038568 | 0 | 0.744186 | 0 | 0.006645 | 0.248886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0.006645 | 0.023256 | 0 | 0.046512 | 0.096346 | 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 |
d1183e6a65d183987c1254e741776022055bf2e4 | 6,791 | py | Python | Test/plot_test.py | afcarl/pycm | f714d0ba851c07e1f23bd02bb870334f9da066dc | [
"MIT"
] | 1 | 2019-04-22T06:04:52.000Z | 2019-04-22T06:04:52.000Z | Test/plot_test.py | afcarl/pycm | f714d0ba851c07e1f23bd02bb870334f9da066dc | [
"MIT"
] | null | null | null | Test/plot_test.py | afcarl/pycm | f714d0ba851c07e1f23bd02bb870334f9da066dc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
>>> from pycm import *
>>> from matplotlib import pyplot as plt
>>> import seaborn as sns
>>> y_act = [0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2]
>>> y_pre = [0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,1,1,1,2,0,1,2,2,2,2]
>>> cm = ConfusionMatrix(y_act,y_pre)
>>> ax = cm.plot()
>>> ax.ge... | 33.126829 | 233 | 0.553085 | 1,306 | 6,791 | 2.79173 | 0.04977 | 0.123423 | 0.030444 | 0.109709 | 0.911135 | 0.88508 | 0.845858 | 0.835985 | 0.812671 | 0.793472 | 0 | 0.123043 | 0.125166 | 6,791 | 205 | 234 | 33.126829 | 0.490658 | 0.998675 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d1371949e6884802833824e8a3c8dd268160c833 | 117,237 | py | Python | h1/api/storage_project_disk_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | h1/api/storage_project_disk_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | h1/api/storage_project_disk_api.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | """
HyperOne
HyperOne API # noqa: E501
The version of the OpenAPI document: 0.1.0
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from h1.api_client import ApiClient, Endpoint as _Endpoint
from h1.model_utils import ( # noqa: F401
check_allowe... | 36.774467 | 139 | 0.441814 | 9,815 | 117,237 | 4.978706 | 0.023128 | 0.042545 | 0.053411 | 0.040826 | 0.952666 | 0.929747 | 0.91049 | 0.909283 | 0.893791 | 0.892707 | 0 | 0.003074 | 0.47282 | 117,237 | 3,187 | 140 | 36.786006 | 0.787574 | 0.286906 | 0 | 0.733717 | 1 | 0 | 0.235673 | 0.051887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009747 | false | 0 | 0.007089 | 0 | 0.026584 | 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 |
d16552c0a9535e1c0bd7f701987301681832eba5 | 142 | py | Python | fastapi/requests.py | Aryabhata-Rootspring/fastapi | f6237ad05a8468ac19c591181adad38d75372c46 | [
"MIT"
] | 53,007 | 2018-12-08T10:05:29.000Z | 2022-03-31T23:30:02.000Z | fastapi/requests.py | Aryabhata-Rootspring/fastapi | f6237ad05a8468ac19c591181adad38d75372c46 | [
"MIT"
] | 4,155 | 2019-01-05T05:07:49.000Z | 2022-03-31T21:25:38.000Z | fastapi/requests.py | Aryabhata-Rootspring/fastapi | f6237ad05a8468ac19c591181adad38d75372c46 | [
"MIT"
] | 4,092 | 2018-12-09T16:21:00.000Z | 2022-03-31T07:59:45.000Z | from starlette.requests import HTTPConnection as HTTPConnection # noqa: F401
from starlette.requests import Request as Request # noqa: F401
| 47.333333 | 77 | 0.816901 | 18 | 142 | 6.444444 | 0.5 | 0.224138 | 0.362069 | 0.465517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.140845 | 142 | 2 | 78 | 71 | 0.901639 | 0.147887 | 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 |
0f3e70475df360798f7a05134870ab10e9ae2752 | 17,822 | py | Python | tests/regression_tests.py | gf712/PyML | 83849ff6e1c1bbcf9b87826ef673fb34622a0539 | [
"MIT"
] | 4 | 2018-11-23T07:45:51.000Z | 2020-12-29T19:32:06.000Z | tests/regression_tests.py | gf712/PyML | 83849ff6e1c1bbcf9b87826ef673fb34622a0539 | [
"MIT"
] | 18 | 2017-11-16T08:32:42.000Z | 2017-12-27T15:19:58.000Z | tests/regression_tests.py | gf712/PyML | 83849ff6e1c1bbcf9b87826ef673fb34622a0539 | [
"MIT"
] | 3 | 2018-10-31T17:09:22.000Z | 2020-03-02T22:40:23.000Z | import unittest
from pyml.linear_models import LinearRegression, LogisticRegression
from pyml.linear_models.base import LinearBase
from pyml.datasets import regression, gaussian
from pyml.preprocessing import train_test_split
class LinearRegressionGradientDescentTest(unittest.TestCase):
@classmethod
def setU... | 49.643454 | 116 | 0.693805 | 2,267 | 17,822 | 5.326864 | 0.096162 | 0.110136 | 0.155267 | 0.182594 | 0.810782 | 0.800182 | 0.704786 | 0.696837 | 0.674975 | 0.618334 | 0 | 0.135691 | 0.181237 | 17,822 | 358 | 117 | 49.782123 | 0.691886 | 0 | 0 | 0.361217 | 0 | 0 | 0.005443 | 0.001234 | 0 | 0 | 0 | 0 | 0.422053 | 1 | 0.277567 | false | 0 | 0.019011 | 0 | 0.338403 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 7 |
7e16de0aa3cf48c1190b720bbb78c8f0c466d307 | 298 | py | Python | ProyectoFinal/usuarios/forms.py | PredadorAkrid/IS-2020-2-La-Orden-De-Turing | cc292723a7bc4e4c1f848d00484f62ac75e7ad20 | [
"Apache-2.0"
] | null | null | null | ProyectoFinal/usuarios/forms.py | PredadorAkrid/IS-2020-2-La-Orden-De-Turing | cc292723a7bc4e4c1f848d00484f62ac75e7ad20 | [
"Apache-2.0"
] | null | null | null | ProyectoFinal/usuarios/forms.py | PredadorAkrid/IS-2020-2-La-Orden-De-Turing | cc292723a7bc4e4c1f848d00484f62ac75e7ad20 | [
"Apache-2.0"
] | null | null | null | """Users forms."""
# Django
from django import forms
from django.contrib.auth.models import User
from django.contrib.auth.forms import AuthenticationForm
from django.contrib.auth import authenticate
from django.contrib.auth.forms import UserCreationForm, AuthenticationForm
from .models import *
| 29.8 | 74 | 0.822148 | 38 | 298 | 6.447368 | 0.315789 | 0.204082 | 0.277551 | 0.342857 | 0.261224 | 0.261224 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104027 | 298 | 9 | 75 | 33.111111 | 0.917603 | 0.067114 | 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 |
7d05b88855588cb8410b26233b2a89d79d3ac47e | 125,035 | py | Python | tacker/tests/unit/vnflcm/test_controller.py | SSU-DCN/tacker | d886ac7fec3d9cf6e0cefc5d2fa89a733a5255ae | [
"Apache-2.0"
] | null | null | null | tacker/tests/unit/vnflcm/test_controller.py | SSU-DCN/tacker | d886ac7fec3d9cf6e0cefc5d2fa89a733a5255ae | [
"Apache-2.0"
] | null | null | null | tacker/tests/unit/vnflcm/test_controller.py | SSU-DCN/tacker | d886ac7fec3d9cf6e0cefc5d2fa89a733a5255ae | [
"Apache-2.0"
] | 1 | 2020-11-16T02:14:35.000Z | 2020-11-16T02:14:35.000Z | # Copyright (C) 2020 NTT DATA
# 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 ... | 44.433191 | 79 | 0.639405 | 13,939 | 125,035 | 5.392281 | 0.04204 | 0.046978 | 0.052486 | 0.037173 | 0.882455 | 0.861754 | 0.839974 | 0.827774 | 0.816519 | 0.806674 | 0 | 0.008782 | 0.251418 | 125,035 | 2,813 | 80 | 44.448987 | 0.79425 | 0.014404 | 0 | 0.76771 | 0 | 0 | 0.183675 | 0.065919 | 0 | 0 | 0 | 0 | 0.063015 | 1 | 0.044893 | false | 0.000824 | 0.012356 | 0.002883 | 0.068781 | 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 |
7d10d2e67694ba01822ecd0c7b9e0075e8e21630 | 118 | py | Python | 5 kyu/Program hangs.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 5 kyu/Program hangs.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 5 kyu/Program hangs.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def wrap_mystery(n):
print(n)
return -1 if n in [17,27,34,43,54,68,86,108,136,172,216,272,275] else mystery(n) | 39.333333 | 84 | 0.661017 | 27 | 118 | 2.851852 | 0.851852 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.152542 | 118 | 3 | 84 | 39.333333 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
7d459350b5aa195c79b3cd38fee6fea64c2a3a45 | 96 | py | Python | pybana/translators/vega/__init__.py | optimdata/pybana | a88561199f25310b74c905b93238863e996f613e | [
"MIT"
] | 10 | 2019-10-31T08:47:27.000Z | 2022-03-16T10:43:56.000Z | pybana/translators/vega/__init__.py | optimdata/pybana | a88561199f25310b74c905b93238863e996f613e | [
"MIT"
] | 2 | 2021-03-26T15:35:51.000Z | 2021-12-17T14:56:46.000Z | pybana/translators/vega/__init__.py | optimdata/pybana | a88561199f25310b74c905b93238863e996f613e | [
"MIT"
] | 1 | 2020-08-25T08:28:34.000Z | 2020-08-25T08:28:34.000Z | from .metrics import * # NOQA
from .vega import * # NOQA
from .visualization import * # NOQA
| 24 | 36 | 0.6875 | 12 | 96 | 5.5 | 0.5 | 0.454545 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 96 | 3 | 37 | 32 | 0.88 | 0.145833 | 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 |
bc2b79e05aa6a1f47ebd349438dbdf3c0f5e5f30 | 44,696 | py | Python | neutron/tests/unit/conf/policies/test_qos.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/conf/policies/test_qos.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/conf/policies/test_qos.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021 Red Hat Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 34.434515 | 79 | 0.637037 | 4,179 | 44,696 | 6.509931 | 0.04044 | 0.085315 | 0.109355 | 0.154383 | 0.82698 | 0.810807 | 0.805697 | 0.803749 | 0.801691 | 0.772248 | 0 | 0.000253 | 0.291771 | 44,696 | 1,297 | 80 | 34.461064 | 0.859169 | 0.029689 | 0 | 0.869482 | 0 | 0 | 0.127253 | 0.117305 | 0 | 0 | 0 | 0 | 0.167946 | 1 | 0.09309 | false | 0 | 0.004798 | 0 | 0.135317 | 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 |
bc32a7e51f79d36c91b7e4331c8c4a821c0dc9a4 | 14,634 | py | Python | client/unified_client.py | szhu3210/Arbitrage-trader | d2af5670f7285084f70e36a48c95e796d1fd2d37 | [
"Apache-2.0"
] | 6 | 2019-04-03T22:33:39.000Z | 2021-05-07T12:00:00.000Z | client/unified_client.py | szhu3210/Arbitrage-trader | d2af5670f7285084f70e36a48c95e796d1fd2d37 | [
"Apache-2.0"
] | 2 | 2019-04-03T22:57:41.000Z | 2019-04-26T07:13:12.000Z | client/unified_client.py | szhu3210/Arbitrage-trader | d2af5670f7285084f70e36a48c95e796d1fd2d37 | [
"Apache-2.0"
] | 1 | 2019-04-28T07:23:32.000Z | 2019-04-28T07:23:32.000Z | import logging
import time
from config import config_trader, config_coin, api_keys
import ccxt
import ccxt.async
import asyncio
logging.basicConfig(format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %H:%M:%S', level=logging.WARNING)
# A unified client to link my program to ccxt
# Above this interface there should no... | 41.811429 | 115 | 0.584256 | 1,714 | 14,634 | 4.789965 | 0.124271 | 0.049695 | 0.021924 | 0.028136 | 0.813276 | 0.788794 | 0.77162 | 0.745432 | 0.705968 | 0.661876 | 0 | 0.009919 | 0.304223 | 14,634 | 349 | 116 | 41.931232 | 0.796405 | 0.146371 | 0 | 0.669456 | 0 | 0 | 0.084512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.004184 | 0.025105 | null | null | 0.008368 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
70b536bd5a5648c2ef927df2b5ef56a8a67ef3e6 | 9,002 | py | Python | netbox_dns/tests/test_api.py | hbasria/netbox-dns | ca6c715eee0e5a6b519906fae88c5d476c356a2d | [
"MIT"
] | null | null | null | netbox_dns/tests/test_api.py | hbasria/netbox-dns | ca6c715eee0e5a6b519906fae88c5d476c356a2d | [
"MIT"
] | null | null | null | netbox_dns/tests/test_api.py | hbasria/netbox-dns | ca6c715eee0e5a6b519906fae88c5d476c356a2d | [
"MIT"
] | null | null | null | from django.urls import reverse
from utilities.testing import APITestCase
from netbox_dns.models import NameServer, Record, Zone
class ZoneAPITestCase(APITestCase):
"""
Tests for Zone API (format=json)
"""
def test_view_zone_without_permission(self):
url = reverse("plugins-api:netbox_dns-api:... | 36.445344 | 88 | 0.620418 | 1,085 | 9,002 | 4.988018 | 0.059908 | 0.058204 | 0.069106 | 0.081301 | 0.944013 | 0.938101 | 0.929231 | 0.929231 | 0.928123 | 0.863267 | 0 | 0.015529 | 0.241724 | 9,002 | 246 | 89 | 36.593496 | 0.777322 | 0.011775 | 0 | 0.726804 | 0 | 0 | 0.208023 | 0.122712 | 0 | 0 | 0 | 0 | 0.113402 | 1 | 0.113402 | false | 0 | 0.015464 | 0 | 0.14433 | 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 |
cb8bef3603989b8a51a50a8fb96fb579c434e068 | 22,959 | py | Python | custos-client-sdks/custos-python-sdk/custos/server/core/ResourceSecretService_pb2_grpc.py | hasithajayasundara/airavata-custos | 2d341849dd8ea8a7c2efec6cc73b01dfd495352e | [
"Apache-2.0"
] | null | null | null | custos-client-sdks/custos-python-sdk/custos/server/core/ResourceSecretService_pb2_grpc.py | hasithajayasundara/airavata-custos | 2d341849dd8ea8a7c2efec6cc73b01dfd495352e | [
"Apache-2.0"
] | null | null | null | custos-client-sdks/custos-python-sdk/custos/server/core/ResourceSecretService_pb2_grpc.py | hasithajayasundara/airavata-custos | 2d341849dd8ea8a7c2efec6cc73b01dfd495352e | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import ResourceSecretService_pb2 as ResourceSecretService__pb2
class ResourceSecretServiceStub(object):
"""Missing associated documentation comment in .pro... | 53.393023 | 163 | 0.702644 | 1,718 | 22,959 | 9.153667 | 0.066938 | 0.112934 | 0.023846 | 0.036564 | 0.835241 | 0.796325 | 0.773496 | 0.714931 | 0.651532 | 0.644283 | 0 | 0.004182 | 0.229278 | 22,959 | 429 | 164 | 53.517483 | 0.884544 | 0.047258 | 0 | 0.637097 | 1 | 0 | 0.135374 | 0.106378 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069892 | false | 0.053763 | 0.005376 | 0.032258 | 0.115591 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
cb964f0bf8842ff029cc408701c71a0a3ebe8269 | 118 | py | Python | neurodiffeq_conditions/__init__.py | odegym/neurodiffeq-conditions | 6412ef797557d90b3cc9a7c85072bd7e3b237cfc | [
"MIT"
] | 2 | 2021-04-23T09:43:02.000Z | 2021-04-28T14:11:14.000Z | neurodiffeq_conditions/__init__.py | odegym/neurodiffeq-conditions | 6412ef797557d90b3cc9a7c85072bd7e3b237cfc | [
"MIT"
] | null | null | null | neurodiffeq_conditions/__init__.py | odegym/neurodiffeq-conditions | 6412ef797557d90b3cc9a7c85072bd7e3b237cfc | [
"MIT"
] | null | null | null | from .conditions import Condition3D, ConditionComponent3D, ConditionComponent, ComposedCondition3D, ComposedCondition
| 59 | 117 | 0.889831 | 8 | 118 | 13.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.067797 | 118 | 1 | 118 | 118 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cbded0c5af9870dd8ed44416547f20ac1ecab246 | 5,053 | py | Python | tests/parser/24-Labyrinth.asp.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/24-Labyrinth.asp.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/24-Labyrinth.asp.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
dir(e). dir(w). dir(n). dir(s).
inverse(e,w). inverse(w,e).
inverse(n,s). inverse(s,n).
row(X) :- field(X,Y).
col(Y) :- field(X,Y).
num_rows(X) :- row(X), not row(XX), XX = X+1.
num_cols(Y) :- col(Y), not col(YY), YY = Y+1.
goal(X,Y,0) :- goal_on(X,Y).
reach(X,Y,0) :- init_on(X,Y).
conn(X,Y,D,0) :- co... | 31 | 110 | 0.570552 | 1,178 | 5,053 | 2.423599 | 0.062818 | 0.06725 | 0.02732 | 0.050438 | 0.996147 | 0.996147 | 0.996147 | 0.996147 | 0.996147 | 0.996147 | 0 | 0.009662 | 0.139719 | 5,053 | 162 | 111 | 31.191358 | 0.647113 | 0 | 0 | 0.981818 | 0 | 0.527273 | 0.993865 | 0.094597 | 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 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
381f65e5fb352d637eb7e8f107847e992d651332 | 2,500 | py | Python | elfsample4.py | TheMindVirus/pico-uf22elf | ee5d95208851e6eba4b21675cae66fdf07176d0e | [
"MIT"
] | null | null | null | elfsample4.py | TheMindVirus/pico-uf22elf | ee5d95208851e6eba4b21675cae66fdf07176d0e | [
"MIT"
] | null | null | null | elfsample4.py | TheMindVirus/pico-uf22elf | ee5d95208851e6eba4b21675cae66fdf07176d0e | [
"MIT"
] | null | null | null | data = b""
data += b"\x7F\x45\x4C\x46" # ELF
data += b"\x02\x02\x02" # ELF64
data += b"\x20\x00" # ABI
data += b"\x00\x00\x00\x00\x00\x00\x00" # Pad
data += b"\x00\x00\x00\x00\x00\x00\x00\x00" # Type Machine Version
data += b"\x00\x00\x00\x00\x00\x00\x00\x00" # Start Address
data += b"\x00\x00\x00\x00\x00\x00\x00\x40"... | 41.666667 | 82 | 0.662 | 484 | 2,500 | 3.419421 | 0.161157 | 0.656193 | 0.799396 | 0.819335 | 0.756495 | 0.735952 | 0.670091 | 0.646526 | 0.646526 | 0.559517 | 0 | 0.241663 | 0.1244 | 2,500 | 59 | 83 | 42.372881 | 0.51439 | 0.2664 | 0 | 0.568627 | 0 | 0.019608 | 0.610397 | 0.452767 | 0 | 0 | 0.002795 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.019608 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
69938fdbc791a204a97bae45a48377d8c1b07e99 | 9,558 | py | Python | testing_suite/test_monoexonic.py | vinay-swamy/TALON | ce6f403035a9697334518c39bfe56a4550884699 | [
"MIT"
] | null | null | null | testing_suite/test_monoexonic.py | vinay-swamy/TALON | ce6f403035a9697334518c39bfe56a4550884699 | [
"MIT"
] | null | null | null | testing_suite/test_monoexonic.py | vinay-swamy/TALON | ce6f403035a9697334518c39bfe56a4550884699 | [
"MIT"
] | null | null | null | import pytest
from talon import talon, init_refs
from .helper_fns import fetch_correct_ID, get_db_cursor
@pytest.mark.integration
class TestIdentifyMonoexonic(object):
def test_match(self):
""" Example where the transcript is a monoexonic match.
"""
conn, cursor = get_db_cursor()
b... | 46.852941 | 87 | 0.598975 | 1,082 | 9,558 | 4.946396 | 0.132163 | 0.053812 | 0.078475 | 0.044843 | 0.821188 | 0.80213 | 0.789985 | 0.782324 | 0.764948 | 0.757848 | 0 | 0.015277 | 0.315129 | 9,558 | 203 | 88 | 47.083744 | 0.802322 | 0.450303 | 0 | 0.769231 | 0 | 0 | 0.068993 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 1 | 0.032967 | false | 0 | 0.032967 | 0 | 0.076923 | 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 |
69bcdda6664f64ef684325c7176bc9fc2427ba09 | 205 | py | Python | simpletransformers/classification/__init__.py | kinoute/simpletransformers | c14d01c8011cbdbf51996f07fc2fbe3d3c433f46 | [
"Apache-2.0"
] | null | null | null | simpletransformers/classification/__init__.py | kinoute/simpletransformers | c14d01c8011cbdbf51996f07fc2fbe3d3c433f46 | [
"Apache-2.0"
] | null | null | null | simpletransformers/classification/__init__.py | kinoute/simpletransformers | c14d01c8011cbdbf51996f07fc2fbe3d3c433f46 | [
"Apache-2.0"
] | null | null | null | from simpletransformers.classification.classification_model import ClassificationModel
from simpletransformers.classification.multi_label_classification_model import (
MultiLabelClassificationModel,
)
| 41 | 86 | 0.897561 | 16 | 205 | 11.25 | 0.5625 | 0.244444 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068293 | 205 | 4 | 87 | 51.25 | 0.942408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 7 |
69f1109d9cd09dbd8a19e745f7e9cf074cf65bbe | 258 | py | Python | openprocurement/relocation/contracts/validation.py | mepps-md/openprocurement.relocation.contracts | e14b16b03172aacf828f7f4cd7db792720f9cc73 | [
"Apache-2.0"
] | null | null | null | openprocurement/relocation/contracts/validation.py | mepps-md/openprocurement.relocation.contracts | e14b16b03172aacf828f7f4cd7db792720f9cc73 | [
"Apache-2.0"
] | null | null | null | openprocurement/relocation/contracts/validation.py | mepps-md/openprocurement.relocation.contracts | e14b16b03172aacf828f7f4cd7db792720f9cc73 | [
"Apache-2.0"
] | 3 | 2017-03-23T22:17:50.000Z | 2018-02-19T15:35:19.000Z | # -*- coding: utf-8 -*-
from openprocurement.relocation.core.validation import validate_accreditation_level
def validate_contract_accreditation_level(request):
validate_accreditation_level(request, request.validated['contract'], 'create_accreditation')
| 43 | 96 | 0.825581 | 27 | 258 | 7.592593 | 0.62963 | 0.263415 | 0.253659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004184 | 0.073643 | 258 | 5 | 97 | 51.6 | 0.853556 | 0.081395 | 0 | 0 | 0 | 0 | 0.119149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
386d1cad798ccd31fcf2d315c5ff7c222b1ac722 | 207 | py | Python | botaclan/google/auth.py | bataclanofficial/botaclan | 93f8ccab4f29c50a395a588b7779431eab8625e8 | [
"Apache-2.0"
] | null | null | null | botaclan/google/auth.py | bataclanofficial/botaclan | 93f8ccab4f29c50a395a588b7779431eab8625e8 | [
"Apache-2.0"
] | null | null | null | botaclan/google/auth.py | bataclanofficial/botaclan | 93f8ccab4f29c50a395a588b7779431eab8625e8 | [
"Apache-2.0"
] | null | null | null | from google.oauth2 import service_account
def generate_credentials(credentials_path: str) -> service_account.Credentials:
return service_account.Credentials.from_service_account_file(credentials_path)
| 34.5 | 82 | 0.859903 | 25 | 207 | 6.76 | 0.52 | 0.331361 | 0.295858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.082126 | 207 | 5 | 83 | 41.4 | 0.884211 | 0 | 0 | 0 | 1 | 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 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
38bfb2c2a0bd49a67dc70ef99faae6ceffddffe0 | 10,339 | py | Python | tests/integrationv2/test_client_authentication.py | glaubitz/s2n | d0b2c5ef9b5909cf078cb5a3e8acc156aee8cb4f | [
"Apache-2.0"
] | 4 | 2020-10-01T21:55:38.000Z | 2021-02-05T09:47:03.000Z | tests/integrationv2/test_client_authentication.py | glaubitz/s2n | d0b2c5ef9b5909cf078cb5a3e8acc156aee8cb4f | [
"Apache-2.0"
] | null | null | null | tests/integrationv2/test_client_authentication.py | glaubitz/s2n | d0b2c5ef9b5909cf078cb5a3e8acc156aee8cb4f | [
"Apache-2.0"
] | 3 | 2020-06-24T18:36:11.000Z | 2021-12-09T18:20:37.000Z | import copy
import os
import pytest
import time
from configuration import (available_ports, ALL_TEST_CIPHERS, ALL_TEST_CURVES,
ALL_TEST_CERTS, PROTOCOLS)
from common import Certificates, ProviderOptions, Protocols, data_bytes
from fixtures import managed_process
from providers import Provider, S2N, OpenSSL
from ut... | 45.747788 | 266 | 0.742818 | 1,364 | 10,339 | 5.408358 | 0.123167 | 0.044056 | 0.056934 | 0.04636 | 0.866748 | 0.866748 | 0.86241 | 0.86241 | 0.856852 | 0.856852 | 0 | 0.019536 | 0.17816 | 10,339 | 225 | 267 | 45.951111 | 0.848652 | 0.107747 | 0 | 0.823529 | 0 | 0.029412 | 0.136897 | 0.032595 | 0 | 0 | 0 | 0 | 0.141176 | 1 | 0.023529 | false | 0 | 0.052941 | 0 | 0.076471 | 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 |
38df9ae5378e24d418e5d933f10235d5dc04b19e | 612 | py | Python | shop/api/decorators.py | PragatiVerma18/DPhi-Task | cab83bc522a216bd006617df6cc28b6f479641fe | [
"MIT"
] | null | null | null | shop/api/decorators.py | PragatiVerma18/DPhi-Task | cab83bc522a216bd006617df6cc28b6f479641fe | [
"MIT"
] | null | null | null | shop/api/decorators.py | PragatiVerma18/DPhi-Task | cab83bc522a216bd006617df6cc28b6f479641fe | [
"MIT"
] | 1 | 2021-07-20T08:53:09.000Z | 2021-07-20T08:53:09.000Z | from django.core.exceptions import PermissionDenied
def user_is_nursery(function):
def wrap(request, *args, **kwargs):
user = request.user
if user.is_authenticated and user.role == "Nursery":
return function(request, *args, **kwargs)
else:
raise PermissionDenied
... | 25.5 | 60 | 0.627451 | 68 | 612 | 5.558824 | 0.338235 | 0.063492 | 0.179894 | 0.116402 | 0.767196 | 0.767196 | 0.767196 | 0.767196 | 0.767196 | 0.767196 | 0 | 0 | 0.277778 | 612 | 23 | 61 | 26.608696 | 0.855204 | 0 | 0 | 0.705882 | 0 | 0 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.529412 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
2a31ae2ff8704ff1c03f2c1d90c0a8148067915f | 92 | py | Python | parameters_8080.py | amaurirg/Web2Py | 235571cd2273a858cbc8f291731672eadf6b8206 | [
"BSD-3-Clause"
] | null | null | null | parameters_8080.py | amaurirg/Web2Py | 235571cd2273a858cbc8f291731672eadf6b8206 | [
"BSD-3-Clause"
] | null | null | null | parameters_8080.py | amaurirg/Web2Py | 235571cd2273a858cbc8f291731672eadf6b8206 | [
"BSD-3-Clause"
] | null | null | null | password="pbkdf2(1000,20,sha512)$95f88044b35411d6$93381df36be9e1c31359b048fb131c9c532c0dfe"
| 46 | 91 | 0.891304 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.527473 | 0.01087 | 92 | 1 | 92 | 92 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 0.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
2a4251bdcf464c53d83ea64656cf474172938f4e | 75,640 | py | Python | generated/ansible-collection/webapplicationfirewallpolicy.py | audevbot/autorest.devops.debug | a507fb6e2dd7826212537f27d583f203aac1c28f | [
"MIT"
] | null | null | null | generated/ansible-collection/webapplicationfirewallpolicy.py | audevbot/autorest.devops.debug | a507fb6e2dd7826212537f27d583f203aac1c28f | [
"MIT"
] | null | null | null | generated/ansible-collection/webapplicationfirewallpolicy.py | audevbot/autorest.devops.debug | a507fb6e2dd7826212537f27d583f203aac1c28f | [
"MIT"
] | null | null | null | #!/usr/bin/python
#
# Copyright (c) 2019 Zim Kalinowski, (@zikalino)
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
... | 33.380406 | 292 | 0.473956 | 6,054 | 75,640 | 5.865378 | 0.079947 | 0.040609 | 0.079585 | 0.057957 | 0.841843 | 0.811597 | 0.77907 | 0.748655 | 0.699034 | 0.677293 | 0 | 0.003667 | 0.469976 | 75,640 | 2,265 | 293 | 33.395143 | 0.882043 | 0.010444 | 0 | 0.874034 | 0 | 0.011824 | 0.839417 | 0.04302 | 0 | 0 | 0 | 0 | 0.000455 | 1 | 0.002729 | false | 0.00091 | 0.004093 | 0 | 0.010914 | 0.000455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2a90973eb8155f265b40045ab40cb913e667c78f | 9,219 | py | Python | tests/test_cli.py | jonasjancarik/waybackpy | 5a7fc7d5683759f759e3729c070bc1cab9376792 | [
"MIT"
] | 185 | 2020-05-04T11:12:43.000Z | 2022-03-26T02:25:56.000Z | tests/test_cli.py | jonasjancarik/waybackpy | 5a7fc7d5683759f759e3729c070bc1cab9376792 | [
"MIT"
] | 111 | 2020-05-04T15:40:38.000Z | 2022-03-03T22:30:00.000Z | tests/test_cli.py | jonasjancarik/waybackpy | 5a7fc7d5683759f759e3729c070bc1cab9376792 | [
"MIT"
] | 28 | 2020-05-05T15:04:22.000Z | 2022-03-05T15:11:50.000Z | import sys
import os
import pytest
import random
import string
import argparse
import waybackpy.cli as cli
from waybackpy.wrapper import Url # noqa: E402
from waybackpy.__version__ import __version__
def test_save():
args = argparse.Namespace(
user_agent=None,
url="https://hfjfjfjfyu6r6rfjvj.fj... | 25.608333 | 132 | 0.579347 | 1,141 | 9,219 | 4.57844 | 0.111306 | 0.037902 | 0.051685 | 0.06183 | 0.869832 | 0.845329 | 0.839778 | 0.82523 | 0.810299 | 0.801493 | 0 | 0.033255 | 0.305239 | 9,219 | 359 | 133 | 25.679666 | 0.782358 | 0.006291 | 0 | 0.801223 | 0 | 0.024465 | 0.093798 | 0 | 0 | 0 | 0 | 0 | 0.051988 | 1 | 0.033639 | false | 0 | 0.027523 | 0 | 0.061162 | 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 |
aaa2df0a82e6b1626b1249daf60535eed0031d30 | 511 | py | Python | plugins/konsole/restart.py | nielsvm/toggle-desktop | 2f060d03ad1b36c8e01e43c012fc877ba1bd9f0c | [
"BSD-3-Clause"
] | 1 | 2018-07-23T07:42:40.000Z | 2018-07-23T07:42:40.000Z | plugins/konsole/restart.py | nielsvm/toggle-desktop | 2f060d03ad1b36c8e01e43c012fc877ba1bd9f0c | [
"BSD-3-Clause"
] | null | null | null | plugins/konsole/restart.py | nielsvm/toggle-desktop | 2f060d03ad1b36c8e01e43c012fc877ba1bd9f0c | [
"BSD-3-Clause"
] | 1 | 2015-03-17T22:46:09.000Z | 2015-03-17T22:46:09.000Z | from core import kde
class Restart4(kde.KDE4Action):
"""Restart Konsole, open terminal instances will get killed."""
def binary_dependencies(self):
return ['konsole']
def execute(self):
return kde.restart('org.kde.konsole', 'konsole')
class Restart5(kde.KDE5Action):
"""Restart Konsol... | 25.55 | 67 | 0.671233 | 60 | 511 | 5.683333 | 0.4 | 0.117302 | 0.105572 | 0.152493 | 0.797654 | 0.797654 | 0.797654 | 0.797654 | 0.797654 | 0.797654 | 0 | 0.009828 | 0.203523 | 511 | 19 | 68 | 26.894737 | 0.82801 | 0.225049 | 0 | 0.727273 | 0 | 0 | 0.150649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.363636 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
aaa88e65ca1c14ffe207377e5273624aa9691aaa | 2,185 | py | Python | tfprob/gan/loss.py | yaojia1/AttGAN-final | 92906e6b32cdcabaa841461c6d2efe06a54057d1 | [
"MIT"
] | 581 | 2018-05-06T05:15:05.000Z | 2022-03-29T08:13:54.000Z | tfprob/gan/loss.py | yaojia1/darknet_my | 92906e6b32cdcabaa841461c6d2efe06a54057d1 | [
"MIT"
] | 52 | 2018-05-11T09:33:30.000Z | 2022-03-24T04:27:07.000Z | tfprob/gan/loss.py | yaojia1/darknet_my | 92906e6b32cdcabaa841461c6d2efe06a54057d1 | [
"MIT"
] | 137 | 2018-05-08T14:30:03.000Z | 2022-02-24T01:50:37.000Z | import tensorflow as tf
def get_gan_losses_fn():
bce = tf.keras.losses.BinaryCrossentropy(from_logits=True)
def d_loss_fn(r_logit, f_logit):
r_loss = bce(tf.ones_like(r_logit), r_logit)
f_loss = bce(tf.zeros_like(f_logit), f_logit)
return r_loss, f_loss
def g_loss_fn(f_logit):
... | 26.011905 | 62 | 0.654462 | 382 | 2,185 | 3.32199 | 0.10733 | 0.113475 | 0.055162 | 0.113475 | 0.79275 | 0.720252 | 0.720252 | 0.720252 | 0.720252 | 0.660362 | 0 | 0.009715 | 0.246224 | 2,185 | 83 | 63 | 26.325301 | 0.760777 | 0 | 0 | 0.491525 | 0 | 0 | 0.012815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.271186 | false | 0 | 0.016949 | 0 | 0.627119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
2a9a0c3aed8b8d54addadc51f3bb2048e7e2f09f | 6,557 | py | Python | src/datalayer/tests/test_calculate_qc.py | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | src/datalayer/tests/test_calculate_qc.py | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | src/datalayer/tests/test_calculate_qc.py | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | import copy
import pytest
from datalayer.alleledataloader.calculate_qc import genotype_calculate_qc
DEFAULT_ALLELE = {"vcf_ref": "G", "vcf_alt": "A", "change_type": "SNP"}
DEFAULT_GENOTYPE = {
"sequencing_depth": 400,
"multiallelic": False,
"filter_status": "PASS",
"allele_depth": {"A": 100, "REF": 1... | 36.427778 | 80 | 0.724112 | 805 | 6,557 | 5.617391 | 0.099379 | 0.225564 | 0.254312 | 0.224458 | 0.833481 | 0.802742 | 0.791022 | 0.739054 | 0.731756 | 0.708315 | 0 | 0.012158 | 0.159524 | 6,557 | 179 | 81 | 36.631285 | 0.808383 | 0.029587 | 0 | 0.6875 | 0 | 0 | 0.207776 | 0.027546 | 0 | 0 | 0 | 0 | 0.382813 | 1 | 0.070313 | false | 0.085938 | 0.023438 | 0.015625 | 0.109375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
2ab07ed929778d4fa263b0ee560ec7abc5d4f60a | 162 | py | Python | rsync.py | TuranSKT/detectron2_class | c90e68abbd39afa8c34d83ac760cabf3b5d02868 | [
"MIT"
] | null | null | null | rsync.py | TuranSKT/detectron2_class | c90e68abbd39afa8c34d83ac760cabf3b5d02868 | [
"MIT"
] | null | null | null | rsync.py | TuranSKT/detectron2_class | c90e68abbd39afa8c34d83ac760cabf3b5d02868 | [
"MIT"
] | null | null | null | import os
os.system("rsync -arz /home/pi/yoli/video_output/* abdullah@35.210.50.168:/home/abdullah/yoli/video")
#os.system("rm -r /home/pi/yoli/video_output/*")
| 40.5 | 101 | 0.728395 | 29 | 162 | 4 | 0.586207 | 0.232759 | 0.172414 | 0.258621 | 0.362069 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 0.061728 | 162 | 3 | 102 | 54 | 0.697368 | 0.290123 | 0 | 0 | 0 | 0.5 | 0.77193 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
2af1e4e8f77b7a4e3bf176ba6b9350a414254154 | 192 | py | Python | flixster/__init__.py | jaebradley/flixster | f903e5915c74c59eb14063d9257830449f2ede7c | [
"MIT"
] | 3 | 2017-06-05T20:17:22.000Z | 2018-04-20T00:32:39.000Z | flixster/__init__.py | jaebradley/flixster | f903e5915c74c59eb14063d9257830449f2ede7c | [
"MIT"
] | 3 | 2017-06-05T12:39:05.000Z | 2021-06-01T21:48:17.000Z | flixster/__init__.py | jaebradley/flixster | f903e5915c74c59eb14063d9257830449f2ede7c | [
"MIT"
] | 1 | 2019-04-11T19:26:51.000Z | 2019-04-11T19:26:51.000Z | from flixster.client import FlixsterClient
from flixster.query import TheaterInformationQuery, SearchType
from flixster.query.parameter_builders import TheaterInformationQueryParameterBuilder
| 48 | 85 | 0.90625 | 18 | 192 | 9.611111 | 0.611111 | 0.208092 | 0.196532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067708 | 192 | 3 | 86 | 64 | 0.96648 | 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 |
6330bee069281f3076bc0e39091217415529e21b | 398 | py | Python | CodeChef/Easy/A_Very_Easy_Problem.py | vijay-jaisankar/Competetive_programming | 860c165ce42337a7380112938b14772e6a553647 | [
"MIT"
] | null | null | null | CodeChef/Easy/A_Very_Easy_Problem.py | vijay-jaisankar/Competetive_programming | 860c165ce42337a7380112938b14772e6a553647 | [
"MIT"
] | null | null | null | CodeChef/Easy/A_Very_Easy_Problem.py | vijay-jaisankar/Competetive_programming | 860c165ce42337a7380112938b14772e6a553647 | [
"MIT"
] | null | null | null | # cook your dish here
print("137=2(2(2)+2+2(0))+2(2+2(0))+2(0)")
print("1315=2(2(2+2(0))+2)+2(2(2+2(0)))+2(2(2)+2(0))+2+2(0)")
print("73=2(2(2)+2)+2(2+2(0))+2(0)")
print("136=2(2(2)+2+2(0))+2(2+2(0))")
print("255=2(2(2)+2+2(0))+2(2(2)+2)+2(2(2)+2(0))+2(2(2))+2(2+2(0))+2(2)+2+2(0)")
print("1384=2(2(2+2(0))+2)+2(2(2+2(0)... | 44.222222 | 80 | 0.469849 | 130 | 398 | 1.438462 | 0.107692 | 0.748663 | 0.818182 | 0.705882 | 0.727273 | 0.700535 | 0.700535 | 0.620321 | 0.620321 | 0.572193 | 0 | 0.352332 | 0.030151 | 398 | 8 | 81 | 49.75 | 0.132124 | 0.047739 | 0 | 0 | 0 | 1 | 0.811671 | 0.811671 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 14 |
932bfe5a7828eefabe5801069ffab6aa2d2370c0 | 1,025 | py | Python | wd40/dict_convert.py | pepitooo/python-wd40 | 777c1b456e0b6041ef9c107c61151089d64d7158 | [
"Apache-2.0"
] | null | null | null | wd40/dict_convert.py | pepitooo/python-wd40 | 777c1b456e0b6041ef9c107c61151089d64d7158 | [
"Apache-2.0"
] | null | null | null | wd40/dict_convert.py | pepitooo/python-wd40 | 777c1b456e0b6041ef9c107c61151089d64d7158 | [
"Apache-2.0"
] | null | null | null | class DictToObj(object):
"""
transform a dict to a object
"""
def __init__(self, d):
for a, b in d.items():
if type(a) is bytes:
attr = a.decode()
else:
attr = a
if isinstance(b, (list, tuple)):
setattr(self, att... | 32.03125 | 92 | 0.48 | 132 | 1,025 | 3.666667 | 0.212121 | 0.14876 | 0.107438 | 0.198347 | 0.892562 | 0.892562 | 0.892562 | 0.892562 | 0.892562 | 0.892562 | 0 | 0 | 0.405854 | 1,025 | 32 | 93 | 32.03125 | 0.794745 | 0.05561 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.166667 | 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 |
933c6c84dd40c964d9d9ac585a453327d0e99dbb | 2,433 | py | Python | guiamuseos/museos/migrations/0002_auto_20180514_1300.py | rubengarciallorens/X-Serv-Practica-Museos | 79ce23e20b6e997195895ab9230bdde9392ebf5d | [
"Apache-2.0"
] | null | null | null | guiamuseos/museos/migrations/0002_auto_20180514_1300.py | rubengarciallorens/X-Serv-Practica-Museos | 79ce23e20b6e997195895ab9230bdde9392ebf5d | [
"Apache-2.0"
] | null | null | null | guiamuseos/museos/migrations/0002_auto_20180514_1300.py | rubengarciallorens/X-Serv-Practica-Museos | 79ce23e20b6e997195895ab9230bdde9392ebf5d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2018-05-14 13:00
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('museos', '0001_initial'),
]
operations = [
migrations.AlterField(
... | 30.037037 | 60 | 0.548705 | 205 | 2,433 | 6.346341 | 0.24878 | 0.199846 | 0.249808 | 0.289777 | 0.7794 | 0.7794 | 0.720215 | 0.720215 | 0.720215 | 0.720215 | 0 | 0.011664 | 0.330456 | 2,433 | 80 | 61 | 30.4125 | 0.786986 | 0.026716 | 0 | 0.69863 | 1 | 0 | 0.15814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027397 | 0 | 0.068493 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9348776a00f134a75e54018b0fda231348769666 | 2,776 | py | Python | testUI/checkAppleImage.py | lukeliuli/phoneDev | 46431470a49a994775710dd3346acb490f280aef | [
"Apache-2.0"
] | null | null | null | testUI/checkAppleImage.py | lukeliuli/phoneDev | 46431470a49a994775710dd3346acb490f280aef | [
"Apache-2.0"
] | null | null | null | testUI/checkAppleImage.py | lukeliuli/phoneDev | 46431470a49a994775710dd3346acb490f280aef | [
"Apache-2.0"
] | null | null | null | from cvs import *
import numpy as np
import os,sys
def checkAppleImage():
strTmp = "./res/hfs1.jpg"
im1 = cvs.imread(strTmp)
cvs.setLbs("长沙理工大学测控专业"+"苹果检测B116队"+"显示苹果原始图像")
cvs.imshow(im1)
sleep(1000)
gray1 = cv2.cvtColor(im1, cv2.COLOR_BGR2GRAY)
hsv1 = cv2.cvtColor(im1, cv2.COLOR_BGR2HSV)... | 33.445783 | 105 | 0.615274 | 388 | 2,776 | 4.340206 | 0.293814 | 0.021378 | 0.033254 | 0.04038 | 0.813539 | 0.781473 | 0.781473 | 0.781473 | 0.781473 | 0.781473 | 0 | 0.09396 | 0.248559 | 2,776 | 83 | 106 | 33.445783 | 0.713327 | 0.09402 | 0 | 0.736842 | 0 | 0 | 0.043687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0 | 0.052632 | 0 | 0.122807 | 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 |
93657cdb897378f18e21542e407ed281bf5fae9c | 15,140 | py | Python | openprocurement/edge/tests/plans.py | kroman0/openprocurement.edge | e5ad9a3bbb64c10cf529e940ab0018061fcdc4f4 | [
"Apache-2.0"
] | 3 | 2017-05-17T08:19:30.000Z | 2017-12-14T07:24:36.000Z | openprocurement/edge/tests/plans.py | kroman0/openprocurement.edge | e5ad9a3bbb64c10cf529e940ab0018061fcdc4f4 | [
"Apache-2.0"
] | 45 | 2016-10-19T13:34:53.000Z | 2018-03-13T14:05:13.000Z | openprocurement/edge/tests/plans.py | kroman0/openprocurement.edge | e5ad9a3bbb64c10cf529e940ab0018061fcdc4f4 | [
"Apache-2.0"
] | 9 | 2016-10-13T02:38:37.000Z | 2018-08-15T09:12:00.000Z | # -*- coding: utf-8 -*-
import unittest
from openprocurement.edge.utils import get_now
from openprocurement.edge.tests.base import (
PlanBaseWebTest,
test_plan_data,
ROUTE_PREFIX
)
class PlanResourceTest(PlanBaseWebTest):
def test_empty_listing(self):
response = self.app.get('/plans')
... | 46.728395 | 99 | 0.61004 | 1,831 | 15,140 | 4.979792 | 0.065538 | 0.177671 | 0.11406 | 0.075016 | 0.934415 | 0.934415 | 0.923777 | 0.918403 | 0.910945 | 0.903488 | 0 | 0.018808 | 0.213342 | 15,140 | 323 | 100 | 46.873065 | 0.746767 | 0.001387 | 0 | 0.80916 | 0 | 0.003817 | 0.179335 | 0.031355 | 0 | 0 | 0 | 0 | 0.564886 | 1 | 0.019084 | false | 0 | 0.01145 | 0 | 0.038168 | 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 |
4f01cfe0d8479fca6a871288aa3eea79202452c9 | 118 | py | Python | platform/hwconf_data/efr32zg13p/PythonSnippet/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/efr32zg13p/PythonSnippet/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/efr32zg13p/PythonSnippet/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | from efr32zg13p.halconfig import halconfig_types as types
from efr32zg13p.halconfig import halconfig_dependency as dep | 59 | 60 | 0.889831 | 16 | 118 | 6.4375 | 0.5 | 0.271845 | 0.446602 | 0.563107 | 0.737864 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 0.09322 | 118 | 2 | 60 | 59 | 0.88785 | 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 |
358baa19065ff3756546625366270eb70628df22 | 32,788 | py | Python | shop.py | Topaz1618/MeowShop | 024cf75a9895bed6fee19a1a18712023134ae132 | [
"MIT"
] | null | null | null | shop.py | Topaz1618/MeowShop | 024cf75a9895bed6fee19a1a18712023134ae132 | [
"MIT"
] | null | null | null | shop.py | Topaz1618/MeowShop | 024cf75a9895bed6fee19a1a18712023134ae132 | [
"MIT"
] | null | null | null | import json
import jwt
import math
import asyncio
from time import time, sleep
from base import BaseHandler
from code import TokenError, AuthError, ShopError, BaseError, DBError, PayError
from config import SECRET_KEY, PRODUCT_PAGE_LIMIT, MYHEART_PAGE_LIMIT, MYITEMS_PAGE_LIMIT, PACKAGE_LIST, PAGE_LIMIT, ZIP_LIMIT
fro... | 34.368973 | 167 | 0.591924 | 3,964 | 32,788 | 4.631937 | 0.051968 | 0.038233 | 0.035782 | 0.028757 | 0.807255 | 0.785524 | 0.762976 | 0.745275 | 0.735744 | 0.716301 | 0 | 0.007309 | 0.30316 | 32,788 | 953 | 168 | 34.405037 | 0.796306 | 0.029767 | 0 | 0.780967 | 0 | 0 | 0.101656 | 0.000663 | 0 | 0 | 0 | 0.001049 | 0 | 1 | 0.037764 | false | 0 | 0.019637 | 0 | 0.093656 | 0.07855 | 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 |
35c6f2e2a7d35d32d0cde807c1a0e921cbe60feb | 306 | py | Python | temboo/core/Library/LittleSis/List/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/LittleSis/List/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/LittleSis/List/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.LittleSis.List.GetList import GetList, GetListInputSet, GetListResultSet, GetListChoreographyExecution
from temboo.Library.LittleSis.List.ListSearchByKeyword import ListSearchByKeyword, ListSearchByKeywordInputSet, ListSearchByKeywordResultSet, ListSearchByKeywordChoreographyExecution
| 102 | 182 | 0.908497 | 22 | 306 | 12.636364 | 0.636364 | 0.071942 | 0.122302 | 0.18705 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045752 | 306 | 2 | 183 | 153 | 0.952055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ea3e3f9e2c861cee4fefc445a36cbb63bdbf1beb | 132 | py | Python | services/apis/django-api/source/api/api_admin_ui/admin/__init__.py | fzi-forschungszentrum-informatik/BEMCom | 0a0c359d889c6d5975e4d4d3b17c24adb5bf883b | [
"MIT"
] | 4 | 2021-09-10T09:46:18.000Z | 2021-12-05T17:55:14.000Z | services/apis/django-api/source/api/api_admin_ui/admin/__init__.py | fzi-forschungszentrum-informatik/BEMCom | 0a0c359d889c6d5975e4d4d3b17c24adb5bf883b | [
"MIT"
] | null | null | null | services/apis/django-api/source/api/api_admin_ui/admin/__init__.py | fzi-forschungszentrum-informatik/BEMCom | 0a0c359d889c6d5975e4d4d3b17c24adb5bf883b | [
"MIT"
] | null | null | null | """
"""
from api_admin_ui.admin import connector_admin, datapoint_admin, rest_admin
from api_admin_ui.admin import controller_admin
| 26.4 | 75 | 0.833333 | 20 | 132 | 5.1 | 0.45 | 0.137255 | 0.235294 | 0.27451 | 0.490196 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 132 | 4 | 76 | 33 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.