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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7935b3149d10a7e1e1daf34532cf83227323530e | 192 | py | Python | ThreeDLabeler/__init__.py | 3DLables/3DLabeler | dda599ed7b63952775279fb4b2042df90d74e128 | [
"MIT"
] | 1 | 2020-02-18T17:01:30.000Z | 2020-02-18T17:01:30.000Z | ThreeDLabeler/__init__.py | 3DLables/3DLabeler | dda599ed7b63952775279fb4b2042df90d74e128 | [
"MIT"
] | 12 | 2019-09-20T18:50:43.000Z | 2020-08-07T11:01:36.000Z | ThreeDLabeler/__init__.py | 3DLables/3DLabeler | dda599ed7b63952775279fb4b2042df90d74e128 | [
"MIT"
] | null | null | null | from ThreeDLabeler.preprocessing import package_to_pickle
from ThreeDLabeler.preprocessing import tag_parser
from ThreeDLabeler.images import Image
from ThreeDLabeler.plotting import mri_plot
| 38.4 | 57 | 0.895833 | 24 | 192 | 7 | 0.583333 | 0.404762 | 0.357143 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 192 | 4 | 58 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
f749e42dbbe00bd313f84513e30dce64364c04b0 | 226,490 | py | Python | tests/crawling/test_retrieval_extras.py | MipsaPatel/stopstalk-deployment | bc0332fe120c30385bdbfac426aabe97f783b3a6 | [
"MIT"
] | null | null | null | tests/crawling/test_retrieval_extras.py | MipsaPatel/stopstalk-deployment | bc0332fe120c30385bdbfac426aabe97f783b3a6 | [
"MIT"
] | null | null | null | tests/crawling/test_retrieval_extras.py | MipsaPatel/stopstalk-deployment | bc0332fe120c30385bdbfac426aabe97f783b3a6 | [
"MIT"
] | null | null | null | """
Copyright (c) 2015-2020 Raj Patel(raj454raj@gmail.com), StopStalk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | 612.135135 | 77,973 | 0.671394 | 37,884 | 226,490 | 4.006678 | 0.065727 | 0.070624 | 0.103723 | 0.123171 | 0.809051 | 0.76659 | 0.752044 | 0.730784 | 0.686868 | 0.661069 | 0 | 0.147039 | 0.077646 | 226,490 | 369 | 77,974 | 613.794038 | 0.579558 | 0.004468 | 0 | 0.204778 | 0 | 0.433447 | 0.773313 | 0.009853 | 0 | 0 | 0 | 0 | 0.061433 | 0 | null | null | 0.003413 | 0.020478 | null | null | 0.013652 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
e3c2f844c2087ae92aae657651ec04883f4a7f20 | 1,680 | py | Python | Leetcode/Python/_832.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | 1 | 2021-11-28T15:03:32.000Z | 2021-11-28T15:03:32.000Z | Leetcode/Python/_832.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | Leetcode/Python/_832.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | class Solution:
def flipAndInvertImage(self, image: List[List[int]]) -> List[List[int]]:
rows = len(image)
cols = len(image[0])
flag = False
if cols%2 != 0:
flag = True
for row in range(rows):
if flag:
image[row][cols//2] = 1 ^ image[ro... | 35 | 76 | 0.48631 | 219 | 1,680 | 3.730594 | 0.118721 | 0.176255 | 0.146879 | 0.110159 | 0.948592 | 0.948592 | 0.908201 | 0.906977 | 0.906977 | 0.906977 | 0 | 0.029245 | 0.369048 | 1,680 | 47 | 77 | 35.744681 | 0.741509 | 0 | 0 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e3c838bad514972b2d06743d0769fdd8d16b43c5 | 8,612 | py | Python | tests/concurrency_oracle_test.py | AutomatedProcessImprovement/start-time-estimator | ec9884a03169ab8db4bf29799b2cebcf085aff48 | [
"Apache-2.0"
] | null | null | null | tests/concurrency_oracle_test.py | AutomatedProcessImprovement/start-time-estimator | ec9884a03169ab8db4bf29799b2cebcf085aff48 | [
"Apache-2.0"
] | null | null | null | tests/concurrency_oracle_test.py | AutomatedProcessImprovement/start-time-estimator | ec9884a03169ab8db4bf29799b2cebcf085aff48 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from estimate_start_times.concurrency_oracle import AlphaConcurrencyOracle, HeuristicsConcurrencyOracle, \
NoConcurrencyOracle, DeactivatedConcurrencyOracle
from estimate_start_times.config import Configuration, HeuristicsThresholds
from estimate_start_times.utils import read_csv_log
... | 57.413333 | 135 | 0.701115 | 1,164 | 8,612 | 4.975945 | 0.110825 | 0.129144 | 0.11913 | 0.082873 | 0.856526 | 0.853936 | 0.852728 | 0.812155 | 0.792818 | 0.785394 | 0 | 0.013856 | 0.178704 | 8,612 | 149 | 136 | 57.798658 | 0.805033 | 0.245239 | 0 | 0.711538 | 0 | 0 | 0.065409 | 0.036957 | 0 | 0 | 0 | 0 | 0.288462 | 1 | 0.057692 | false | 0 | 0.038462 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e3cc74cc84188443c3bd83aed436a62986ff8518 | 133 | py | Python | vedasal/criteria/builder.py | Kuro96/vedasal | 3c5588bf12059af5bd7bc779fd5f9dc0b2901cb2 | [
"Apache-2.0"
] | 2 | 2020-11-06T06:39:04.000Z | 2020-11-11T03:39:22.000Z | vedasal/criteria/builder.py | Kuro96/vedasal | 3c5588bf12059af5bd7bc779fd5f9dc0b2901cb2 | [
"Apache-2.0"
] | null | null | null | vedasal/criteria/builder.py | Kuro96/vedasal | 3c5588bf12059af5bd7bc779fd5f9dc0b2901cb2 | [
"Apache-2.0"
] | null | null | null | from vedacore.misc import registry, build_from_cfg
def build_criterion(cfg):
return build_from_cfg(cfg, registry, 'criterion')
| 22.166667 | 53 | 0.789474 | 19 | 133 | 5.263158 | 0.526316 | 0.18 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 133 | 5 | 54 | 26.6 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.067669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 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 | 7 |
584c5ab652482b808aa02756a227b4da76b05849 | 5,556 | py | Python | ptsemseg/models/__init__.py | PhyllisH/MultiAgentPerception | f73b8131cd4314c42f09d3502bd63d434a4ec219 | [
"MIT"
] | 30 | 2020-06-16T00:19:19.000Z | 2022-03-18T19:37:48.000Z | ptsemseg/models/__init__.py | hyzcn/MultiAgentPerception | f73b8131cd4314c42f09d3502bd63d434a4ec219 | [
"MIT"
] | 2 | 2021-11-08T01:46:18.000Z | 2021-11-18T06:45:06.000Z | ptsemseg/models/__init__.py | hyzcn/MultiAgentPerception | f73b8131cd4314c42f09d3502bd63d434a4ec219 | [
"MIT"
] | 8 | 2020-07-09T03:08:45.000Z | 2022-03-24T16:07:29.000Z | import copy
import torchvision.models as models
from ptsemseg.models.agent import Single_agent, All_agents, LearnWho2Com, LearnWhen2Com, MIMOcom,MIMO_All_agents, MIMOcomWho
def get_model(model_dict, n_classes, version=None):
name = model_dict["model"]["arch"]
model = _get_model_instance(name)
in_channe... | 54.470588 | 124 | 0.567495 | 588 | 5,556 | 4.979592 | 0.107143 | 0.184426 | 0.262978 | 0.120219 | 0.826161 | 0.814208 | 0.814208 | 0.814208 | 0.814208 | 0.814208 | 0 | 0.002313 | 0.299676 | 5,556 | 101 | 125 | 55.009901 | 0.750193 | 0 | 0 | 0.626374 | 0 | 0 | 0.195104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0 | 0.032967 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
5852ed6dde129e90e4c080dd55f9b986f7a66de9 | 12,608 | py | Python | timepiece/crm/tests/test_relationships.py | sha-red/django-timepiece | 52515dec027664890efbc535429e1ba1ee152f40 | [
"MIT"
] | 244 | 2015-01-08T11:06:52.000Z | 2022-03-24T14:59:26.000Z | timepiece/crm/tests/test_relationships.py | skampala1/django-timepiece | 52515dec027664890efbc535429e1ba1ee152f40 | [
"MIT"
] | 80 | 2015-01-23T13:45:02.000Z | 2021-11-25T09:17:05.000Z | timepiece/crm/tests/test_relationships.py | anfema/django-timepiece | c4594ae053bdb14c1dd7f17f32c6ef1bf0f3b453 | [
"MIT"
] | 109 | 2015-01-24T06:52:56.000Z | 2022-03-29T09:35:06.000Z | from django.contrib.auth.models import Permission
from django.core.urlresolvers import reverse
from django.test import TestCase
from timepiece.tests import factories
from timepiece.tests.base import ViewTestMixin
from timepiece.crm.models import ProjectRelationship
class RelationshipTestBase(TestCase):
def setU... | 41.337705 | 94 | 0.669575 | 1,440 | 12,608 | 5.711806 | 0.095833 | 0.105046 | 0.048146 | 0.069301 | 0.808389 | 0.793921 | 0.778967 | 0.772036 | 0.736657 | 0.715137 | 0 | 0.016 | 0.216767 | 12,608 | 304 | 95 | 41.473684 | 0.816911 | 0.103823 | 0 | 0.742081 | 0 | 0 | 0.057933 | 0.011103 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.162896 | false | 0 | 0.027149 | 0.031674 | 0.280543 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
544bad771e884b603b1c23799fb3c65949424aa0 | 14,862 | py | Python | nemo/collections/nlp/modules/common/megatron/retrieval_transformer.py | entn-at/NeMo | 5ed583ce5a26667bd154e8fb13f324274476d261 | [
"Apache-2.0"
] | null | null | null | nemo/collections/nlp/modules/common/megatron/retrieval_transformer.py | entn-at/NeMo | 5ed583ce5a26667bd154e8fb13f324274476d261 | [
"Apache-2.0"
] | null | null | null | nemo/collections/nlp/modules/common/megatron/retrieval_transformer.py | entn-at/NeMo | 5ed583ce5a26667bd154e8fb13f324274476d261 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 38.502591 | 151 | 0.671646 | 1,890 | 14,862 | 4.856085 | 0.125926 | 0.050556 | 0.026367 | 0.018414 | 0.803443 | 0.786664 | 0.77032 | 0.750817 | 0.744062 | 0.714317 | 0 | 0.006348 | 0.258041 | 14,862 | 385 | 152 | 38.602597 | 0.825973 | 0.113646 | 0 | 0.761246 | 0 | 0 | 0.035905 | 0 | 0 | 0 | 0 | 0 | 0.013841 | 1 | 0.034602 | false | 0.00692 | 0.024221 | 0 | 0.079585 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
545c827be357dc5f796bb22fa5998ef872976680 | 39 | py | Python | oknlp/auto_config/__init__.py | PLNUHT/ink | 3542bdfbd7281118c62e0b1ab965dc7ddf279a6d | [
"MIT"
] | 6 | 2021-09-01T02:47:48.000Z | 2021-12-21T18:40:05.000Z | oknlp/auto_config/__init__.py | PLNUHT/ink | 3542bdfbd7281118c62e0b1ab965dc7ddf279a6d | [
"MIT"
] | 1 | 2021-08-10T06:06:23.000Z | 2021-08-10T06:06:23.000Z | oknlp/auto_config/__init__.py | thunlp/oknlp | 3542bdfbd7281118c62e0b1ab965dc7ddf279a6d | [
"MIT"
] | 2 | 2020-08-10T15:13:41.000Z | 2021-02-01T03:01:37.000Z | from .get_provider import get_provider
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 0.666667 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
54a28c087e61e13ad37b8a631a5cf37dbe90252e | 206 | py | Python | auglichem/crystal/models/__init__.py | BaratiLab/AugLiChem | 37258b5ce2c653436b3e819b58d2659052d6edcc | [
"MIT"
] | 16 | 2021-12-01T06:32:41.000Z | 2022-03-26T18:11:49.000Z | auglichem/crystal/models/__init__.py | BaratiLab/AugLiChem | 37258b5ce2c653436b3e819b58d2659052d6edcc | [
"MIT"
] | 1 | 2022-02-14T20:59:45.000Z | 2022-02-14T20:59:45.000Z | auglichem/crystal/models/__init__.py | BaratiLab/AugLiChem | 37258b5ce2c653436b3e819b58d2659052d6edcc | [
"MIT"
] | null | null | null | from auglichem.crystal.models.cgcnn import CrystalGraphConvNet
from auglichem.crystal.models.schnet import SchNet
from auglichem.crystal.models.gin import GINet
from auglichem.crystal.models.gcn import GCN
| 41.2 | 62 | 0.864078 | 28 | 206 | 6.357143 | 0.392857 | 0.292135 | 0.449438 | 0.58427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 206 | 4 | 63 | 51.5 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
54c3306608c1bf6b188efefbbd2180c23520b7cf | 618 | py | Python | training/utils/data_logs.py | ristea/arim | 1ca94f9b83c38e3c115c16c5d7b62e626303f7c8 | [
"MIT"
] | 10 | 2020-08-06T08:03:08.000Z | 2021-11-15T21:37:17.000Z | training/utils/data_logs.py | ristea/arim | 1ca94f9b83c38e3c115c16c5d7b62e626303f7c8 | [
"MIT"
] | null | null | null | training/utils/data_logs.py | ristea/arim | 1ca94f9b83c38e3c115c16c5d7b62e626303f7c8 | [
"MIT"
] | 2 | 2020-03-02T08:14:25.000Z | 2020-09-25T14:34:50.000Z |
def save_logs_train(path_to_history, details):
path_to_history = path_to_history + '/__hystoryTrain__.txt'
history = open(path_to_history, "a")
history.write(details + '\n')
history.close()
def save_logs_eval(path_to_history, details):
path_to_history = path_to_history + '/__hystoryEval__.txt'
... | 30.9 | 63 | 0.711974 | 85 | 618 | 4.670588 | 0.223529 | 0.18136 | 0.392947 | 0.151134 | 0.836272 | 0.836272 | 0.836272 | 0.836272 | 0.836272 | 0.836272 | 0 | 0 | 0.161812 | 618 | 20 | 64 | 30.9 | 0.766409 | 0 | 0 | 0.6 | 0 | 0 | 0.11165 | 0.033981 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
b708e3a27e50fa7e1ad35579b24f1f47554218ce | 109 | py | Python | doc/sphinx/source/user_manual/__init__.py | tneele/mCRL2 | 8f2d730d650ffec15130d6419f69c50f81e5125c | [
"BSL-1.0"
] | null | null | null | doc/sphinx/source/user_manual/__init__.py | tneele/mCRL2 | 8f2d730d650ffec15130d6419f69c50f81e5125c | [
"BSL-1.0"
] | null | null | null | doc/sphinx/source/user_manual/__init__.py | tneele/mCRL2 | 8f2d730d650ffec15130d6419f69c50f81e5125c | [
"BSL-1.0"
] | null | null | null | import tools
def generate_rst(temppath, outpath, binpath):
tools.generate_rst(temppath, outpath, binpath)
| 21.8 | 48 | 0.798165 | 14 | 109 | 6.071429 | 0.571429 | 0.258824 | 0.447059 | 0.611765 | 0.776471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 4 | 49 | 27.25 | 0.876289 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
b73d34ed064dd90a468d2b9f8730147470d2aae7 | 115 | py | Python | fcis/datasets/__init__.py | knorth55/chainer-fcis | a3dcebf5c31395dbd4b596509707bc9fe91a06e0 | [
"MIT"
] | 45 | 2017-10-06T12:24:17.000Z | 2021-11-10T05:28:31.000Z | fcis/datasets/__init__.py | knorth55/chainer-fcis | a3dcebf5c31395dbd4b596509707bc9fe91a06e0 | [
"MIT"
] | 14 | 2017-10-13T11:03:54.000Z | 2018-12-12T04:48:35.000Z | fcis/datasets/__init__.py | knorth55/chainer-fcis | a3dcebf5c31395dbd4b596509707bc9fe91a06e0 | [
"MIT"
] | 10 | 2017-10-13T09:24:15.000Z | 2020-07-12T09:05:47.000Z | from fcis.datasets import coco # NOQA
from fcis.datasets import sbd # NOQA
from fcis.datasets import voc # NOQA
| 28.75 | 38 | 0.765217 | 18 | 115 | 4.888889 | 0.444444 | 0.272727 | 0.545455 | 0.75 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 115 | 3 | 39 | 38.333333 | 0.93617 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3f7a7627381f09b8ba1d17fdc004cbb8f53d492b | 128 | py | Python | galry/visuals/fontmaps/__init__.py | fiath/test | b50898dafa90e93da48f573e0b3feb1bb6acd8de | [
"MIT",
"BSD-3-Clause"
] | 55 | 2015-01-12T06:08:36.000Z | 2021-08-13T17:24:50.000Z | galry/visuals/fontmaps/__init__.py | fiath/test | b50898dafa90e93da48f573e0b3feb1bb6acd8de | [
"MIT",
"BSD-3-Clause"
] | 2 | 2017-03-08T12:04:22.000Z | 2017-07-27T07:13:00.000Z | galry/visuals/fontmaps/__init__.py | fiath/test | b50898dafa90e93da48f573e0b3feb1bb6acd8de | [
"MIT",
"BSD-3-Clause"
] | 10 | 2015-01-01T10:51:38.000Z | 2021-12-10T02:53:45.000Z | from tools import load_png, load_fnt, get_text_map, load_font
__all__ = ["load_png", "load_fnt", "get_text_map", "load_font"]
| 25.6 | 63 | 0.75 | 22 | 128 | 3.727273 | 0.5 | 0.170732 | 0.268293 | 0.341463 | 0.780488 | 0.780488 | 0.780488 | 0.780488 | 0.780488 | 0 | 0 | 0 | 0.117188 | 128 | 4 | 64 | 32 | 0.725664 | 0 | 0 | 0 | 0 | 0 | 0.291339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
3fadf81e4dc2b84aac8b0ba70e3f718453dbf85e | 14,525 | py | Python | test/gspace/test_restrict_isometry.py | QUVA-Lab/escnn | 59ed6b96f61f8616f87b3f25aa2f8abdb6f1a882 | [
"BSD-3-Clause"
] | 4 | 2022-03-16T22:51:39.000Z | 2022-03-18T18:45:49.000Z | test/gspace/test_restrict_isometry.py | QUVA-Lab/escnn | 59ed6b96f61f8616f87b3f25aa2f8abdb6f1a882 | [
"BSD-3-Clause"
] | null | null | null | test/gspace/test_restrict_isometry.py | QUVA-Lab/escnn | 59ed6b96f61f8616f87b3f25aa2f8abdb6f1a882 | [
"BSD-3-Clause"
] | null | null | null | import unittest
from unittest import TestCase
from escnn.gspaces import *
from escnn.group import *
import numpy as np
class TestRestrictGSpace(TestCase):
####################################################################################################################
### ####... | 35.687961 | 120 | 0.52716 | 1,393 | 14,525 | 5.32448 | 0.099785 | 0.027504 | 0.188756 | 0.098153 | 0.867467 | 0.835243 | 0.816637 | 0.798975 | 0.767157 | 0.746124 | 0 | 0.024798 | 0.292048 | 14,525 | 406 | 121 | 35.775862 | 0.696489 | 0.033666 | 0 | 0.605932 | 0 | 0 | 0.008142 | 0 | 0 | 0 | 0 | 0 | 0.262712 | 1 | 0.097458 | false | 0 | 0.021186 | 0 | 0.122881 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
3fecc810968be5cc1aec13f51597818e52cab0fc | 8,315 | py | Python | guillotina/component/tests/test_globalregistry.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 173 | 2017-03-10T18:26:12.000Z | 2022-03-03T06:48:56.000Z | guillotina/component/tests/test_globalregistry.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 921 | 2017-03-08T14:04:43.000Z | 2022-03-30T10:28:56.000Z | guillotina/component/tests/test_globalregistry.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 60 | 2017-03-16T19:59:44.000Z | 2022-03-03T06:48:59.000Z | ##############################################################################
#
# Copyright (c) 2012 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOF... | 30.126812 | 84 | 0.638244 | 886 | 8,315 | 5.826185 | 0.141084 | 0.059667 | 0.098024 | 0.066835 | 0.810151 | 0.766757 | 0.750678 | 0.735955 | 0.720845 | 0.688687 | 0 | 0.003103 | 0.26362 | 8,315 | 275 | 85 | 30.236364 | 0.839948 | 0.056284 | 0 | 0.723958 | 0 | 0 | 0.005731 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.114583 | false | 0.098958 | 0.197917 | 0.005208 | 0.489583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
3ff95e8064490e102d1489543906b829bfd408c2 | 152,113 | py | Python | src/openprocurement/tender/limited/tests/award_blanks.py | pontostroy/api | 5afdd3a62a8e562cf77e2d963d88f1a26613d16a | [
"Apache-2.0"
] | 3 | 2020-03-13T06:44:23.000Z | 2020-11-05T18:25:29.000Z | src/openprocurement/tender/limited/tests/award_blanks.py | pontostroy/api | 5afdd3a62a8e562cf77e2d963d88f1a26613d16a | [
"Apache-2.0"
] | 2 | 2021-03-25T23:29:58.000Z | 2022-03-21T22:18:37.000Z | src/openprocurement/tender/limited/tests/award_blanks.py | pontostroy/api | 5afdd3a62a8e562cf77e2d963d88f1a26613d16a | [
"Apache-2.0"
] | 3 | 2020-10-16T16:25:14.000Z | 2021-05-22T12:26:20.000Z | # -*- coding: utf-8 -*-
from copy import deepcopy
from datetime import timedelta
import dateutil
from mock import patch
from openprocurement.api.constants import RELEASE_2020_04_19
from openprocurement.api.utils import get_now
from openprocurement.tender.core.tests.base import change_auth
from openprocurement.tender... | 41.256577 | 127 | 0.635501 | 17,177 | 152,113 | 5.498748 | 0.016534 | 0.14563 | 0.210149 | 0.101628 | 0.967878 | 0.961907 | 0.959133 | 0.953225 | 0.951033 | 0.947582 | 0 | 0.014994 | 0.191483 | 152,113 | 3,686 | 128 | 41.26777 | 0.752996 | 0.026217 | 0 | 0.778359 | 0 | 0 | 0.255039 | 0.084202 | 0 | 0 | 0 | 0 | 0.31154 | 1 | 0.015038 | false | 0.000327 | 0.002942 | 0 | 0.01798 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b74afcbcefbbafe3008c06a460c27227a934c48b | 116 | py | Python | teitoku/source/__init__.py | yukinotenshi/teitoku | adb54fb7f709e0bac0da6d6f6f8aa00702c2f9c5 | [
"MIT"
] | null | null | null | teitoku/source/__init__.py | yukinotenshi/teitoku | adb54fb7f709e0bac0da6d6f6f8aa00702c2f9c5 | [
"MIT"
] | null | null | null | teitoku/source/__init__.py | yukinotenshi/teitoku | adb54fb7f709e0bac0da6d6f6f8aa00702c2f9c5 | [
"MIT"
] | 1 | 2020-01-25T10:53:44.000Z | 2020-01-25T10:53:44.000Z | from teitoku.source.base_source import Source
from teitoku.source.sources import SourceUser, SourceGroup, SourceRoom | 58 | 70 | 0.87069 | 15 | 116 | 6.666667 | 0.6 | 0.22 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 116 | 2 | 70 | 58 | 0.934579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b7e0ae0155853226b0a038de6ab448f563f6b448 | 39,164 | py | Python | sos_trades_core/tests/l0_test_39_valueblock_builder.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | 8 | 2022-01-10T14:44:28.000Z | 2022-03-31T08:57:14.000Z | sos_trades_core/tests/l0_test_39_valueblock_builder.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | null | null | null | sos_trades_core/tests/l0_test_39_valueblock_builder.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | 1 | 2022-02-21T14:51:45.000Z | 2022-02-21T14:51:45.000Z | '''
Copyright 2022 Airbus SAS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 45.171857 | 243 | 0.589623 | 4,789 | 39,164 | 4.480058 | 0.05805 | 0.058728 | 0.084829 | 0.092985 | 0.879748 | 0.862363 | 0.843113 | 0.829038 | 0.807877 | 0.795572 | 0 | 0.033388 | 0.289552 | 39,164 | 866 | 244 | 45.224018 | 0.737708 | 0.075784 | 0 | 0.728414 | 0 | 0 | 0.248021 | 0.126482 | 0 | 0 | 0 | 0 | 0.054945 | 1 | 0.010989 | false | 0 | 0.00471 | 0 | 0.017268 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4d1d607f62b4ca17c0baef471a575f5127ece0ea | 3,543 | py | Python | ros2_batch_job/vendor/osrf_pycommon/tests/unit/test_cli_utils/test_verb_pattern.py | taewoong0627/ci | 12766009d19fe668aa1e59a6069a9b446ed77fba | [
"Apache-2.0"
] | 31 | 2016-09-28T16:55:15.000Z | 2022-03-06T15:24:48.000Z | ros2_batch_job/vendor/osrf_pycommon/tests/unit/test_cli_utils/test_verb_pattern.py | taewoong0627/ci | 12766009d19fe668aa1e59a6069a9b446ed77fba | [
"Apache-2.0"
] | 473 | 2016-10-17T16:08:17.000Z | 2022-03-30T17:56:40.000Z | ros2_batch_job/vendor/osrf_pycommon/tests/unit/test_cli_utils/test_verb_pattern.py | taewoong0627/ci | 12766009d19fe668aa1e59a6069a9b446ed77fba | [
"Apache-2.0"
] | 34 | 2017-07-11T23:25:11.000Z | 2022-03-06T08:39:23.000Z | import unittest
from osrf_pycommon.cli_utils import verb_pattern
called = None
class TestCliUtilsVerbPattern(unittest.TestCase):
def test_call_prepare_arguments(self):
global called
cpa = verb_pattern.call_prepare_arguments
# Try with basic, one parameter
called = False
... | 28.804878 | 78 | 0.545301 | 365 | 3,543 | 5.136986 | 0.175342 | 0.119467 | 0.128 | 0.0736 | 0.8176 | 0.800533 | 0.800533 | 0.729067 | 0.707733 | 0.707733 | 0 | 0.006162 | 0.358736 | 3,543 | 122 | 79 | 29.040984 | 0.819102 | 0.04149 | 0 | 0.730337 | 0 | 0 | 0.071112 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 1 | 0.089888 | false | 0.067416 | 0.022472 | 0 | 0.235955 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4d3ea16518fe69eed5b8f4499a73866538078ace | 8,714 | py | Python | proposals/migrations/0001_initial.py | jefftriplett/prorality | f7f89dab8eb954aa55b29e5d55c671f02fba91dd | [
"BSD-3-Clause"
] | 9 | 2017-11-17T20:51:11.000Z | 2021-06-03T16:28:57.000Z | proposals/migrations/0001_initial.py | jefftriplett/prorality | f7f89dab8eb954aa55b29e5d55c671f02fba91dd | [
"BSD-3-Clause"
] | 3 | 2020-02-11T21:42:25.000Z | 2021-06-01T21:34:34.000Z | proposals/migrations/0001_initial.py | jefftriplett/prorality | f7f89dab8eb954aa55b29e5d55c671f02fba91dd | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2018-02-28 02:12
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import markupfield.fields
import uuid
class Migration(migrations.Migration):
initial = True
... | 70.274194 | 340 | 0.620955 | 963 | 8,714 | 5.445483 | 0.160955 | 0.042715 | 0.045385 | 0.07132 | 0.867658 | 0.867658 | 0.844584 | 0.834478 | 0.834096 | 0.834096 | 0 | 0.009521 | 0.216548 | 8,714 | 123 | 341 | 70.845528 | 0.758606 | 0.007804 | 0 | 0.66087 | 1 | 0.017391 | 0.194724 | 0.013537 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052174 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4d4e6322f1a39cb7d58b5a2795028d0f59fb1d93 | 8,649 | py | Python | data-mining.py | Khaaao/football-analytics | 415ca40cf14a64c5f91096f34a794f66e53048ac | [
"MIT"
] | null | null | null | data-mining.py | Khaaao/football-analytics | 415ca40cf14a64c5f91096f34a794f66e53048ac | [
"MIT"
] | 5 | 2020-03-24T17:28:27.000Z | 2021-12-13T20:10:47.000Z | data-mining.py | Khaaao/football-analytics | 415ca40cf14a64c5f91096f34a794f66e53048ac | [
"MIT"
] | null | null | null | from dotenv import load_dotenv
import os
import json
import csv
import requests
import argparse
# Load env params
load_dotenv()
# print(os.getenv("X-RAPIDAPI-KEY"))
# print(os.getenv("THROTTLING"))
THROTTLING = 40
curr_throttling = 0
headers = {'Content-Type': 'application/json', 'x-rapidapi-key': os.... | 86.49 | 1,011 | 0.544456 | 873 | 8,649 | 5.213058 | 0.158076 | 0.055372 | 0.043946 | 0.048341 | 0.853878 | 0.841354 | 0.829488 | 0.829488 | 0.829488 | 0.829488 | 0 | 0.004472 | 0.301885 | 8,649 | 99 | 1,012 | 87.363636 | 0.749255 | 0.061163 | 0 | 0.78481 | 0 | 0.025316 | 0.29955 | 0.081582 | 0 | 0 | 0 | 0.010101 | 0 | 1 | 0.012658 | false | 0.075949 | 0.075949 | 0 | 0.088608 | 0.088608 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
4ddf37abf9287f2159800e9e33b3b942c226622d | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_1/_pkg0_1_1_0/_pkg0_1_1_0_0/_mod0_1_1_0_0_3.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_1/_pkg0_1_1_0/_pkg0_1_1_0_0/_mod0_1_1_0_0_3.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_1/_pkg0_1_1_0/_pkg0_1_1_0_0/_mod0_1_1_0_0_3.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name0_1_1_0_0_3_0 = None
name0_1_1_0_0_3_1 = None
name0_1_1_0_0_3_2 = None
name0_1_1_0_0_3_3 = None
name0_1_1_0_0_3_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.4 | 0.466667 | 0.533333 | 0.88 | 0.88 | 0.746667 | 0 | 0 | 0 | 0 | 0.318182 | 0.140625 | 128 | 9 | 25 | 14.222222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
129edbbc76d04f2a48353c4221d5efe7cd4b9ae9 | 9,660 | py | Python | tests/test_observable/test_partition.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-11-16T09:07:13.000Z | 2018-11-16T09:07:13.000Z | tests/test_observable/test_partition.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_partition.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-05-08T08:23:08.000Z | 2020-05-08T08:23:08.000Z | import unittest
from rx.testing import TestScheduler, ReactiveTest
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscribed = ReactiveTest.subscribed
disposed = ReactiveTest.disposed
created = ReactiveTest.created
def is_e... | 29.18429 | 69 | 0.598965 | 914 | 9,660 | 6.182713 | 0.078775 | 0.044594 | 0.092904 | 0.13095 | 0.898071 | 0.836312 | 0.836312 | 0.818085 | 0.807468 | 0.807468 | 0 | 0.063194 | 0.300518 | 9,660 | 330 | 70 | 29.272727 | 0.773124 | 0 | 0 | 0.820408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.118367 | false | 0 | 0.008163 | 0.004082 | 0.134694 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4280933515c69e4be810414bc665b3c512c85944 | 4,734 | py | Python | hw12/code/newton.py | nanako-seven/CS2601 | 8301ea1524a8ae9c6a219687d56c2542beb93736 | [
"BSD-3-Clause"
] | null | null | null | hw12/code/newton.py | nanako-seven/CS2601 | 8301ea1524a8ae9c6a219687d56c2542beb93736 | [
"BSD-3-Clause"
] | null | null | null | hw12/code/newton.py | nanako-seven/CS2601 | 8301ea1524a8ae9c6a219687d56c2542beb93736 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
# def newton(fp, fpp, x0, tol=1e-5, maxiter=100000):
# """
# fp: function that takes an input x and returns the gradient of f at x
# fpp: function that takes an input x and returns the Hessian of f at x
# x0: initial point
# tol: toleracne parameter in the stopping crieterion. Newton's method s... | 36.415385 | 107 | 0.634559 | 797 | 4,734 | 3.728984 | 0.156838 | 0.008748 | 0.062921 | 0.070323 | 0.903432 | 0.869785 | 0.869785 | 0.853297 | 0.847241 | 0.815949 | 0 | 0.022656 | 0.263414 | 4,734 | 129 | 108 | 36.697674 | 0.829653 | 0.680608 | 0 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.030303 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
428bdb8fbdb9acac08ba4add956b6eb9e258cac5 | 20,923 | py | Python | jedisim/jedigridconfiggenerator.py | rbliu/Useful_Scripts | 677a3cd079aab1df3fef87d2b6c6b1763b5d6d9e | [
"BSD-3-Clause"
] | null | null | null | jedisim/jedigridconfiggenerator.py | rbliu/Useful_Scripts | 677a3cd079aab1df3fef87d2b6c6b1763b5d6d9e | [
"BSD-3-Clause"
] | null | null | null | jedisim/jedigridconfiggenerator.py | rbliu/Useful_Scripts | 677a3cd079aab1df3fef87d2b6c6b1763b5d6d9e | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env python
#last modified 8 July 2013
import os, sys, subprocess, math, re
#parse command line inputs
if(len(sys.argv) != 1):
print("Usage: jedimaster config")
sys.exit(1)
set = "production_1_grids/"
#masses = [2,5,10,20]
#concentrations = [4.0]
mass = 10
con = 4
#actual shears = [0.4, 0.35, 0.3... | 50.055024 | 82 | 0.837069 | 2,869 | 20,923 | 5.845242 | 0.17602 | 0.311986 | 0.38879 | 0.323614 | 0.742516 | 0.731425 | 0.267263 | 0.005963 | 0.005963 | 0.005963 | 0 | 0.101913 | 0.040482 | 20,923 | 417 | 83 | 50.17506 | 0.733413 | 0.009511 | 0 | 0.004975 | 0 | 0.002488 | 0.962831 | 0.862377 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.002488 | null | null | 0.004975 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c44541c05cbf1b8632712583d8741d064ac2dcec | 2,334 | py | Python | tests/itemmining_tests.py | wangli320/pymining | 41cb6650d6866aee5d373989921ea33730fb8562 | [
"BSD-3-Clause"
] | 394 | 2015-01-16T11:45:22.000Z | 2022-03-17T06:55:28.000Z | tests/itemmining_tests.py | SunilDSK/pymining | 41cb6650d6866aee5d373989921ea33730fb8562 | [
"BSD-3-Clause"
] | 7 | 2015-03-31T07:02:53.000Z | 2017-03-07T05:05:36.000Z | tests/itemmining_tests.py | SunilDSK/pymining | 41cb6650d6866aee5d373989921ea33730fb8562 | [
"BSD-3-Clause"
] | 114 | 2015-02-07T10:55:10.000Z | 2022-02-26T16:40:03.000Z | import unittest
from pymining import itemmining, perftesting
class TestItemSetAlgo(unittest.TestCase):
def test_relim(self):
ts1 = perftesting.get_default_transactions()
relim_input = itemmining.get_relim_input(ts1)
report = itemmining.relim(relim_input, 2)
self.assertEqual(17, le... | 40.241379 | 64 | 0.664096 | 279 | 2,334 | 5.354839 | 0.146953 | 0.160643 | 0.11245 | 0.176707 | 0.919009 | 0.919009 | 0.782463 | 0.782463 | 0.718206 | 0.718206 | 0 | 0.025988 | 0.208655 | 2,334 | 57 | 65 | 40.947368 | 0.782891 | 0 | 0 | 0.765957 | 0 | 0 | 0.006855 | 0 | 0 | 0 | 0 | 0 | 0.340426 | 1 | 0.085106 | false | 0 | 0.042553 | 0 | 0.148936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c455acd17425c47f3ca19f68959f574c91432415 | 15,430 | py | Python | src/share_rest_api/tests/test_share.py | flecoqui/sharing-data-rest-api | a468861c941099f3a1546f764e76194f6a9ff066 | [
"MIT"
] | null | null | null | src/share_rest_api/tests/test_share.py | flecoqui/sharing-data-rest-api | a468861c941099f3a1546f764e76194f6a9ff066 | [
"MIT"
] | null | null | null | src/share_rest_api/tests/test_share.py | flecoqui/sharing-data-rest-api | a468861c941099f3a1546f764e76194f6a9ff066 | [
"MIT"
] | null | null | null | from datetime import datetime
from unittest.mock import patch
import pytest
from fastapi.testclient import TestClient
from shared_code.models import (
ConsumeResponse,
Dataset,
Error,
Node,
ShareNode,
ShareRequest,
ShareResponse,
StatusDetails,
)
from .conftest import MinimalResponse
... | 36.477541 | 88 | 0.629812 | 1,572 | 15,430 | 5.881679 | 0.071247 | 0.038936 | 0.07852 | 0.031149 | 0.900714 | 0.89801 | 0.894008 | 0.88514 | 0.879624 | 0.879624 | 0 | 0.059707 | 0.270577 | 15,430 | 422 | 89 | 36.563981 | 0.761795 | 0 | 0 | 0.70437 | 0 | 0 | 0.224563 | 0.135774 | 0 | 0 | 0 | 0 | 0.023136 | 1 | 0.023136 | false | 0 | 0.015424 | 0 | 0.03856 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c474b5c468def885731a05bf7708bae481d82efa | 31 | py | Python | treex/regularizers/__init__.py | BioGeek/treex | fcbee17fcbc069ff5d33554013ce00e49405f872 | [
"MIT"
] | null | null | null | treex/regularizers/__init__.py | BioGeek/treex | fcbee17fcbc069ff5d33554013ce00e49405f872 | [
"MIT"
] | null | null | null | treex/regularizers/__init__.py | BioGeek/treex | fcbee17fcbc069ff5d33554013ce00e49405f872 | [
"MIT"
] | null | null | null | from .l1l2 import L1, L1L2, L2
| 15.5 | 30 | 0.709677 | 6 | 31 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0.193548 | 31 | 1 | 31 | 31 | 0.64 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
67199dbda39f83db141a209b0d41df14ff6f15d7 | 195 | py | Python | scrapy_poi/middlewares.py | ygo-prometheus/bilibili_danmaku_sensor | 7b732a3f581023c17e942f40f1181075736dbf68 | [
"MIT"
] | null | null | null | scrapy_poi/middlewares.py | ygo-prometheus/bilibili_danmaku_sensor | 7b732a3f581023c17e942f40f1181075736dbf68 | [
"MIT"
] | null | null | null | scrapy_poi/middlewares.py | ygo-prometheus/bilibili_danmaku_sensor | 7b732a3f581023c17e942f40f1181075736dbf68 | [
"MIT"
] | null | null | null | from user_agent import generate_user_agent
class RandomUserAgentMiddleware(object):
def process_request(self, request, spider):
request.headers["User-Agent"] = generate_user_agent() | 32.5 | 61 | 0.779487 | 23 | 195 | 6.347826 | 0.608696 | 0.246575 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 195 | 6 | 61 | 32.5 | 0.863905 | 0 | 0 | 0 | 1 | 0 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
67288b8610ba729caaf44fa94b3ef05f8dc767a3 | 38,329 | py | Python | tvdb_api/api/users_api.py | h3llrais3r/tvdbapi-v2-client | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | 2 | 2021-01-24T07:45:22.000Z | 2021-11-15T11:29:25.000Z | tvdb_api/api/users_api.py | h3llrais3r/tvdb_api_v2 | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | null | null | null | tvdb_api/api/users_api.py | h3llrais3r/tvdb_api_v2 | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | 1 | 2020-05-07T10:16:15.000Z | 2020-05-07T10:16:15.000Z | # coding: utf-8
"""
TheTVDB API v2
API v3 targets v2 functionality with a few minor additions. The API is accessible via https://api.thetvdb.com and provides the following REST endpoints in JSON format. How to use this API documentation ---------------- You may browse the API routes without authentication... | 41.935449 | 2,040 | 0.623366 | 4,643 | 38,329 | 4.879819 | 0.063106 | 0.050139 | 0.022774 | 0.022863 | 0.909697 | 0.908505 | 0.904136 | 0.898045 | 0.896721 | 0.892395 | 0 | 0.016199 | 0.288111 | 38,329 | 913 | 2,041 | 41.98138 | 0.814154 | 0.374234 | 0 | 0.813142 | 0 | 0 | 0.184006 | 0.05541 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039014 | false | 0 | 0.008214 | 0 | 0.104723 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
673822f3cead8313ffad99b48783479565c4d0fa | 114 | py | Python | framework/utils.py | Dadle/Saltie | a78dbc95e63153b47731252e3c825cb3afa34a1f | [
"MIT"
] | 138 | 2018-03-02T16:36:51.000Z | 2022-03-10T07:00:03.000Z | framework/utils.py | Dadle/Saltie | a78dbc95e63153b47731252e3c825cb3afa34a1f | [
"MIT"
] | 46 | 2017-11-27T21:35:15.000Z | 2018-02-24T01:22:58.000Z | framework/utils.py | Dadle/Saltie | a78dbc95e63153b47731252e3c825cb3afa34a1f | [
"MIT"
] | 29 | 2018-03-16T19:02:35.000Z | 2022-02-02T21:58:59.000Z | import os
def get_repo_directory():
return os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
| 19 | 71 | 0.719298 | 17 | 114 | 4.470588 | 0.647059 | 0.236842 | 0.342105 | 0.394737 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149123 | 114 | 5 | 72 | 22.8 | 0.783505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 9 |
6749426abfb96baae45a788ea6d3d21dc0cabc4e | 3,637 | py | Python | tests/tests_rearrange_digits.py | quervernetzt/form-two-numbers-from-array-max | 8c3dc79ce54420e3dad29e033598dfaffb7633b6 | [
"MIT"
] | null | null | null | tests/tests_rearrange_digits.py | quervernetzt/form-two-numbers-from-array-max | 8c3dc79ce54420e3dad29e033598dfaffb7633b6 | [
"MIT"
] | null | null | null | tests/tests_rearrange_digits.py | quervernetzt/form-two-numbers-from-array-max | 8c3dc79ce54420e3dad29e033598dfaffb7633b6 | [
"MIT"
] | null | null | null | import unittest
from solution.rearrange_digits import RearrangeDigits
class TestCasesRotatedArraySearch(unittest.TestCase):
def input_list_is_none_return_empty_list(self: object) -> None:
# Arrange
rearrange_digits: RearrangeDigits = RearrangeDigits()
input_list: list = None
# Act
... | 33.990654 | 88 | 0.594721 | 377 | 3,637 | 5.442971 | 0.167109 | 0.131579 | 0.05848 | 0.102339 | 0.852827 | 0.842105 | 0.842105 | 0.842105 | 0.842105 | 0.842105 | 0 | 0.023645 | 0.244157 | 3,637 | 107 | 89 | 33.990654 | 0.722808 | 0.131152 | 0 | 0.44898 | 0 | 0 | 0.001278 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 1 | 0.204082 | false | 0 | 0.040816 | 0 | 0.265306 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
674b904a5d4b38f68be0a775b5c4ac8a68838dfc | 5,366 | py | Python | rtamt/spec/ltl/discrete_time/reset.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 24 | 2019-12-04T00:20:16.000Z | 2022-03-24T17:48:14.000Z | rtamt/spec/ltl/discrete_time/reset.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 142 | 2020-01-16T15:36:21.000Z | 2022-03-28T20:40:45.000Z | rtamt/spec/ltl/discrete_time/reset.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 17 | 2020-07-07T20:32:08.000Z | 2022-03-07T07:20:22.000Z | from rtamt.spec.ltl.discrete_time.visitor import LTLVisitor
class LTLReset(LTLVisitor):
def __init__(self, node_monitor_dict=None):
self.node_monitor_dict = node_monitor_dict
def reset(self, element):
return self.visit(element, [])
def visitConstant(self, element, args):
monitor ... | 33.748428 | 59 | 0.649646 | 646 | 5,366 | 5.295666 | 0.085139 | 0.102602 | 0.182403 | 0.222157 | 0.850044 | 0.850044 | 0.850044 | 0.850044 | 0.850044 | 0.850044 | 0 | 0.009194 | 0.22978 | 5,366 | 159 | 60 | 33.748428 | 0.818534 | 0.011368 | 0 | 0.730159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.015873 | 0.007937 | 0.007937 | 0.261905 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
675282830a1be535de9a3ca6e8541b1e33b6401e | 236 | py | Python | my_pkg/wrap.py | Mr-Milk/python-hmr | 1a71f3413ea2374afc27919031db02e09f0f6b75 | [
"MIT"
] | 8 | 2021-01-20T13:28:23.000Z | 2021-08-20T21:35:46.000Z | my_pkg/wrap.py | Mr-Milk/python-hmr | 1a71f3413ea2374afc27919031db02e09f0f6b75 | [
"MIT"
] | 5 | 2022-02-07T14:54:50.000Z | 2022-03-01T20:19:19.000Z | my_pkg/wrap.py | Mr-Milk/python-hmr | 1a71f3413ea2374afc27919031db02e09f0f6b75 | [
"MIT"
] | null | null | null | import functools
def wrap(f):
def args(*arg, **kwargs):
return f(*arg, **kwargs)
return args
def work_wrap(f):
@functools.wraps(f)
def args(*arg, **kwargs):
return f(*arg, **kwargs)
return args
| 13.882353 | 32 | 0.572034 | 32 | 236 | 4.1875 | 0.34375 | 0.268657 | 0.447761 | 0.164179 | 0.641791 | 0.641791 | 0.641791 | 0.641791 | 0.641791 | 0.641791 | 0 | 0 | 0.275424 | 236 | 16 | 33 | 14.75 | 0.783626 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.2 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
677e2f4ec20dc6991fee6600ceb35fadc2b45869 | 12,643 | py | Python | api/views/postView.py | Head8che/CMPUT404-project-socialdistribution | ada98f37216c14a7af0134286cb056c1253ef035 | [
"W3C-20150513"
] | null | null | null | api/views/postView.py | Head8che/CMPUT404-project-socialdistribution | ada98f37216c14a7af0134286cb056c1253ef035 | [
"W3C-20150513"
] | 45 | 2021-10-04T01:37:32.000Z | 2021-12-09T02:15:56.000Z | api/views/postView.py | Head8che/CMPUT404-project-socialdistribution | ada98f37216c14a7af0134286cb056c1253ef035 | [
"W3C-20150513"
] | 3 | 2021-11-25T03:27:03.000Z | 2021-12-14T05:20:10.000Z | import json
from re import A
import requests
from rest_framework.decorators import api_view
from rest_framework.response import Response
from api.models.inboxModel import Inbox
from api.models.nodeModel import Node
from ..models.authorModel import Author
from ..models.postModel import Post
from rest_framework import s... | 38.428571 | 143 | 0.69406 | 1,567 | 12,643 | 5.479898 | 0.097001 | 0.052172 | 0.059625 | 0.060557 | 0.865494 | 0.852568 | 0.837894 | 0.818214 | 0.803074 | 0.800745 | 0 | 0.010803 | 0.216563 | 12,643 | 328 | 144 | 38.545732 | 0.856133 | 0.191727 | 0 | 0.778802 | 0 | 0 | 0.038344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018433 | false | 0.013825 | 0.059908 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c03dd568c3fd2f8d514684bd60c4f64a2c44b849 | 3,056 | py | Python | vendor/github.com/elastic/beats/metricbeat/tests/system/test_ceph.py | PPACI/krakenbeat | e75ec8f006164acb8a57d0c9609bebe534955813 | [
"Apache-2.0"
] | 3 | 2018-01-04T19:15:26.000Z | 2020-02-20T03:35:27.000Z | vendor/github.com/elastic/beats/metricbeat/tests/system/test_ceph.py | PPACI/krakenbeat | e75ec8f006164acb8a57d0c9609bebe534955813 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/elastic/beats/metricbeat/tests/system/test_ceph.py | PPACI/krakenbeat | e75ec8f006164acb8a57d0c9609bebe534955813 | [
"Apache-2.0"
] | 1 | 2020-10-11T14:57:48.000Z | 2020-10-11T14:57:48.000Z | import os
import metricbeat
import unittest
class Test(metricbeat.BaseTest):
@unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test")
def test_cluster_disk(self):
"""
ceph cluster_disk metricset test
"""
self.render_config_template(modules=[{
... | 31.183673 | 75 | 0.563154 | 321 | 3,056 | 5.102804 | 0.190031 | 0.027473 | 0.068376 | 0.095238 | 0.859585 | 0.859585 | 0.859585 | 0.859585 | 0.859585 | 0.859585 | 0 | 0.013391 | 0.315772 | 3,056 | 97 | 76 | 31.505155 | 0.769967 | 0 | 0 | 0.788732 | 0 | 0 | 0.098391 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 0 | null | null | 0 | 0.042254 | null | null | 0.056338 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
223c9c15c24fe715667b67c4f4d5088386691436 | 239 | py | Python | tests/test_cipher_dk3154.py | QMSS-G5072-2020/cipher_kow_daryl | 53e720c9b14ff1703b444b55d318f3f7880b3720 | [
"MIT"
] | null | null | null | tests/test_cipher_dk3154.py | QMSS-G5072-2020/cipher_kow_daryl | 53e720c9b14ff1703b444b55d318f3f7880b3720 | [
"MIT"
] | null | null | null | tests/test_cipher_dk3154.py | QMSS-G5072-2020/cipher_kow_daryl | 53e720c9b14ff1703b444b55d318f3f7880b3720 | [
"MIT"
] | null | null | null | from cipher_dk3154 import __version__
from cipher_dk3154 import cipher_dk3154
def test_version():
assert __version__ == '0.1.0'
def test_cipher_symbols():
assert cipher_dk3154.cipher('72', 1, encrypt=True) == '72', "Should be 72" | 29.875 | 78 | 0.74477 | 35 | 239 | 4.657143 | 0.457143 | 0.294479 | 0.196319 | 0.269939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126829 | 0.142259 | 239 | 8 | 78 | 29.875 | 0.668293 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2248700691112e84059d8c583090110a637c3e36 | 77 | py | Python | Chapter 01/Chap01_Example1.51.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.51.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.51.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | # kissing face with closed eyes
print("\N{kissing face with closed eyes}")
| 25.666667 | 43 | 0.727273 | 12 | 77 | 4.666667 | 0.583333 | 0.392857 | 0.535714 | 0.75 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 2 | 44 | 38.5 | 0.875 | 0.376623 | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
22613c1e9eaa04eb9d377e5bab235db80e75f93c | 4,410 | py | Python | tests/functional/generator/test_sqlalchemy.py | xnuinside/omymodels | a523933a8138c385198c784b65087240e6eb31a3 | [
"MIT"
] | 48 | 2021-03-20T14:09:33.000Z | 2022-03-02T18:54:51.000Z | tests/functional/generator/test_sqlalchemy.py | geob3d/omymodels | 2324256b6cefd31593afd2c24fce680f75137954 | [
"MIT"
] | 10 | 2021-03-21T15:37:01.000Z | 2022-01-14T14:07:09.000Z | tests/functional/generator/test_sqlalchemy.py | geob3d/omymodels | 2324256b6cefd31593afd2c24fce680f75137954 | [
"MIT"
] | 6 | 2021-04-08T14:26:28.000Z | 2022-03-02T18:54:52.000Z | from omymodels import create_models
def test_with_enums():
expected = """import sqlalchemy as sa
from sqlalchemy.ext.declarative import declarative_base
from enum import Enum
from sqlalchemy.sql import func
from sqlalchemy.dialects.postgresql import JSON
Base = declarative_base()
class MaterialType(str, Enum)... | 25.056818 | 103 | 0.692063 | 537 | 4,410 | 5.52514 | 0.147114 | 0.078193 | 0.091001 | 0.048534 | 0.833839 | 0.826761 | 0.813279 | 0.707786 | 0.704752 | 0.704752 | 0 | 0 | 0.169841 | 4,410 | 175 | 104 | 25.2 | 0.810434 | 0 | 0 | 0.789063 | 0 | 0 | 0.886395 | 0.249433 | 0 | 0 | 0 | 0 | 0.023438 | 1 | 0.023438 | false | 0 | 0.101563 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
226d83488bc4997ecc5fe72f1db5c271dc85c871 | 3,814 | py | Python | AlliedPointsFarm.py | avianflu18/swgoh | c4a82095f85690b2c25eb0016a0ad74cd72fbea0 | [
"MIT"
] | null | null | null | AlliedPointsFarm.py | avianflu18/swgoh | c4a82095f85690b2c25eb0016a0ad74cd72fbea0 | [
"MIT"
] | null | null | null | AlliedPointsFarm.py | avianflu18/swgoh | c4a82095f85690b2c25eb0016a0ad74cd72fbea0 | [
"MIT"
] | null | null | null | # -*- encoding=utf8 -*-
__author__ = "DarthYu"
import sys
from airtest.core.api import *
def main():
while 1:
if exists(Template(r"tpl1605992707698.png", record_pos=(0.0, -0.003), resolution=(1280, 720))):
sys.exit()
elif exists(Template(r"tpl1605937955537.png", record_pos=(0.1... | 73.346154 | 127 | 0.635291 | 492 | 3,814 | 4.843496 | 0.121951 | 0.117079 | 0.156106 | 0.169115 | 0.949224 | 0.949224 | 0.939152 | 0.916492 | 0.861939 | 0.861939 | 0 | 0.278461 | 0.189303 | 3,814 | 51 | 128 | 74.784314 | 0.492238 | 0.005506 | 0 | 0.186047 | 0 | 0 | 0.167737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.046512 | 0 | 0.069767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
226e2a32d3fab7db445995619ce097df0f891ba3 | 22,610 | py | Python | src/comodash_api_client_lowlevel/comodash_api/queries_api.py | ComotionLabs/dash-sdk | 8ab532dd58cbcb85969bb84503678cd54b3b2bfe | [
"Apache-2.0"
] | 1 | 2021-06-19T18:44:31.000Z | 2021-06-19T18:44:31.000Z | src/comodash_api_client_lowlevel/comodash_api/queries_api.py | ComotionLabs/dash-sdk | 8ab532dd58cbcb85969bb84503678cd54b3b2bfe | [
"Apache-2.0"
] | null | null | null | src/comodash_api_client_lowlevel/comodash_api/queries_api.py | ComotionLabs/dash-sdk | 8ab532dd58cbcb85969bb84503678cd54b3b2bfe | [
"Apache-2.0"
] | 3 | 2021-06-25T14:50:50.000Z | 2021-09-16T13:00:29.000Z | """
Comotion Dash API
Comotion Dash API # noqa: E501
The version of the OpenAPI document: 2.0
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from comodash_api_client_lowlevel.api_client import ApiClient, Endpoint as _Endpoint
from comodash_api_cli... | 35.328125 | 173 | 0.459 | 1,981 | 22,610 | 4.974255 | 0.09894 | 0.034808 | 0.026385 | 0.0274 | 0.859955 | 0.832048 | 0.822306 | 0.794601 | 0.787295 | 0.770854 | 0 | 0.003198 | 0.460593 | 22,610 | 639 | 174 | 35.383412 | 0.804772 | 0.331048 | 0 | 0.634434 | 1 | 0 | 0.210183 | 0.028075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014151 | false | 0 | 0.021226 | 0 | 0.049528 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
226e91b071316c405dc35012c8d1c1b6a2d2184e | 8,789 | py | Python | openstack_dashboard/dashboards/admin/rbac_policies/tests.py | hemantsonawane95/horizon-apelby | 01a5e72219aeca8c1451701ee85e232ed0618751 | [
"Apache-2.0"
] | 930 | 2015-01-04T08:06:03.000Z | 2022-03-13T18:47:13.000Z | openstack_dashboard/dashboards/admin/rbac_policies/tests.py | hemantsonawane95/horizon-apelby | 01a5e72219aeca8c1451701ee85e232ed0618751 | [
"Apache-2.0"
] | 26 | 2015-02-23T16:37:31.000Z | 2020-07-02T08:37:41.000Z | openstack_dashboard/dashboards/admin/rbac_policies/tests.py | hemantsonawane95/horizon-apelby | 01a5e72219aeca8c1451701ee85e232ed0618751 | [
"Apache-2.0"
] | 1,040 | 2015-01-01T18:48:28.000Z | 2022-03-19T08:35:18.000Z | # Copyright 2019 vmware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 47.766304 | 78 | 0.662191 | 1,036 | 8,789 | 5.254826 | 0.142857 | 0.061719 | 0.055107 | 0.051433 | 0.809882 | 0.793718 | 0.782329 | 0.776451 | 0.767818 | 0.762123 | 0 | 0.002857 | 0.243259 | 8,789 | 183 | 79 | 48.027322 | 0.815667 | 0.074866 | 0 | 0.741007 | 0 | 0 | 0.116205 | 0.038817 | 0 | 0 | 0 | 0 | 0.223022 | 1 | 0.035971 | false | 0 | 0.028777 | 0 | 0.071942 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f282e4be744ad893f9a6b08380e595333ee9d93 | 16,471 | py | Python | weather_models/flo2d/flo2d_server_250_prod.py | CUrW-SL/DSS-Framework | 43a39b322ffb0eb92dd116e77cf9a8479357a121 | [
"MIT"
] | null | null | null | weather_models/flo2d/flo2d_server_250_prod.py | CUrW-SL/DSS-Framework | 43a39b322ffb0eb92dd116e77cf9a8479357a121 | [
"MIT"
] | null | null | null | weather_models/flo2d/flo2d_server_250_prod.py | CUrW-SL/DSS-Framework | 43a39b322ffb0eb92dd116e77cf9a8479357a121 | [
"MIT"
] | null | null | null | import os
from builtins import print
from http.server import BaseHTTPRequestHandler, HTTPServer
import json
from urllib.parse import urlparse, parse_qs
# from raincelldat.gen_raincell import create_hybrid_raincell
from curw_sim.gen_raincell_curw_sim import create_sim_hybrid_raincell
from inflowdat.get_inflow import cre... | 48.875371 | 118 | 0.55874 | 1,885 | 16,471 | 4.581432 | 0.075862 | 0.056739 | 0.054423 | 0.074572 | 0.814266 | 0.809866 | 0.804423 | 0.792612 | 0.785433 | 0.769453 | 0 | 0.01291 | 0.32281 | 16,471 | 336 | 119 | 49.020833 | 0.761341 | 0.017789 | 0 | 0.755627 | 0 | 0 | 0.127899 | 0.011627 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006431 | false | 0 | 0.051447 | 0 | 0.064309 | 0.160772 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f3a7eb3472e643d62233ffb1cb64ac8ecab1bf9 | 570 | py | Python | train_mosmed_timm-regnetx_002_grid_distortion.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_mosmed_timm-regnetx_002_grid_distortion.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_mosmed_timm-regnetx_002_grid_distortion.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/train_mosmed_unetplusplus_timm-regnetx_002_fold0_grid_distortion.yml",
"python main.py --configs configs/train_mosmed_unetplusplus_timm-regnetx_002_fold1_grid_distortion.yml",
"python main.py --configs configs/train_mosmed_unetplusplus_timm-regnetx_002_fold2_grid_distort... | 51.818182 | 108 | 0.854386 | 85 | 570 | 5.317647 | 0.294118 | 0.110619 | 0.132743 | 0.210177 | 0.847345 | 0.847345 | 0.847345 | 0.847345 | 0.847345 | 0.847345 | 0 | 0.037106 | 0.054386 | 570 | 11 | 109 | 51.818182 | 0.801484 | 0 | 0 | 0 | 0 | 0 | 0.884413 | 0.665499 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3f5656715943fb967956d8f53aee03517e6cdf26 | 46,658 | py | Python | renderer/viewer2D.py | Paultool/frankmocap | b8bb7b587c0841b9292edb147729de581c66054c | [
"BSD-3-Clause"
] | 1,612 | 2020-09-23T08:45:18.000Z | 2022-03-31T18:05:20.000Z | renderer/viewer2D.py | Paultool/frankmocap | b8bb7b587c0841b9292edb147729de581c66054c | [
"BSD-3-Clause"
] | 189 | 2020-09-24T11:24:27.000Z | 2022-03-29T06:30:17.000Z | renderer/viewer2D.py | Paultool/frankmocap | b8bb7b587c0841b9292edb147729de581c66054c | [
"BSD-3-Clause"
] | 290 | 2020-09-23T13:40:50.000Z | 2022-03-28T07:31:22.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
#Visualization Function
import cv2
import numpy as np
import PIL
from PIL.Image import Image
def __ValidateNumpyImg(inputImg):
if isinstance(inputImg, Image):
# inputImg = cv2.cvtColor(np.array(inputImg), cv2.COLOR_RGB2BGR)
inputImg = np.array(i... | 34.256975 | 167 | 0.511895 | 6,974 | 46,658 | 3.366217 | 0.057643 | 0.015164 | 0.015207 | 0.014653 | 0.805844 | 0.787272 | 0.767976 | 0.749404 | 0.745144 | 0.743866 | 0 | 0.117519 | 0.309165 | 46,658 | 1,361 | 168 | 34.282145 | 0.610803 | 0.22487 | 0 | 0.740654 | 0 | 0 | 0.020012 | 0.005374 | 0 | 0 | 0 | 0.000735 | 0.003505 | 1 | 0.031542 | false | 0 | 0.007009 | 0.001168 | 0.07243 | 0.010514 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
58c0712e18120b6b6567dcb6fb407d73f2555a4d | 113 | py | Python | gym_rover/envs/__init__.py | eklinkhammer/gym-rover | 38ed96f6f7ea4e5fed4432cb3967d2317caf145e | [
"MIT"
] | null | null | null | gym_rover/envs/__init__.py | eklinkhammer/gym-rover | 38ed96f6f7ea4e5fed4432cb3967d2317caf145e | [
"MIT"
] | null | null | null | gym_rover/envs/__init__.py | eklinkhammer/gym-rover | 38ed96f6f7ea4e5fed4432cb3967d2317caf145e | [
"MIT"
] | null | null | null | from gym_rover.envs.rover_env import RoverEnv
from gym_rover.envs.rover_cont_feature_env import RoverContFeature
| 37.666667 | 66 | 0.893805 | 18 | 113 | 5.277778 | 0.555556 | 0.147368 | 0.252632 | 0.336842 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 113 | 2 | 67 | 56.5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
450378560bd48b3004fd9291c406dc7b98876601 | 68,615 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/ratio_based_results/EightThreads_fmm/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/ratio_based_results/EightThreads_fmm/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/ratio_based_results/EightThreads_fmm/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.071116 | 124 | 0.68211 | 8,082 | 68,615 | 5.785078 | 0.067805 | 0.123538 | 0.112929 | 0.093423 | 0.938188 | 0.930125 | 0.917485 | 0.883991 | 0.860592 | 0.840787 | 0 | 0.132046 | 0.22431 | 68,615 | 914 | 125 | 75.071116 | 0.746411 | 0 | 0 | 0.642232 | 0 | 0 | 0.657354 | 0.048094 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
451c6045eaa9f0ebde5dd84e99563a57076003cd | 122 | py | Python | pompom/apps/huddle_board/utils.py | AsanteHS/Pompom | ef660f5944439f3de9f4d864b91d02edbddf207b | [
"MIT"
] | 1 | 2017-09-01T23:17:28.000Z | 2017-09-01T23:17:28.000Z | pompom/apps/huddle_board/utils.py | AsanteHS/Pompom | ef660f5944439f3de9f4d864b91d02edbddf207b | [
"MIT"
] | 1 | 2018-05-16T02:43:14.000Z | 2018-05-16T02:43:14.000Z | pompom/apps/huddle_board/utils.py | AsanteHS/Pompom | ef660f5944439f3de9f4d864b91d02edbddf207b | [
"MIT"
] | 1 | 2018-05-15T12:49:51.000Z | 2018-05-15T12:49:51.000Z |
def truncate_string(text, max_length=50):
return (text[:max_length - 3] + '...') if len(text) > max_length else text
| 30.5 | 78 | 0.672131 | 19 | 122 | 4.105263 | 0.631579 | 0.269231 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.163934 | 122 | 3 | 79 | 40.666667 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
188fcae31a307ac0095903de37168767b5801a5e | 14,322 | py | Python | src/OTLMOW/OTLModel/Datatypes/KlLEKantopsluitingBijkomendeParameter.py | davidvlaminck/OTLClassPython | 71330afeb37c3ea6d9981f521ff8f4a3f8b946fc | [
"MIT"
] | 2 | 2022-02-01T08:58:11.000Z | 2022-02-08T13:35:17.000Z | src/OTLMOW/OTLModel/Datatypes/KlLEKantopsluitingBijkomendeParameter.py | davidvlaminck/OTLMOW | 71330afeb37c3ea6d9981f521ff8f4a3f8b946fc | [
"MIT"
] | null | null | null | src/OTLMOW/OTLModel/Datatypes/KlLEKantopsluitingBijkomendeParameter.py | davidvlaminck/OTLMOW | 71330afeb37c3ea6d9981f521ff8f4a3f8b946fc | [
"MIT"
] | null | null | null | # coding=utf-8
from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField
from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde
# Generated with OTLEnumerationCreator. To modify: extend, do not edit
class KlLEKantopsluitingBijkomendeParameter(KeuzelijstField):
"""Gedetailleerder typer... | 154 | 332 | 0.553065 | 1,003 | 14,322 | 7.917248 | 0.087737 | 0.079335 | 0.13424 | 0.196197 | 0.83113 | 0.793099 | 0.769047 | 0.665785 | 0.626747 | 0.547034 | 0 | 0.010157 | 0.374459 | 14,322 | 92 | 333 | 155.673913 | 0.873981 | 0.009007 | 0 | 0 | 1 | 0.244186 | 0.526754 | 0.183433 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.104651 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e18e8551a78c6a3e3618e9a7982341796593028a | 3,973 | py | Python | test/transforms/test_gdc.py | LingxiaoShawn/pytorch_geometric | 50b7bfc4a59b5b6f7ec547ff862985f3b2e22798 | [
"MIT"
] | 1 | 2022-02-21T13:23:19.000Z | 2022-02-21T13:23:19.000Z | test/transforms/test_gdc.py | LingxiaoShawn/pytorch_geometric | 50b7bfc4a59b5b6f7ec547ff862985f3b2e22798 | [
"MIT"
] | null | null | null | test/transforms/test_gdc.py | LingxiaoShawn/pytorch_geometric | 50b7bfc4a59b5b6f7ec547ff862985f3b2e22798 | [
"MIT"
] | null | null | null | import torch
from torch_geometric.data import Data
from torch_geometric.transforms import GDC
from torch_geometric.utils import to_dense_adj
def test_gdc():
edge_index = torch.tensor([[0, 0, 1, 1, 2, 2, 2, 3, 3, 4],
[1, 2, 0, 2, 0, 1, 3, 2, 4, 3]])
data = Data(edge_index=edge_... | 43.659341 | 76 | 0.602567 | 561 | 3,973 | 4.078431 | 0.11943 | 0.074738 | 0.068182 | 0.089161 | 0.909091 | 0.892045 | 0.88986 | 0.880245 | 0.838724 | 0.815122 | 0 | 0.035278 | 0.257991 | 3,973 | 90 | 77 | 44.144444 | 0.740841 | 0 | 0 | 0.777778 | 0 | 0 | 0.025925 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 1 | 0.012346 | false | 0 | 0.049383 | 0 | 0.061728 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e18f3c9359c86b6a08ea544457886c150d3ee386 | 30,056 | py | Python | api/test/testModel.py | Major-League-Summer-Baseball/mlsb-platform | ecb2a6a15dcaa12c4e18a6d9c5d1b4caf83e05a4 | [
"Apache-2.0"
] | 1 | 2021-04-22T02:06:33.000Z | 2021-04-22T02:06:33.000Z | api/test/testModel.py | Major-League-Summer-Baseball/mlsb-platform | ecb2a6a15dcaa12c4e18a6d9c5d1b4caf83e05a4 | [
"Apache-2.0"
] | 42 | 2021-03-12T23:18:30.000Z | 2022-03-13T20:57:36.000Z | api/test/testModel.py | Major-League-Summer-Baseball/mlsb-platform | ecb2a6a15dcaa12c4e18a6d9c5d1b4caf83e05a4 | [
"Apache-2.0"
] | 1 | 2019-04-21T23:24:54.000Z | 2019-04-21T23:24:54.000Z | '''
@author: Dallas Fraser
@author: 2016-04-12
@organization: MLSB API
@summary: Holds the tests for the model
'''
from api.model import Player, Team, Bat, Sponsor, League, Game, Division,\
JoinLeagueRequest
from api.errors import InvalidField, PlayerDoesNotExist, TeamDoesNotExist,\
LeagueDoesNotExist, SponsorD... | 37.57 | 80 | 0.539659 | 3,132 | 30,056 | 5.018199 | 0.069604 | 0.040084 | 0.068715 | 0.052682 | 0.828975 | 0.800216 | 0.785901 | 0.78132 | 0.76764 | 0.748234 | 0 | 0.008811 | 0.361825 | 30,056 | 799 | 81 | 37.617021 | 0.810594 | 0.026983 | 0 | 0.771755 | 0 | 0 | 0.092551 | 0 | 0 | 0 | 0 | 0 | 0.098431 | 1 | 0.038516 | false | 0.085592 | 0.009986 | 0 | 0.062767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
83270b2fae2ca5ac12d418982de5c725c5527e27 | 247 | py | Python | bitmovin_api_sdk/encoding/infrastructure/azure/regions/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/infrastructure/azure/regions/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/infrastructure/azure/regions/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.infrastructure.azure.regions.regions_api import RegionsApi
from bitmovin_api_sdk.encoding.infrastructure.azure.regions.azure_account_region_settings_list_query_params import AzureAccountRegionSettingsListQueryParams
| 82.333333 | 156 | 0.927126 | 29 | 247 | 7.517241 | 0.586207 | 0.110092 | 0.137615 | 0.165138 | 0.477064 | 0.477064 | 0.477064 | 0.477064 | 0 | 0 | 0 | 0 | 0.032389 | 247 | 2 | 157 | 123.5 | 0.912134 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
55f4698cea908f80631d4a0a1dc7ff5523afbbaa | 42,074 | py | Python | cl_sii/rcv/parse_csv.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 8 | 2020-03-07T19:58:40.000Z | 2021-12-15T13:47:40.000Z | cl_sii/rcv/parse_csv.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 141 | 2020-01-17T22:47:35.000Z | 2022-03-31T18:29:47.000Z | cl_sii/rcv/parse_csv.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 3 | 2020-03-07T20:30:02.000Z | 2021-03-22T03:14:26.000Z | """
Parse RCV files (CSV)
=====================
"""
import csv
import logging
from datetime import date, datetime
from typing import Callable, Dict, Iterable, Optional, Sequence, Tuple
import marshmallow
from cl_sii.base.constants import SII_OFFICIAL_TZ
from cl_sii.extras import mm_fields
from cl_sii.libs import cs... | 35.386039 | 99 | 0.586063 | 4,755 | 42,074 | 4.948475 | 0.08938 | 0.039269 | 0.038759 | 0.023799 | 0.831662 | 0.821589 | 0.79422 | 0.787973 | 0.7813 | 0.779516 | 0 | 0.012137 | 0.271498 | 42,074 | 1,188 | 100 | 35.415825 | 0.755538 | 0.182512 | 0 | 0.739232 | 0 | 0 | 0.213229 | 0.002665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025611 | false | 0.001164 | 0.016298 | 0 | 0.131548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
368e0aba44e309d7a6dcbdbbcfd093b2262d2ba7 | 58 | py | Python | OPCDataTransfer/Loader/__init__.py | Shanginre/OPCDataTransfer | f72d1afc6909f371ce17123828c354efa369a5be | [
"MIT"
] | 1 | 2021-01-08T01:45:30.000Z | 2021-01-08T01:45:30.000Z | OPCDataTransfer/Loader/__init__.py | Shanginre/OPCDataTransfer | f72d1afc6909f371ce17123828c354efa369a5be | [
"MIT"
] | null | null | null | OPCDataTransfer/Loader/__init__.py | Shanginre/OPCDataTransfer | f72d1afc6909f371ce17123828c354efa369a5be | [
"MIT"
] | null | null | null | from .Loader import LoaderType
from .Loader import Loader
| 19.333333 | 30 | 0.827586 | 8 | 58 | 6 | 0.5 | 0.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7fc3c40748a7c340e33064815c26258ffc95eabe | 6,675 | py | Python | tests/tests_test_workflow/test_test_args.py | abhinavGupta16/opensearch-build | 28d5c7b683276b2bf78a8d28a06aa4090e0edbe2 | [
"Apache-2.0"
] | null | null | null | tests/tests_test_workflow/test_test_args.py | abhinavGupta16/opensearch-build | 28d5c7b683276b2bf78a8d28a06aa4090e0edbe2 | [
"Apache-2.0"
] | null | null | null | tests/tests_test_workflow/test_test_args.py | abhinavGupta16/opensearch-build | 28d5c7b683276b2bf78a8d28a06aa4090e0edbe2 | [
"Apache-2.0"
] | null | null | null | import logging
import os
import unittest
from unittest.mock import patch
from test_workflow.test_args import TestArgs
class TestTestArgs(unittest.TestCase):
ARGS_PY = os.path.realpath(
os.path.join(
os.path.dirname(__file__), "..", "..", "src", "run_bwc_test.py"
)
)
PATH = o... | 46.678322 | 187 | 0.715805 | 807 | 6,675 | 5.567534 | 0.07311 | 0.108613 | 0.110394 | 0.138215 | 0.928333 | 0.894725 | 0.873136 | 0.867127 | 0.817271 | 0.764523 | 0 | 0.00036 | 0.166891 | 6,675 | 142 | 188 | 47.007042 | 0.807589 | 0 | 0 | 0.521008 | 0 | 0 | 0.15206 | 0.031161 | 0 | 0 | 0 | 0 | 0.420168 | 1 | 0.084034 | false | 0 | 0.042017 | 0 | 0.168067 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7ffad01c5744b094aa85ed511acb6cd8a58e8435 | 108 | py | Python | descwl_shear_sims/lsst_bits.py | LSSTDESC/descwl_shear_sims | 1c696518104b7f301dd6c69571239431c6232110 | [
"BSD-3-Clause"
] | null | null | null | descwl_shear_sims/lsst_bits.py | LSSTDESC/descwl_shear_sims | 1c696518104b7f301dd6c69571239431c6232110 | [
"BSD-3-Clause"
] | 11 | 2019-12-10T23:30:27.000Z | 2019-12-24T13:59:32.000Z | descwl_shear_sims/lsst_bits.py | LSSTDESC/wl-shear-testing-sims | 6e4a0baa6f664b5bc52b08b55614eaa58c8b0748 | [
"BSD-3-Clause"
] | null | null | null | import lsst.afw.image as afw_image
def get_flagval(name):
return afw_image.Mask.getPlaneBitMask(name)
| 18 | 47 | 0.787037 | 17 | 108 | 4.823529 | 0.705882 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 108 | 5 | 48 | 21.6 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
3d4e671f35169a50ae3f10b3ed93e359d9464b2d | 5,071 | py | Python | src/models/inference_model.py | lightd22/draftisim | 466de8c87d9782735e865fdd83fa5fd87f8a7719 | [
"Apache-2.0"
] | 22 | 2017-12-26T12:10:12.000Z | 2022-02-23T08:45:54.000Z | src/models/inference_model.py | lightd22/draftisim | 466de8c87d9782735e865fdd83fa5fd87f8a7719 | [
"Apache-2.0"
] | 7 | 2018-02-22T18:43:11.000Z | 2021-08-25T14:46:43.000Z | src/models/inference_model.py | lightd22/draftisim | 466de8c87d9782735e865fdd83fa5fd87f8a7719 | [
"Apache-2.0"
] | 4 | 2018-01-14T15:57:38.000Z | 2021-01-21T01:05:11.000Z | import tensorflow as tf
from . import base_model
class QNetInferenceModel(base_model.BaseModel):
def __init__(self, name, path):
super().__init__(name=name, path=path)
self.init_saver()
self.ops_dict = self.build_model()
def init_saver(self):
with self._graph.as_default():
... | 46.953704 | 114 | 0.659239 | 657 | 5,071 | 4.82344 | 0.120244 | 0.057431 | 0.055538 | 0.042916 | 0.91196 | 0.872831 | 0.849164 | 0.849164 | 0.849164 | 0.823604 | 0 | 0.002064 | 0.235654 | 5,071 | 107 | 115 | 47.392523 | 0.815531 | 0.224611 | 0 | 0.75 | 0 | 0 | 0.111502 | 0.031394 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0.0625 | 0 | 0.34375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
180c7d7216fe6868d9bb1796dc58d2d6f12b4d53 | 1,564 | py | Python | trisicell/datasets/__init__.py | faridrashidi/trisicell | 4db89edd44c03ccb6c7d3477beff0079c3ff8035 | [
"BSD-3-Clause"
] | 2 | 2021-07-02T13:53:15.000Z | 2021-11-16T03:14:36.000Z | trisicell/datasets/__init__.py | faridrashidi/trisicell | 4db89edd44c03ccb6c7d3477beff0079c3ff8035 | [
"BSD-3-Clause"
] | 58 | 2021-06-14T17:14:39.000Z | 2022-03-11T19:32:54.000Z | trisicell/datasets/__init__.py | faridrashidi/trisicell | 4db89edd44c03ccb6c7d3477beff0079c3ff8035 | [
"BSD-3-Clause"
] | null | null | null | """Datasets Module."""
from trisicell.datasets._datasets import (
acute_lymphocytic_leukemia1,
acute_lymphocytic_leukemia2,
acute_lymphocytic_leukemia3,
acute_lymphocytic_leukemia4,
acute_lymphocytic_leukemia5,
acute_lymphocytic_leukemia6,
colorectal1,
colorectal2,
colorectal3,
... | 26.066667 | 74 | 0.780691 | 149 | 1,564 | 7.604027 | 0.328859 | 0.169462 | 0.105914 | 0.15534 | 0.875552 | 0.875552 | 0.875552 | 0.875552 | 0.875552 | 0.875552 | 0 | 0.034109 | 0.175192 | 1,564 | 59 | 75 | 26.508475 | 0.844186 | 0.01023 | 0 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
182d1b84d428a5fd74bc875dc87987c3a17a73cf | 31,936 | py | Python | tests/unit/controllers/platform/test_initialize.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 110 | 2020-01-15T22:58:46.000Z | 2022-03-27T20:47:33.000Z | tests/unit/controllers/platform/test_initialize.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 89 | 2020-01-15T23:18:34.000Z | 2022-03-31T21:56:05.000Z | tests/unit/controllers/platform/test_initialize.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 50 | 2020-01-15T22:58:53.000Z | 2022-02-11T17:39:28.000Z | # Copyright 2018 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompa... | 45.492877 | 137 | 0.704346 | 3,877 | 31,936 | 5.410369 | 0.052618 | 0.090008 | 0.135011 | 0.139445 | 0.938072 | 0.934687 | 0.931827 | 0.927536 | 0.927536 | 0.926058 | 0 | 0.006119 | 0.196549 | 31,936 | 701 | 138 | 45.557775 | 0.811372 | 0.016784 | 0 | 0.873194 | 0 | 0.001605 | 0.315449 | 0.24182 | 0 | 0 | 0 | 0 | 0.163724 | 1 | 0.033708 | false | 0.009631 | 0.016051 | 0 | 0.057785 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1833e464f0320b1f3a8a9a05eebe3f1330f2d5bf | 1,864 | py | Python | splitting.py | maxime-tournier/lcpy | 1419901a089cd088edd078397958b47c25cc2f4f | [
"MIT"
] | null | null | null | splitting.py | maxime-tournier/lcpy | 1419901a089cd088edd078397958b47c25cc2f4f | [
"MIT"
] | null | null | null | splitting.py | maxime-tournier/lcpy | 1419901a089cd088edd078397958b47c25cc2f4f | [
"MIT"
] | null | null | null | """matrix-splitting iterations"""
import numpy as np
import math
def gs(x, A, b, **kwargs):
"""gauss-seidel"""
d = np.diag(A)
n = b.size
error = 1
omega = kwargs.get('omega', 1)
old = np.copy(x)
delta = np.zeros(n)
while error > 0:
for i in xrange(n):
... | 16.945455 | 58 | 0.440987 | 266 | 1,864 | 3.090226 | 0.172932 | 0.076642 | 0.048662 | 0.043796 | 0.812652 | 0.744526 | 0.72871 | 0.72871 | 0.72871 | 0.72871 | 0 | 0.012132 | 0.380901 | 1,864 | 109 | 59 | 17.100917 | 0.700173 | 0.046674 | 0 | 0.779661 | 0 | 0 | 0.018317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067797 | false | 0 | 0.033898 | 0 | 0.101695 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
183bd1e037cddcb073013a1b08e8965212ca7dda | 7,077 | py | Python | test/test_vsql_binop_add.py | LivingLogic/LivingApps.Python.LivingAPI | 70bb71d7f582535a4c52e1f00d9ed070f3f2cc4f | [
"MIT"
] | 2 | 2017-09-15T15:28:23.000Z | 2019-01-25T09:23:53.000Z | test/test_vsql_binop_add.py | LivingLogic/LivingApps.Python.LivingAPI | 70bb71d7f582535a4c52e1f00d9ed070f3f2cc4f | [
"MIT"
] | 1 | 2019-01-28T08:06:23.000Z | 2019-01-28T14:45:52.000Z | test/test_vsql_binop_add.py | LivingLogic/LivingApps.Python.LivingAPI | 70bb71d7f582535a4c52e1f00d9ed070f3f2cc4f | [
"MIT"
] | 1 | 2019-01-25T21:20:55.000Z | 2019-01-25T21:20:55.000Z | """
Tests for the vSQL addition operator ``+``.
The test are done via the Python DB interface.
To run the tests, :mod:`pytest` is required.
"""
from conftest import *
###
### Tests
###
d1 = "@(2000-02-29)"
d2 = "@(2000-03-01)"
dt1 = "@(2000-02-29T12:34:56)"
dt2 = "@(2000-03-01T12:34:56)"
def test_bool_bool1(con... | 40.672414 | 230 | 0.705242 | 1,086 | 7,077 | 4.320442 | 0.096685 | 0.282609 | 0.195652 | 0.23913 | 0.7711 | 0.734655 | 0.710571 | 0.641944 | 0.534101 | 0.370205 | 0 | 0.084583 | 0.104564 | 7,077 | 173 | 231 | 40.907514 | 0.655831 | 0.020348 | 0 | 0 | 0 | 0.233645 | 0.421715 | 0.119416 | 0 | 0 | 0 | 0 | 0 | 1 | 0.476636 | false | 0 | 0.009346 | 0 | 0.485981 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
184a1986e084f23159745bb5ae2204c9cbaa6595 | 173 | py | Python | Codewars/7kyu/digital-cypher/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/digital-cypher/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/digital-cypher/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.assert_equals(encode('scout', 1939), [20, 12, 18, 30, 21])
Test.assert_equals(encode('masterpiece', 1939), [14, 10, 22, 29, 6, 27, 19, 18, 6, 12, 8])
| 34.6 | 90 | 0.624277 | 32 | 173 | 3.3125 | 0.71875 | 0.188679 | 0.301887 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 0.144509 | 173 | 4 | 91 | 43.25 | 0.445946 | 0.080925 | 0 | 0 | 0 | 0 | 0.101911 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18681bef008d4145eba8c64a02230cedbdcbd88f | 2,250 | py | Python | parsers/tests/test_iupredparser.py | rigdenlab/conkit-web | bf50d28a73f43b9eb0e0c397ec1d0fd32547fdf1 | [
"BSD-3-Clause"
] | 1 | 2020-04-16T16:52:53.000Z | 2020-04-16T16:52:53.000Z | parsers/tests/test_iupredparser.py | rigdenlab/conplot | 9b3129d9e1b7ed93da63c6fd31f9b50e63f2d4d9 | [
"BSD-3-Clause"
] | 47 | 2020-05-11T13:59:11.000Z | 2022-01-21T09:37:18.000Z | parsers/tests/test_iupredparser.py | rigdenlab/conkit-web | bf50d28a73f43b9eb0e0c397ec1d0fd32547fdf1 | [
"BSD-3-Clause"
] | 5 | 2020-04-24T11:19:21.000Z | 2020-05-06T08:01:36.000Z | import unittest
from parsers import IupredParser, DisorderStates
from utils.exceptions import InvalidFormat
class IupredParserTestCase(unittest.TestCase):
def test_1(self):
dummy_prediction = """# IUPred2A: context-dependent prediction of protein disorder as a function of redox state and protein binding
... | 28.125 | 139 | 0.691111 | 316 | 2,250 | 4.892405 | 0.300633 | 0.110608 | 0.087322 | 0.1326 | 0.826649 | 0.826649 | 0.826649 | 0.812419 | 0.727038 | 0.727038 | 0 | 0.140279 | 0.236444 | 2,250 | 79 | 140 | 28.481013 | 0.759604 | 0 | 0 | 0.786885 | 0 | 0 | 0.505333 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 1 | 0.04918 | false | 0 | 0.04918 | 0 | 0.114754 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18819ffe6accdab20e6590a24309d1cdb1991017 | 150 | py | Python | bash_scripts/try_docker.py | koukoulala/fairseq | 74261e0b6f455a01e2e26e8c0e7fe20524b99441 | [
"MIT"
] | null | null | null | bash_scripts/try_docker.py | koukoulala/fairseq | 74261e0b6f455a01e2e26e8c0e7fe20524b99441 | [
"MIT"
] | null | null | null | bash_scripts/try_docker.py | koukoulala/fairseq | 74261e0b6f455a01e2e26e8c0e7fe20524b99441 | [
"MIT"
] | null | null | null | import torch
import torch.utils
import torch.utils.cpp_extension
print(torch.__version__)
print(torch.version.cuda)
print(torch.cuda.is_available()) | 18.75 | 32 | 0.826667 | 22 | 150 | 5.363636 | 0.454545 | 0.279661 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 150 | 8 | 33 | 18.75 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
43fa857e205d32e865c5ce51b769d895679eba84 | 18,552 | py | Python | src/plantenergy/OptimizationGroups.py | BYUFLOWLab/WakeExchange | 5fff32e38723039fe38b0cce0b4560df813de63e | [
"Apache-2.0"
] | 4 | 2017-01-24T17:56:29.000Z | 2019-02-26T02:01:51.000Z | src/plantenergy/OptimizationGroups.py | BYUFLOWLab/WakeExchange | 5fff32e38723039fe38b0cce0b4560df813de63e | [
"Apache-2.0"
] | 4 | 2018-09-24T14:11:01.000Z | 2019-03-07T14:51:31.000Z | src/plantenergy/OptimizationGroups.py | BYUFLOWLab/WakeExchange | 5fff32e38723039fe38b0cce0b4560df813de63e | [
"Apache-2.0"
] | 3 | 2019-06-25T16:46:28.000Z | 2020-02-23T10:04:50.000Z | #!/usr/bin/env python
# encoding: utf-8
"""
OptimizationGroups.py
Created by Jared J. Thomas, Nov. 2015.
Brigham Young University
"""
import numpy as np
from openmdao.api import Group, IndepVarComp, ExecComp
from plantenergy.GeneralWindFarmGroups import DirectionGroup, AEPGroup
from plantenergy.GeneralCOEGroups imp... | 50.967033 | 157 | 0.587753 | 1,882 | 18,552 | 5.650372 | 0.146653 | 0.022381 | 0.02934 | 0.045514 | 0.87192 | 0.865526 | 0.857344 | 0.836656 | 0.82791 | 0.82791 | 0 | 0.010776 | 0.319696 | 18,552 | 364 | 158 | 50.967033 | 0.831788 | 0.206608 | 0 | 0.835165 | 0 | 0 | 0.129417 | 0.015506 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0.043956 | 0.076923 | 0 | 0.120879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
43fdfef6d57b530579c9eceb0bb910b9e6e7e9c8 | 60,016 | py | Python | rrdb/rrdb.py | pegasus-kv/pegasus-python-client | cb1a91336cc04f5e2ffdc92a6f3831045ece4b95 | [
"Apache-2.0"
] | 3 | 2018-01-15T06:58:32.000Z | 2021-11-15T08:42:33.000Z | rrdb/rrdb.py | pegasus-kv/pegasus-python-client | cb1a91336cc04f5e2ffdc92a6f3831045ece4b95 | [
"Apache-2.0"
] | null | null | null | rrdb/rrdb.py | pegasus-kv/pegasus-python-client | cb1a91336cc04f5e2ffdc92a6f3831045ece4b95 | [
"Apache-2.0"
] | 1 | 2018-01-22T02:07:40.000Z | 2018-01-22T02:07:40.000Z | #
# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
import logging
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport imp... | 29.390793 | 188 | 0.669088 | 7,017 | 60,016 | 5.444349 | 0.023229 | 0.03272 | 0.027328 | 0.05387 | 0.920268 | 0.899039 | 0.870691 | 0.846347 | 0.835824 | 0.82839 | 0 | 0.004103 | 0.216226 | 60,016 | 2,041 | 189 | 29.405194 | 0.808053 | 0.019728 | 0 | 0.842474 | 1 | 0 | 0.026506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.143495 | false | 0.007653 | 0.004464 | 0.040179 | 0.284439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a13a835bfbb509dfeca59ce98d544767c1d121e6 | 7,542 | py | Python | Python_ch6/Ch6_4_Exceptions.py | ninhnguyen01/Python_Book | e5e372f1895b06e908cd0dd07dc68a260c34d7ad | [
"Apache-2.0"
] | null | null | null | Python_ch6/Ch6_4_Exceptions.py | ninhnguyen01/Python_Book | e5e372f1895b06e908cd0dd07dc68a260c34d7ad | [
"Apache-2.0"
] | null | null | null | Python_ch6/Ch6_4_Exceptions.py | ninhnguyen01/Python_Book | e5e372f1895b06e908cd0dd07dc68a260c34d7ad | [
"Apache-2.0"
] | null | null | null | # Exceptions (Title)
# Reading
# ZeroDivisionError:
# # This program divides a number by another number.
def main():
# Get two numbers.
num1 = int(input('Enter a number: '))
num2 = int(input('Enter another number: '))
# Divide num1 by num2 and display the result.
result = num1 / num2
print(f'{num1}... | 22.446429 | 65 | 0.603421 | 984 | 7,542 | 4.511179 | 0.151423 | 0.029962 | 0.03244 | 0.047083 | 0.806263 | 0.797702 | 0.779004 | 0.765488 | 0.719982 | 0.675152 | 0 | 0.008841 | 0.295147 | 7,542 | 336 | 66 | 22.446429 | 0.826185 | 0.462344 | 0 | 0.909836 | 0 | 0 | 0.226854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090164 | false | 0 | 0 | 0 | 0.090164 | 0.188525 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a186eb03412bef3a6cc899ccb6ec9826159af45a | 147 | py | Python | torchlib/layers/__init__.py | AnonymousExplorer/Conditional-GANs-Pytorch | 6c15ec67217156d6f041e34efe29ab62f9ef7c7d | [
"MIT"
] | 40 | 2018-12-11T02:14:19.000Z | 2022-03-19T06:16:26.000Z | torchlib/layers/__init__.py | AnonymousExplorer/Conditional-GANs-Pytorch | 6c15ec67217156d6f041e34efe29ab62f9ef7c7d | [
"MIT"
] | null | null | null | torchlib/layers/__init__.py | AnonymousExplorer/Conditional-GANs-Pytorch | 6c15ec67217156d6f041e34efe29ab62f9ef7c7d | [
"MIT"
] | 19 | 2019-03-21T19:11:14.000Z | 2022-01-17T05:54:13.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from torchlib.layers.layers import *
| 24.5 | 38 | 0.863946 | 19 | 147 | 5.947368 | 0.473684 | 0.265487 | 0.424779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115646 | 147 | 5 | 39 | 29.4 | 0.869231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a19c426cfa17fe02fd822e6b8f96c100cf44a9ad | 4,443 | py | Python | pyaz/netappfiles/volume/backup/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/netappfiles/volume/backup/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/netappfiles/volume/backup/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage Azure NetApp Files (ANF) Volume Backup Resources.
'''
from .... pyaz_utils import _call_az
def show(account_name, backup_name, pool_name, resource_group, volume_name):
'''
Get the specified ANF Backup.
Required Parameters:
- account_name -- Name of the ANF account.
- backup_name -- The ... | 40.761468 | 161 | 0.705379 | 608 | 4,443 | 5.006579 | 0.120066 | 0.059133 | 0.068003 | 0.089685 | 0.801248 | 0.793035 | 0.782852 | 0.782852 | 0.768068 | 0.768068 | 0 | 0 | 0.203916 | 4,443 | 108 | 162 | 41.138889 | 0.860616 | 0.666892 | 0 | 0 | 0 | 0 | 0.211017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
a1a052886ad6dc428ca2af41746db43c2c9f2548 | 77 | py | Python | test_unittest.py | itsAshna/Stop-Words-List | b023008015d228991d92561bcc2fb109fa08bf28 | [
"MIT"
] | null | null | null | test_unittest.py | itsAshna/Stop-Words-List | b023008015d228991d92561bcc2fb109fa08bf28 | [
"MIT"
] | null | null | null | test_unittest.py | itsAshna/Stop-Words-List | b023008015d228991d92561bcc2fb109fa08bf28 | [
"MIT"
] | 1 | 2021-07-08T17:22:16.000Z | 2021-07-08T17:22:16.000Z | import parser
def test_check_double():
assert parser.runner() == "PASS"
| 15.4 | 36 | 0.701299 | 10 | 77 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 4 | 37 | 19.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
a1a930ee7f030dcd160f1734bdfe9ed33a8fd8c5 | 102 | py | Python | app/back/mongo/data/collect/rivers/__init__.py | jgphilpott/polyplot | c46861174ee5881dadffbfb2278d555462523547 | [
"MIT"
] | 5 | 2021-05-17T14:17:14.000Z | 2021-12-14T12:54:32.000Z | app/back/mongo/data/collect/rivers/__init__.py | jgphilpott/iGraph | 2a91ba57e4950856a83d3a109753f8f2badee829 | [
"MIT"
] | 8 | 2020-02-09T02:48:41.000Z | 2021-05-16T04:57:02.000Z | app/back/mongo/data/collect/rivers/__init__.py | jgphilpott/iGraph | 2a91ba57e4950856a83d3a109753f8f2badee829 | [
"MIT"
] | 2 | 2016-09-12T03:48:16.000Z | 2019-05-04T14:15:19.000Z | from back.mongo.data.collect.rivers.model import *
from back.mongo.data.collect.rivers.mongo import *
| 34 | 50 | 0.803922 | 16 | 102 | 5.125 | 0.5 | 0.195122 | 0.317073 | 0.414634 | 0.731707 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 51 | 51 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a1b251e27adb50843c3576bb689fe09f996d2ad0 | 2,664 | py | Python | anubis-management-api/anubis/tests/test_tenants.py | orchestracities/anubis | 34cfeeef4485f2e011da6e6216d8c67041366c63 | [
"Apache-2.0"
] | null | null | null | anubis-management-api/anubis/tests/test_tenants.py | orchestracities/anubis | 34cfeeef4485f2e011da6e6216d8c67041366c63 | [
"Apache-2.0"
] | 21 | 2022-02-21T14:07:04.000Z | 2022-03-29T14:19:37.000Z | anubis-management-api/anubis/tests/test_tenants.py | orchestracities/anubis | 34cfeeef4485f2e011da6e6216d8c67041366c63 | [
"Apache-2.0"
] | null | null | null | from fastapi.testclient import TestClient
from ..main import app
from .utils import test_db
client = TestClient(app)
def test_tenants(test_db):
response = client.post(
"/v1/tenants/",
json={"name": "test"}
)
assert response.status_code == 201
tenant_id = response.headers["tenant-id"]... | 26.909091 | 73 | 0.616366 | 316 | 2,664 | 5.022152 | 0.123418 | 0.090737 | 0.163831 | 0.196597 | 0.876497 | 0.876497 | 0.84247 | 0.806553 | 0.806553 | 0.744171 | 0 | 0.028274 | 0.243243 | 2,664 | 98 | 74 | 27.183673 | 0.758929 | 0 | 0 | 0.703704 | 0 | 0 | 0.165165 | 0.023649 | 0 | 0 | 0 | 0 | 0.308642 | 1 | 0.024691 | false | 0 | 0.037037 | 0 | 0.061728 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a1b378f5abe19b555783636f828945b0b7ae173b | 2,565 | py | Python | tests/scripts/test_update_instrument.py | FlorianRhiem/sampledb | 3363adbe5f2771d1178a5b6d530be960ce41c560 | [
"MIT"
] | null | null | null | tests/scripts/test_update_instrument.py | FlorianRhiem/sampledb | 3363adbe5f2771d1178a5b6d530be960ce41c560 | [
"MIT"
] | null | null | null | tests/scripts/test_update_instrument.py | FlorianRhiem/sampledb | 3363adbe5f2771d1178a5b6d530be960ce41c560 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
"""
import pytest
from sampledb.logic import instruments
import sampledb.__main__ as scripts
from ..test_utils import app_context
def test_update_instrument(capsys):
name = 'Example Instrument'
description = 'Example Instrument Description'
instrument = instruments.create_instrument(... | 35.625 | 88 | 0.732554 | 294 | 2,565 | 6.180272 | 0.187075 | 0.127133 | 0.151348 | 0.101266 | 0.826087 | 0.80022 | 0.766648 | 0.733627 | 0.733627 | 0.610897 | 0 | 0.009763 | 0.161404 | 2,565 | 71 | 89 | 36.126761 | 0.83496 | 0.005068 | 0 | 0.647059 | 0 | 0 | 0.13808 | 0 | 0 | 0 | 0 | 0 | 0.431373 | 1 | 0.078431 | false | 0 | 0.078431 | 0 | 0.156863 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a1f3bf791894dcc4f7ed70790e61b8a6efc3a9c8 | 195 | py | Python | scripts/wnet/create_exportable_tiles.py | SchiffFlieger/semantic-segmentation-master-thesis | f54b8321a9e0828e492bc6847acbff80c1a75d7c | [
"MIT"
] | 1 | 2021-02-07T09:22:44.000Z | 2021-02-07T09:22:44.000Z | scripts/wnet/create_exportable_tiles.py | SchiffFlieger/semantic-segmentation-master-thesis | f54b8321a9e0828e492bc6847acbff80c1a75d7c | [
"MIT"
] | null | null | null | scripts/wnet/create_exportable_tiles.py | SchiffFlieger/semantic-segmentation-master-thesis | f54b8321a9e0828e492bc6847acbff80c1a75d7c | [
"MIT"
] | null | null | null | from scripts.common.create_exportable_tiles import create_exportable_tile_table
if __name__ == '__main__':
create_exportable_tile_table(table_suffix="wnet", tile_size=25.6, label_size=25.6)
| 39 | 86 | 0.825641 | 29 | 195 | 4.896552 | 0.62069 | 0.338028 | 0.28169 | 0.352113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03352 | 0.082051 | 195 | 4 | 87 | 48.75 | 0.759777 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
62cf9a96333e9bfaa43b3118180b69188f97c7f9 | 11,104 | py | Python | server/tests/range_test.py | chejennifer/website | b7589f1fa288e0e4e12cd97a6bbbcb9f3fd3d833 | [
"Apache-2.0"
] | 11 | 2020-07-18T17:04:26.000Z | 2022-03-23T08:44:09.000Z | server/tests/range_test.py | chejennifer/website | b7589f1fa288e0e4e12cd97a6bbbcb9f3fd3d833 | [
"Apache-2.0"
] | 747 | 2020-06-22T16:56:45.000Z | 2022-03-31T19:04:55.000Z | server/tests/range_test.py | chejennifer/website | b7589f1fa288e0e4e12cd97a6bbbcb9f3fd3d833 | [
"Apache-2.0"
] | 33 | 2019-09-25T21:26:12.000Z | 2022-03-23T08:27:33.000Z | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 43.545098 | 77 | 0.557637 | 841 | 11,104 | 6.812128 | 0.151011 | 0.424332 | 0.053762 | 0.06598 | 0.899284 | 0.894222 | 0.894222 | 0.890731 | 0.888811 | 0.876942 | 0 | 0.116302 | 0.361942 | 11,104 | 254 | 78 | 43.716535 | 0.692308 | 0.049352 | 0 | 0.726496 | 0 | 0 | 0.513375 | 0.502941 | 0 | 0 | 0 | 0 | 0.012821 | 1 | 0.012821 | false | 0 | 0.008547 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
62e5fc9d1f89a652cd9fe88a2a1e9894d3dfafcc | 7,776 | py | Python | models/wow_community/CharacterProfile.py | DylanCa/PBAW | b1f50fb9a21ada9ec6deb616820f9177fc36146f | [
"MIT"
] | 1 | 2018-08-07T10:00:44.000Z | 2018-08-07T10:00:44.000Z | models/wow_community/CharacterProfile.py | DylanCa/PBAW | b1f50fb9a21ada9ec6deb616820f9177fc36146f | [
"MIT"
] | 1 | 2018-08-07T08:17:59.000Z | 2018-08-07T08:17:59.000Z | models/wow_community/CharacterProfile.py | DylanCa/PBAW | b1f50fb9a21ada9ec6deb616820f9177fc36146f | [
"MIT"
] | null | null | null | from models import Fetcher
class CharacterProfile():
def __init__(self):
self.route = '/wow/character/{}/{}'
def characterProfile(self,
server="eu",
realm="archimonde",
characterName="Protòtype",
local... | 27.477032 | 60 | 0.501543 | 650 | 7,776 | 5.963077 | 0.069231 | 0.141641 | 0.144479 | 0.087719 | 0.889577 | 0.889577 | 0.889577 | 0.889577 | 0.889577 | 0.889577 | 0 | 0 | 0.393904 | 7,776 | 282 | 61 | 27.574468 | 0.822406 | 0 | 0 | 0.800905 | 0 | 0 | 0.104295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095023 | false | 0 | 0.004525 | 0 | 0.19457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
62fcc9cd4e46ee14c0831b6431d373fb69986fc5 | 25,639 | py | Python | publishfeed/test_data/feedparser_data.py | RobertLD/publishfeed-OTC | b67192517706f5dfbe0210f5deaef258ae10d28d | [
"MIT"
] | 9 | 2017-06-08T18:13:33.000Z | 2021-11-02T12:41:46.000Z | publishfeed/test_data/feedparser_data.py | RobertLD/publishfeed-OTC | b67192517706f5dfbe0210f5deaef258ae10d28d | [
"MIT"
] | 4 | 2021-03-30T15:52:52.000Z | 2021-04-11T17:22:46.000Z | publishfeed/test_data/feedparser_data.py | RobertLD/publishfeed-OTC | b67192517706f5dfbe0210f5deaef258ae10d28d | [
"MIT"
] | 4 | 2020-11-26T23:20:16.000Z | 2022-03-03T12:20:25.000Z | from munch import munchify
# a real response example without time structs (from published_parsed and update-parsed)
feedparser_parse_response = {'feed': {'title': 'Hacker News', 'title_detail': {'type': 'text/plain', 'language': None, 'base': 'https://news.ycombinator.com/rss', 'value': 'Hacker News'}, 'links': [{'rel... | 4,273.166667 | 25,469 | 0.68973 | 3,578 | 25,639 | 4.923421 | 0.125489 | 0.123978 | 0.175976 | 0.202373 | 0.933413 | 0.905257 | 0.846673 | 0.803304 | 0.722071 | 0.619891 | 0 | 0.064979 | 0.067826 | 25,639 | 5 | 25,470 | 5,127.8 | 0.671925 | 0.003354 | 0 | 0 | 0 | 29.666667 | 0.803804 | 0.003992 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 13 |
1a28d23d0d4e839f26e2338bdbb3f8f97cffe64e | 29,109 | py | Python | analysis/explan_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 1 | 2017-11-01T20:09:32.000Z | 2017-11-01T20:09:32.000Z | analysis/explan_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 103 | 2017-09-14T17:04:53.000Z | 2018-08-15T22:52:32.000Z | analysis/explan_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 6 | 2018-01-31T00:05:14.000Z | 2020-01-29T07:01:29.000Z | import unittest
from flatten import parse_line
import extractionMap as extractionMap
# selectedRewardBar: "tutorial.scr,9-13-2018,12:23:47:489,1536866627489,1,1.0,userClick:721_277;region:scaii-interface;target:rewardBar;selectedRewardBar:Attack Q1.Enemy Destroyed,false,false,false,false,false,false"
# click... | 65.560811 | 268 | 0.714453 | 2,863 | 29,109 | 7.242403 | 0.044708 | 0.243067 | 0.291681 | 0.293224 | 0.977767 | 0.968941 | 0.963251 | 0.963058 | 0.962672 | 0.961514 | 0 | 0.022238 | 0.130269 | 29,109 | 443 | 269 | 65.708804 | 0.796777 | 0.062043 | 0 | 0.909341 | 0 | 0.016484 | 0.487817 | 0.424358 | 0 | 0 | 0 | 0 | 0.923077 | 1 | 0.016484 | false | 0 | 0.008242 | 0 | 0.027473 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
c557e9f484e9814750e96efe16f86d582118aeb7 | 203 | py | Python | services/others/lamdsh/gettrans/core.py | X5GON/lamapi | 0558c3b7af520ab83bdbd29e1b1b9b87bdc147b0 | [
"BSD-2-Clause"
] | null | null | null | services/others/lamdsh/gettrans/core.py | X5GON/lamapi | 0558c3b7af520ab83bdbd29e1b1b9b87bdc147b0 | [
"BSD-2-Clause"
] | null | null | null | services/others/lamdsh/gettrans/core.py | X5GON/lamapi | 0558c3b7af520ab83bdbd29e1b1b9b87bdc147b0 | [
"BSD-2-Clause"
] | null | null | null | from components.dataconnection.index import get_transcription_forlamdash
# Get resTrans for lamdsh
def get_resource_lamdshtrans(resource_infos):
return get_transcription_forlamdash(resource_infos)
| 29 | 72 | 0.866995 | 24 | 203 | 7 | 0.666667 | 0.190476 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093596 | 203 | 6 | 73 | 33.833333 | 0.913043 | 0.1133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 7 |
3dc0c1fbe9f455c5a7cf75fd24ac3766996955a9 | 64,050 | py | Python | chunair/kicad-footprint-generator-master/scripts/Potentiometers/make_Potentiometer_THT.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | 2 | 2022-03-18T23:42:51.000Z | 2022-03-19T15:31:34.000Z | chunair/kicad-footprint-generator-master/scripts/Potentiometers/make_Potentiometer_THT.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | null | null | null | chunair/kicad-footprint-generator-master/scripts/Potentiometers/make_Potentiometer_THT.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | null | null | null | #!/usr/bin/env python
import sys
import os
import math
# ensure that the kicad-footprint-generator directory is available
#sys.path.append(os.environ.get('KIFOOTPRINTGENERATOR')) # enable package import from parent directory
#sys.path.append("D:\hardware\KiCAD\kicad-footprint-generator") # enable package import fro... | 151.41844 | 495 | 0.764309 | 9,779 | 64,050 | 4.857654 | 0.032723 | 0.052481 | 0.028588 | 0.036756 | 0.948845 | 0.935246 | 0.930825 | 0.92051 | 0.912237 | 0.898491 | 0 | 0.06115 | 0.087494 | 64,050 | 422 | 496 | 151.777251 | 0.751617 | 0.06701 | 0 | 0.365439 | 0 | 0.022663 | 0.068105 | 0.001976 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016997 | 0 | 0.016997 | 0.002833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3ddb3325498618dd871d413c684017a29b1838a5 | 80 | py | Python | jenkins/test.py | martyni/static_uploader | 6509303aaf1cbfca83189ecbe346345fefb0a234 | [
"MIT"
] | 1 | 2017-06-12T13:59:21.000Z | 2017-06-12T13:59:21.000Z | jenkins/test.py | martyni/static_uploader | 6509303aaf1cbfca83189ecbe346345fefb0a234 | [
"MIT"
] | 1 | 2021-06-01T21:49:30.000Z | 2021-06-01T21:49:30.000Z | jenkins/test.py | martyni/static_uploader | 6509303aaf1cbfca83189ecbe346345fefb0a234 | [
"MIT"
] | null | null | null | import requests
import sys
print "url: " + sys.argv[1]
base_url = sys.argv[1]
| 11.428571 | 27 | 0.6875 | 14 | 80 | 3.857143 | 0.571429 | 0.222222 | 0.37037 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.175 | 80 | 6 | 28 | 13.333333 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3df7d9547ab5ffa2604f8b528f1fe7db20182821 | 27,406 | py | Python | week/migrations/0001_initial.py | Tarun1226/Fitgirl | 41686530c09eee33492d70474cd11749123e8eba | [
"MIT"
] | null | null | null | week/migrations/0001_initial.py | Tarun1226/Fitgirl | 41686530c09eee33492d70474cd11749123e8eba | [
"MIT"
] | 13 | 2019-03-04T00:59:24.000Z | 2021-09-08T00:51:08.000Z | week/migrations/0001_initial.py | Tarun1226/Fitgirl | 41686530c09eee33492d70474cd11749123e8eba | [
"MIT"
] | 1 | 2019-03-11T02:24:52.000Z | 2019-03-11T02:24:52.000Z | # Generated by Django 2.1.5 on 2019-03-04 02:29
import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.documents.blocks
import wagtail.embeds.blocks
import... | 61.586517 | 461 | 0.603189 | 2,711 | 27,406 | 5.962744 | 0.08779 | 0.051222 | 0.035509 | 0.0558 | 0.86279 | 0.861182 | 0.838911 | 0.831673 | 0.828766 | 0.818559 | 0 | 0.007455 | 0.246296 | 27,406 | 444 | 462 | 61.725225 | 0.775126 | 0.001642 | 0 | 0.748284 | 1 | 0 | 0.211557 | 0.014401 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022883 | 0 | 0.032037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b14203aa97e45c85d4a026d0c82d204ab916e3a4 | 202,162 | py | Python | projects/src/main/python/CodeJam/Y14R5P1/Nin/generated_py_de99b6cfd1c241b9b63c1aa0be3366a5.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 5 | 2020-04-05T18:04:13.000Z | 2021-04-13T20:34:19.000Z | projects/src/main/python/CodeJam/Y14R5P1/Nin/generated_py_de99b6cfd1c241b9b63c1aa0be3366a5.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 1 | 2020-04-29T21:42:26.000Z | 2020-05-01T23:45:45.000Z | projects/src/main/python/CodeJam/Y14R5P1/Nin/generated_py_de99b6cfd1c241b9b63c1aa0be3366a5.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 3 | 2020-01-27T16:02:14.000Z | 2021-02-08T13:25:15.000Z | import sys
sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python')
from CodeJam.Y14R5P1.Nin.a2 import *
def func_717d246c1b9b4310ac153dec98d6567d(cum, ar, al):
amid = (al + ar) // 2
left = cum[amid]
return left
def func_45a8ae82050e4422b36fef97690207cf(cum, ar, al):
ami... | 25.435581 | 86 | 0.456302 | 30,406 | 202,162 | 3.014504 | 0.018417 | 0.083745 | 0.070566 | 0.063278 | 0.824905 | 0.824327 | 0.823967 | 0.823945 | 0.823727 | 0.822156 | 0 | 0.098253 | 0.37371 | 202,162 | 7,947 | 87 | 25.438782 | 0.625683 | 0 | 0 | 0.928756 | 0 | 0 | 0.005585 | 0.003092 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.000287 | null | null | 0.005171 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b149c646a47259375c64c54a82dad39404509967 | 16,506 | py | Python | xenonpy/mdl/model.py | mori0711/XenonPy | e36ca0ea112b45ee629cd980c88e80cd6c96c514 | [
"BSD-3-Clause"
] | 93 | 2018-02-11T23:43:47.000Z | 2022-03-11T02:40:11.000Z | xenonpy/mdl/model.py | mori0711/XenonPy | e36ca0ea112b45ee629cd980c88e80cd6c96c514 | [
"BSD-3-Clause"
] | 192 | 2018-04-20T04:32:12.000Z | 2022-03-24T05:59:18.000Z | xenonpy/mdl/model.py | mori0711/XenonPy | e36ca0ea112b45ee629cd980c88e80cd6c96c514 | [
"BSD-3-Clause"
] | 51 | 2018-01-18T08:08:55.000Z | 2022-03-01T05:52:22.000Z | # Copyright (c) 2021. yoshida-lab. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
import pandas as pd
from xenonpy.mdl.base import BaseQuery
class QueryModelDetailsWith(BaseQuery):
common = [
'id',
'transferred',
... | 25.009091 | 81 | 0.451048 | 1,324 | 16,506 | 5.452417 | 0.109517 | 0.046544 | 0.05818 | 0.038787 | 0.808422 | 0.806067 | 0.791661 | 0.791661 | 0.791661 | 0.77864 | 0 | 0.001254 | 0.42009 | 16,506 | 659 | 82 | 25.047041 | 0.752925 | 0.082637 | 0 | 0.811563 | 0 | 0 | 0.425459 | 0.010997 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062099 | false | 0.004283 | 0.004283 | 0.023555 | 0.184154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b1a854b32a606c071f650be42f138cd5c6b1db76 | 23,198 | py | Python | packages/syft/src/syft/proto/grid/messages/setup_messages_pb2.py | callezenwaka/PySyft | 2545c302441cfe727ec095c4f9aa136bff02be32 | [
"Apache-1.1"
] | 1 | 2021-09-14T10:56:43.000Z | 2021-09-14T10:56:43.000Z | packages/syft/src/syft/proto/grid/messages/setup_messages_pb2.py | callezenwaka/PySyft | 2545c302441cfe727ec095c4f9aa136bff02be32 | [
"Apache-1.1"
] | 2 | 2021-04-02T10:12:44.000Z | 2021-04-02T10:12:50.000Z | packages/syft/src/syft/proto/grid/messages/setup_messages_pb2.py | callezenwaka/PySyft | 2545c302441cfe727ec095c4f9aa136bff02be32 | [
"Apache-1.1"
] | 1 | 2021-08-19T12:23:01.000Z | 2021-08-19T12:23:01.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: proto/grid/messages/setup_messages.proto
"""Generated protocol buffer code."""
# third party
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import refl... | 33.767103 | 1,639 | 0.620872 | 2,428 | 23,198 | 5.582372 | 0.071664 | 0.043677 | 0.065885 | 0.057769 | 0.80242 | 0.790173 | 0.733142 | 0.72082 | 0.718681 | 0.707024 | 0 | 0.036077 | 0.283085 | 23,198 | 686 | 1,640 | 33.816327 | 0.778907 | 0.027675 | 0 | 0.810769 | 1 | 0.004615 | 0.144461 | 0.114291 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004615 | 0.009231 | 0 | 0.009231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
492b654e8e7935fc915b06c1a6be65b9fa99b431 | 57,578 | py | Python | tests/unit/KeysLookupTests.py | risk-frontiers/OasisIntegration | ddcc86263d4022d3e3f9a0f3a5860476bdf164b1 | [
"Condor-1.1",
"RSA-MD",
"Naumen",
"Xnet",
"X11",
"MS-PL"
] | 1 | 2020-09-25T08:56:23.000Z | 2020-09-25T08:56:23.000Z | tests/unit/KeysLookupTests.py | risk-frontiers/OasisIntegration | ddcc86263d4022d3e3f9a0f3a5860476bdf164b1 | [
"Condor-1.1",
"RSA-MD",
"Naumen",
"Xnet",
"X11",
"MS-PL"
] | 2 | 2020-08-12T16:04:36.000Z | 2020-08-14T01:20:13.000Z | tests/unit/KeysLookupTests.py | risk-frontiers/OasisIntegration | ddcc86263d4022d3e3f9a0f3a5860476bdf164b1 | [
"Condor-1.1",
"RSA-MD",
"Naumen",
"Xnet",
"X11",
"MS-PL"
] | null | null | null | import unittest
import copy
from parameterized import parameterized
import itertools
from datetime import date
from oasislmf.utils.coverages import COVERAGE_TYPES
from complex_model import HailAUSKeysLookup
from complex_model.Common import *
from complex_model.utils import to_bool
from tests.unit.RFBaseTest import RF... | 53.660764 | 121 | 0.668016 | 6,221 | 57,578 | 5.966565 | 0.034239 | 0.055364 | 0.028719 | 0.046393 | 0.919096 | 0.91166 | 0.902931 | 0.890457 | 0.876583 | 0.862897 | 0 | 0.032581 | 0.21213 | 57,578 | 1,072 | 122 | 53.710821 | 0.785645 | 0.015874 | 0 | 0.796296 | 0 | 0 | 0.153684 | 0 | 0 | 0 | 0 | 0 | 0.300926 | 1 | 0.078704 | false | 0 | 0.011574 | 0 | 0.096065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
493d7cc545169b4eff317db6ddd80a036f471852 | 105 | py | Python | leo/strategy/__init__.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | leo/strategy/__init__.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | leo/strategy/__init__.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
"""
@author: leonardo
@created time: 2020-09-19
@last modified time:2020-09-19
""" | 17.5 | 30 | 0.638095 | 16 | 105 | 4.1875 | 0.75 | 0.238806 | 0.298507 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184783 | 0.12381 | 105 | 6 | 31 | 17.5 | 0.543478 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4966830b8d503ada91c95735629955df7eb9ef30 | 64,066 | py | Python | phonopy/phonon/character_table.py | ttadano/phonopy | 8c03955b2636b22b86e9324f5afcfa36396fa988 | [
"BSD-3-Clause"
] | 1 | 2021-07-10T20:15:31.000Z | 2021-07-10T20:15:31.000Z | phonopy/phonon/character_table.py | ttadano/phonopy | 8c03955b2636b22b86e9324f5afcfa36396fa988 | [
"BSD-3-Clause"
] | null | null | null | phonopy/phonon/character_table.py | ttadano/phonopy | 8c03955b2636b22b86e9324f5afcfa36396fa988 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (C) 2020 Atsushi Togo
# All rights reserved.
#
# This file is part of phonopy.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notic... | 45.958393 | 111 | 0.127462 | 5,264 | 64,066 | 1.530015 | 0.051672 | 0.302458 | 0.232059 | 0.249317 | 0.800844 | 0.764092 | 0.741122 | 0.720139 | 0.701515 | 0.690837 | 0 | 0.236649 | 0.695736 | 64,066 | 1,393 | 112 | 45.991386 | 0.176525 | 0.029594 | 0 | 0.864969 | 0 | 0.009259 | 0.040868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
49887d93423373702a76fa054bed6d25a9670a47 | 3,108 | py | Python | plots_results.py | valko073/rl_insurance | 74fe7dd328358152f2aca8b2fe55d2539e8838d9 | [
"MIT"
] | null | null | null | plots_results.py | valko073/rl_insurance | 74fe7dd328358152f2aca8b2fe55d2539e8838d9 | [
"MIT"
] | null | null | null | plots_results.py | valko073/rl_insurance | 74fe7dd328358152f2aca8b2fe55d2539e8838d9 | [
"MIT"
] | null | null | null | import neptune
from config import EnvConfig
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import pickle
%matplotlib qt
plt.rcParams.update({'font.size': 22})
comet_cfg = EnvConfig()
session = neptune.Session(api_token=comet_cfg.neptune_token)
project = s... | 38.85 | 101 | 0.761261 | 485 | 3,108 | 4.678351 | 0.164948 | 0.077567 | 0.084619 | 0.031732 | 0.857647 | 0.825915 | 0.825915 | 0.825915 | 0.825915 | 0.825915 | 0 | 0.034925 | 0.097169 | 3,108 | 80 | 102 | 38.85 | 0.773699 | 0.176319 | 0 | 0.75 | 0 | 0 | 0.310074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b8d1c9b26844eec160d219238a33dd9ecffd0c08 | 5,295 | py | Python | tests/test_graphs.py | HTalarmo/neat-python | 08f5093712deb1ccbdb31eda8fbc3de797ff50a8 | [
"BSD-3-Clause"
] | 1,129 | 2015-10-01T20:06:37.000Z | 2022-03-29T22:53:03.000Z | tests/test_graphs.py | HTalarmo/neat-python | 08f5093712deb1ccbdb31eda8fbc3de797ff50a8 | [
"BSD-3-Clause"
] | 225 | 2015-10-01T17:21:34.000Z | 2022-03-07T13:29:50.000Z | tests/test_graphs.py | HTalarmo/neat-python | 08f5093712deb1ccbdb31eda8fbc3de797ff50a8 | [
"BSD-3-Clause"
] | 561 | 2015-11-14T23:44:52.000Z | 2022-03-31T17:51:30.000Z | import random
from neat.graphs import creates_cycle, required_for_output, feed_forward_layers
def assert_almost_equal(x, y, tol):
assert abs(x - y) < tol, "{!r} !~= {!r}".format(x, y)
def test_creates_cycle():
assert creates_cycle([(0, 1), (1, 2), (2, 3)], (0, 0))
assert creates_cycle([(0, 1), (1, 2),... | 32.888199 | 90 | 0.517658 | 771 | 5,295 | 3.417639 | 0.088197 | 0.018975 | 0.118406 | 0.125237 | 0.86186 | 0.829602 | 0.812903 | 0.783302 | 0.783302 | 0.725996 | 0 | 0.108544 | 0.297073 | 5,295 | 160 | 91 | 33.09375 | 0.599409 | 0 | 0 | 0.703125 | 0 | 0 | 0.003966 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 1 | 0.046875 | false | 0 | 0.015625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7702db91fd736ccb3c2f32d2fa68420e779927a7 | 33,769 | py | Python | custodian/qchem/tests/test_jobs.py | JaGeo/custodian | 9e3bdcb51f6354282d8c12df95ff71b9338812bb | [
"MIT"
] | null | null | null | custodian/qchem/tests/test_jobs.py | JaGeo/custodian | 9e3bdcb51f6354282d8c12df95ff71b9338812bb | [
"MIT"
] | null | null | null | custodian/qchem/tests/test_jobs.py | JaGeo/custodian | 9e3bdcb51f6354282d8c12df95ff71b9338812bb | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals, division
import os
import shutil
from unittest import TestCase
try:
from unittest.mock import patch
except ImportError:
from mock import patch
import unittest
from custodian.qchem.jobs import QCJob
from pymatgen.io.qchem.inputs import QCInput
__autho... | 34.213779 | 88 | 0.541295 | 3,995 | 33,769 | 4.317647 | 0.038298 | 0.052525 | 0.086962 | 0.060873 | 0.950142 | 0.946374 | 0.937446 | 0.930605 | 0.922662 | 0.916575 | 0 | 0.022457 | 0.324854 | 33,769 | 986 | 89 | 34.248479 | 0.734111 | 0.000385 | 0 | 0.770213 | 0 | 0 | 0.152249 | 0.062481 | 0 | 0 | 0 | 0 | 0.092553 | 1 | 0.028723 | false | 0 | 0.010638 | 0 | 0.048936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7721027662d0030de71b50cc783a6fda14e84c80 | 7,477 | py | Python | py/programs/img_1.py | fpfaffendorf/pLauncher | e9d77019442d6d7bea45716cfd9c32358854d148 | [
"Apache-2.0"
] | 1 | 2018-04-16T15:58:15.000Z | 2018-04-16T15:58:15.000Z | py/programs/img_1.py | fpfaffendorf/pLauncher | e9d77019442d6d7bea45716cfd9c32358854d148 | [
"Apache-2.0"
] | null | null | null | py/programs/img_1.py | fpfaffendorf/pLauncher | e9d77019442d6d7bea45716cfd9c32358854d148 | [
"Apache-2.0"
] | null | null | null | # -------------------------------------------------------------------------------------------------------------------------------------------------------------
from __future__ import print_function
from lib import meeus
import sys
import math
# ---------------------------------------------------------------------------... | 65.587719 | 159 | 0.575364 | 1,082 | 7,477 | 3.971349 | 0.075786 | 1.046311 | 1.312544 | 1.496858 | 0.804748 | 0.790784 | 0.782872 | 0.782872 | 0.777286 | 0.761461 | 0 | 0.458714 | 0.194998 | 7,477 | 113 | 160 | 66.168142 | 0.255192 | 0.086131 | 0 | 0.058824 | 0 | 0 | 0.004541 | 0 | 0 | 0 | 0.600557 | 0 | 0 | 0 | null | null | 0 | 0.039216 | null | null | 0.04902 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
7722875eb3d303145946d452b9e441447b4fc27b | 15,960 | py | Python | compareSUB.py | ninja777/Utils | be3b6c0bca6c664b791b4703ad40e62cd4f21833 | [
"MIT"
] | null | null | null | compareSUB.py | ninja777/Utils | be3b6c0bca6c664b791b4703ad40e62cd4f21833 | [
"MIT"
] | null | null | null | compareSUB.py | ninja777/Utils | be3b6c0bca6c664b791b4703ad40e62cd4f21833 | [
"MIT"
] | null | null | null | import CompareEqlist as o
file1 = '../server16_ifiles/results/OUTPUTMLS-SUBSUMP.txt'
file2 = '../server17_ifiles/results/OUTPUTMLS-SUBSUMP.txt'
a = o.subSumptionClass(filename=file1)
a.parseFile()
b = o.subSumptionClass(filename=file2)
b.parseFile()
eqlistPresent = False
OperationPresent = False
OperandPresent =... | 51.318328 | 130 | 0.416165 | 1,205 | 15,960 | 5.510373 | 0.088797 | 0.058283 | 0.071536 | 0.057831 | 0.832831 | 0.817169 | 0.80753 | 0.80753 | 0.80753 | 0.80753 | 0 | 0.016302 | 0.492669 | 15,960 | 311 | 131 | 51.318328 | 0.803754 | 0.060276 | 0 | 0.799213 | 0 | 0 | 0.103527 | 0.006412 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.003937 | null | null | 0.350394 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6248786a0da5b3972865c7c5478dc4c189520700 | 7,483 | py | Python | tests/terraform/checks/resource/azure/test_IoTNoPublicNetworkAccess.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | tests/terraform/checks/resource/azure/test_IoTNoPublicNetworkAccess.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | tests/terraform/checks/resource/azure/test_IoTNoPublicNetworkAccess.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | import unittest
import hcl2
from checkov.terraform.checks.resource.azure.IoTNoPublicNetworkAccess import check
from checkov.common.models.enums import CheckResult
class TestIoTNoPublicNetworkAccess(unittest.TestCase):
def test_success_missing_attribute(self):
hcl_res = hcl2.loads("""
resourc... | 38.572165 | 107 | 0.443539 | 515 | 7,483 | 6.128155 | 0.196117 | 0.060837 | 0.038023 | 0.051331 | 0.905894 | 0.889417 | 0.889417 | 0.889417 | 0.889417 | 0.889417 | 0 | 0.014271 | 0.484966 | 7,483 | 193 | 108 | 38.772021 | 0.804619 | 0 | 0 | 0.775758 | 0 | 0.018182 | 0.867032 | 0.165308 | 0 | 0 | 0 | 0 | 0.018182 | 1 | 0.018182 | false | 0.012121 | 0.024242 | 0 | 0.048485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6248827e546e22a9eec842e4b5b214545067d28c | 123,378 | py | Python | sdk/python/pulumi_google_native/monitoring/v3/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/monitoring/v3/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/monitoring/v3/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 56.75161 | 1,541 | 0.70348 | 16,144 | 123,378 | 5.246283 | 0.063739 | 0.017356 | 0.016884 | 0.024676 | 0.809389 | 0.783248 | 0.774464 | 0.750567 | 0.738535 | 0.730141 | 0 | 0.003531 | 0.221952 | 123,378 | 2,173 | 1,542 | 56.777727 | 0.878774 | 0.559524 | 0 | 0.503722 | 1 | 0.019851 | 0.203588 | 0.069993 | 0 | 0 | 0 | 0 | 0 | 1 | 0.182796 | false | 0.004963 | 0.00579 | 0 | 0.35153 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6250ae6a6e22f4d811fe434bb34e69a45bfe9b76 | 15,625 | py | Python | src/the_tale/the_tale/game/companions/tests/test_abilities_container.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/game/companions/tests/test_abilities_container.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/game/companions/tests/test_abilities_container.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
effects = companions_abilities_effects
class ContainerTests(utils_testcase.TestCase):
def setUp(self):
super(ContainerTests, self).setUp()
self.container_1 = companions_abilities_container.Container(common=(effects.ABILITIES.PEACEFUL, effects.ABILITIE... | 72.337963 | 165 | 0.67712 | 1,951 | 15,625 | 5.204511 | 0.049206 | 0.162596 | 0.168407 | 0.248178 | 0.889009 | 0.828147 | 0.777526 | 0.753595 | 0.725133 | 0.69155 | 0 | 0.037133 | 0.20544 | 15,625 | 215 | 166 | 72.674419 | 0.780749 | 0 | 0 | 0.155172 | 0 | 0 | 0.024322 | 0.024322 | 0 | 0 | 0 | 0 | 0.609195 | 1 | 0.097701 | false | 0 | 0.011494 | 0 | 0.114943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6279ef8040cce2e911dcb6be066112176947a47e | 20,007 | py | Python | tests_openshift/database/test_events.py | majamassarini/packit-service | 12baf67799412c8fa56e2a821cd9d584e2437141 | [
"MIT"
] | 20 | 2019-05-24T12:33:05.000Z | 2020-07-28T06:03:57.000Z | tests_openshift/database/test_events.py | majamassarini/packit-service | 12baf67799412c8fa56e2a821cd9d584e2437141 | [
"MIT"
] | 735 | 2019-05-15T11:52:36.000Z | 2020-08-02T23:21:44.000Z | tests_openshift/database/test_events.py | majamassarini/packit-service | 12baf67799412c8fa56e2a821cd9d584e2437141 | [
"MIT"
] | 28 | 2019-05-16T13:32:03.000Z | 2020-07-29T10:23:54.000Z | # Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT
from operator import attrgetter
from flexmock import flexmock
from ogr.services.github import GithubProject
from packit_service.constants import KojiTaskState, PG_BUILD_STATUS_FAILURE
from packit_service.models import (
ProjectReleaseM... | 39.383858 | 88 | 0.781526 | 2,540 | 20,007 | 5.775591 | 0.07874 | 0.161213 | 0.158759 | 0.121336 | 0.867008 | 0.841104 | 0.810293 | 0.794547 | 0.76728 | 0.746012 | 0 | 0.025766 | 0.140651 | 20,007 | 507 | 89 | 39.461538 | 0.827488 | 0.021792 | 0 | 0.628866 | 0 | 0 | 0.085276 | 0.026892 | 0 | 0 | 0 | 0 | 0.520619 | 1 | 0.056701 | false | 0 | 0.023196 | 0 | 0.079897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
657dd57afb45502930b8d0993fbfa669177e8daa | 9,091 | py | Python | flask_blogging/signals.py | lniwn/Flask-Blogging | 2733f5251962f62df6bf19baf7055a25c976e5e0 | [
"MIT"
] | null | null | null | flask_blogging/signals.py | lniwn/Flask-Blogging | 2733f5251962f62df6bf19baf7055a25c976e5e0 | [
"MIT"
] | null | null | null | flask_blogging/signals.py | lniwn/Flask-Blogging | 2733f5251962f62df6bf19baf7055a25c976e5e0 | [
"MIT"
] | null | null | null | """
The flask_blogging signals module
"""
import blinker
signals = blinker.Namespace()
engine_initialised = signals.signal("engine_initialised", doc="""\
Signal send by the ``BloggingEngine`` after the object is initialized.
The arguments passed by the signal are:
:param app: The Flask app which is the sender... | 31.348276 | 76 | 0.763722 | 1,462 | 9,091 | 4.682627 | 0.084131 | 0.061058 | 0.047181 | 0.063833 | 0.789512 | 0.743938 | 0.723342 | 0.709758 | 0.709758 | 0.709758 | 0 | 0 | 0.159718 | 9,091 | 289 | 77 | 31.456747 | 0.896191 | 0.00363 | 0 | 0.732794 | 0 | 0 | 0.876838 | 0.014925 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.008097 | 0.004049 | 0 | 0.004049 | 0.020243 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
65d6cd56f16a393ae3e50b83851c7390c8e631bc | 139 | py | Python | python/testData/psi/PatternMatchingOrPatterns.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/psi/PatternMatchingOrPatterns.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/psi/PatternMatchingOrPatterns.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | match x:
case 1 | 2:
pass
case (1 | 2):
pass
case (1 | 2) | 3:
pass
case 1 | (2 | 3):
pass
| 13.9 | 21 | 0.345324 | 20 | 139 | 2.4 | 0.35 | 0.416667 | 0.5 | 0.625 | 0.875 | 0.875 | 0.541667 | 0 | 0 | 0 | 0 | 0.153846 | 0.532374 | 139 | 9 | 22 | 15.444444 | 0.584615 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.