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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
628bf9df2a0725401c00ac651585961fafd42c72 | 23,546 | py | Python | pecan_wtforms/tests/test_decorator.py | ryanpetrello/pecan-wtforms | 5f83e904c1a9fd157029aa3486c993e93272a013 | [
"BSD-3-Clause"
] | null | null | null | pecan_wtforms/tests/test_decorator.py | ryanpetrello/pecan-wtforms | 5f83e904c1a9fd157029aa3486c993e93272a013 | [
"BSD-3-Clause"
] | null | null | null | pecan_wtforms/tests/test_decorator.py | ryanpetrello/pecan-wtforms | 5f83e904c1a9fd157029aa3486c993e93272a013 | [
"BSD-3-Clause"
] | null | null | null | import os
from unittest import TestCase
class TestIdempotentFormWrapper(TestCase):
def setUp(self):
import pecan_wtforms
from pecan import Pecan, expose
from webtest import TestApp
class SimpleForm(pecan_wtforms.form.Form):
first_name = pecan_wtforms.fields.TextField(... | 32.839609 | 79 | 0.573686 | 2,369 | 23,546 | 5.541579 | 0.058675 | 0.074954 | 0.07465 | 0.054845 | 0.923294 | 0.919257 | 0.913239 | 0.912477 | 0.894043 | 0.882922 | 0 | 0.000374 | 0.318823 | 23,546 | 716 | 80 | 32.885475 | 0.818131 | 0.001317 | 0 | 0.829604 | 0 | 0 | 0.081708 | 0.00373 | 0 | 0 | 0 | 0 | 0.189329 | 0 | null | null | 0 | 0.072289 | null | null | 0.001721 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6575a74490c2926b00effa2a6ddb7b345d5dd000 | 5,749 | py | Python | tests/expected/bks_custom_entry_passwords.py | castrapel/pyjks | f32dd209437f748949053be70f57ab1e80b5a7e3 | [
"MIT"
] | 92 | 2016-10-03T07:54:39.000Z | 2022-03-29T00:38:45.000Z | tests/expected/bks_custom_entry_passwords.py | castrapel/pyjks | f32dd209437f748949053be70f57ab1e80b5a7e3 | [
"MIT"
] | 46 | 2016-09-09T03:13:40.000Z | 2022-03-10T22:54:12.000Z | tests/expected/bks_custom_entry_passwords.py | castrapel/pyjks | f32dd209437f748949053be70f57ab1e80b5a7e3 | [
"MIT"
] | 30 | 2016-10-07T16:12:11.000Z | 2022-02-04T21:34:03.000Z | public_key = b"\x30\x81\x9f\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01\x05\x00\x03\x81\x8d\x00\x30\x81\x89\x02\x81\x81\x00\xd9\x7a\xcd" + \
b"\x72\x88\xaa\x98\x10\xee\x43\x50\x98\x95\x42\x98\x2d\x4d\xd7\x2c\xd6\x49\x9d\x4e\x37\x97\x53\x7a\xd3\x94\x8c\x93\x70\x22\xf1\x00" + \
b"\x4b\x4... | 140.219512 | 149 | 0.658027 | 1,284 | 5,749 | 2.944704 | 0.191589 | 0.012695 | 0.011902 | 0.015869 | 0.461783 | 0.461783 | 0.461783 | 0.456229 | 0.418143 | 0.403861 | 0 | 0.331982 | 0.0988 | 5,749 | 40 | 150 | 143.725 | 0.3978 | 0 | 0 | 0 | 0 | 0.975 | 0.862063 | 0.860671 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
65ad0d9b5616e984d3c65175f2fbb391df663ea0 | 2,844 | py | Python | tests/test_main.py | macrosfirst/sqlmodel | bda2e2818a3e7c2a18be4adf55bfea9bad83bfcc | [
"MIT"
] | 3 | 2021-11-10T14:39:22.000Z | 2021-12-13T16:01:48.000Z | tests/test_main.py | macrosfirst/sqlmodel | bda2e2818a3e7c2a18be4adf55bfea9bad83bfcc | [
"MIT"
] | null | null | null | tests/test_main.py | macrosfirst/sqlmodel | bda2e2818a3e7c2a18be4adf55bfea9bad83bfcc | [
"MIT"
] | null | null | null | import pytest
from typing import Optional
from sqlmodel import Field, Session, SQLModel, create_engine
from sqlalchemy.exc import IntegrityError
def test_should_allow_duplicate_row_if_unique_constraint_is_not_passed(clear_sqlmodel):
class Hero(SQLModel, table=True):
id: Optional[int] = Field(def... | 30.913043 | 104 | 0.647328 | 355 | 2,844 | 4.983099 | 0.183099 | 0.050876 | 0.07688 | 0.085924 | 0.887507 | 0.887507 | 0.869418 | 0.869418 | 0.869418 | 0.869418 | 0 | 0.011225 | 0.248242 | 2,844 | 91 | 105 | 31.252747 | 0.816183 | 0 | 0 | 0.835821 | 0 | 0 | 0.051217 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 1 | 0.044776 | false | 0.014925 | 0.059701 | 0 | 0.328358 | 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 |
029c87349f383916286697d2d9ecb30bf50c1e34 | 9,849 | py | Python | nerblackbox/tests/test_tags.py | flxst/nerblackbox | 7612b95850e637be258f6bfb01274453b7372f99 | [
"Apache-2.0"
] | null | null | null | nerblackbox/tests/test_tags.py | flxst/nerblackbox | 7612b95850e637be258f6bfb01274453b7372f99 | [
"Apache-2.0"
] | null | null | null | nerblackbox/tests/test_tags.py | flxst/nerblackbox | 7612b95850e637be258f6bfb01274453b7372f99 | [
"Apache-2.0"
] | null | null | null | import pytest
from typing import List
from nerblackbox.modules.ner_training.annotation_tags.tags import Tags
########################################################################################################################
########################################################################################... | 36.343173 | 120 | 0.225201 | 975 | 9,849 | 2.213333 | 0.068718 | 0.100093 | 0.084801 | 0.079703 | 0.8443 | 0.8443 | 0.841983 | 0.83874 | 0.83874 | 0.745598 | 0 | 0.004331 | 0.437303 | 9,849 | 270 | 121 | 36.477778 | 0.38506 | 0.084476 | 0 | 0.76087 | 0 | 0 | 0.145216 | 0.005546 | 0 | 0 | 0 | 0 | 0.008696 | 1 | 0.008696 | false | 0 | 0.013043 | 0 | 0.026087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
02e939c75b6efc55606337c240a9fc991c22e34e | 34,045 | py | Python | Code/odooerp/odoo-8.0/openerp/addons/resource/tests/test_resource.py | zhupangithub/WEBERP | 714512082ec5c6db07cbf6af0238ceefe2d2c1a5 | [
"MIT"
] | null | null | null | Code/odooerp/odoo-8.0/openerp/addons/resource/tests/test_resource.py | zhupangithub/WEBERP | 714512082ec5c6db07cbf6af0238ceefe2d2c1a5 | [
"MIT"
] | null | null | null | Code/odooerp/odoo-8.0/openerp/addons/resource/tests/test_resource.py | zhupangithub/WEBERP | 714512082ec5c6db07cbf6af0238ceefe2d2c1a5 | [
"MIT"
] | 3 | 2020-10-08T14:42:10.000Z | 2022-01-28T14:12:29.000Z | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Business Applications
# Copyright (c) 2013-TODAY OpenERP S.A. <http://www.openerp.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms... | 70.195876 | 174 | 0.635365 | 4,553 | 34,045 | 4.638041 | 0.060839 | 0.12426 | 0.12033 | 0.101056 | 0.873846 | 0.852204 | 0.813705 | 0.781361 | 0.769617 | 0.750154 | 0 | 0.091589 | 0.190865 | 34,045 | 484 | 175 | 70.340909 | 0.674992 | 0.197063 | 0 | 0.386207 | 0 | 0 | 0.305088 | 0 | 0 | 0 | 0 | 0 | 0.42069 | 1 | 0.024138 | false | 0 | 0.010345 | 0 | 0.041379 | 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 |
b845544e3b6da79ea2cd2389adbdcb6ce830ea44 | 5,383 | py | Python | library/inlay.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | library/inlay.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | library/inlay.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | import numpy as np
import math
def inlayKnit(k,beg,end,length,cRib,cInlay,siderib='l',bed1='f',roller=400,stitch=4,speed=400):
'''can take in tuck array where 1s represent tucks and 0s represent misses
or puts tucks only at edges'''
#set beds
if bed1=='f':
bed2='b'
else:
bed2='f'
... | 27.464286 | 109 | 0.434516 | 650 | 5,383 | 3.598462 | 0.127692 | 0.029927 | 0.025652 | 0.047029 | 0.832835 | 0.81274 | 0.782813 | 0.782813 | 0.76956 | 0.751603 | 0 | 0.045557 | 0.420955 | 5,383 | 195 | 110 | 27.605128 | 0.704844 | 0.102731 | 0 | 0.857143 | 0 | 0 | 0.007715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.014286 | 0 | 0.028571 | 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 |
b8b8b7657b8682869c406095c6943dd851e5fb5d | 146,694 | py | Python | pommerman/research/cinjon_run_on_cluster.py | cinjon/playground | ad9ec58b2157fa6102636e7f61ef9a712c507a90 | [
"Apache-2.0"
] | 1 | 2019-01-04T13:36:04.000Z | 2019-01-04T13:36:04.000Z | pommerman/research/cinjon_run_on_cluster.py | cinjon/playground | ad9ec58b2157fa6102636e7f61ef9a712c507a90 | [
"Apache-2.0"
] | null | null | null | pommerman/research/cinjon_run_on_cluster.py | cinjon/playground | ad9ec58b2157fa6102636e7f61ef9a712c507a90 | [
"Apache-2.0"
] | 1 | 2018-03-21T15:21:52.000Z | 2018-03-21T15:21:52.000Z | """Run on the cluster
NOTE: See local_config.template.py for a local_config template.
"""
import os
import sys
import itertools
import local_config
directory = local_config.cluster_directory
email = local_config.email
slurm_logs = os.path.join(directory, "slurm_logs")
slurm_scripts = os.path.join(directory, "slurm_s... | 50.254882 | 245 | 0.545837 | 16,941 | 146,694 | 4.682545 | 0.049761 | 0.02259 | 0.026725 | 0.048861 | 0.898988 | 0.892949 | 0.888298 | 0.886836 | 0.878894 | 0.874242 | 0 | 0.057471 | 0.268852 | 146,694 | 2,918 | 246 | 50.272104 | 0.682141 | 0.912805 | 0 | 0.343949 | 0 | 0 | 0.187412 | 0.023565 | 0 | 0 | 0 | 0.000343 | 0 | 1 | 0.012739 | false | 0 | 0.025478 | 0 | 0.038217 | 0.012739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b23ef4e76c8e78b49870d7bb359008a37b2e54d2 | 158 | py | Python | Python/Topics/Summarizing numeric columns/Mean penguin/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Python/Topics/Summarizing numeric columns/Mean penguin/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | null | null | null | Python/Topics/Summarizing numeric columns/Mean penguin/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | #your code here. The DataFrame is already loaded as penguins_example.
print(penguins_example.bill_length_mm.mean() / penguins_example.bill_depth_mm.mean())
| 39.5 | 85 | 0.816456 | 24 | 158 | 5.083333 | 0.708333 | 0.368852 | 0.311475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 158 | 3 | 86 | 52.666667 | 0.853147 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
b29bca61993c5a08196105dba4dc72a7cc0cd76d | 34 | py | Python | cx_Freeze/samples/relimport/pkg1/pkg2/sub5.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 358 | 2020-07-02T13:00:02.000Z | 2022-03-29T10:03:57.000Z | cx_Freeze/samples/relimport/pkg1/pkg2/sub5.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 372 | 2020-07-02T20:47:57.000Z | 2022-03-31T19:35:05.000Z | cx_Freeze/samples/relimport/pkg1/pkg2/sub5.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 78 | 2020-07-09T14:24:03.000Z | 2022-03-22T19:06:52.000Z | print("importing pkg1.pkg2.sub5")
| 17 | 33 | 0.764706 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.058824 | 34 | 1 | 34 | 34 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 8 |
a2e1e8a7eb38d309de72d001cd94394ea0e9c358 | 9,167 | py | Python | pcradmin/excels.py | abhi20161997/Apogee-2017 | e4ae1b379bd5111a3bd7d3399d081dda897a8566 | [
"BSD-3-Clause"
] | null | null | null | pcradmin/excels.py | abhi20161997/Apogee-2017 | e4ae1b379bd5111a3bd7d3399d081dda897a8566 | [
"BSD-3-Clause"
] | null | null | null | pcradmin/excels.py | abhi20161997/Apogee-2017 | e4ae1b379bd5111a3bd7d3399d081dda897a8566 | [
"BSD-3-Clause"
] | null | null | null | from django.http import HttpResponse
from .views import deepgetattr
from portal.models import CampusAmbassador
from registration.models import Participant
from time import gmtime, strftime
import xlsxwriter
try:
import cStringIO as StringIO
except ImportError:
import StringIO
def ambassador_excel(request, **kwargs... | 35.393822 | 83 | 0.696956 | 1,331 | 9,167 | 4.746807 | 0.117956 | 0.203862 | 0.087844 | 0.093701 | 0.832225 | 0.821621 | 0.821621 | 0.797879 | 0.787433 | 0.760525 | 0 | 0.024869 | 0.127086 | 9,167 | 258 | 84 | 35.531008 | 0.764684 | 0.0132 | 0 | 0.720207 | 0 | 0 | 0.177653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025907 | false | 0 | 0.062176 | 0 | 0.11399 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a2ef02c3e4efc237f53dec0244006fe447fa7dd5 | 182 | py | Python | exec/resources/simple_run.py | Fladdimir/casymda | 6cf599bed2229c4aff9bca31350604b38ef76138 | [
"MIT"
] | 19 | 2020-04-18T14:47:37.000Z | 2022-03-26T14:18:21.000Z | exec/resources/simple_run.py | Fladdimir/casymda | 6cf599bed2229c4aff9bca31350604b38ef76138 | [
"MIT"
] | 4 | 2020-03-17T21:01:58.000Z | 2021-09-24T21:07:25.000Z | exec/resources/simple_run.py | Fladdimir/casymda | 6cf599bed2229c4aff9bca31350604b38ef76138 | [
"MIT"
] | 4 | 2020-05-09T16:31:57.000Z | 2022-01-23T09:11:19.000Z | import sys
sys.path.append(".")
from examples.resources import simple_run_resource_example_test
if __name__ == "__main__":
simple_run_resource_example_test.test_simple_run()
| 18.2 | 63 | 0.802198 | 25 | 182 | 5.12 | 0.6 | 0.210938 | 0.265625 | 0.375 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 182 | 9 | 64 | 20.222222 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.049451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
0c33579592df7402301b13a7573b50686359c0b7 | 16,815 | py | Python | app/Python-Snake/Python-Snake/test_data.py | Simobergius/starter-snake-python | d9ad718c78389125be679938fa362d73b19a1084 | [
"MIT"
] | null | null | null | app/Python-Snake/Python-Snake/test_data.py | Simobergius/starter-snake-python | d9ad718c78389125be679938fa362d73b19a1084 | [
"MIT"
] | null | null | null | app/Python-Snake/Python-Snake/test_data.py | Simobergius/starter-snake-python | d9ad718c78389125be679938fa362d73b19a1084 | [
"MIT"
] | null | null | null |
data1 = {
'board': {
'snakes': [
{'body': [
{'x': 5, 'y': 5},
{'x': 5, 'y': 6},
{'x': 4, 'y': 6},
{'x': 3, 'y': 6},
{'x': 3, 'y': 5},
{'x': 3, 'y': 4},
{'x': 4, 'y': 4},
... | 25.134529 | 35 | 0.191436 | 1,619 | 16,815 | 1.985794 | 0.041384 | 0.042302 | 0.063453 | 0.161742 | 0.952722 | 0.946501 | 0.929393 | 0.929393 | 0.925972 | 0.925039 | 0 | 0.112106 | 0.554921 | 16,815 | 669 | 36 | 25.134529 | 0.317477 | 0 | 0 | 0.87156 | 0 | 0 | 0.137318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 11 |
0c564c18fb4a5f2edf665bb4e687ef1652ddd63f | 46,787 | py | Python | sdc/tests/test_rolling.py | samir-nasibli/sdc | b9144c8799d6454dec3e5c550e305963b24c1570 | [
"BSD-2-Clause"
] | null | null | null | sdc/tests/test_rolling.py | samir-nasibli/sdc | b9144c8799d6454dec3e5c550e305963b24c1570 | [
"BSD-2-Clause"
] | null | null | null | sdc/tests/test_rolling.py | samir-nasibli/sdc | b9144c8799d6454dec3e5c550e305963b24c1570 | [
"BSD-2-Clause"
] | null | null | null | # *****************************************************************************
# Copyright (c) 2019, Intel Corporation All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# Redistributions of sou... | 46.647059 | 119 | 0.574326 | 6,175 | 46,787 | 4.178138 | 0.055709 | 0.045271 | 0.056434 | 0.046047 | 0.900465 | 0.885039 | 0.865736 | 0.834341 | 0.82062 | 0.803798 | 0 | 0.033168 | 0.296963 | 46,787 | 1,002 | 120 | 46.693613 | 0.751193 | 0.055956 | 0 | 0.734317 | 0 | 0.00615 | 0.086942 | 0.010905 | 0 | 0 | 0 | 0.000998 | 0.130381 | 1 | 0.097171 | false | 0 | 0.01599 | 0.03075 | 0.163592 | 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 |
a73c52fe01bb883dc02ee8d3e17255d9110fcc6f | 252 | py | Python | example/sub.py | mtulio/commons | 2cb8e33e1b8e303607d7bb47fce12d5b6bc92d26 | [
"Apache-2.0"
] | null | null | null | example/sub.py | mtulio/commons | 2cb8e33e1b8e303607d7bb47fce12d5b6bc92d26 | [
"Apache-2.0"
] | 8 | 2017-01-21T23:34:13.000Z | 2017-01-24T03:15:12.000Z | example/sub.py | mtulio/commons | 2cb8e33e1b8e303607d7bb47fce12d5b6bc92d26 | [
"Apache-2.0"
] | null | null | null |
class SubClass():
def __init__(self):
self.message = 'init - SubFile - mtulio.example.sub Class'
def returnMessage(self):
return self.message
def subMessageHelloWorld():
return 'init - SubFile - mtulio.example.sub Method'
| 25.2 | 66 | 0.674603 | 28 | 252 | 5.928571 | 0.5 | 0.13253 | 0.204819 | 0.289157 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218254 | 252 | 9 | 67 | 28 | 0.84264 | 0 | 0 | 0 | 0 | 0 | 0.330677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
a74cc3f751a93561a30dac8c04fdacc7ea88fd67 | 13,897 | py | Python | Controls/env/Lib/site-packages/PySide/examples/desktop/systray/systray_rc.py | LoicBoileau/Projet-S4---Robot-Delta | 0de0768e2609c18fbf060eb6726150a99080db1c | [
"MIT"
] | 32 | 2015-11-06T02:59:41.000Z | 2021-02-12T02:44:42.000Z | Controls/env/Lib/site-packages/PySide/examples/desktop/systray/systray_rc.py | LoicBoileau/Projet-S4---Robot-Delta | 0de0768e2609c18fbf060eb6726150a99080db1c | [
"MIT"
] | 56 | 2020-01-15T15:44:40.000Z | 2021-11-15T17:50:24.000Z | python/Lib/site-packages/PySide/examples/desktop/systray/systray_rc.py | jfveronelli/sqink | 5e9e6bc6c5c6c00abbc07099bc1fa1ab6cf79577 | [
"Unlicense"
] | 4 | 2016-02-01T09:15:05.000Z | 2020-04-30T03:41:04.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: st 14. 10 21:40:02 2015
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = b"\x00\x00\x0fX<?xml version=\x221.0\x22 encoding=\x22UTF-8\x22 standalone=... | 631.681818 | 12,848 | 0.756998 | 2,626 | 13,897 | 3.996192 | 0.239909 | 0.101201 | 0.051458 | 0.023061 | 0.623118 | 0.608443 | 0.581189 | 0.558796 | 0.538403 | 0.519154 | 0 | 0.241891 | 0.034972 | 13,897 | 21 | 12,849 | 661.761905 | 0.540601 | 0.013096 | 0 | 0 | 0 | 0.333333 | 0.973371 | 0.510615 | 0 | 0 | 0.002553 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a780e92d5f42551f4db213a60c42a54b15f9ad37 | 131 | py | Python | sales_register/adapters/password_hashing/__init__.py | tamercuba/purchase-system | cfd3e4fecbd96c130f620d11491fa14979c0d996 | [
"MIT"
] | null | null | null | sales_register/adapters/password_hashing/__init__.py | tamercuba/purchase-system | cfd3e4fecbd96c130f620d11491fa14979c0d996 | [
"MIT"
] | 6 | 2021-05-15T21:44:19.000Z | 2021-05-23T22:20:13.000Z | sales_register/adapters/password_hashing/__init__.py | tamercuba/sales-register | cfd3e4fecbd96c130f620d11491fa14979c0d996 | [
"MIT"
] | null | null | null | from adapters.password_hashing.context import pwd_context
from adapters.password_hashing.implementation import PasswordHashManager
| 43.666667 | 72 | 0.908397 | 15 | 131 | 7.733333 | 0.6 | 0.206897 | 0.344828 | 0.465517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061069 | 131 | 2 | 73 | 65.5 | 0.943089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 9 |
a7abb77a880cfb53a1dd237f5cf8e5526d35a432 | 2,067 | py | Python | qcodes/tests/dataset/test_concurrent_datasets.py | riju-pal/QCoDeS_riju | 816e76809160e9af457f6ef6d4aca1b0dd5eea82 | [
"MIT"
] | 223 | 2016-10-29T15:00:24.000Z | 2022-03-20T06:53:34.000Z | qcodes/tests/dataset/test_concurrent_datasets.py | M1racleShih/Qcodes | c03029a6968e16379155aadc8b083a02e01876a6 | [
"MIT"
] | 3,406 | 2016-10-25T10:44:50.000Z | 2022-03-31T09:47:35.000Z | qcodes/tests/dataset/test_concurrent_datasets.py | nikhartman/Qcodes | 042c5e25ab9e40b20c316b4055c4842844834d1e | [
"MIT"
] | 263 | 2016-10-25T11:35:36.000Z | 2022-03-31T08:53:20.000Z | """
Test that multiple datasets can coexist as expected
"""
import pytest
from qcodes import new_experiment
from qcodes.dataset.data_set import DataSet
def test_foreground_after_background_raises(empty_temp_db_connection):
new_experiment("test", "test1", conn=empty_temp_db_connection)
ds1 = DataSet(conn=empt... | 33.885246 | 78 | 0.789066 | 293 | 2,067 | 5.146758 | 0.16041 | 0.125332 | 0.153183 | 0.29244 | 0.846817 | 0.809019 | 0.769231 | 0.767241 | 0.767241 | 0.740053 | 0 | 0.016556 | 0.123367 | 2,067 | 60 | 79 | 34.45 | 0.815673 | 0.024673 | 0 | 0.675 | 0 | 0 | 0.042331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.075 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a7c347653d1e57c8c3f27fad261db49a3f17e415 | 60,907 | py | Python | tests/test_packages/test_contracts/test_erc1155/test_contract.py | bryanchriswhite/agents-aea | d3f177a963eb855d9528555167255bf2b478f4ba | [
"Apache-2.0"
] | 126 | 2019-09-07T09:32:44.000Z | 2022-03-29T14:28:41.000Z | tests/test_packages/test_contracts/test_erc1155/test_contract.py | salman6049/agents-aea | d3f177a963eb855d9528555167255bf2b478f4ba | [
"Apache-2.0"
] | 1,814 | 2019-08-24T10:08:07.000Z | 2022-03-31T14:28:36.000Z | tests/test_packages/test_contracts/test_erc1155/test_contract.py | salman6049/agents-aea | d3f177a963eb855d9528555167255bf2b478f4ba | [
"Apache-2.0"
] | 46 | 2019-09-03T22:13:58.000Z | 2022-03-22T01:25:16.000Z | # -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2018-2020 Fetch.AI Limited
#
# 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 ... | 37.45818 | 130 | 0.619075 | 6,780 | 60,907 | 5.24233 | 0.05118 | 0.046085 | 0.046817 | 0.045916 | 0.864277 | 0.846665 | 0.832119 | 0.825395 | 0.803759 | 0.793433 | 0 | 0.049814 | 0.300934 | 60,907 | 1,625 | 131 | 37.481231 | 0.784959 | 0.147848 | 0 | 0.727929 | 0 | 0 | 0.042251 | 0.002917 | 0 | 0 | 0 | 0 | 0.065811 | 1 | 0.043339 | false | 0 | 0.009631 | 0 | 0.060995 | 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 |
38ebf8e80583acc6965a03a1e2012ec42ff74356 | 159 | py | Python | encoding/hex.py | ruarfff/cryptohack | 9ef672a5e2681104a1f2778982b4b7d60817e33e | [
"MIT"
] | null | null | null | encoding/hex.py | ruarfff/cryptohack | 9ef672a5e2681104a1f2778982b4b7d60817e33e | [
"MIT"
] | null | null | null | encoding/hex.py | ruarfff/cryptohack | 9ef672a5e2681104a1f2778982b4b7d60817e33e | [
"MIT"
] | null | null | null | hex_str = '63727970746f7b596f755f77696c6c5f62655f776f726b696e675f776974685f6865785f737472696e67735f615f6c6f747d'
print(bytes.fromhex(hex_str).decode('utf-8'))
| 53 | 112 | 0.886792 | 11 | 159 | 12.636364 | 0.818182 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.522581 | 0.025157 | 159 | 2 | 113 | 79.5 | 0.374194 | 0 | 0 | 0 | 0 | 0 | 0.660377 | 0.628931 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
ac138986e0ecd1f41f3649d7848bcd4c83562b71 | 153 | py | Python | medimodule/Abdomen/models/__init__.py | cuchoco/MI2RLNet | 4ef84e641705df9b10e627c701eb0c9ed924a82a | [
"Apache-2.0"
] | 9 | 2021-02-25T23:10:17.000Z | 2022-02-14T11:48:11.000Z | medimodule/Abdomen/models/__init__.py | cuchoco/MI2RLNet | 4ef84e641705df9b10e627c701eb0c9ed924a82a | [
"Apache-2.0"
] | null | null | null | medimodule/Abdomen/models/__init__.py | cuchoco/MI2RLNet | 4ef84e641705df9b10e627c701eb0c9ed924a82a | [
"Apache-2.0"
] | 7 | 2021-02-22T12:20:24.000Z | 2022-03-07T04:56:53.000Z | from .liver_seg import LiverSeg
from .polyp_det import PolypDet
from .kidney_tumor_seg import KidneyTumorSeg
from .kidney_tumor_seg import KidneyUtils | 38.25 | 45 | 0.856209 | 22 | 153 | 5.681818 | 0.545455 | 0.216 | 0.24 | 0.288 | 0.384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 153 | 4 | 46 | 38.25 | 0.925926 | 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 |
ac2a32f16e20ad75230ab2d9f8a9248c96c54043 | 8,216 | py | Python | iterative_deepening_test.py | zhangcshcn/Generic-Iterative-Deepening | a03c2b8764a5b113144371a5c285f31d5850c84b | [
"MIT"
] | 2 | 2018-02-20T01:27:25.000Z | 2018-02-28T10:54:45.000Z | iterative_deepening_test.py | zhangcshcn/Generic-Iterative-Deepening | a03c2b8764a5b113144371a5c285f31d5850c84b | [
"MIT"
] | 1 | 2018-03-01T05:44:43.000Z | 2018-03-01T05:44:43.000Z | iterative_deepening_test.py | zhangcshcn/Generic-Iterative-Deepening | a03c2b8764a5b113144371a5c285f31d5850c84b | [
"MIT"
] | 1 | 2020-10-06T04:42:13.000Z | 2020-10-06T04:42:13.000Z | #! /usr/bin/python2
# -*- coding: utf-8 -*-
import unittest
from iterative_deepening import State, Searchable, IterativeDeepening
class TreeNode(object):
def __init__(self, val=0):
self.val = val
self.left = None
self.right = None
class TreeState(State):
def __init__(self, state, history=None):
... | 31.358779 | 86 | 0.682084 | 1,073 | 8,216 | 5.055918 | 0.092265 | 0.149309 | 0.108387 | 0.127742 | 0.824332 | 0.801843 | 0.801843 | 0.800922 | 0.791705 | 0.791705 | 0 | 0.027213 | 0.203871 | 8,216 | 261 | 87 | 31.478927 | 0.802171 | 0.004869 | 0 | 0.703057 | 0 | 0 | 0.000979 | 0 | 0 | 0 | 0 | 0 | 0.283843 | 1 | 0.104803 | false | 0 | 0.008734 | 0.004367 | 0.139738 | 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 |
3bd3c30800bb11b1710e42cecc040ea087e90d92 | 5,654 | py | Python | Quantum_Procedural_Generation/runes.py | quantumjim/blog | bf371b82a8f61b68ee1a503496e4632cac04ce1f | [
"Apache-2.0"
] | 4 | 2019-10-16T07:16:53.000Z | 2019-12-28T18:28:24.000Z | Quantum_Procedural_Generation/runes.py | quantumjim/blog | bf371b82a8f61b68ee1a503496e4632cac04ce1f | [
"Apache-2.0"
] | null | null | null | Quantum_Procedural_Generation/runes.py | quantumjim/blog | bf371b82a8f61b68ee1a503496e4632cac04ce1f | [
"Apache-2.0"
] | 1 | 2019-12-09T19:37:06.000Z | 2019-12-09T19:37:06.000Z | runes=[{(0, 0): 0, (0, 1): 0, (0, 2): 0, (0, 3): 0, (0, 4): 0, (0, 5): 0, (0, 6): 0, (0, 7): 0, (1, 0): 1, (1, 1): 1, (1, 2): 1, (1, 3): 1, (1, 4): 1, (1, 5): 1, (1, 6): 1, (1, 7): 1, (2, 0): 1, (2, 1): 1, (2, 2): 1, (2, 3): 1, (2, 4): 1, (2, 5): 1, (2, 6): 1, (2, 7): 1, (3, 0): 1, (3, 1): 1, (3, 2): 1, (3, 3): 1, (3, ... | 5,654 | 5,654 | 0.27255 | 1,537 | 5,654 | 1.002602 | 0.005856 | 0.125892 | 0.044776 | 0.038936 | 0.988319 | 0.979234 | 0.979234 | 0.979234 | 0.968851 | 0.968851 | 0 | 0.372906 | 0.271489 | 5,654 | 1 | 5,654 | 5,654 | 0.001214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
02027c5d8ec756df9934f57dbc6757bab9198864 | 14,669 | py | Python | examples/alloptions/alloptions_nrpc.py | nats-rpc/python-nrpc | 1c8699f4c544ca988ce2f7afbe35033afd47f045 | [
"MIT"
] | 6 | 2019-02-28T22:45:01.000Z | 2021-02-04T16:09:52.000Z | examples/alloptions/alloptions_nrpc.py | nats-rpc/python-nrpc | 1c8699f4c544ca988ce2f7afbe35033afd47f045 | [
"MIT"
] | null | null | null | examples/alloptions/alloptions_nrpc.py | nats-rpc/python-nrpc | 1c8699f4c544ca988ce2f7afbe35033afd47f045 | [
"MIT"
] | 1 | 2019-06-30T13:36:46.000Z | 2019-06-30T13:36:46.000Z | # This file is automatically generated from alloptions.proto, DO NOT EDIT!
import asyncio
import nats.aio
import nrpc
import nrpc.exc
from nrpc import nrpc_pb2
import nrpc.nrpc_pb2 as nrpc_dot_nrpc__pb2
import alloptions_pb2 as alloptions__pb2
PKG_SUBJECT = "root"
PKG_SUBJECT_PARAMS = ["instance"]
PKG_SUBJECT_PARA... | 28.706458 | 88 | 0.508351 | 1,328 | 14,669 | 5.406627 | 0.09488 | 0.022563 | 0.031337 | 0.036769 | 0.768942 | 0.747911 | 0.731337 | 0.729805 | 0.716295 | 0.716295 | 0 | 0.00862 | 0.406844 | 14,669 | 510 | 89 | 28.762745 | 0.816573 | 0.004908 | 0 | 0.777778 | 1 | 0 | 0.054334 | 0.004522 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.022222 | 0.006667 | 0.088889 | 0.013333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 7 |
021e2cd1713565db577a0e08a48da7e216db290d | 33 | py | Python | inference/models/__init__.py | JRC1995/Continuous-RvNN | b33bdbd2f80119dc0fa3ed6d44865a3d45bc1e81 | [
"MIT"
] | 9 | 2021-06-08T13:29:26.000Z | 2022-03-29T17:29:46.000Z | inference/models/__init__.py | JRC1995/Continuous-RvNN | b33bdbd2f80119dc0fa3ed6d44865a3d45bc1e81 | [
"MIT"
] | null | null | null | inference/models/__init__.py | JRC1995/Continuous-RvNN | b33bdbd2f80119dc0fa3ed6d44865a3d45bc1e81 | [
"MIT"
] | null | null | null | from .NLI_model import NLI_model
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0281f8b1922a449405da5398bf0841f4ebc00f92 | 8,650 | py | Python | app/migrations/0008_auto_20200516_1705.py | abhijmics/Mediclear-Admin | d6f84d5aa94303b19e115e6d993caadda4df2ecf | [
"MIT"
] | null | null | null | app/migrations/0008_auto_20200516_1705.py | abhijmics/Mediclear-Admin | d6f84d5aa94303b19e115e6d993caadda4df2ecf | [
"MIT"
] | null | null | null | app/migrations/0008_auto_20200516_1705.py | abhijmics/Mediclear-Admin | d6f84d5aa94303b19e115e6d993caadda4df2ecf | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-05-16 11:35
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0007_auto_20200516_1700'),
]
operations = [
migrations.AlterField(
model_name='report',
name='address',
... | 36.192469 | 114 | 0.540116 | 851 | 8,650 | 5.378378 | 0.102233 | 0.196635 | 0.245794 | 0.285121 | 0.906052 | 0.906052 | 0.897531 | 0.897531 | 0.897531 | 0.897531 | 0 | 0.030354 | 0.318266 | 8,650 | 238 | 115 | 36.344538 | 0.745803 | 0.005202 | 0 | 0.775862 | 1 | 0 | 0.080437 | 0.002673 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00431 | 0 | 0.017241 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5a22be3bc32a63884832f9ab0f75b0c6ebee87f3 | 3,230 | py | Python | tools/deinterleave.py | ctring/Detock | a1171a511d9cd1f79cc3a8d54ec17f759d088de4 | [
"MIT"
] | null | null | null | tools/deinterleave.py | ctring/Detock | a1171a511d9cd1f79cc3a8d54ec17f759d088de4 | [
"MIT"
] | null | null | null | tools/deinterleave.py | ctring/Detock | a1171a511d9cd1f79cc3a8d54ec17f759d088de4 | [
"MIT"
] | null | null | null | """Group output of gtest by thread id
Example usage:
> python3 tools/deinterleave.py <<EOF
I1226 06:33:06.426666 11224 broker.cpp:113] Bound Broker to: ipc:///tmp/test_e2e0
I1226 06:33:06.427703 11224 broker.cpp:133] Sent READY message to ipc:///tmp/test_e2e0
I1226 06:33:06.447345 11232 broker.cpp:113] Bound Broker... | 52.95082 | 104 | 0.721672 | 568 | 3,230 | 4.038732 | 0.149648 | 0.08544 | 0.109852 | 0.134263 | 0.83871 | 0.83871 | 0.83871 | 0.83871 | 0.83871 | 0.83871 | 0 | 0.263849 | 0.128173 | 3,230 | 60 | 105 | 53.833333 | 0.550781 | 0.854489 | 0 | 0.111111 | 0 | 0 | 0.051836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.277778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0cb68a654e6d1e85ef73978d2a9c69ad6442c61c | 3,998 | py | Python | src/tests/cyk_test.py | Rimalon/formal-language-tasks | 16f110dbb658e714261958544c3d748ad5a14a12 | [
"MIT"
] | null | null | null | src/tests/cyk_test.py | Rimalon/formal-language-tasks | 16f110dbb658e714261958544c3d748ad5a14a12 | [
"MIT"
] | 2 | 2020-09-08T12:09:47.000Z | 2020-10-14T12:18:14.000Z | src/tests/cyk_test.py | Rimalon/formal-language-tasks | 16f110dbb658e714261958544c3d748ad5a14a12 | [
"MIT"
] | null | null | null | import unittest
from pyformlang.cfg import Terminal, Variable
from src.classes import CNF
from src.main.CYK import cyk
aSbS = '/home/travis/build/Rimalon/formal-language-tasks/src/tests/resources/grammar_aSbS_or_epsilon.txt'
aNbN = '/home/travis/build/Rimalon/formal-language-tasks/src/tests/resources/grammar_a^nb^n.... | 44.921348 | 118 | 0.596048 | 609 | 3,998 | 3.844007 | 0.090312 | 0.044425 | 0.043571 | 0.277659 | 0.841094 | 0.816318 | 0.789406 | 0.739 | 0.734729 | 0.688167 | 0 | 0.002551 | 0.215608 | 3,998 | 88 | 119 | 45.431818 | 0.743941 | 0 | 0 | 0.538462 | 0 | 0.038462 | 0.074537 | 0.070535 | 0 | 0 | 0 | 0 | 0.653846 | 1 | 0.064103 | false | 0 | 0.051282 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0b4f3f1111eca88078aaad0c140e84ae454a1b08 | 4,673 | py | Python | userbot/modules/animasi7.py | Wiki28/WikixCilik | a7e8d684e34174001af3e69d1f00de4e98243abe | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/animasi7.py | Wiki28/WikixCilik | a7e8d684e34174001af3e69d1f00de4e98243abe | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/animasi7.py | Wiki28/WikixCilik | a7e8d684e34174001af3e69d1f00de4e98243abe | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #greyyvbss
import asyncio
from userbot import CMD_HANDLER as cmd
from userbot import CMD_HELP
from userbot.utils import edit_or_reply, cilik_cmd
@cilik_cmd(pattern="cilik(?: |$)(.*)")
async def _(event):
if event.fwd_from:
return
animation_interval = 0.5
animation_ttl = range(11)
event... | 39.268908 | 143 | 0.28547 | 485 | 4,673 | 5.703093 | 0.173196 | 0.182936 | 0.190889 | 0.266088 | 0.841649 | 0.810195 | 0.768257 | 0.768257 | 0.768257 | 0.768257 | 0 | 0.005915 | 0.240317 | 4,673 | 118 | 144 | 39.601695 | 0.357746 | 0.001926 | 0 | 0.473684 | 0 | 0 | 0.482234 | 0.408629 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042105 | 0 | 0.073684 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f07c98981bb8f205ead60ed688b9882a5c31925f | 433 | py | Python | tests/unit/test_top_news_titles.py | matthewcheng222/COVID19_Smart_Alarm | 3e19ed869a44707525aabfe96823f0f5db0efab4 | [
"MIT"
] | null | null | null | tests/unit/test_top_news_titles.py | matthewcheng222/COVID19_Smart_Alarm | 3e19ed869a44707525aabfe96823f0f5db0efab4 | [
"MIT"
] | null | null | null | tests/unit/test_top_news_titles.py | matthewcheng222/COVID19_Smart_Alarm | 3e19ed869a44707525aabfe96823f0f5db0efab4 | [
"MIT"
] | null | null | null | import top_news_titles
def test_top_news_titles_outputtype():
assert isinstance(top_news_titles.top_news_titles(), str)
def test_top_news_titles_outputlength():
assert len(top_news_titles.top_news_titles()) > 0
def test_top_news_titles_outputuppercase():
assert top_news_titles.top_news_titles()[0].isuppe... | 30.928571 | 68 | 0.799076 | 67 | 433 | 4.656716 | 0.298507 | 0.291667 | 0.541667 | 0.179487 | 0.637821 | 0.38141 | 0.298077 | 0.211538 | 0 | 0 | 0 | 0.012887 | 0.103926 | 433 | 13 | 69 | 33.307692 | 0.791237 | 0 | 0 | 0 | 0 | 0 | 0.027714 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
b2be6dc85d515619df14ccbf6d14d5d8b7add751 | 144 | py | Python | src/utils.py | DeftWork/FlaskApp | cd9465e95df4eaa14ddd3a626134be91808e76a2 | [
"MIT"
] | null | null | null | src/utils.py | DeftWork/FlaskApp | cd9465e95df4eaa14ddd3a626134be91808e76a2 | [
"MIT"
] | 4 | 2021-06-08T21:47:01.000Z | 2022-03-12T00:35:17.000Z | src/utils.py | DeftWork/FlaskApp | cd9465e95df4eaa14ddd3a626134be91808e76a2 | [
"MIT"
] | null | null | null | import socket
def gethostname():
return socket.gethostname()
def getlocaladdress():
return socket.gethostbyname(socket.gethostname())
| 18 | 53 | 0.756944 | 14 | 144 | 7.785714 | 0.5 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 7 | 54 | 20.571429 | 0.879032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
653768702ac776de24377887b65c40f1056b46af | 3,490 | py | Python | test_main.py | joigno/cryptoalerts | e63da6f3b8d773325fd9604d0236b7fc50c7125c | [
"MIT"
] | null | null | null | test_main.py | joigno/cryptoalerts | e63da6f3b8d773325fd9604d0236b7fc50c7125c | [
"MIT"
] | 1 | 2022-03-29T19:39:21.000Z | 2022-03-29T19:39:21.000Z | test_main.py | joigno/cryptoalerts | e63da6f3b8d773325fd9604d0236b7fc50c7125c | [
"MIT"
] | null | null | null | from main import run
import json
def test_below_percentage():
alerts_text = '''
[
{
"portfolio": "volatility",
"name": "cash-up",
"type": "cash_percentage",
"condition": ">",
"value": "66.6",
"recipient" : "joigno",
"message" : "Cash Value of portfolio 'volatility' is above 66.6%",... | 20.898204 | 70 | 0.516046 | 361 | 3,490 | 4.880886 | 0.163435 | 0.150965 | 0.049943 | 0.090806 | 0.902384 | 0.902384 | 0.902384 | 0.902384 | 0.902384 | 0.893303 | 0 | 0.060985 | 0.290544 | 3,490 | 166 | 71 | 21.024096 | 0.650646 | 0 | 0 | 0.620253 | 0 | 0 | 0.737959 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 1 | 0.018987 | false | 0 | 0.012658 | 0 | 0.031646 | 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 |
334106c5e33551e11c8ead2410be7e48b4581a0c | 9,822 | py | Python | detection/tester.py | mataevs/persondetector | 08d21862474989cfc64bd182321b1eebf0cbd12b | [
"MIT"
] | null | null | null | detection/tester.py | mataevs/persondetector | 08d21862474989cfc64bd182321b1eebf0cbd12b | [
"MIT"
] | null | null | null | detection/tester.py | mataevs/persondetector | 08d21862474989cfc64bd182321b1eebf0cbd12b | [
"MIT"
] | null | null | null | __author__ = 'mataevs'
import tester_hog
import tester_icf
import cv2
import random
import utils
import os
import detection_checker
import optical_flow
from collections import Counter
import time
def test_multiscale(
hog_classifier_file,
icf_classifier_file,
hog_result_dir,
icf_result_... | 38.367188 | 141 | 0.624007 | 1,253 | 9,822 | 4.626496 | 0.132482 | 0.075901 | 0.131102 | 0.186303 | 0.778334 | 0.769018 | 0.769018 | 0.746248 | 0.730723 | 0.730723 | 0 | 0.069509 | 0.250051 | 9,822 | 255 | 142 | 38.517647 | 0.717486 | 0.139788 | 0 | 0.662857 | 0 | 0 | 0.252526 | 0.233028 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.057143 | null | null | 0.011429 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
336e3e082850e3f0276fc3283c09a37bb14bc4e0 | 153,541 | py | Python | tests/test_main.py | roehling/jello | 1073355e2bbfcd4f92af2584c9e539ce34859fc0 | [
"MIT"
] | null | null | null | tests/test_main.py | roehling/jello | 1073355e2bbfcd4f92af2584c9e539ce34859fc0 | [
"MIT"
] | null | null | null | tests/test_main.py | roehling/jello | 1073355e2bbfcd4f92af2584c9e539ce34859fc0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
import sys
import io
import contextlib
import unittest
from unittest.mock import patch
import jello.cli
from jello.lib import opts
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
class MyTests(unittest.TestCase):
def setUp(self):
# initialize options
opts... | 45.819457 | 12,740 | 0.60716 | 17,181 | 153,541 | 5.346429 | 0.015133 | 0.039714 | 0.084392 | 0.148927 | 0.835734 | 0.80007 | 0.744745 | 0.739595 | 0.732563 | 0.731615 | 0 | 0.026574 | 0.158121 | 153,541 | 3,350 | 12,741 | 45.833134 | 0.684047 | 0.029972 | 0 | 0.537237 | 0 | 0.036919 | 0.914397 | 0.400342 | 0 | 0 | 0 | 0 | 0.010185 | 1 | 0.010503 | false | 0.006047 | 0.002546 | 0 | 0.013367 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
336f1b7a21506cfec58038472545773c94776183 | 6,053 | py | Python | source/pkgsrc/devel/gyp/patches/patch-pylib_gyp_generator_make.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | 1 | 2021-11-20T22:46:39.000Z | 2021-11-20T22:46:39.000Z | source/pkgsrc/devel/gyp/patches/patch-pylib_gyp_generator_make.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | source/pkgsrc/devel/gyp/patches/patch-pylib_gyp_generator_make.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | $NetBSD: patch-pylib_gyp_generator_make.py,v 1.4 2014/08/25 13:20:12 fhajny Exp $
Force platform libtool na Darwin, see
https://code.google.com/p/gyp/issues/detail?id=354&q=libtool
Also, don't try to use thin archives on NetBSD, they appear not to work
("ar t <archive>" says "Malformed archive").
--- pylib/gyp/gener... | 48.424 | 181 | 0.660995 | 870 | 6,053 | 4.475862 | 0.266667 | 0.026708 | 0.034926 | 0.049307 | 0.80226 | 0.78454 | 0.75886 | 0.74037 | 0.723421 | 0.705958 | 0 | 0.017812 | 0.155956 | 6,053 | 124 | 182 | 48.814516 | 0.744373 | 0 | 0 | 0.265487 | 0 | 0.106195 | 0.075105 | 0.005777 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.00885 | 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 |
3370e9a195f091b360cc6cd67353cf91267beeff | 18,003 | py | Python | sdk/python/pulumi_aws/codestarconnections/host.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 260 | 2018-06-18T14:57:00.000Z | 2022-03-29T11:41:03.000Z | sdk/python/pulumi_aws/codestarconnections/host.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 1,154 | 2018-06-19T20:38:20.000Z | 2022-03-31T19:48:16.000Z | sdk/python/pulumi_aws/codestarconnections/host.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 115 | 2018-06-28T03:20:27.000Z | 2022-03-29T11:41:06.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 46.043478 | 306 | 0.663889 | 2,156 | 18,003 | 5.352968 | 0.09462 | 0.064812 | 0.064293 | 0.055281 | 0.852006 | 0.835803 | 0.805043 | 0.789013 | 0.756694 | 0.739537 | 0 | 0.004756 | 0.240793 | 18,003 | 390 | 307 | 46.161538 | 0.839625 | 0.396156 | 0 | 0.620853 | 1 | 0 | 0.118956 | 0.027901 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156398 | false | 0.004739 | 0.033175 | 0 | 0.28436 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68571c2636ced4e851e074b23a5a2e8c9762dbe0 | 37 | py | Python | app/auth/views.py | derriqo/Housemngr | a58a3cb26c1149235eba1e641e7974b9091bc86b | [
"MIT"
] | 1 | 2019-12-13T12:20:40.000Z | 2019-12-13T12:20:40.000Z | app/auth/views.py | derriqo/Housemngr | a58a3cb26c1149235eba1e641e7974b9091bc86b | [
"MIT"
] | 6 | 2021-02-08T20:34:04.000Z | 2022-03-11T23:56:28.000Z | app/auth/views.py | derriqo/Housemngr | a58a3cb26c1149235eba1e641e7974b9091bc86b | [
"MIT"
] | 6 | 2019-02-19T09:03:28.000Z | 2019-02-21T06:38:35.000Z | from . import auth
from .. import db
| 12.333333 | 18 | 0.702703 | 6 | 37 | 4.333333 | 0.666667 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 2 | 19 | 18.5 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
68a428800dfe0506cd4ace79a036d879b347b3a3 | 29,910 | py | Python | scalyr_agent/tests/line_matcher_test.py | echee2/scalyr-agent-2 | da7d168260b94dc95aedb5ae0dca03165e55cb02 | [
"Apache-2.0"
] | null | null | null | scalyr_agent/tests/line_matcher_test.py | echee2/scalyr-agent-2 | da7d168260b94dc95aedb5ae0dca03165e55cb02 | [
"Apache-2.0"
] | null | null | null | scalyr_agent/tests/line_matcher_test.py | echee2/scalyr-agent-2 | da7d168260b94dc95aedb5ae0dca03165e55cb02 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Scalyr 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 writing, so... | 35.312869 | 192 | 0.645503 | 3,312 | 29,910 | 5.634058 | 0.061896 | 0.100482 | 0.085531 | 0.111468 | 0.884191 | 0.864041 | 0.841479 | 0.830171 | 0.817203 | 0.782476 | 0 | 0.005274 | 0.252023 | 29,910 | 846 | 193 | 35.35461 | 0.828804 | 0.022033 | 0 | 0.79357 | 0 | 0.006768 | 0.076726 | 0.019258 | 0 | 0 | 0 | 0 | 0.211506 | 1 | 0.106599 | false | 0 | 0.01692 | 0.015228 | 0.153976 | 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 |
d7b7b2c495dadd1dece51ea84b905a23f0d499d2 | 127 | py | Python | src/gybc/statuses.py | tblanarik/gycb | 9481eadd5f9708a9c8d39cbe012ef8a8ba725ead | [
"MIT"
] | null | null | null | src/gybc/statuses.py | tblanarik/gycb | 9481eadd5f9708a9c8d39cbe012ef8a8ba725ead | [
"MIT"
] | null | null | null | src/gybc/statuses.py | tblanarik/gycb | 9481eadd5f9708a9c8d39cbe012ef8a8ba725ead | [
"MIT"
] | null | null | null | import gybc
import os
def texts():
return open(os.path.join(gybc.GYBC_PATH, '..', '..', 'bin', 'archive.txt')).readlines() | 25.4 | 91 | 0.637795 | 18 | 127 | 4.444444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 127 | 5 | 91 | 25.4 | 0.720721 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 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 |
d7d68a4bd950b7a546c95f189fb301d4a126b969 | 1,362 | py | Python | DeepLearning_from_Scratch/Chapter4_gradient_SimpleNet.py | taekwang94/code-exercise | cbba690d41b53a7e3800ea288f4b973a084f1359 | [
"MIT"
] | 1 | 2020-08-04T02:59:58.000Z | 2020-08-04T02:59:58.000Z | DeepLearning_from_Scratch/Chapter4_gradient_SimpleNet.py | taekwang94/code-exercise | cbba690d41b53a7e3800ea288f4b973a084f1359 | [
"MIT"
] | 1 | 2020-01-30T01:38:58.000Z | 2020-01-30T01:38:58.000Z | DeepLearning_from_Scratch/Chapter4_gradient_SimpleNet.py | taekwang94/code-exercise | cbba690d41b53a7e3800ea288f4b973a084f1359 | [
"MIT"
] | 1 | 2020-01-30T01:34:25.000Z | 2020-01-30T01:34:25.000Z | <<<<<<< HEAD
import sys,os
sys.path.append(os.pardir)
import numpy as np
from common.functions import softmax,cross_entropy_error
from common.gradient import numerical_gradient
class simple_Net:
def __init__(self):
self.W=np.random.rand(2,3) # 정규분포로 초기화
def predict(self,x):
return np.dot(x,sel... | 18.916667 | 56 | 0.651982 | 234 | 1,362 | 3.692308 | 0.222222 | 0.013889 | 0.078704 | 0.041667 | 0.949074 | 0.949074 | 0.949074 | 0.949074 | 0.949074 | 0.949074 | 0 | 0.042009 | 0.196035 | 1,362 | 71 | 57 | 19.183099 | 0.747032 | 0.01395 | 0 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.150943 | null | null | 0.075472 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d7dba90cd71205ebd9d8f1b4de1f07ed37df7f43 | 68 | py | Python | users/app/models/__init__.py | Kludex/fastapi-microservices | 4a89b254ed7ae023c2e3bf6421c9f5a0bc9e4408 | [
"MIT"
] | 84 | 2021-04-19T07:11:23.000Z | 2022-03-31T11:48:46.000Z | users/app/models/__init__.py | Bastien-BO/fastapi-microservices | ab8e2aaa999c22a4a2bb9b0a1e4796a3ed186fd8 | [
"MIT"
] | 31 | 2021-04-19T20:29:56.000Z | 2021-11-27T19:55:31.000Z | users/app/models/__init__.py | Bastien-BO/fastapi-microservices | ab8e2aaa999c22a4a2bb9b0a1e4796a3ed186fd8 | [
"MIT"
] | 11 | 2021-05-18T15:28:15.000Z | 2022-03-22T14:10:03.000Z | from app.models.items import Item
from app.models.users import User
| 22.666667 | 33 | 0.823529 | 12 | 68 | 4.666667 | 0.666667 | 0.25 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 34 | 34 | 0.933333 | 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 |
0be597bd2500ec808e9d4531a6ad0caf82d0a41b | 51,467 | py | Python | azure-mgmt-web/azure/mgmt/web/operations/certificate_orders_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | 1 | 2017-10-29T15:14:35.000Z | 2017-10-29T15:14:35.000Z | azure-mgmt-web/azure/mgmt/web/operations/certificate_orders_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/certificate_orders_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 47.087832 | 188 | 0.674704 | 5,338 | 51,467 | 6.29674 | 0.038966 | 0.038379 | 0.048554 | 0.034273 | 0.943086 | 0.943086 | 0.943086 | 0.936392 | 0.934993 | 0.934993 | 0 | 0.003101 | 0.229331 | 51,467 | 1,092 | 189 | 47.130952 | 0.844317 | 0.268813 | 0 | 0.887067 | 0 | 0.007286 | 0.200113 | 0.122609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034608 | false | 0 | 0.007286 | 0 | 0.105647 | 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 |
040b001f6d6083cf6e1cb1e63d77370e9a5f9702 | 16,966 | py | Python | ecs/core/tests/test_submissions.py | programmierfabrik/ecs | 2389a19453e21b2ea4e40b272552bcbd42b926a9 | [
"Apache-2.0"
] | 9 | 2017-02-13T18:17:13.000Z | 2020-11-21T20:15:54.000Z | ecs/core/tests/test_submissions.py | programmierfabrik/ecs | 2389a19453e21b2ea4e40b272552bcbd42b926a9 | [
"Apache-2.0"
] | 2 | 2021-05-20T14:26:47.000Z | 2021-05-20T14:26:48.000Z | ecs/core/tests/test_submissions.py | programmierfabrik/ecs | 2389a19453e21b2ea4e40b272552bcbd42b926a9 | [
"Apache-2.0"
] | 4 | 2017-04-02T18:48:59.000Z | 2021-11-23T15:40:35.000Z | import os
from django.utils import timezone
from ecs.core.models import Submission, SubmissionForm, EthicsCommission, Investigator
from ecs.documents.models import Document, DocumentType
from ecs.utils.testcases import EcsTestCase
from ecs.users.utils import get_or_create_user, create_user
TEST_PDF = os.path.join(os... | 43.280612 | 156 | 0.671284 | 1,902 | 16,966 | 5.604101 | 0.196109 | 0.049536 | 0.037152 | 0.059105 | 0.810864 | 0.807111 | 0.804391 | 0.804391 | 0.804391 | 0.804391 | 0 | 0.013454 | 0.246493 | 16,966 | 391 | 157 | 43.391304 | 0.820322 | 0.04898 | 0 | 0.845714 | 0 | 0 | 0.116084 | 0.004979 | 0 | 0 | 0 | 0 | 0.005714 | 1 | 0.017143 | false | 0 | 0.017143 | 0 | 0.045714 | 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 |
04119c10045cdbb307cbfbb8c52807ef4335c621 | 33,884 | py | Python | checkerpy/tests/validators/one/test_justlen.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | 1 | 2018-01-12T19:20:51.000Z | 2018-01-12T19:20:51.000Z | checkerpy/tests/validators/one/test_justlen.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | null | null | null | checkerpy/tests/validators/one/test_justlen.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | null | null | null | import logging
import unittest as ut
from collections import deque, defaultdict, OrderedDict
from ....validators.one import JustLen
from ....exceptions import LenError, IntError, CallableError
from ....types.one import _ITERABLES
from ....types.weak import _LIKE_ITERABLES
from ....functional import CompositionOf
clas... | 47.994334 | 79 | 0.612501 | 4,727 | 33,884 | 4.20055 | 0.029617 | 0.036865 | 0.061442 | 0.064515 | 0.924053 | 0.916247 | 0.90693 | 0.897714 | 0.882554 | 0.869309 | 0 | 0.024499 | 0.259149 | 33,884 | 705 | 80 | 48.062411 | 0.766482 | 0 | 0 | 0.561688 | 0 | 0.012987 | 0.197586 | 0 | 0 | 0 | 0 | 0 | 0.400974 | 1 | 0.133117 | false | 0.001623 | 0.012987 | 0.001623 | 0.152597 | 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 |
0417459d1ee31c320551abac1621c3020ff7c9a7 | 4,464 | py | Python | SpherePath.py | YoushaaMurhij/KR3_R540_AR_VR_Control | cb41a60935d7ae3b459d479f7b0ada0f364bbc33 | [
"Apache-2.0"
] | 3 | 2020-07-08T09:56:34.000Z | 2021-05-12T07:35:46.000Z | SpherePath.py | YoushaaMurhij/KR3_R540_AR_VR_Control | cb41a60935d7ae3b459d479f7b0ada0f364bbc33 | [
"Apache-2.0"
] | null | null | null | SpherePath.py | YoushaaMurhij/KR3_R540_AR_VR_Control | cb41a60935d7ae3b459d479f7b0ada0f364bbc33 | [
"Apache-2.0"
] | 1 | 2021-07-23T08:04:24.000Z | 2021-07-23T08:04:24.000Z | # Draw a hexagon around the Target 1
from robolink import * # RoboDK's API
from robodk import * # Math toolbox for robots
# Start the RoboDK API:
RDK = Robolink()
# Get the robot (first robot found):
robot = RDK.Item('', ITEM_TYPE_ROBOT)
# Get the reference target by name:
target = RDK.Item('Target 1')
target... | 31 | 57 | 0.598118 | 822 | 4,464 | 3.118005 | 0.103406 | 0.098322 | 0.112368 | 0.053063 | 0.802575 | 0.769411 | 0.761998 | 0.761998 | 0.738978 | 0.723761 | 0 | 0.044726 | 0.203629 | 4,464 | 143 | 58 | 31.216783 | 0.676231 | 0.458557 | 0 | 0.776119 | 0 | 0 | 0.012281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029851 | 0 | 0.029851 | 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 |
f098dc58ae44414f096a968db4ccb2bc034f78d9 | 4,104 | py | Python | models/transformer_qa.py | jeffdshen/squad | 61ed2120fc06f5e33204200ac0f8d86d1da6f361 | [
"MIT"
] | null | null | null | models/transformer_qa.py | jeffdshen/squad | 61ed2120fc06f5e33204200ac0f8d86d1da6f361 | [
"MIT"
] | null | null | null | models/transformer_qa.py | jeffdshen/squad | 61ed2120fc06f5e33204200ac0f8d86d1da6f361 | [
"MIT"
] | null | null | null | """Various full transformer models for QA.
Author:
Jeffrey Shen
"""
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.cuda.amp as amp
import models.transformer as T
class GloveTransformerQA(nn.Module):
def __init__(
self,
dim,
n_heads,
ff_dim,
... | 28.109589 | 66 | 0.541179 | 516 | 4,104 | 4.122093 | 0.155039 | 0.018806 | 0.019746 | 0.015045 | 0.86977 | 0.86977 | 0.86977 | 0.86977 | 0.86977 | 0.86977 | 0 | 0.01547 | 0.33845 | 4,104 | 146 | 67 | 28.109589 | 0.767956 | 0.084308 | 0 | 0.886957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104348 | false | 0 | 0.043478 | 0.069565 | 0.252174 | 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 |
f0c396f04c14b94520c437db9d012b0597475c3a | 13,995 | py | Python | tns_check.py | changsuchoi/cspy | 9fa8f125bed368f636ea19180e742f8304bbc432 | [
"MIT"
] | null | null | null | tns_check.py | changsuchoi/cspy | 9fa8f125bed368f636ea19180e742f8304bbc432 | [
"MIT"
] | null | null | null | tns_check.py | changsuchoi/cspy | 9fa8f125bed368f636ea19180e742f8304bbc432 | [
"MIT"
] | null | null | null | # daily tns report
# unclassified AT
# classified object
# include FRB
# save csv file as tns_search.csv in /home/cschoi/Download
# https://www.wis-tns.org/content/tns-getting-started
import os
import astropy.io.ascii as ascii
import sys
from astropy.table import Table, Column
import astropy.coordinates as coord
from ... | 55.098425 | 1,791 | 0.817506 | 2,368 | 13,995 | 4.603041 | 0.166385 | 0.019266 | 0.059633 | 0.021835 | 0.739266 | 0.735138 | 0.731101 | 0.720092 | 0.712202 | 0.704771 | 0 | 0.049741 | 0.049018 | 13,995 | 253 | 1,792 | 55.316206 | 0.769254 | 0.183637 | 0 | 0 | 0 | 0.111111 | 0.887557 | 0.014744 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.518519 | null | null | 0.074074 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
f0e72a87fa7ce9b1264f70ed19e101617491ddc1 | 6,954 | py | Python | worms/tests/test_pose_contortions.py | abiedermann/worms | 026c45a88d5c71b0e035ac83de6f4dc107316ed8 | [
"Apache-2.0"
] | 4 | 2018-01-30T23:13:43.000Z | 2021-02-12T22:36:54.000Z | worms/tests/test_pose_contortions.py | abiedermann/worms | 026c45a88d5c71b0e035ac83de6f4dc107316ed8 | [
"Apache-2.0"
] | 9 | 2018-02-23T00:52:25.000Z | 2022-01-26T00:02:32.000Z | worms/tests/test_pose_contortions.py | abiedermann/worms | 026c45a88d5c71b0e035ac83de6f4dc107316ed8 | [
"Apache-2.0"
] | 4 | 2018-06-28T21:30:14.000Z | 2022-03-30T17:50:42.000Z | from functools import partial
import pytest
from worms.segments import Spliceable, Segment
from worms.tests import only_if_pyrosetta
from worms.pose_contortions import reorder_spliced_as_N_to_C
def test_reorder_spliced_as_N_to_C():
Q = reorder_spliced_as_N_to_C
with pytest.raises(ValueError):
Q([[1], [1],... | 28.5 | 96 | 0.410986 | 1,143 | 6,954 | 2.454068 | 0.067367 | 0.045633 | 0.038503 | 0.044207 | 0.836364 | 0.799287 | 0.754367 | 0.74082 | 0.703387 | 0.635294 | 0 | 0.121886 | 0.301553 | 6,954 | 243 | 97 | 28.617284 | 0.455631 | 0 | 0 | 0.580786 | 0 | 0 | 0.015531 | 0 | 0 | 0 | 0 | 0 | 0.279476 | 1 | 0.008734 | false | 0 | 0.021834 | 0 | 0.030568 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0b0b2148c60fcc1bc1776363e3c2b2eadf3f3486 | 84 | py | Python | source/AI/KI_testing/test_game_ai/framework_tutorial-master/gym_game/envs/__init__.py | JonasHimmetsbergerStudent/ScribbleFight | b896a152b26fde5a57cd72cea074c952c4ea0de9 | [
"MIT"
] | null | null | null | source/AI/KI_testing/test_game_ai/framework_tutorial-master/gym_game/envs/__init__.py | JonasHimmetsbergerStudent/ScribbleFight | b896a152b26fde5a57cd72cea074c952c4ea0de9 | [
"MIT"
] | 3 | 2021-07-09T21:32:37.000Z | 2021-07-09T21:55:02.000Z | PyRacing1/gym_game/envs/__init__.py | CeVauDe/bugfree-game-about-bugs | ff1b3e07188fca1775fcc1ce95b59b188c29cee2 | [
"MIT"
] | null | null | null | from gym_game.envs.custom_env import *
from gym_game.envs.pygame_2d import PyGame2D
| 28 | 44 | 0.845238 | 15 | 84 | 4.466667 | 0.666667 | 0.208955 | 0.328358 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.095238 | 84 | 2 | 45 | 42 | 0.855263 | 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 |
0b0e73847aa96a20fc1c98841784609b75698088 | 2,375 | py | Python | asv_bench/benchmarks/panel_ctor.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 2 | 2017-05-07T02:08:12.000Z | 2017-12-14T01:47:47.000Z | asv_bench/benchmarks/panel_ctor.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2016-09-30T11:15:32.000Z | 2016-09-30T11:15:32.000Z | asv_bench/benchmarks/panel_ctor.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2018-12-30T14:53:50.000Z | 2018-12-30T14:53:50.000Z | from .pandas_vb_common import *
class panel_from_dict_all_different_indexes(object):
goal_time = 0.2
def setup(self):
self.data_frames = {}
self.start = datetime(1990, 1, 1)
self.end = datetime(2012, 1, 1)
for x in range(100):
self.end += timedelta(days=1)
... | 37.109375 | 131 | 0.590737 | 356 | 2,375 | 3.761236 | 0.151685 | 0.089619 | 0.116505 | 0.053771 | 0.974608 | 0.953697 | 0.935026 | 0.935026 | 0.935026 | 0.843913 | 0 | 0.047778 | 0.242105 | 2,375 | 64 | 132 | 37.109375 | 0.696111 | 0 | 0 | 0.791667 | 0 | 0 | 0.005051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.020833 | 0 | 0.354167 | 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 |
9beb2c1f2392c8473194753b1eeb383bc5075390 | 1,995 | py | Python | tests/test_grid.py | elizabrock/adventofcode | 542d86df55696e60b9044a468d9231650b93594c | [
"MIT"
] | null | null | null | tests/test_grid.py | elizabrock/adventofcode | 542d86df55696e60b9044a468d9231650b93594c | [
"MIT"
] | null | null | null | tests/test_grid.py | elizabrock/adventofcode | 542d86df55696e60b9044a468d9231650b93594c | [
"MIT"
] | null | null | null | from unittest import TestCase
from day6 import Grid
class TestGrid(TestCase):
def test_lights_start_out_off(self):
grid = Grid()
self.assertEqual(0, grid.lights_on_count())
def test_toggle_one_light(self):
grid = Grid()
self.assertEqual(0, grid.lights_on_count())
grid.t... | 35 | 52 | 0.622055 | 299 | 1,995 | 3.899666 | 0.100334 | 0.049743 | 0.205832 | 0.291595 | 0.876501 | 0.876501 | 0.876501 | 0.876501 | 0.814751 | 0.807033 | 0 | 0.051862 | 0.246115 | 1,995 | 57 | 53 | 35 | 0.723404 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.14 | false | 0 | 0.04 | 0 | 0.2 | 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 |
50512dbe4c53402d2adeefe63cc029540803985a | 98 | py | Python | minesweeper/agents/__init__.py | MathisFederico/Minesweeper | b66b41066e325813b24497d2caca0a11c048e18b | [
"MIT"
] | 1 | 2020-12-23T11:52:40.000Z | 2020-12-23T11:52:40.000Z | minesweeper/agents/__init__.py | MathisFederico/Minesweeper | b66b41066e325813b24497d2caca0a11c048e18b | [
"MIT"
] | null | null | null | minesweeper/agents/__init__.py | MathisFederico/Minesweeper | b66b41066e325813b24497d2caca0a11c048e18b | [
"MIT"
] | null | null | null | from minesweeper.agents.random import RandomAgent
from minesweeper.agents.human import HumanAgent
| 32.666667 | 49 | 0.877551 | 12 | 98 | 7.166667 | 0.666667 | 0.348837 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 50 | 49 | 0.955556 | 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 |
50564d9667feda8f80eb1aa984752c032acd1f00 | 36,783 | py | Python | sift_pyx12/test/test_map_walker.py | sifthealthcare/sift-pyx12 | 97b38fd8b681f149570ac9d5cae0fe868a7722f2 | [
"BSD-3-Clause"
] | null | null | null | sift_pyx12/test/test_map_walker.py | sifthealthcare/sift-pyx12 | 97b38fd8b681f149570ac9d5cae0fe868a7722f2 | [
"BSD-3-Clause"
] | 2 | 2021-11-12T18:35:11.000Z | 2021-11-12T18:35:31.000Z | sift_pyx12/test/test_map_walker.py | sifthealthcare/sift-pyx12 | 97b38fd8b681f149570ac9d5cae0fe868a7722f2 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import sift_pyx12.error_handler
from sift_pyx12.map_walker import walk_tree, get_id_list, traverse_path, pop_to_parent_loop
import sift_pyx12.map_if
import sift_pyx12.params
import sift_pyx12.path
import sift_pyx12.segment
class Explicit_Loops(unittest.TestCase):
def setUp(self):
self.w... | 42.77093 | 116 | 0.618791 | 4,992 | 36,783 | 4.354567 | 0.061899 | 0.120066 | 0.04016 | 0.088325 | 0.895989 | 0.881728 | 0.865949 | 0.846766 | 0.821235 | 0.794645 | 0 | 0.051353 | 0.227605 | 36,783 | 859 | 117 | 42.820722 | 0.713773 | 0.050132 | 0 | 0.727007 | 0 | 0 | 0.114231 | 0.067801 | 0 | 0 | 0 | 0 | 0.332847 | 1 | 0.086131 | false | 0 | 0.010219 | 0 | 0.112409 | 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 |
505c0134c92337c1c6516a76ae59979c8b898bcd | 37,362 | py | Python | provider/blacklist.py | gnott/elife-bot | 584c315d15d1289e0d2c27c28aaaae31174812e4 | [
"MIT"
] | null | null | null | provider/blacklist.py | gnott/elife-bot | 584c315d15d1289e0d2c27c28aaaae31174812e4 | [
"MIT"
] | null | null | null | provider/blacklist.py | gnott/elife-bot | 584c315d15d1289e0d2c27c28aaaae31174812e4 | [
"MIT"
] | null | null | null | """Blacklist particular articles from doing particular activities"""
def publication_email_article_do_not_send_list():
"""
Return list of do not send article DOI id
"""
do_not_send_list = [
"00003", "00005", "00007", "00011", "00012", "00013", "00031", "00036", "00047", "00048",
"00049... | 73.40275 | 97 | 0.48006 | 3,585 | 37,362 | 4.995537 | 0.359275 | 0.002513 | 0.004523 | 0.003629 | 0.872355 | 0.862583 | 0.847954 | 0.836228 | 0.831761 | 0.828075 | 0 | 0.611617 | 0.239254 | 37,362 | 508 | 98 | 73.547244 | 0.018471 | 0.008244 | 0 | 0.00818 | 0 | 0 | 0.469959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00409 | false | 0 | 0 | 0 | 0.00818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
acc9e27950321a8c093397fb1f1f1fa98bac3e8d | 599 | py | Python | day5/test_day5.py | chrisb87/advent_of_code_2016 | 668a7c5e3f2aac036dcf0091ca62a47cb0c54ba8 | [
"Unlicense"
] | 1 | 2016-12-07T20:28:12.000Z | 2016-12-07T20:28:12.000Z | day5/test_day5.py | chrisb87/advent_of_code_2016 | 668a7c5e3f2aac036dcf0091ca62a47cb0c54ba8 | [
"Unlicense"
] | null | null | null | day5/test_day5.py | chrisb87/advent_of_code_2016 | 668a7c5e3f2aac036dcf0091ca62a47cb0c54ba8 | [
"Unlicense"
] | null | null | null | import unittest
from day5 import *
class TestDay5Part1(unittest.TestCase):
@unittest.skip("slow")
def test_compute_code_example_input(self):
self.assertEqual(compute_code('abc'), '18f47a30')
@unittest.skip("slow")
def test_compute_code_actual(self):
self.assertEqual(compute_code('ffykfhsq'), 'c6697b55')
clas... | 28.52381 | 58 | 0.774624 | 77 | 599 | 5.766234 | 0.337662 | 0.198198 | 0.144144 | 0.171171 | 0.734234 | 0.734234 | 0.72973 | 0.72973 | 0.72973 | 0.72973 | 0 | 0.04918 | 0.083472 | 599 | 20 | 59 | 29.95 | 0.759563 | 0 | 0 | 0.5 | 0 | 0 | 0.116861 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
acdc88402edc131a208f4f50e53e77929a305622 | 145 | py | Python | src/accounts/Views/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | null | null | null | src/accounts/Views/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | 4 | 2021-03-30T12:35:36.000Z | 2021-06-10T18:11:24.000Z | src/accounts/Views/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | 2 | 2021-02-07T16:16:36.000Z | 2021-07-13T05:26:51.000Z | from .LogoutView import *
from .LoginView import *
from .RegisterView import *
from .ResetPasswordView import *
from .ChangePasswordView import * | 29 | 33 | 0.8 | 15 | 145 | 7.733333 | 0.466667 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 5 | 33 | 29 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
ace06146409e531320decade0df4e312ca2d39b1 | 23,531 | py | Python | sdk/python/pulumi_wavefront/cloud_integration_gcp_billing.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-02-20T09:48:33.000Z | 2022-02-20T09:48:33.000Z | sdk/python/pulumi_wavefront/cloud_integration_gcp_billing.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | 40 | 2020-08-12T08:37:24.000Z | 2022-03-31T15:51:17.000Z | sdk/python/pulumi_wavefront/cloud_integration_gcp_billing.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 44.065543 | 162 | 0.653393 | 2,852 | 23,531 | 5.169705 | 0.070827 | 0.090274 | 0.075963 | 0.04924 | 0.864623 | 0.848142 | 0.835052 | 0.810092 | 0.802835 | 0.793136 | 0 | 0.002092 | 0.248353 | 23,531 | 533 | 163 | 44.148218 | 0.831515 | 0.329905 | 0 | 0.726962 | 1 | 0 | 0.103565 | 0.035376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16041 | false | 0.003413 | 0.017065 | 0 | 0.273038 | 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 |
c5adec84caad83e591889aed74bb615e91728c5a | 369 | py | Python | clean/utils/unique.py | bahnlink/pyclean | 558d75341082472606788e088809831f6ea543c0 | [
"MIT"
] | null | null | null | clean/utils/unique.py | bahnlink/pyclean | 558d75341082472606788e088809831f6ea543c0 | [
"MIT"
] | 2 | 2021-03-25T21:49:39.000Z | 2021-06-01T22:12:00.000Z | clean/utils/unique.py | bahnlink/pyclean | 558d75341082472606788e088809831f6ea543c0 | [
"MIT"
] | 1 | 2018-06-07T17:31:56.000Z | 2018-06-07T17:31:56.000Z | import uuid
import shortuuid
class UniqueGenerator:
@staticmethod
def generate() -> str:
raise NotImplementedError
class UUIDGenerator(UniqueGenerator):
@staticmethod
def generate():
return str(uuid.uuid4())
class ShortUUIDGenerator(UniqueGenerator):
@staticmethod
def ge... | 15.375 | 42 | 0.682927 | 32 | 369 | 7.875 | 0.46875 | 0.321429 | 0.357143 | 0.452381 | 0.325397 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003534 | 0.233062 | 369 | 23 | 43 | 16.043478 | 0.886926 | 0 | 0 | 0.357143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | true | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
a839aa9842344290eb2d1e9b4ac059cc4477ba14 | 3,023 | py | Python | dateparser/data/numeral_translation_data/lv.py | bazingarj/dateparser | 48c4563fb7f6ce685fbd6d27e9e83257521d2203 | [
"BSD-3-Clause"
] | 8 | 2019-11-15T21:00:15.000Z | 2021-12-21T22:09:42.000Z | dateparser/data/numeral_translation_data/lv.py | bazingarj/dateparser | 48c4563fb7f6ce685fbd6d27e9e83257521d2203 | [
"BSD-3-Clause"
] | 9 | 2020-06-05T21:28:57.000Z | 2022-02-12T12:30:39.000Z | dateparser/data/numeral_translation_data/lv.py | bazingarj/dateparser | 48c4563fb7f6ce685fbd6d27e9e83257521d2203 | [
"BSD-3-Clause"
] | 21 | 2019-03-11T04:25:23.000Z | 2022-02-03T08:54:33.000Z | # -*- coding: utf-8 -*-
info = {
"%%spellout-prefixed": {
"0": "ERROR;",
"1": "vien;",
"2": "div;",
"3": "trīs;",
"4": "četr;",
"5": "piec;",
"6": "seš;",
"7": "septiņ;",
"8": "astoņ;",
"9": "deviņ;",
"(10, 'inf')": "ERROR;"
... | 39.25974 | 98 | 0.474032 | 229 | 3,023 | 6.257642 | 0.393013 | 0.133985 | 0.191905 | 0.027913 | 0.71598 | 0.71598 | 0.71598 | 0.71598 | 0.71598 | 0.71598 | 0 | 0.239198 | 0.25736 | 3,023 | 77 | 99 | 39.25974 | 0.399109 | 0.006947 | 0 | 0.434211 | 0 | 0 | 0.628457 | 0.213262 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a859323fd81f195b482800ac1c0765c58ea04512 | 38 | py | Python | tests/py_tests/test_faint/paths.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 10 | 2016-12-28T22:06:31.000Z | 2021-05-24T13:42:30.000Z | tests/py_tests/test_faint/paths.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 4 | 2015-10-09T23:55:10.000Z | 2020-04-04T08:09:22.000Z | tests/py_tests/test_faint/paths.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | null | null | null | def get_test_out_path():
return
| 12.666667 | 25 | 0.684211 | 6 | 38 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 38 | 2 | 26 | 19 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
a86d6b6f0079e5d4a0d096ee6f48b2fc4b60e24f | 20,255 | py | Python | datasets/convert_vis_val1.py | deeplearning-wisc/stud | b667a369e368181ef6e913c32f26e574bead9b56 | [
"Apache-2.0"
] | 22 | 2022-03-09T03:13:10.000Z | 2022-03-31T02:45:50.000Z | datasets/convert_vis_val1.py | deeplearning-wisc/stud | b667a369e368181ef6e913c32f26e574bead9b56 | [
"Apache-2.0"
] | 1 | 2022-03-22T12:27:38.000Z | 2022-03-22T22:45:46.000Z | datasets/convert_vis_val1.py | deeplearning-wisc/stud | b667a369e368181ef6e913c32f26e574bead9b56 | [
"Apache-2.0"
] | 2 | 2022-03-21T02:32:53.000Z | 2022-03-22T18:43:52.000Z | import json
import numpy as np
video = json.load(open('/nobackup-slow/dataset/my_xfdu/video/vis/train/instances.json'))
all_video_id = list(range(1, len(video['videos']) + 1))
num_train_video = int(len(all_video_id) * 0.8)
all_categories = [{'supercategory': 'object', 'id': 1, 'name': 'airplane'}, {'supercategory': '... | 55.953039 | 141 | 0.526142 | 2,223 | 20,255 | 4.573099 | 0.088169 | 0.103876 | 0.125516 | 0.037183 | 0.879697 | 0.771592 | 0.734802 | 0.73431 | 0.720539 | 0.713653 | 0 | 0.051147 | 0.305011 | 20,255 | 361 | 142 | 56.108033 | 0.671024 | 0.024636 | 0 | 0.764505 | 0 | 0 | 0.234029 | 0.024306 | 0 | 0 | 0 | 0 | 0.006826 | 1 | 0 | false | 0 | 0.006826 | 0 | 0.006826 | 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 |
a88e05ddea54b9bb4e52ec3fae22b523ca65f2af | 123,294 | py | Python | lcm/ns_vnfs/tests/tests.py | onap/vfc-nfvo-lcm | b7d4d015fa96a246d73d863092d3362afcedc284 | [
"Apache-2.0"
] | 4 | 2018-08-29T02:51:38.000Z | 2021-11-16T11:36:11.000Z | lcm/ns_vnfs/tests/tests.py | onap/vfc-nfvo-lcm | b7d4d015fa96a246d73d863092d3362afcedc284 | [
"Apache-2.0"
] | null | null | null | lcm/ns_vnfs/tests/tests.py | onap/vfc-nfvo-lcm | b7d4d015fa96a246d73d863092d3362afcedc284 | [
"Apache-2.0"
] | 1 | 2019-05-12T08:21:19.000Z | 2019-05-12T08:21:19.000Z | # Copyright 2016-2017 ZTE Corporation.
#
# 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 t... | 48.105345 | 147 | 0.536766 | 11,949 | 123,294 | 5.259687 | 0.053059 | 0.022244 | 0.046445 | 0.045157 | 0.891468 | 0.871118 | 0.855143 | 0.83939 | 0.821792 | 0.792022 | 0 | 0.022483 | 0.339116 | 123,294 | 2,562 | 148 | 48.124122 | 0.748819 | 0.017941 | 0 | 0.717784 | 0 | 0.000859 | 0.210135 | 0.071874 | 0 | 0 | 0 | 0 | 0.06744 | 1 | 0.056271 | false | 0.002148 | 0.012887 | 0.013746 | 0.088918 | 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 |
a8cace8d0a0a1acb54aa433a83484d4a44a5121b | 614 | py | Python | violations.py | rodrigo-nogues/flake8-annotations | b87d6e5f8750f98a53aa1b7acd58e43f1614c50d | [
"MIT"
] | 10 | 2020-02-10T09:37:34.000Z | 2022-02-22T08:19:06.000Z | violations.py | rodrigo-nogues/flake8-annotations | b87d6e5f8750f98a53aa1b7acd58e43f1614c50d | [
"MIT"
] | 2 | 2020-06-14T19:51:58.000Z | 2021-04-22T21:02:30.000Z | violations.py | rodrigo-nogues/flake8-annotations | b87d6e5f8750f98a53aa1b7acd58e43f1614c50d | [
"MIT"
] | 5 | 2020-02-10T09:37:43.000Z | 2021-12-31T09:23:11.000Z | import time
def violation(ARG):
if ARG:
return 0
else:
if ARG > 0:
if ARG == 1:
return 1
elif ARG == 2:
return 2
elif ARG == 3:
return 3
elif ARG == 4:
return 4
else:
... | 21.172414 | 27 | 0.307818 | 60 | 614 | 3.15 | 0.25 | 0.222222 | 0.095238 | 0.126984 | 0.730159 | 0.730159 | 0.730159 | 0.730159 | 0.730159 | 0.730159 | 0 | 0.086207 | 0.62215 | 614 | 28 | 28 | 21.928571 | 0.728448 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.037037 | 0 | 0.481481 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 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 |
a8d49d0d1a9a99efbca571516710f0608783ee12 | 15,265 | py | Python | Alignment_full.py | EclipseCN/Omics2018 | eac75461000b265c027af73aa600e2bc97b449df | [
"MIT"
] | null | null | null | Alignment_full.py | EclipseCN/Omics2018 | eac75461000b265c027af73aa600e2bc97b449df | [
"MIT"
] | null | null | null | Alignment_full.py | EclipseCN/Omics2018 | eac75461000b265c027af73aa600e2bc97b449df | [
"MIT"
] | 1 | 2018-10-03T04:55:20.000Z | 2018-10-03T04:55:20.000Z | #这是用于序列比对的code
#完整版
def alignment(str1,str2):
m=len(str1)
n=len(str2)
arr=[[None]*(m+1) for i in range(n+1)]
for i in range(m+1):
arr[0][i]=0
for i in range(n+1):
arr[i][0]=0
for i in range(1,n+1):
for j in range(1,m+1):
maxLength=-1
if arr[i-1][j]... | 39.040921 | 100 | 0.504487 | 2,196 | 15,265 | 3.477231 | 0.053279 | 0.019906 | 0.020822 | 0.021215 | 0.819277 | 0.796883 | 0.787978 | 0.774882 | 0.772394 | 0.772394 | 0 | 0.041574 | 0.324009 | 15,265 | 390 | 101 | 39.141026 | 0.695319 | 0.002227 | 0 | 0.745358 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.005305 | null | null | 0.180371 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
768f354173751e7640a0be05fde7bfa220cf4077 | 113 | py | Python | models/__init__.py | ByungKwanLee/Masking-Adversarial-Damage | 30c39f889b320e26685aab418e7e6b2cc1d12e93 | [
"MIT"
] | 3 | 2022-03-11T10:29:20.000Z | 2022-03-13T07:31:31.000Z | models/__init__.py | ByungKwanLee/Masking-Adversarial-Damage | 30c39f889b320e26685aab418e7e6b2cc1d12e93 | [
"MIT"
] | null | null | null | models/__init__.py | ByungKwanLee/Masking-Adversarial-Damage | 30c39f889b320e26685aab418e7e6b2cc1d12e93 | [
"MIT"
] | null | null | null | from .vgg import *
from .resnet import *
from .wide import *
from .vgg_mask import *
from .resnet_mask import *
| 16.142857 | 26 | 0.725664 | 17 | 113 | 4.705882 | 0.352941 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 113 | 6 | 27 | 18.833333 | 0.869565 | 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 |
76b923efbdf9e4d7e4dfbaeca356da8636405366 | 4,251 | py | Python | tests/filters/test_time_filters.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 14 | 2016-08-15T13:08:55.000Z | 2021-11-17T11:43:20.000Z | tests/filters/test_time_filters.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 141 | 2016-08-14T15:36:35.000Z | 2022-02-17T08:53:52.000Z | tests/filters/test_time_filters.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 18 | 2016-10-01T21:30:22.000Z | 2022-03-28T10:51:41.000Z | from django.test import TestCase, Client
from binder.json import jsonloads
from django.contrib.auth.models import User
from ..testapp.models import Zoo
import os
# This is not possible in
if os.environ.get('BINDER_TEST_MYSQL', '0') != '1':
class TimeFiltersTest(TestCase):
def setUp(self):
super().setUp()
u ... | 35.722689 | 119 | 0.687368 | 580 | 4,251 | 4.92069 | 0.153448 | 0.173441 | 0.08199 | 0.095655 | 0.804135 | 0.79047 | 0.765242 | 0.765242 | 0.753329 | 0.721444 | 0 | 0.046363 | 0.117149 | 4,251 | 118 | 120 | 36.025424 | 0.714095 | 0.00541 | 0 | 0.556962 | 0 | 0 | 0.201609 | 0 | 0 | 0 | 0 | 0 | 0.43038 | 1 | 0.075949 | false | 0.025316 | 0.063291 | 0 | 0.151899 | 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 |
76c64ea5bb6aa25837d19b201f8df60787c85552 | 1,804 | py | Python | src/spanishconjugator/tenses/indicative/present_perfect.py | shrutiichandra/spanish-conjugator | 2ebf41b92c14c3e47a873c52fdf4ce1d17bff5e0 | [
"MIT"
] | null | null | null | src/spanishconjugator/tenses/indicative/present_perfect.py | shrutiichandra/spanish-conjugator | 2ebf41b92c14c3e47a873c52fdf4ce1d17bff5e0 | [
"MIT"
] | null | null | null | src/spanishconjugator/tenses/indicative/present_perfect.py | shrutiichandra/spanish-conjugator | 2ebf41b92c14c3e47a873c52fdf4ce1d17bff5e0 | [
"MIT"
] | null | null | null | # -*- coding: iso-8859-15 -*-
def indicative_present_perfect(root_verb, pronoun):
if pronoun == "yo":
if root_verb[-2:] == "ar":
conjugation = root_verb[:-2] + "ado"
return "he " + conjugation
if root_verb[-2:] == "er" or "ir":
conjugation = root_verb[:-2] + "ido"... | 36.816327 | 51 | 0.48337 | 197 | 1,804 | 4.28934 | 0.167513 | 0.236686 | 0.255621 | 0.156213 | 0.702959 | 0.702959 | 0.702959 | 0.702959 | 0.702959 | 0.702959 | 0 | 0.025685 | 0.35255 | 1,804 | 49 | 52 | 36.816327 | 0.697774 | 0.014967 | 0 | 0.837209 | 0 | 0 | 0.088964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0 | 0 | 0.302326 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4f0ff69d912dc06dc10ed5ea5064d54c9a6ca17d | 34,664 | py | Python | layint_api/apis/registry_api.py | LayeredInsight/layint_api_python | a5c9a5b24098bd823c5102b7ab9e4745432f19b4 | [
"Apache-2.0"
] | null | null | null | layint_api/apis/registry_api.py | LayeredInsight/layint_api_python | a5c9a5b24098bd823c5102b7ab9e4745432f19b4 | [
"Apache-2.0"
] | null | null | null | layint_api/apis/registry_api.py | LayeredInsight/layint_api_python | a5c9a5b24098bd823c5102b7ab9e4745432f19b4 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Layered Insight Assessment, Compliance, Witness & Control
LI Assessment & Compliance performs static vulnerability analysis, license and package compliance. LI Witness provides deep insight and analytics into containerized applications. Control provides dynamic runtime security and analyti... | 41.814234 | 383 | 0.568659 | 3,468 | 34,664 | 5.44406 | 0.065167 | 0.067797 | 0.023729 | 0.030508 | 0.933422 | 0.918326 | 0.911229 | 0.896981 | 0.890466 | 0.883316 | 0 | 0.00027 | 0.358181 | 34,664 | 828 | 384 | 41.864734 | 0.848346 | 0.343353 | 0 | 0.771144 | 0 | 0 | 0.153681 | 0.03606 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042289 | false | 0 | 0.017413 | 0 | 0.121891 | 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 |
4f5055fbc951fb80bc365c15976e620d24ef2065 | 141 | py | Python | pywemo/ouimeaux_device/motion.py | sullivanmj/pywemo | 2ef78e015476f5e983c1f39eefa3f274a4685bdd | [
"MIT"
] | 102 | 2016-01-07T17:13:02.000Z | 2021-03-11T09:04:20.000Z | pywemo/ouimeaux_device/motion.py | sullivanmj/pywemo | 2ef78e015476f5e983c1f39eefa3f274a4685bdd | [
"MIT"
] | 188 | 2015-12-31T08:50:41.000Z | 2021-03-10T16:51:26.000Z | pywemo/ouimeaux_device/motion.py | sullivanmj/pywemo | 2ef78e015476f5e983c1f39eefa3f274a4685bdd | [
"MIT"
] | 61 | 2016-02-16T02:28:17.000Z | 2021-03-07T23:05:38.000Z | """Representation of a WeMo Motion device."""
from . import Device
class Motion(Device):
"""Representation of a WeMo Motion device."""
| 20.142857 | 49 | 0.702128 | 18 | 141 | 5.5 | 0.5 | 0.363636 | 0.343434 | 0.424242 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 6 | 50 | 23.5 | 0.846154 | 0.560284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 |
4f832be468d00585f80412a909f1d8e2699a39ab | 11,237 | py | Python | tests/evaluation/custom/bounding_box_intersection_test.py | elifesciences/sciencebeam-judge | 357f1b4266674611b24371224468db268ed4574e | [
"MIT"
] | null | null | null | tests/evaluation/custom/bounding_box_intersection_test.py | elifesciences/sciencebeam-judge | 357f1b4266674611b24371224468db268ed4574e | [
"MIT"
] | 189 | 2018-01-11T17:14:18.000Z | 2022-03-28T17:30:11.000Z | tests/evaluation/custom/bounding_box_intersection_test.py | elifesciences/sciencebeam-judge | 357f1b4266674611b24371224468db268ed4574e | [
"MIT"
] | null | null | null | from sciencebeam_judge.utils.bounding_box import (
EMPTY_PAGE_BOUNDING_BOX_LIST,
BoundingBox,
PageBoundingBox,
PageBoundingBoxList
)
from sciencebeam_judge.evaluation.custom.bounding_box_intersection import (
DEFAULT_BOUNDING_BOX_RESOLUTION,
DEFAULT_BOUNDING_BOX_SCORING_TYPE_NAME,
BoundingBo... | 37.708054 | 92 | 0.66281 | 1,300 | 11,237 | 5.228462 | 0.083077 | 0.182875 | 0.194203 | 0.226423 | 0.88848 | 0.848757 | 0.835663 | 0.787112 | 0.770781 | 0.760335 | 0 | 0.051785 | 0.269645 | 11,237 | 297 | 93 | 37.835017 | 0.77641 | 0 | 0 | 0.590038 | 0 | 0 | 0.02029 | 0.01673 | 0 | 0 | 0 | 0 | 0.168582 | 1 | 0.099617 | false | 0.003831 | 0.007663 | 0 | 0.130268 | 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 |
4f8c28c8d646398cc7d6e08dac9373735e232bb9 | 1,898 | py | Python | tests/unit_tests/fixtures/swift_object.py | Barometre-de-la-Science-Ouverte/bso3-harvest-publication | 06c729a1e44ed87e8f73b4c2bd456f5e09a73e34 | [
"MIT"
] | null | null | null | tests/unit_tests/fixtures/swift_object.py | Barometre-de-la-Science-Ouverte/bso3-harvest-publication | 06c729a1e44ed87e8f73b4c2bd456f5e09a73e34 | [
"MIT"
] | null | null | null | tests/unit_tests/fixtures/swift_object.py | Barometre-de-la-Science-Ouverte/bso3-harvest-publication | 06c729a1e44ed87e8f73b4c2bd456f5e09a73e34 | [
"MIT"
] | null | null | null | import json
import os
from infrastructure.storage.swift import Swift
from config.harvester_config import config_harvester
from domain.ovh_path import OvhPath
_swift = Swift(config_harvester)
local_dir = [
'./tmp/downloaded_publications/9fea8e3a-344c-4552-874c-6852074bcdd1.json',
'./tmp/downloaded_publications... | 47.45 | 145 | 0.728135 | 225 | 1,898 | 6.035556 | 0.2 | 0.114875 | 0.220913 | 0.147275 | 0.820324 | 0.820324 | 0.820324 | 0.807069 | 0.741532 | 0.693667 | 0 | 0.214328 | 0.110116 | 1,898 | 40 | 146 | 47.45 | 0.589698 | 0 | 0 | 0.333333 | 0 | 0 | 0.679305 | 0.647709 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.138889 | 0 | 0.138889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
4fa66e13bda6f759767d7ec5ea225dc529e40f21 | 126,407 | py | Python | py/tests/swagger_client/api/internal_api.py | AndyHongSir/epoch | 3ac26ee08c12d5d923c88eb5db5479f3b9d9b294 | [
"ISC"
] | null | null | null | py/tests/swagger_client/api/internal_api.py | AndyHongSir/epoch | 3ac26ee08c12d5d923c88eb5db5479f3b9d9b294 | [
"ISC"
] | null | null | null | py/tests/swagger_client/api/internal_api.py | AndyHongSir/epoch | 3ac26ee08c12d5d923c88eb5db5479f3b9d9b294 | [
"ISC"
] | null | null | null | # coding: utf-8
"""
Aeternity Epoch
This is the [Aeternity](https://www.aeternity.com/) Epoch API. # noqa: E501
OpenAPI spec version: 0.7.0
Contact: apiteam@aeternity.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # n... | 40.385623 | 182 | 0.612387 | 14,836 | 126,407 | 4.955109 | 0.016918 | 0.053214 | 0.023615 | 0.030362 | 0.984765 | 0.980113 | 0.976045 | 0.972318 | 0.968605 | 0.964469 | 0 | 0.017611 | 0.299683 | 126,407 | 3,129 | 183 | 40.39853 | 0.812821 | 0.053992 | 0 | 0.826573 | 0 | 0.006467 | 0.192979 | 0.05098 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.002352 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
96e7405ebb101f58fb181b2783798e19f30effd3 | 476 | py | Python | modelchimp/models/__init__.py | samzer/modelchimp-server | 48668d0f73025b2cc967006b3193b67aaf970ad7 | [
"BSD-2-Clause"
] | 134 | 2018-11-07T08:35:47.000Z | 2022-01-09T00:39:40.000Z | modelchimp/models/__init__.py | samzer/modelchimp-server | 48668d0f73025b2cc967006b3193b67aaf970ad7 | [
"BSD-2-Clause"
] | 841 | 2018-11-06T19:45:04.000Z | 2022-03-31T13:07:16.000Z | modelchimp/models/__init__.py | samzer/modelchimp-server | 48668d0f73025b2cc967006b3193b67aaf970ad7 | [
"BSD-2-Clause"
] | 16 | 2019-02-08T12:48:17.000Z | 2021-02-18T22:11:38.000Z | from modelchimp.models.project import Project
from modelchimp.models.membership import Membership
from modelchimp.models.experiment import Experiment
from modelchimp.models.comment import Comment
from modelchimp.models.profile import Profile
from modelchimp.models.user import User
from modelchimp.models.invitation imp... | 47.6 | 77 | 0.884454 | 57 | 476 | 7.333333 | 0.280702 | 0.301435 | 0.430622 | 0.215311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077731 | 476 | 9 | 78 | 52.888889 | 0.952164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
96ee6897adb018bcdb2ab8a290bbd4a2d96dab86 | 1,608 | py | Python | Tests/json_tests.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | Tests/json_tests.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | Tests/json_tests.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | from PythonExtensions.Json import *
from PythonExtensions.debug import *
pos = PlacePosition.Zero()
i = Size.Create(1200, 1050)
v = Size.Create(1280, 800)
p = PlacePosition.Zero()
print()
p.Set(-50, -50)
PrettyPrint(pos=pos.Update(p, i, v, KeepInView=True), i=i, v=v, p=p)
print()
p.Set(-100, -100)
PrettyPrint(pos... | 22.647887 | 68 | 0.651119 | 324 | 1,608 | 3.231481 | 0.101852 | 0.057307 | 0.12894 | 0.329513 | 0.845272 | 0.845272 | 0.845272 | 0.845272 | 0.845272 | 0.845272 | 0 | 0.071277 | 0.118781 | 1,608 | 70 | 69 | 22.971429 | 0.667608 | 0 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039216 | 0 | 0.039216 | 0.294118 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8c04c79de35188e06fd0f365a5afa8aff24e8419 | 4,053 | py | Python | src/interface/device.py | Abhi-1U/REST.8266 | 2ee0e9ed3baf68eaceed69f902d1cce6f84881f3 | [
"MIT"
] | 1 | 2021-04-19T02:24:54.000Z | 2021-04-19T02:24:54.000Z | src/interface/device.py | Abhi-1U/REST.8266 | 2ee0e9ed3baf68eaceed69f902d1cce6f84881f3 | [
"MIT"
] | null | null | null | src/interface/device.py | Abhi-1U/REST.8266 | 2ee0e9ed3baf68eaceed69f902d1cce6f84881f3 | [
"MIT"
] | null | null | null | from userver.server import jsonify,parse_qs,start_response
def software(request , response):
if(request.method=='GET'):
from controller.device import software_details
yield from jsonify(response, software_details())
else:
from controller.error import raise_error
yield from jsoni... | 34.939655 | 65 | 0.619541 | 487 | 4,053 | 5.039014 | 0.100616 | 0.08802 | 0.08476 | 0.127139 | 0.91035 | 0.872453 | 0.869601 | 0.869601 | 0.869601 | 0.825998 | 0 | 0.002026 | 0.26943 | 4,053 | 115 | 66 | 35.243478 | 0.826748 | 0 | 0 | 0.801887 | 0 | 0 | 0.05727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056604 | false | 0.056604 | 0.179245 | 0 | 0.235849 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
8c04ccd10af2afec087d7c12c33e7d9db916f468 | 166 | py | Python | tests/markers.py | vyahello/newspaper-parser | ad986dfc43e089f376ffe96251cf6481df133329 | [
"MIT"
] | null | null | null | tests/markers.py | vyahello/newspaper-parser | ad986dfc43e089f376ffe96251cf6481df133329 | [
"MIT"
] | 3 | 2020-08-20T10:19:16.000Z | 2022-01-28T10:38:22.000Z | tests/markers.py | vyahello/newspaper-parser | ad986dfc43e089f376ffe96251cf6481df133329 | [
"MIT"
] | null | null | null | # flake8: noqa
import _pytest.mark
import pytest
unit: _pytest.mark.MarkDecorator = pytest.mark.unit
functional: _pytest.mark.MarkDecorator = pytest.mark.functional
| 23.714286 | 63 | 0.813253 | 21 | 166 | 6.285714 | 0.380952 | 0.378788 | 0.348485 | 0.439394 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.096386 | 166 | 6 | 64 | 27.666667 | 0.873333 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8c61d6d467731d6a9df40ca3901d4f3a43055617 | 73 | py | Python | backend/products/tests/test_data/__init__.py | MaCkRage/optimize_sql | 346011fbda5ddf96a3c34357820452e165b7767c | [
"MIT"
] | null | null | null | backend/products/tests/test_data/__init__.py | MaCkRage/optimize_sql | 346011fbda5ddf96a3c34357820452e165b7767c | [
"MIT"
] | null | null | null | backend/products/tests/test_data/__init__.py | MaCkRage/optimize_sql | 346011fbda5ddf96a3c34357820452e165b7767c | [
"MIT"
] | null | null | null | from .generate_update_products_data import generate_update_products_data
| 36.5 | 72 | 0.931507 | 10 | 73 | 6.2 | 0.6 | 0.451613 | 0.709677 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 1 | 73 | 73 | 0.898551 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
4fb46eafd9771b113e834508594c7169ed1d6a2e | 22,079 | py | Python | components/core/qcg/pilotjob/tests/test_slurmenv.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | components/core/qcg/pilotjob/tests/test_slurmenv.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | components/core/qcg/pilotjob/tests/test_slurmenv.py | LourensVeen/QCG-PilotJob | e78c35a9b16b1042a2d5b54352a2ca2e3a58c6b9 | [
"Apache-2.0"
] | null | null | null | import pytest
from os import environ, mkdir, stat
from os.path import dirname, join, isdir, exists, abspath
import tempfile
import logging
import asyncio
import time
from shutil import rmtree
import sys
from qcg.pilotjob.service import QCGPMService
from qcg.pilotjob.slurmres import in_slurm_allocation, get_num_slurm_n... | 43.123047 | 124 | 0.633951 | 2,686 | 22,079 | 5.000745 | 0.083023 | 0.032013 | 0.045563 | 0.031269 | 0.85408 | 0.834723 | 0.823705 | 0.823705 | 0.823705 | 0.812835 | 0 | 0.003687 | 0.226052 | 22,079 | 511 | 125 | 43.207436 | 0.782362 | 0.026813 | 0 | 0.800512 | 0 | 0 | 0.167598 | 0.010804 | 0 | 0 | 0 | 0 | 0.099744 | 1 | 0.023018 | false | 0.002558 | 0.038363 | 0 | 0.061381 | 0.069054 | 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 |
4fdbd075820069d64a3ec6846326bd045290fce9 | 208 | py | Python | flask_cognito_auth/__init__.py | gergnz/flask-cognito-auth | 9139313c121c065876fb708e6b3300f61f105639 | [
"MIT"
] | null | null | null | flask_cognito_auth/__init__.py | gergnz/flask-cognito-auth | 9139313c121c065876fb708e6b3300f61f105639 | [
"MIT"
] | null | null | null | flask_cognito_auth/__init__.py | gergnz/flask-cognito-auth | 9139313c121c065876fb708e6b3300f61f105639 | [
"MIT"
] | null | null | null | from .cognito_auth_manager import CognitoAuthManager
from .decorators import login_handler
from .decorators import logout_handler
from .decorators import callback_handler
from .decorators import is_logged_in
| 34.666667 | 52 | 0.879808 | 27 | 208 | 6.518519 | 0.518519 | 0.318182 | 0.454545 | 0.460227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 208 | 5 | 53 | 41.6 | 0.93617 | 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 |
4ff64972eb98a3bdfd7e61796c1675f23eed7f16 | 254 | py | Python | Python/BasicTutorials/kids.py | ronkitay/Rons-Tutorials | c0459c57cc24b546847ec24afa94d2c1e5373bd4 | [
"MIT"
] | null | null | null | Python/BasicTutorials/kids.py | ronkitay/Rons-Tutorials | c0459c57cc24b546847ec24afa94d2c1e5373bd4 | [
"MIT"
] | null | null | null | Python/BasicTutorials/kids.py | ronkitay/Rons-Tutorials | c0459c57cc24b546847ec24afa94d2c1e5373bd4 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
child_name = raw_input(u'\u05DE\u05B7\u05D4 \u05E9\u05B0\u05DE\u05B5\u05DA?\n')
print u'\u05D0\u05B8\u05E0\u05B4\u05D9 \u05D0\u05D5\u05B9\u05D4\u05B5\u05D1 \u05D0\u05D5\u05B9\u05EA\u05B8\u05DA',
print child_name | 42.333333 | 114 | 0.744094 | 42 | 254 | 4.428571 | 0.690476 | 0.096774 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298319 | 0.062992 | 254 | 6 | 115 | 42.333333 | 0.483193 | 0.149606 | 0 | 0 | 0 | 0.333333 | 0.725581 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
8b2c13100267adfe8d861824a38bf5ad0a2b19e2 | 690 | py | Python | Clases/ProgDinamicaEstocastica/caminoAleatorio/borracho.py | juanpanu/Juan_DS_Path | 24e71616dae692e931e95cd3815ca88fa9b8a46a | [
"MIT"
] | null | null | null | Clases/ProgDinamicaEstocastica/caminoAleatorio/borracho.py | juanpanu/Juan_DS_Path | 24e71616dae692e931e95cd3815ca88fa9b8a46a | [
"MIT"
] | null | null | null | Clases/ProgDinamicaEstocastica/caminoAleatorio/borracho.py | juanpanu/Juan_DS_Path | 24e71616dae692e931e95cd3815ca88fa9b8a46a | [
"MIT"
] | null | null | null | import random
class Borracho:
def __init__(self,nombre):
self.nombre = nombre
class BorrachoTradicional(Borracho):
def __init__(self, nombre):
super().__init__(nombre)
def camina(self):
return random.choice([(0,1),(0,-1),(1,0), (-1,0)])
class Drogado(Borracho):
def __init_... | 23.793103 | 61 | 0.527536 | 71 | 690 | 4.84507 | 0.225352 | 0.383721 | 0.313953 | 0.22093 | 0.776163 | 0.703488 | 0.703488 | 0.703488 | 0.703488 | 0.703488 | 0 | 0.025105 | 0.307246 | 690 | 29 | 62 | 23.793103 | 0.694561 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.047619 | 0.095238 | 0.52381 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
8b402cb9141badbb0c472a59509d6dbf06a23f75 | 39,086 | py | Python | atom/nucleus/python/nucleus_api/api/household_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 11 | 2019-04-16T02:11:17.000Z | 2021-12-16T22:51:40.000Z | atom/nucleus/python/nucleus_api/api/household_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 81 | 2019-11-19T23:24:28.000Z | 2022-03-28T11:35:47.000Z | atom/nucleus/python/nucleus_api/api/household_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 11 | 2020-07-08T02:29:56.000Z | 2022-03-28T10:05:33.000Z | # coding: utf-8
"""
Hydrogen Nucleus API
The Hydrogen Nucleus API # noqa: E501
OpenAPI spec version: 1.9.4
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and pyt... | 42.71694 | 165 | 0.620299 | 4,547 | 39,086 | 5.061579 | 0.047504 | 0.052488 | 0.028069 | 0.025027 | 0.962807 | 0.956289 | 0.950641 | 0.94156 | 0.934086 | 0.931132 | 0 | 0.017227 | 0.290104 | 39,086 | 914 | 166 | 42.763676 | 0.812232 | 0.332856 | 0 | 0.818557 | 1 | 0 | 0.20341 | 0.059001 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035052 | false | 0 | 0.008247 | 0 | 0.094845 | 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 |
8c99aed4e87cbbf98b94b88aa1643f7b1efba5aa | 7,220 | py | Python | tests/async_tests/test_dynamic_limits.py | zoltan-fedor/falcon-limits | e145c8b6cb9567fa1df1bbc4430c673bb0a34f48 | [
"MIT"
] | 1 | 2020-10-10T14:48:37.000Z | 2020-10-10T14:48:37.000Z | tests/async_tests/test_dynamic_limits.py | zoltan-fedor/falcon-limits | e145c8b6cb9567fa1df1bbc4430c673bb0a34f48 | [
"MIT"
] | null | null | null | tests/async_tests/test_dynamic_limits.py | zoltan-fedor/falcon-limits | e145c8b6cb9567fa1df1bbc4430c673bb0a34f48 | [
"MIT"
] | null | null | null | """ Testing the dynamic_limits option
"""
from falcon import asgi, testing, HTTP_200, HTTP_429, HTTP_500
from falcon_limiter import AsyncLimiter
from falcon_limiter.utils import get_remote_addr
from time import sleep
def test_default_dynamic_limits():
""" Test using the default_dynamic_limits option to change the... | 30.987124 | 97 | 0.639335 | 984 | 7,220 | 4.542683 | 0.10874 | 0.045414 | 0.097315 | 0.110291 | 0.89821 | 0.891275 | 0.890604 | 0.890604 | 0.882774 | 0.8783 | 0 | 0.026465 | 0.241136 | 7,220 | 232 | 98 | 31.12069 | 0.789378 | 0.184072 | 0 | 0.884058 | 0 | 0 | 0.0959 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 1 | 0.028986 | false | 0 | 0.028986 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ca298c4f88cf2dcb1cfbf6c63b7525d80c2c849 | 25,052 | py | Python | tests.py | msund/bitnodes | 3dff0d0f6718ed6748130cb3adcfb04b4c55b467 | [
"MIT"
] | 1 | 2022-02-28T14:40:45.000Z | 2022-02-28T14:40:45.000Z | tests.py | msund/bitnodes | 3dff0d0f6718ed6748130cb3adcfb04b4c55b467 | [
"MIT"
] | null | null | null | tests.py | msund/bitnodes | 3dff0d0f6718ed6748130cb3adcfb04b4c55b467 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# tests.py - Dummy data and tests for bitnodes.
#
# Copyright (c) 2013 Addy Yeow Chin Heng <ayeowch@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to dea... | 111.839286 | 341 | 0.334624 | 6,150 | 25,052 | 1.359837 | 0.026504 | 0.25278 | 0.451513 | 0.070549 | 0.832835 | 0.81454 | 0.805453 | 0.776157 | 0.70501 | 0.441349 | 0 | 0.235689 | 0.149968 | 25,052 | 223 | 342 | 112.340807 | 0.157032 | 0.050056 | 0 | 0 | 0 | 0 | 0.458682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006667 | false | 0 | 0.006667 | 0 | 0.02 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
8ca54f9c75a94b2bdc1ea7eaa1d7325fce4caefd | 3,729 | py | Python | payment/serializers.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 2 | 2021-11-09T10:29:44.000Z | 2021-11-15T08:03:40.000Z | payment/serializers.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | null | null | null | payment/serializers.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from .models import TransportationFeeListModel
from utils import datasolve
class PaymentGetSerializer(serializers.ModelSerializer):
send_city = serializers.CharField(read_only=True, required=False)
receiver_city = serializers.CharField(read_only=True, required=False)
... | 67.8 | 122 | 0.77447 | 412 | 3,729 | 6.798544 | 0.126214 | 0.08854 | 0.088183 | 0.142449 | 0.906462 | 0.903963 | 0.888968 | 0.856837 | 0.776151 | 0.752945 | 0 | 0 | 0.116385 | 3,729 | 54 | 123 | 69.055556 | 0.850076 | 0 | 0 | 0.52 | 0 | 0 | 0.043443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06 | 0 | 0.76 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
0fa0a56ae97412f5daf75ef4abf2617cd0cd9210 | 9,101 | py | Python | tests/test_jussi_request.py | bnchdrff/jussi | 79d8decde323b84cdd8331e5cbb490021ea78cee | [
"MIT"
] | null | null | null | tests/test_jussi_request.py | bnchdrff/jussi | 79d8decde323b84cdd8331e5cbb490021ea78cee | [
"MIT"
] | null | null | null | tests/test_jussi_request.py | bnchdrff/jussi | 79d8decde323b84cdd8331e5cbb490021ea78cee | [
"MIT"
] | 1 | 2018-03-14T10:36:48.000Z | 2018-03-14T10:36:48.000Z | # -*- coding: utf-8 -*-
from collections import OrderedDict
import os
from copy import deepcopy
import pytest
import ujson
import json
from .conftest import TEST_UPSTREAM_CONFIG
from jussi.errors import InvalidNamespaceError
from jussi.errors import InvalidNamespaceAPIError
from jussi.urn import URN
from jussi.upstre... | 42.929245 | 87 | 0.707395 | 1,035 | 9,101 | 5.861836 | 0.068599 | 0.176034 | 0.118675 | 0.075161 | 0.85792 | 0.853634 | 0.842426 | 0.823471 | 0.814406 | 0.814406 | 0 | 0.040717 | 0.209318 | 9,101 | 211 | 88 | 43.132701 | 0.80239 | 0.003406 | 0 | 0.738372 | 0 | 0 | 0.060004 | 0.00364 | 0 | 0 | 0 | 0.004739 | 0.104651 | 1 | 0.081395 | false | 0.011628 | 0.081395 | 0 | 0.162791 | 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 |
0fc45380a2c68776c495ca1b84887f05d96c3305 | 185,747 | py | Python | spam-wa/wa_dis.py | Alpha-Demon404/RE-14 | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 39 | 2020-02-26T09:44:36.000Z | 2022-03-23T00:18:25.000Z | spam-wa/wa_dis.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 15 | 2020-05-14T10:07:26.000Z | 2022-01-06T02:55:32.000Z | spam-wa/wa_dis.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 41 | 2020-03-16T22:36:38.000Z | 2022-03-17T14:47:19.000Z | # Compile by Sanz
# Youtube : SANZ SOEKAMTI
# Github : https://github.com/B4N954N2-ID
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\x1a\x00\x00\x00d\x00d\x01l\x00Z\x00e\x01e\x00\xa0\x02d\x02\xa1\x01\x83\x01\x01\x00d\x01S\x00)\x03\... | 37,149.4 | 185,645 | 0.762941 | 41,481 | 185,747 | 3.415901 | 0.021745 | 0.520075 | 0.522933 | 0.518466 | 0.947479 | 0.94124 | 0.935326 | 0.929468 | 0.925573 | 0.921712 | 0 | 0.390036 | 0.000705 | 185,747 | 5 | 185,645 | 37,149.4 | 0.373341 | 0.000431 | 0 | 0 | 0 | 4.5 | 0.921013 | 0.900578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 21 |
e89761d00c3880fb29027e6065152c87d2140a0d | 17,234 | py | Python | model-optimizer/unit_tests/extensions/ops/interpolate_test.py | monroid/openvino | 8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | model-optimizer/unit_tests/extensions/ops/interpolate_test.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | model-optimizer/unit_tests/extensions/ops/interpolate_test.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import unittest
import numpy as np
from generator import generator, generate
from extensions.ops.interpolate import Interpolate
from mo.front.common.partial_infer.utils import int64_array
from mo.graph.graph import Node
from unit_tests... | 64.30597 | 116 | 0.459267 | 2,356 | 17,234 | 3.252122 | 0.059423 | 0.016445 | 0.010963 | 0.026103 | 0.945184 | 0.925346 | 0.925346 | 0.912555 | 0.908249 | 0.897155 | 0 | 0.22483 | 0.325113 | 17,234 | 267 | 117 | 64.546816 | 0.433927 | 0.004468 | 0 | 0.861925 | 1 | 0 | 0.147487 | 0.00991 | 0 | 0 | 0 | 0 | 0.016736 | 1 | 0.016736 | false | 0 | 0.029289 | 0 | 0.050209 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
e8abc6a230c9824f45db671402a65233b9186aef | 53,791 | py | Python | test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py | cfculhane/autorest.python | 8cbca95faee88d933a58bbbd17b76834faa8d387 | [
"MIT"
] | null | null | null | test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py | cfculhane/autorest.python | 8cbca95faee88d933a58bbbd17b76834faa8d387 | [
"MIT"
] | null | null | null | test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/aio/operations/_operations.py | cfculhane/autorest.python | 8cbca95faee88d933a58bbbd17b76834faa8d387 | [
"MIT"
] | 1 | 2022-03-28T08:58:03.000Z | 2022-03-28T08:58:03.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 40.383634 | 119 | 0.662732 | 5,866 | 53,791 | 5.825094 | 0.033583 | 0.03746 | 0.033714 | 0.030202 | 0.962365 | 0.93266 | 0.926368 | 0.918086 | 0.879982 | 0.866725 | 0 | 0.009596 | 0.242531 | 53,791 | 1,331 | 120 | 40.413974 | 0.829034 | 0.049767 | 0 | 0.73487 | 0 | 0 | 0.053828 | 0.028484 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002882 | false | 0 | 0.012968 | 0 | 0.064842 | 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 |
fa22b65ffc3d23b926aefe1ec6335173c8489bfb | 400 | py | Python | gleague/gleague/models/__init__.py | Nuqlear/genkstaleague | 664ed1d3ebea9c43053546fc2d658083cc16526b | [
"MIT"
] | 7 | 2015-08-18T01:21:48.000Z | 2021-04-30T03:10:38.000Z | gleague/gleague/models/__init__.py | Nuqlear/genkstaleague | 664ed1d3ebea9c43053546fc2d658083cc16526b | [
"MIT"
] | 1 | 2019-04-28T10:02:39.000Z | 2019-05-06T08:11:56.000Z | gleague/gleague/models/__init__.py | Nuqlear/genkstaleague | 664ed1d3ebea9c43053546fc2d658083cc16526b | [
"MIT"
] | 3 | 2015-08-14T09:42:25.000Z | 2018-11-08T07:07:58.000Z | from gleague.models.player import Player
from gleague.models.season import Season
from gleague.models.season import SeasonStats
from gleague.models.match import Match
from gleague.models.match import Role
from gleague.models.match import CMPicksBans
from gleague.models.match import PlayerMatchItem
from gleague.models.m... | 40 | 50 | 0.865 | 54 | 400 | 6.407407 | 0.240741 | 0.286127 | 0.442197 | 0.381503 | 0.653179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 400 | 9 | 51 | 44.444444 | 0.950549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fa46c16dad7c0e4298fb108fc6fc3abc8c2938b6 | 37,919 | py | Python | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_to_dict_v2.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_to_dict_v2.py | v-xuto/azure-sdk-for-python | 9c6296d22094c5ede410bc83749e8df8694ccacc | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_to_dict_v2.py | v-xuto/azure-sdk-for-python | 9c6296d22094c5ede410bc83749e8df8694ccacc | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# ---------------------------------------------------------------------... | 35.638158 | 84 | 0.333078 | 3,094 | 37,919 | 3.894312 | 0.058177 | 0.100423 | 0.080671 | 0.071707 | 0.922732 | 0.900988 | 0.882812 | 0.872272 | 0.840734 | 0.832849 | 0 | 0.158361 | 0.538543 | 37,919 | 1,063 | 85 | 35.671684 | 0.530232 | 0.008254 | 0 | 0.796098 | 0 | 0 | 0.09612 | 0.001117 | 0 | 0 | 0 | 0 | 0.019512 | 1 | 0.019512 | false | 0 | 0.002927 | 0 | 0.023415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fa5d6df801750fde4d908852fd9ed5759ff66651 | 17,559 | py | Python | middlewareScan/plugins/axis_deploy.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 11 | 2020-05-30T13:53:49.000Z | 2021-03-17T03:20:59.000Z | middlewareScan/plugins/axis_deploy.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-13T03:25:18.000Z | 2020-07-21T06:24:16.000Z | middlewareScan/plugins/axis_deploy.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-30T13:53:51.000Z | 2020-12-01T21:44:26.000Z | #coding:utf-8
#author:wolf@future-sec
import urllib2
def run(host,port,timeout,cookies):
url = "http://%s:%d"%(host,int(port))
upload_url = url + '/axis2/axis2-admin/upload'
boundary = '-----------------------------3233243418974'
data = []
aar_file = "\x50\x4B\x03\x04\x0A\x00\x00\x08\x00\x00... | 650.333333 | 16,326 | 0.740817 | 4,246 | 17,559 | 3.060057 | 0.080546 | 0.067883 | 0.067883 | 0.067421 | 0.117987 | 0.117987 | 0.117987 | 0.117987 | 0.117987 | 0.115216 | 0 | 0.317127 | 0.013725 | 17,559 | 27 | 16,327 | 650.333333 | 0.433133 | 0.001936 | 0 | 0 | 0 | 0.08 | 0.957824 | 0.937421 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d7345af0218e03741a6ce2c19832a96117f3f243 | 39 | py | Python | module_folder/module_file.py | nheske/learn-python | 0f430ffa232103419669cec78202e9f2e74f7f6c | [
"MIT"
] | null | null | null | module_folder/module_file.py | nheske/learn-python | 0f430ffa232103419669cec78202e9f2e74f7f6c | [
"MIT"
] | null | null | null | module_folder/module_file.py | nheske/learn-python | 0f430ffa232103419669cec78202e9f2e74f7f6c | [
"MIT"
] | null | null | null |
def say_hello():
return "hello"
| 6.5 | 18 | 0.589744 | 5 | 39 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 39 | 5 | 19 | 7.8 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
d743f6a84de8e5caf4339038ccd9b7e5257b2938 | 145 | py | Python | easycodef/errors/__init__.py | fiveio/easy-codef-py | 97bd6831909e4d31af0ec7ed479b63fc977cd302 | [
"MIT"
] | 1 | 2019-09-17T00:47:08.000Z | 2019-09-17T00:47:08.000Z | easycodef/errors/__init__.py | fiveio/easy-codef-py | 97bd6831909e4d31af0ec7ed479b63fc977cd302 | [
"MIT"
] | null | null | null | easycodef/errors/__init__.py | fiveio/easy-codef-py | 97bd6831909e4d31af0ec7ed479b63fc977cd302 | [
"MIT"
] | null | null | null | from ._errors import Error
from ._errors import TokenGenerateError
from ._errors import ConnectedIdGenerateError
from ._errors import UseApiError | 36.25 | 45 | 0.868966 | 16 | 145 | 7.625 | 0.4375 | 0.327869 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 145 | 4 | 46 | 36.25 | 0.938462 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
ad16b6d8d14f4c70e7a7bb64095f062101bb1263 | 132 | py | Python | bot/util/syntax.py | VoxelPrismatic/prizai | 632a5dfed23807d78064d292d474ac4cc8988b12 | [
"Unlicense"
] | 2 | 2019-11-08T21:34:44.000Z | 2020-07-05T15:31:19.000Z | bot/util/syntax.py | VoxelPrismatic/prizai | 632a5dfed23807d78064d292d474ac4cc8988b12 | [
"Unlicense"
] | null | null | null | bot/util/syntax.py | VoxelPrismatic/prizai | 632a5dfed23807d78064d292d474ac4cc8988b12 | [
"Unlicense"
] | 2 | 2020-07-05T15:39:51.000Z | 2020-07-05T16:15:47.000Z | def code(st, syntax = ""): return f"```{syntax}\n{st}```"
def md(st): return code(st, "md")
def diff(st): return code(st, "diff")
| 22 | 57 | 0.583333 | 23 | 132 | 3.347826 | 0.391304 | 0.233766 | 0.311688 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 132 | 5 | 58 | 26.4 | 0.681416 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
ad18cc97c93d139215618d0ef2b30ddb182997b3 | 22,964 | py | Python | safe_transaction_service/contracts/decoder_abis/sablier.py | kanhirun/safe-transaction-service | 9bd6103be7d77469a337b6f02c8e0693e7951e4c | [
"MIT"
] | 5 | 2021-01-28T17:41:42.000Z | 2021-11-14T17:09:18.000Z | safe_transaction_service/contracts/decoder_abis/sablier.py | kanhirun/safe-transaction-service | 9bd6103be7d77469a337b6f02c8e0693e7951e4c | [
"MIT"
] | 8 | 2022-03-15T18:39:45.000Z | 2022-03-28T01:28:13.000Z | safe_transaction_service/contracts/decoder_abis/sablier.py | kanhirun/safe-transaction-service | 9bd6103be7d77469a337b6f02c8e0693e7951e4c | [
"MIT"
] | 5 | 2021-04-06T17:20:02.000Z | 2022-01-13T10:58:08.000Z | sablier_ctoken_manager = [{'constant': True, 'inputs': [], 'name': 'owner', 'outputs': [{'internalType': 'address', 'name': '', 'type': 'address'}], 'payable': False, 'stateMutability': 'view', 'type': 'function'}, {'constant': True, 'inputs': [], 'name': 'isOwner', 'outputs': [{'internalType': 'bool', 'name': '', 'typ... | 5,741 | 12,110 | 0.622975 | 2,015 | 22,964 | 7.097767 | 0.064516 | 0.09614 | 0.1576 | 0.080199 | 0.906377 | 0.880506 | 0.843658 | 0.818277 | 0.782058 | 0.776605 | 0 | 0.028539 | 0.090577 | 22,964 | 3 | 12,111 | 7,654.666667 | 0.656292 | 0 | 0 | 0 | 0 | 0 | 0.584567 | 0.010843 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ad7b20f12ec0a1801bda8b7dbb52ac70129dde8f | 85,404 | py | Python | src/libraries/visualization.py | vvasilo/semnav | e1141035fa4ea8ad3d5f077198a141209693625b | [
"MIT"
] | 10 | 2020-02-28T22:26:55.000Z | 2021-12-14T08:34:18.000Z | src/libraries/visualization.py | KodlabPenn/semnav | 489cfe203516e359cc488740b99c8e208a757c2d | [
"MIT"
] | 1 | 2020-08-24T23:37:51.000Z | 2021-11-10T14:29:34.000Z | src/libraries/visualization.py | vvasilo/semnav | e1141035fa4ea8ad3d5f077198a141209693625b | [
"MIT"
] | 3 | 2020-02-27T20:22:57.000Z | 2022-01-21T12:58:32.000Z | #!/usr/bin/env python
"""
MIT License (modified)
Copyright (c) 2020 The Trustees of the University of Pennsylvania
Authors:
Vasileios Vasilopoulos <vvasilo@seas.upenn.edu>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this **file** (the "Software"), to deal
in the Software without r... | 58.535984 | 456 | 0.705798 | 14,011 | 85,404 | 4.205053 | 0.038969 | 0.013069 | 0.009267 | 0.009709 | 0.894275 | 0.873873 | 0.860244 | 0.847956 | 0.838043 | 0.831526 | 0 | 0.093125 | 0.09886 | 85,404 | 1,459 | 457 | 58.535984 | 0.672419 | 0.520222 | 0 | 0.762923 | 0 | 0 | 0.013072 | 0.004318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026738 | false | 0 | 0.016043 | 0 | 0.069519 | 0.008913 | 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 |
d1386cb6d46469516e5ec8b9aa204c83a35dde96 | 11,845 | py | Python | webapp/tests/forms/test_fields.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 20 | 2021-07-02T07:49:08.000Z | 2022-03-18T22:26:10.000Z | webapp/tests/forms/test_fields.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 555 | 2021-06-28T15:35:15.000Z | 2022-03-31T11:51:55.000Z | webapp/tests/forms/test_fields.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 1 | 2021-07-04T20:34:12.000Z | 2021-07-04T20:34:12.000Z | import unittest
import datetime as dt
from werkzeug.datastructures import MultiDict
from app.forms import SteuerlotseBaseForm
from app.forms.fields import IdNrField, SteuerlotseDateField, UnlockCodeField, _add_classes_to_kwargs
from app.forms.validations.validators import ValidIdNr
class TestAddClassesToKwargs(unit... | 47.003968 | 117 | 0.703335 | 1,555 | 11,845 | 5.005145 | 0.067524 | 0.074007 | 0.033535 | 0.039316 | 0.904022 | 0.893743 | 0.885006 | 0.872543 | 0.870615 | 0.846075 | 0 | 0.034185 | 0.180076 | 11,845 | 251 | 118 | 47.191235 | 0.767195 | 0.12824 | 0 | 0.739645 | 0 | 0 | 0.080696 | 0 | 0 | 0 | 0 | 0 | 0.171598 | 1 | 0.201183 | false | 0 | 0.035503 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d169d83d374a231715492e655652d6700899cbdc | 15,193 | py | Python | recipes/Python/576531_Circle/recipe-576531.py | tdiprima/code | 61a74f5f93da087d27c70b2efe779ac6bd2a3b4f | [
"MIT"
] | 2,023 | 2017-07-29T09:34:46.000Z | 2022-03-24T08:00:45.000Z | recipes/Python/576531_Circle/recipe-576531.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 32 | 2017-09-02T17:20:08.000Z | 2022-02-11T17:49:37.000Z | recipes/Python/576531_Circle/recipe-576531.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 780 | 2017-07-28T19:23:28.000Z | 2022-03-25T20:39:41.000Z | #On the name of ALLAH and may the blessing and peace of Allah
#be upon the Messenger of Allah Mohamed Salla Allahu Aliahi Wassalam.
#Author :Fouad Teniou
#Date : 08/10/08
#Version : 2.4
""" Class of an equation of a circle of the form Ax^2 + Ay^2 + Dx + Ey + F = 0 (A !=0)
it represents a circle or a point or has no g... | 30.26494 | 246 | 0.53992 | 2,246 | 15,193 | 3.427872 | 0.100178 | 0.014547 | 0.008183 | 0.024289 | 0.835693 | 0.817249 | 0.803871 | 0.797117 | 0.78127 | 0.78127 | 0 | 0.03589 | 0.279273 | 15,193 | 501 | 247 | 30.325349 | 0.667215 | 0.578556 | 0 | 0.145038 | 0 | 0.038168 | 0.085465 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0 | null | null | 0 | 0.007634 | null | null | 0.053435 | 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 |
0f19873574132a123bbadc53479a8fa78004068e | 24,533 | py | Python | iqs_client/api/queries_api.py | thomas-bc/mms-autocref | 1db6697f929a1c782c902923209389e337ec6961 | [
"Apache-2.0"
] | null | null | null | iqs_client/api/queries_api.py | thomas-bc/mms-autocref | 1db6697f929a1c782c902923209389e337ec6961 | [
"Apache-2.0"
] | null | null | null | iqs_client/api/queries_api.py | thomas-bc/mms-autocref | 1db6697f929a1c782c902923209389e337ec6961 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
IncQuery Server
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
OpenAPI spec version: 0.12.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
... | 40.752492 | 268 | 0.635674 | 2,807 | 24,533 | 5.253652 | 0.074457 | 0.043399 | 0.064556 | 0.029294 | 0.923645 | 0.910626 | 0.900183 | 0.892046 | 0.871025 | 0.85041 | 0 | 0.014179 | 0.281295 | 24,533 | 601 | 269 | 40.8203 | 0.822198 | 0.332654 | 0 | 0.744548 | 1 | 0 | 0.17712 | 0.05332 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040498 | false | 0 | 0.012461 | 0 | 0.11215 | 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 |
0f5cae9b8c5dde7b9d0cb90e744f13dc4e8a3f7d | 49 | py | Python | instance/config.py | Faihope/News | 4d8ca790b10f6e52ddefc0bcd00ac2fe188d5bfa | [
"MIT"
] | null | null | null | instance/config.py | Faihope/News | 4d8ca790b10f6e52ddefc0bcd00ac2fe188d5bfa | [
"MIT"
] | null | null | null | instance/config.py | Faihope/News | 4d8ca790b10f6e52ddefc0bcd00ac2fe188d5bfa | [
"MIT"
] | null | null | null | NEWS_API_KEY = '827e6ae4f3574bf2b3726cac9e755d63' | 49 | 49 | 0.897959 | 4 | 49 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.425532 | 0.040816 | 49 | 1 | 49 | 49 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0.64 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.