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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
56eb1c7306fe729c0ed76152de5031669b58ac0e | 230 | py | Python | mmseg/models/segmentors/__init__.py | JZTgentle/-mm-salient-detection | 3e9550529620d3e4f86824152ec9d1a2f1d668e6 | [
"Apache-2.0"
] | 2 | 2021-01-22T10:10:53.000Z | 2021-03-22T12:40:27.000Z | mmseg/models/segmentors/__init__.py | JZTgentle/mm-salient-detection | 3e9550529620d3e4f86824152ec9d1a2f1d668e6 | [
"Apache-2.0"
] | null | null | null | mmseg/models/segmentors/__init__.py | JZTgentle/mm-salient-detection | 3e9550529620d3e4f86824152ec9d1a2f1d668e6 | [
"Apache-2.0"
] | null | null | null | from .cascade_encoder_decoder import CascadeEncoderDecoder
from .encoder_decoder import EncoderDecoder
from .sod_encoder_decoder import SODEncoderDecoder
__all__ = ['EncoderDecoder', 'CascadeEncoderDecoder', 'SODEncoderDecoder']
| 38.333333 | 74 | 0.86087 | 21 | 230 | 9 | 0.47619 | 0.222222 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 230 | 5 | 75 | 46 | 0.891509 | 0 | 0 | 0 | 0 | 0 | 0.226087 | 0.091304 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
710e5d85af6a2a2691cdff1ba558b988ded9adb8 | 28,600 | py | Python | modules/FASTX_toolkit.py | tyrmi/STAPLER | fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe | [
"BSD-3-Clause"
] | 4 | 2017-07-17T07:45:39.000Z | 2021-01-12T00:33:10.000Z | modules/FASTX_toolkit.py | tyrmi/STAPLER | fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe | [
"BSD-3-Clause"
] | null | null | null | modules/FASTX_toolkit.py | tyrmi/STAPLER | fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe | [
"BSD-3-Clause"
] | null | null | null | import os
import directory
from STAPLERerror import STAPLERerror
from STAPLERerror import VirtualIOError
from GenericBase import GenericBase
import utils
class fastx_toolkit_generic_compressable(GenericBase):
"""Generic class with method for parsing fastx toolkit IO parameters.
Only single type ... | 40.567376 | 93 | 0.653566 | 3,773 | 28,600 | 4.764909 | 0.060429 | 0.028034 | 0.016353 | 0.01691 | 0.881744 | 0.8635 | 0.85727 | 0.847425 | 0.837357 | 0.837023 | 0 | 0.003423 | 0.274825 | 28,600 | 704 | 94 | 40.625 | 0.863404 | 0.547517 | 0 | 0.650862 | 0 | 0 | 0.172222 | 0.055613 | 0 | 0 | 0 | 0 | 0.008621 | 1 | 0.021552 | false | 0 | 0.025862 | 0 | 0.49569 | 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 |
7133176081a0893b30c17bb5af1161f4bc57d2bf | 33 | py | Python | src/interface/menu_options.py | KaiAPaulhus/GifExtract | 75028e6b0f2ddcfc07bf5a1a738c24b2a9912a3c | [
"MIT"
] | 1 | 2016-10-26T01:42:59.000Z | 2016-10-26T01:42:59.000Z | src/interface/menu_options.py | KaiAPaulhus/GifExtract | 75028e6b0f2ddcfc07bf5a1a738c24b2a9912a3c | [
"MIT"
] | null | null | null | src/interface/menu_options.py | KaiAPaulhus/GifExtract | 75028e6b0f2ddcfc07bf5a1a738c24b2a9912a3c | [
"MIT"
] | null | null | null | def saveButtonPressed():
pass | 16.5 | 24 | 0.727273 | 3 | 33 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 2 | 25 | 16.5 | 0.888889 | 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 |
854078ee57fa5cfd262900e7b00db6ee5f98aeb7 | 111 | py | Python | fathom/autoenc/__init__.py | Aetf/fathom | 1f0dafa9fe3b7988708522d93ecda7f282cb2090 | [
"Apache-2.0"
] | 1 | 2021-06-30T04:59:22.000Z | 2021-06-30T04:59:22.000Z | fathom/autoenc/__init__.py | Aetf/fathom | 1f0dafa9fe3b7988708522d93ecda7f282cb2090 | [
"Apache-2.0"
] | null | null | null | fathom/autoenc/__init__.py | Aetf/fathom | 1f0dafa9fe3b7988708522d93ecda7f282cb2090 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, print_function, division
from .variational import Autoenc, AutoencFwd
| 27.75 | 64 | 0.855856 | 13 | 111 | 6.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 3 | 65 | 37 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
85644509dfa376fb58ddf2270cb0c55214fbb546 | 77 | py | Python | tokopedia/shop/api.py | hexatester/tokopedia | 20e46c3ec2c70de6b24460634b7c185ffdb15691 | [
"MIT"
] | 5 | 2021-07-01T05:09:20.000Z | 2022-03-06T10:53:07.000Z | tokopedia/shop/api.py | hexatester/tokopedia | 20e46c3ec2c70de6b24460634b7c185ffdb15691 | [
"MIT"
] | null | null | null | tokopedia/shop/api.py | hexatester/tokopedia | 20e46c3ec2c70de6b24460634b7c185ffdb15691 | [
"MIT"
] | 1 | 2022-02-14T01:20:34.000Z | 2022-02-14T01:20:34.000Z | from tokopedia import BaseTokopedia
class ShopApi(BaseTokopedia):
pass
| 12.833333 | 35 | 0.792208 | 8 | 77 | 7.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 36 | 15.4 | 0.953125 | 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 |
859cd25dcfde675efc2771f6cb10f8d763aafc39 | 213 | py | Python | rkn/exceptions.py | OlefirenkoK/monitoring | ad5c4f1445083d04c967acaedfad025ecc6573b7 | [
"Apache-2.0"
] | null | null | null | rkn/exceptions.py | OlefirenkoK/monitoring | ad5c4f1445083d04c967acaedfad025ecc6573b7 | [
"Apache-2.0"
] | null | null | null | rkn/exceptions.py | OlefirenkoK/monitoring | ad5c4f1445083d04c967acaedfad025ecc6573b7 | [
"Apache-2.0"
] | null | null | null | class RepositoryAlreadyExistsError(Exception):
"""Raise if repository already exists for given path"""
class RepositoryIsNotExistsError(Exception):
"""Raise if repository is not exists for given path"""
| 30.428571 | 59 | 0.769953 | 23 | 213 | 7.130435 | 0.608696 | 0.170732 | 0.195122 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14554 | 213 | 6 | 60 | 35.5 | 0.901099 | 0.460094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
85acc246ba71d0cc63786e9940b1356156aea6f0 | 34 | py | Python | fetcher/__init__.py | Avalanche-FR-community/apr-fetcher | 25b12e8fe3da4a7ee678017b80dabc07990144f8 | [
"MIT"
] | null | null | null | fetcher/__init__.py | Avalanche-FR-community/apr-fetcher | 25b12e8fe3da4a7ee678017b80dabc07990144f8 | [
"MIT"
] | null | null | null | fetcher/__init__.py | Avalanche-FR-community/apr-fetcher | 25b12e8fe3da4a7ee678017b80dabc07990144f8 | [
"MIT"
] | null | null | null | from .apr_fetchers import fetchers | 34 | 34 | 0.882353 | 5 | 34 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 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 |
a415f0205837f34fa8d22ade1cd2c94bebd471b6 | 1,623 | py | Python | nexpose_rest/nexpose_scan_engine.py | Patralos/nexpose-rest | c03431a408afd1528b0ca5a00859467574953ea0 | [
"MIT"
] | null | null | null | nexpose_rest/nexpose_scan_engine.py | Patralos/nexpose-rest | c03431a408afd1528b0ca5a00859467574953ea0 | [
"MIT"
] | null | null | null | nexpose_rest/nexpose_scan_engine.py | Patralos/nexpose-rest | c03431a408afd1528b0ca5a00859467574953ea0 | [
"MIT"
] | null | null | null | from nexpose_rest.nexpose import _GET
def getScanEngines(config):
getParameters=[]
code, data = _GET('/api/3/scan_engines', config, getParameters=getParameters)
return data
def getScanEnginePoolSites(config, id):
getParameters=[]
code, data = _GET('/api/3/scan_engine_pools/' + str(id) + '/sites'... | 28.982143 | 115 | 0.699322 | 182 | 1,623 | 6.093407 | 0.164835 | 0.188458 | 0.170424 | 0.19477 | 0.815149 | 0.815149 | 0.771867 | 0.6844 | 0.467989 | 0.339044 | 0 | 0.006623 | 0.162662 | 1,623 | 55 | 116 | 29.509091 | 0.809419 | 0 | 0 | 0.486486 | 0 | 0 | 0.149107 | 0.060998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0 | 0.027027 | 0 | 0.513514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a433eac1e79a11c191297555fe1050a4a98967eb | 175 | py | Python | src/pynwb/io/icephys.py | VBaratham/pynwb | a9429c93f29763b9ebe9022b099afcffbc6be493 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-04-13T20:47:36.000Z | 2021-04-13T20:47:36.000Z | src/pynwb/io/icephys.py | VBaratham/pynwb | a9429c93f29763b9ebe9022b099afcffbc6be493 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/pynwb/io/icephys.py | VBaratham/pynwb | a9429c93f29763b9ebe9022b099afcffbc6be493 | [
"BSD-3-Clause-LBNL"
] | null | null | null | from .. import register_map
from pynwb.icephys import SweepTable
from .core import DynamicTableMap
@register_map(SweepTable)
class SweepTableMap(DynamicTableMap):
pass
| 17.5 | 37 | 0.811429 | 20 | 175 | 7 | 0.6 | 0.157143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131429 | 175 | 9 | 38 | 19.444444 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 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 |
a49d7053bfb95389ebe87a78c03881030b051957 | 107 | py | Python | lib/__init__.py | RRyan2447/discord-ticket-bot | c90ae89f634f958d2b1868debfe81b25407f2643 | [
"MIT"
] | null | null | null | lib/__init__.py | RRyan2447/discord-ticket-bot | c90ae89f634f958d2b1868debfe81b25407f2643 | [
"MIT"
] | null | null | null | lib/__init__.py | RRyan2447/discord-ticket-bot | c90ae89f634f958d2b1868debfe81b25407f2643 | [
"MIT"
] | null | null | null | from .lib import time_now, load_JSON, check_integer, check_JSON_files, check_version, setup_change, config
| 53.5 | 106 | 0.841121 | 17 | 107 | 4.882353 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 1 | 107 | 107 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4a72c08ef66d9d1450a31edee92b168e79b2175 | 40,024 | py | Python | pymatex/grammar/MatexLexer.py | Gawaboumga/PyMatex | 3ccc0aa23211a064aa31a9b509b108cd606a4992 | [
"MIT"
] | 1 | 2019-03-05T09:45:04.000Z | 2019-03-05T09:45:04.000Z | pymatex/grammar/MatexLexer.py | Gawaboumga/PyMatex | 3ccc0aa23211a064aa31a9b509b108cd606a4992 | [
"MIT"
] | null | null | null | pymatex/grammar/MatexLexer.py | Gawaboumga/PyMatex | 3ccc0aa23211a064aa31a9b509b108cd606a4992 | [
"MIT"
] | null | null | null | # Generated from .\pymatex\grammar\MatexLexer.g4 by ANTLR 4.7.2
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2K")
buf.write("\u03df\b\1\4\2\t\2\4\3\t\... | 66.264901 | 103 | 0.586523 | 8,770 | 40,024 | 2.656556 | 0.15667 | 0.124646 | 0.064898 | 0.075715 | 0.244399 | 0.177998 | 0.118165 | 0.096532 | 0.090866 | 0.084127 | 0 | 0.353047 | 0.140291 | 40,024 | 603 | 104 | 66.374793 | 0.324043 | 0.001524 | 0 | 0.010256 | 1 | 0.203419 | 0.657924 | 0.613429 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003419 | false | 0 | 0.006838 | 0 | 0.152137 | 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 |
f188bae93b95717644a9b150a2c4cda521a63ce7 | 244,363 | py | Python | directdm/wilson_coefficients.py | DirectDM/directdm-py | 9e940703bc4e5b2266ce2c93c27abee755c0cbaf | [
"MIT"
] | 5 | 2017-09-09T16:22:00.000Z | 2021-11-17T07:31:11.000Z | directdm/wilson_coefficients.py | DirectDM/directdm-py | 9e940703bc4e5b2266ce2c93c27abee755c0cbaf | [
"MIT"
] | 2 | 2018-04-17T16:43:27.000Z | 2018-04-19T12:34:54.000Z | directdm/wilson_coefficients.py | DirectDM/directdm-py | 9e940703bc4e5b2266ce2c93c27abee755c0cbaf | [
"MIT"
] | 2 | 2018-05-10T17:39:57.000Z | 2018-09-19T16:40:07.000Z | #!/usr/bin/env python3
import sys
import numpy as np
import scipy.integrate as spint
import warnings
import os.path
from directdm.run import adm
from directdm.run import rge
from directdm.num.num_input import Num_input
from directdm.match.dim4_gauge_contribution import Higgspenguin
from directdm.num.single_nucleon_for... | 57.864788 | 147 | 0.456808 | 29,524 | 244,363 | 3.599106 | 0.045827 | 0.069942 | 0.021212 | 0.026426 | 0.869706 | 0.858216 | 0.835216 | 0.807002 | 0.797704 | 0.78706 | 0 | 0.129211 | 0.372147 | 244,363 | 4,222 | 148 | 57.878494 | 0.56338 | 0.156603 | 0 | 0.62702 | 0 | 0.000344 | 0.105874 | 0 | 0 | 0 | 0 | 0 | 0.000344 | 1 | 0.010657 | false | 0.011 | 0.003438 | 0.002063 | 0.023376 | 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 |
74c01f5abe2afcd29106124bf83fdc950c518ad3 | 22,889 | py | Python | python/ks_api_client/api/mis_order_api.py | ashwinkp/ksapi | c348765cefb4d51fd90febcbfa9ff890b67bdc7d | [
"Apache-2.0"
] | 7 | 2022-02-05T16:20:37.000Z | 2022-02-27T16:48:28.000Z | python/ks_api_client/api/mis_order_api.py | ashwinkp/ksapi | c348765cefb4d51fd90febcbfa9ff890b67bdc7d | [
"Apache-2.0"
] | 19 | 2022-02-03T12:40:08.000Z | 2022-03-30T09:12:46.000Z | python/ks_api_client/api/mis_order_api.py | ashwinkp/ksapi | c348765cefb4d51fd90febcbfa9ff890b67bdc7d | [
"Apache-2.0"
] | 12 | 2021-12-23T06:14:21.000Z | 2022-03-28T07:47:19.000Z | # coding: utf-8
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from ks_api_client.api_client import ApiClient
from ks_api_client.exceptions import ( # noqa: F401
ApiTypeError,
ApiValueError
)
class MISOrderApi(object):
def __i... | 47.193814 | 130 | 0.605793 | 2,459 | 22,889 | 5.400163 | 0.074421 | 0.041569 | 0.066421 | 0.024399 | 0.949996 | 0.94736 | 0.943294 | 0.940131 | 0.930944 | 0.914 | 0 | 0.013935 | 0.322819 | 22,889 | 484 | 131 | 47.291322 | 0.842774 | 0.441085 | 0 | 0.696833 | 0 | 0 | 0.203643 | 0.029534 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031674 | false | 0 | 0.022624 | 0 | 0.085973 | 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 |
74dc4c1e38276504181b16d9db0458c55ad83426 | 377 | py | Python | Python-BlockLetters.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | Python-BlockLetters.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | Python-BlockLetters.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | #Gal Conradi
#Im buying a Catamaran
print(" BB BB")
print(" BB BB")
print(" BBBBBBBBBBBBBB)")
print(" BBB BB)")
print(" BBB BB)")
print(" BBBBBBBBBBBB)")
print(" BBB BB)")
print(" BBB BB)")
print(" BBBBBBBBBBBBBB)")
print(" BB BB")
print(... | 25.133333 | 29 | 0.488064 | 41 | 377 | 4.487805 | 0.341463 | 0.304348 | 0.195652 | 0.304348 | 0.521739 | 0.521739 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0.344828 | 377 | 15 | 30 | 25.133333 | 0.744939 | 0.087533 | 0 | 0.769231 | 0 | 0 | 0.598784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2d3084bd835a35161918df9acce7c7d2ba4b5431 | 19 | py | Python | main.py | nizarabdouss/tradingbotV2 | 6e141b7f229c1a86f0dec3c0aa895d2bbf8fc845 | [
"MIT"
] | null | null | null | main.py | nizarabdouss/tradingbotV2 | 6e141b7f229c1a86f0dec3c0aa895d2bbf8fc845 | [
"MIT"
] | null | null | null | main.py | nizarabdouss/tradingbotV2 | 6e141b7f229c1a86f0dec3c0aa895d2bbf8fc845 | [
"MIT"
] | null | null | null | import getCharts
| 4.75 | 16 | 0.789474 | 2 | 19 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 3 | 17 | 6.333333 | 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 |
74609c753f3c42f2ff01ab774f133e3197fc1a42 | 42 | py | Python | cubework/module/metric/__init__.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | cubework/module/metric/__init__.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | cubework/module/metric/__init__.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | from .metrics import Accuracy, Perplexity
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 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 |
74744763e1250002b3ef808ea7a1ad9a9c1131ee | 8,912 | py | Python | tests/integration/test_worker.py | illinois-cs241/broadway-api | 5a2ac7e5542ca4bb7aa40a9f6a2e6afed314e2ee | [
"NCSA"
] | 10 | 2018-11-27T17:07:38.000Z | 2020-02-10T19:59:04.000Z | tests/integration/test_worker.py | illinois-cs241/broadway-api | 5a2ac7e5542ca4bb7aa40a9f6a2e6afed314e2ee | [
"NCSA"
] | 75 | 2018-10-27T07:08:55.000Z | 2019-09-29T01:52:53.000Z | tests/integration/test_worker.py | illinois-cs241/broadway-api | 5a2ac7e5542ca4bb7aa40a9f6a2e6afed314e2ee | [
"NCSA"
] | 2 | 2019-07-11T03:10:22.000Z | 2019-12-22T01:16:11.000Z | import logging
import time
import json
import websockets
from tests.base import BaseTest
from tests._fixtures.config import HEARTBEAT_INTERVAL
import tornado.testing
logging.disable(logging.WARNING)
class RegisterGraderEndpointsTest(BaseTest):
def test_register(self):
self.assertIsNotNone(self.register... | 35.365079 | 87 | 0.559919 | 969 | 8,912 | 4.94324 | 0.117647 | 0.063466 | 0.086848 | 0.064301 | 0.834029 | 0.821086 | 0.802505 | 0.755532 | 0.721712 | 0.712735 | 0 | 0.018956 | 0.32518 | 8,912 | 251 | 88 | 35.505976 | 0.777519 | 0.016607 | 0 | 0.636364 | 0 | 0 | 0.080155 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 1 | 0.080808 | false | 0 | 0.035354 | 0 | 0.141414 | 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 |
749097d54938b5e4c3f688adbcc8e702f396dc3e | 33 | py | Python | addons14/storage_image/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/storage_image/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/storage_image/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import test_storage_image
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
74943f3669a0411e8b4b035647fd6cb8806ad85a | 106 | py | Python | terrascript/newrelic/d.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/newrelic/d.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/newrelic/d.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | from terrascript import _data
class newrelic_application(_data): pass
application = newrelic_application
| 21.2 | 39 | 0.858491 | 12 | 106 | 7.25 | 0.666667 | 0.436782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 106 | 4 | 40 | 26.5 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7789901d8d2248e3ad1577139dd99bb783130021 | 25,059 | py | Python | STowl_multi.py | yiwangz/LS_learning | 18e876035de368d5a4db3ed0532bfd113e282812 | [
"MIT"
] | null | null | null | STowl_multi.py | yiwangz/LS_learning | 18e876035de368d5a4db3ed0532bfd113e282812 | [
"MIT"
] | null | null | null | STowl_multi.py | yiwangz/LS_learning | 18e876035de368d5a4db3ed0532bfd113e282812 | [
"MIT"
] | null | null | null | import numpy as np
from sklearn import svm
#from sklearn import linear_model
#from statsmodels.sandbox.regression.predstd import wls_prediction_std
from sklearn.linear_model import LogisticRegression
from sklearn import preprocessing
from pygam import GAM, LinearGAM, s, l
#from patsy import dmatrix
#import pandas as pd... | 39.339089 | 164 | 0.507283 | 2,952 | 25,059 | 4.202575 | 0.107724 | 0.012897 | 0.020313 | 0.023215 | 0.755118 | 0.733355 | 0.721264 | 0.714815 | 0.703772 | 0.700226 | 0 | 0.01292 | 0.308153 | 25,059 | 636 | 165 | 39.400943 | 0.702659 | 0.059659 | 0 | 0.703297 | 0 | 0 | 0.019157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.015385 | 0 | 0.103297 | 0.013187 | 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 |
77aca5e18627d0aeef946e48603b6c66ea63a597 | 33 | py | Python | Attack_SplitNN/build/lib/attacksplitnn/defense/__init__.py | EduardaChagas/Cybersecurity-FL | 52db1a31e71e021f2ce57231a27341c4c080ad3b | [
"MIT"
] | 10 | 2021-04-16T00:38:34.000Z | 2022-02-11T01:28:52.000Z | Attack_SplitNN/build/lib/attacksplitnn/defense/__init__.py | EduardaChagas/Cybersecurity-FL | 52db1a31e71e021f2ce57231a27341c4c080ad3b | [
"MIT"
] | 7 | 2021-03-27T04:49:06.000Z | 2021-06-20T06:16:32.000Z | Attack_SplitNN/build/lib/attacksplitnn/defense/__init__.py | EduardaChagas/Cybersecurity-FL | 52db1a31e71e021f2ce57231a27341c4c080ad3b | [
"MIT"
] | 3 | 2021-07-07T21:55:52.000Z | 2022-03-17T21:17:51.000Z | from .noisedgrad import max_norm
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
77b346d1798928f0b5ca5b0ae6aacbe97bead2ae | 76,844 | py | Python | pybind/slxos/v16r_1_00b/brocade_fabric_service_rpc/show_fibrechannel_interface_info/output/show_fibrechannel_interface/show_fibrechannel_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_fabric_service_rpc/show_fibrechannel_interface_info/output/show_fibrechannel_interface/show_fibrechannel_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_fabric_service_rpc/show_fibrechannel_interface_info/output/show_fibrechannel_interface/show_fibrechannel_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 82.010672 | 710 | 0.75324 | 11,179 | 76,844 | 4.933447 | 0.025315 | 0.048322 | 0.074341 | 0.021323 | 0.930083 | 0.912041 | 0.897772 | 0.888887 | 0.882232 | 0.875542 | 0 | 0.012452 | 0.111694 | 76,844 | 936 | 711 | 82.098291 | 0.795491 | 0.238002 | 0 | 0.502119 | 0 | 0.067797 | 0.443925 | 0.246352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133475 | false | 0 | 0.016949 | 0 | 0.258475 | 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 |
77b34b15d526d8d96ffd13eda1c8a4ffbcdab3d2 | 252 | py | Python | ps2_census/utils.py | spascou/ps2-census | 4edce4b9bfe8af9aca2f28244cb4f70cad67dc93 | [
"MIT"
] | 4 | 2020-05-19T16:20:32.000Z | 2020-10-13T06:09:01.000Z | ps2_census/utils.py | spascou/ps2-census | 4edce4b9bfe8af9aca2f28244cb4f70cad67dc93 | [
"MIT"
] | null | null | null | ps2_census/utils.py | spascou/ps2-census | 4edce4b9bfe8af9aca2f28244cb4f70cad67dc93 | [
"MIT"
] | 1 | 2021-03-08T06:14:53.000Z | 2021-03-08T06:14:53.000Z | from .constants import COMMAND_PREFIX, SERVICE_ID_PREFIX, Command
def command_key(command: Command, prefix: str = COMMAND_PREFIX) -> str:
return f"{prefix}{command}"
def bool2str(arg: bool) -> str:
return "true" if arg is True else "false"
| 25.2 | 71 | 0.722222 | 36 | 252 | 4.916667 | 0.555556 | 0.220339 | 0.180791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.166667 | 252 | 9 | 72 | 28 | 0.838095 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
77d74782eadf8fcdb67a0a9c378e7f18358d040b | 2,566 | py | Python | stars/test/test_tech.py | therussellhome/inherit_the_stars | aa498103e1683625f762afee8c95ffcebb77ca03 | [
"Unlicense"
] | null | null | null | stars/test/test_tech.py | therussellhome/inherit_the_stars | aa498103e1683625f762afee8c95ffcebb77ca03 | [
"Unlicense"
] | null | null | null | stars/test/test_tech.py | therussellhome/inherit_the_stars | aa498103e1683625f762afee8c95ffcebb77ca03 | [
"Unlicense"
] | null | null | null | import unittest
from .. import *
class _TestPlayer:
pass
class TechTestCase(unittest.TestCase):
def test_is_available1(self):
t = tech.Tech(level=tech_level.TechLevel(
energy=1,
weapons=2,
propulsion=3,
construction=4,
electonics=5,
... | 28.831461 | 77 | 0.56742 | 291 | 2,566 | 4.838488 | 0.175258 | 0.044744 | 0.057528 | 0.083097 | 0.836648 | 0.825994 | 0.805398 | 0.75071 | 0.712358 | 0.712358 | 0 | 0.024841 | 0.325409 | 2,566 | 88 | 78 | 29.159091 | 0.788562 | 0 | 0 | 0.675325 | 0 | 0 | 0.028839 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 1 | 0.116883 | false | 0.012987 | 0.025974 | 0 | 0.168831 | 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 |
77f93e7c4975db428dd03488c385716b36bf8692 | 20 | py | Python | rugosa/emulation/call_hooks/stdlib/__init__.py | Defense-Cyber-Crime-Center/rugosa | 70f5b1db7e3f02ecccb0495fe1c0c77930769276 | [
"MIT"
] | 1 | 2022-03-13T03:03:31.000Z | 2022-03-13T03:03:31.000Z | rugosa/emulation/call_hooks/stdlib/__init__.py | Defense-Cyber-Crime-Center/rugosa | 70f5b1db7e3f02ecccb0495fe1c0c77930769276 | [
"MIT"
] | null | null | null | rugosa/emulation/call_hooks/stdlib/__init__.py | Defense-Cyber-Crime-Center/rugosa | 70f5b1db7e3f02ecccb0495fe1c0c77930769276 | [
"MIT"
] | null | null | null | from .libc 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 |
bb27dad713e1ac8f23bbae157a68fdf5d5a72e4d | 33 | py | Python | dridex/__init__.py | futex/mwcfg-modules | a65bc69fd302215485f2ea62c4fd35c6b8f04397 | [
"BSD-3-Clause"
] | 23 | 2021-05-01T19:19:36.000Z | 2022-03-19T22:10:25.000Z | dridex/__init__.py | futex/mwcfg-modules | a65bc69fd302215485f2ea62c4fd35c6b8f04397 | [
"BSD-3-Clause"
] | 3 | 2021-05-01T22:10:32.000Z | 2021-05-15T13:35:22.000Z | dridex/__init__.py | futex/mwcfg-modules | a65bc69fd302215485f2ea62c4fd35c6b8f04397 | [
"BSD-3-Clause"
] | 8 | 2021-05-01T21:13:54.000Z | 2021-11-22T06:53:54.000Z | from .loader import DridexLoader
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
bb3882aa51f453a1b0c233be7f666b3992f2d5a7 | 113 | py | Python | api/app.py | NamrataSitlani/medhavi | d4d93289fca53c199bc9ba5810604386ea643910 | [
"Apache-2.0"
] | 1 | 2019-09-29T05:33:16.000Z | 2019-09-29T05:33:16.000Z | api/app.py | NamrataSitlani/medhavi | d4d93289fca53c199bc9ba5810604386ea643910 | [
"Apache-2.0"
] | 1 | 2019-09-09T05:10:21.000Z | 2019-09-09T05:10:21.000Z | api/app.py | NamrataSitlani/medhavi | d4d93289fca53c199bc9ba5810604386ea643910 | [
"Apache-2.0"
] | 8 | 2019-08-01T11:43:01.000Z | 2019-10-03T05:35:50.000Z | from flask import Blueprint
from flask_restful import Api
api_bp = Blueprint('api', __name__)
api = Api(api_bp)
| 18.833333 | 35 | 0.778761 | 18 | 113 | 4.5 | 0.444444 | 0.222222 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 5 | 36 | 22.6 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
bb58f423dced24533b159e36a8fe516d175059a7 | 25,641 | py | Python | server/resources/porting/prop.py | mirokymac/propAPIne | b6bc952ac1996644653c50c3336b12c8d9ee6d86 | [
"MIT"
] | null | null | null | server/resources/porting/prop.py | mirokymac/propAPIne | b6bc952ac1996644653c50c3336b12c8d9ee6d86 | [
"MIT"
] | null | null | null | server/resources/porting/prop.py | mirokymac/propAPIne | b6bc952ac1996644653c50c3336b12c8d9ee6d86 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Jul 9 11:17:03 2019
@author: Zihao.MAI
porting of cool prop gas properties
"""
__all__ = ["mProp", "flasher"]
REFPROP_READY = False
from difflib import SequenceMatcher
from functools import reduce
from json import load as load_json
import logging
#from o... | 36.421875 | 157 | 0.495339 | 2,534 | 25,641 | 4.9412 | 0.11247 | 0.040252 | 0.069004 | 0.061337 | 0.778612 | 0.764875 | 0.762399 | 0.757288 | 0.75601 | 0.741315 | 0 | 0.012497 | 0.382083 | 25,641 | 704 | 158 | 36.421875 | 0.777771 | 0.230997 | 0 | 0.723214 | 0 | 0 | 0.161597 | 0.005743 | 0.004464 | 0 | 0 | 0.00142 | 0 | 1 | 0.008929 | false | 0 | 0.015625 | 0 | 0.082589 | 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 |
24a21fa009a7772f27568fd2474c9f50e89e1d5e | 35 | py | Python | bitinfer/wrappers/__init__.py | piero2c/BitInfer | f265870ce374dccc78a425402caa5a9f36dfe99f | [
"MIT"
] | 1 | 2021-09-11T18:30:34.000Z | 2021-09-11T18:30:34.000Z | bitinfer/wrappers/__init__.py | piero2c/BitInfer | f265870ce374dccc78a425402caa5a9f36dfe99f | [
"MIT"
] | null | null | null | bitinfer/wrappers/__init__.py | piero2c/BitInfer | f265870ce374dccc78a425402caa5a9f36dfe99f | [
"MIT"
] | null | null | null | from .bert_modeling import BitModel | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 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 |
24c9e8c77128e00a5b67538223f3c1adeb86f767 | 5,394 | py | Python | mozurestsdk/commerce/catalog/admin/attributedefinition/producttypes/producttypeoption.py | Mozu/mozu-python-sdk | 9cc918aca7db3639264184e5266e8e508a08a7dd | [
"Apache-2.0"
] | 1 | 2021-03-22T12:38:42.000Z | 2021-03-22T12:38:42.000Z | mozurestsdk/commerce/catalog/admin/attributedefinition/producttypes/producttypeoption.py | Mozu/mozu-python-sdk | 9cc918aca7db3639264184e5266e8e508a08a7dd | [
"Apache-2.0"
] | null | null | null | mozurestsdk/commerce/catalog/admin/attributedefinition/producttypes/producttypeoption.py | Mozu/mozu-python-sdk | 9cc918aca7db3639264184e5266e8e508a08a7dd | [
"Apache-2.0"
] | 2 | 2015-09-30T19:49:00.000Z | 2015-09-30T19:51:03.000Z |
"""
This code was generated by Codezu.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
"""
from mozurestsdk.mozuclient import default as default_client
from mozurestsdk.mozuurl import MozuUrl;
from mozurestsdk.urllocation import UrlLocation
from mozure... | 38.805755 | 245 | 0.740082 | 567 | 5,394 | 7.029982 | 0.22575 | 0.038635 | 0.021074 | 0.035123 | 0.730557 | 0.730557 | 0.729052 | 0.716508 | 0.716508 | 0.698194 | 0 | 0 | 0.169633 | 5,394 | 139 | 246 | 38.805755 | 0.889931 | 0.453281 | 0 | 0.47619 | 1 | 0.071429 | 0.259272 | 0.200071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.095238 | 0 | 0.357143 | 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 |
7038a784ccc14a979a4c039a81cee5f6d1c276f1 | 66 | py | Python | OptimalTransportBalancing/__init__.py | MGIMM/Optimal_Transport_Balancing | 99af9b7fe5d19db422178e612917bfdcb0e5b3f1 | [
"MIT"
] | null | null | null | OptimalTransportBalancing/__init__.py | MGIMM/Optimal_Transport_Balancing | 99af9b7fe5d19db422178e612917bfdcb0e5b3f1 | [
"MIT"
] | null | null | null | OptimalTransportBalancing/__init__.py | MGIMM/Optimal_Transport_Balancing | 99af9b7fe5d19db422178e612917bfdcb0e5b3f1 | [
"MIT"
] | null | null | null | from .OptimalTransportBalancing import OptimalTransportBalancing
| 22 | 64 | 0.909091 | 4 | 66 | 15 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 66 | 2 | 65 | 33 | 0.983607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5615a6a300acb00199089d290949779970fb89f6 | 28 | py | Python | app/auth/google/__init__.py | alcarruth/fullstack-p3-item-catalog | 5f0311675719ea1788495ada672eb3da21e44922 | [
"MIT"
] | 1 | 2019-07-19T15:36:58.000Z | 2019-07-19T15:36:58.000Z | app/auth/google/__init__.py | alcarruth/fullstack-p3-item-catalog | 5f0311675719ea1788495ada672eb3da21e44922 | [
"MIT"
] | null | null | null | app/auth/google/__init__.py | alcarruth/fullstack-p3-item-catalog | 5f0311675719ea1788495ada672eb3da21e44922 | [
"MIT"
] | null | null | null |
from google_auth import *
| 7 | 25 | 0.75 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 3 | 26 | 9.333333 | 0.909091 | 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 |
5659dbde96a1bc8bcabd1d652d8d7bc7b5476483 | 2,633 | py | Python | tests/test_cli.py | json-transformations/jsoncat | 56f3a42f01487ba778b39d5c1399a247e09a7194 | [
"MIT"
] | 1 | 2020-10-09T02:02:04.000Z | 2020-10-09T02:02:04.000Z | tests/test_cli.py | json-transformations/jsoncat | 56f3a42f01487ba778b39d5c1399a247e09a7194 | [
"MIT"
] | null | null | null | tests/test_cli.py | json-transformations/jsoncat | 56f3a42f01487ba778b39d5c1399a247e09a7194 | [
"MIT"
] | 1 | 2020-10-09T02:02:08.000Z | 2020-10-09T02:02:08.000Z | import json
import pytest
import click.testing
from jsoncat import cli
D1 = {"asteroid": "433 Eros"}
D2 = {"asteroid": "951 Gaspra"}
J1 = json.dumps(D1)
J2 = json.dumps(D2)
JE = '{Invalid JSON'
@pytest.fixture
def runner():
return click.testing.CliRunner()
def test_no_args_with_stdin(runner):
result = ru... | 28.311828 | 72 | 0.606912 | 358 | 2,633 | 4.354749 | 0.175978 | 0.040411 | 0.103913 | 0.121232 | 0.813342 | 0.813342 | 0.813342 | 0.813342 | 0.747915 | 0.747915 | 0 | 0.031171 | 0.244588 | 2,633 | 92 | 73 | 28.619565 | 0.75264 | 0 | 0 | 0.521739 | 0 | 0 | 0.062666 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.144928 | false | 0 | 0.057971 | 0.014493 | 0.217391 | 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 |
569eb0336204d0b12c7b406621b9c2c0a970f544 | 36 | py | Python | bertopic/__init__.py | ashishpatel26/BERTopic | d38cef4edffb3ab2565baeccdb7b816a5d41e5dd | [
"MIT"
] | null | null | null | bertopic/__init__.py | ashishpatel26/BERTopic | d38cef4edffb3ab2565baeccdb7b816a5d41e5dd | [
"MIT"
] | null | null | null | bertopic/__init__.py | ashishpatel26/BERTopic | d38cef4edffb3ab2565baeccdb7b816a5d41e5dd | [
"MIT"
] | 2 | 2020-10-28T07:51:50.000Z | 2021-01-03T12:51:40.000Z | from bertopic.model import BERTopic
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
3b26cf38eb309de4101ec628afe39ff8702e3c45 | 260,256 | py | Python | instances/passenger_demand/pas-20210422-1717-int18e/14.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-int18e/14.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-int18e/14.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 34512
passenger_arriving = (
(9, 6, 6, 9, 6, 3, 4, 6, 5, 1, 0, 0, 0, 5, 8, 8, 7, 6, 1, 6, 1, 3, 3, 2, 0, 0), # 0
(10, 6, 7, 9, 10, 4, 3, 9, 3, 1, 0, 0, 0, 9, 8, 4, 4, 9, 5, 6, 6, 3, 1, 2, 1, 0), # 1
(12, 8, 12, 11, 13, 3, 6, 4, 7, 4, 0, 2, 0, 11, 11, 8, 9, 9, 7, 6, 3, 3, 3, 3,... | 278.348663 | 490 | 0.771287 | 32,987 | 260,256 | 6.084852 | 0.235396 | 0.35512 | 0.340772 | 0.645672 | 0.366927 | 0.361327 | 0.36059 | 0.36059 | 0.36059 | 0.36059 | 0 | 0.851054 | 0.095037 | 260,256 | 934 | 491 | 278.646681 | 0.001185 | 0.015412 | 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 |
3b30c1ecc7c8601f82245da25ceb6f1834a945ef | 105 | py | Python | src/hkserror/__init__.py | huykingsofm/hkserror | a15b80fe9e8b3c2a37f901d82358db032fb32ec9 | [
"MIT"
] | null | null | null | src/hkserror/__init__.py | huykingsofm/hkserror | a15b80fe9e8b3c2a37f901d82358db032fb32ec9 | [
"MIT"
] | null | null | null | src/hkserror/__init__.py | huykingsofm/hkserror | a15b80fe9e8b3c2a37f901d82358db032fb32ec9 | [
"MIT"
] | null | null | null | from hkserror.hkserror import HKSError, HTypeError, HFormatError
from hkserror.version import __version__ | 52.5 | 64 | 0.87619 | 12 | 105 | 7.333333 | 0.5 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 2 | 65 | 52.5 | 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 | 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 |
3b47789fe4104f1d9fd6eb67649c660fda0a7566 | 32,957 | py | Python | SUPPLEMENTAL_FIGURES.py | tortugar/Schott_etal_2022 | 5cccec4d59184397df39f0bae3544b9c8294ffe2 | [
"MIT"
] | null | null | null | SUPPLEMENTAL_FIGURES.py | tortugar/Schott_etal_2022 | 5cccec4d59184397df39f0bae3544b9c8294ffe2 | [
"MIT"
] | null | null | null | SUPPLEMENTAL_FIGURES.py | tortugar/Schott_etal_2022 | 5cccec4d59184397df39f0bae3544b9c8294ffe2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Oct 10 18:30:46 2021
@author: fearthekraken
"""
import AS
import pwaves
import sleepy
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import scipy.stats as stats
from statsmodels.stats.anova import AnovaRM
fr... | 69.824153 | 216 | 0.651546 | 5,079 | 32,957 | 4.102973 | 0.091357 | 0.024857 | 0.033735 | 0.032391 | 0.82384 | 0.8093 | 0.768703 | 0.737751 | 0.721148 | 0.69845 | 0 | 0.051675 | 0.15681 | 32,957 | 472 | 217 | 69.824153 | 0.698226 | 0.12489 | 0 | 0.486755 | 0 | 0.016556 | 0.19707 | 0.069989 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033113 | 0 | 0.033113 | 0.099338 | 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 |
3b59c10ca9c76cb4989a98f725276e8695a70520 | 4,719 | py | Python | mongosync/progress_logger.py | caosiyang/py-mongo-sync | 980a37c6f2b012025d43878a315e2869af397dd5 | [
"MIT"
] | 98 | 2016-05-26T07:45:08.000Z | 2022-03-15T03:52:22.000Z | mongosync/progress_logger.py | caosiyang/py-mongo-sync | 980a37c6f2b012025d43878a315e2869af397dd5 | [
"MIT"
] | 31 | 2016-08-27T06:46:20.000Z | 2021-07-27T11:52:58.000Z | mongosync/progress_logger.py | caosiyang/py-mongo-sync | 980a37c6f2b012025d43878a315e2869af397dd5 | [
"MIT"
] | 51 | 2016-05-05T05:47:41.000Z | 2021-09-09T10:53:11.000Z | import sys
import time
import multiprocessing
import threading
import Queue
from mongosync.logger import Logger
log = Logger.get()
class Message(object):
""" Progress change message.
"""
def __init__(self, ns, cnt, done):
self.ns = ns
self.cnt = cnt
self.done = done
class Progre... | 33 | 160 | 0.503073 | 612 | 4,719 | 3.712418 | 0.145425 | 0.06338 | 0.06338 | 0.074824 | 0.736796 | 0.736796 | 0.736796 | 0.736796 | 0.736796 | 0.736796 | 0 | 0.019162 | 0.347531 | 4,719 | 142 | 161 | 33.232394 | 0.71874 | 0.141767 | 0 | 0.703297 | 0 | 0.021978 | 0.080491 | 0.029087 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10989 | false | 0 | 0.065934 | 0 | 0.21978 | 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 |
8e6d874c2b16b50924a57fc1144d3932da922efa | 4,505 | py | Python | 2019/Day 5/main.py | edgorman/Advent-of-Code | 7c354dfdfd0c072c59b15bcac265c19e6a088440 | [
"MIT"
] | null | null | null | 2019/Day 5/main.py | edgorman/Advent-of-Code | 7c354dfdfd0c072c59b15bcac265c19e6a088440 | [
"MIT"
] | null | null | null | 2019/Day 5/main.py | edgorman/Advent-of-Code | 7c354dfdfd0c072c59b15bcac265c19e6a088440 | [
"MIT"
] | null | null | null | import os
from copy import deepcopy
def part_one_helper(intcode, position, mode):
if mode == "1": return intcode[position]
else: return intcode[intcode[position]]
def part_one(intcode, input_):
index = 0
output_ = 0
# Define custom op code functions
def add(a, b):
return a + b
... | 27.469512 | 73 | 0.48768 | 523 | 4,505 | 4.086042 | 0.173996 | 0.179691 | 0.103416 | 0.159102 | 0.763219 | 0.75854 | 0.752457 | 0.725316 | 0.725316 | 0.678521 | 0 | 0.036928 | 0.39889 | 4,505 | 163 | 74 | 27.638037 | 0.752216 | 0.071698 | 0 | 0.728814 | 0 | 0 | 0.017071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.110169 | false | 0 | 0.016949 | 0.067797 | 0.211864 | 0.016949 | 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 |
8e7328dd71593da7df05ff8beb9a5d391abf90f7 | 38,520 | py | Python | pic/utils.py | ratnania/mhd | 89f383695075aa26fc805ffbf6ba458f0cdd6f4e | [
"MIT"
] | 5 | 2018-04-13T15:35:21.000Z | 2019-10-29T09:39:13.000Z | pic/utils.py | ratnania/mhd | 89f383695075aa26fc805ffbf6ba458f0cdd6f4e | [
"MIT"
] | null | null | null | pic/utils.py | ratnania/mhd | 89f383695075aa26fc805ffbf6ba458f0cdd6f4e | [
"MIT"
] | 1 | 2018-10-19T10:53:15.000Z | 2018-10-19T10:53:15.000Z | import numpy as np
import scipy.special as sp
from scipy.interpolate import splev
from scipy.sparse import csr_matrix
from bsplines import find_span, basis_funs
def borisPush(particles, dt, B, E, qe, me, Lz, bcs = 1):
'''Pushes particles by a time step dt in the electromagnetic fields E and B by using the Boris... | 28.596882 | 277 | 0.487617 | 5,487 | 38,520 | 3.36304 | 0.069984 | 0.006178 | 0.018642 | 0.027638 | 0.778898 | 0.759389 | 0.741451 | 0.726223 | 0.707148 | 0.698477 | 0 | 0.037345 | 0.382009 | 38,520 | 1,346 | 278 | 28.618128 | 0.737828 | 0.240395 | 0 | 0.727685 | 0 | 0 | 0.001473 | 0 | 0 | 0 | 0 | 0.000743 | 0 | 1 | 0.048412 | false | 0 | 0.007564 | 0.012103 | 0.12708 | 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 |
8e925766c6f65c8446ac4b086be847e10d2cc29a | 28 | py | Python | hrm_api/community/views/__init__.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | hrm_api/community/views/__init__.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | hrm_api/community/views/__init__.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | from .social_media import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
8eca35c76136fe155221570dc0149eefe1f56f9a | 104 | py | Python | kyokigo/admin.py | seoworks0/docker_test2 | 9ea4a62a8a669d8b1e4be40979b53c0c26ad052f | [
"Apache-2.0"
] | null | null | null | kyokigo/admin.py | seoworks0/docker_test2 | 9ea4a62a8a669d8b1e4be40979b53c0c26ad052f | [
"Apache-2.0"
] | null | null | null | kyokigo/admin.py | seoworks0/docker_test2 | 9ea4a62a8a669d8b1e4be40979b53c0c26ad052f | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Kyokigo_input
admin.site.register(Kyokigo_input)
| 17.333333 | 34 | 0.836538 | 15 | 104 | 5.666667 | 0.666667 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 5 | 35 | 20.8 | 0.913978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9409011482998f57b1cd2c31f8b30bec82b2380 | 145 | py | Python | gestionPlanificacion_y_Desarrollo_Proyectos_Nuevos/views.py | Juan-Manuel-Diaz/UniNeuroLab | 7cc3f7e67f5d4d7d96f75cf3b13d5f32644a280d | [
"Apache-2.0"
] | 1 | 2021-01-09T01:20:45.000Z | 2021-01-09T01:20:45.000Z | gestionPlanificacion_y_Desarrollo_Proyectos_Nuevos/views.py | Juan-Manuel-Diaz/UniNeuroLab | 7cc3f7e67f5d4d7d96f75cf3b13d5f32644a280d | [
"Apache-2.0"
] | 1 | 2021-01-09T00:53:55.000Z | 2021-01-09T00:53:55.000Z | gestionPlanificacion_y_Desarrollo_Proyectos_Nuevos/views.py | Juan-Manuel-Diaz/UniNeuroLab | 7cc3f7e67f5d4d7d96f75cf3b13d5f32644a280d | [
"Apache-2.0"
] | 1 | 2021-01-07T23:57:28.000Z | 2021-01-07T23:57:28.000Z | from django.shortcuts import render
# Create your views here.
def nuevosProyectos(request):
return render(request, "nuevosProyectos.html")
| 16.111111 | 47 | 0.77931 | 17 | 145 | 6.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 8 | 48 | 18.125 | 0.904 | 0.158621 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
d95f1571772395d23ad4fa1b5c95b5a83bed29b4 | 79 | py | Python | pyslam/thirdparty/disk/disk/geom/__init__.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | 2 | 2021-09-11T09:13:31.000Z | 2021-11-03T01:39:56.000Z | pyslam/thirdparty/disk/disk/geom/__init__.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | null | null | null | pyslam/thirdparty/disk/disk/geom/__init__.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | null | null | null | from .distance_matrix import distance_matrix
from .pose import Pose, PoseError
| 26.333333 | 44 | 0.848101 | 11 | 79 | 5.909091 | 0.545455 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 79 | 2 | 45 | 39.5 | 0.928571 | 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 |
d96c2432f040bc29cd1574ca47317b5dcf6150db | 19,039 | py | Python | Final Project/new_clrs/clrs/_src/algorithms/strings.py | mohammedElfatihSalah/string-experiments | e43bb8db323d2d6da702697d052e8c9dac9782de | [
"Apache-2.0"
] | null | null | null | Final Project/new_clrs/clrs/_src/algorithms/strings.py | mohammedElfatihSalah/string-experiments | e43bb8db323d2d6da702697d052e8c9dac9782de | [
"Apache-2.0"
] | null | null | null | Final Project/new_clrs/clrs/_src/algorithms/strings.py | mohammedElfatihSalah/string-experiments | e43bb8db323d2d6da702697d052e8c9dac9782de | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 DeepMind Technologies Limited. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | 30.807443 | 119 | 0.49241 | 2,804 | 19,039 | 3.197218 | 0.072397 | 0.149916 | 0.10541 | 0.070496 | 0.841049 | 0.826436 | 0.820078 | 0.817289 | 0.815059 | 0.799777 | 0 | 0.0304 | 0.326173 | 19,039 | 617 | 120 | 30.857374 | 0.668408 | 0.523767 | 0 | 0.695279 | 0 | 0 | 0.031509 | 0 | 0 | 0 | 0 | 0 | 0.008584 | 1 | 0.021459 | false | 0 | 0.025751 | 0 | 0.077253 | 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 |
d96d452c5603ccdf6b8f834c75aa5d955cf1b275 | 128 | py | Python | cart/views.py | thtorun/simple-ecommerce | f93a9161c2e25e872dc1ccb71fa21ef79dc403e1 | [
"MIT"
] | null | null | null | cart/views.py | thtorun/simple-ecommerce | f93a9161c2e25e872dc1ccb71fa21ef79dc403e1 | [
"MIT"
] | null | null | null | cart/views.py | thtorun/simple-ecommerce | f93a9161c2e25e872dc1ccb71fa21ef79dc403e1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def cart(request):
return render(request,'cart.html')
| 18.285714 | 39 | 0.710938 | 17 | 128 | 5.352941 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195313 | 128 | 6 | 40 | 21.333333 | 0.883495 | 0.179688 | 0 | 0 | 0 | 0 | 0.092784 | 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 |
7947882f7992a2e92a5534fbedad35e26f9dd60d | 377 | py | Python | authz/controller/apiv1/user.py | amnshzd/authz | 63a60bd185bd8119b0aac48fa5d0e19754b8d03b | [
"Apache-2.0"
] | null | null | null | authz/controller/apiv1/user.py | amnshzd/authz | 63a60bd185bd8119b0aac48fa5d0e19754b8d03b | [
"Apache-2.0"
] | null | null | null | authz/controller/apiv1/user.py | amnshzd/authz | 63a60bd185bd8119b0aac48fa5d0e19754b8d03b | [
"Apache-2.0"
] | null | null | null | from authz.util.jsonify import jsonify
class UserController:
def creat_user():
return jsonify(status=501)
def get_user_list():
return jsonify(status=501)
def get_user(user_id):
return jsonify(status=501)
def update_user(user_id):
return jsonify(status=501)
def d... | 18.85 | 38 | 0.665782 | 50 | 377 | 4.84 | 0.36 | 0.268595 | 0.392562 | 0.454545 | 0.669421 | 0.669421 | 0.669421 | 0.289256 | 0 | 0 | 0 | 0.052817 | 0.246684 | 377 | 19 | 39 | 19.842105 | 0.799296 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.416667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7951897dd6c9c5ac7f0c52e19439b1b89eed3b0e | 282 | py | Python | dtamg_py/build_datapackages.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | null | null | null | dtamg_py/build_datapackages.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | 15 | 2021-12-20T15:25:23.000Z | 2022-03-07T21:55:57.000Z | dtamg_py/build_datapackages.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | null | null | null | import click
from dtamg_py.utils import build_datapackages
@click.command(name='build-datapackages')
def build_datapackages_cli():
"""
Função responsável pela construção dos conjuntos derivados de todo conjunto AGE7. Constroi pasta build_datasets.
"""
build_datapackages()
| 28.2 | 114 | 0.797872 | 35 | 282 | 6.257143 | 0.742857 | 0.310502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004049 | 0.124113 | 282 | 9 | 115 | 31.333333 | 0.882591 | 0.397163 | 0 | 0 | 0 | 0 | 0.113924 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
796e90fae2d4fa00e66c39c6bbad04e28be37d95 | 26 | py | Python | app/resources/__init__.py | M4cs/SimplyBlog | 0b3b5e7605df269d71a556c70f705f65bed14664 | [
"MIT"
] | 10 | 2019-09-17T13:29:42.000Z | 2021-08-13T22:40:58.000Z | app/resources/__init__.py | M4cs/SimplyBlog | 0b3b5e7605df269d71a556c70f705f65bed14664 | [
"MIT"
] | null | null | null | app/resources/__init__.py | M4cs/SimplyBlog | 0b3b5e7605df269d71a556c70f705f65bed14664 | [
"MIT"
] | 1 | 2020-08-06T02:22:49.000Z | 2020-08-06T02:22:49.000Z | from .upload import Upload | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 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 |
7990a15a874abc3db07b46a2752c70ad9d69a961 | 143 | py | Python | two_qubit_simulator/quantum_gates/cnot.py | maggiecorrigan/two-qubit-simulator | b4fbf88dfefcac135ac08303af3e6e57f33a0cf4 | [
"MIT"
] | null | null | null | two_qubit_simulator/quantum_gates/cnot.py | maggiecorrigan/two-qubit-simulator | b4fbf88dfefcac135ac08303af3e6e57f33a0cf4 | [
"MIT"
] | null | null | null | two_qubit_simulator/quantum_gates/cnot.py | maggiecorrigan/two-qubit-simulator | b4fbf88dfefcac135ac08303af3e6e57f33a0cf4 | [
"MIT"
] | 22 | 2019-01-30T02:49:42.000Z | 2020-04-04T11:02:47.000Z | """
Contains the CNOT gate
"""
from .quantum_gate import QuantumGate
class CNOT(QuantumGate):
""" Implements the CNOT gate """
pass
| 13 | 37 | 0.678322 | 17 | 143 | 5.647059 | 0.647059 | 0.145833 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20979 | 143 | 10 | 38 | 14.3 | 0.849558 | 0.335664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
799f2e0e0ed0672969a496a40d6ace3773065704 | 1,893 | py | Python | B2G/gecko/dom/bindings/parser/tests/test_duplicate_qualifiers.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/dom/bindings/parser/tests/test_duplicate_qualifiers.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/dom/bindings/parser/tests/test_duplicate_qualifiers.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | def WebIDLTest(parser, harness):
threw = False
try:
parser.parse("""
interface DuplicateQualifiers1 {
getter getter byte foo(unsigned long index);
};
""")
results = parser.finish()
except:
threw = True
harness.ok(threw, "Should have... | 22.270588 | 79 | 0.526677 | 169 | 1,893 | 5.899408 | 0.195266 | 0.091274 | 0.078235 | 0.114343 | 0.761284 | 0.761284 | 0.728185 | 0.728185 | 0.728185 | 0.728185 | 0 | 0.005063 | 0.37401 | 1,893 | 84 | 80 | 22.535714 | 0.836287 | 0 | 0 | 0.791045 | 0 | 0 | 0.496038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | false | 0 | 0 | 0 | 0.014925 | 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 |
79d3e5c084d27a42e42920b068f4477512405d96 | 293 | py | Python | pyrsa/model/__init__.py | PeerHerholz/pyrsa | 994007086c59de93d86b982f1fff73fe6a8ea929 | [
"MIT"
] | 4 | 2015-08-10T18:34:21.000Z | 2018-05-15T20:43:15.000Z | pyrsa/model/__init__.py | PeerHerholz/pyrsa | 994007086c59de93d86b982f1fff73fe6a8ea929 | [
"MIT"
] | null | null | null | pyrsa/model/__init__.py | PeerHerholz/pyrsa | 994007086c59de93d86b982f1fff73fe6a8ea929 | [
"MIT"
] | 2 | 2018-03-26T03:02:07.000Z | 2021-11-10T21:09:48.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Model definitions and handling
"""
from .model import Model, ModelFixed, ModelSelect, ModelWeighted
from .model import ModelInterpolate
from .model import model_from_dict
from .fitter import fit_mock, fit_optimize, fit_select, fit_interpolate
| 32.555556 | 71 | 0.78157 | 39 | 293 | 5.717949 | 0.615385 | 0.121076 | 0.201794 | 0.179372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007722 | 0.116041 | 293 | 8 | 72 | 36.625 | 0.853282 | 0.25256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8dd3b0a44fa42a28bbec4009bc21896b8359100c | 357 | py | Python | polyaxon/notifier/events/experiment_group.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/notifier/events/experiment_group.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/notifier/events/experiment_group.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | import notifier
from event_manager.events import experiment_group
notifier.subscribe_event(experiment_group.ExperimentGroupStoppedEvent)
notifier.subscribe_event(experiment_group.ExperimentGroupDoneEvent)
# notifier.subscribe_event(experiment_group.ExperimentGroupNewStatusEvent)
# notifier.subscribe_event(experiment_... | 39.666667 | 74 | 0.907563 | 33 | 357 | 9.515152 | 0.393939 | 0.238854 | 0.280255 | 0.407643 | 0.471338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 357 | 8 | 75 | 44.625 | 0.915452 | 0.406162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
8dfcdb36faacf361900cfd774142c91385cf36a5 | 7,156 | py | Python | src/CLI/actioner/sonic-cli-sag.py | project-arlo/sonic-mgmt-framework | 562cd84ff3fec9ca705c7df621742f2daa61ce71 | [
"Apache-2.0"
] | 7 | 2019-10-17T06:12:02.000Z | 2021-09-08T11:16:19.000Z | src/CLI/actioner/sonic-cli-sag.py | noolex/sonic-mgmt-framework | 5493889adc47fc584b04dca1a0cc0a2007211df4 | [
"Apache-2.0"
] | 207 | 2019-06-24T04:48:11.000Z | 2020-05-06T05:51:37.000Z | src/CLI/actioner/sonic-cli-sag.py | noolex/sonic-mgmt-framework | 5493889adc47fc584b04dca1a0cc0a2007211df4 | [
"Apache-2.0"
] | 20 | 2019-06-27T19:24:45.000Z | 2021-07-15T21:12:30.000Z | #!/usr/bin/python
###########################################################################
#
# Copyright 2019 Dell, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ht... | 47.078947 | 241 | 0.628144 | 780 | 7,156 | 5.584615 | 0.197436 | 0.089532 | 0.103306 | 0.083563 | 0.778237 | 0.770432 | 0.742195 | 0.722452 | 0.722452 | 0.722452 | 0 | 0.011047 | 0.253633 | 7,156 | 151 | 242 | 47.390728 | 0.804531 | 0.122275 | 0 | 0.489796 | 0 | 0.081633 | 0.476559 | 0.463788 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0.010204 | 0.071429 | 0 | 0.193878 | 0.010204 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c0d033d6b901a5c705fb7dc8c7fc3bec8a869fb | 17,576 | py | Python | lib/JsonDIF.py | joser1945/cmr-metadata-review | df0bb24dd06f981af907569f1a97966753053a99 | [
"Apache-2.0"
] | 15 | 2018-06-26T19:58:44.000Z | 2022-03-01T21:19:34.000Z | lib/JsonDIF.py | joser1945/cmr-metadata-review | df0bb24dd06f981af907569f1a97966753053a99 | [
"Apache-2.0"
] | 61 | 2018-06-27T15:15:41.000Z | 2022-03-08T15:39:32.000Z | lib/JsonDIF.py | vbjayanti/cmr-metadata-review | 1c7ac12ef26f144289e3004588a2e2b305d4f940 | [
"Apache-2.0"
] | 9 | 2019-01-22T15:48:48.000Z | 2021-10-01T18:38:30.000Z | '''This file is for get JSON output for Collection DIF data'''
class DIFOutputJSON():
def __init__(self,checkerRules,wrap):
self.checkerRules = checkerRules
self.wrap = wrap
def checkAll(self, metadata):
result = {}
#=======================================
str = 'Entry_... | 43.184275 | 160 | 0.511664 | 1,555 | 17,576 | 5.535691 | 0.077814 | 0.136966 | 0.161013 | 0.128369 | 0.904391 | 0.879182 | 0.851417 | 0.823536 | 0.722584 | 0.614661 | 0 | 0.000926 | 0.262517 | 17,576 | 407 | 161 | 43.184275 | 0.663169 | 0.147474 | 0 | 0.60597 | 0 | 0 | 0.145223 | 0.118538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00597 | false | 0 | 0 | 0 | 0.01194 | 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 |
5c16bc03fef547b26441dd335b7e7456cabe6074 | 22 | py | Python | code_py/Linear_Optimization_1.py | Moises9/orToolsOptimization | 497468a43871607f45b6ac47953cf084ce183943 | [
"MIT"
] | null | null | null | code_py/Linear_Optimization_1.py | Moises9/orToolsOptimization | 497468a43871607f45b6ac47953cf084ce183943 | [
"MIT"
] | null | null | null | code_py/Linear_Optimization_1.py | Moises9/orToolsOptimization | 497468a43871607f45b6ac47953cf084ce183943 | [
"MIT"
] | null | null | null |
import ortools as ot | 7.333333 | 20 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 3 | 20 | 7.333333 | 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 |
5c4621cb9ed77af336580dd91e9c10df289e9ecc | 1,260 | py | Python | src/dwiprep/utils/inputs.py | GalBenZvi/dwiprep | b19340533813f7dcbfb8ab471d57a2a3407358af | [
"Apache-2.0"
] | 1 | 2021-10-30T12:55:27.000Z | 2021-10-30T12:55:27.000Z | src/dwiprep/utils/inputs.py | GalBenZvi/dwiprep | b19340533813f7dcbfb8ab471d57a2a3407358af | [
"Apache-2.0"
] | 18 | 2021-02-21T10:46:11.000Z | 2021-11-29T20:42:04.000Z | src/dwiprep/utils/inputs.py | GalBenZvi/dwiprep | b19340533813f7dcbfb8ab471d57a2a3407358af | [
"Apache-2.0"
] | 3 | 2021-02-21T10:46:20.000Z | 2021-10-30T12:55:32.000Z | import nipype.interfaces.utility as niu
import nipype.pipeline.engine as pe
INPUT_FIELDS = [
"output_dir",
# DWI
"dwi",
"in_bvec",
"in_bval",
"in_json",
# fmap
"fmap_ap",
"fmap_ap_json",
"fmap_pa",
"fmap_pa_json",
# From anatomical
"t1w_preproc",
"t1w_mask",
... | 20 | 39 | 0.469841 | 118 | 1,260 | 4.635593 | 0.364407 | 0.058501 | 0.054845 | 0.065814 | 0.786106 | 0.786106 | 0.786106 | 0.786106 | 0.786106 | 0.786106 | 0 | 0.031915 | 0.403175 | 1,260 | 62 | 40 | 20.322581 | 0.695479 | 0.038889 | 0 | 0.8 | 0 | 0 | 0.356312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036364 | 0 | 0.036364 | 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 |
a50dbc6309d1f44efd26e99a8a3b5cb2067866df | 173 | py | Python | tests/segmentation/pspnet/pspnet_test.py | indiradutta/PyVision | cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf | [
"BSD-3-Clause"
] | 31 | 2020-05-03T07:03:01.000Z | 2022-01-29T15:29:22.000Z | tests/segmentation/pspnet/pspnet_test.py | indiradutta/PyVision | cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf | [
"BSD-3-Clause"
] | 13 | 2020-05-25T14:23:46.000Z | 2021-08-04T10:38:02.000Z | tests/segmentation/pspnet/pspnet_test.py | indiradutta/PyVision | cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf | [
"BSD-3-Clause"
] | 12 | 2020-05-24T22:26:59.000Z | 2021-08-03T18:30:51.000Z | from pyvision.segmentation.pspnet import PSPNet
m = PSPNet(model="pspnet-resnet50-ade20k")
m.inference("pyvision/segmentation/pspnet/examples/ade20k.jpg", save="ade20k")
| 28.833333 | 78 | 0.791908 | 22 | 173 | 6.227273 | 0.590909 | 0.291971 | 0.379562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0.069364 | 173 | 5 | 79 | 34.6 | 0.801242 | 0 | 0 | 0 | 0 | 0 | 0.439306 | 0.404624 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a519e3434901731bd0935ab21ff108f6a3d4a4d7 | 42 | py | Python | discloud/__init__.py | DiogoMarques2003/python-discloud-status | 0f476fab01d397457a05721ed09428b5593bca9f | [
"Apache-2.0"
] | 8 | 2019-11-07T00:28:10.000Z | 2022-03-30T00:03:21.000Z | discloud/__init__.py | DiogoMarques2003/python-discloud-status | 0f476fab01d397457a05721ed09428b5593bca9f | [
"Apache-2.0"
] | null | null | null | discloud/__init__.py | DiogoMarques2003/python-discloud-status | 0f476fab01d397457a05721ed09428b5593bca9f | [
"Apache-2.0"
] | 1 | 2022-01-12T13:20:28.000Z | 2022-01-12T13:20:28.000Z | from .ram import ram, total_ram, using_ram | 42 | 42 | 0.809524 | 8 | 42 | 4 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.864865 | 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 |
eb5eb0de0cfc110299bcbd5804cb3b27859de120 | 30 | py | Python | readthedocs/tastyapi/__init__.py | ludia/readthedocs.org | 636c2bd57b417c4d73657d2517efaf4258dd75c1 | [
"MIT"
] | 1 | 2021-11-12T23:52:23.000Z | 2021-11-12T23:52:23.000Z | readthedocs/tastyapi/__init__.py | titilambert/readthedocs.org | 774611db90fea94c3ae4d7de4726f010ab01ddab | [
"MIT"
] | null | null | null | readthedocs/tastyapi/__init__.py | titilambert/readthedocs.org | 774611db90fea94c3ae4d7de4726f010ab01ddab | [
"MIT"
] | null | null | null | from .slum import api # noqa
| 15 | 29 | 0.7 | 5 | 30 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 1 | 30 | 30 | 0.913043 | 0.133333 | 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 |
eb87af8042c1df5eaaf859413d6ced9c70a91f26 | 3,525 | py | Python | Python/count-of-range-sum.py | bssrdf/LeetCode-5 | 746df5cff523361145a74d9d429dc541a7b99910 | [
"MIT"
] | 68 | 2018-01-13T07:15:37.000Z | 2022-02-20T12:58:24.000Z | Python/count-of-range-sum.py | bssrdf/LeetCode-5 | 746df5cff523361145a74d9d429dc541a7b99910 | [
"MIT"
] | 2 | 2021-12-10T01:43:37.000Z | 2021-12-14T21:48:53.000Z | Python/count-of-range-sum.py | bssrdf/LeetCode-5 | 746df5cff523361145a74d9d429dc541a7b99910 | [
"MIT"
] | 63 | 2017-04-10T03:38:25.000Z | 2022-03-17T23:24:51.000Z | # Time: O(nlogn)
# Space: O(n)
# Given an integer array nums, return the number of range
# sums that lie in [lower, upper] inclusive.
# Range sum S(i, j) is defined as the sum of the elements
# in nums between indices i and j (i <= j), inclusive.
#
# Note:
# A naive algorithm of O(n^2) is trivial. You MUST do better ... | 35.969388 | 102 | 0.489362 | 464 | 3,525 | 3.717672 | 0.200431 | 0.075362 | 0.034783 | 0.027826 | 0.806377 | 0.772754 | 0.772754 | 0.724058 | 0.724058 | 0.724058 | 0 | 0.021973 | 0.393191 | 3,525 | 97 | 103 | 36.340206 | 0.784479 | 0.293617 | 0 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.230769 | 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 |
cce62feff0b13ed7f9f1dec6b2d06c7b53a00237 | 34 | py | Python | nih_mpd_lib/__init__.py | s-kostyuk/sockets_samples | d0c876c8a4ec4a5890f22c6b5a1091ee167d968e | [
"MIT"
] | 1 | 2018-02-20T09:16:46.000Z | 2018-02-20T09:16:46.000Z | nih_mpd_lib/__init__.py | s-kostyuk/sockets_samples | d0c876c8a4ec4a5890f22c6b5a1091ee167d968e | [
"MIT"
] | null | null | null | nih_mpd_lib/__init__.py | s-kostyuk/sockets_samples | d0c876c8a4ec4a5890f22c6b5a1091ee167d968e | [
"MIT"
] | null | null | null | from .mpd_client import MPDClient
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
ccf0b58b4f0a0d484efd601b2bd243d4e56de1dc | 94 | py | Python | Shared_Files/Custom_Exception.py | EricCacciavillani/LyreBird | 858657faef39d1adcba19ff0213210ba490b4afa | [
"MIT"
] | 1 | 2019-05-04T02:34:20.000Z | 2019-05-04T02:34:20.000Z | Shared_Files/Custom_Exception.py | EricCacciavillani/LyreBird | 858657faef39d1adcba19ff0213210ba490b4afa | [
"MIT"
] | null | null | null | Shared_Files/Custom_Exception.py | EricCacciavillani/LyreBird | 858657faef39d1adcba19ff0213210ba490b4afa | [
"MIT"
] | 1 | 2019-04-04T19:14:09.000Z | 2019-04-04T19:14:09.000Z | class Midi_Reading_Error(Exception):
pass
class Model_Pathing_Error(Exception):
pass | 15.666667 | 37 | 0.776596 | 12 | 94 | 5.75 | 0.666667 | 0.405797 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 6 | 38 | 15.666667 | 0.873418 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
69032d390087f9288099369d83523d38fd24f7ff | 5,031 | py | Python | generate_tsp_pomo.py | dschaub95/pyconcorde | 8b4a7af120071e939445050efdf613412475cb26 | [
"BSD-3-Clause"
] | null | null | null | generate_tsp_pomo.py | dschaub95/pyconcorde | 8b4a7af120071e939445050efdf613412475cb26 | [
"BSD-3-Clause"
] | null | null | null | generate_tsp_pomo.py | dschaub95/pyconcorde | 8b4a7af120071e939445050efdf613412475cb26 | [
"BSD-3-Clause"
] | null | null | null | from TSP_utils import TSP_solver, TSP_plotter, TSP_generator, TSP_loader
import numpy as np
import os
import networkx as nx
import argparse
import json
from tqdm import tqdm
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--save_folder", type=str, default='./test_sets')
... | 42.277311 | 109 | 0.640032 | 672 | 5,031 | 4.516369 | 0.199405 | 0.039539 | 0.056013 | 0.029654 | 0.808567 | 0.794069 | 0.794069 | 0.794069 | 0.774959 | 0.774959 | 0 | 0.007675 | 0.223017 | 5,031 | 119 | 110 | 42.277311 | 0.768739 | 0.507255 | 0 | 0 | 0 | 0 | 0.15605 | 0.089354 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.170732 | 0 | 0.170732 | 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 |
6934c3863f99e48f4f17fd1fdf4ad670b7595b9d | 77 | py | Python | tests/test_app.py | IraaSrivastava/medical_record | 0561d62a520b11b6578ba8c26c5c766d74174ec0 | [
"MIT"
] | null | null | null | tests/test_app.py | IraaSrivastava/medical_record | 0561d62a520b11b6578ba8c26c5c766d74174ec0 | [
"MIT"
] | null | null | null | tests/test_app.py | IraaSrivastava/medical_record | 0561d62a520b11b6578ba8c26c5c766d74174ec0 | [
"MIT"
] | null | null | null | from app import hello
def test_hello():
assert hello() == "Hello World!"
| 11 | 33 | 0.675325 | 11 | 77 | 4.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 77 | 6 | 34 | 12.833333 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6690c27ba3feb1775fa17c21fa7366a8dee84b3 | 15,508 | py | Python | functions/cursor_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | null | null | null | functions/cursor_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | 1 | 2021-02-24T21:50:18.000Z | 2021-02-24T21:50:18.000Z | functions/cursor_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | null | null | null | # Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN
from to_python.core.types import FunctionType, \
FunctionArgument, \
FunctionArgumentValues, \
FunctionReturnTypes, \
FunctionSignature, \
FunctionDoc, \
FunctionData, \
CompoundFunctionData
DUMP_PARTIAL = [
CompoundFunctionData(
... | 38.197044 | 414 | 0.3622 | 867 | 15,508 | 6.385236 | 0.199539 | 0.064487 | 0.051481 | 0.041546 | 0.781611 | 0.771496 | 0.761561 | 0.651553 | 0.647941 | 0.647941 | 0 | 0.004074 | 0.572672 | 15,508 | 405 | 415 | 38.291358 | 0.831296 | 0.003289 | 0 | 0.781818 | 1 | 0.012987 | 0.178583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002597 | 0.002597 | 0 | 0.002597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6ce528c9f4441a8b2c7b3e4f590f8c1cf8c952b | 204 | py | Python | VKActivityAnalisys/__init__.py | Rig0ur/VKAnalysis | 23bfedc490c99d488078039b9aab1c7cd3defce9 | [
"Apache-2.0"
] | 54 | 2018-03-04T10:18:59.000Z | 2022-03-24T20:47:13.000Z | VKActivityAnalisys/__init__.py | Lukmora/VKAnalysis | 23bfedc490c99d488078039b9aab1c7cd3defce9 | [
"Apache-2.0"
] | 7 | 2020-09-30T10:17:20.000Z | 2021-12-27T01:53:52.000Z | VKActivityAnalisys/__init__.py | Lukmora/VKAnalysis | 23bfedc490c99d488078039b9aab1c7cd3defce9 | [
"Apache-2.0"
] | 12 | 2019-11-29T15:54:39.000Z | 2021-12-13T22:33:20.000Z | # from .TimeActivityAnalysis import TimeActivityAnalysisWidget
from .InterestingActivityAnalysis import InterestingActivityAnalysisWidget
from .FriendsActivityAnalysis import FriendsActivityAnalysisWidget | 68 | 74 | 0.921569 | 12 | 204 | 15.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 204 | 3 | 75 | 68 | 0.979167 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6ded53f1cd4fcb7360d1d590f46faf42994105e | 83 | py | Python | run_prediction.py | Rhoana/soma_segmentation | 82d3e170c7e5b53d3e0fdc507f3430e5a3bc9a2e | [
"MIT"
] | null | null | null | run_prediction.py | Rhoana/soma_segmentation | 82d3e170c7e5b53d3e0fdc507f3430e5a3bc9a2e | [
"MIT"
] | null | null | null | run_prediction.py | Rhoana/soma_segmentation | 82d3e170c7e5b53d3e0fdc507f3430e5a3bc9a2e | [
"MIT"
] | null | null | null | from main import Predict
from parameters import ckpt_restore
Predict(ckpt_restore) | 20.75 | 35 | 0.86747 | 12 | 83 | 5.833333 | 0.583333 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 83 | 4 | 36 | 20.75 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6ed2db60e823268a6bdcbf69f0400c0a91e459d | 7,601 | py | Python | tests/test_date_helper.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | 2 | 2020-02-20T15:00:35.000Z | 2020-02-21T19:27:53.000Z | tests/test_date_helper.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | 3 | 2020-02-21T03:25:35.000Z | 2020-02-21T18:37:42.000Z | tests/test_date_helper.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | null | null | null | import unittest
from datetime import datetime, timedelta
from dateutil import tz
from hermes_fix.utils import date_helper
class Test(unittest.TestCase):
def setUp(self):
pass
"""Daily: time < start < end"""
def test_daily_t_s_e(self):
self.tz = tz.gettz("UTC")
dt = datetime(2... | 37.628713 | 98 | 0.595843 | 1,138 | 7,601 | 3.876098 | 0.058875 | 0.088415 | 0.063478 | 0.095217 | 0.933802 | 0.899569 | 0.868284 | 0.868284 | 0.855135 | 0.845613 | 0 | 0.096147 | 0.241942 | 7,601 | 201 | 99 | 37.81592 | 0.669386 | 0 | 0 | 0.609023 | 0 | 0 | 0.060149 | 0 | 0 | 0 | 0 | 0 | 0.338346 | 1 | 0.12782 | false | 0.015038 | 0.030075 | 0 | 0.165414 | 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 |
ba516b55a3397f92a0f58bd7b84021e2b6f82f2d | 122 | py | Python | server/__init__.py | mica-framework/cli | a5a851a73d7b9bd0431e9c8bb0c8fca401b32ccf | [
"MIT"
] | 5 | 2019-06-14T12:32:56.000Z | 2022-03-17T20:55:48.000Z | server/__init__.py | mica-framework/cli | a5a851a73d7b9bd0431e9c8bb0c8fca401b32ccf | [
"MIT"
] | null | null | null | server/__init__.py | mica-framework/cli | a5a851a73d7b9bd0431e9c8bb0c8fca401b32ccf | [
"MIT"
] | null | null | null | # import the modules
from .mica_server import * #FIXME we could make that dynamically editable within the config.yml file! | 61 | 101 | 0.803279 | 19 | 122 | 5.105263 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 2 | 101 | 61 | 0.932692 | 0.745902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | true | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bab1c666630f1b7286568dcc3bf7a5216a8eaae5 | 23,770 | py | Python | hydrogen/Selector.py | belre/EMNumerics | b44fde7685adfc3b1477ec5064cade0ad4accedf | [
"MIT"
] | 1 | 2021-05-16T14:00:07.000Z | 2021-05-16T14:00:07.000Z | hydrogen/Selector.py | belre/EMNumerics | b44fde7685adfc3b1477ec5064cade0ad4accedf | [
"MIT"
] | null | null | null | hydrogen/Selector.py | belre/EMNumerics | b44fde7685adfc3b1477ec5064cade0ad4accedf | [
"MIT"
] | null | null | null |
import numpy as np
import tkinter as tk
import tkinter.ttk as ttk
from tkinter import font
from functools import partial
from Function import SphericalSurface, GraphView
# https://stackoverflow.com/questions/49888623/tkinter-hovering-over-button-color-change
class MarkerButton(tk.Button):
def __init__(self, mast... | 42.220249 | 127 | 0.576441 | 3,821 | 23,770 | 3.39754 | 0.054436 | 0.108997 | 0.069327 | 0.085734 | 0.867817 | 0.851949 | 0.828686 | 0.820983 | 0.812895 | 0.795563 | 0 | 0.036812 | 0.260581 | 23,770 | 562 | 128 | 42.295374 | 0.701752 | 0.005301 | 0 | 0.5625 | 0 | 0 | 0.050761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064732 | false | 0 | 0.013393 | 0.049107 | 0.133929 | 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 |
bab47803c81513579eb51a8aafb59a2a5f6f410d | 3,086 | py | Python | tests/fields/test_render_as_radio.py | jpsca/pforms | 77c9da93e5224e79bb147aa873f28951e972bb21 | [
"MIT"
] | 2 | 2019-10-11T03:13:10.000Z | 2019-11-12T10:31:54.000Z | tests/fields/test_render_as_radio.py | jpsca/hyperform | d5c450ad8684a853fed26f8c2606877151125a9e | [
"MIT"
] | 2 | 2021-11-18T18:01:28.000Z | 2021-11-18T18:03:29.000Z | tests/fields/test_render_as_radio.py | jpsca/hyperform | d5c450ad8684a853fed26f8c2606877151125a9e | [
"MIT"
] | null | null | null | import proper_forms.fields as f
def test_text_as_radio():
field = f.Text(name="name")
assert field.as_radio() == '<input name="name" type="radio">'
def test_text_as_radio_with_label():
field = f.Text(name="name")
assert (
field.as_radio(label="I have read the TOS")
== '<label class="... | 28.574074 | 87 | 0.650032 | 405 | 3,086 | 4.708642 | 0.101235 | 0.102779 | 0.095438 | 0.132145 | 0.958574 | 0.905087 | 0.857892 | 0.821709 | 0.810173 | 0.747771 | 0 | 0.002405 | 0.19151 | 3,086 | 107 | 88 | 28.841122 | 0.761924 | 0 | 0 | 0.56962 | 0 | 0 | 0.284835 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 1 | 0.177215 | false | 0 | 0.012658 | 0 | 0.189873 | 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 |
baf2cd39103117544e114c833995848cfc9c7b78 | 44 | py | Python | model/__init__.py | xionluhnis/neural_inverse_knitting | da4edc3ccbc470db77f97e7776946ff0369b8c68 | [
"MIT"
] | 29 | 2019-06-20T20:38:15.000Z | 2021-10-08T06:12:45.000Z | model/__init__.py | xionluhnis/neural_inverse_knitting | da4edc3ccbc470db77f97e7776946ff0369b8c68 | [
"MIT"
] | 8 | 2020-01-28T22:12:52.000Z | 2022-01-13T01:19:46.000Z | model/__init__.py | xionluhnis/neural_inverse_knitting | da4edc3ccbc470db77f97e7776946ff0369b8c68 | [
"MIT"
] | 4 | 2019-08-06T16:45:30.000Z | 2021-01-03T01:31:27.000Z | from .m_feedforw import FeedForwardNetworks
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 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 |
24524014c4c441dcf01ac5c743244dc4b3cca703 | 1,570 | py | Python | common/archive.py | LordKBX/EbookCollection | 3e6ba33fb012b1dbb371704094b02cece66a7e80 | [
"MIT"
] | 1 | 2021-06-03T01:44:50.000Z | 2021-06-03T01:44:50.000Z | common/archive.py | LordKBX/eBookCollection | 3e6ba33fb012b1dbb371704094b02cece66a7e80 | [
"MIT"
] | null | null | null | common/archive.py | LordKBX/eBookCollection | 3e6ba33fb012b1dbb371704094b02cece66a7e80 | [
"MIT"
] | null | null | null | import os, sys
import subprocess
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
import common.vars
def inflate(src: str, dest: str):
list_args = list() # create list argument for external command execution
list_... | 52.333333 | 149 | 0.705732 | 225 | 1,570 | 4.782222 | 0.257778 | 0.074349 | 0.052045 | 0.063197 | 0.904275 | 0.904275 | 0.904275 | 0.869888 | 0.869888 | 0.719331 | 0 | 0.001506 | 0.15414 | 1,570 | 29 | 150 | 54.137931 | 0.808735 | 0.252229 | 0 | 0.363636 | 0 | 0 | 0.101724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.136364 | 0 | 0.318182 | 0.090909 | 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 |
245ecfc1a9012bc0664a7d439cc591484bca36fc | 350 | py | Python | textformer/models/__init__.py | gugarosa/textformer | cccc670d48995fa0bfbdf9fc8013d13a90ea5e84 | [
"Apache-2.0"
] | 3 | 2020-07-26T03:51:56.000Z | 2020-10-04T18:42:18.000Z | textformer/models/__init__.py | gugarosa/textformer | cccc670d48995fa0bfbdf9fc8013d13a90ea5e84 | [
"Apache-2.0"
] | null | null | null | textformer/models/__init__.py | gugarosa/textformer | cccc670d48995fa0bfbdf9fc8013d13a90ea5e84 | [
"Apache-2.0"
] | null | null | null | """A package contaning all models (networks) for all common textformer modules.
"""
from textformer.models.att_seq2seq import AttSeq2Seq
from textformer.models.conv_seq2seq import ConvSeq2Seq
from textformer.models.joint_seq2seq import JointSeq2Seq
from textformer.models.seq2seq import Seq2Seq
from textformer.models.t... | 38.888889 | 79 | 0.851429 | 44 | 350 | 6.704545 | 0.454545 | 0.237288 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025237 | 0.094286 | 350 | 8 | 80 | 43.75 | 0.905363 | 0.217143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
0377883e3bfc629defce7af51a69cec2ffe564ee | 10,519 | py | Python | 11 - Extra-- sonos snips voice app/tests/services/node/test_device_transport_control_service.py | RedaMastouri/marvis | 75e90a66d0746f12ba6231a4cab16ab40b42928e | [
"MIT"
] | 1 | 2021-12-29T08:44:34.000Z | 2021-12-29T08:44:34.000Z | 11 - Extra-- sonos snips voice app/tests/services/node/test_device_transport_control_service.py | RedaMastouri/marvis | 75e90a66d0746f12ba6231a4cab16ab40b42928e | [
"MIT"
] | null | null | null | 11 - Extra-- sonos snips voice app/tests/services/node/test_device_transport_control_service.py | RedaMastouri/marvis | 75e90a66d0746f12ba6231a4cab16ab40b42928e | [
"MIT"
] | null | null | null | import pytest
import requests
from mock import mock, patch
from snipssonos.services.node.device_transport_control import NodeDeviceTransportControlService
from snipssonos.exceptions import NoReachableDeviceException
from snipssonos.use_cases.volume.up import VolumeUpUseCase
from snipssonos.entities.device import Devic... | 38.250909 | 121 | 0.789048 | 1,096 | 10,519 | 7.158759 | 0.094891 | 0.097884 | 0.050981 | 0.043079 | 0.874713 | 0.856232 | 0.778486 | 0.748534 | 0.738593 | 0.723936 | 0 | 0.004535 | 0.140603 | 10,519 | 274 | 122 | 38.390511 | 0.863385 | 0 | 0 | 0.603175 | 0 | 0 | 0.10154 | 0.064556 | 0 | 0 | 0 | 0 | 0.100529 | 1 | 0.10582 | false | 0 | 0.037037 | 0.010582 | 0.153439 | 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 |
3044c87d459ddb26a651b0306d43230727851480 | 2,297 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_24_03_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/smmpmbec/mat/A_24_03_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/smmpmbec/mat/A_24_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_24_03_9 = {0: {'A': -0.269, 'C': -0.177, 'E': 0.695, 'D': 1.059, 'G': 0.041, 'F': -0.283, 'I': 0.289, 'H': -0.195, 'K': -0.196, 'M': -0.31, 'L': 0.004, 'N': 0.12, 'Q': -0.014, 'P': 0.716, 'S': -0.19, 'R': -0.498, 'T': 0.053, 'W': -0.2, 'V': 0.026, 'Y': -0.67}, 1: {'A': 0.349, 'C': -0.165, 'E': 0.594, 'D': 0.567, 'G':... | 2,297 | 2,297 | 0.39138 | 557 | 2,297 | 1.608618 | 0.310592 | 0.020089 | 0.011161 | 0.013393 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0 | 0.370062 | 0.162386 | 2,297 | 1 | 2,297 | 2,297 | 0.095634 | 0 | 0 | 0 | 0 | 0 | 0.079634 | 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 |
305e296150749a15df14e3389aa18bf57478548f | 3,352 | py | Python | src/sgd.py | ntueclab/SpecTrain-PyTorch | b93355d6b8f74864ce1d6eb6978e24fbbf62fc54 | [
"MIT"
] | 3 | 2021-02-10T13:46:31.000Z | 2022-01-24T20:46:14.000Z | src/sgd.py | ntueclab/SpecTrain-PyTorch | b93355d6b8f74864ce1d6eb6978e24fbbf62fc54 | [
"MIT"
] | null | null | null | src/sgd.py | ntueclab/SpecTrain-PyTorch | b93355d6b8f74864ce1d6eb6978e24fbbf62fc54 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation.
# (c) I-Ching Tseng
# Licensed under the MIT license.
from torch.optim.optimizer import required
from optimizer import OptimizerWithWeightStashing
from optimizer import OptimizerWithWeightPrediction
class SGDWithWeightStashing(OptimizerWithWeightStashing):
"""
... | 29.403509 | 57 | 0.537888 | 262 | 3,352 | 6.572519 | 0.198473 | 0.083624 | 0.130662 | 0.108014 | 0.735772 | 0.735772 | 0.735772 | 0.735772 | 0.735772 | 0.735772 | 0 | 0.005961 | 0.399463 | 3,352 | 113 | 58 | 29.663717 | 0.849478 | 0.057578 | 0 | 0.855556 | 0 | 0 | 0.004822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
069cc0057199e1587ef347e4d3c49e1b322ae72b | 124 | py | Python | prettyqt/qml/qmlparserstatus.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 7 | 2019-05-01T01:34:36.000Z | 2022-03-08T02:24:14.000Z | prettyqt/qml/qmlparserstatus.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 141 | 2019-04-16T11:22:01.000Z | 2021-04-14T15:12:36.000Z | prettyqt/qml/qmlparserstatus.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 5 | 2019-04-17T11:48:19.000Z | 2021-11-21T10:30:19.000Z | from __future__ import annotations
from prettyqt.qt import QtQml
class QmlParserStatus(QtQml.QQmlParserStatus):
pass
| 15.5 | 46 | 0.814516 | 14 | 124 | 6.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 7 | 47 | 17.714286 | 0.915094 | 0 | 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 |
069d6e218d474dd6b46b1c34e5a7122aeea9362f | 83 | py | Python | YTV/mywidgets/custom_textfield/mytext.py | Eghosa-Osayande/ytv-series-downloader | 6b0efa69ca002279226ac6063e1bbc3eae9b2c97 | [
"MIT"
] | 1 | 2020-11-22T20:30:28.000Z | 2020-11-22T20:30:28.000Z | YTV/mywidgets/custom_textfield/mytext.py | yande-eghosa/ytv-series-downloader | 6b0efa69ca002279226ac6063e1bbc3eae9b2c97 | [
"MIT"
] | null | null | null | YTV/mywidgets/custom_textfield/mytext.py | yande-eghosa/ytv-series-downloader | 6b0efa69ca002279226ac6063e1bbc3eae9b2c97 | [
"MIT"
] | null | null | null | from .mytextfield import MDTextField as MYText
class MYTextField(MYText):
pass | 20.75 | 47 | 0.795181 | 10 | 83 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 4 | 48 | 20.75 | 0.942857 | 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 |
23095c1f34c714fb24ba726ef2025d27cbe5e27a | 275 | py | Python | docs/doxygen/doxyxml/generated/__init__.py | cbdonohue/gr-equalizers | 3b5f86238afff7becfb9988dc6a27a35468d179f | [
"BSD-3-Clause"
] | 15 | 2022-01-26T23:09:23.000Z | 2022-02-17T15:50:32.000Z | docs/doxygen/doxyxml/generated/__init__.py | cbdonohue/gr-equalizers | 3b5f86238afff7becfb9988dc6a27a35468d179f | [
"BSD-3-Clause"
] | 7 | 2020-02-06T11:18:58.000Z | 2021-02-05T13:20:05.000Z | docs/doxygen/doxyxml/generated/__init__.py | cbdonohue/gr-equalizers | 3b5f86238afff7becfb9988dc6a27a35468d179f | [
"BSD-3-Clause"
] | 4 | 2020-01-21T14:47:10.000Z | 2022-03-09T08:39:06.000Z | """
Contains generated files produced by generateDS.py.
These do the real work of parsing the doxygen xml files but the
resultant classes are not very friendly to navigate so the rest of the
doxyxml module processes them further.
"""
from __future__ import unicode_literals
| 30.555556 | 70 | 0.807273 | 43 | 275 | 5.046512 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 275 | 8 | 71 | 34.375 | 0.939394 | 0.821818 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
235068faad0865f98f09af638b8dc0fa6af41cdd | 193 | py | Python | pair-up.py | drtnf/cits3403-pair-up | 886cb45cb401f1f54706a40cad1986d23f593e68 | [
"MIT"
] | 9 | 2019-05-07T06:33:40.000Z | 2021-04-20T12:19:52.000Z | pair-up.py | drtnf/cits3403-pair-up | 886cb45cb401f1f54706a40cad1986d23f593e68 | [
"MIT"
] | 2 | 2020-04-20T04:52:27.000Z | 2020-04-20T04:52:27.000Z | pair-up.py | drtnf/cits3403-pair-up | 886cb45cb401f1f54706a40cad1986d23f593e68 | [
"MIT"
] | 31 | 2019-05-17T10:42:14.000Z | 2021-06-02T14:31:52.000Z | from app import app, db
from app.models import Student, Project, Lab
@app.shell_context_processor
def make_shell_context():
return {'db':db, 'Student':Student, "Project":Project, 'Lab':Lab}
| 27.571429 | 67 | 0.751295 | 29 | 193 | 4.862069 | 0.482759 | 0.099291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11399 | 193 | 6 | 68 | 32.166667 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.098446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
237700744d64a116def487cd77c7600c99e00d8e | 124 | py | Python | AudioChessSite/apps/notifications/views.py | saisree27/audio-chess-site | 97c4bd70fd96cd21c76c777aa41c849ccbe1db71 | [
"MIT"
] | 1 | 2021-01-27T14:38:57.000Z | 2021-01-27T14:38:57.000Z | AudioChessSite/apps/notifications/views.py | saisree27/audio-chess-site | 97c4bd70fd96cd21c76c777aa41c849ccbe1db71 | [
"MIT"
] | null | null | null | AudioChessSite/apps/notifications/views.py | saisree27/audio-chess-site | 97c4bd70fd96cd21c76c777aa41c849ccbe1db71 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def user_list(request):
return render(request, 'templates/example/user_list.html') | 24.8 | 62 | 0.790323 | 17 | 124 | 5.647059 | 0.764706 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 5 | 62 | 24.8 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0.256 | 0.256 | 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 |
88b98242dc2f6a0c3820100699d5636210dbcab5 | 25,794 | py | Python | tests/ut/python/dataset/test_datasets_imdb.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | tests/ut/python/dataset/test_datasets_imdb.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | null | null | null | tests/ut/python/dataset/test_datasets_imdb.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Huawei Technologies Co., Ltd
#
# 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... | 35.189632 | 106 | 0.670078 | 3,489 | 25,794 | 4.791344 | 0.072227 | 0.055632 | 0.025124 | 0.028713 | 0.858647 | 0.832745 | 0.814141 | 0.795657 | 0.764611 | 0.75821 | 0 | 0.023217 | 0.213499 | 25,794 | 732 | 107 | 35.237705 | 0.800808 | 0.259091 | 0 | 0.67581 | 0 | 0 | 0.15595 | 0.008955 | 0 | 0 | 0 | 0 | 0.122195 | 1 | 0.054863 | false | 0.007481 | 0.007481 | 0 | 0.062344 | 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 |
001ac898cc6042edbce108d0ccf435e54334a789 | 106 | py | Python | email_config.py | ZhenyueQin/Training-Progress-Email-Notifier | 2a108ac50112681af18d31b0ba2ff9d33c461263 | [
"CC-BY-4.0"
] | 24 | 2021-07-02T13:08:47.000Z | 2021-12-06T17:26:09.000Z | email_config.py | ZhenyueQin/Training-Progress-Email-Notifier | 2a108ac50112681af18d31b0ba2ff9d33c461263 | [
"CC-BY-4.0"
] | 1 | 2021-07-08T19:18:02.000Z | 2021-07-08T22:13:05.000Z | email_config.py | ZhenyueQin/Training-Progress-Email-Notifier | 2a108ac50112681af18d31b0ba2ff9d33c461263 | [
"CC-BY-4.0"
] | null | null | null | EMAIL_S_ADDRESS = 'zylytech@gmail.com'
PASSWORD = 'zylytech123456'
EMAIL_R_ADDRESS = 'zylytech@gmail.com'
| 26.5 | 38 | 0.792453 | 14 | 106 | 5.714286 | 0.642857 | 0.375 | 0.5 | 0.575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.084906 | 106 | 3 | 39 | 35.333333 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cc9b9ce3b6ca5e304fc209e6bd148831fa90eecf | 8,131 | py | Python | tests/dataset/test_sparkdfdataset.py | lcorneliussen/great_expectations | 00a94d9dd7397b726e951baf290f4b5d18101b4d | [
"Apache-2.0"
] | 1 | 2020-09-29T18:19:35.000Z | 2020-09-29T18:19:35.000Z | tests/dataset/test_sparkdfdataset.py | lcorneliussen/great_expectations | 00a94d9dd7397b726e951baf290f4b5d18101b4d | [
"Apache-2.0"
] | 21 | 2020-08-05T07:15:47.000Z | 2021-04-29T05:35:52.000Z | tests/dataset/test_sparkdfdataset.py | lcorneliussen/great_expectations | 00a94d9dd7397b726e951baf290f4b5d18101b4d | [
"Apache-2.0"
] | null | null | null | import importlib.util
from unittest import mock
import pandas as pd
import pytest
from great_expectations.dataset.sparkdf_dataset import SparkDFDataset
def test_sparkdfdataset_persist(spark_session):
df = pd.DataFrame({"a": [1, 2, 3]})
sdf = spark_session.createDataFrame(df)
sdf.persist = mock.MagicMock... | 33.460905 | 87 | 0.709507 | 986 | 8,131 | 5.505071 | 0.117647 | 0.0958 | 0.055269 | 0.119749 | 0.819086 | 0.806743 | 0.8014 | 0.794031 | 0.755895 | 0.734709 | 0 | 0.003331 | 0.187677 | 8,131 | 242 | 88 | 33.599174 | 0.818471 | 0.057558 | 0 | 0.522989 | 0 | 0 | 0.13103 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 1 | 0.063218 | false | 0 | 0.126437 | 0 | 0.195402 | 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 |
ccc448b73f9b0a1cb8ec171f82b55b4e3fd5e415 | 62 | py | Python | rubin_sim/scheduler/schedulers/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/scheduler/schedulers/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/scheduler/schedulers/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | from .core_scheduler import *
from .filter_scheduler import *
| 20.666667 | 31 | 0.806452 | 8 | 62 | 6 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 32 | 31 | 0.888889 | 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 |
ccd00bd665d4645552ba2b41962db83e0be38a1e | 98 | py | Python | src/module.py | k-styles/Python-Template | bb90e33db3093a8e3e6a45a0c0cbb85c01982ff7 | [
"MIT"
] | null | null | null | src/module.py | k-styles/Python-Template | bb90e33db3093a8e3e6a45a0c0cbb85c01982ff7 | [
"MIT"
] | null | null | null | src/module.py | k-styles/Python-Template | bb90e33db3093a8e3e6a45a0c0cbb85c01982ff7 | [
"MIT"
] | null | null | null | class dummy_module():
def __init__(self):
pass
def dummy_func(self):
pass | 16.333333 | 25 | 0.581633 | 12 | 98 | 4.25 | 0.666667 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 98 | 6 | 26 | 16.333333 | 0.772727 | 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 |
4e131f2fc0fd4f12b2ce6ea93905b7f248b4ccc7 | 8,981 | py | Python | panda/tests/safety/test_honda.py | nfralick/openpilot | a2f4d6b5ad1471f26dac707a82ef666ac32d77d9 | [
"MIT"
] | 3 | 2019-01-18T16:48:15.000Z | 2019-03-03T15:43:52.000Z | panda/tests/safety/test_honda.py | nfralick/openpilot | a2f4d6b5ad1471f26dac707a82ef666ac32d77d9 | [
"MIT"
] | 2 | 2021-03-25T22:42:16.000Z | 2021-10-12T22:57:08.000Z | panda/tests/safety/test_honda.py | nfralick/openpilot | a2f4d6b5ad1471f26dac707a82ef666ac32d77d9 | [
"MIT"
] | 1 | 2019-08-14T14:56:15.000Z | 2019-08-14T14:56:15.000Z | #!/usr/bin/env python2
import unittest
import numpy as np
import libpandasafety_py
MAX_BRAKE = 255
class TestHondaSafety(unittest.TestCase):
@classmethod
def setUp(cls):
cls.safety = libpandasafety_py.libpandasafety
cls.safety.honda_init(0)
cls.safety.init_tests_honda()
def _speed_msg(self, speed):... | 37.577406 | 99 | 0.7419 | 1,345 | 8,981 | 4.579182 | 0.098141 | 0.147751 | 0.090112 | 0.080045 | 0.817016 | 0.790388 | 0.757103 | 0.738269 | 0.707745 | 0.654652 | 0 | 0.030943 | 0.150763 | 8,981 | 238 | 100 | 37.735294 | 0.776583 | 0.015032 | 0 | 0.534031 | 0 | 0 | 0.023527 | 0.020812 | 0 | 0 | 0.019342 | 0 | 0.162304 | 1 | 0.151832 | false | 0 | 0.015707 | 0 | 0.21466 | 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 |
9dd0462026b9f420ab4b4fc998eea9d0ebf6f3fb | 24 | py | Python | app/eSignature/examples/eg030_brands_apply_to_template/__init__.py | olegliubimov/code-examples-python | 7af8c58138a9dd0f3b0be12eff1768ae23e449d3 | [
"MIT"
] | 21 | 2020-05-13T21:08:44.000Z | 2022-02-18T01:32:16.000Z | app/eSignature/examples/eg030_brands_apply_to_template/__init__.py | olegliubimov/code-examples-python | 7af8c58138a9dd0f3b0be12eff1768ae23e449d3 | [
"MIT"
] | 8 | 2020-11-23T09:28:04.000Z | 2022-02-02T12:04:08.000Z | app/eSignature/examples/eg030_brands_apply_to_template/__init__.py | olegliubimov/code-examples-python | 7af8c58138a9dd0f3b0be12eff1768ae23e449d3 | [
"MIT"
] | 26 | 2020-05-12T22:20:01.000Z | 2022-03-09T10:57:27.000Z | from .views import eg030 | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 24 | 1 | 24 | 24 | 0.809524 | 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 |
9df04b83aa89b479d5457f3fa0495941027b3634 | 327 | py | Python | main_project/accounts/views.py | mayc2/MStream | f5ec884a69499ecf90414c36dadb6c17f7fd6b95 | [
"MIT"
] | null | null | null | main_project/accounts/views.py | mayc2/MStream | f5ec884a69499ecf90414c36dadb6c17f7fd6b95 | [
"MIT"
] | null | null | null | main_project/accounts/views.py | mayc2/MStream | f5ec884a69499ecf90414c36dadb6c17f7fd6b95 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Account says hello! <br/> <a href='/accounts/about'>About</a>")
def about(request):
return HttpResponse("This is the about page <br/> <a href='/accounts/'>Account... | 36.333333 | 89 | 0.70948 | 45 | 327 | 5.155556 | 0.6 | 0.086207 | 0.215517 | 0.12931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152905 | 327 | 9 | 90 | 36.333333 | 0.837545 | 0.070336 | 0 | 0 | 0 | 0 | 0.416949 | 0.210169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d17e2cbd1228112ed16488c5e9afb97f26aa8258 | 5,184 | py | Python | test/printing_test.py | raphaelahrens/doto | e1a8db42a29a9844322ecc58576a18d4782bfa1d | [
"BSD-2-Clause"
] | 1 | 2016-05-03T12:38:30.000Z | 2016-05-03T12:38:30.000Z | test/printing_test.py | raphaelahrens/doto | e1a8db42a29a9844322ecc58576a18d4782bfa1d | [
"BSD-2-Clause"
] | null | null | null | test/printing_test.py | raphaelahrens/doto | e1a8db42a29a9844322ecc58576a18d4782bfa1d | [
"BSD-2-Clause"
] | null | null | null |
"""Unitests for the cli.printing module"""
import unittest
import datetime
import doto.cli.printing
import doto.model
class TestStrFromTimeSpan(unittest.TestCase):
"""Unittest for the Printing Module."""
now = doto.model.now_with_tz()
def test_one_sec(self):
now_plus_x = TestStrFromTimeSpan.n... | 41.472 | 103 | 0.64892 | 642 | 5,184 | 5.020249 | 0.127726 | 0.08067 | 0.079119 | 0.062054 | 0.848278 | 0.840832 | 0.829352 | 0.829352 | 0.750543 | 0.680422 | 0 | 0.018114 | 0.222608 | 5,184 | 124 | 104 | 41.806452 | 0.778908 | 0.013503 | 0 | 0.494949 | 0 | 0 | 0.03822 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 1 | 0.161616 | false | 0 | 0.040404 | 0 | 0.232323 | 0.171717 | 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 |
d1aadb325f65ce205d9ff7657485f37c1e69fbaf | 83 | py | Python | src/RobotFrameworkElasticSearchLibrary/__init__.py | chilispa/robotframework-elasticsearch | fa416cc6314a02cf5299ecbeadc2b4dc966464e6 | [
"MIT"
] | 3 | 2020-03-04T14:17:24.000Z | 2020-03-04T15:20:48.000Z | src/RobotFrameworkElasticSearchLibrary/__init__.py | chilispa/robotframework-elasticsearch | fa416cc6314a02cf5299ecbeadc2b4dc966464e6 | [
"MIT"
] | null | null | null | src/RobotFrameworkElasticSearchLibrary/__init__.py | chilispa/robotframework-elasticsearch | fa416cc6314a02cf5299ecbeadc2b4dc966464e6 | [
"MIT"
] | 1 | 2019-12-09T13:55:31.000Z | 2019-12-09T13:55:31.000Z | from .RobotFrameworkElasticSearchLibrary import RobotFrameworkElasticSearchLibrary
| 41.5 | 82 | 0.939759 | 4 | 83 | 19.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 83 | 1 | 83 | 83 | 0.987342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d1b6afc98e667d171147c397be3b22504cf42650 | 31 | py | Python | nertk/__init__.py | johnsmithm/nertk | d57b10b1de10d10425616b70d1a0cf7df4a9fc8b | [
"MIT"
] | 3 | 2021-04-12T08:48:24.000Z | 2021-04-20T09:56:49.000Z | nertk/__init__.py | johnsmithm/nertk | d57b10b1de10d10425616b70d1a0cf7df4a9fc8b | [
"MIT"
] | 1 | 2021-04-19T15:47:14.000Z | 2021-04-20T08:38:54.000Z | nertk/__init__.py | johnsmithm/nertk | d57b10b1de10d10425616b70d1a0cf7df4a9fc8b | [
"MIT"
] | 2 | 2021-08-10T17:16:52.000Z | 2021-08-20T08:28:40.000Z | from .annotator import Entator
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
ae3cf20da26bd04f1d112b3e36acb2784d93e832 | 12,419 | py | Python | CGATPipelines/pipeline_docs/pipeline_proj007/trackers/macs_replicated_shared_intervals.py | cdrakesmith/CGATPipelines | 3c94ae4f9d87d51108255dc405c4b95af7c8b694 | [
"MIT"
] | 49 | 2015-04-13T16:49:25.000Z | 2022-03-29T10:29:14.000Z | CGATPipelines/pipeline_docs/pipeline_proj007/trackers/macs_replicated_shared_intervals.py | cdrakesmith/CGATPipelines | 3c94ae4f9d87d51108255dc405c4b95af7c8b694 | [
"MIT"
] | 252 | 2015-04-08T13:23:34.000Z | 2019-03-18T21:51:29.000Z | CGATPipelines/pipeline_docs/pipeline_proj007/trackers/macs_replicated_shared_intervals.py | cdrakesmith/CGATPipelines | 3c94ae4f9d87d51108255dc405c4b95af7c8b694 | [
"MIT"
] | 22 | 2015-05-21T00:37:52.000Z | 2019-09-25T05:04:27.000Z |
from CGATReport.Tracker import *
from cpgReport import *
##########################################################################
class replicatedSharedIntervals(cpgTracker):
"""Summary stats of intervals called by the peak finder. """
mPattern = "_replicated_shared_intervals$"
def __call__(self, t... | 42.385666 | 135 | 0.523231 | 1,121 | 12,419 | 5.543265 | 0.115076 | 0.037657 | 0.100418 | 0.095591 | 0.769714 | 0.747827 | 0.745253 | 0.740586 | 0.708079 | 0.708079 | 0 | 0.001876 | 0.270151 | 12,419 | 292 | 136 | 42.530822 | 0.683694 | 0.047266 | 0 | 0.656051 | 0 | 0.006369 | 0.60181 | 0.220255 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11465 | false | 0 | 0.012739 | 0 | 0.471338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ae5c5e80f3aba1cea62df25be98f3d557d11419e | 5,776 | py | Python | tests/unit_tests/test_component/marketplace/simulator_tcp_server_cyclic_tm_sim/test_cyclic_tm_tcp_mock.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | tests/unit_tests/test_component/marketplace/simulator_tcp_server_cyclic_tm_sim/test_cyclic_tm_tcp_mock.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | tests/unit_tests/test_component/marketplace/simulator_tcp_server_cyclic_tm_sim/test_cyclic_tm_tcp_mock.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | import socket
import time
from mamba.core.context import Context
from mamba.marketplace.components.simulator.tcp_server_cyclic_tm_sim import CyclicTmTcpMock
class TestClass:
def test_simple_tmtc(self):
self.mock = CyclicTmTcpMock(
Context(),
local_config={'instrument': {
... | 37.025641 | 91 | 0.524758 | 680 | 5,776 | 4.345588 | 0.136765 | 0.027073 | 0.055838 | 0.067005 | 0.87445 | 0.874112 | 0.850761 | 0.850761 | 0.839932 | 0.839932 | 0 | 0.049066 | 0.378982 | 5,776 | 155 | 92 | 37.264516 | 0.774742 | 0.206198 | 0 | 0.619048 | 0 | 0 | 0.162969 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 1 | 0.02381 | false | 0 | 0.047619 | 0 | 0.083333 | 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 |
ae96deee933ff17ccb2a724334de1cff1e6f83e5 | 252 | py | Python | array/monotonic_array.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | array/monotonic_array.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | array/monotonic_array.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | def is_monotonic(nums):
return nums == sorted(nums) or nums == sorted(nums)[::-1]
print(is_monotonic([1, 2, 2, 3]))
print(is_monotonic([6, 5, 4, 4]))
print(is_monotonic([1, 3, 2]))
print(is_monotonic([1, 2, 4, 5]))
print(is_monotonic([1, 1, 1]))
| 25.2 | 61 | 0.630952 | 46 | 252 | 3.326087 | 0.304348 | 0.431373 | 0.522876 | 0.444444 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087156 | 0.134921 | 252 | 9 | 62 | 28 | 0.614679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0.714286 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
889fe8b0ab8c7d14c0b182208802fe3f284a0f65 | 19 | py | Python | __init__.py | dshirle7/euler | ee0ad73a9cc250674aa0cea30e4179aac1effccb | [
"MIT"
] | null | null | null | __init__.py | dshirle7/euler | ee0ad73a9cc250674aa0cea30e4179aac1effccb | [
"MIT"
] | null | null | null | __init__.py | dshirle7/euler | ee0ad73a9cc250674aa0cea30e4179aac1effccb | [
"MIT"
] | null | null | null | from euler import * | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 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 |
ee46a36fef86f32bbc1b293dc0cfb73292b9aad8 | 11,645 | py | Python | shard/src/ext/log_cog.py | architus/aut-bot | 391b98533f0ed9ce235487c27559fe0aad037644 | [
"MIT"
] | 27 | 2019-07-06T07:04:26.000Z | 2022-02-12T12:10:54.000Z | shard/src/ext/log_cog.py | architus/aut-bot | 391b98533f0ed9ce235487c27559fe0aad037644 | [
"MIT"
] | 65 | 2019-07-06T07:12:45.000Z | 2021-10-31T22:45:07.000Z | shard/src/ext/log_cog.py | architus/aut-bot | 391b98533f0ed9ce235487c27559fe0aad037644 | [
"MIT"
] | 17 | 2019-07-06T06:59:04.000Z | 2021-06-26T13:42:06.000Z | from discord.ext import commands
from discord import ChannelType
class LogCog(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.hoarfrost = bot.hoarfrost_gen
@commands.Cog.listener()
async def on_guild_update(self, before, after):
await self.bot.emitter.emit(
... | 31.644022 | 77 | 0.438729 | 990 | 11,645 | 4.984848 | 0.093939 | 0.046809 | 0.092401 | 0.116717 | 0.863019 | 0.863019 | 0.85694 | 0.783384 | 0.729483 | 0.701722 | 0 | 0.005575 | 0.445513 | 11,645 | 367 | 78 | 31.730245 | 0.758711 | 0.02456 | 0 | 0.570988 | 0 | 0 | 0.147835 | 0.032725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006173 | false | 0.030864 | 0.006173 | 0 | 0.015432 | 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 |
ee4ea8af14aa875e203a1d3b7657948f660bd35d | 230 | py | Python | ehr_functions/models/types/_base.py | fdabek1/EHR-Functions | e6bd0b6fa213930358c4a19be31c459ac7430ca9 | [
"MIT"
] | null | null | null | ehr_functions/models/types/_base.py | fdabek1/EHR-Functions | e6bd0b6fa213930358c4a19be31c459ac7430ca9 | [
"MIT"
] | null | null | null | ehr_functions/models/types/_base.py | fdabek1/EHR-Functions | e6bd0b6fa213930358c4a19be31c459ac7430ca9 | [
"MIT"
] | null | null | null | class Model:
def __init__(self, multiple_output=False):
self.multiple_output = multiple_output
def train(self, x, y):
raise NotImplementedError
def predict(self, x):
raise NotImplementedError
| 23 | 46 | 0.678261 | 26 | 230 | 5.730769 | 0.538462 | 0.281879 | 0.241611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247826 | 230 | 9 | 47 | 25.555556 | 0.861272 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.