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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ccde24498317c6fcb97fefd7969f39d4dd246514 | 165 | py | Python | 06/01/LocaleHTMLCalendar/calendar.LocaleHTMLCalendar.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | 06/01/LocaleHTMLCalendar/calendar.LocaleHTMLCalendar.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | 06/01/LocaleHTMLCalendar/calendar.LocaleHTMLCalendar.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | import calendar
print(calendar.LocaleHTMLCalendar())
print(calendar.LocaleHTMLCalendar(firstweekday=0))#月曜日
print(calendar.LocaleHTMLCalendar(firstweekday=6))#日曜日
| 23.571429 | 54 | 0.842424 | 17 | 165 | 8.176471 | 0.529412 | 0.280576 | 0.669065 | 0.618705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.042424 | 165 | 6 | 55 | 27.5 | 0.867089 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
690f416a0aa88169f4795760415e6a9d4bff8a93 | 193,542 | py | Python | google/ads/google_ads/v6/proto/errors/errors_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v6/proto/errors/errors_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/errors/errors_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v6/proto/errors/errors.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf... | 84.112125 | 26,537 | 0.832848 | 27,510 | 193,542 | 5.329117 | 0.041985 | 0.05965 | 0.041445 | 0.036936 | 0.812631 | 0.793307 | 0.759154 | 0.724339 | 0.686025 | 0.639873 | 0 | 0.030342 | 0.079419 | 193,542 | 2,300 | 26,538 | 84.148696 | 0.792486 | 0.005126 | 0 | 0.472086 | 1 | 0.065654 | 0.294533 | 0.196245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056275 | 0 | 0.056275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 7 |
69251a47601cb3e59d9b74a4654509644b90a020 | 121 | py | Python | src/cinnamon/drift/tree_ensemble_drift_explainer.py | zelros/cinnamon | 9fbac281ed3ab2a1ce61fb48d845f3a6e97d1221 | [
"MIT"
] | 51 | 2021-11-18T10:52:30.000Z | 2022-03-17T10:23:09.000Z | src/cinnamon/drift/tree_ensemble_drift_explainer.py | YohannLeFaou/cinnamon | 0e1592f3c01a9e907f7467a2928a57ce1c2f6625 | [
"MIT"
] | 3 | 2021-11-28T01:09:01.000Z | 2022-03-16T10:32:13.000Z | src/cinnamon/drift/tree_ensemble_drift_explainer.py | YohannLeFaou/cinnamon | 0e1592f3c01a9e907f7467a2928a57ce1c2f6625 | [
"MIT"
] | 4 | 2021-11-22T14:11:45.000Z | 2022-03-08T09:06:11.000Z | from .model_drift_explainer import ModelDriftExplainer
class TreeEnsembleDriftExplainer(ModelDriftExplainer):
pass
| 20.166667 | 54 | 0.859504 | 10 | 121 | 10.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 121 | 5 | 55 | 24.2 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
15f88a2e4be247863023a0229a85b907f87597cf | 265 | py | Python | utils/__init__.py | archongum/Tensorflow-quickstart-offline | 3772710cc794271cf361195925b145c1e0c47671 | [
"Apache-2.0"
] | 2 | 2019-07-04T02:57:31.000Z | 2021-09-03T08:20:06.000Z | utils/__init__.py | archongum/Tensorflow-quickstart-offline | 3772710cc794271cf361195925b145c1e0c47671 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | archongum/Tensorflow-quickstart-offline | 3772710cc794271cf361195925b145c1e0c47671 | [
"Apache-2.0"
] | 2 | 2019-01-21T03:01:49.000Z | 2019-07-04T02:57:52.000Z | from utils.local_datasets import get_word_index
from utils.local_datasets import load_data_boston_housing
from utils.local_datasets import load_data_fashion_mnist
from utils.local_datasets import load_data_imdb
from utils.local_datasets import load_data_mnist
| 44.166667 | 58 | 0.886792 | 42 | 265 | 5.190476 | 0.357143 | 0.206422 | 0.321101 | 0.504587 | 0.788991 | 0.66055 | 0.66055 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 265 | 5 | 59 | 53 | 0.908333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c611a1bd77ec9be8b11d69dcbb2da0706155dd74 | 84 | py | Python | deeptile/algorithms/__init__.py | zjniu/DeepTile | fd5d9b8410915db83851ff8a1d2e44d39f06a492 | [
"MIT"
] | null | null | null | deeptile/algorithms/__init__.py | zjniu/DeepTile | fd5d9b8410915db83851ff8a1d2e44d39f06a492 | [
"MIT"
] | null | null | null | deeptile/algorithms/__init__.py | zjniu/DeepTile | fd5d9b8410915db83851ff8a1d2e44d39f06a492 | [
"MIT"
] | null | null | null | from deeptile.algorithms import segmentation
from deeptile.algorithms import stitch
| 28 | 44 | 0.880952 | 10 | 84 | 7.4 | 0.6 | 0.324324 | 0.594595 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 45 | 42 | 0.973684 | 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 |
c626f23f73f04c0f832c31ea48034040d92b4754 | 73 | py | Python | elm-finder/apps/feeds/tests/data.py | martin-jahn/elm-finder | 7510e38d52eebaf462ae5c5ce961e4884b1709bd | [
"MIT"
] | 2 | 2019-04-28T21:32:46.000Z | 2019-05-13T05:27:09.000Z | elm-finder/apps/package/tests/initial_data.py | martin-jahn/elm-finder | 7510e38d52eebaf462ae5c5ce961e4884b1709bd | [
"MIT"
] | null | null | null | elm-finder/apps/package/tests/initial_data.py | martin-jahn/elm-finder | 7510e38d52eebaf462ae5c5ce961e4884b1709bd | [
"MIT"
] | null | null | null | from libs.tests import load as utils_load
def load():
utils_load()
| 12.166667 | 41 | 0.712329 | 12 | 73 | 4.166667 | 0.666667 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 73 | 5 | 42 | 14.6 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c635bf8a8a6fb381b2394613291bb1709173b289 | 95 | py | Python | lunchmenu/sql/__init__.py | janeuzil/lunchmenu | 717404561198618e2da5f435f15f20088f811f6b | [
"MIT"
] | 1 | 2018-04-18T07:14:36.000Z | 2018-04-18T07:14:36.000Z | lunchmenu/sql/__init__.py | janeuzil/lunchmenu | 717404561198618e2da5f435f15f20088f811f6b | [
"MIT"
] | null | null | null | lunchmenu/sql/__init__.py | janeuzil/lunchmenu | 717404561198618e2da5f435f15f20088f811f6b | [
"MIT"
] | null | null | null | from sql import Room
from sql import User
from sql import Restaurant
from sql import Database
| 15.833333 | 26 | 0.821053 | 16 | 95 | 4.875 | 0.4375 | 0.358974 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178947 | 95 | 5 | 27 | 19 | 1 | 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 |
c6467cffa90876981b8fa4f5a4171f3ab12cc46f | 1,741 | py | Python | award/tests.py | eyern/awards | 8893adf15ff869d67746521606bfc3e7ba68446b | [
"MIT"
] | null | null | null | award/tests.py | eyern/awards | 8893adf15ff869d67746521606bfc3e7ba68446b | [
"MIT"
] | 4 | 2020-06-05T22:45:26.000Z | 2021-09-08T01:16:40.000Z | award/tests.py | eyern/awards | 8893adf15ff869d67746521606bfc3e7ba68446b | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.contrib.auth.models import User
from .models import Project,Profile,Vote
# Create your tests here.
class ProjectTestClass(TestCase):
# Set up method
def setUp(self):
self.user = User.objects.create_user(username='testuser', password='12345')
self.pro... | 42.463415 | 191 | 0.70247 | 228 | 1,741 | 5.333333 | 0.236842 | 0.081414 | 0.049342 | 0.046875 | 0.706414 | 0.706414 | 0.706414 | 0.706414 | 0.706414 | 0.706414 | 0 | 0.0171 | 0.160253 | 1,741 | 40 | 192 | 43.525 | 0.814637 | 0.064905 | 0 | 0.555556 | 0 | 0 | 0.120988 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d6cf8aaf311adaafcda761b4e551ab69fc760acb | 1,047 | py | Python | prompts/dialKG.py | andreamad8/FSB | a81593590189fa5ad1cc37c5857f974effd9750a | [
"MIT"
] | 53 | 2021-10-11T03:24:14.000Z | 2022-03-30T15:17:23.000Z | prompts/dialKG.py | andreamad8/FSB | a81593590189fa5ad1cc37c5857f974effd9750a | [
"MIT"
] | 1 | 2021-12-26T22:48:38.000Z | 2022-01-15T18:05:32.000Z | prompts/dialKG.py | andreamad8/FSB | a81593590189fa5ad1cc37c5857f974effd9750a | [
"MIT"
] | 5 | 2022-01-27T09:07:39.000Z | 2022-03-04T08:58:23.000Z | def convert_sample_to_shot_dialKG(sample,with_knowledge):
prefix = "Dialogue:\n"
assert len(sample["dialogue"]) == len(sample["KG"])
for turn, meta in zip(sample["dialogue"],sample["KG"]):
prefix += f"User: {turn[0]}" +"\n"
if with_knowledge and len(meta)>0:
prefix += f"KG: {meta... | 33.774194 | 66 | 0.526266 | 129 | 1,047 | 4.170543 | 0.224806 | 0.104089 | 0.02974 | 0.066915 | 0.98513 | 0.98513 | 0.881041 | 0.881041 | 0.881041 | 0.881041 | 0 | 0.013605 | 0.297994 | 1,047 | 30 | 67 | 34.9 | 0.718367 | 0 | 0 | 0.923077 | 0 | 0 | 0.181471 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d6e35cac4ee97f75912a9ca16355f587f45a1f61 | 37 | py | Python | src/xbrief/deco/deco_vector/__init__.py | pydget/xbrief | 9e91927a98754b0fca1fa55eae9a785b15e963f9 | [
"MIT"
] | null | null | null | src/xbrief/deco/deco_vector/__init__.py | pydget/xbrief | 9e91927a98754b0fca1fa55eae9a785b15e963f9 | [
"MIT"
] | null | null | null | src/xbrief/deco/deco_vector/__init__.py | pydget/xbrief | 9e91927a98754b0fca1fa55eae9a785b15e963f9 | [
"MIT"
] | null | null | null | from .deco_vector import deco_vector
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
d6e53b405bc2fb938dd7a484031593d25a5aa5f9 | 4,644 | py | Python | tests/test_kit/test_dbm.py | koehlma/momba | 68d6431d2732570696d3c67a9e23006e6e3a7740 | [
"MIT"
] | 12 | 2021-01-18T14:38:32.000Z | 2022-01-17T09:16:52.000Z | tests/test_kit/test_dbm.py | koehlma/momba | 68d6431d2732570696d3c67a9e23006e6e3a7740 | [
"MIT"
] | 3 | 2021-05-16T15:26:34.000Z | 2022-02-21T20:46:55.000Z | tests/test_kit/test_dbm.py | koehlma/momba | 68d6431d2732570696d3c67a9e23006e6e3a7740 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
#
# Copyright (C) 2019-2020, Maximilian Köhl <koehl@cs.uni-saarland.de>
from __future__ import annotations
from momba.kit import dbm
import pytest
def test_basic_operations() -> None:
x, y, z = dbm.create_clocks("x", "y", "z")
valuations = dbm.DBM.create_unconstrained({x, y, z})
... | 36 | 84 | 0.73385 | 657 | 4,644 | 5.004566 | 0.121766 | 0.243309 | 0.283151 | 0.394161 | 0.855839 | 0.827859 | 0.806265 | 0.772506 | 0.692822 | 0.63382 | 0 | 0.013252 | 0.155039 | 4,644 | 128 | 85 | 36.28125 | 0.824669 | 0.02907 | 0 | 0.517241 | 0 | 0 | 0.003997 | 0 | 0 | 0 | 0 | 0 | 0.609195 | 1 | 0.045977 | false | 0 | 0.034483 | 0 | 0.08046 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ba7aa2f5481145e8b8a78f3acb61fe8396a347b6 | 7,005 | py | Python | lifetables.py | marcysweber/hamadryas-social-sim | 95b4e51f9b1ca116df7eb2f6d0205511eba780c4 | [
"MIT"
] | null | null | null | lifetables.py | marcysweber/hamadryas-social-sim | 95b4e51f9b1ca116df7eb2f6d0205511eba780c4 | [
"MIT"
] | null | null | null | lifetables.py | marcysweber/hamadryas-social-sim | 95b4e51f9b1ca116df7eb2f6d0205511eba780c4 | [
"MIT"
] | null | null | null | # key is age, chance is contents
def getdeathchance(agent):
deathchance = 0.0
if agent.taxon == "savannah":
if agent.sex == 'm':
deathchance = SavannahLifeTable.male_death_chance[agent.age]
else:
deathchance = SavannahLifeTable.female_death_chance[agent.age]
if age... | 20.482456 | 75 | 0.389579 | 1,091 | 7,005 | 2.483043 | 0.069661 | 0.107789 | 0.014766 | 0.019934 | 0.874123 | 0.844592 | 0.82835 | 0.774456 | 0.774456 | 0.774456 | 0 | 0.531143 | 0.456817 | 7,005 | 341 | 76 | 20.542522 | 0.180815 | 0.006852 | 0 | 0.919753 | 0 | 0 | 0.005178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006173 | false | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
246aefd0f3e5032d145af51aefb5548545bafadf | 1,078 | py | Python | lexer_test.py | drew-loukusa/ID-CAS | c758968dbc84ac56bc5385e433763aa534259a54 | [
"MIT"
] | 1 | 2020-10-05T07:12:59.000Z | 2020-10-05T07:12:59.000Z | lexer_test.py | drew-loukusa/ID-CAS | c758968dbc84ac56bc5385e433763aa534259a54 | [
"MIT"
] | null | null | null | lexer_test.py | drew-loukusa/ID-CAS | c758968dbc84ac56bc5385e433763aa534259a54 | [
"MIT"
] | null | null | null |
from lexer import Lexer
#============================== Lexer Tests ===============================#
def test_method_lex_1():
assert Lexer()._split_text("2x") == ['2','*','x','$']
def test_method_lex_2():
assert Lexer()._split_text("x2") == ['x','*','2','$']
def test_method_lex_3():
assert Lexer()._split_tex... | 31.705882 | 111 | 0.509276 | 147 | 1,078 | 3.394558 | 0.22449 | 0.140281 | 0.260521 | 0.320641 | 0.398798 | 0.248497 | 0 | 0 | 0 | 0 | 0 | 0.062308 | 0.091837 | 1,078 | 34 | 111 | 31.705882 | 0.447395 | 0.068646 | 0 | 0 | 0 | 0 | 0.142715 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.47619 | true | 0 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
79f4adfd28c7d97951d5016cb052abce74a803f6 | 112 | py | Python | notebooks/ProFET/ProFET/feat_extract/__init__.py | cactuskid/Fourier2Struct | da1e2382c779487e7d0726ec4a5acad050db2ce7 | [
"MIT"
] | 1 | 2020-11-05T18:48:12.000Z | 2020-11-05T18:48:12.000Z | notebooks/ProFET/ProFET/feat_extract/__init__.py | cactuskid/Fourier2Struct | da1e2382c779487e7d0726ec4a5acad050db2ce7 | [
"MIT"
] | null | null | null | notebooks/ProFET/ProFET/feat_extract/__init__.py | cactuskid/Fourier2Struct | da1e2382c779487e7d0726ec4a5acad050db2ce7 | [
"MIT"
] | null | null | null | __all__ = ['FeatureGen', 'ProtFeat']
from Feature_Extract import FeatureGen
from Feature_Extract import ProtFeat | 37.333333 | 38 | 0.830357 | 13 | 112 | 6.692308 | 0.538462 | 0.252874 | 0.413793 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 3 | 39 | 37.333333 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0354866e16a371185e7e1aaf7c31525a318ff016 | 9,533 | py | Python | workspace/module/python-2.7/LxGui/qt/guiQtWidgets/_guiQtWgtTabview.py | no7hings/Lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | 2 | 2018-03-06T03:33:55.000Z | 2019-03-26T03:25:11.000Z | workspace/module/python-2.7/LxGui/qt/guiQtWidgets/_guiQtWgtTabview.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | workspace/module/python-2.7/LxGui/qt/guiQtWidgets/_guiQtWgtTabview.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | # coding:utf-8
from LxGui.qt import qtCore, guiQtWgtAbs
#
from LxGui.qt.guiQtModels import _guiQtMdlTabview
#
from ..guiQtWidgets import _guiQtWgtBasic, _guiQtWgtValueitem, _guiQtWgtTabitem, _guiQtWgtItem
class _QtButtonTabbar(guiQtWgtAbs.Abs_GuiQtTabbarWgt):
CLS_gui_qt__tabbar_wgt_model = _guiQtMdlTabview.QtButt... | 41.811404 | 146 | 0.684779 | 940 | 9,533 | 6.465957 | 0.147872 | 0.07486 | 0.042119 | 0.073708 | 0.821981 | 0.818032 | 0.814084 | 0.795821 | 0.765054 | 0.765054 | 0 | 0.004843 | 0.220287 | 9,533 | 227 | 147 | 41.995595 | 0.812862 | 0.027903 | 0 | 0.701987 | 0 | 0 | 0.012162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092715 | false | 0 | 0.019868 | 0.006623 | 0.251656 | 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 |
3030c34e23af681257502d12b7d814458d49f90b | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_0/_pkg0_1_0_0_0/_mod0_1_0_0_0_0.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_0/_pkg0_1_0_0/_pkg0_1_0_0_0/_mod0_1_0_0_0_0.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_0/_pkg0_1_0_0/_pkg0_1_0_0_0/_mod0_1_0_0_0_0.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name0_1_0_0_0_0_0 = None
name0_1_0_0_0_0_1 = None
name0_1_0_0_0_0_2 = None
name0_1_0_0_0_0_3 = None
name0_1_0_0_0_0_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.426667 | 0.44 | 0.32 | 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 |
0650f80378a6243543e6da450bd74fa24d68b0ed | 29,238 | py | Python | test/test_iam_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 21 | 2018-03-29T14:20:35.000Z | 2021-10-13T05:11:41.000Z | test/test_iam_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 14 | 2018-01-30T15:45:46.000Z | 2022-02-23T14:23:21.000Z | test/test_iam_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 18 | 2018-01-03T15:09:56.000Z | 2021-07-16T02:21:54.000Z | # coding: utf-8
"""
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen... | 26.677007 | 1,052 | 0.629113 | 3,785 | 29,238 | 4.519155 | 0.055746 | 0.072493 | 0.097749 | 0.133294 | 0.896872 | 0.885823 | 0.839462 | 0.747852 | 0.647355 | 0.453902 | 0 | 0.022843 | 0.290307 | 29,238 | 1,095 | 1,053 | 26.70137 | 0.801494 | 0.515083 | 0 | 0.484177 | 0 | 0 | 0.000741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.487342 | false | 0.490506 | 0.015823 | 0 | 0.506329 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
066f73274d1d3a58d474c2b63b0f637932c6902f | 20,077 | py | Python | lexed/editor/moves.py | lexycore/lexed | fc2037a8f4e48a8ddc420d7021532d1cc444bd31 | [
"MIT"
] | null | null | null | lexed/editor/moves.py | lexycore/lexed | fc2037a8f4e48a8ddc420d7021532d1cc444bd31 | [
"MIT"
] | 1 | 2019-05-03T08:17:31.000Z | 2019-06-06T11:32:09.000Z | lexed/editor/moves.py | lexycore/lexed | fc2037a8f4e48a8ddc420d7021532d1cc444bd31 | [
"MIT"
] | null | null | null | from lexed.editor.meta import EditorMeta, BareException
class EditorMoves(EditorMeta):
def __init__(self):
super().__init__()
def add_character(self, char):
"""program specific function that adds character to line"""
# global current_line, text_entered, program_message, saved_since_ed... | 45.629545 | 134 | 0.587588 | 2,608 | 20,077 | 4.296396 | 0.071702 | 0.212048 | 0.206158 | 0.064257 | 0.835966 | 0.786345 | 0.74913 | 0.70299 | 0.673092 | 0.629897 | 0 | 0.01331 | 0.315187 | 20,077 | 439 | 135 | 45.733485 | 0.801658 | 0.13513 | 0 | 0.631884 | 0 | 0 | 0.040063 | 0.00603 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037681 | false | 0.008696 | 0.002899 | 0 | 0.057971 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
88f2f8aa7eaeb8fcec5fcbeb09340b4c85b9feb6 | 2,792 | py | Python | day_1.py | bastoche/adventofcode2017 | a93ecff1de78376b03d4c922c82dff96574f2466 | [
"MIT"
] | null | null | null | day_1.py | bastoche/adventofcode2017 | a93ecff1de78376b03d4c922c82dff96574f2466 | [
"MIT"
] | null | null | null | day_1.py | bastoche/adventofcode2017 | a93ecff1de78376b03d4c922c82dff96574f2466 | [
"MIT"
] | null | null | null | def rotate(list, n):
return list[n:] + list[:n]
def filter_equal_values(lhs, rhs):
return [a for a, b in zip(lhs, rhs) if a == b]
def sum_as_integers(list_of_strings):
return sum(map(int, list_of_strings))
def part_one(input):
lhs = list(input)
rhs = rotate(lhs, 1)
values = filter_equal_va... | 90.064516 | 2,178 | 0.922278 | 100 | 2,792 | 25.47 | 0.34 | 0.009423 | 0.020024 | 0.023557 | 0.076561 | 0.076561 | 0.065175 | 0.042403 | 0.042403 | 0.042403 | 0 | 0.814898 | 0.047994 | 2,792 | 30 | 2,179 | 93.066667 | 0.143341 | 0 | 0 | 0.3 | 0 | 0 | 0.777937 | 0.775072 | 0 | 1 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.15 | 0.5 | 0.1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
cc59f4b729a80fd0902f4937fd3d30536fd489fa | 1,239 | py | Python | catalog/shoes/tests/conftest.py | eduleones/catalog-backend-example | 8938662d391daad94e73152f7291e800a360e689 | [
"MIT"
] | null | null | null | catalog/shoes/tests/conftest.py | eduleones/catalog-backend-example | 8938662d391daad94e73152f7291e800a360e689 | [
"MIT"
] | 6 | 2019-12-04T23:52:51.000Z | 2022-02-10T12:30:40.000Z | catalog/shoes/tests/conftest.py | eduleones/catalog-backend-example | 8938662d391daad94e73152f7291e800a360e689 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def shoes_payload():
return {
"sku": "3487-1230912",
"brand": "adidas",
"model": "airflow",
"price": "190.00",
"description": "Lançamento mundial da Adidas",
"main_color": "black",
"style": "casual",
"size": 38,
... | 22.944444 | 54 | 0.498789 | 117 | 1,239 | 5.17094 | 0.393162 | 0.039669 | 0.079339 | 0.104132 | 0.912397 | 0.866116 | 0.866116 | 0.866116 | 0.866116 | 0.866116 | 0 | 0.093713 | 0.319613 | 1,239 | 53 | 55 | 23.377358 | 0.623962 | 0 | 0 | 0.808511 | 0 | 0 | 0.398709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | true | 0 | 0.021277 | 0.06383 | 0.148936 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ccc286e7bede438c260d0856e19717af2d324384 | 202 | py | Python | src/buvar/components/__init__.py | diefans/buvar | 5c47cef0a1a9792d6b2aee0d32f724f83834715c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2020-02-28T22:59:19.000Z | 2020-02-28T22:59:19.000Z | src/buvar/components/__init__.py | diefans/buvar | 5c47cef0a1a9792d6b2aee0d32f724f83834715c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/buvar/components/__init__.py | diefans/buvar | 5c47cef0a1a9792d6b2aee0d32f724f83834715c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | class ComponentLookupError(Exception):
pass
try:
# gains over 100% speed up
from .c_components import Components
except ImportError:
from .py_components import Components # noqa: F40
| 20.2 | 54 | 0.737624 | 24 | 202 | 6.125 | 0.791667 | 0.217687 | 0.353742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.207921 | 202 | 9 | 55 | 22.444444 | 0.8875 | 0.168317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
aeb38e92eeb618b2032a63efe5677a293f2329f9 | 55,507 | py | Python | DQMOffline/Trigger/python/HiggsMonitoring_Client_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQMOffline/Trigger/python/HiggsMonitoring_Client_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQMOffline/Trigger/python/HiggsMonitoring_Client_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
from DQMOffline.Trigger.VBFMETMonitor_Client_cff import *
from DQMOffline.Trigger.HMesonGammaMonitor_Client_cff import *
from DQMOffline.Trigger.VBFTauMonitor_Client_cff import *
from DQMOffline.Trigger.MssmHbbBtagTrigg... | 96.533913 | 193 | 0.717333 | 6,567 | 55,507 | 5.721943 | 0.033958 | 0.090377 | 0.03771 | 0.028689 | 0.864302 | 0.856531 | 0.833697 | 0.818022 | 0.804503 | 0.795375 | 0 | 0.026918 | 0.208911 | 55,507 | 574 | 194 | 96.702091 | 0.828813 | 0.047273 | 0 | 0.657948 | 0 | 0.110664 | 0.799261 | 0.234811 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016097 | 0 | 0.016097 | 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 |
aef01b116b20cd31285cee7d14dfe6339af45672 | 646,263 | py | Python | UFO_models/SMEFTsim_MFV_MwScheme_UFO/vertices.py | matthewfeickert/SMEFTsim | db7d4a80bdcff424eee27dde71f1eb09ac894039 | [
"MIT"
] | 4 | 2020-12-29T03:42:43.000Z | 2021-09-22T09:57:37.000Z | UFO_models/SMEFTsim_MFV_MwScheme_UFO/vertices.py | matthewfeickert/SMEFTsim | db7d4a80bdcff424eee27dde71f1eb09ac894039 | [
"MIT"
] | 3 | 2021-05-19T11:06:59.000Z | 2021-12-11T00:12:02.000Z | UFO_models/SMEFTsim_MFV_MwScheme_UFO/vertices.py | matthewfeickert/SMEFTsim | db7d4a80bdcff424eee27dde71f1eb09ac894039 | [
"MIT"
] | 4 | 2021-09-22T09:57:39.000Z | 2022-03-29T16:09:36.000Z | # This file was automatically created by FeynRules 2.3.35
# Mathematica version: 12.1.0 for Linux x86 (64-bit) (March 18, 2020)
# Date: Thu 7 Jan 2021 11:40:42
from object_library import all_vertices, Vertex
import particles as P
import couplings as C
import lorentz as L
V_1 = Vertex(name = 'V_1',
part... | 47.722862 | 4,075 | 0.472481 | 103,296 | 646,263 | 2.687878 | 0.04339 | 0.069542 | 0.035686 | 0.034288 | 0.729091 | 0.727424 | 0.726538 | 0.721845 | 0.718243 | 0.713082 | 0 | 0.158653 | 0.316891 | 646,263 | 13,541 | 4,076 | 47.726387 | 0.470265 | 0.000237 | 0 | 0.606791 | 0 | 0.010639 | 0.107602 | 0.051233 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000355 | 0 | 0.000355 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d1a2733dc3ad45b92fb286ce40d129a0d2db645f | 155 | py | Python | rcds/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 5 | 2020-04-08T06:26:13.000Z | 2020-06-23T04:33:40.000Z | rcds/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 144 | 2020-07-06T11:26:49.000Z | 2022-02-01T14:33:28.000Z | rcds/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 7 | 2020-07-22T12:38:32.000Z | 2021-12-21T14:27:54.000Z | from rcds.challenge import Challenge # noqa: F401
from rcds.challenge import ChallengeLoader # noqa: F401
from rcds.project import Project # noqa: F401
| 38.75 | 56 | 0.787097 | 21 | 155 | 5.809524 | 0.380952 | 0.196721 | 0.278689 | 0.377049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 0.154839 | 155 | 3 | 57 | 51.666667 | 0.862595 | 0.206452 | 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 |
ae689b00bbe46999be89f16ee4bcddd411b3e80e | 2,093 | py | Python | pyproct/data/handler/featurearray/test/data/__init__.py | victor-gil-sepulveda/pyProCT | 2777c73efb48d5ca6543c69a31719421c4d54694 | [
"MIT"
] | 10 | 2015-03-07T09:00:06.000Z | 2019-01-25T15:00:59.000Z | pyproct/data/handler/featurearray/test/data/__init__.py | victor-gil-sepulveda/pyProCT | 2777c73efb48d5ca6543c69a31719421c4d54694 | [
"MIT"
] | 6 | 2015-01-08T11:17:14.000Z | 2018-10-08T15:17:32.000Z | pyproct/data/handler/featurearray/test/data/__init__.py | victor-gil-sepulveda/pyProCT | 2777c73efb48d5ca6543c69a31719421c4d54694 | [
"MIT"
] | 11 | 2015-03-02T11:13:24.000Z | 2022-02-22T16:21:56.000Z |
expected_1 = ({
'__feature_4': [ 42., 67., 6., 92., 80., 10., 90., 5., 100.,
40., 23., 44., 81., 53., 37., 7., 79., 45., 87.],
'__feature_2': [ 91., 15., 36., 51., 32., 11., 38., 56., 21., 34., 75.,
77., 98., 71., 95., ... | 58.138889 | 96 | 0.298137 | 277 | 2,093 | 2.180505 | 0.379061 | 0.02649 | 0.039735 | 0.05298 | 0.822848 | 0.822848 | 0.822848 | 0.822848 | 0.822848 | 0.822848 | 0 | 0.409167 | 0.42666 | 2,093 | 36 | 97 | 58.138889 | 0.094167 | 0 | 0 | 0.366667 | 0 | 0 | 0.043977 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ae84df8f048a8e2c453aaf07113dafe336bd52a2 | 2,911 | py | Python | Trikfb/trik_dec.py | shyamjangid07/Reverse-Engineering | 469efabcd6057f7895d8d891f1fabdf2ffe730b0 | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | Trikfb/trik_dec.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | Trikfb/trik_dec.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z |
# Decompiled by HTR-TECH | TAHMID RAYAT
# Github : https://github.com/htr-tech
#---------------------------------------
# Auto Dis Parser 2.2.0
# Source File : trik_1.pyc
# Bytecode Version : 2.7
# Time : Sun Aug 9 12:07:31 2020
#---------------------------------------
import os
import sys
import time
os.system('cle... | 80.861111 | 1,919 | 0.607008 | 496 | 2,911 | 3.554435 | 0.227823 | 0.333522 | 0.336926 | 0.442428 | 0.590471 | 0.577425 | 0.571753 | 0.561543 | 0.561543 | 0.561543 | 0 | 0.249894 | 0.191687 | 2,911 | 35 | 1,920 | 83.171429 | 0.499363 | 0.087255 | 0 | 0.2 | 0 | 0.04 | 0.803929 | 0.495655 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.16 | 0.12 | null | null | 0.16 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
8875e02d181881fbe3ec9aa48011c47accf207b3 | 360 | py | Python | tests/helpers/examples/cart/views.py | nicoddemus/dependencies | 74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9 | [
"BSD-2-Clause"
] | null | null | null | tests/helpers/examples/cart/views.py | nicoddemus/dependencies | 74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9 | [
"BSD-2-Clause"
] | null | null | null | tests/helpers/examples/cart/views.py | nicoddemus/dependencies | 74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9 | [
"BSD-2-Clause"
] | null | null | null | from dependencies import Injector
from dependencies.contrib.django import view
from dependencies.contrib.rest_framework import api_view
from dependencies.contrib.rest_framework import model_view_set
@view
class ShowCartWithDiscount(Injector):
pass
@api_view
class CartAPIView(Injector):
pass
@model_view_se... | 18 | 62 | 0.822222 | 45 | 360 | 6.4 | 0.377778 | 0.222222 | 0.239583 | 0.1875 | 0.319444 | 0.319444 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0.127778 | 360 | 19 | 63 | 18.947368 | 0.917197 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.230769 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
88a2f27758a0c8c2007fc7387c1b30bbbf3a7140 | 1,910 | py | Python | tests_without_pytest/lesson2.1_step7.py | adilgereev/selenium_course | 7b7ca68bb7d915c3e973292ec18d8dbaf4dc363e | [
"Apache-2.0"
] | null | null | null | tests_without_pytest/lesson2.1_step7.py | adilgereev/selenium_course | 7b7ca68bb7d915c3e973292ec18d8dbaf4dc363e | [
"Apache-2.0"
] | null | null | null | tests_without_pytest/lesson2.1_step7.py | adilgereev/selenium_course | 7b7ca68bb7d915c3e973292ec18d8dbaf4dc363e | [
"Apache-2.0"
] | null | null | null | from selenium import webdriver
import time
import math
<<<<<<< HEAD
link = "http://suninjuly.github.io/get_attribute.html"
browser = webdriver.Chrome()
browser.get(link)
# Вычисление требуемое на странице link
def calc(x):
return str(math.log(abs(12 * math.sin(int(x)))))
x_element = browser.find_element_by_css... | 27.681159 | 87 | 0.737696 | 247 | 1,910 | 5.506073 | 0.323887 | 0.080882 | 0.119118 | 0.132353 | 0.842647 | 0.842647 | 0.827941 | 0.786765 | 0.786765 | 0.786765 | 0 | 0.01896 | 0.143979 | 1,910 | 68 | 88 | 28.088235 | 0.812844 | 0.185864 | 0 | 0.681818 | 0 | 0 | 0.156533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.068182 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ee7593e6060042e4275196983da2f2370e2691d3 | 17,180 | py | Python | old/control/ValueIteration.py | ali493/pyro | 1245340077a733e2ab35765eae783b358d2f3af9 | [
"MIT"
] | null | null | null | old/control/ValueIteration.py | ali493/pyro | 1245340077a733e2ab35765eae783b358d2f3af9 | [
"MIT"
] | null | null | null | old/control/ValueIteration.py | ali493/pyro | 1245340077a733e2ab35765eae783b358d2f3af9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Jul 12 12:09:37 2017
@author: alxgr
"""
import numpy as np
import matplotlib.pyplot as plt
from scipy.interpolate import RectBivariateSpline as interpol2D
from scipy.interpolate import griddata
from scipy.interpolate import LinearNDInterpolator
'''
#######################... | 33.952569 | 133 | 0.429744 | 1,900 | 17,180 | 3.764737 | 0.107368 | 0.060674 | 0.043618 | 0.033273 | 0.90144 | 0.896267 | 0.891794 | 0.891794 | 0.891794 | 0.883965 | 0 | 0.02073 | 0.415949 | 17,180 | 506 | 134 | 33.952569 | 0.692147 | 0.127299 | 0 | 0.808889 | 0 | 0 | 0.016065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0.022222 | 0 | 0.128889 | 0.026667 | 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 |
c9e75603734a66e685158266276c1afc496e013a | 22,308 | py | Python | test/test_function_backward.py | basicv8vc/miniautodiff | 1ce038276df45760ab3cb7875b35b46d5ee0b27f | [
"MIT"
] | 1 | 2021-09-01T09:05:14.000Z | 2021-09-01T09:05:14.000Z | test/test_function_backward.py | shaoyf9/miniautodiff | 1ce038276df45760ab3cb7875b35b46d5ee0b27f | [
"MIT"
] | null | null | null | test/test_function_backward.py | shaoyf9/miniautodiff | 1ce038276df45760ab3cb7875b35b46d5ee0b27f | [
"MIT"
] | 1 | 2021-08-10T09:29:35.000Z | 2021-08-10T09:29:35.000Z | # encoding:utf-8
import unittest
import copy
import random
import numpy as np
import miniad
import miniad.functional as F
random.seed(123)
np.random.seed(123)
EPS = 1e-5
class TestAddBackward(unittest.TestCase):
def test_tensor_add_scalar(self):
'''tensor + scalar, test left operand'''
input_data... | 34.006098 | 77 | 0.56352 | 3,028 | 22,308 | 3.956737 | 0.037649 | 0.069861 | 0.066105 | 0.05876 | 0.895 | 0.856523 | 0.839329 | 0.828228 | 0.827811 | 0.827226 | 0 | 0.017039 | 0.308096 | 22,308 | 655 | 78 | 34.058015 | 0.759184 | 0.034069 | 0 | 0.770833 | 0 | 0 | 0.000375 | 0 | 0 | 0 | 0 | 0 | 0.045833 | 1 | 0.045833 | false | 0 | 0.0125 | 0 | 0.08125 | 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 |
4e4a834f87b0d3d3310ace428d10600e32204b8f | 87 | py | Python | test/fixtures/python/corpus/import-from-statement.A.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 8,844 | 2019-05-31T15:47:12.000Z | 2022-03-31T18:33:51.000Z | test/fixtures/python/corpus/import-from-statement.A.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 401 | 2019-05-31T18:30:26.000Z | 2022-03-31T16:32:29.000Z | test/fixtures/python/corpus/import-from-statement.A.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 504 | 2019-05-31T17:55:03.000Z | 2022-03-30T04:15:04.000Z | from a import b
from a import (b, c)
from a import *
from a.b import c
from . import b
| 14.5 | 20 | 0.689655 | 20 | 87 | 3 | 0.25 | 0.333333 | 0.55 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 87 | 5 | 21 | 17.4 | 0.909091 | 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 |
4e742208d9668fcc54ea01e52790366c38ef2cbf | 31,875 | py | Python | buildings/tests/gui/test_processes_edit_attribute_production.py | strk/nz-buildings | 8dc8ee19d322837380bb4f016b01eccee2c1bd0a | [
"PostgreSQL",
"CC-BY-4.0"
] | 2 | 2020-02-21T00:46:31.000Z | 2020-08-17T14:22:19.000Z | buildings/tests/gui/test_processes_edit_attribute_production.py | strk/nz-buildings | 8dc8ee19d322837380bb4f016b01eccee2c1bd0a | [
"PostgreSQL",
"CC-BY-4.0"
] | 243 | 2018-12-16T22:01:54.000Z | 2022-01-10T20:09:24.000Z | buildings/tests/gui/test_processes_edit_attribute_production.py | strk/nz-buildings | 8dc8ee19d322837380bb4f016b01eccee2c1bd0a | [
"PostgreSQL",
"CC-BY-4.0"
] | 1 | 2020-03-24T10:35:43.000Z | 2020-03-24T10:35:43.000Z | # -*- coding: utf-8 -*-
"""
################################################################################
#
# Copyright 2018 Crown copyright (c)
# Land Information New Zealand and the New Zealand Government.
# All rights reserved
#
# This program is released under the terms of the 3 clause BSD license. See the
# LIC... | 42.5 | 189 | 0.642886 | 3,349 | 31,875 | 5.906241 | 0.096148 | 0.073812 | 0.100506 | 0.082508 | 0.898787 | 0.894793 | 0.888878 | 0.880789 | 0.872447 | 0.851264 | 0 | 0.049221 | 0.249161 | 31,875 | 749 | 190 | 42.556742 | 0.777253 | 0.050855 | 0 | 0.792793 | 0 | 0 | 0.094835 | 0.024845 | 0 | 0 | 0 | 0 | 0.144144 | 1 | 0.022523 | false | 0.001502 | 0.012012 | 0 | 0.036036 | 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 |
4ea1527a18a627da4e61dae90634d58a2081c89a | 24,529 | py | Python | lib/fama/output/pdf_report.py | aekazakov/FamaProfiling | d9db15ea217e3be2aab65c356564a6d345b4f410 | [
"MIT"
] | null | null | null | lib/fama/output/pdf_report.py | aekazakov/FamaProfiling | d9db15ea217e3be2aab65c356564a6d345b4f410 | [
"MIT"
] | null | null | null | lib/fama/output/pdf_report.py | aekazakov/FamaProfiling | d9db15ea217e3be2aab65c356564a6d345b4f410 | [
"MIT"
] | null | null | null | """Functions for PDF report generations"""
import os
from collections import defaultdict, Counter, OrderedDict
from fpdf import FPDF, HTMLMixin
from fama.diamond_parser.hit_utils import get_paired_end
from fama.utils.utils import cleanup_protein_id
from fama.output.report import get_scores_per_tax_rank
class MyFPDF(F... | 45.848598 | 100 | 0.572873 | 3,074 | 24,529 | 4.40566 | 0.075472 | 0.026877 | 0.022152 | 0.015506 | 0.958724 | 0.95134 | 0.949051 | 0.94883 | 0.947058 | 0.926383 | 0 | 0.028544 | 0.273024 | 24,529 | 534 | 101 | 45.934457 | 0.730933 | 0.023605 | 0 | 0.841004 | 0 | 0.029289 | 0.186339 | 0.016198 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004184 | false | 0.006276 | 0.012552 | 0 | 0.018828 | 0.004184 | 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 |
14f8741847baa6cb25f02f552277793a6a73a289 | 290 | py | Python | tests/test_simple.py | godotgildor/urban-octo-palm-tree | 2c48dd07c2f92e94da61c46644dcf30a30462434 | [
"MIT"
] | null | null | null | tests/test_simple.py | godotgildor/urban-octo-palm-tree | 2c48dd07c2f92e94da61c46644dcf30a30462434 | [
"MIT"
] | null | null | null | tests/test_simple.py | godotgildor/urban-octo-palm-tree | 2c48dd07c2f92e94da61c46644dcf30a30462434 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.parametrize("input_value", [1, True, False, "hello"])
def test_success(input_value):
assert input_value == input_value
@pytest.mark.parametrize("input_value", [1, True, False, "hello"])
def test_failure(input_value):
assert input_value != input_value
| 24.166667 | 66 | 0.737931 | 40 | 290 | 5.1 | 0.375 | 0.392157 | 0.205882 | 0.254902 | 0.872549 | 0.872549 | 0.872549 | 0.519608 | 0.519608 | 0.519608 | 0 | 0.007874 | 0.124138 | 290 | 11 | 67 | 26.363636 | 0.795276 | 0 | 0 | 0.285714 | 0 | 0 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
116dd6c5e1017c31f8ff7189eeadd8b19333c6d3 | 15,983 | py | Python | tests/test_todo_api.py | shuhaowu/projecto | 4dec9dbde43874f35d2ea38d3c3496db883c0c42 | [
"Apache-2.0"
] | 29 | 2015-02-07T01:28:30.000Z | 2022-01-18T17:04:36.000Z | tests/test_todo_api.py | shuhaowu/projecto | 4dec9dbde43874f35d2ea38d3c3496db883c0c42 | [
"Apache-2.0"
] | null | null | null | tests/test_todo_api.py | shuhaowu/projecto | 4dec9dbde43874f35d2ea38d3c3496db883c0c42 | [
"Apache-2.0"
] | 6 | 2015-02-07T12:02:50.000Z | 2020-03-05T10:09:19.000Z | from __future__ import absolute_import
from datetime import datetime, timedelta
from kvkit import NotFoundError
from projecto.models import Comment
from projecto.apiv1.todos.models import Todo, ArchivedTodo
import unittest
from .utils import ProjectTestCase, new_todo, new_comment
class TestTodoAPI(ProjectTestCase)... | 36.490868 | 133 | 0.673028 | 2,123 | 15,983 | 4.971738 | 0.075836 | 0.04775 | 0.055234 | 0.041213 | 0.849455 | 0.803695 | 0.775841 | 0.737944 | 0.732449 | 0.713027 | 0 | 0.023626 | 0.155227 | 15,983 | 437 | 134 | 36.574371 | 0.75811 | 0.010636 | 0 | 0.630769 | 0 | 0 | 0.094136 | 0.008161 | 0 | 0 | 0 | 0.002288 | 0.412308 | 1 | 0.092308 | false | 0 | 0.021538 | 0.003077 | 0.12 | 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 |
11d57121431fb051b5dbdd0dc8d42d08c9b14729 | 8,978 | py | Python | python/lib/lib_care/measure/compute_relative_velocities.py | timtyree/bgmc | 891e003a9594be9e40c53822879421c2b8c44eed | [
"MIT"
] | null | null | null | python/lib/lib_care/measure/compute_relative_velocities.py | timtyree/bgmc | 891e003a9594be9e40c53822879421c2b8c44eed | [
"MIT"
] | null | null | null | python/lib/lib_care/measure/compute_relative_velocities.py | timtyree/bgmc | 891e003a9594be9e40c53822879421c2b8c44eed | [
"MIT"
] | null | null | null | import pandas as pd, numpy as np
from ..utils.projection_func import get_subtract_pbc
def compute_DT(df,round_t_to_n_digits=3):
'''DT is the time between two observations'''
DT=np.around(df[(df.frame==1)].t.values[0]-df[(df.frame==0)].t.values[0],round_t_to_n_digits)
return DT
# def compute_angle_between_... | 49.60221 | 115 | 0.635554 | 1,369 | 8,978 | 3.975895 | 0.096421 | 0.079368 | 0.052912 | 0.049972 | 0.931655 | 0.911078 | 0.903362 | 0.893625 | 0.847327 | 0.847327 | 0 | 0.040371 | 0.183337 | 8,978 | 180 | 116 | 49.877778 | 0.701991 | 0.39775 | 0 | 0.835165 | 0 | 0 | 0.07754 | 0 | 0 | 0 | 0 | 0.005556 | 0 | 1 | 0.054945 | false | 0 | 0.021978 | 0 | 0.131868 | 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 |
eea955f8e83ed37872d0e491911e3dbbd46c7a10 | 127,503 | py | Python | script/gmos-spike.py | thallislp/GMOS-SPiKE | b43aea468cb5b09663d239052fa474c4a6313941 | [
"MIT"
] | null | null | null | script/gmos-spike.py | thallislp/GMOS-SPiKE | b43aea468cb5b09663d239052fa474c4a6313941 | [
"MIT"
] | null | null | null | script/gmos-spike.py | thallislp/GMOS-SPiKE | b43aea468cb5b09663d239052fa474c4a6313941 | [
"MIT"
] | null | null | null | # Import Python Packages.
import numpy as np
from pyraf import iraf
from pyraf.iraf import gemini, gemtools, gmos, onedspec
import os
from astropy.io import fits
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
from matplotlib.ticker import (MultipleLocator, FormatStrFormatter,
... | 41.599674 | 129 | 0.582112 | 16,449 | 127,503 | 4.356557 | 0.038787 | 0.014583 | 0.011275 | 0.010285 | 0.902848 | 0.893638 | 0.883577 | 0.864585 | 0.850156 | 0.840583 | 0 | 0.033633 | 0.270347 | 127,503 | 3,064 | 130 | 41.613251 | 0.736642 | 0.133299 | 0 | 0.74858 | 0 | 0 | 0.168529 | 0.016712 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.003788 | null | null | 0.14536 | 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 |
eeda49f9070fae4f93cbe6a147581acb429f2412 | 92 | py | Python | vvsa/economic_indicators/inc/series.py | goncalovf/security-analysis | 72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e | [
"MIT"
] | 1 | 2021-09-16T13:36:13.000Z | 2021-09-16T13:36:13.000Z | vvsa/economic_indicators/inc/series.py | goncalovf/security-analysis | 72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e | [
"MIT"
] | null | null | null | vvsa/economic_indicators/inc/series.py | goncalovf/security-analysis | 72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e | [
"MIT"
] | null | null | null | from vvsa.abstracts.time_series import Time_Series
class EI_Series(Time_Series):
pass
| 15.333333 | 50 | 0.804348 | 14 | 92 | 5 | 0.642857 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 51 | 18.4 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
eefb7b17f2ecd0e3bd1c35338e8fc627de34a3ec | 65,523 | py | Python | files/plusobf.py | ruby-rust-perl/N-WEB | 423c8b646a91bea547e3951c6599525856661e9b | [
"MIT"
] | 1 | 2021-10-01T18:32:45.000Z | 2021-10-01T18:32:45.000Z | files/plusobf.py | ruby-rust-perl/N-WEB | 423c8b646a91bea547e3951c6599525856661e9b | [
"MIT"
] | null | null | null | files/plusobf.py | ruby-rust-perl/N-WEB | 423c8b646a91bea547e3951c6599525856661e9b | [
"MIT"
] | null | null | null |
# coding=utf-8
# obfuscated with plusobf: https://github.com/loolzec/plusobf
d=['+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++', '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++', '+++++++++++++... | 7,280.333333 | 65,439 | 0.001251 | 21 | 65,523 | 3.904762 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000015 | 0.011828 | 65,523 | 8 | 65,440 | 8,190.375 | 0.001251 | 0.001099 | 0 | 0 | 0 | 0 | 0.952908 | 0.945085 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e1245d2bb65d09929aeee5cbeb29b27a43dd9444 | 2,914 | py | Python | test/functions/decl7.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/functions/decl7.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/functions/decl7.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | def foo(*, a): pass
def foo(*a): pass
def foo(**a): pass
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
foo : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.pyth... | 76.684211 | 132 | 0.707618 | 324 | 2,914 | 6.364198 | 0.080247 | 0.221145 | 0.27934 | 0.256062 | 1 | 1 | 1 | 1 | 1 | 0.983996 | 0 | 0 | 0.179822 | 2,914 | 37 | 133 | 78.756757 | 0.862762 | 0 | 0 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.176471 | 0 | null | null | 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 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 12 |
014811aaf66ea156d4bb7da6dc5d8ae4f0310ca6 | 129 | py | Python | prometheus/utils/datetime.py | face-digital/prometheus_cms | 95f8a8f90165cbcac53976d9792989f1d30b0ab9 | [
"MIT"
] | null | null | null | prometheus/utils/datetime.py | face-digital/prometheus_cms | 95f8a8f90165cbcac53976d9792989f1d30b0ab9 | [
"MIT"
] | null | null | null | prometheus/utils/datetime.py | face-digital/prometheus_cms | 95f8a8f90165cbcac53976d9792989f1d30b0ab9 | [
"MIT"
] | null | null | null | from django.utils.timezone import utc
import datetime
def utcnow():
return datetime.datetime.utcnow().replace(tzinfo=utc)
| 16.125 | 57 | 0.767442 | 17 | 129 | 5.823529 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 7 | 58 | 18.428571 | 0.883929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
016603713f8d0b0da78ead42f03eaf252e4ee616 | 87 | py | Python | plugins/Bots/PyrogramBot/__init__.py | pr0stre1/tbot | 90aacc1e9b8ae2cc323974b0872fa8b496a2ecb3 | [
"MIT"
] | null | null | null | plugins/Bots/PyrogramBot/__init__.py | pr0stre1/tbot | 90aacc1e9b8ae2cc323974b0872fa8b496a2ecb3 | [
"MIT"
] | 1 | 2022-03-30T18:56:14.000Z | 2022-03-30T18:56:14.000Z | plugins/Bots/PyrogramBot/__init__.py | pr0stre1/tbot | 90aacc1e9b8ae2cc323974b0872fa8b496a2ecb3 | [
"MIT"
] | null | null | null | from plugins.Bots.PyrogramBot import bot
from plugins.Bots.PyrogramBot import handlers
| 29 | 45 | 0.862069 | 12 | 87 | 6.25 | 0.583333 | 0.293333 | 0.4 | 0.693333 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 2 | 46 | 43.5 | 0.949367 | 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 | 1 | 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 | 9 |
6d9f2fa86fdd755841bcae04e35483d85850bc0e | 166 | py | Python | python/dagster-fusion/dagster_fusion/io/__init__.py | roeap/flight-fusion | 14f73c99c5214277d0abcced633d83b37f1d5292 | [
"Apache-2.0",
"MIT"
] | 5 | 2021-12-24T06:21:40.000Z | 2022-01-16T12:21:06.000Z | python/dagster-fusion/dagster_fusion/io/__init__.py | roeap/flight-fusion | 14f73c99c5214277d0abcced633d83b37f1d5292 | [
"Apache-2.0",
"MIT"
] | 66 | 2021-12-15T17:08:21.000Z | 2022-03-29T10:36:18.000Z | python/dagster-fusion/dagster_fusion/io/__init__.py | roeap/flight-fusion | 14f73c99c5214277d0abcced633d83b37f1d5292 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-02-08T21:07:08.000Z | 2022-02-08T21:07:08.000Z | from .io_manager import flight_fusion_io_manager
from .root_input_manager import flight_fusion_loader
__all__ = ("flight_fusion_io_manager", "flight_fusion_loader")
| 33.2 | 62 | 0.861446 | 24 | 166 | 5.25 | 0.416667 | 0.380952 | 0.301587 | 0.396825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078313 | 166 | 4 | 63 | 41.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.26506 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6da89608445e841a068d59d45767a1502ce7ef67 | 31,001 | py | Python | bash/listener.py | HewlettPackard/Aruba-FlaskwithNetworking | d19e4a542f72806b1d22ed7519b0a59a697d275a | [
"MIT"
] | 10 | 2018-08-10T12:01:20.000Z | 2022-01-21T20:44:11.000Z | bash/listener.py | HewlettPackard/Aruba-FlaskwithNetworking | d19e4a542f72806b1d22ed7519b0a59a697d275a | [
"MIT"
] | null | null | null | bash/listener.py | HewlettPackard/Aruba-FlaskwithNetworking | d19e4a542f72806b1d22ed7519b0a59a697d275a | [
"MIT"
] | 4 | 2019-03-24T16:24:05.000Z | 2022-02-18T05:49:51.000Z | import pyshark
from datetime import datetime, time, timedelta
import time
import json
import os
import sys
import pymysql.cursors
pathname = os.path.dirname(sys.argv[0])
appPath = os.path.abspath(pathname) + "/globals.json"
with open(appPath, 'r') as myfile:
data=myfile.read()
globalconf=json.loads(data)
listenerl... | 56.778388 | 253 | 0.554111 | 2,890 | 31,001 | 5.840484 | 0.10519 | 0.041946 | 0.01333 | 0.021328 | 0.845962 | 0.829788 | 0.807038 | 0.776705 | 0.766159 | 0.751289 | 0 | 0.017035 | 0.335344 | 31,001 | 545 | 254 | 56.882569 | 0.802135 | 0.024515 | 0 | 0.708415 | 0 | 0 | 0.213005 | 0.039676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011742 | false | 0.001957 | 0.013699 | 0 | 0.029354 | 0.001957 | 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 |
6de9c4b19dc22deb5c0b78ad6d8ca54515d97323 | 563 | py | Python | EX109/moeda.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | 1 | 2020-04-21T19:14:50.000Z | 2020-04-21T19:14:50.000Z | EX109/moeda.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | null | null | null | EX109/moeda.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | null | null | null | def metade(preco=0, formato=False):
res = preco / 2
return res if formato is False else moeda(res)
def dobro(preco=0, formato=False):
res = preco * 2
return res if formato is False else moeda(res)
def aumento(preco=0, taxa=0, formato=False):
res = preco * (1 + taxa/100)
return res if formato... | 25.590909 | 52 | 0.646536 | 93 | 563 | 3.913978 | 0.258065 | 0.082418 | 0.142857 | 0.175824 | 0.802198 | 0.802198 | 0.802198 | 0.802198 | 0.802198 | 0.802198 | 0 | 0.042889 | 0.213144 | 563 | 22 | 52 | 25.590909 | 0.778781 | 0 | 0 | 0.285714 | 0 | 0 | 0.044326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.071429 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
6dfa1d7d8d88b53420c25b493c7bb643b100724a | 12,744 | py | Python | pypeln/task/queue_task_test.py | quarckster/pypeln | f4160d0f4d4718b67f79a0707d7261d249459a4b | [
"MIT"
] | 1,281 | 2018-09-20T05:35:27.000Z | 2022-03-30T01:29:48.000Z | pypeln/task/queue_task_test.py | webclinic017/pypeln | 5231806f2cac9d2019dacbbcf913484fd268b8c1 | [
"MIT"
] | 78 | 2018-09-18T20:38:12.000Z | 2022-03-30T20:16:02.000Z | pypeln/task/queue_task_test.py | webclinic017/pypeln | 5231806f2cac9d2019dacbbcf913484fd268b8c1 | [
"MIT"
] | 88 | 2018-09-24T10:46:14.000Z | 2022-03-28T09:34:50.000Z | import asyncio
from dataclasses import dataclass
import sys
import sys
import time
import typing as tp
from unittest import TestCase
import unittest
from unittest import mock
import cytoolz as cz
import hypothesis as hp
from hypothesis import strategies as st
import pytest
from pypeln import utils as pypeln_utils
imp... | 24 | 70 | 0.586315 | 1,583 | 12,744 | 4.595073 | 0.06633 | 0.05444 | 0.067913 | 0.079186 | 0.89868 | 0.864586 | 0.85455 | 0.830217 | 0.822519 | 0.814682 | 0 | 0.007398 | 0.299984 | 12,744 | 530 | 71 | 24.045283 | 0.807981 | 0.010593 | 0 | 0.795918 | 0 | 0 | 0.000079 | 0 | 0 | 0 | 0 | 0 | 0.145773 | 1 | 0.037901 | false | 0.008746 | 0.046647 | 0 | 0.09621 | 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 |
a3062b381d13aa4b4f37260c5d0049ac41f895bc | 49 | py | Python | obstacle-avoidance/lbi/envs/__init__.py | irom-lab/performance-limits | 7ef091d962946a6c35415039e9e29d9c1591ed52 | [
"MIT"
] | 3 | 2022-02-02T15:10:37.000Z | 2022-02-16T18:09:19.000Z | obstacle-avoidance/lbi/envs/__init__.py | irom-lab/performance-limits | 7ef091d962946a6c35415039e9e29d9c1591ed52 | [
"MIT"
] | null | null | null | obstacle-avoidance/lbi/envs/__init__.py | irom-lab/performance-limits | 7ef091d962946a6c35415039e9e29d9c1591ed52 | [
"MIT"
] | null | null | null | from .envs import generate_random_env, plot_env
| 24.5 | 48 | 0.836735 | 8 | 49 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.883721 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0977d7b30548cbbb80b688241a2f4246c91ffe30 | 2,290 | py | Python | pytorch/softsort.py | sprillo/softsort | 8dcb552804ccb3638ade1a53ef12c0e84f3831d8 | [
"MIT"
] | 27 | 2020-07-01T12:22:28.000Z | 2022-02-17T16:49:00.000Z | pytorch/softsort.py | lbruand/softsort | 8dcb552804ccb3638ade1a53ef12c0e84f3831d8 | [
"MIT"
] | 11 | 2020-09-25T22:41:58.000Z | 2022-02-10T03:32:24.000Z | pytorch/softsort.py | lbruand/softsort | 8dcb552804ccb3638ade1a53ef12c0e84f3831d8 | [
"MIT"
] | 4 | 2020-06-30T17:30:13.000Z | 2021-12-29T15:15:11.000Z | import torch
from torch import Tensor
class SoftSort(torch.nn.Module):
def __init__(self, tau=1.0, hard=False, pow=1.0):
super(SoftSort, self).__init__()
self.hard = hard
self.tau = tau
self.pow = pow
def forward(self, scores: Tensor):
"""
scores: elements to b... | 32.714286 | 94 | 0.575546 | 328 | 2,290 | 3.814024 | 0.167683 | 0.076739 | 0.047962 | 0.052758 | 0.926459 | 0.926459 | 0.926459 | 0.926459 | 0.902478 | 0.902478 | 0 | 0.0281 | 0.285153 | 2,290 | 69 | 95 | 33.188406 | 0.736103 | 0.079476 | 0 | 0.729167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.041667 | 0 | 0.291667 | 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 |
098eb34100ccf888fa1b89ac14d5506eb18d5441 | 45,212 | py | Python | sdk/python/pulumi_databricks/mws_log_delivery.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_databricks/mws_log_delivery.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_databricks/mws_log_delivery.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 62.794444 | 997 | 0.706007 | 5,898 | 45,212 | 5.244659 | 0.06765 | 0.055475 | 0.057932 | 0.053341 | 0.944978 | 0.933275 | 0.927876 | 0.914881 | 0.910452 | 0.906766 | 0 | 0.002239 | 0.209635 | 45,212 | 719 | 998 | 62.88178 | 0.863407 | 0.530611 | 0 | 0.761155 | 1 | 0 | 0.116506 | 0.028017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16273 | false | 0.002625 | 0.013123 | 0.007874 | 0.272966 | 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 |
61deaf37a4cc4c5832e2c213d466e1ac71bab0e9 | 150 | py | Python | loldib/getratings/models/NA/na_rammus/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_rammus/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_rammus/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_rammus_top import *
from .na_rammus_jng import *
from .na_rammus_mid import *
from .na_rammus_bot import *
from .na_rammus_sup import *
| 25 | 29 | 0.766667 | 25 | 150 | 4.2 | 0.36 | 0.285714 | 0.571429 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 150 | 5 | 30 | 30 | 0.84 | 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 |
61e10752124341e4a29bc703a29494d6d3bc3f02 | 20,020 | py | Python | config.py | thuiar/cmcnn | a18f09fa63baf74bb083779fa0a8881d55226e1a | [
"MIT"
] | null | null | null | config.py | thuiar/cmcnn | a18f09fa63baf74bb083779fa0a8881d55226e1a | [
"MIT"
] | null | null | null | config.py | thuiar/cmcnn | a18f09fa63baf74bb083779fa0a8881d55226e1a | [
"MIT"
] | null | null | null | import os
import random
import argparse
__all__ = ['Config', 'ConfigDebug']
class Storage(dict):
"""
A Storage object is like a dictionary except `obj.foo` can be used inadition to `obj['foo']`
ref: https://blog.csdn.net/a200822146085/article/details/88430450
"""
def __getattr__(self, key):
... | 39.643564 | 128 | 0.422927 | 1,918 | 20,020 | 4.172576 | 0.090198 | 0.089966 | 0.055229 | 0.032488 | 0.923529 | 0.916781 | 0.890041 | 0.873298 | 0.860927 | 0.832563 | 0 | 0.074949 | 0.437512 | 20,020 | 505 | 129 | 39.643564 | 0.635734 | 0.05005 | 0 | 0.730769 | 0 | 0 | 0.228184 | 0.032658 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036199 | false | 0 | 0.006787 | 0.002262 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
112648289ff90dd78c8313d5fc6c711a7ee8a951 | 2,530 | py | Python | tests/test_tutorials.py | gitter-badger/tudatpy | f5faef4ecfe8667cb9c989dd839185eeed5f9662 | [
"BSD-3-Clause"
] | null | null | null | tests/test_tutorials.py | gitter-badger/tudatpy | f5faef4ecfe8667cb9c989dd839185eeed5f9662 | [
"BSD-3-Clause"
] | null | null | null | tests/test_tutorials.py | gitter-badger/tudatpy | f5faef4ecfe8667cb9c989dd839185eeed5f9662 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import numpy as np
from tudatpy.apps import satellite_propagator
from tudatpy.kernel import constants
class TestTutorials(unittest.TestCase):
def test_tutorial_1(self):
test_output = satellite_propagator.single(
start_epoch=0.0,
fixed_step_size=10.0,
en... | 35.138889 | 66 | 0.557312 | 273 | 2,530 | 4.978022 | 0.333333 | 0.05298 | 0.022075 | 0.033848 | 0.877116 | 0.877116 | 0.877116 | 0.877116 | 0.877116 | 0.877116 | 0 | 0.298824 | 0.328063 | 2,530 | 71 | 67 | 35.633803 | 0.500588 | 0 | 0 | 0.830769 | 0 | 0 | 0.024506 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 1 | 0.030769 | false | 0 | 0.061538 | 0 | 0.107692 | 0.030769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
3a2ddf0963feff86e69d10186cbb94e97250251f | 7,396 | py | Python | tests/test_client.py | AppVelox/alicemsg | 2cf3abe3eb2596e306734c3cec74205f1586869b | [
"MIT"
] | null | null | null | tests/test_client.py | AppVelox/alicemsg | 2cf3abe3eb2596e306734c3cec74205f1586869b | [
"MIT"
] | null | null | null | tests/test_client.py | AppVelox/alicemsg | 2cf3abe3eb2596e306734c3cec74205f1586869b | [
"MIT"
] | null | null | null | import pytest
from alicemsg import AliceClient
from alicemsg.models import messages
class TestMessengerClient:
def test_init(self):
client = AliceClient()
assert client.text_message_processor is None
assert client.callback_processor is None
msg_json = {
"meta": {
... | 32.017316 | 93 | 0.443213 | 534 | 7,396 | 5.981273 | 0.170412 | 0.026299 | 0.058547 | 0.168754 | 0.915467 | 0.89449 | 0.851597 | 0.797433 | 0.734189 | 0.718535 | 0 | 0.140067 | 0.432396 | 7,396 | 231 | 94 | 32.017316 | 0.620772 | 0 | 0 | 0.728571 | 0 | 0 | 0.285521 | 0.133838 | 0 | 0 | 0 | 0 | 0.028571 | 1 | 0.038095 | false | 0 | 0.014286 | 0.019048 | 0.07619 | 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 |
3a5af104bcdce18fdc75c10f2f00a69ff3ee722d | 161 | py | Python | desktop/core/ext-py/nose-1.3.7/functional_tests/support/ctx/mod_import_skip.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/nose-1.3.7/functional_tests/support/ctx/mod_import_skip.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/nose-1.3.7/functional_tests/support/ctx/mod_import_skip.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | from nose import SkipTest
raise SkipTest("Don't run me")
def test():
assert False, "Should not be run"
def test2():
assert False, "Should not be run"
| 16.1 | 37 | 0.677019 | 26 | 161 | 4.192308 | 0.653846 | 0.201835 | 0.311927 | 0.366972 | 0.458716 | 0.458716 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.217391 | 161 | 9 | 38 | 17.888889 | 0.857143 | 0 | 0 | 0.333333 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
28ce672bd9d65a14d76339419473baaa1c8d4a36 | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_0/_pkg1_0_0/_pkg1_0_0_0/_pkg1_0_0_0_1/_mod1_0_0_0_1_1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_0/_pkg1_0_0/_pkg1_0_0_0/_pkg1_0_0_0_1/_mod1_0_0_0_1_1.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/_pkg1/_pkg1_0/_pkg1_0_0/_pkg1_0_0_0/_pkg1_0_0_0_1/_mod1_0_0_0_1_1.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name1_0_0_0_1_1_0 = None
name1_0_0_0_1_1_1 = None
name1_0_0_0_1_1_2 = None
name1_0_0_0_1_1_3 = None
name1_0_0_0_1_1_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.266667 | 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 |
e91506705dbb145d0523cd604c4ddec00eb32803 | 161 | py | Python | ramda/zip_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/zip_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/zip_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from ramda import *
from ramda.private.asserts import *
def zip_test():
assert_equal(zip([1, 2, 3], ["a", "b", "c", "e"]), [[1, "a"], [2, "b"], [3, "c"]])
| 23 | 86 | 0.515528 | 27 | 161 | 3 | 0.62963 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.180124 | 161 | 6 | 87 | 26.833333 | 0.568182 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
3a771f10943a2b41dea4053499724ddf9ac3a8ca | 329 | py | Python | ex108/teste.py | eng-lenin/Python | 6038f052b8343878760ed133dd43869927e39b3d | [
"MIT"
] | 1 | 2021-01-30T14:50:55.000Z | 2021-01-30T14:50:55.000Z | ex108/teste.py | eng-lenin/Python | 6038f052b8343878760ed133dd43869927e39b3d | [
"MIT"
] | null | null | null | ex108/teste.py | eng-lenin/Python | 6038f052b8343878760ed133dd43869927e39b3d | [
"MIT"
] | null | null | null | import moeda
preço = float(input('Digite o preço: R$ '))
print(f'A metade do preço {moeda.moeda(preço)} é {moeda.moeda(moeda.metade(preço))}')
print(f'O dobro do preço {moeda.moeda(preço)} é {moeda.moeda(moeda.dobro(preço))}')
print(f'Aumentndo o preço {moeda.moeda(preço)} em 10% temos {moeda.moeda(moeda.aumentar(preço... | 65.8 | 102 | 0.717325 | 56 | 329 | 4.214286 | 0.357143 | 0.381356 | 0.190678 | 0.254237 | 0.322034 | 0.322034 | 0.322034 | 0.322034 | 0.322034 | 0 | 0 | 0.013423 | 0.094225 | 329 | 5 | 102 | 65.8 | 0.778523 | 0 | 0 | 0 | 0 | 0.6 | 0.784848 | 0.306061 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
3a791a78b5d314313444bc1fbc8ea53122548b2e | 7,403 | py | Python | tests/html/test_button.py | elliterate/xpath.py | 6a244d8067cebf6f9f3cc9d9f05bfb5c1ca9ed40 | [
"MIT",
"Unlicense"
] | 18 | 2016-07-28T22:05:50.000Z | 2021-11-30T13:29:40.000Z | tests/html/test_button.py | elliterate/xpath.py | 6a244d8067cebf6f9f3cc9d9f05bfb5c1ca9ed40 | [
"MIT",
"Unlicense"
] | 6 | 2016-08-02T22:02:36.000Z | 2020-04-15T09:41:38.000Z | tests/html/test_button.py | elliterate/xpath.py | 6a244d8067cebf6f9f3cc9d9f05bfb5c1ca9ed40 | [
"MIT",
"Unlicense"
] | 7 | 2017-01-15T16:55:24.000Z | 2020-09-15T05:45:52.000Z | from tests.case import HTMLTestCase
class ButtonTestCase(HTMLTestCase):
__fixture__ = "form.html"
__matcher__ = "button"
class TestButtonTypeInputTag(ButtonTestCase):
def test_finds_buttons_by_id(self):
self.assertEqual(self.get("button-with-id"), "id-button")
def test_finds_buttons_by_valu... | 37.964103 | 83 | 0.729839 | 1,011 | 7,403 | 5.058358 | 0.06726 | 0.076652 | 0.103246 | 0.163473 | 0.847086 | 0.807978 | 0.777278 | 0.694368 | 0.67853 | 0.650372 | 0 | 0 | 0.141834 | 7,403 | 194 | 84 | 38.159794 | 0.804974 | 0 | 0 | 0.388889 | 0 | 0 | 0.172633 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | false | 0 | 0.007937 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
3a9ff2073657f1328d725c73baa45d742a12bfe4 | 13,625 | py | Python | demo2.py | lucas7788/ontology-python-vm | 22988c6826d6c8546965016cd6f8cdbc5ce3fa13 | [
"MIT"
] | null | null | null | demo2.py | lucas7788/ontology-python-vm | 22988c6826d6c8546965016cd6f8cdbc5ce3fa13 | [
"MIT"
] | null | null | null | demo2.py | lucas7788/ontology-python-vm | 22988c6826d6c8546965016cd6f8cdbc5ce3fa13 | [
"MIT"
] | null | null | null | from ontology.account.account import Account
from ontology.common.address import Address
from ontology.ont_sdk import OntologySdk
from ontology.smart_contract.neo_contract.abi.abi_info import AbiInfo
from ontology.smart_contract.neo_contract.abi.build_params import BuildParams
from src.types.bool_item import BoolItem
f... | 105.620155 | 6,168 | 0.832734 | 694 | 13,625 | 16.195965 | 0.23487 | 0.017794 | 0.016815 | 0.011121 | 0.118772 | 0.11121 | 0.10605 | 0.092349 | 0.083274 | 0.076868 | 0 | 0.465914 | 0.077358 | 13,625 | 128 | 6,169 | 106.445313 | 0.428208 | 0.183266 | 0 | 0.139785 | 0 | 0 | 0.650126 | 0.57862 | 0 | 1 | 0.004143 | 0 | 0 | 1 | 0.032258 | false | 0.021505 | 0.139785 | 0 | 0.215054 | 0.107527 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c9054536fc1255b14e6796a95621cd8b3e6fe673 | 9,730 | py | Python | haychecker/_test/dhc/mutual_info_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | 2 | 2019-05-22T08:24:38.000Z | 2020-12-04T13:36:30.000Z | haychecker/_test/dhc/mutual_info_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | null | null | null | haychecker/_test/dhc/mutual_info_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | 3 | 2018-09-15T13:40:40.000Z | 2021-06-29T23:31:18.000Z | import random
import unittest
import numpy as np
import pandas as pd
from pyspark.sql import SparkSession
from pyspark.sql.functions import udf
from pyspark.sql.types import StringType, StructField, StructType, IntegerType, FloatType
from sklearn.metrics import mutual_info_score
from haychecker.dhc.metrics import mut... | 38.307087 | 102 | 0.533916 | 1,366 | 9,730 | 3.694729 | 0.082723 | 0.056865 | 0.067367 | 0.068952 | 0.812166 | 0.788785 | 0.751337 | 0.738657 | 0.723796 | 0.715276 | 0 | 0.085928 | 0.313464 | 9,730 | 253 | 103 | 38.458498 | 0.669611 | 0 | 0 | 0.734234 | 0 | 0 | 0.023535 | 0.002775 | 0 | 0 | 0 | 0 | 0.13964 | 1 | 0.045045 | false | 0 | 0.040541 | 0 | 0.099099 | 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 |
c90dc4782ce74a1107e8aabf68563c1847c29131 | 46 | py | Python | whoisit/__main__.py | karakays/who-is-it | 1acc317b9f11d40110cf7a30b910dba53a525deb | [
"MIT"
] | null | null | null | whoisit/__main__.py | karakays/who-is-it | 1acc317b9f11d40110cf7a30b910dba53a525deb | [
"MIT"
] | null | null | null | whoisit/__main__.py | karakays/who-is-it | 1acc317b9f11d40110cf7a30b910dba53a525deb | [
"MIT"
] | null | null | null | from . import app
def main():
app.run()
| 7.666667 | 17 | 0.565217 | 7 | 46 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282609 | 46 | 5 | 18 | 9.2 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c9626850de096356edd211d9314f58870bdf1eb3 | 20,646 | py | Python | policykit/constitution/migrations/0001_initial.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 78 | 2020-05-08T17:25:38.000Z | 2022-01-13T05:44:50.000Z | policykit/constitution/migrations/0001_initial.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 302 | 2020-02-20T07:04:30.000Z | 2022-02-25T17:44:23.000Z | policykit/constitution/migrations/0001_initial.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 13 | 2020-04-17T19:44:26.000Z | 2022-02-25T17:18:04.000Z | # Generated by Django 3.2.2 on 2021-09-02 15:10
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('auth', '0012_alter_user_first_name_max_length'),
('policyengine', '0001_initial'),
]
op... | 64.317757 | 218 | 0.625932 | 1,893 | 20,646 | 6.698362 | 0.066561 | 0.056782 | 0.069401 | 0.083281 | 0.835804 | 0.831782 | 0.831782 | 0.817114 | 0.72153 | 0.72153 | 0 | 0.002972 | 0.233992 | 20,646 | 320 | 219 | 64.51875 | 0.798799 | 0.00218 | 0 | 0.747604 | 1 | 0 | 0.295548 | 0.146415 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.095847 | 0.00639 | 0 | 0.019169 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
a392be2b03c7996f15c54dc71e3762ee9e7cacdc | 6,420 | py | Python | convlstm/test/tests.py | AlbertoCenzato/pytorch_model_zoo | ffd9a70b95141c75dea4d71546ca509f88b1b63a | [
"MIT"
] | 11 | 2019-08-13T14:21:19.000Z | 2022-02-17T12:22:01.000Z | convlstm/test/tests.py | AlbertoCenzato/pytorch_model_zoo | ffd9a70b95141c75dea4d71546ca509f88b1b63a | [
"MIT"
] | null | null | null | convlstm/test/tests.py | AlbertoCenzato/pytorch_model_zoo | ffd9a70b95141c75dea4d71546ca509f88b1b63a | [
"MIT"
] | 3 | 2019-10-20T17:46:05.000Z | 2021-12-10T22:29:50.000Z | import unittest
import random
import time
import torch
from ..package import convlstm, convlstm_cpp, convlstm_cuda
class TestConvLSTMCPP(unittest.TestCase):
def setUp(self):
input_size = (30,30)
input_dim = 1
hidden_dim = 1
kernel_size = (5,5)
bias = True
self... | 36.896552 | 123 | 0.645794 | 809 | 6,420 | 4.897404 | 0.113721 | 0.060575 | 0.080767 | 0.051489 | 0.921252 | 0.915447 | 0.915447 | 0.903836 | 0.903836 | 0.898031 | 0 | 0.012474 | 0.250779 | 6,420 | 174 | 124 | 36.896552 | 0.811227 | 0.029751 | 0 | 0.806723 | 0 | 0 | 0.044044 | 0 | 0 | 0 | 0 | 0 | 0.05042 | 1 | 0.084034 | false | 0 | 0.042017 | 0 | 0.142857 | 0.033613 | 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 |
6e8a010f2834256ef316ba8ac7246302d665caa8 | 124,986 | py | Python | wrfSection.py | fossabot/Ekman | 2b688ac156159b8499736f4663716252ae90bec9 | [
"MIT"
] | null | null | null | wrfSection.py | fossabot/Ekman | 2b688ac156159b8499736f4663716252ae90bec9 | [
"MIT"
] | null | null | null | wrfSection.py | fossabot/Ekman | 2b688ac156159b8499736f4663716252ae90bec9 | [
"MIT"
] | null | null | null | """
Author: Ueslei Adriano Sutil
Created: 08 Apr 2019
Last modified: 05 Jan 2021
Version: 2.12
This file generates a new WRF output file from scratch.
It is netCDF4 CF-compliant.
WARNING: Do not change anything in this file.
"""
from netCDF4 import Dataset
from setOptions import *
from ... | 75.156945 | 319 | 0.467636 | 11,882 | 124,986 | 4.852803 | 0.026847 | 0.016094 | 0.073811 | 0.083176 | 0.940289 | 0.926831 | 0.919079 | 0.91613 | 0.909402 | 0.906956 | 0 | 0.017767 | 0.398805 | 124,986 | 1,663 | 320 | 75.156945 | 0.749604 | 0.017378 | 0 | 0.919211 | 1 | 0 | 0.088363 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001272 | false | 0 | 0.005089 | 0 | 0.006997 | 0.020356 | 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 |
6e9e820508a9ccdc3f51b73e7eebe8b5da7af0de | 792 | py | Python | ex016.py | CarlosHenriqueEvangelista/PythonExercies | f5082d425d57a386f6d0a9655bc6b54e2304e405 | [
"MIT"
] | null | null | null | ex016.py | CarlosHenriqueEvangelista/PythonExercies | f5082d425d57a386f6d0a9655bc6b54e2304e405 | [
"MIT"
] | null | null | null | ex016.py | CarlosHenriqueEvangelista/PythonExercies | f5082d425d57a386f6d0a9655bc6b54e2304e405 | [
"MIT"
] | null | null | null | import math
print("{:=^50}".format("> Elimating Floating Numbers <"))
NumberWithFloatingNumber = float(input("Enter a floating number to convert it to an integer: "))
print("This number with only it's integer part is: {}".format(math.trunc(NumberWithFloatingNumber)))
print("{:=^50}".format("> Elimating Floating ... | 28.285714 | 100 | 0.728535 | 100 | 792 | 5.77 | 0.28 | 0.036395 | 0.067591 | 0.114385 | 0.918544 | 0.918544 | 0.918544 | 0.918544 | 0.918544 | 0.918544 | 0 | 0.008671 | 0.126263 | 792 | 27 | 101 | 29.333333 | 0.825145 | 0 | 0 | 0.6 | 0 | 0 | 0.516456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
28709750043722126a0dc1790a5800281eb4515d | 145 | py | Python | tests/parser/aggregates.grounding.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.grounding.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.grounding.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
a(1) | a(2).
b(1).
:- b(N), not #count{ V : a(V) } = N.
"""
output = """
a(1) | a(2).
b(1).
:- b(N), not #count{ V : a(V) } = N.
"""
| 13.181818 | 36 | 0.351724 | 30 | 145 | 1.7 | 0.333333 | 0.078431 | 0.117647 | 0.156863 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0 | 0.055046 | 0.248276 | 145 | 10 | 37 | 14.5 | 0.412844 | 0 | 0 | 0.8 | 0 | 0 | 0.786207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
250b0a9dc27636b0d1518930fec96350efb41616 | 1,296 | py | Python | tests/test_verbose.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 24 | 2021-06-09T16:12:45.000Z | 2022-03-08T17:50:47.000Z | tests/test_verbose.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 1 | 2021-11-19T09:17:30.000Z | 2021-11-19T09:17:30.000Z | tests/test_verbose.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 1 | 2021-06-11T05:23:33.000Z | 2021-06-11T05:23:33.000Z | import pytest
import torcheck
def test_verbose_on(
unchanging_model_optimizer, unchanging_model, dataloader, run_training
):
torcheck.verbose_on()
torcheck.register(unchanging_model_optimizer)
torcheck.add_module_changing_check(unchanging_model, module_name="NeuralNet")
with pytest.raises(
... | 32.4 | 81 | 0.693673 | 144 | 1,296 | 5.958333 | 0.25 | 0.244755 | 0.195804 | 0.111888 | 0.847319 | 0.847319 | 0.815851 | 0.815851 | 0.561772 | 0.412587 | 0 | 0.003922 | 0.212963 | 1,296 | 39 | 82 | 33.230769 | 0.837255 | 0 | 0 | 0.771429 | 0 | 0 | 0.159722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.057143 | 0 | 0.114286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
250fbe77306254e873c313b9671ef699ebce58c7 | 341 | py | Python | src/final_exam/q_employee/hourly_employee.py | acc-cosc-1336/cosc-1336-spring-2018-BarndonSelesino | c2ee6a9914383716347765f148d2d15b9e3211b7 | [
"MIT"
] | null | null | null | src/final_exam/q_employee/hourly_employee.py | acc-cosc-1336/cosc-1336-spring-2018-BarndonSelesino | c2ee6a9914383716347765f148d2d15b9e3211b7 | [
"MIT"
] | 1 | 2018-02-03T03:41:28.000Z | 2018-02-03T03:41:28.000Z | src/final_exam/q_employee/hourly_employee.py | acc-cosc-1336/cosc-1336-spring-2018-BarndonSelesino | c2ee6a9914383716347765f148d2d15b9e3211b7 | [
"MIT"
] | 1 | 2018-04-13T01:17:50.000Z | 2018-04-13T01:17:50.000Z | from employee import Employee
class HourlyEmployee():
def __init__(self, hourly_rate, worked_hours):
self.hourly_rate = hourly_rate
self.worked_hours = worked_hours
Employee.__init__(self,employee_id,name,hourly_rate,worked_hours)
def calculate(self):
return self.hourly_... | 34.1 | 74 | 0.715543 | 42 | 341 | 5.357143 | 0.380952 | 0.222222 | 0.186667 | 0.28 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214076 | 341 | 9 | 75 | 37.888889 | 0.839552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
c269d683858debf91f5de1a1d4890a78737f11f3 | 149 | py | Python | bluesteel/settings/__init__.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 10 | 2017-01-13T06:28:04.000Z | 2020-11-18T13:00:26.000Z | bluesteel/settings/__init__.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | null | null | null | bluesteel/settings/__init__.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 2 | 2018-03-29T14:10:53.000Z | 2019-11-20T08:21:57.000Z | """ Settings module """
from bluesteel.settings import production
from bluesteel.settings import development
from bluesteel.settings import testing
| 24.833333 | 42 | 0.825503 | 17 | 149 | 7.235294 | 0.470588 | 0.317073 | 0.512195 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 149 | 5 | 43 | 29.8 | 0.931818 | 0.100671 | 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 |
6c1517529b5ac7652955d04bf04ecc150a288881 | 134,090 | py | Python | gaugette/fonts/arial_32.py | wsiffer/Google-Bartender | 37018d3efe33a84074a6dccbce9e82f20ef3c923 | [
"MIT"
] | 6 | 2020-07-30T00:21:29.000Z | 2022-03-16T23:31:09.000Z | gaugette/fonts/arial_32.py | antndeb/Google-Bartender | 37018d3efe33a84074a6dccbce9e82f20ef3c923 | [
"MIT"
] | null | null | null | gaugette/fonts/arial_32.py | antndeb/Google-Bartender | 37018d3efe33a84074a6dccbce9e82f20ef3c923 | [
"MIT"
] | 1 | 2022-03-16T23:39:29.000Z | 2022-03-16T23:39:29.000Z | # coding=utf-8
# Module arial_32
# generated from Arial 24.75pt
name = "Arial 32"
start_char = '!'
end_char = chr(127)
char_height = 32
space_width = 16
gap_width = 4
bitmaps = (
# @0 '!' (3 pixels wide)
0x00, #
0xE0, # OOO
0xE0, # OOO
0xE0, # OOO
0xE0, # OOO
0xE0, # OOO
... | 38.957002 | 292 | 0.419472 | 19,377 | 134,090 | 2.902462 | 0.013831 | 0.289184 | 0.387049 | 0.475667 | 0.818246 | 0.762771 | 0.713003 | 0.674952 | 0.633079 | 0.60207 | 0 | 0.43484 | 0.430778 | 134,090 | 3,441 | 293 | 38.968323 | 0.301977 | 0.365769 | 0 | 0.867983 | 1 | 0 | 0.00011 | 0 | 0 | 0 | 0.322324 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
6c24ce4c7bea1ecb61064d6a72153eae3a8f10c7 | 2,206 | py | Python | src/pdc2/scripts/transrate_wrapper.py | jlanga/smsk_selection | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 4 | 2021-07-18T05:20:20.000Z | 2022-01-03T10:22:33.000Z | src/pdc2/scripts/transrate_wrapper.py | jlanga/smsk_selection | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 1 | 2017-08-21T07:26:13.000Z | 2018-11-08T13:59:48.000Z | src/pdc2/scripts/transrate_wrapper.py | jlanga/smsk_orthofinder | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 2 | 2021-07-18T05:20:26.000Z | 2022-03-31T18:23:31.000Z | "Wrapper for transrate"
import sys,os
def transrate_ref(assembly,pe_fq1,pe_fq2,num_cores,DIR,reference):
if DIR == ".": DIR = os.getcwd()
if DIR != os.getcwd() : os.chdir(DIR)
if DIR[-1] != "/": DIR += "/"
if DIR[0] != "/": DIR = "/" + str(DIR)
path_assembly, file_assembly = (os.path.split(assembly)) #spl... | 27.234568 | 144 | 0.676337 | 333 | 2,206 | 4.273273 | 0.207207 | 0.063949 | 0.02811 | 0.056219 | 0.777231 | 0.777231 | 0.777231 | 0.777231 | 0.777231 | 0.732256 | 0 | 0.017989 | 0.143246 | 2,206 | 80 | 145 | 27.575 | 0.734921 | 0.030825 | 0 | 0.72549 | 0 | 0 | 0.203469 | 0.022504 | 0 | 0 | 0 | 0 | 0.039216 | 0 | null | null | 0 | 0.019608 | null | null | 0.137255 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6c3bb55cf14477add4354b17f71ae37445f64de3 | 6,890 | py | Python | tests/grammpy_test/oldapi_tests/rules_tests/grammarManipulation_tests/ValidAddTest.py | PatrikValkovic/grammpy | 8308a1fd349bf9ea0d267360cc9a4ab20d1629e8 | [
"MIT"
] | 1 | 2021-02-04T12:41:08.000Z | 2021-02-04T12:41:08.000Z | tests/grammpy_test/oldapi_tests/rules_tests/grammarManipulation_tests/ValidAddTest.py | PatrikValkovic/grammpy | 8308a1fd349bf9ea0d267360cc9a4ab20d1629e8 | [
"MIT"
] | 3 | 2017-07-08T16:28:52.000Z | 2020-04-23T18:06:24.000Z | tests/grammpy_test/oldapi_tests/rules_tests/grammarManipulation_tests/ValidAddTest.py | PatrikValkovic/grammpy | 8308a1fd349bf9ea0d267360cc9a4ab20d1629e8 | [
"MIT"
] | 1 | 2021-02-04T12:41:10.000Z | 2021-02-04T12:41:10.000Z | #!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 03.08.2017 12:28
:Licence MIT
Part of grammpy
"""
from unittest import main, TestCase
from grammpy.old_api import Rule as _R, Grammar
from ..grammar import *
class ValidAddTest(TestCase):
def __init__(self, *args):
super().__init__(*args)
... | 36.648936 | 78 | 0.610305 | 948 | 6,890 | 4.317511 | 0.080169 | 0.118495 | 0.232104 | 0.24432 | 0.878329 | 0.870511 | 0.854386 | 0.846079 | 0.839726 | 0.839726 | 0 | 0.031279 | 0.229753 | 6,890 | 187 | 79 | 36.84492 | 0.739966 | 0.014369 | 0 | 0.75 | 0 | 0 | 0.003391 | 0 | 0 | 0 | 0 | 0 | 0.651316 | 1 | 0.059211 | false | 0 | 0.019737 | 0 | 0.171053 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
6c84ce571418c28bbb52bcbba7fc089810db3277 | 1,109 | py | Python | Trabajo_final.py | carlos99c/Programming-2020B | 53b08cb1d8b84558112f68f44aa3256f26fc93ca | [
"Apache-2.0"
] | null | null | null | Trabajo_final.py | carlos99c/Programming-2020B | 53b08cb1d8b84558112f68f44aa3256f26fc93ca | [
"Apache-2.0"
] | null | null | null | Trabajo_final.py | carlos99c/Programming-2020B | 53b08cb1d8b84558112f68f44aa3256f26fc93ca | [
"Apache-2.0"
] | null | null | null | list = ["2,4,6,8,10","1,3,7,9,10"]
listA = list[0].split(sep=',')
listB = list[1].split(sep=',')
print("\n::: INTERSECCIÓN ::: \n")
i=0
counter=0
while i < len(listA) :
j=0
while j < len(listB) :
if listA[i] == listB[j] :
print ("lista A",listA[i])
counter+=1
j+=1
i+=1
if counter == 0 :
... | 17.328125 | 47 | 0.543733 | 199 | 1,109 | 3.030151 | 0.211055 | 0.079602 | 0.049751 | 0.074627 | 0.915423 | 0.915423 | 0.895522 | 0.895522 | 0.895522 | 0.895522 | 0 | 0.082367 | 0.222723 | 1,109 | 64 | 48 | 17.328125 | 0.617169 | 0 | 0 | 0.854167 | 0 | 0 | 0.25045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.1875 | 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 |
66974cd714d24e51490ff83bcb3bb659675baa82 | 19,587 | py | Python | tests/frameworks/test_aiohttp_server.py | tirkarthi/python-sensor | 9872d146ac00baff2673fde5ba97fdbe596869a4 | [
"MIT"
] | 61 | 2017-09-27T02:50:17.000Z | 2022-03-22T12:13:37.000Z | tests/frameworks/test_aiohttp_server.py | tirkarthi/python-sensor | 9872d146ac00baff2673fde5ba97fdbe596869a4 | [
"MIT"
] | 82 | 2017-07-11T13:47:33.000Z | 2022-03-22T10:10:38.000Z | tests/frameworks/test_aiohttp_server.py | takeaway/python-sensor | 52d6eaa2d6a8e625201bad36ac2448201c4bd63d | [
"MIT"
] | 27 | 2017-09-11T16:22:32.000Z | 2022-03-11T17:21:49.000Z | # (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020
from __future__ import absolute_import
import aiohttp
import asyncio
import unittest
import tests.apps.aiohttp_app
from ..helpers import testenv
from instana.singletons import async_tracer, agent
class TestAiohttpServer(unittest.TestCase):
asyn... | 40.552795 | 118 | 0.63634 | 2,221 | 19,587 | 5.461054 | 0.063935 | 0.158298 | 0.051447 | 0.046747 | 0.911864 | 0.908978 | 0.904526 | 0.898755 | 0.8915 | 0.88713 | 0 | 0.009123 | 0.238934 | 19,587 | 482 | 119 | 40.636929 | 0.804521 | 0.026803 | 0 | 0.809524 | 0 | 0 | 0.108151 | 0 | 0 | 0 | 0 | 0 | 0.602241 | 1 | 0.028011 | false | 0.005602 | 0.019608 | 0 | 0.07563 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
66b82c09498b6ec90c69d90f29418a3cfa3f42e2 | 27,499 | py | Python | tests/unit/classes_test_io/classes_1_functions_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | tests/unit/classes_test_io/classes_1_functions_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | tests/unit/classes_test_io/classes_1_functions_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | #
import libraries.constants as ct
import libraries.globals as gb
import libraries.schematics as sch
from unit.second_processes_test_io.second_processes_supplemental import LIST_META_1
from unit.second_processes_test_io.second_processes_supplemental import LIST_META_BLANK_1
from unit.second_processes_test_io.second_pr... | 28.525934 | 115 | 0.568166 | 2,632 | 27,499 | 5.620821 | 0.06193 | 0.071989 | 0.053535 | 0.056239 | 0.920238 | 0.899283 | 0.868933 | 0.850548 | 0.829593 | 0.818778 | 0 | 0.007886 | 0.262228 | 27,499 | 963 | 116 | 28.555556 | 0.721313 | 0 | 0 | 0.764387 | 0 | 0 | 0.505037 | 0.16009 | 0 | 0 | 0 | 0 | 0.034745 | 1 | 0 | false | 0 | 0.013029 | 0 | 0.013029 | 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 |
66b8d250510c4f902683e0891b91ead4000ac2dc | 646 | py | Python | tests/regex_demo.py | arisp99/sphinx-toolbox | 2987080e2d65c0dd2d392dcf7f1f5a904a9231f5 | [
"MIT"
] | 30 | 2021-03-01T00:15:55.000Z | 2022-03-01T13:23:59.000Z | tests/regex_demo.py | arisp99/sphinx-toolbox | 2987080e2d65c0dd2d392dcf7f1f5a904a9231f5 | [
"MIT"
] | 56 | 2020-12-17T12:39:04.000Z | 2022-03-21T19:00:55.000Z | tests/regex_demo.py | domdfcoding/sphinx-toolbox | fe5a35d6b4fce617514c4c243ad94fb8bd86b0bf | [
"MIT"
] | 4 | 2021-07-04T16:57:52.000Z | 2022-03-21T19:35:31.000Z | # stdlib
import re
no_flags = re.compile(r"Hello\s+[Ww]orld[.,](Lovely|Horrible) weather, isn't it (.*)\?")
one_flag = re.compile(r"Hello\s+[Ww]orld[.,](Lovely|Horrible) weather, isn't it (.*)\?", flags=re.IGNORECASE)
two_flags = re.compile(
r"Hello \s+ [Ww]orld [.,] (Lovely|Horrible)\ weather,\ isn't\ it (.*) \?",
... | 46.142857 | 109 | 0.617647 | 107 | 646 | 3.598131 | 0.327103 | 0.062338 | 0.114286 | 0.166234 | 0.792208 | 0.792208 | 0.792208 | 0.792208 | 0.792208 | 0.792208 | 0 | 0.013722 | 0.097523 | 646 | 13 | 110 | 49.692308 | 0.646655 | 0.009288 | 0 | 0 | 0 | 0.454545 | 0.548589 | 0.347962 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
66e73ddb617fbb45166fd9c065b0ded1f73633ee | 919 | py | Python | tests/test_cimmodel.py | nalu-svk/cimsparql | e69b0799a2bbd70027e2c8bb9970574991597ca5 | [
"MIT"
] | 9 | 2021-04-30T11:37:44.000Z | 2022-03-24T12:20:17.000Z | tests/test_cimmodel.py | nalu-svk/cimsparql | e69b0799a2bbd70027e2c8bb9970574991597ca5 | [
"MIT"
] | 15 | 2021-05-01T21:21:00.000Z | 2022-03-16T07:09:03.000Z | tests/test_cimmodel.py | nalu-svk/cimsparql | e69b0799a2bbd70027e2c8bb9970574991597ca5 | [
"MIT"
] | 3 | 2021-09-14T09:50:25.000Z | 2022-02-21T15:44:57.000Z | from mock import MagicMock
from cimsparql.model import CimModel
def test_map_data_types(monkeypatch):
def cim_init(self, *args):
self._mapper = MagicMock(have_cim_version=MagicMock(return_value=True))
self._prefixes = {"cim": None}
monkeypatch.setattr(CimModel, "__init__", cim_init)
cim_... | 27.848485 | 80 | 0.727965 | 122 | 919 | 5.04918 | 0.262295 | 0.068182 | 0.116883 | 0.102273 | 0.86039 | 0.86039 | 0.813312 | 0.813312 | 0.813312 | 0.813312 | 0 | 0 | 0.176279 | 919 | 32 | 81 | 28.71875 | 0.813738 | 0 | 0 | 0.590909 | 0 | 0 | 0.032644 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.272727 | false | 0.045455 | 0.090909 | 0 | 0.363636 | 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 |
dd050c6ccda50e5f2e47b0df9c972f445bc9238c | 18,737 | py | Python | dual_encoder/metrics_test.py | garyxcheng/federated | ba7133ead6127af71ea9356e26bfd05c02f8324a | [
"Apache-2.0"
] | 330 | 2020-09-14T23:10:16.000Z | 2022-03-30T19:49:19.000Z | dual_encoder/metrics_test.py | garyxcheng/federated | ba7133ead6127af71ea9356e26bfd05c02f8324a | [
"Apache-2.0"
] | 52 | 2020-09-30T06:10:51.000Z | 2022-03-31T19:25:16.000Z | dual_encoder/metrics_test.py | garyxcheng/federated | ba7133ead6127af71ea9356e26bfd05c02f8324a | [
"Apache-2.0"
] | 119 | 2020-09-24T04:54:46.000Z | 2022-03-31T21:46:57.000Z | # Copyright 2021, 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... | 28.826154 | 124 | 0.599829 | 2,603 | 18,737 | 4.066462 | 0.058778 | 0.024185 | 0.028059 | 0.030609 | 0.921776 | 0.913179 | 0.89334 | 0.829192 | 0.797449 | 0.788758 | 0 | 0.122963 | 0.259967 | 18,737 | 649 | 125 | 28.87057 | 0.640415 | 0.032556 | 0 | 0.800391 | 0 | 0 | 0.048148 | 0.006405 | 0 | 0 | 0 | 0 | 0.07045 | 1 | 0.07045 | false | 0 | 0.007828 | 0 | 0.080235 | 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 |
dd857f9d4037abdc91f7ab75e796ce78d3f4378f | 6,521 | py | Python | tests/test_torque_driven_ocp.py | mickaelbegon/BiorbdOptim | 77e058e96ab0393953a83ffef08693b3049477be | [
"Apache-2.0"
] | null | null | null | tests/test_torque_driven_ocp.py | mickaelbegon/BiorbdOptim | 77e058e96ab0393953a83ffef08693b3049477be | [
"Apache-2.0"
] | null | null | null | tests/test_torque_driven_ocp.py | mickaelbegon/BiorbdOptim | 77e058e96ab0393953a83ffef08693b3049477be | [
"Apache-2.0"
] | null | null | null | """
Test for file IO
"""
import importlib.util
from pathlib import Path
import pytest
import numpy as np
from biorbd_optim import Data, OdeSolver
from .utils import TestUtils
# Load align_markers
PROJECT_FOLDER = Path(__file__).parent / ".."
spec = importlib.util.spec_from_file_location(
"align_markers", str(PRO... | 39.521212 | 112 | 0.681797 | 1,012 | 6,521 | 4.192688 | 0.123518 | 0.09333 | 0.15555 | 0.188074 | 0.865425 | 0.850342 | 0.850342 | 0.823474 | 0.777987 | 0.686778 | 0 | 0.075153 | 0.147063 | 6,521 | 164 | 113 | 39.762195 | 0.687702 | 0.09247 | 0 | 0.27619 | 0 | 0 | 0.067607 | 0.05062 | 0 | 0 | 0 | 0 | 0.419048 | 1 | 0.028571 | false | 0 | 0.114286 | 0 | 0.142857 | 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 |
06fd23ba166ed184598f05dfb526fff84d88d979 | 870,660 | py | Python | rubikscubennnsolver/swaps.py | zimyang/Rubiks-Cube-Server | 48649174851043664983f68908876fa9fb2c84e8 | [
"MIT"
] | null | null | null | rubikscubennnsolver/swaps.py | zimyang/Rubiks-Cube-Server | 48649174851043664983f68908876fa9fb2c84e8 | [
"MIT"
] | null | null | null | rubikscubennnsolver/swaps.py | zimyang/Rubiks-Cube-Server | 48649174851043664983f68908876fa9fb2c84e8 | [
"MIT"
] | null | null | null | swaps_222 = {
"B": (0, 14, 16, 3, 4, 2, 6, 1, 8, 9, 10, 11, 12, 13, 24, 15, 23, 19, 17, 20, 18, 21, 22, 5, 7),
"B'": (0, 7, 5, 3, 4, 23, 6, 24, 8, 9, 10, 11, 12, 13, 1, 15, 2, 18, 20, 17, 19, 21, 22, 16, 14),
"B2": (0, 24, 23, 3, 4, 16, 6, 14, 8, 9, 10, 11, 12, 13, 7, 15, 5, 20, 19, 18, 17, 21, 22, 2, 1),
... | 12.451875 | 101 | 0.196613 | 70,230 | 870,660 | 2.437377 | 0.005226 | 0.005982 | 0.008097 | 0.009768 | 0.94008 | 0.863089 | 0.744983 | 0.74184 | 0.736752 | 0.733019 | 0 | 0.700956 | 0.720378 | 870,660 | 69,921 | 102 | 12.452053 | 0.002156 | 0 | 0 | 0.999442 | 0 | 0 | 0.001041 | 0 | 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 | 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 | 10 |
6606c957b52d448501c54fbefd26e89aa81abc7a | 39 | py | Python | codeiq/data_deuce.py | takahasi/utility | 60ea9d2f97aa1917ebdac97121cd21e483e714f2 | [
"MIT"
] | null | null | null | codeiq/data_deuce.py | takahasi/utility | 60ea9d2f97aa1917ebdac97121cd21e483e714f2 | [
"MIT"
] | null | null | null | codeiq/data_deuce.py | takahasi/utility | 60ea9d2f97aa1917ebdac97121cd21e483e714f2 | [
"MIT"
] | null | null | null | 3 4 2
10 9 8
15 0 14
15 17 20
11 25 24
| 6.5 | 8 | 0.615385 | 15 | 39 | 1.6 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | 39 | 5 | 9 | 7.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
66083dc83c6df1c0ac08805c4fb7632bba0dfcc4 | 140 | py | Python | dist/Basilisk/simulation/ephemeris_converter/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/simulation/ephemeris_converter/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/simulation/ephemeris_converter/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the ephemeris_converter package is automatically generated by the build system
from ephemeris_converter import * | 70 | 106 | 0.85 | 20 | 140 | 5.65 | 0.85 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 140 | 2 | 107 | 70 | 0.92623 | 0.742857 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9fcfd86090683374c4df4e45f63c8d8b9d9e8496 | 8,746 | py | Python | GoogleScraper/user_agents.py | keepit1/GoogleScraper | 595dc9504f06a10e8dc999f3f03c690bcd247274 | [
"Apache-2.0"
] | 2,294 | 2015-01-01T02:49:13.000Z | 2022-03-29T11:13:22.000Z | GoogleScraper/user_agents.py | keepit1/GoogleScraper | 595dc9504f06a10e8dc999f3f03c690bcd247274 | [
"Apache-2.0"
] | 179 | 2015-01-04T02:27:41.000Z | 2021-11-04T07:03:46.000Z | GoogleScraper/user_agents.py | keepit1/GoogleScraper | 595dc9504f06a10e8dc999f3f03c690bcd247274 | [
"Apache-2.0"
] | 773 | 2015-01-03T02:41:49.000Z | 2022-03-31T22:53:20.000Z | # -*- coding: utf-8 -*-
import random
# Several different User-Agents to diversify the requests.
# Keep the User-Agents updated. Last update: 13th November 2014
# Get them here: http://techblog.willshouse.com/2012/01/03/most-common-user-agents/
user_agents = ['Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/53... | 90.164948 | 147 | 0.714498 | 1,735 | 8,746 | 3.566571 | 0.081268 | 0.063025 | 0.111991 | 0.103426 | 0.905301 | 0.902715 | 0.902715 | 0.899321 | 0.888332 | 0.883807 | 0 | 0.247932 | 0.115481 | 8,746 | 96 | 148 | 91.104167 | 0.551965 | 0.025383 | 0 | 0.02381 | 0 | 0.916667 | 0.927104 | 0.007395 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011905 | false | 0 | 0.011905 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b0285cfd610a5b36f90bb3833c8426f45f079102 | 278 | py | Python | component/widget/__init__.py | i-m-amit/sdg_indicators_module | 7446d44aa52c55520a5030d64388bdcccd50d0df | [
"MIT"
] | null | null | null | component/widget/__init__.py | i-m-amit/sdg_indicators_module | 7446d44aa52c55520a5030d64388bdcccd50d0df | [
"MIT"
] | null | null | null | component/widget/__init__.py | i-m-amit/sdg_indicators_module | 7446d44aa52c55520a5030d64388bdcccd50d0df | [
"MIT"
] | null | null | null | from .climate_regime import *
from .picker_line import *
from .picker_line_productivity import *
from .picker_line_soc import *
from .picker_line_landcover import *
from .sensor_select import *
from .transition_matrix import *
from .result_map import *
from .select_lc import *
| 27.8 | 39 | 0.805755 | 39 | 278 | 5.435897 | 0.410256 | 0.377358 | 0.301887 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129496 | 278 | 9 | 40 | 30.888889 | 0.876033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b0548e8a613b20039f0e8dd150ccfe056cb23e15 | 103 | py | Python | tests/test_ansi_escapes.py | shawwn/ansi-escapes-python | f37b0c3d815a7a126e97811c0f402c9cac59d466 | [
"MIT"
] | 2 | 2021-10-17T19:16:17.000Z | 2021-11-13T05:11:20.000Z | tests/test_ansi_escapes.py | shawwn/ansi-escapes-python | f37b0c3d815a7a126e97811c0f402c9cac59d466 | [
"MIT"
] | null | null | null | tests/test_ansi_escapes.py | shawwn/ansi-escapes-python | f37b0c3d815a7a126e97811c0f402c9cac59d466 | [
"MIT"
] | null | null | null | from ansi_escapes import ansiEscapes
def test_ansi_escapes():
assert ansiEscapes.BEL == '\u0007'
| 17.166667 | 38 | 0.757282 | 13 | 103 | 5.769231 | 0.769231 | 0.293333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.15534 | 103 | 5 | 39 | 20.6 | 0.816092 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c6aaf0c2e53b2ff71d804cf6a0a51d51239d49e3 | 3,017 | py | Python | examples/plot_simulation_example.py | richford/skmediate | b1c2767f942ba1ceec9f4c615c85a3e84a68d973 | [
"MIT"
] | 1 | 2021-07-02T16:20:41.000Z | 2021-07-02T16:20:41.000Z | examples/plot_simulation_example.py | richford/skmediate | b1c2767f942ba1ceec9f4c615c85a3e84a68d973 | [
"MIT"
] | 9 | 2021-01-07T22:33:21.000Z | 2021-10-04T22:47:42.000Z | examples/plot_simulation_example.py | richford/skmediate | b1c2767f942ba1ceec9f4c615c85a3e84a68d973 | [
"MIT"
] | 4 | 2020-12-23T19:38:16.000Z | 2021-07-27T14:45:52.000Z | """
Simulation Example.
===============================
Shows the different combinations of parameters used to
simulate null and true data.
"""
import numpy as np
from skmediate.datasets import make_null_mediation, make_mediation
outcomes, exposures, mediators, true_alpha, true_beta, true_gam = make_null_mediation(... | 45.029851 | 88 | 0.745442 | 449 | 3,017 | 4.806236 | 0.155902 | 0.062558 | 0.062558 | 0.069509 | 0.871177 | 0.871177 | 0.783133 | 0.783133 | 0.783133 | 0.783133 | 0 | 0.011273 | 0.088499 | 3,017 | 66 | 89 | 45.712121 | 0.773455 | 0.045078 | 0 | 0.673077 | 0 | 0 | 0.229805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 0.480769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
c6e313518edec9653ecdcb4538f1ed483c329595 | 15,499 | py | Python | tests/test_slider.py | dvetutnev/siv.py | f37f173f349884eea4b25f84a92e37d4ada3cdd9 | [
"MIT"
] | null | null | null | tests/test_slider.py | dvetutnev/siv.py | f37f173f349884eea4b25f84a92e37d4ada3cdd9 | [
"MIT"
] | null | null | null | tests/test_slider.py | dvetutnev/siv.py | f37f173f349884eea4b25f84a92e37d4ada3cdd9 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import Mock, patch, call, ANY
import itertools
from libs.slider import Slider
class ToLeft(unittest.TestCase):
def setUp(self):
self.storage_mock = Mock()
self.renderer_mock = Mock()
self.ui_mock = Mock(spec_set=['draw'])
self.instance = Slider... | 38.081081 | 103 | 0.586618 | 2,014 | 15,499 | 4.233366 | 0.044191 | 0.045977 | 0.051607 | 0.05278 | 0.971734 | 0.970678 | 0.959653 | 0.941473 | 0.917781 | 0.911213 | 0 | 0.021012 | 0.269179 | 15,499 | 406 | 104 | 38.174877 | 0.731703 | 0.009807 | 0 | 0.784375 | 0 | 0 | 0.084333 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.05625 | false | 0 | 0.0125 | 0.01875 | 0.09375 | 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 |
05c0ac4e7eae4bee11c91000787468b15e21e15c | 6,377 | py | Python | graphtheory/forests/tests/test_treecover.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 36 | 2015-09-20T20:55:39.000Z | 2021-09-20T05:49:03.000Z | graphtheory/forests/tests/test_treecover.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 6 | 2016-03-25T21:41:46.000Z | 2020-02-12T03:18:59.000Z | graphtheory/forests/tests/test_treecover.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 9 | 2016-09-12T07:57:27.000Z | 2022-03-21T16:15:39.000Z | #!/usr/bin/python
import unittest
from graphtheory.structures.edges import Edge
from graphtheory.structures.graphs import Graph
from graphtheory.forests.treecover import BorieNodeCover
from graphtheory.forests.treecover import TreeNodeCover1
from graphtheory.forests.treecover import TreeNodeCover2
# 0---1---2---6
# |... | 34.47027 | 66 | 0.594794 | 805 | 6,377 | 4.626087 | 0.09441 | 0.074919 | 0.130505 | 0.09667 | 0.903867 | 0.87406 | 0.87406 | 0.865199 | 0.865199 | 0.865199 | 0 | 0.039419 | 0.28791 | 6,377 | 184 | 67 | 34.657609 | 0.780665 | 0.069468 | 0 | 0.873134 | 0 | 0 | 0.001354 | 0 | 0 | 0 | 0 | 0 | 0.201493 | 1 | 0.11194 | false | 0.022388 | 0.044776 | 0 | 0.179104 | 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 |
af125aeb5ddc1635505fc3d9a4a36605fe5dc8bc | 43 | py | Python | pypersonalfin/persistors/__init__.py | guilhermebruzzi/pypersonalfin | 180619b36ed28e90b2891a9b2b9b4708d22cbdc8 | [
"MIT"
] | 1 | 2021-12-05T17:51:00.000Z | 2021-12-05T17:51:00.000Z | pypersonalfin/persistors/__init__.py | guilhermebruzzi/pypersonalfin | 180619b36ed28e90b2891a9b2b9b4708d22cbdc8 | [
"MIT"
] | null | null | null | pypersonalfin/persistors/__init__.py | guilhermebruzzi/pypersonalfin | 180619b36ed28e90b2891a9b2b9b4708d22cbdc8 | [
"MIT"
] | 1 | 2021-02-21T20:07:18.000Z | 2021-02-21T20:07:18.000Z | from .persist_on_csv import persist_on_csv
| 21.5 | 42 | 0.883721 | 8 | 43 | 4.25 | 0.625 | 0.529412 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.871795 | 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 | 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 | 8 |
af6c76485f8980223909155a5f67b13083f1e44a | 11,217 | py | Python | nuage_tempest_plugin/tests/api/ipv6/vsd_managed/test_dualstack_subnet_l3.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | 1 | 2021-01-03T01:47:51.000Z | 2021-01-03T01:47:51.000Z | nuage_tempest_plugin/tests/api/ipv6/vsd_managed/test_dualstack_subnet_l3.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | null | null | null | nuage_tempest_plugin/tests/api/ipv6/vsd_managed/test_dualstack_subnet_l3.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | 1 | 2020-10-16T12:04:39.000Z | 2020-10-16T12:04:39.000Z | # Copyright 2017 - Nokia
# All Rights Reserved.
from netaddr import IPAddress
from netaddr import IPNetwork
from nuage_tempest_plugin.lib.test import nuage_test
from nuage_tempest_plugin.lib.test import tags
from nuage_tempest_plugin.lib.topology import Topology
from nuage_tempest_plugin.tests.api.ipv6.vsd_managed.ba... | 41.544444 | 79 | 0.624142 | 1,236 | 11,217 | 5.321197 | 0.12055 | 0.088642 | 0.085297 | 0.046526 | 0.80523 | 0.784704 | 0.767979 | 0.751863 | 0.741523 | 0.718413 | 0 | 0.028656 | 0.250245 | 11,217 | 269 | 80 | 41.698885 | 0.753389 | 0.054471 | 0 | 0.751244 | 0 | 0 | 0.06483 | 0.009619 | 0 | 0 | 0 | 0 | 0.109453 | 1 | 0.024876 | false | 0 | 0.044776 | 0 | 0.074627 | 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 |
afd3073d0dd56278872dccab9905197ed30a9395 | 108 | py | Python | src/utils/menorAMayor.py | jisbruzzi/equipo-q-tp1 | 9d1a08f2bd261d9656341194bd3ad794e7c4589b | [
"MIT"
] | null | null | null | src/utils/menorAMayor.py | jisbruzzi/equipo-q-tp1 | 9d1a08f2bd261d9656341194bd3ad794e7c4589b | [
"MIT"
] | 1 | 2018-03-29T18:09:11.000Z | 2018-03-29T18:09:11.000Z | src/utils/menorAMayor.py | jisbruzzi/equipo-q-tp1 | 9d1a08f2bd261d9656341194bd3ad794e7c4589b | [
"MIT"
] | null | null | null | def menor_a_mayor(lista):
return sorted(lista)
def desordenar(lista):
return menor_a_mayor(lista)
| 15.428571 | 31 | 0.740741 | 16 | 108 | 4.75 | 0.5 | 0.157895 | 0.289474 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 6 | 32 | 18 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bb8afb6063c4384c9669b6b05d2e6cdb3593957c | 2,254 | py | Python | board.py | MansNotSpaghett/UTTT-bot | 2e4141851945931266072fb43512ec62bbadbe36 | [
"MIT"
] | null | null | null | board.py | MansNotSpaghett/UTTT-bot | 2e4141851945931266072fb43512ec62bbadbe36 | [
"MIT"
] | null | null | null | board.py | MansNotSpaghett/UTTT-bot | 2e4141851945931266072fb43512ec62bbadbe36 | [
"MIT"
] | null | null | null | b11, b12, b13, b14, b15, b16, b17, b18, b19, b21, b22, b23, b24, b25, b26, b27, b28, b29, b31, b32, b33, b34, b35, b36, b37, b38, b39, b41, b42, b43, b44, b45, b46, b47, b48, b49, b51, b52, b53, b54, b55, b56, b57, b58, b59, b61, b62, b63, b64, b65, b66, b67, b68, b69, b71, b72, b73, b74, b75, b76, b77, b78, b79, b81, ... | 83.481481 | 969 | 0.299911 | 251 | 2,254 | 2.693227 | 0.665339 | 0.017751 | 0.026627 | 0.035503 | 0.718935 | 0.718935 | 0.718935 | 0.718935 | 0.718935 | 0.718935 | 0 | 0.276744 | 0.236912 | 2,254 | 26 | 970 | 86.692308 | 0.116279 | 0 | 0 | 0.384615 | 0 | 0 | 0.472937 | 0.34339 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 7 |
bbe0ee996a96b65ef16ddfc4aad04b39abdc0fad | 15,456 | py | Python | sdk/python/pulumi_vault/identity/entity.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-10-07T17:44:18.000Z | 2022-03-30T20:46:33.000Z | sdk/python/pulumi_vault/identity/entity.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 79 | 2019-10-11T18:13:07.000Z | 2022-03-31T21:09:41.000Z | sdk/python/pulumi_vault/identity/entity.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-28T10:08:40.000Z | 2020-03-17T14:20:55.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.413793 | 273 | 0.645057 | 1,843 | 15,456 | 5.24905 | 0.086272 | 0.108022 | 0.088381 | 0.042795 | 0.841844 | 0.824065 | 0.810006 | 0.80184 | 0.796568 | 0.790056 | 0 | 0.003014 | 0.248771 | 15,456 | 347 | 274 | 44.541787 | 0.830161 | 0.336504 | 0 | 0.777228 | 1 | 0 | 0.06951 | 0.002949 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158416 | false | 0.004951 | 0.024752 | 0 | 0.277228 | 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 |
bbfd1a624f332c4cdc415b19cb1179293e7a64ff | 169 | py | Python | vedatad/__init__.py | carpedkm/vedatad | 55f8dced57f698ee9fc0da9bcf471d171e718d0c | [
"Apache-2.0"
] | 36 | 2021-05-22T04:36:22.000Z | 2022-03-17T06:42:54.000Z | vedatad/__init__.py | carpedkm/vedatad | 55f8dced57f698ee9fc0da9bcf471d171e718d0c | [
"Apache-2.0"
] | 16 | 2021-07-26T07:43:53.000Z | 2022-03-30T08:48:58.000Z | vedatad/__init__.py | carpedkm/vedatad | 55f8dced57f698ee9fc0da9bcf471d171e718d0c | [
"Apache-2.0"
] | 15 | 2021-07-06T12:51:53.000Z | 2022-03-09T14:11:19.000Z | from . import assembler, bridge, criteria, datasets, engines, misc, models
__all__ = [
'assembler', 'bridge', 'criteria', 'datasets', 'engines', 'misc', 'models'
]
| 28.166667 | 78 | 0.668639 | 17 | 169 | 6.411765 | 0.588235 | 0.275229 | 0.422018 | 0.568807 | 0.880734 | 0.880734 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 169 | 5 | 79 | 33.8 | 0.762238 | 0 | 0 | 0 | 0 | 0 | 0.284024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a5555381971d4e5d39a52d67e754d7ab19c44a5e | 134 | py | Python | src/adaptive_response/__init__.py | david-zwicker/sensing-normalized-results | 5b64ab34d400dcf457626e1ad244c2b4a889ac80 | [
"MIT"
] | null | null | null | src/adaptive_response/__init__.py | david-zwicker/sensing-normalized-results | 5b64ab34d400dcf457626e1ad244c2b4a889ac80 | [
"MIT"
] | null | null | null | src/adaptive_response/__init__.py | david-zwicker/sensing-normalized-results | 5b64ab34d400dcf457626e1ad244c2b4a889ac80 | [
"MIT"
] | null | null | null | from .adaptive_threshold.at_numeric import AdaptiveThresholdNumeric
from .adaptive_threshold.at_theory import AdaptiveThresholdTheory
| 44.666667 | 67 | 0.910448 | 14 | 134 | 8.428571 | 0.642857 | 0.20339 | 0.355932 | 0.389831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 134 | 2 | 68 | 67 | 0.936508 | 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 |
a568f58fdaf32814a2d31913492860915a412ad7 | 102 | py | Python | music/__init__.py | quintenroets/music | d40f1604aa72824b422ca945042303d19d9bd347 | [
"MIT"
] | 1 | 2022-01-25T11:01:54.000Z | 2022-01-25T11:01:54.000Z | music/__init__.py | quintenroets/music | d40f1604aa72824b422ca945042303d19d9bd347 | [
"MIT"
] | null | null | null | music/__init__.py | quintenroets/music | d40f1604aa72824b422ca945042303d19d9bd347 | [
"MIT"
] | null | null | null | from .downloads import download as start_downloads
from .downloads import jobs
from .path import Path
| 25.5 | 50 | 0.833333 | 15 | 102 | 5.6 | 0.533333 | 0.309524 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 102 | 3 | 51 | 34 | 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 | 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 |
a596777970b914490e0732c2400872679c1d758b | 3,761 | py | Python | tests/ethpm/utils/test_ipfs_utils.py | faxata/py-ethpm | 856cf478e8f96a919160bebc923bf82ad44652f4 | [
"MIT"
] | 1 | 2018-06-27T23:55:04.000Z | 2018-06-27T23:55:04.000Z | tests/ethpm/utils/test_ipfs_utils.py | faxata/py-ethpm | 856cf478e8f96a919160bebc923bf82ad44652f4 | [
"MIT"
] | null | null | null | tests/ethpm/utils/test_ipfs_utils.py | faxata/py-ethpm | 856cf478e8f96a919160bebc923bf82ad44652f4 | [
"MIT"
] | 1 | 2018-06-28T04:49:23.000Z | 2018-06-28T04:49:23.000Z | import pytest
from ethpm.utils.ipfs import (
extract_ipfs_path_from_uri,
is_ipfs_uri,
)
@pytest.mark.parametrize(
'value,expected',
(
(
'ipfs:QmTKB75Y73zhNbD3Y73xeXGjYrZHmaXXNxoZqGCagu7r8u',
'QmTKB75Y73zhNbD3Y73xeXGjYrZHmaXXNxoZqGCagu7r8u',
),
(
... | 39.177083 | 81 | 0.681468 | 175 | 3,761 | 14.531429 | 0.16 | 0.511207 | 0.308297 | 0.235942 | 0.806921 | 0.79827 | 0.777035 | 0.750295 | 0.750295 | 0.750295 | 0 | 0.125939 | 0.220952 | 3,761 | 95 | 82 | 39.589474 | 0.74198 | 0.00585 | 0 | 0.321839 | 0 | 0 | 0.609639 | 0.567871 | 0 | 0 | 0 | 0 | 0.022989 | 1 | 0.022989 | false | 0 | 0.022989 | 0 | 0.045977 | 0 | 0 | 0 | 1 | null | 1 | 1 | 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 | 12 |
a5a1823541f4cf40bc42d06fa4fa343e3a346e66 | 7,592 | py | Python | test/unit/mongo_rep_admin/main.py | mjpernot/mongo-rep-admin | 5019325eb9e91cf3fcad6744ebd1681401695f81 | [
"MIT"
] | null | null | null | test/unit/mongo_rep_admin/main.py | mjpernot/mongo-rep-admin | 5019325eb9e91cf3fcad6744ebd1681401695f81 | [
"MIT"
] | null | null | null | test/unit/mongo_rep_admin/main.py | mjpernot/mongo-rep-admin | 5019325eb9e91cf3fcad6744ebd1681401695f81 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Classification (U)
"""Program: main.py
Description: Unit testing of main in mongo_rep_admin.py.
Usage:
test/unit/mongo_rep_admin/main.py
Arguments:
"""
# Libraries and Global Variables
# Standard
import sys
import os
if sys.version_info < (2, 7):
import unittest2 as... | 26.826855 | 76 | 0.680848 | 1,051 | 7,592 | 4.499524 | 0.080875 | 0.077818 | 0.126454 | 0.11863 | 0.820892 | 0.812857 | 0.800381 | 0.77141 | 0.735462 | 0.709452 | 0 | 0.002215 | 0.226818 | 7,592 | 282 | 77 | 26.921986 | 0.803407 | 0.20245 | 0 | 0.741379 | 0 | 0 | 0.213269 | 0.208467 | 0 | 0 | 0 | 0 | 0.086207 | 1 | 0.094828 | false | 0 | 0.060345 | 0 | 0.163793 | 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 |
b1b170133d44d5e1bc1f6af359837fc4f168efdb | 47,456 | py | Python | models/runner_nn.py | spencer-hong/QSARBO | a9fa8cbf058abea715fe2c721564f662ed8b1135 | [
"MIT"
] | 1 | 2021-05-23T01:03:50.000Z | 2021-05-23T01:03:50.000Z | models/runner_nn.py | spencerhongcornell/QSARBO | a9fa8cbf058abea715fe2c721564f662ed8b1135 | [
"MIT"
] | 5 | 2020-09-26T01:07:48.000Z | 2022-02-10T01:59:34.000Z | models/runner_nn.py | spencer-hong/QSARBO | a9fa8cbf058abea715fe2c721564f662ed8b1135 | [
"MIT"
] | null | null | null | import GPy, GPyOpt
import numpy as np
import pandas as pd
import sklearn.model_selection as mose
import sklearn.preprocessing as skp
import sklearn.ensemble as sken
import sklearn.neighbors as skne
import sklearn.metrics as me
from timeit import default_timer as timer
import matplotlib.pyplot as plt
#import ortools
... | 40.630137 | 304 | 0.624515 | 5,733 | 47,456 | 4.99529 | 0.064364 | 0.010685 | 0.017809 | 0.009219 | 0.971367 | 0.97004 | 0.97004 | 0.968119 | 0.966548 | 0.966548 | 0 | 0.018949 | 0.147063 | 47,456 | 1,167 | 305 | 40.664953 | 0.688564 | 0.31309 | 0 | 0.933514 | 0 | 0 | 0.255884 | 0.08639 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016282 | false | 0 | 0.033921 | 0 | 0.066486 | 0.187246 | 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 |
b1eb83572dde2d35de5e7db96fb7803ba999c1c6 | 1,933 | py | Python | test/test_adapted_fixed_window.py | Jeilef/qrs_compare | 092132e6febc9aa5557e0e70bced5febfac2a235 | [
"MIT"
] | 1 | 2021-03-10T15:12:10.000Z | 2021-03-10T15:12:10.000Z | test/test_adapted_fixed_window.py | Jeilef/qrs_compare | 092132e6febc9aa5557e0e70bced5febfac2a235 | [
"MIT"
] | 6 | 2021-03-31T20:11:06.000Z | 2022-01-13T03:24:32.000Z | test/test_adapted_fixed_window.py | Jeilef/qrs_compare | 092132e6febc9aa5557e0e70bced5febfac2a235 | [
"MIT"
] | null | null | null | import unittest
from metrics.adapted_fixed_window_metric import AdaptedFixedWindow
class TestFixedWindowMetric(unittest.TestCase):
def test_perfect_prediction_no_tol(self):
hw = AdaptedFixedWindow()
tp, fp, tn, fn = hw.match_classification_annotations([10], ["n"], [10], 1)
self.assertEqua... | 35.796296 | 86 | 0.633213 | 248 | 1,933 | 4.733871 | 0.173387 | 0.306644 | 0.163543 | 0.097104 | 0.855196 | 0.850085 | 0.822828 | 0.808348 | 0.794719 | 0.794719 | 0 | 0.03671 | 0.239007 | 1,933 | 53 | 87 | 36.471698 | 0.761387 | 0 | 0 | 0.666667 | 0 | 0 | 0.003104 | 0 | 0 | 0 | 0 | 0 | 0.533333 | 1 | 0.133333 | false | 0 | 0.044444 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.