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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
355afe62432f0a74bd58314c8e4ac4738bb62955 | 39,701 | py | Python | test.py | jakerockland/searching-and-sorting | 5c5ed79a2c43c3c3a44a78ce02018531e9de3f30 | [
"MIT"
] | 1 | 2016-02-03T15:50:42.000Z | 2016-02-03T15:50:42.000Z | test.py | grahamplace/data-structure-essentials | 5c5ed79a2c43c3c3a44a78ce02018531e9de3f30 | [
"MIT"
] | null | null | null | test.py | grahamplace/data-structure-essentials | 5c5ed79a2c43c3c3a44a78ce02018531e9de3f30 | [
"MIT"
] | 1 | 2018-04-06T17:56:19.000Z | 2018-04-06T17:56:19.000Z | # Testing of various searching and sorting algorithms and data structures
# By: Jacob Rockland
import unittest
import searching
import sorting
from singly_linked_list import SinglyLinkedList
from doubly_linked_list import DoublyLinkedList
from stack import Stack
from queue import Queue
from hash_table import HashT... | 39.15286 | 106 | 0.606937 | 5,586 | 39,701 | 4.168278 | 0.03276 | 0.202285 | 0.078165 | 0.095817 | 0.913417 | 0.838473 | 0.773922 | 0.73033 | 0.689744 | 0.610376 | 0 | 0.026028 | 0.21808 | 39,701 | 1,013 | 107 | 39.19151 | 0.724028 | 0.016775 | 0 | 0.646989 | 0 | 0 | 0.05149 | 0 | 0 | 0 | 0 | 0 | 0.38843 | 1 | 0.119244 | false | 0 | 0.014168 | 0.002361 | 0.160567 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 6 |
35a67f3c935aadd667cf8b9b26942457ba209101 | 29 | py | Python | kraskolba_base/__init__.py | TroLLik/odoo-kraskolba | 81a3e34a3b1b9a0b6bbac1cb23fa84f303f53f6d | [
"MIT"
] | null | null | null | kraskolba_base/__init__.py | TroLLik/odoo-kraskolba | 81a3e34a3b1b9a0b6bbac1cb23fa84f303f53f6d | [
"MIT"
] | 1 | 2017-12-01T04:56:06.000Z | 2017-12-01T04:56:06.000Z | kraskolba_base/__init__.py | TroLLik/odoo-kraskolba | 81a3e34a3b1b9a0b6bbac1cb23fa84f303f53f6d | [
"MIT"
] | null | null | null | # coding=utf-8
import models | 9.666667 | 14 | 0.758621 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 29 | 3 | 15 | 9.666667 | 0.84 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35b9ccf8ace9e393c5f300ccb28e21f34edb3caf | 47 | py | Python | RPG/main.py | lmello0/rpg-estudo | 1ff5a5b03175ca303fd1683e5f59d552d0fdd539 | [
"MIT"
] | null | null | null | RPG/main.py | lmello0/rpg-estudo | 1ff5a5b03175ca303fd1683e5f59d552d0fdd539 | [
"MIT"
] | null | null | null | RPG/main.py | lmello0/rpg-estudo | 1ff5a5b03175ca303fd1683e5f59d552d0fdd539 | [
"MIT"
] | null | null | null | import classes
import funcs
funcs.menuTestes() | 11.75 | 18 | 0.829787 | 6 | 47 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 4 | 18 | 11.75 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35bc077a2c734c0114052ab7376f7ad601611de7 | 44,206 | py | Python | common/servicechain/firewall/verify.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 1 | 2017-06-13T04:42:34.000Z | 2017-06-13T04:42:34.000Z | common/servicechain/firewall/verify.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | null | null | null | common/servicechain/firewall/verify.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | null | null | null | from time import sleep
from common.servicechain.config import ConfigSvcChain
from common.servicechain.verify import VerifySvcChain
from common.servicechain.mirror.verify import VerifySvcMirror
from common.servicechain.mirror.config import ConfigSvcMirror
from tcutils.util import get_random_cidr
from tcutils.util import... | 47.178228 | 240 | 0.611546 | 5,944 | 44,206 | 4.21568 | 0.039367 | 0.036435 | 0.028015 | 0.032564 | 0.893567 | 0.859845 | 0.816226 | 0.782584 | 0.769375 | 0.756246 | 0 | 0.020658 | 0.299168 | 44,206 | 936 | 241 | 47.228632 | 0.78816 | 0.041239 | 0 | 0.683879 | 0 | 0 | 0.12277 | 0.003119 | 0 | 0 | 0 | 0 | 0.074307 | 1 | 0.011335 | false | 0.013854 | 0.011335 | 0 | 0.034005 | 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 | 0 | 0 | 0 | 6 |
ea555c13b928b17a4c61da927eefad325d7cbc29 | 6,369 | py | Python | ClumpFinding.py | BlackAdder84/Bioinformatics | 6cc662b6c4a3349a89f6fdd26f05f1f6228bd912 | [
"MIT"
] | 1 | 2017-06-09T03:06:21.000Z | 2017-06-09T03:06:21.000Z | ClumpFinding.py | BlackAdder84/Bioinformatics | 6cc662b6c4a3349a89f6fdd26f05f1f6228bd912 | [
"MIT"
] | null | null | null | ClumpFinding.py | BlackAdder84/Bioinformatics | 6cc662b6c4a3349a89f6fdd26f05f1f6228bd912 | [
"MIT"
] | 1 | 2017-05-01T21:15:11.000Z | 2017-05-01T21:15:11.000Z | """
Passed all Tests (even E.Coli)
Solves E.Coli problem. Yeah!
"""
def ClumpFinding(seq,k,l,t):
kmers_dict = {}
valid_kmers = []
for i in range(l-k+1):
kmer = seq[i:i+k]
if kmer in kmers_dict.keys():
kmers_dict[kmer] += 1
if kmers_dict[kmer] >= t and kmer not in val... | 87.246575 | 3,898 | 0.853038 | 338 | 6,369 | 15.952663 | 0.399408 | 0.02003 | 0.001669 | 0.006677 | 0.055082 | 0.048405 | 0.048405 | 0.034496 | 0.011499 | 0.011499 | 0 | 0.008612 | 0.10661 | 6,369 | 72 | 3,899 | 88.458333 | 0.939016 | 0.058722 | 0 | 0.0625 | 0 | 0 | 0.746619 | 0.700811 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020833 | null | null | 0.229167 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea5e1e44e8680ea6f28f1280ada65ab797f0b5c2 | 40 | py | Python | extensions/iocompython/examples/asteroid-client-pyglet/game/__init__.py | iocafe/iocom | 9762b78fa1591994c74ed1fc6fe23b9ef44e0dff | [
"MIT"
] | 1 | 2020-04-28T23:25:50.000Z | 2020-04-28T23:25:50.000Z | extensions/iocompython/examples/asteroid-client-pyglet/game/__init__.py | iocafe/iocom | 9762b78fa1591994c74ed1fc6fe23b9ef44e0dff | [
"MIT"
] | 11 | 2020-01-30T16:27:24.000Z | 2020-08-09T06:25:06.000Z | extensions/iocompython/examples/asteroid-client-pyglet/game/__init__.py | iocafe/iocom | 9762b78fa1591994c74ed1fc6fe23b9ef44e0dff | [
"MIT"
] | null | null | null | from . import physicalobject, resources
| 20 | 39 | 0.825 | 4 | 40 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea957d7948390b4d23e2580e71838b479bcfc820 | 26,978 | py | Python | tcrdist/rep_funcs.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 26 | 2020-12-28T17:37:01.000Z | 2022-01-29T01:31:13.000Z | tcrdist/rep_funcs.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 31 | 2020-08-17T22:17:57.000Z | 2022-03-18T23:47:34.000Z | tcrdist/rep_funcs.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 7 | 2020-08-18T23:55:40.000Z | 2021-09-22T18:15:54.000Z | """
tcrdist3: Functional Programming Approach For Higher Memory Demand Use Cases
"""
import pwseqdist as pw
import pandas as pd
import numpy as np
from scipy import sparse
import os
from tcrdist import memory
import secrets
import parmap
import shutil
import multiprocessing
__all__ = ['_pw',
'_pws',
... | 39.908284 | 184 | 0.583957 | 3,403 | 26,978 | 4.432853 | 0.130473 | 0.032483 | 0.012396 | 0.013789 | 0.804906 | 0.782168 | 0.770567 | 0.76122 | 0.7589 | 0.756778 | 0 | 0.019366 | 0.324338 | 26,978 | 675 | 185 | 39.967407 | 0.808207 | 0.570873 | 0 | 0.487179 | 0 | 0 | 0.076064 | 0.008617 | 0 | 0 | 0 | 0.001481 | 0.030769 | 1 | 0.041026 | false | 0 | 0.051282 | 0 | 0.14359 | 0.030769 | 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 | 0 | 0 | 0 | 6 |
17aa5b165412fedb74e31472c5da01d5b63dcbbd | 114 | py | Python | main/migration_types.py | sotheara-leang/xFlask | b6899d4b6d1bdc4acfd812bfa8807e2cba7e8df0 | [
"MIT"
] | 2 | 2020-02-11T08:29:49.000Z | 2020-02-17T10:24:36.000Z | main/migration_types.py | sotheara-leang/xFlask | b6899d4b6d1bdc4acfd812bfa8807e2cba7e8df0 | [
"MIT"
] | null | null | null | main/migration_types.py | sotheara-leang/xFlask | b6899d4b6d1bdc4acfd812bfa8807e2cba7e8df0 | [
"MIT"
] | null | null | null | from xflask.sqlalchemy import StringEnum, IntegerEnum
from xflask.type import *
from main.type.edu_level import *
| 28.5 | 53 | 0.824561 | 16 | 114 | 5.8125 | 0.625 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 114 | 3 | 54 | 38 | 0.920792 | 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 | 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 | 6 |
17b82f811308e8bc2294e9088b437ea3e3db1414 | 43 | py | Python | test/fixture/python_scanner/from_import_simple_package_modules_no_space.py | Valkatraz/scons | 5e70c65f633dcecc035751c9f0c6f894088df8a0 | [
"MIT"
] | 1,403 | 2017-11-23T14:24:01.000Z | 2022-03-30T20:59:39.000Z | test/fixture/python_scanner/from_import_simple_package_modules_no_space.py | Valkatraz/scons | 5e70c65f633dcecc035751c9f0c6f894088df8a0 | [
"MIT"
] | 3,708 | 2017-11-27T13:47:12.000Z | 2022-03-29T17:21:17.000Z | test/fixture/python_scanner/from_import_simple_package_modules_no_space.py | Valkatraz/scons | 5e70c65f633dcecc035751c9f0c6f894088df8a0 | [
"MIT"
] | 281 | 2017-12-01T23:48:38.000Z | 2022-03-31T15:25:44.000Z | from simple_package import module1,module2
| 21.5 | 42 | 0.883721 | 6 | 43 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17eab0c2a4209e9e7a5979f04e487f2fe5a2456b | 57 | py | Python | models/__init__.py | heathher/neural_sequence_labeling | 81c83443982f5b1723fde3d446eb94e8cb7a4c44 | [
"MIT"
] | 240 | 2018-03-02T02:52:24.000Z | 2022-02-15T02:51:58.000Z | models/__init__.py | heathher/neural_sequence_labeling | 81c83443982f5b1723fde3d446eb94e8cb7a4c44 | [
"MIT"
] | 15 | 2018-03-02T02:54:55.000Z | 2022-01-10T08:09:03.000Z | models/__init__.py | heathher/neural_sequence_labeling | 81c83443982f5b1723fde3d446eb94e8cb7a4c44 | [
"MIT"
] | 53 | 2018-03-14T10:19:58.000Z | 2021-11-09T16:43:13.000Z | from models.base_model import *
from models.nns import *
| 19 | 31 | 0.789474 | 9 | 57 | 4.888889 | 0.666667 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 32 | 28.5 | 0.897959 | 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 | 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 | 6 |
aa1fef3f046c36a22e39c297d8a977417eeb7261 | 85 | py | Python | BatterySafe/__init__.py | skhillon/Battery-Safe | 9eb3852e07bf9a0c7883a30dd4edf799c0af908d | [
"MIT"
] | 22 | 2020-07-27T18:19:54.000Z | 2021-09-12T21:53:26.000Z | BatterySafe/__init__.py | skhillon/Battery-Safe | 9eb3852e07bf9a0c7883a30dd4edf799c0af908d | [
"MIT"
] | null | null | null | BatterySafe/__init__.py | skhillon/Battery-Safe | 9eb3852e07bf9a0c7883a30dd4edf799c0af908d | [
"MIT"
] | 1 | 2020-07-28T04:19:52.000Z | 2020-07-28T04:19:52.000Z | import BatterySafe.BatteryManager as BatteryManager
BatteryManager.BatteryManager()
| 21.25 | 51 | 0.882353 | 7 | 85 | 10.714286 | 0.571429 | 0.746667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 85 | 3 | 52 | 28.333333 | 0.949367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 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 | 0 | 0 | 0 | 6 |
a4b847bbaa00007c316dfa2b9e114a49d490c30e | 4,120 | py | Python | Component/tests/test_component_list.py | mst-solar-car/kicad-bom-generator | 2aae905056d06f3d25343a8d784049c141d05640 | [
"MIT"
] | 3 | 2018-02-26T12:31:41.000Z | 2020-10-10T14:14:11.000Z | Component/tests/test_component_list.py | mst-solar-car/kicad-bom-generator | 2aae905056d06f3d25343a8d784049c141d05640 | [
"MIT"
] | null | null | null | Component/tests/test_component_list.py | mst-solar-car/kicad-bom-generator | 2aae905056d06f3d25343a8d784049c141d05640 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from Component import *
def test_adding_single_component():
""" Tests adding a single component to a list """
# Arrange
component_list = KiCadComponentList()
component = KiCadComponent({
"name": "TestComponent"
})
# Act
component_list.Add(component)
# Asse... | 19.252336 | 58 | 0.661408 | 419 | 4,120 | 6.441527 | 0.145585 | 0.140052 | 0.038903 | 0.077807 | 0.739904 | 0.739904 | 0.718044 | 0.718044 | 0.718044 | 0.66395 | 0 | 0.023277 | 0.207524 | 4,120 | 213 | 59 | 19.342723 | 0.803369 | 0.10801 | 0 | 0.80303 | 0 | 0 | 0.104664 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 1 | 0.060606 | false | 0 | 0.015152 | 0 | 0.075758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4c780facf1af27d179b1cb6f6307f6dc59e74d1 | 2,306 | py | Python | epytope/Data/pssms/smm/mat/A_03_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_03_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_03_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_03_01_9 = {0: {'A': -0.177, 'C': -0.209, 'E': 0.594, 'D': 0.762, 'G': -0.018, 'F': 0.085, 'I': -0.225, 'H': -0.259, 'K': -0.537, 'M': -0.46, 'L': -0.062, 'N': 0.396, 'Q': 0.067, 'P': 0.538, 'S': -0.075, 'R': -0.532, 'T': -0.127, 'W': 0.282, 'V': -0.162, 'Y': 0.118}, 1: {'A': -0.121, 'C': 0.398, 'E': 0.15, 'D': 0.443,... | 2,306 | 2,306 | 0.392454 | 557 | 2,306 | 1.61939 | 0.319569 | 0.019956 | 0.011086 | 0.013304 | 0.062084 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371443 | 0.161752 | 2,306 | 1 | 2,306 | 2,306 | 0.095189 | 0 | 0 | 0 | 0 | 0 | 0.079324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 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 | 6 |
a4f142ea29b27c26e279fe1b55c065dba1d68205 | 251 | py | Python | nmigen/vendor/lattice_ice40.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 528 | 2020-01-28T18:21:00.000Z | 2021-12-09T06:27:51.000Z | nmigen/vendor/lattice_ice40.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 360 | 2020-01-28T18:34:30.000Z | 2021-12-10T08:03:32.000Z | nmigen/vendor/lattice_ice40.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 100 | 2020-02-06T21:55:46.000Z | 2021-11-25T19:20:44.000Z | from amaranth.vendor.lattice_ice40 import *
from amaranth.vendor.lattice_ice40 import __all__
import warnings
warnings.warn("instead of nmigen.vendor.lattice_ice40, use amaranth.vendor.lattice_ice40",
DeprecationWarning, stacklevel=2)
| 31.375 | 90 | 0.796813 | 31 | 251 | 6.193548 | 0.516129 | 0.270833 | 0.375 | 0.40625 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0.041284 | 0.131474 | 251 | 7 | 91 | 35.857143 | 0.83945 | 0 | 0 | 0 | 0 | 0 | 0.290837 | 0.227092 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
102a7b10f42fa15fd1031dabb6c3eefb5d0c52c2 | 151 | py | Python | src/DateTime/convertStringDateToTimestamp.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | src/DateTime/convertStringDateToTimestamp.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | src/DateTime/convertStringDateToTimestamp.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | import time
import datetime
def convertStringDateToTimestamp(date):
return time.mktime(datetime.datetime.strptime(date, "%d/%m/%Y").timetuple())
| 21.571429 | 80 | 0.761589 | 18 | 151 | 6.388889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099338 | 151 | 6 | 81 | 25.166667 | 0.845588 | 0 | 0 | 0 | 0 | 0 | 0.05298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
52e7dd385cff2f1fe40b5105cd7d29d2f5293070 | 29 | py | Python | ocean_model/__init__.py | Jaouadeddadsi/Paython-package-to-model-tidal-stream | e5c358459313f3c2d3b99acc4499711eeabc8b12 | [
"MIT"
] | null | null | null | ocean_model/__init__.py | Jaouadeddadsi/Paython-package-to-model-tidal-stream | e5c358459313f3c2d3b99acc4499711eeabc8b12 | [
"MIT"
] | null | null | null | ocean_model/__init__.py | Jaouadeddadsi/Paython-package-to-model-tidal-stream | e5c358459313f3c2d3b99acc4499711eeabc8b12 | [
"MIT"
] | null | null | null | from .Model_1DV import Model
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e08579d02cdb274ce201a50149ddd272195fcb6 | 35 | py | Python | engine/__init__.py | donnyyou/centerX | 6e381cb669a6014d02e31a43915271237690531c | [
"Apache-2.0"
] | 350 | 2020-12-01T09:55:16.000Z | 2020-12-23T13:47:43.000Z | engine/__init__.py | powerlic/centerX | 1073753533f26483c3ab053a7d8753708fcacde7 | [
"Apache-2.0"
] | 39 | 2020-12-24T13:42:29.000Z | 2022-02-10T01:09:56.000Z | engine/__init__.py | powerlic/centerX | 1073753533f26483c3ab053a7d8753708fcacde7 | [
"Apache-2.0"
] | 49 | 2020-12-01T11:39:14.000Z | 2020-12-21T01:45:39.000Z | from .defaults import CenterTrainer | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eab25f6010ba93babf5464b5f1d6fbb4195f4031 | 10,842 | py | Python | build/lib/ObjectAsString/ObjectAsString.py | DigitalCreativeApkDev/ObjectAsString | 8a4d3f247fe7ce066af826fa072a168aeb69a91c | [
"MIT"
] | null | null | null | build/lib/ObjectAsString/ObjectAsString.py | DigitalCreativeApkDev/ObjectAsString | 8a4d3f247fe7ce066af826fa072a168aeb69a91c | [
"MIT"
] | null | null | null | build/lib/ObjectAsString/ObjectAsString.py | DigitalCreativeApkDev/ObjectAsString | 8a4d3f247fe7ce066af826fa072a168aeb69a91c | [
"MIT"
] | null | null | null | """
This file contains code for the library "ObjectAsString".
Author: DigitalCreativeApkDev
"""
# Importing necessary libraries
import copy
from mpmath import mp, mpf
mp.pretty = True
# Creating method to check whether an object is a number or not
def is_number(obj: object) -> bool:
try:
mpf(obj)
... | 44.801653 | 98 | 0.536248 | 1,127 | 10,842 | 4.902396 | 0.07276 | 0.12543 | 0.095566 | 0.059729 | 0.88181 | 0.879276 | 0.843439 | 0.83638 | 0.83638 | 0.774661 | 0 | 0 | 0.339421 | 10,842 | 241 | 99 | 44.987552 | 0.771433 | 0.064656 | 0 | 0.481481 | 0 | 0 | 0.089109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.010582 | 0.010582 | 0.391534 | 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 | 0 | 0 | 0 | 6 |
eac1712a4d9b18988eaded8b3799180c0e5d98ec | 257,619 | py | Python | instances/passenger_demand/pas-20210422-1717-int12e/75.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/75.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/75.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 22784
passenger_arriving = (
(7, 5, 3, 9, 2, 1, 2, 2, 4, 0, 1, 0, 0, 7, 6, 3, 5, 4, 1, 3, 2, 3, 2, 1, 0, 0), # 0
(6, 11, 5, 8, 5, 3, 0, 2, 0, 0, 2, 0, 0, 6, 9, 8, 4, 3, 4, 2, 0, 2, 3, 0, 3, 0), # 1
(4, 8, 4, 5, 8, 5, 4, 1, 2, 3, 1, 0, 0, 7, 10, 6, 2, 9, 4, 1, 0, 4, 3, 0, 1, 0)... | 275.528342 | 493 | 0.768946 | 32,987 | 257,619 | 6.004911 | 0.222512 | 0.359847 | 0.345308 | 0.654268 | 0.374745 | 0.366996 | 0.36533 | 0.36533 | 0.36533 | 0.36533 | 0 | 0.849368 | 0.09601 | 257,619 | 934 | 494 | 275.82334 | 0.001198 | 0.01557 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
eae1360b95d3d3a5b7fca3ffe90f7355a2269033 | 3,101 | py | Python | network/coarse_network.py | sveatlo/inpainting | 6870ee56beea7401aa97194f76487c391af9dd5d | [
"Unlicense"
] | 1 | 2021-08-08T03:17:17.000Z | 2021-08-08T03:17:17.000Z | network/coarse_network.py | sveatlo/inpainting | 6870ee56beea7401aa97194f76487c391af9dd5d | [
"Unlicense"
] | 6 | 2021-08-08T13:12:55.000Z | 2022-03-13T15:26:02.000Z | network/coarse_network.py | sveatlo/unmasked | 6870ee56beea7401aa97194f76487c391af9dd5d | [
"Unlicense"
] | null | null | null | import torch
import torch.nn as nn
from network.gated_conv import GatedConv2d, GatedDeConv2d
class CoarseNetwork(nn.Module):
def __init__(self, in_channels: int = 4, out_channels: int = 3, latent_channels: int = 48, padding_type: str = 'zero', activation: str = 'lrelu', norm: str = 'none'):
super().__init... | 75.634146 | 170 | 0.671719 | 393 | 3,101 | 5.089059 | 0.147583 | 0.1925 | 0.135 | 0.187 | 0.7575 | 0.7395 | 0.7395 | 0.7395 | 0.7145 | 0.689 | 0 | 0.045717 | 0.217027 | 3,101 | 40 | 171 | 77.525 | 0.778007 | 0.020316 | 0 | 0.2 | 0 | 0 | 0.005612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.1 | 0 | 0.233333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc1be0e4603b11cd7c1a9ffba59a6aab834e2e36 | 3,376 | py | Python | ripiu/djangocms_aoxomoxoa/models/options/constants.py | ripiu/djangocms_aoxomoxoa | e801e49259fba739308daa37bc9bbd28ba0a8e27 | [
"BSD-3-Clause"
] | null | null | null | ripiu/djangocms_aoxomoxoa/models/options/constants.py | ripiu/djangocms_aoxomoxoa | e801e49259fba739308daa37bc9bbd28ba0a8e27 | [
"BSD-3-Clause"
] | null | null | null | ripiu/djangocms_aoxomoxoa/models/options/constants.py | ripiu/djangocms_aoxomoxoa | e801e49259fba739308daa37bc9bbd28ba0a8e27 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models # NOQA
from django.utils.translation import ugettext_lazy as _
ALIGN_LEFT = 'left'
ALIGN_CENTER = 'center'
ALIGN_RIGHT = 'right'
ALIGN_CHOICES = (
(ALIGN_LEFT, _('Left')),
(ALIGN_CENTER, _('Center')),
(ALIGN_RIGHT, _('Right')),
)
VALIGN_TOP = 'top'
VALIGN_MIDDLE = 'middle'
VA... | 29.876106 | 55 | 0.69846 | 371 | 3,376 | 5.781671 | 0.210243 | 0.083916 | 0.027972 | 0.016783 | 0.907226 | 0.907226 | 0.879254 | 0.879254 | 0.841958 | 0.755245 | 0 | 0 | 0.145142 | 3,376 | 112 | 56 | 30.142857 | 0.743243 | 0.001185 | 0 | 0 | 0 | 0 | 0.263205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 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 | 0 | 0 | 0 | 6 |
dc3f364ba0ad05f9813c36780d003449640d6fa5 | 25,167 | py | Python | tests/test_configure.py | EricGhildyal/RootCoachRecommendation | 09ba197b63aa8bf4714331b39a59289ae8c66dbc | [
"MIT"
] | 51 | 2015-02-09T02:09:31.000Z | 2022-03-14T19:30:35.000Z | tests/test_configure.py | EricGhildyal/RootCoachRecommendation | 09ba197b63aa8bf4714331b39a59289ae8c66dbc | [
"MIT"
] | 1 | 2019-11-02T09:40:18.000Z | 2019-11-02T09:40:18.000Z | tests/test_configure.py | EricGhildyal/RootCoachRecommendation | 09ba197b63aa8bf4714331b39a59289ae8c66dbc | [
"MIT"
] | 47 | 2015-01-17T08:20:44.000Z | 2022-03-04T18:43:33.000Z | import unittest
from mock import Mock
from mock import patch
import subprocess
import logging
from twilio.rest import TwilioRestClient
from twilio.exceptions import TwilioException
from .context import configure
class ConfigureTest(unittest.TestCase):
def setUp(self):
self.configure = configure.Configur... | 45.183124 | 79 | 0.611118 | 2,405 | 25,167 | 6.207069 | 0.082328 | 0.135852 | 0.071275 | 0.061093 | 0.841506 | 0.820539 | 0.791466 | 0.783963 | 0.779944 | 0.757704 | 0 | 0.007871 | 0.30842 | 25,167 | 556 | 80 | 45.264388 | 0.849813 | 0.064211 | 0 | 0.676617 | 0 | 0 | 0.111787 | 0.055723 | 0 | 0 | 0 | 0 | 0.099502 | 1 | 0.087065 | false | 0 | 0.019901 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc522fec90f01435b7342e9dfc4d373e63b132b8 | 523 | py | Python | gpudb/packages/avro/__init__.py | kineticadb/kinetica-api-python | 530dd3fb73a10a035fe5ec25e4260be6f0514017 | [
"MIT"
] | 12 | 2017-05-17T05:55:26.000Z | 2022-03-02T15:53:44.000Z | gpudb/packages/avro/__init__.py | kineticadb/kinetica-api-python | 530dd3fb73a10a035fe5ec25e4260be6f0514017 | [
"MIT"
] | 11 | 2017-03-11T18:21:26.000Z | 2022-02-09T05:08:40.000Z | gpudb/packages/avro/__init__.py | kineticadb/kinetica-api-python | 530dd3fb73a10a035fe5ec25e4260be6f0514017 | [
"MIT"
] | 9 | 2017-03-10T01:20:12.000Z | 2020-08-26T13:27:38.000Z | #! /usr/bin/env python
import sys
if sys.version_info[0] == 2:
from .avro_py2 import schema
from .avro_py2 import io
from .avro_py2 import protocol
from .avro_py2 import ipc
from .avro_py2 import datafile
from .avro_py2 import tool
#from .avro_py2 import txipc
else:
from .avro_py3 impo... | 24.904762 | 34 | 0.709369 | 83 | 523 | 4.289157 | 0.277108 | 0.314607 | 0.216292 | 0.33427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0401 | 0.237094 | 523 | 20 | 35 | 26.15 | 0.85213 | 0.143403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.866667 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc5feac40c2aeea326c31268bb58a80f2cd69032 | 123 | py | Python | pysts/gui/__init__.py | sdswart/pysts | f140072e064b59a7d8732e73d71fd812b6d292c5 | [
"MIT"
] | null | null | null | pysts/gui/__init__.py | sdswart/pysts | f140072e064b59a7d8732e73d71fd812b6d292c5 | [
"MIT"
] | null | null | null | pysts/gui/__init__.py | sdswart/pysts | f140072e064b59a7d8732e73d71fd812b6d292c5 | [
"MIT"
] | null | null | null | # Dash for simple web-based apps
# pyqt for larger platform independant apps
# tkinter for small platform independant apps
| 30.75 | 45 | 0.804878 | 18 | 123 | 5.5 | 0.666667 | 0.383838 | 0.464646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 123 | 3 | 46 | 41 | 0.961165 | 0.943089 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc6e0f19609fa1848809be4bb3360a82cb975f2f | 28 | py | Python | reldi_tokeniser/__init__.py | clarinsi/reldi-tokeniser | 7d519ca3799ec5cc702652ab0ac66f0bc93faffb | [
"Apache-2.0"
] | 4 | 2016-07-20T09:28:06.000Z | 2021-12-27T20:53:38.000Z | reldi_tokeniser/__init__.py | clarinsi/reldi-tokeniser | 7d519ca3799ec5cc702652ab0ac66f0bc93faffb | [
"Apache-2.0"
] | 3 | 2017-07-10T18:14:37.000Z | 2020-02-03T12:01:57.000Z | reldi_tokeniser/__init__.py | clarinsi/reldi-tokeniser | 7d519ca3799ec5cc702652ab0ac66f0bc93faffb | [
"Apache-2.0"
] | 7 | 2018-01-29T14:33:25.000Z | 2021-07-05T09:44:15.000Z | from . tokeniser import run
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dcabc339fe746f114822f488614e91e8feb83bdc | 25 | py | Python | tokenization.py | letitiayhho/beb | 48e400e0be0ea895bb4f403194eaf5f4493a3d89 | [
"MIT"
] | 2 | 2019-11-29T22:07:44.000Z | 2021-09-21T20:46:36.000Z | tokenization.py | letitiayhho/beb | 48e400e0be0ea895bb4f403194eaf5f4493a3d89 | [
"MIT"
] | 6 | 2021-03-31T19:25:19.000Z | 2022-03-12T00:07:39.000Z | tokenization.py | letitiayhho/beb | 48e400e0be0ea895bb4f403194eaf5f4493a3d89 | [
"MIT"
] | null | null | null | def tokenize():
pass
| 8.333333 | 15 | 0.6 | 3 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 25 | 2 | 16 | 12.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f4d08e5aa2f8b25229f75db1c4216847bf3022c1 | 38 | py | Python | Mapping spatial patterns of LST distribution in urban areas using satellite times series/demo.py | icharalamp/UrbanClimateSummerSchool2018 | 421585c44c6e6f3cb1fbc077073da218fa9d51d9 | [
"MIT"
] | 1 | 2020-07-11T06:58:33.000Z | 2020-07-11T06:58:33.000Z | Remote sensing in urban areas/demo.py | icharalamp/UrbanClimateSummerSchool2018 | 421585c44c6e6f3cb1fbc077073da218fa9d51d9 | [
"MIT"
] | null | null | null | Remote sensing in urban areas/demo.py | icharalamp/UrbanClimateSummerSchool2018 | 421585c44c6e6f3cb1fbc077073da218fa9d51d9 | [
"MIT"
] | null | null | null |
import os
import sys
import tempfile | 7.6 | 15 | 0.815789 | 6 | 38 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 5 | 15 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5207f37c30743b2f5794e680f5c1c5d8d44a8056 | 108 | py | Python | opy/_regtest/src/build/testdata/future_import.py | Schweinepriester/oil | 8b0e5c58a825223341896064d63a95c8b57a9c05 | [
"Apache-2.0"
] | 2,209 | 2016-11-20T10:32:58.000Z | 2022-03-31T20:51:27.000Z | opy/_regtest/src/build/testdata/future_import.py | Schweinepriester/oil | 8b0e5c58a825223341896064d63a95c8b57a9c05 | [
"Apache-2.0"
] | 1,074 | 2016-12-07T05:02:48.000Z | 2022-03-22T02:09:11.000Z | opy/_regtest/src/build/testdata/future_import.py | Schweinepriester/oil | 8b0e5c58a825223341896064d63a95c8b57a9c05 | [
"Apache-2.0"
] | 147 | 2016-12-11T04:13:28.000Z | 2022-03-27T14:50:00.000Z | #!/usr/bin/env python
"""
future_import.py
"""
from __future__ import print_function
print('future print')
| 13.5 | 37 | 0.740741 | 15 | 108 | 4.933333 | 0.666667 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 7 | 38 | 15.428571 | 0.770833 | 0.342593 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
521c8bc04df1cf2dcbac38020749dbcda910a3fc | 195 | py | Python | providers/users.py | LauraForde/FitKit-API | 05faf0a738b410c01b02999e47a465c58864c426 | [
"MIT"
] | null | null | null | providers/users.py | LauraForde/FitKit-API | 05faf0a738b410c01b02999e47a465c58864c426 | [
"MIT"
] | null | null | null | providers/users.py | LauraForde/FitKit-API | 05faf0a738b410c01b02999e47a465c58864c426 | [
"MIT"
] | null | null | null | from providers.couchProvider import CouchProvider
import flask
from flask import request, Response
data_provider=CouchProvider
def read_user(data_provider):
return data_provider.read_user() | 24.375 | 49 | 0.846154 | 25 | 195 | 6.4 | 0.52 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 195 | 8 | 50 | 24.375 | 0.91954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
525dd83de67cfdb568999126ec91e5153f3e71d8 | 47 | py | Python | demo2.py | KulvinderSingh26/hello-world | 758bb890db565c699b29a1a05e601d06a0f001cc | [
"MIT"
] | null | null | null | demo2.py | KulvinderSingh26/hello-world | 758bb890db565c699b29a1a05e601d06a0f001cc | [
"MIT"
] | null | null | null | demo2.py | KulvinderSingh26/hello-world | 758bb890db565c699b29a1a05e601d06a0f001cc | [
"MIT"
] | null | null | null | print("This file is created in master branch")
| 23.5 | 46 | 0.765957 | 8 | 47 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 1 | 47 | 47 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
526e370dd0d792cfffbbea4d78179e4de478aa06 | 65 | py | Python | Inheritance/Exercises/02. zoo/project/gorilla.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | 1 | 2021-06-30T11:53:44.000Z | 2021-06-30T11:53:44.000Z | Inheritance/Exercises/02. zoo/project/gorilla.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | null | null | null | Inheritance/Exercises/02. zoo/project/gorilla.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | null | null | null | from project.mammal import Mammal
class Gorilla(Mammal):
pass | 21.666667 | 33 | 0.784615 | 9 | 65 | 5.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 3 | 34 | 21.666667 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bfe6189a532ff69e293d786a550f4d6c2a0aca86 | 25 | py | Python | OledDisplay/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | null | null | null | OledDisplay/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | null | null | null | OledDisplay/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | null | null | null | from OledDisplay import * | 25 | 25 | 0.84 | 3 | 25 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfed4ee5ed33293e273b78e5bc02c54a903f05cd | 25 | py | Python | main.py | marcoshr/Insulin-Dosage-Calculator | 759a4d0ba4324b728cfef5255bf7190ce0237cd0 | [
"MIT"
] | 1 | 2021-09-04T22:22:03.000Z | 2021-09-04T22:22:03.000Z | main.py | marcoshr/Insulin-Dosage-Calculator | 759a4d0ba4324b728cfef5255bf7190ce0237cd0 | [
"MIT"
] | 5 | 2021-09-05T00:14:28.000Z | 2021-09-05T00:54:11.000Z | main.py | marcoshr/Insulin-Dosage-Calculator | 759a4d0ba4324b728cfef5255bf7190ce0237cd0 | [
"MIT"
] | null | null | null | print("Holaaaaa maaaaaa") | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 25 | 1 | 25 | 25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
5e7f26862d2fc99cc83eb57271ee782cace4ffa6 | 9,042 | py | Python | .openshift-ci/tests/test_runners.py | stackrox/stackrox | 3b2929fd5f2bc68d5742bd958a22e03202ae6be4 | [
"Apache-2.0"
] | 22 | 2022-03-31T14:32:18.000Z | 2022-03-31T22:11:30.000Z | .openshift-ci/tests/test_runners.py | stackrox/stackrox | 3b2929fd5f2bc68d5742bd958a22e03202ae6be4 | [
"Apache-2.0"
] | 5 | 2022-03-31T14:35:28.000Z | 2022-03-31T22:40:13.000Z | .openshift-ci/tests/test_runners.py | stackrox/stackrox | 3b2929fd5f2bc68d5742bd958a22e03202ae6be4 | [
"Apache-2.0"
] | 4 | 2022-03-31T16:33:58.000Z | 2022-03-31T22:19:26.000Z | import unittest
from unittest.mock import Mock
from runners import ClusterTestRunner, ClusterTestSetsRunner
class TestClusterTestRunner(unittest.TestCase):
def test_provisions(self):
cluster = Mock()
ClusterTestRunner(cluster=cluster).run()
cluster.provision.assert_called_once()
def t... | 37.991597 | 86 | 0.635921 | 1,042 | 9,042 | 5.255278 | 0.060461 | 0.099343 | 0.059167 | 0.055515 | 0.870526 | 0.804419 | 0.775931 | 0.758583 | 0.727173 | 0.69832 | 0 | 0.005927 | 0.253594 | 9,042 | 237 | 87 | 38.151899 | 0.805453 | 0.037713 | 0 | 0.682927 | 0 | 0 | 0.050605 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 1 | 0.136585 | false | 0 | 0.014634 | 0 | 0.160976 | 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 | 0 | 0 | 0 | 6 |
5ed356682c134a07a78eb89908376ed0ba09c688 | 44 | py | Python | pypi_packages/adabelief_tf0.0.1/adabelief_tf/__init__.py | wes-chen/Adabelief-Optimizer | 2e4e57cb75e79fe3f72051041b6aec09549b2d85 | [
"BSD-2-Clause"
] | 1,005 | 2020-10-16T02:40:57.000Z | 2022-03-21T19:51:27.000Z | pypi_packages/adabelief_tf0.0.1/adabelief_tf/__init__.py | wes-chen/Adabelief-Optimizer | 2e4e57cb75e79fe3f72051041b6aec09549b2d85 | [
"BSD-2-Clause"
] | 56 | 2020-10-16T16:27:18.000Z | 2022-03-31T18:35:56.000Z | pypi_packages/adabelief_tf0.0.1/adabelief_tf/__init__.py | wes-chen/Adabelief-Optimizer | 2e4e57cb75e79fe3f72051041b6aec09549b2d85 | [
"BSD-2-Clause"
] | 118 | 2020-10-16T06:40:24.000Z | 2022-03-25T05:29:48.000Z | from .AdaBelief_tf import AdaBeliefOptimizer | 44 | 44 | 0.909091 | 5 | 44 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0dea2f7501151e6dd57d2396a2b0c6d20f882203 | 132 | py | Python | MarioGame/abs_filepath.py | LuterGS/OSSP1_RL | f3e1054cd7d0b7f41f376697f2de005d55a42e64 | [
"MIT"
] | 2 | 2021-06-12T14:17:08.000Z | 2021-06-12T15:05:53.000Z | MarioGame/abs_filepath.py | LuterGS/OSSP1_RL | f3e1054cd7d0b7f41f376697f2de005d55a42e64 | [
"MIT"
] | null | null | null | MarioGame/abs_filepath.py | LuterGS/OSSP1_RL | f3e1054cd7d0b7f41f376697f2de005d55a42e64 | [
"MIT"
] | 2 | 2021-06-06T07:52:03.000Z | 2021-06-20T19:10:51.000Z | import os
REAL_PATH = os.path.dirname(os.path.realpath(__file__)) + "/"
ABS_PATH = os.path.dirname(os.path.abspath(__file__)) + "/" | 33 | 61 | 0.712121 | 20 | 132 | 4.2 | 0.45 | 0.285714 | 0.238095 | 0.404762 | 0.547619 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 132 | 4 | 62 | 33 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0dee6a4e235df6fc12f811731d257711bbaa5677 | 38 | py | Python | dbq/__init__.py | mattbriancon/django-dbq | 68e4088259ef677bd8014096eb93a62cbef8fb6d | [
"Apache-2.0"
] | 1 | 2021-03-11T21:45:12.000Z | 2021-03-11T21:45:12.000Z | dbq/__init__.py | mattbriancon/django-dbq | 68e4088259ef677bd8014096eb93a62cbef8fb6d | [
"Apache-2.0"
] | null | null | null | dbq/__init__.py | mattbriancon/django-dbq | 68e4088259ef677bd8014096eb93a62cbef8fb6d | [
"Apache-2.0"
] | null | null | null | from .tasks import task # noqa: F401
| 19 | 37 | 0.710526 | 6 | 38 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.210526 | 38 | 1 | 38 | 38 | 0.8 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df237d326aae878cb5dc2d061e0fd88d9bb9ab42 | 93 | py | Python | src/modules/__init__.py | yunyuyuan/news | 605b2bc79ed7092c693d06fc1da82f58c3665170 | [
"MIT"
] | null | null | null | src/modules/__init__.py | yunyuyuan/news | 605b2bc79ed7092c693d06fc1da82f58c3665170 | [
"MIT"
] | null | null | null | src/modules/__init__.py | yunyuyuan/news | 605b2bc79ed7092c693d06fc1da82f58c3665170 | [
"MIT"
] | null | null | null |
class NewsModule:
def __init__(self):
pass
def update(self):
pass
| 10.333333 | 23 | 0.548387 | 10 | 93 | 4.7 | 0.7 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.376344 | 93 | 8 | 24 | 11.625 | 0.810345 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
df332f25934255ec6b784ad51272a4e53e678bc6 | 173 | py | Python | rotkehlchen/chain/ethereum/utils.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | null | null | null | rotkehlchen/chain/ethereum/utils.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | 10 | 2020-10-06T18:57:17.000Z | 2022-03-27T06:33:54.000Z | rotkehlchen/chain/ethereum/utils.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | null | null | null | from rotkehlchen.fval import FVal
def token_normalized_value(token_amount: int, token_decimals: int) -> FVal:
return token_amount / (FVal(10) ** FVal(token_decimals))
| 28.833333 | 75 | 0.763006 | 24 | 173 | 5.25 | 0.541667 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.132948 | 173 | 5 | 76 | 34.6 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
df3564b8ca5ab9c86e58323c02c610209455887c | 320 | py | Python | ensemble/__init__.py | adityajn105/MLfromScratch | ea0758d4039051268d7f3af8799e2b005dbc2ebe | [
"MIT"
] | 16 | 2019-12-17T04:24:51.000Z | 2021-12-15T18:31:41.000Z | ensemble/__init__.py | adityajn105/MLfromScratch | ea0758d4039051268d7f3af8799e2b005dbc2ebe | [
"MIT"
] | null | null | null | ensemble/__init__.py | adityajn105/MLfromScratch | ea0758d4039051268d7f3af8799e2b005dbc2ebe | [
"MIT"
] | 5 | 2019-12-17T04:24:55.000Z | 2022-01-23T15:18:24.000Z |
from .forest import RandomForestClassifier, RandomForestRegressor
from .boosting import GradientBoostingRegressor, GradientBoostingClassifier
from .voting import VotingClassifier
__all__ = ['RandomForestClassifier','RandomForestRegressor','VotingClassifier',
'GradientBoostingRegressor','GradientBoostingClassifier'] | 45.714286 | 79 | 0.865625 | 20 | 320 | 13.65 | 0.55 | 0.315018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065625 | 320 | 7 | 80 | 45.714286 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 0.29375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10e5913b1b1627837f99fe9dc8933daf467049c7 | 162 | py | Python | morepath/tests/fixtures/self_scan/__init__.py | hugovk/morepath | 5596f9ce43ee4e5cd73eaa2ab9ef37825f88ae28 | [
"BSD-3-Clause"
] | 314 | 2015-01-01T01:42:52.000Z | 2022-01-07T21:46:15.000Z | morepath/tests/fixtures/self_scan/__init__.py | hugovk/morepath | 5596f9ce43ee4e5cd73eaa2ab9ef37825f88ae28 | [
"BSD-3-Clause"
] | 369 | 2015-01-02T19:10:40.000Z | 2021-07-03T04:37:27.000Z | morepath/tests/fixtures/self_scan/__init__.py | hugovk/morepath | 5596f9ce43ee4e5cd73eaa2ab9ef37825f88ae28 | [
"BSD-3-Clause"
] | 37 | 2015-01-11T09:22:02.000Z | 2021-07-02T20:48:20.000Z | def get_this_package():
from morepath.autosetup import caller_package
return caller_package(1)
def do_scan():
import morepath
morepath.scan()
| 14.727273 | 49 | 0.722222 | 21 | 162 | 5.333333 | 0.619048 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.203704 | 162 | 10 | 50 | 16.2 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
802030c28439bd7f4295b6d405690f741ade7255 | 77 | py | Python | flow_py_sdk/utils/__init__.py | janezpodhostnik/flow-py-sdk | 8b10f4ca2290f5d31920b86fd93a68a643cb1c75 | [
"MIT"
] | 21 | 2020-11-25T16:30:53.000Z | 2022-03-08T06:24:02.000Z | flow_py_sdk/utils/__init__.py | janezpodhostnik/flow-py-sdk | 8b10f4ca2290f5d31920b86fd93a68a643cb1c75 | [
"MIT"
] | 29 | 2021-03-06T19:04:33.000Z | 2022-03-18T15:16:44.000Z | flow_py_sdk/utils/__init__.py | janezpodhostnik/flow-py-sdk | 8b10f4ca2290f5d31920b86fd93a68a643cb1c75 | [
"MIT"
] | 15 | 2021-03-06T18:36:40.000Z | 2022-02-09T15:14:01.000Z | from .verify_user_signature import verify_user_signature, CompositeSignature
| 38.5 | 76 | 0.909091 | 9 | 77 | 7.333333 | 0.666667 | 0.30303 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 77 | 1 | 77 | 77 | 0.916667 | 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 | 0 | 0 | 0 | 6 |
8024c0db49ec55bdc014198dabc14543f43ef03d | 77 | py | Python | lendingblock/orders.py | lendingblock/lb-py | 56466d1e45013e2817cc0c1db7a20b911a1ac0e4 | [
"BSD-3-Clause"
] | 1 | 2018-05-13T18:37:06.000Z | 2018-05-13T18:37:06.000Z | lendingblock/orders.py | lendingblock/lb-py | 56466d1e45013e2817cc0c1db7a20b911a1ac0e4 | [
"BSD-3-Clause"
] | 2 | 2018-05-14T08:46:33.000Z | 2018-05-14T08:52:48.000Z | lendingblock/orders.py | lendingblock/lb-py | 56466d1e45013e2817cc0c1db7a20b911a1ac0e4 | [
"BSD-3-Clause"
] | null | null | null | from .component import CrudComponent
class Orders(CrudComponent):
pass
| 12.833333 | 36 | 0.779221 | 8 | 77 | 7.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 37 | 15.4 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
802f0d000c53848e7d0c8f3d26a4267eadbf91e2 | 83 | py | Python | lib/eventio/__init__.py | bboser/eventio | cdad47772d94e87a8ca8927e8d578fc7aba78266 | [
"MIT"
] | 6 | 2018-12-04T02:53:20.000Z | 2020-03-08T15:42:16.000Z | lib/eventio/__init__.py | bboser/eventio | cdad47772d94e87a8ca8927e8d578fc7aba78266 | [
"MIT"
] | null | null | null | lib/eventio/__init__.py | bboser/eventio | cdad47772d94e87a8ca8927e8d578fc7aba78266 | [
"MIT"
] | null | null | null | from .kernel import *
from .traps import *
from .task import *
from .sync import *
| 16.6 | 21 | 0.710843 | 12 | 83 | 4.916667 | 0.5 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 4 | 22 | 20.75 | 0.880597 | 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 | 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 | 6 |
805534a76918bf1e4315bb490a00e22febdd3419 | 24 | py | Python | FireBase/__init__.py | c17r/tsace | 59c6e0388429943dc3de879745119f9c94cd9ccc | [
"MIT"
] | null | null | null | FireBase/__init__.py | c17r/tsace | 59c6e0388429943dc3de879745119f9c94cd9ccc | [
"MIT"
] | null | null | null | FireBase/__init__.py | c17r/tsace | 59c6e0388429943dc3de879745119f9c94cd9ccc | [
"MIT"
] | null | null | null | from .firebase import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33fcd9016710bc006cefc7321848b71b5bd068c0 | 95 | py | Python | stonehenge/components/ui/base.py | RobertTownley/stonehenge | 376b8e1501dd12ac1bcec5de680a5b521b0d949c | [
"MIT"
] | 1 | 2018-09-07T14:15:31.000Z | 2018-09-07T14:15:31.000Z | stonehenge/components/ui/base.py | RobertTownley/stonehenge | 376b8e1501dd12ac1bcec5de680a5b521b0d949c | [
"MIT"
] | 5 | 2018-09-06T01:48:12.000Z | 2021-05-08T10:47:00.000Z | stonehenge/components/ui/base.py | RobertTownley/stonehenge | 376b8e1501dd12ac1bcec5de680a5b521b0d949c | [
"MIT"
] | null | null | null | from stonehenge.components.component import Component
class UIComponent(Component):
pass
| 15.833333 | 53 | 0.810526 | 10 | 95 | 7.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 54 | 19 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1d55be6d4f53554987cf56a5cf4ba28671ef506d | 73 | py | Python | lib/renderer/gl/__init__.py | caxapexac/PIFu | 4e5112d91cf9808a5c01fc43809344c2c7aae746 | [
"MIT"
] | null | null | null | lib/renderer/gl/__init__.py | caxapexac/PIFu | 4e5112d91cf9808a5c01fc43809344c2c7aae746 | [
"MIT"
] | null | null | null | lib/renderer/gl/__init__.py | caxapexac/PIFu | 4e5112d91cf9808a5c01fc43809344c2c7aae746 | [
"MIT"
] | null | null | null | from .framework import *
from .render import *
from .cam_render import *
| 18.25 | 25 | 0.753425 | 10 | 73 | 5.4 | 0.5 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 26 | 24.333333 | 0.885246 | 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 | 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 | 6 |
1d804a4163a7b8810278901b3a029d2186de7d6f | 113 | py | Python | office365/sharepoint/search/query/queryAutoCompletionResults.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/search/query/queryAutoCompletionResults.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/search/query/queryAutoCompletionResults.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class QueryAutoCompletionResults(ClientValue):
pass
| 18.833333 | 54 | 0.840708 | 11 | 113 | 8.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0.115044 | 113 | 5 | 55 | 22.6 | 0.91 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1d9d4ff8a6dc6d812b54d97a970af731236cfea6 | 401 | py | Python | model/criterions/__init__.py | UESTC-Liuxin/CVMI_Sementic_Segmentation | dc5bf6e940cf6961ef65abb6e7ec372f29d55249 | [
"Apache-2.0"
] | null | null | null | model/criterions/__init__.py | UESTC-Liuxin/CVMI_Sementic_Segmentation | dc5bf6e940cf6961ef65abb6e7ec372f29d55249 | [
"Apache-2.0"
] | null | null | null | model/criterions/__init__.py | UESTC-Liuxin/CVMI_Sementic_Segmentation | dc5bf6e940cf6961ef65abb6e7ec372f29d55249 | [
"Apache-2.0"
] | null | null | null | '''
Author: Liu Xin
Date: 2021-11-18 09:58:40
LastEditors: Liu Xin
LastEditTime: 2021-11-29 22:50:42
Description: file content
FilePath: /CVMI_Sementic_Segmentation/model/criterions/__init__.py
'''
from model.criterions.ce_loss import *
from model.criterions.dice_loss import *
from model.criterions.ce_loss import *
fro... | 25.0625 | 66 | 0.798005 | 61 | 401 | 5.065574 | 0.557377 | 0.291262 | 0.307443 | 0.245955 | 0.449838 | 0.323625 | 0.323625 | 0.323625 | 0.323625 | 0 | 0 | 0.077778 | 0.102244 | 401 | 15 | 67 | 26.733333 | 0.780556 | 0.471322 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d534eff5e8a631a59a813b67b41c8ec8d378d2dc | 4,696 | py | Python | python/tests/test_kmeans.py | Duconnor/Pudding | 4565f2ad9a933e83e9eacbc5ebe848599ea9cec1 | [
"MIT"
] | 3 | 2022-01-08T05:05:30.000Z | 2022-01-09T10:09:57.000Z | python/tests/test_kmeans.py | Duconnor/Pudding | 4565f2ad9a933e83e9eacbc5ebe848599ea9cec1 | [
"MIT"
] | null | null | null | python/tests/test_kmeans.py | Duconnor/Pudding | 4565f2ad9a933e83e9eacbc5ebe848599ea9cec1 | [
"MIT"
] | null | null | null | from pudding.clustering import kmeans
import pytest
import numpy as np
from sklearn.datasets import make_blobs
import pudding
def testKmeansToyData():
'''
Test KMeans uisng a toy dataset
'''
X = [[0.0, 0.0], [0.5, 0.0], [0.5, 1.0], [1.0, 1.0]]
initial_centers = [[0.0, 0.0], [1.0, 1.0]]
expecte... | 39.462185 | 131 | 0.725511 | 674 | 4,696 | 4.795252 | 0.135015 | 0.014851 | 0.013923 | 0.071782 | 0.823639 | 0.803837 | 0.803837 | 0.80198 | 0.80198 | 0.80198 | 0 | 0.029427 | 0.167802 | 4,696 | 119 | 132 | 39.462185 | 0.797595 | 0.094974 | 0 | 0.547945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 1 | 0.054795 | false | 0 | 0.068493 | 0 | 0.123288 | 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 | 0 | 0 | 0 | 6 |
d53a97105ca56e88a30463e43e3f5cf35a232fb2 | 79 | py | Python | pc/__init__.py | zy6p/adjust | ddcde0a99c6d01038de1f4675ad9409759c03ef0 | [
"Apache-2.0"
] | 1 | 2020-12-25T13:39:16.000Z | 2020-12-25T13:39:16.000Z | pc/__init__.py | zy6p/adjust | ddcde0a99c6d01038de1f4675ad9409759c03ef0 | [
"Apache-2.0"
] | null | null | null | pc/__init__.py | zy6p/adjust | ddcde0a99c6d01038de1f4675ad9409759c03ef0 | [
"Apache-2.0"
] | null | null | null | from . import daoxian
from . import adjustfather
from . import inverseadjust
| 13.166667 | 27 | 0.78481 | 9 | 79 | 6.888889 | 0.555556 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 5 | 28 | 15.8 | 0.953846 | 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 | 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 | 6 |
d54646bca6d0ddcd68d7bfa3afb6e7ef750a525f | 4,927 | py | Python | tests/test_data.py | Gaskell-1206/fastMRI | 1b6d1f9020bc9209afa65ef9b9f2f3fa3348901c | [
"MIT"
] | 1 | 2020-09-29T22:31:03.000Z | 2020-09-29T22:31:03.000Z | tests/test_data.py | Gaskell-1206/fastMRI | 1b6d1f9020bc9209afa65ef9b9f2f3fa3348901c | [
"MIT"
] | null | null | null | tests/test_data.py | Gaskell-1206/fastMRI | 1b6d1f9020bc9209afa65ef9b9f2f3fa3348901c | [
"MIT"
] | null | null | null | """
Copyright (c) Facebook, Inc. and its affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
"""
from fastmri.data.mri_data import (
SliceDataset,
CombinedSliceDataset,
AnnotatedSliceDataset,
)
def test_slice_datasets(fastmr... | 35.446043 | 88 | 0.637102 | 532 | 4,927 | 5.716165 | 0.157895 | 0.026307 | 0.047353 | 0.049326 | 0.818481 | 0.79875 | 0.79875 | 0.764551 | 0.764551 | 0.734298 | 0 | 0.012128 | 0.263649 | 4,927 | 138 | 89 | 35.702899 | 0.826075 | 0.034301 | 0 | 0.660194 | 0 | 0 | 0.095789 | 0 | 0 | 0 | 0 | 0 | 0.213592 | 1 | 0.067961 | false | 0 | 0.009709 | 0.029126 | 0.126214 | 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 | 0 | 0 | 0 | 6 |
d58da70d3488289cfda8cd564bf7436e81e3e357 | 12,400 | py | Python | openstack/tests/unit/cdn/v1/test_statistic.py | IamFive/sdk-python | 223b04f90477f7de0f00b3e652d8672ba73271c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | openstack/tests/unit/cdn/v1/test_statistic.py | IamFive/sdk-python | 223b04f90477f7de0f00b3e652d8672ba73271c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | openstack/tests/unit/cdn/v1/test_statistic.py | IamFive/sdk-python | 223b04f90477f7de0f00b3e652d8672ba73271c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # 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, software
# distributed under t... | 38.03681 | 75 | 0.594274 | 1,244 | 12,400 | 5.700161 | 0.13746 | 0.08673 | 0.076153 | 0.097306 | 0.833028 | 0.7989 | 0.750952 | 0.733606 | 0.682273 | 0.673953 | 0 | 0.038356 | 0.295645 | 12,400 | 325 | 76 | 38.153846 | 0.773529 | 0.042097 | 0 | 0.744526 | 0 | 0 | 0.131889 | 0.0209 | 0 | 0 | 0 | 0 | 0.321168 | 1 | 0.065693 | false | 0 | 0.010949 | 0 | 0.120438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63864135ceea8fa9256de0254acd643fe8eded17 | 32 | py | Python | fastai/vision/imports.py | bearpelican/fastai_pytorch | 3e8751d2fc5acdc880eef22d6849e156ce84778b | [
"Apache-2.0"
] | 1 | 2018-10-23T20:45:41.000Z | 2018-10-23T20:45:41.000Z | fastai/vision/imports.py | bearpelican/fastai_pytorch | 3e8751d2fc5acdc880eef22d6849e156ce84778b | [
"Apache-2.0"
] | null | null | null | fastai/vision/imports.py | bearpelican/fastai_pytorch | 3e8751d2fc5acdc880eef22d6849e156ce84778b | [
"Apache-2.0"
] | null | null | null | import PIL
from PIL import Image | 16 | 21 | 0.84375 | 6 | 32 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 21 | 16 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8977cd25aabff8a80ba260b162b7c4ced969e8f4 | 31 | py | Python | code/sample_5-4-3.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_5-4-3.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_5-4-3.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | x = [2, 4, 6, 8]
print(min(x))
| 10.333333 | 16 | 0.451613 | 8 | 31 | 1.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.225806 | 31 | 2 | 17 | 15.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
898e8409fee369c8926849f7b7616f3074980112 | 10,766 | py | Python | gru/models.py | LCE-UMD/GRU | e4512e779b83413dbd7547896a05a4f83cbf3d4f | [
"MIT"
] | 4 | 2021-04-20T09:24:22.000Z | 2022-03-14T07:47:32.000Z | gru/models.py | LCE-UMD/GRU | e4512e779b83413dbd7547896a05a4f83cbf3d4f | [
"MIT"
] | null | null | null | gru/models.py | LCE-UMD/GRU | e4512e779b83413dbd7547896a05a4f83cbf3d4f | [
"MIT"
] | 1 | 2021-10-20T15:21:33.000Z | 2021-10-20T15:21:33.000Z | import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
import tensorflow_addons as tfa
from sklearn.metrics import r2_score
from functools import partial
'''
classification
'''
# GRU clip classifier
def GRUClassifier(X, k_layers=1, k_hidden=32, k_class=15,
l2=0.001,... | 28.632979 | 93 | 0.607468 | 1,237 | 10,766 | 5.120453 | 0.124495 | 0.051153 | 0.03647 | 0.035523 | 0.865172 | 0.858541 | 0.843543 | 0.835017 | 0.822387 | 0.804231 | 0 | 0.022856 | 0.276612 | 10,766 | 376 | 94 | 28.632979 | 0.790447 | 0.174345 | 0 | 0.696552 | 0 | 0 | 0.043038 | 0.03038 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062069 | false | 0 | 0.041379 | 0 | 0.165517 | 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 | 0 | 0 | 0 | 6 |
98716258a8fb14fac4ba549a7b7b36128f15d546 | 44 | py | Python | rlutils/tf/exploration/__init__.py | vermouth1992/rl-util | 4c06ab8f5c96a44e58f88cf30146bcb837057112 | [
"Apache-2.0"
] | null | null | null | rlutils/tf/exploration/__init__.py | vermouth1992/rl-util | 4c06ab8f5c96a44e58f88cf30146bcb837057112 | [
"Apache-2.0"
] | null | null | null | rlutils/tf/exploration/__init__.py | vermouth1992/rl-util | 4c06ab8f5c96a44e58f88cf30146bcb837057112 | [
"Apache-2.0"
] | null | null | null | from .ou import OrnsteinUhlenbeckActionNoise | 44 | 44 | 0.909091 | 4 | 44 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9875048339bf29db3ecb35980cebc2f9d7cfa873 | 7,036 | py | Python | tests/summarycode/test_tallies.py | sthagen/nexB-scancode-toolkit | 12cc1286df78af898fae76fa339da2bb50ad51b9 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tests/summarycode/test_tallies.py | sthagen/nexB-scancode-toolkit | 12cc1286df78af898fae76fa339da2bb50ad51b9 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tests/summarycode/test_tallies.py | sthagen/nexB-scancode-toolkit | 12cc1286df78af898fae76fa339da2bb50ad51b9 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | #
# Copyright (c) nexB Inc. and others. All rights reserved.
# ScanCode is a trademark of nexB Inc.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/nexB/scancode-toolkit for support or download.
# See https://aboutcode.org for more in... | 49.549296 | 119 | 0.699829 | 952 | 7,036 | 4.783613 | 0.133403 | 0.079051 | 0.057971 | 0.070707 | 0.805665 | 0.790294 | 0.772727 | 0.741985 | 0.733421 | 0.703338 | 0 | 0.003279 | 0.176521 | 7,036 | 141 | 120 | 49.900709 | 0.782706 | 0.048323 | 0 | 0.5 | 0 | 0 | 0.229999 | 0.148048 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109091 | false | 0 | 0.063636 | 0 | 0.190909 | 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 | 0 | 0 | 0 | 6 |
7f309c84687b26207f427d5278befd726a3f871f | 9,958 | py | Python | api/tests/test_api_topic_modeling.py | eoglethorpe/DEEPL | fb6403ceb63197ecd314905f060a2e5f1e790f66 | [
"MIT"
] | 1 | 2020-07-02T15:39:37.000Z | 2020-07-02T15:39:37.000Z | api/tests/test_api_topic_modeling.py | eoglethorpe/DEEPL | fb6403ceb63197ecd314905f060a2e5f1e790f66 | [
"MIT"
] | 11 | 2017-10-28T10:50:09.000Z | 2021-06-10T20:07:44.000Z | api/tests/test_api_topic_modeling.py | eoglethorpe/DEEPL | fb6403ceb63197ecd314905f060a2e5f1e790f66 | [
"MIT"
] | null | null | null | from rest_framework.test import APITestCase
from classifier.models import ClassifiedDocument
from topic_modeling.models import TopicModelingModel
class TestTopicModelingAPI(APITestCase):
"""
Tests for Topic Modeling API
"""
def setUp(self):
self.url = '/api/topic-modeling/'
def test_no_p... | 36.07971 | 79 | 0.561157 | 1,168 | 9,958 | 4.628425 | 0.105308 | 0.038846 | 0.064743 | 0.068073 | 0.779319 | 0.749723 | 0.741583 | 0.722346 | 0.700703 | 0.697743 | 0 | 0.016845 | 0.344246 | 9,958 | 275 | 80 | 36.210909 | 0.811026 | 0.036353 | 0 | 0.740741 | 0 | 0 | 0.201317 | 0.011602 | 0 | 0 | 0 | 0 | 0.320988 | 1 | 0.074074 | false | 0 | 0.012346 | 0 | 0.098765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f5b8e13fe696170002f245cee3180381247e5f7 | 29 | py | Python | molsysmt/basic/compare/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/basic/compare/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/basic/compare/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | from .compare import compare
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f6ebd827ba8c582246f89c6796d8b2c7ff80d52 | 11,354 | py | Python | fast_bitrix24/bitrix.py | halsbox/fast_bitrix24 | 95a527a1b1e5e92107c4cfd3f8a0f03c87ead976 | [
"MIT"
] | 62 | 2020-08-07T12:27:25.000Z | 2022-03-10T09:11:41.000Z | fast_bitrix24/bitrix.py | halsbox/fast_bitrix24 | 95a527a1b1e5e92107c4cfd3f8a0f03c87ead976 | [
"MIT"
] | 115 | 2020-07-31T17:46:45.000Z | 2022-02-17T07:44:12.000Z | fast_bitrix24/bitrix.py | halsbox/fast_bitrix24 | 95a527a1b1e5e92107c4cfd3f8a0f03c87ead976 | [
"MIT"
] | 19 | 2020-10-18T18:32:36.000Z | 2022-02-09T11:02:12.000Z | '''Высокоуровневый API для доступа к Битрикс24'''
import aiohttp
from contextlib import asynccontextmanager, contextmanager
from typing import Iterable, Union
from . import correct_asyncio
from .srh import ServerRequestHandler
from .user_request import (BatchUserRequest, CallUserRequest,
Ge... | 36.27476 | 81 | 0.631407 | 1,275 | 11,354 | 5.512941 | 0.213333 | 0.027884 | 0.025608 | 0.018495 | 0.843505 | 0.81491 | 0.800114 | 0.786456 | 0.786456 | 0.786456 | 0 | 0.004701 | 0.288092 | 11,354 | 312 | 82 | 36.391026 | 0.864902 | 0.292496 | 0 | 0.347222 | 0 | 0 | 0.034404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097222 | false | 0 | 0.083333 | 0 | 0.361111 | 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 | 0 | 0 | 0 | 6 |
7f73091cad9b940608edf775fff03047a2031c55 | 15,452 | py | Python | tests/cli_test.py | gcxtx/zap-cli | 93c34189b498596dd0d64d95dde7b08bef2de13a | [
"MIT"
] | 1 | 2021-05-06T06:25:09.000Z | 2021-05-06T06:25:09.000Z | tests/cli_test.py | gcxtx/zap-cli | 93c34189b498596dd0d64d95dde7b08bef2de13a | [
"MIT"
] | null | null | null | tests/cli_test.py | gcxtx/zap-cli | 93c34189b498596dd0d64d95dde7b08bef2de13a | [
"MIT"
] | null | null | null | """
Tests for the ZAP CLI.
.. moduleauthor:: Daniel Grunwell (grunny)
"""
import unittest
from click.testing import CliRunner
from ddt import ddt, data, unpack
from mock import Mock, MagicMock, patch
import zapv2
from zapcli import zap_helper, cli
from zapcli.exceptions import ZAPError
@ddt
class ZAPCliTestCase(u... | 48.744479 | 111 | 0.623479 | 1,878 | 15,452 | 4.922258 | 0.079872 | 0.067071 | 0.06058 | 0.083297 | 0.914756 | 0.893769 | 0.880679 | 0.85926 | 0.81653 | 0.760493 | 0 | 0.008934 | 0.217706 | 15,452 | 316 | 112 | 48.898734 | 0.755791 | 0.100052 | 0 | 0.584071 | 0 | 0 | 0.221898 | 0.084633 | 0 | 0 | 0 | 0 | 0.252212 | 1 | 0.159292 | false | 0 | 0.030973 | 0 | 0.19469 | 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 | 0 | 0 | 0 | 6 |
7f763d77fe668a86253b5ab52260756d9ee696ea | 97 | py | Python | leaker/main.py | lgvaz/leaker | 3500a8bded1910c27414935ec9e74b7fe5f4c7e0 | [
"MIT"
] | null | null | null | leaker/main.py | lgvaz/leaker | 3500a8bded1910c27414935ec9e74b7fe5f4c7e0 | [
"MIT"
] | null | null | null | leaker/main.py | lgvaz/leaker | 3500a8bded1910c27414935ec9e74b7fe5f4c7e0 | [
"MIT"
] | null | null | null | import gc
def count_type(obj):
return sum([type(obj) == type(o) for o in gc.get_objects()]) | 19.4 | 64 | 0.659794 | 18 | 97 | 3.444444 | 0.722222 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 5 | 64 | 19.4 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
7f82a9421cc6317678f51a82965829da49fb13ad | 4,844 | py | Python | geometry_utils/pytests/two_d/test_point2.py | django-advance-utils/geometry-utils | b749cfdab67d8462cc5d02d566c2b526f7d0b418 | [
"MIT"
] | null | null | null | geometry_utils/pytests/two_d/test_point2.py | django-advance-utils/geometry-utils | b749cfdab67d8462cc5d02d566c2b526f7d0b418 | [
"MIT"
] | null | null | null | geometry_utils/pytests/two_d/test_point2.py | django-advance-utils/geometry-utils | b749cfdab67d8462cc5d02d566c2b526f7d0b418 | [
"MIT"
] | null | null | null | import pytest
from geometry_utils.three_d.point3 import Point3
from geometry_utils.two_d.point2 import Point2
from geometry_utils.two_d.vector2 import Vector2
'''
Point2 Initialisation
'''
def test_point2_with_string_inputs():
with pytest.raises(TypeError):
return Point2("0", "0", "0")
def test_point2... | 23.514563 | 81 | 0.773121 | 784 | 4,844 | 4.306122 | 0.077806 | 0.35545 | 0.192239 | 0.128851 | 0.870261 | 0.734005 | 0.643661 | 0.551836 | 0.469194 | 0.444609 | 0 | 0.087186 | 0.138109 | 4,844 | 205 | 82 | 23.629268 | 0.721437 | 0 | 0 | 0.126437 | 0 | 0 | 0.005507 | 0 | 0 | 0 | 0 | 0 | 0.287356 | 1 | 0.390805 | false | 0 | 0.045977 | 0 | 0.563218 | 0.011494 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7f8a5b50d33fc3b8b24d017809971b873579ba8c | 3,700 | py | Python | backup/pluginManager.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | backup/pluginManager.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | backup/pluginManager.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | from .signals import *
from plogical.pluginManagerGlobal import pluginManagerGlobal
class pluginManager:
@staticmethod
def preBackupSite(request):
return pluginManagerGlobal.globalPlug(request, preBackupSite)
@staticmethod
def postBackupSite(request, response):
return pluginManagerGlo... | 35.238095 | 95 | 0.773514 | 259 | 3,700 | 11.050193 | 0.142857 | 0.131027 | 0.30573 | 0.366876 | 0.504892 | 0.28232 | 0.103075 | 0.103075 | 0.061495 | 0 | 0 | 0 | 0.164865 | 3,700 | 104 | 96 | 35.576923 | 0.926214 | 0 | 0 | 0.371795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.320513 | false | 0 | 0.025641 | 0.320513 | 0.679487 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7f8c79b56ca448f21d26fedc902f36a604923904 | 38 | py | Python | lg_pointer/src/lg_pointer/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_pointer/src/lg_pointer/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_pointer/src/lg_pointer/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | from megaviewport import MegaViewport
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f8f5aae9f7cedd2884c8d1c873365134650fb8a | 36 | py | Python | src/__init__.py | dombraccia/gff3_parser | a01ba73a7feeca0d50034d6de549196c63564e5b | [
"MIT"
] | 1 | 2021-09-17T03:21:30.000Z | 2021-09-17T03:21:30.000Z | src/__init__.py | dombraccia/gff3_parser | a01ba73a7feeca0d50034d6de549196c63564e5b | [
"MIT"
] | null | null | null | src/__init__.py | dombraccia/gff3_parser | a01ba73a7feeca0d50034d6de549196c63564e5b | [
"MIT"
] | 1 | 2021-09-17T03:23:15.000Z | 2021-09-17T03:23:15.000Z | from src.gff3_parser.parser import * | 36 | 36 | 0.833333 | 6 | 36 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.083333 | 36 | 1 | 36 | 36 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fad7e6b3d9ac773fa16261180173f3e20e02fe3 | 6,555 | py | Python | Test_Menu_Basket.py | Shemlenie/Autotest_python | d7b37dc52e4260d9aa3cae05bd7d68cd3c506b53 | [
"Apache-2.0"
] | null | null | null | Test_Menu_Basket.py | Shemlenie/Autotest_python | d7b37dc52e4260d9aa3cae05bd7d68cd3c506b53 | [
"Apache-2.0"
] | null | null | null | Test_Menu_Basket.py | Shemlenie/Autotest_python | d7b37dc52e4260d9aa3cae05bd7d68cd3c506b53 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoAlertPresentException
import unittest, time, re
url="C:\\Users\\Glebo\\OneDrive\\Рабочий стол\\UIR\\chromedriver.exe"
class Test_Menu_Basket(unittest.TestCase):... | 54.173554 | 118 | 0.651259 | 955 | 6,555 | 4.282723 | 0.139267 | 0.171149 | 0.174572 | 0.19511 | 0.781174 | 0.749633 | 0.736919 | 0.708068 | 0.686308 | 0.685086 | 0 | 0.020268 | 0.156979 | 6,555 | 120 | 119 | 54.625 | 0.71987 | 0.031121 | 0 | 0.26087 | 0 | 0.25 | 0.360322 | 0.333176 | 0 | 0 | 0 | 0 | 0.01087 | 1 | 0.119565 | false | 0.032609 | 0.043478 | 0 | 0.206522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6beb6f1e4f2426087898c28ecc7c0898e84fed9 | 9,121 | py | Python | musicData1.py | Maier007/Rhapsography | 05044efee036430b7f8eab891a7bbe1bf49b6e94 | [
"MIT"
] | null | null | null | musicData1.py | Maier007/Rhapsography | 05044efee036430b7f8eab891a7bbe1bf49b6e94 | [
"MIT"
] | null | null | null | musicData1.py | Maier007/Rhapsography | 05044efee036430b7f8eab891a7bbe1bf49b6e94 | [
"MIT"
] | null | null | null | XMajor = [[15, 13.333333333333334, 26.666666666666668, 46.666666666666664, 13.333333333333334, 0.0, 0.0, 0.0],[13, 15.384615384615385, 38.46153846153846, 7.6923076923076925, 15.384615384615385, 15.384615384615385, 0.0, 7.6923076923076925],[4, 25.0, 0.0, 25.0, 50.0, 0.0, 0.0, 0.0],[10, 20.0, 30.0, 0.0, 0.0, 0.0, 20.0, 3... | 1,824.2 | 4,966 | 0.70398 | 1,652 | 9,121 | 3.886804 | 0.044794 | 0.121788 | 0.099984 | 0.080361 | 0.769974 | 0.731506 | 0.474848 | 0.375798 | 0.171001 | 0.145616 | 0 | 0.772305 | 0.091876 | 9,121 | 4 | 4,967 | 2,280.25 | 0.002898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 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 | 6 |
63e40f47e46b06271a470ddf6fb3be20271c72b3 | 4,515 | py | Python | idl2py/star/helio_jd.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/star/helio_jd.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/star/helio_jd.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def helio_jd():
pass
#function helio_jd,date,ra,dec, B1950 = B1950, TIME_DIFF = time_diff
#;+
#; NAME:
#; HELIO_JD
#; PURPOSE:
#; Convert geocentric (reduced) Julian date to heliocentric Julian date
#... | 38.589744 | 83 | 0.57608 | 632 | 4,515 | 4.074367 | 0.471519 | 0.027184 | 0.03301 | 0.015146 | 0.071845 | 0.071845 | 0.027961 | 0.027961 | 0.027961 | 0 | 0 | 0.150907 | 0.304319 | 4,515 | 116 | 84 | 38.922414 | 0.668895 | 0.892359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
63e74e0083c8d7921de1b84cd074e087c1f3d2ea | 123 | py | Python | games/admin.py | phildini/tintg | ad82d94f37b301b5ef8062e472bac52bcfe7ad8f | [
"Apache-2.0"
] | null | null | null | games/admin.py | phildini/tintg | ad82d94f37b301b5ef8062e472bac52bcfe7ad8f | [
"Apache-2.0"
] | null | null | null | games/admin.py | phildini/tintg | ad82d94f37b301b5ef8062e472bac52bcfe7ad8f | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Game)
admin.site.register(models.Player)
| 20.5 | 34 | 0.813008 | 18 | 123 | 5.555556 | 0.555556 | 0.18 | 0.34 | 0.46 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089431 | 123 | 5 | 35 | 24.6 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1231fe97f70f17edfbd4fb5102026282cd84d9c9 | 20 | py | Python | pydp/__init__.py | leclair-7/PyDP | 0f9b354066218010243f93a9a12d01b9fd9b4d7b | [
"Apache-2.0"
] | null | null | null | pydp/__init__.py | leclair-7/PyDP | 0f9b354066218010243f93a9a12d01b9fd9b4d7b | [
"Apache-2.0"
] | null | null | null | pydp/__init__.py | leclair-7/PyDP | 0f9b354066218010243f93a9a12d01b9fd9b4d7b | [
"Apache-2.0"
] | null | null | null | from .pydp import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12334b8f0bd00fcf944263febe21f1440a22ef95 | 2,422 | py | Python | task2_final.py | inwk6312winter2019/model-openbook2-lipi0035 | acbf0427719c26e47f219a51788ea15b95906882 | [
"MIT"
] | null | null | null | task2_final.py | inwk6312winter2019/model-openbook2-lipi0035 | acbf0427719c26e47f219a51788ea15b95906882 | [
"MIT"
] | null | null | null | task2_final.py | inwk6312winter2019/model-openbook2-lipi0035 | acbf0427719c26e47f219a51788ea15b95906882 | [
"MIT"
] | null | null | null | #Part 1
import csv
def count_accessible_busstops(csv1,csv2):
count = 0
street_csv = open(csv1)
bus_csv = open(csv2)
reader1 = csv.DictReader(street_csv)
reader2 = csv.DictReader(bus_csv)
street_fdmid = []
bus_fdmid = []
for row1 in reader1:
if(row1["ST_CLASS"].upper() == "ARTERIAL".upper()):
... | 31.051282 | 98 | 0.676301 | 347 | 2,422 | 4.556196 | 0.158501 | 0.083491 | 0.037951 | 0.039848 | 0.779886 | 0.779886 | 0.779886 | 0.779886 | 0.779886 | 0.779886 | 0 | 0.028629 | 0.177952 | 2,422 | 77 | 99 | 31.454545 | 0.765445 | 0.007432 | 0 | 0.75 | 0 | 0 | 0.196168 | 0.027489 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.015625 | 0 | 0.109375 | 0.046875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12385d82c6be497560a15f0feb0782177cbff699 | 177 | py | Python | opps/contrib/multisite/models.py | jeanmask/opps | 031c6136c38d43aa6d1ccb25a94f7bcd65ccbf87 | [
"MIT"
] | 159 | 2015-01-03T16:36:35.000Z | 2022-03-29T20:50:13.000Z | opps/contrib/multisite/models.py | jeanmask/opps | 031c6136c38d43aa6d1ccb25a94f7bcd65ccbf87 | [
"MIT"
] | 81 | 2015-01-02T21:26:16.000Z | 2021-05-29T12:24:52.000Z | opps/contrib/multisite/models.py | jeanmask/opps | 031c6136c38d43aa6d1ccb25a94f7bcd65ccbf87 | [
"MIT"
] | 75 | 2015-01-23T13:41:03.000Z | 2021-09-24T03:45:23.000Z | # -*- coding: utf-8 -*-
from django.utils.translation import ugettext_lazy as _
from opps.core.permissions.models import Permission
class SitePermission(Permission):
pass
| 22.125 | 55 | 0.768362 | 22 | 177 | 6.090909 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.135593 | 177 | 7 | 56 | 25.285714 | 0.869281 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
125ca4d5a30b6a19febbad1936ed876cd9cd4428 | 70 | py | Python | testing/test_homework_01/conftest.py | Akuzmicheva2021python/Python_2021_homeworks | 910b9b5f9be30b9cc384ff3ef2e6d238eb4e2383 | [
"Apache-2.0"
] | null | null | null | testing/test_homework_01/conftest.py | Akuzmicheva2021python/Python_2021_homeworks | 910b9b5f9be30b9cc384ff3ef2e6d238eb4e2383 | [
"Apache-2.0"
] | null | null | null | testing/test_homework_01/conftest.py | Akuzmicheva2021python/Python_2021_homeworks | 910b9b5f9be30b9cc384ff3ef2e6d238eb4e2383 | [
"Apache-2.0"
] | null | null | null | # from utils import add_homework_path
#
# add_homework_path(__file__)
| 17.5 | 37 | 0.814286 | 10 | 70 | 4.9 | 0.7 | 0.44898 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 3 | 38 | 23.333333 | 0.790323 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89d46c1e242b479b0d9aba7198ec54484dae559a | 11,364 | py | Python | tests/test_results.py | ndarvishev/projects | 6a9855c5f8af8fad2799ef7a203e126b834c5056 | [
"Apache-2.0"
] | 1 | 2021-06-26T19:13:49.000Z | 2021-06-26T19:13:49.000Z | tests/test_results.py | ndarvishev/projects | 6a9855c5f8af8fad2799ef7a203e126b834c5056 | [
"Apache-2.0"
] | null | null | null | tests/test_results.py | ndarvishev/projects | 6a9855c5f8af8fad2799ef7a203e126b834c5056 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from io import BytesIO
from json import dumps
from re import S
from tests.test_datasets import TASK_ID
from unittest import TestCase
from fastapi.testclient import TestClient
from minio.error import BucketAlreadyOwnedByYou
from projects.api.main import app
from projects.controllers.utils impor... | 40.877698 | 135 | 0.642731 | 1,367 | 11,364 | 5.130944 | 0.122165 | 0.073567 | 0.014542 | 0.015968 | 0.82093 | 0.800542 | 0.793413 | 0.781437 | 0.76775 | 0.716424 | 0 | 0.01528 | 0.234073 | 11,364 | 278 | 136 | 40.877698 | 0.790556 | 0.005544 | 0 | 0.547414 | 0 | 0.021552 | 0.31572 | 0.161622 | 0 | 0 | 0 | 0 | 0.12931 | 1 | 0.017241 | false | 0.00431 | 0.051724 | 0 | 0.073276 | 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 | 0 | 0 | 0 | 6 |
d61febff1d18afe2fd216c369599a0f2b80698f7 | 47,133 | py | Python | src/java/JavaLexer.py | sloboegen98/BasePlag | 65ea0f56401ec9689c7bf55247fc46a96d9340ae | [
"MIT"
] | null | null | null | src/java/JavaLexer.py | sloboegen98/BasePlag | 65ea0f56401ec9689c7bf55247fc46a96d9340ae | [
"MIT"
] | null | null | null | src/java/JavaLexer.py | sloboegen98/BasePlag | 65ea0f56401ec9689c7bf55247fc46a96d9340ae | [
"MIT"
] | null | null | null | # Generated from JavaLexer.g4 by ANTLR 4.9.3
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\... | 63.350806 | 103 | 0.575584 | 10,099 | 47,133 | 2.676404 | 0.156154 | 0.130009 | 0.068926 | 0.075622 | 0.250657 | 0.209368 | 0.146657 | 0.124607 | 0.121129 | 0.118946 | 0 | 0.351324 | 0.149343 | 47,133 | 743 | 104 | 63.43607 | 0.322816 | 0.000891 | 0 | 0.005517 | 1 | 0.641379 | 0.644021 | 0.588485 | 0 | 0 | 0 | 0 | 0.005517 | 1 | 0.002759 | false | 0 | 0.012414 | 0 | 0.205517 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f05baed48c1d11946edde0cfa37feda33a2fed5 | 7,084 | py | Python | test-runner/rest_wrappers/generated/e2erestapi/operations/wrapper_operations.py | v-greach/iot-sdks-e2e-fx | 2ceb178c886ced2a639dcd61bf11206a58685509 | [
"MIT"
] | null | null | null | test-runner/rest_wrappers/generated/e2erestapi/operations/wrapper_operations.py | v-greach/iot-sdks-e2e-fx | 2ceb178c886ced2a639dcd61bf11206a58685509 | [
"MIT"
] | null | null | null | test-runner/rest_wrappers/generated/e2erestapi/operations/wrapper_operations.py | v-greach/iot-sdks-e2e-fx | 2ceb178c886ced2a639dcd61bf11206a58685509 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from ... | 37.284211 | 98 | 0.651468 | 718 | 7,084 | 6.284123 | 0.171309 | 0.046099 | 0.035461 | 0.017731 | 0.79344 | 0.79344 | 0.777926 | 0.76906 | 0.759309 | 0.736702 | 0 | 0.003192 | 0.248165 | 7,084 | 189 | 99 | 37.481481 | 0.843973 | 0.390175 | 0 | 0.644737 | 1 | 0 | 0.068013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065789 | false | 0 | 0.039474 | 0 | 0.184211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
61398f6c3160a02c381cd821efc8cfe2cfbcd28f | 8,579 | py | Python | tests/pybaseball/cache/test_cache.py | reddigari/pybaseball | 2d878cf3505ce0a5e657694ae967d6275dc3c211 | [
"MIT"
] | 650 | 2017-06-29T20:05:19.000Z | 2022-03-31T03:27:25.000Z | tests/pybaseball/cache/test_cache.py | reddigari/pybaseball | 2d878cf3505ce0a5e657694ae967d6275dc3c211 | [
"MIT"
] | 216 | 2017-10-21T05:05:08.000Z | 2022-03-31T04:04:53.000Z | tests/pybaseball/cache/test_cache.py | reddigari/pybaseball | 2d878cf3505ce0a5e657694ae967d6275dc3c211 | [
"MIT"
] | 214 | 2017-07-18T21:40:01.000Z | 2022-03-29T03:19:55.000Z | from datetime import datetime, timedelta
from typing import Callable
from unittest.mock import MagicMock, patch
import pandas as pd
import pytest
from _pytest.monkeypatch import MonkeyPatch
from pybaseball import cache
@pytest.fixture(name="mock_data_1")
def _mock_data_1() -> pd.DataFrame:
return pd.DataFrame([1... | 32.744275 | 87 | 0.710689 | 1,180 | 8,579 | 4.79661 | 0.085593 | 0.036042 | 0.033392 | 0.012367 | 0.85318 | 0.790283 | 0.742049 | 0.732155 | 0.717845 | 0.709364 | 0 | 0.016778 | 0.159343 | 8,579 | 261 | 88 | 32.869732 | 0.768026 | 0.001399 | 0 | 0.663212 | 0 | 0 | 0.138704 | 0.058727 | 0 | 0 | 0 | 0 | 0.238342 | 1 | 0.082902 | false | 0 | 0.036269 | 0.005181 | 0.145078 | 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 | 0 | 0 | 0 | 6 |
6165e4d41993124cf9265ef76b700400508f5ce3 | 98 | py | Python | office365/directory/applications/app_identity.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/directory/applications/app_identity.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/directory/applications/app_identity.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class AppIdentity(ClientValue):
pass
| 16.333333 | 54 | 0.816327 | 11 | 98 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.132653 | 98 | 5 | 55 | 19.6 | 0.894118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
61bca8b4fdaa6905a8fdd564488a30200204e734 | 85 | py | Python | exercises/strain/strain.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/strain/strain.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/strain/strain.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | def keep(sequence, predicate):
pass
def discard(sequence, predicate):
pass
| 12.142857 | 33 | 0.694118 | 10 | 85 | 5.9 | 0.6 | 0.576271 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211765 | 85 | 6 | 34 | 14.166667 | 0.880597 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4efc3ffa7d0a18d3700829d9d18f21f1ed609cd7 | 6 | py | Python | Random-Programs/dev/games/terminal/ratX.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/dev/games/terminal/ratX.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/dev/games/terminal/ratX.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | M`!j | 6 | 6 | 0.333333 | 4 | 6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 1 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f62743e15982298d97e720a606fb0dff455038c5 | 8,607 | py | Python | test/test_rigctl.py | Marzona/rig-remote | 05957aae40e80e5250fd6c10a514283a35ff56a9 | [
"MIT"
] | 19 | 2016-01-29T20:16:18.000Z | 2022-01-13T07:01:30.000Z | test/test_rigctl.py | Marzona/rig-remote | 05957aae40e80e5250fd6c10a514283a35ff56a9 | [
"MIT"
] | 93 | 2016-01-17T18:01:33.000Z | 2022-01-12T16:46:04.000Z | test/test_rigctl.py | Marzona/rig-remote | 05957aae40e80e5250fd6c10a514283a35ff56a9 | [
"MIT"
] | 6 | 2016-02-15T21:04:47.000Z | 2022-01-12T16:46:23.000Z | #!/usr/bin/env python
# import modules
import pytest
import socket
import telnetlib
from mock import patch, MagicMock
from rig_remote.rigctl import RigCtl
from rig_remote.constants import (
DEFAULT_CONFIG,
ALLOWED_VFO_COMMANDS,
... | 29.176271 | 62 | 0.693157 | 1,100 | 8,607 | 5.11 | 0.075455 | 0.16723 | 0.182174 | 0.172211 | 0.777086 | 0.756093 | 0.73599 | 0.731898 | 0.69525 | 0.694183 | 0 | 0.019061 | 0.195422 | 8,607 | 294 | 63 | 29.27551 | 0.792635 | 0.004066 | 0 | 0.516393 | 0 | 0 | 0.031505 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 1 | 0.188525 | false | 0 | 0.02459 | 0 | 0.217213 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f672ab6ea27110ccbfc5826e036db42205f67f7c | 29 | py | Python | utils/models/other/deeplab/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | 3 | 2022-01-18T19:25:46.000Z | 2022-02-05T18:53:24.000Z | utils/models/other/deeplab/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | utils/models/other/deeplab/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | from .model import Deeplabv3
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9cd06829cbb81ccaade6a8d9b4f6a12f94bb7adf | 75 | py | Python | ppq/api/__init__.py | xiguadong/ppq | 6c71adb3c2a8ca95967f101724b5e4b3e6f761ff | [
"Apache-2.0"
] | 100 | 2021-12-31T09:34:06.000Z | 2022-03-25T02:54:51.000Z | ppq/api/__init__.py | xiguadong/ppq | 6c71adb3c2a8ca95967f101724b5e4b3e6f761ff | [
"Apache-2.0"
] | 12 | 2021-12-31T10:28:15.000Z | 2022-03-31T07:08:44.000Z | ppq/api/__init__.py | xiguadong/ppq | 6c71adb3c2a8ca95967f101724b5e4b3e6f761ff | [
"Apache-2.0"
] | 21 | 2021-12-31T09:51:02.000Z | 2022-03-30T12:21:55.000Z | from .setting import *
from .fsys import *
from .interface import *
| 18.75 | 24 | 0.666667 | 9 | 75 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 75 | 3 | 25 | 25 | 0.892857 | 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 | 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 | 6 |
1445240ba7f99d3345820b1ba9963e8dc4f358e1 | 9,011 | py | Python | cogs/error.py | Kumarozh/Modration_bot | 1d99ed22a2952aa0ec2f4dee2238928bad3fdc96 | [
"MIT"
] | null | null | null | cogs/error.py | Kumarozh/Modration_bot | 1d99ed22a2952aa0ec2f4dee2238928bad3fdc96 | [
"MIT"
] | null | null | null | cogs/error.py | Kumarozh/Modration_bot | 1d99ed22a2952aa0ec2f4dee2238928bad3fdc96 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
from discord import Member,Embed
class error(commands.Cog):
def __init__(self,client):
self.client=client
self._last_member = None
@commands.Cog.listener()
async def on_command_error(self, ctx, error):
async with ctx.typing():
... | 88.343137 | 154 | 0.676839 | 1,163 | 9,011 | 5.067928 | 0.097163 | 0.139973 | 0.106888 | 0.053444 | 0.881235 | 0.881235 | 0.874958 | 0.84849 | 0.810655 | 0.810655 | 0 | 0.042027 | 0.205194 | 9,011 | 102 | 155 | 88.343137 | 0.780927 | 0 | 0 | 0.588235 | 0 | 0.009804 | 0.166223 | 0.003107 | 0 | 0 | 0.013316 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.029412 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
144712eeed35ecaba7662db6d5f36fa1bb5358e7 | 89 | py | Python | test.py | andrscyv/fast_youtube_search | 7d1cfc51dee9b716c2e76a9b9fcc806661b89cba | [
"MIT"
] | 7 | 2020-06-28T21:09:57.000Z | 2021-09-01T04:51:12.000Z | test.py | andrscyv/fast_youtube_search | 7d1cfc51dee9b716c2e76a9b9fcc806661b89cba | [
"MIT"
] | null | null | null | test.py | andrscyv/fast_youtube_search | 7d1cfc51dee9b716c2e76a9b9fcc806661b89cba | [
"MIT"
] | 2 | 2020-10-07T17:43:21.000Z | 2021-12-22T03:35:09.000Z | from fast_youtube_search import search_youtube
print(search_youtube(['jorja', 'smith'])) | 29.666667 | 46 | 0.808989 | 12 | 89 | 5.666667 | 0.666667 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 89 | 3 | 47 | 29.666667 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
145da4b1765a08ced445b8f9431552112809cc5f | 37,799 | py | Python | scale/data/test/test_views.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 121 | 2015-11-18T18:15:33.000Z | 2022-03-10T01:55:00.000Z | scale/data/test/test_views.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 1,415 | 2015-12-23T23:36:04.000Z | 2022-01-07T14:10:09.000Z | scale/data/test/test_views.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 66 | 2015-12-03T20:38:56.000Z | 2020-07-27T15:28:11.000Z | """ Tests dataset views methods """
from __future__ import unicode_literals
from __future__ import absolute_import
import copy
import datetime
import json
import django
from django.utils.timezone import now
from rest_framework import status
from rest_framework.test import APITestCase
from data.data.json.data_v6 impo... | 45.595899 | 132 | 0.562105 | 3,984 | 37,799 | 5.129267 | 0.059739 | 0.049914 | 0.020455 | 0.032298 | 0.842966 | 0.813653 | 0.794715 | 0.768534 | 0.750966 | 0.738243 | 0 | 0.016395 | 0.312601 | 37,799 | 829 | 133 | 45.595899 | 0.77008 | 0.046245 | 0 | 0.682183 | 0 | 0 | 0.133515 | 0.010395 | 0 | 0 | 0 | 0 | 0.130016 | 1 | 0.038523 | false | 0 | 0.025682 | 0 | 0.083467 | 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 | 0 | 0 | 0 | 6 |
14825fbd4a59980dd9c389a5f3f7c488b012e1ef | 6,627 | py | Python | bert_pytorch/model/associated_learning.py | Hibb-bb/ALLM | 8eabed5175cb0f91850b367367abbecdded91568 | [
"Apache-2.0"
] | 1 | 2022-01-27T09:39:31.000Z | 2022-01-27T09:39:31.000Z | bert_pytorch/model/associated_learning.py | Hibb-bb/ALLM | 8eabed5175cb0f91850b367367abbecdded91568 | [
"Apache-2.0"
] | null | null | null | bert_pytorch/model/associated_learning.py | Hibb-bb/ALLM | 8eabed5175cb0f91850b367367abbecdded91568 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from typing import Optional, Tuple
import torch
import torch.nn as nn
from torch import Tensor
from torch.nn.modules import dropout
class ALComponent(nn.Module):
x: Tensor
y: Tensor
loss_b: Tensor
loss_d: Tensor
_s: Tensor
_t: Tensor
_s_prime: Tensor
_t_prime:... | 26.614458 | 158 | 0.547306 | 885 | 6,627 | 3.887006 | 0.128814 | 0.027616 | 0.023547 | 0.017442 | 0.85843 | 0.853779 | 0.814244 | 0.809593 | 0.809593 | 0.809593 | 0 | 0.012407 | 0.33107 | 6,627 | 249 | 159 | 26.614458 | 0.763591 | 0.045571 | 0 | 0.308411 | 0 | 0 | 0.004362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065421 | false | 0 | 0.046729 | 0 | 0.271028 | 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 | 0 | 0 | 0 | 6 |
148699c4bbf0080627e05668e44f90e461ed01ca | 4,234 | py | Python | notebooks/tracking/create_dataset.py | jeffhernandez1995/jeffhernandez1995.github.io | 214c9dcaa0d37b505870e1f5d51793ab7319c1e7 | [
"MIT"
] | null | null | null | notebooks/tracking/create_dataset.py | jeffhernandez1995/jeffhernandez1995.github.io | 214c9dcaa0d37b505870e1f5d51793ab7319c1e7 | [
"MIT"
] | null | null | null | notebooks/tracking/create_dataset.py | jeffhernandez1995/jeffhernandez1995.github.io | 214c9dcaa0d37b505870e1f5d51793ab7319c1e7 | [
"MIT"
] | null | null | null | import numpy as np
import cv2
import matplotlib.pyplot as plt
# vids = np.load('data/mnist_training_fast_videos.npy')
# bbox = np.load('data/mnist_training_fast_trajectories.npy')
# bbox[:, :, :, 3] = vids.shape[2] - bbox[:, :, :, 3]
# bbox[:, :, :, 1] = vids.shape[2] - bbox[:, :, :, 1]
# bbox = bbox.swapaxes(1, 2)
... | 34.991736 | 72 | 0.510392 | 652 | 4,234 | 3.240798 | 0.130368 | 0.045433 | 0.06815 | 0.075722 | 0.877425 | 0.848083 | 0.801704 | 0.776148 | 0.757217 | 0.743966 | 0 | 0.093511 | 0.290269 | 4,234 | 120 | 73 | 35.283333 | 0.609651 | 0.499764 | 0 | 0.04 | 0 | 0 | 0.077335 | 0.036965 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06 | 0 | 0.06 | 0.02 | 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 | 0 | 0 | 0 | 6 |
148a29d6ca890168d8417f3932b07db9f5717080 | 40 | py | Python | prodcon_ipc/__init__.py | CodeFinder2/shared-memory-pycpp-example | dd82cdc3a0cb4a986ddc3237e2d1e367d39031ff | [
"BSD-3-Clause"
] | 3 | 2020-08-02T14:06:06.000Z | 2021-09-21T21:22:04.000Z | prodcon_ipc/__init__.py | CodeFinder2/shared-memory-cpp-example | dd82cdc3a0cb4a986ddc3237e2d1e367d39031ff | [
"BSD-3-Clause"
] | 1 | 2020-05-07T16:23:27.000Z | 2020-05-07T16:23:27.000Z | prodcon_ipc/__init__.py | CodeFinder2/shared-memory-cpp-example | dd82cdc3a0cb4a986ddc3237e2d1e367d39031ff | [
"BSD-3-Clause"
] | null | null | null | import producer_ipc
import consumer_ipc
| 13.333333 | 19 | 0.9 | 6 | 40 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 2 | 20 | 20 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1494a72b6d31a02f8e1a01eea17d33b9d02b1ee5 | 10,757 | py | Python | tests/unit/test_paths.py | p1c2u/pathable | ba9f30ead908e9d579e290977b8f2221d32751b6 | [
"Apache-2.0"
] | 1 | 2022-02-01T01:53:59.000Z | 2022-02-01T01:53:59.000Z | tests/unit/test_paths.py | p1c2u/pathable | ba9f30ead908e9d579e290977b8f2221d32751b6 | [
"Apache-2.0"
] | 2 | 2022-02-01T03:37:04.000Z | 2022-02-01T03:53:16.000Z | tests/unit/test_paths.py | p1c2u/pathable | ba9f30ead908e9d579e290977b8f2221d32751b6 | [
"Apache-2.0"
] | null | null | null | from types import GeneratorType
import pytest
from pathable.paths import SEPARATOR
from pathable.paths import BasePath
from pathable.paths import LookupPath
class TestBasePathInit:
def test_default(self):
p = BasePath()
assert p.parts == []
assert p.separator == SEPARATOR
def test_... | 24.064877 | 67 | 0.454774 | 894 | 10,757 | 5.389262 | 0.083893 | 0.072644 | 0.062267 | 0.124533 | 0.794105 | 0.771067 | 0.752802 | 0.731216 | 0.713367 | 0.702574 | 0 | 0.041889 | 0.425211 | 10,757 | 446 | 68 | 24.118834 | 0.737344 | 0 | 0 | 0.70765 | 0 | 0 | 0.071209 | 0.00502 | 0 | 0 | 0 | 0 | 0.15847 | 1 | 0.087432 | false | 0 | 0.013661 | 0 | 0.125683 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14ab8cc35bfc1aa451bcb71d355f11d50e2a1322 | 4,586 | py | Python | tests/utils/test_utils.py | run-x/opta | 64606498334f2b1aa79f5a431465eafdf5ca5ed7 | [
"Apache-2.0"
] | 595 | 2021-05-21T22:30:48.000Z | 2022-03-31T15:40:25.000Z | tests/utils/test_utils.py | run-x/opta | 64606498334f2b1aa79f5a431465eafdf5ca5ed7 | [
"Apache-2.0"
] | 463 | 2021-05-24T21:32:59.000Z | 2022-03-31T17:12:33.000Z | tests/utils/test_utils.py | run-x/opta | 64606498334f2b1aa79f5a431465eafdf5ca5ed7 | [
"Apache-2.0"
] | 29 | 2021-05-21T22:27:52.000Z | 2022-03-28T16:43:45.000Z | import click
import pytest
from pytest_mock import MockFixture
from opta.exceptions import UserErrors
from opta.utils import alternate_yaml_extension, check_opta_file_exists, exp_backoff
def test_exp_backoff(mocker: MockFixture) -> None:
# Sleep should be exponential for each iteration
mocked_sleep = mocker.... | 35.828125 | 86 | 0.737898 | 641 | 4,586 | 4.853354 | 0.141966 | 0.115718 | 0.121504 | 0.090003 | 0.816458 | 0.806172 | 0.801029 | 0.751205 | 0.713918 | 0.713918 | 0 | 0.00236 | 0.168556 | 4,586 | 127 | 87 | 36.110236 | 0.813533 | 0.02246 | 0 | 0.495146 | 0 | 0 | 0.148884 | 0.054018 | 0 | 0 | 0 | 0 | 0.213592 | 1 | 0.058252 | false | 0.009709 | 0.048544 | 0 | 0.106796 | 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 | 0 | 0 | 0 | 6 |
1add2285b18cc4f6eb09b39b65ad3527acb1c2e0 | 122 | py | Python | tests/test_dice.py | juanescendales/ci-me-dice-on-demand | 05a5ce27f7e613291bd037425c01c8476549d95f | [
"MIT"
] | null | null | null | tests/test_dice.py | juanescendales/ci-me-dice-on-demand | 05a5ce27f7e613291bd037425c01c8476549d95f | [
"MIT"
] | null | null | null | tests/test_dice.py | juanescendales/ci-me-dice-on-demand | 05a5ce27f7e613291bd037425c01c8476549d95f | [
"MIT"
] | null | null | null | import unittest
import app
def test_test():
assert app.test() == "Works!"
assert app.hello() == "Goodbye World"
| 15.25 | 41 | 0.647541 | 16 | 122 | 4.875 | 0.625 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204918 | 122 | 7 | 42 | 17.428571 | 0.804124 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ae7b7f44d529e712e61af49f433ef51076599ae | 147 | py | Python | product/models/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | 1 | 2022-01-01T11:51:30.000Z | 2022-01-01T11:51:30.000Z | product/models/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | null | null | null | product/models/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | null | null | null | from .product import Product
from .product_type import ProductType
from .product_group import ProductGroup
from .product_brand import ProductBrand
| 29.4 | 39 | 0.863946 | 19 | 147 | 6.526316 | 0.473684 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 147 | 4 | 40 | 36.75 | 0.946565 | 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 | 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 | 6 |
210143c9902f90df6edef4406a514b630d74e2c8 | 254 | py | Python | tests/fixtures/sampler/__init__.py | fangqyi/garage | ddafba385ef005f46f913ab352f9638760e5b412 | [
"MIT"
] | 1 | 2021-03-02T08:43:20.000Z | 2021-03-02T08:43:20.000Z | tests/fixtures/sampler/__init__.py | fangqyi/garage | ddafba385ef005f46f913ab352f9638760e5b412 | [
"MIT"
] | null | null | null | tests/fixtures/sampler/__init__.py | fangqyi/garage | ddafba385ef005f46f913ab352f9638760e5b412 | [
"MIT"
] | null | null | null | """Fixtures for testing samplers."""
from tests.fixtures.sampler.ray_fixtures import (ray_local_session_fixture,
ray_session_fixture)
__all__ = ['ray_local_session_fixture', 'ray_session_fixture']
| 36.285714 | 76 | 0.641732 | 26 | 254 | 5.692308 | 0.5 | 0.378378 | 0.202703 | 0.297297 | 0.527027 | 0.527027 | 0.527027 | 0 | 0 | 0 | 0 | 0 | 0.275591 | 254 | 6 | 77 | 42.333333 | 0.804348 | 0.11811 | 0 | 0 | 0 | 0 | 0.207547 | 0.117925 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2133aee6a5b85b9b7855fa72d1c24e8d321f9d7c | 156 | py | Python | dash/admin.py | ravshansk/ajans | 84e0d23609b0af98ba390cc8736bfae66d0b883e | [
"MIT"
] | null | null | null | dash/admin.py | ravshansk/ajans | 84e0d23609b0af98ba390cc8736bfae66d0b883e | [
"MIT"
] | null | null | null | dash/admin.py | ravshansk/ajans | 84e0d23609b0af98ba390cc8736bfae66d0b883e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Actor
# Register your models here.
@admin.register(Actor)
class ActorAdmin(admin.ModelAdmin):
pass
| 15.6 | 35 | 0.788462 | 21 | 156 | 5.857143 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 156 | 9 | 36 | 17.333333 | 0.911111 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
216818220f93141584620c00849be8301514f246 | 265 | py | Python | Artifact.py | drherobrine/Chigsaw | 1e8a2832deb61fa0bb7377a83540c6ae04c20eec | [
"BSD-2-Clause"
] | null | null | null | Artifact.py | drherobrine/Chigsaw | 1e8a2832deb61fa0bb7377a83540c6ae04c20eec | [
"BSD-2-Clause"
] | 5 | 2016-02-15T17:06:53.000Z | 2016-02-15T20:34:02.000Z | Artifact.py | drherobrine/Chigsaw | 1e8a2832deb61fa0bb7377a83540c6ae04c20eec | [
"BSD-2-Clause"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
class Artifact:
def __init__(self, name):
self.name = name
def getName():
return self.name
| 24.090909 | 39 | 0.758491 | 33 | 265 | 5.393939 | 0.515152 | 0.224719 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 265 | 10 | 40 | 26.5 | 0.839623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0.111111 | 0.888889 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dce8864b2fb92d7397d63cb9f28a1d2d4e5fa008 | 125 | py | Python | dgcnn/__init__.py | Temigo/dynamic-gcnn | baed5b637b6dc7a7d984db580213a35622f1471d | [
"MIT"
] | 49 | 2018-10-19T22:51:31.000Z | 2022-02-10T17:11:06.000Z | dgcnn/__init__.py | Temigo/dynamic-gcnn | baed5b637b6dc7a7d984db580213a35622f1471d | [
"MIT"
] | 2 | 2018-11-06T23:41:28.000Z | 2019-06-03T05:47:43.000Z | dgcnn/__init__.py | Temigo/dynamic-gcnn | baed5b637b6dc7a7d984db580213a35622f1471d | [
"MIT"
] | 11 | 2018-10-12T23:35:07.000Z | 2020-12-01T12:29:32.000Z | from iotool import io_factory
from model import build
from trainval import trainval
import ops
from flags import DGCNN_FLAGS
| 20.833333 | 29 | 0.856 | 20 | 125 | 5.25 | 0.55 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144 | 125 | 5 | 30 | 25 | 0.981308 | 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 | 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 | 6 |
dcfe2cef6ccba9ed1fca41f906d74565f0470594 | 1,913 | py | Python | event/veldt_helpers.py | HansGR/WorldsCollide | af227be553e120ee004b130598360c61daf7df59 | [
"MIT"
] | 7 | 2022-01-15T02:53:53.000Z | 2022-02-17T00:51:32.000Z | event/veldt_helpers.py | HansGR/WorldsCollide | af227be553e120ee004b130598360c61daf7df59 | [
"MIT"
] | 8 | 2022-01-16T02:45:24.000Z | 2022-03-21T02:08:27.000Z | event/veldt_helpers.py | HansGR/WorldsCollide | af227be553e120ee004b130598360c61daf7df59 | [
"MIT"
] | 5 | 2022-01-15T02:53:38.000Z | 2022-01-19T17:42:10.000Z | import data.event_bit as event_bit
import instruction.asm as asm
def ram_event_byte(event):
return 0x1e80 + event_bit.byte(event)
def ram_event_bit(event):
return 1 << event_bit.bit(event)
def char_recruited_event_byte(char):
return ram_event_byte(event_bit.character_recruited(char))
def char_recruited_... | 27.724638 | 62 | 0.699425 | 286 | 1,913 | 4.34965 | 0.108392 | 0.135048 | 0.086817 | 0.07717 | 0.799839 | 0.755627 | 0.717042 | 0.684887 | 0.670418 | 0.670418 | 0 | 0.011561 | 0.186095 | 1,913 | 68 | 63 | 28.132353 | 0.787412 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006273 | 0 | 0 | 1 | 0.259259 | false | 0 | 0.037037 | 0.259259 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.