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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c74cd8d41196999844c9bbc2375fda35bf1f732c | 281 | py | Python | hyperplan/feature_schema.py | hyperplan-io/cli | dc7d407701fd78d9065d60c35b0f2674b28c86bb | [
"MIT"
] | 1 | 2019-09-04T02:33:34.000Z | 2019-09-04T02:33:34.000Z | hyperplan/feature_schema.py | hyperplan-io/cli | dc7d407701fd78d9065d60c35b0f2674b28c86bb | [
"MIT"
] | 1 | 2019-09-16T06:09:42.000Z | 2019-09-16T06:09:42.000Z | hyperplan/feature_schema.py | hyperplan-io/cli | dc7d407701fd78d9065d60c35b0f2674b28c86bb | [
"MIT"
] | null | null | null | import json
class FeatureSchema():
def __init__(self, feature_id, feature_descriptors):
self.feature_id = feature_id
self.feature_descriptors = feature_descriptors
def to_json(self):
return {'id': self.feature_id, 'data': self.feature_descriptors}
| 31.222222 | 72 | 0.715302 | 34 | 281 | 5.529412 | 0.382353 | 0.292553 | 0.207447 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192171 | 281 | 8 | 73 | 35.125 | 0.828194 | 0 | 0 | 0 | 0 | 0 | 0.021352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c75cfccb8979243548036c1113346da562948937 | 1,580 | py | Python | test_expense_parser.py | mahasak/bearlord | eec6ceb9e484e9f9fbaf58b311a190ff20f771f5 | [
"CC0-1.0"
] | null | null | null | test_expense_parser.py | mahasak/bearlord | eec6ceb9e484e9f9fbaf58b311a190ff20f771f5 | [
"CC0-1.0"
] | 7 | 2020-10-08T13:35:43.000Z | 2020-10-09T09:54:15.000Z | test_expense_parser.py | mahasak/bearlord | eec6ceb9e484e9f9fbaf58b311a190ff20f771f5 | [
"CC0-1.0"
] | null | null | null | import pytest
from expense import ExpenseTracker
class TestExpenseParser(object):
def test_parse_amount_only(self):
test_payload = "?>expense 20"
tracker = ExpenseTracker()
payload = tracker.parse_message("EXPENSE", test_payload)
assert payload["Amount"] == -20
assert payl... | 37.619048 | 75 | 0.636076 | 159 | 1,580 | 6.113208 | 0.176101 | 0.213992 | 0.049383 | 0.074074 | 0.872428 | 0.847737 | 0.819959 | 0.754115 | 0.754115 | 0.754115 | 0 | 0.013289 | 0.237975 | 1,580 | 41 | 76 | 38.536585 | 0.79402 | 0 | 0 | 0.628571 | 0 | 0 | 0.16519 | 0 | 0 | 0 | 0 | 0 | 0.457143 | 1 | 0.114286 | false | 0 | 0.057143 | 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 |
c779f608a6a63577b72465466d2e74ccde9b966b | 28,456 | py | Python | src/tyche/data/experimental/loader.py | cesarali/Tyche | d892df9e0b982f538ae38221ff5848f6d726a4fb | [
"MIT"
] | null | null | null | src/tyche/data/experimental/loader.py | cesarali/Tyche | d892df9e0b982f538ae38221ff5848f6d726a4fb | [
"MIT"
] | null | null | null | src/tyche/data/experimental/loader.py | cesarali/Tyche | d892df9e0b982f538ae38221ff5848f6d726a4fb | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
import torch
from nltk.tokenize import TweetTokenizer
from torch.utils.data.dataloader import DataLoader
from tyche.data.experimental.datasets import WikiText2, WikiText103, PennTreebank, YelpReviewPolarity, YelpReviewFull,\
YahooAnswers, PennTreebankPretrained, YahooAnswersPret... | 39.854342 | 154 | 0.621451 | 3,264 | 28,456 | 5.087623 | 0.052696 | 0.027099 | 0.050584 | 0.034325 | 0.904131 | 0.897748 | 0.888113 | 0.884379 | 0.882271 | 0.880224 | 0 | 0.003306 | 0.298355 | 28,456 | 713 | 155 | 39.910238 | 0.828408 | 0.054997 | 0 | 0.881579 | 0 | 0 | 0.038371 | 0.003754 | 0 | 0 | 0 | 0 | 0.007519 | 1 | 0.159774 | false | 0 | 0.009399 | 0.133459 | 0.323308 | 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 | 1 | 0 | 0 | 0 | 8 |
c78211491e6e9de1068f87a031f650024705a4c8 | 7,784 | py | Python | tests/test_column_files.py | woven-planet/wicker | 0c00e3c6f5d3915c3aa06f96dcbb5cd5b2e8982f | [
"MIT"
] | 11 | 2022-01-20T17:08:11.000Z | 2022-03-28T18:45:52.000Z | tests/test_column_files.py | woven-planet/wicker | 0c00e3c6f5d3915c3aa06f96dcbb5cd5b2e8982f | [
"MIT"
] | null | null | null | tests/test_column_files.py | woven-planet/wicker | 0c00e3c6f5d3915c3aa06f96dcbb5cd5b2e8982f | [
"MIT"
] | null | null | null | import os
import tempfile
import unittest
import uuid
from unittest.mock import MagicMock
from wicker.core.column_files import ColumnBytesFileLocationV1, ColumnBytesFileWriter
from wicker.core.definitions import DatasetID, DatasetPartition
from wicker.core.storage import S3PathFactory
from wicker.testing.storage impor... | 43.244444 | 114 | 0.632837 | 909 | 7,784 | 5.127613 | 0.108911 | 0.138382 | 0.05664 | 0.067582 | 0.811628 | 0.800043 | 0.797468 | 0.78953 | 0.78481 | 0.776014 | 0 | 0.027951 | 0.278392 | 7,784 | 179 | 115 | 43.486034 | 0.801852 | 0 | 0 | 0.71875 | 0 | 0 | 0.00668 | 0 | 0 | 0 | 0 | 0 | 0.3375 | 1 | 0.04375 | false | 0.00625 | 0.05625 | 0 | 0.1125 | 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 |
c7d99262678c915df38a599db3eef09f7be20bcf | 9,211 | py | Python | cac/networks/multi_signal.py | WadhwaniAI/cac-test-release | 066c554a354f0043f8ac83c9d6421a8397b17ba5 | [
"Apache-2.0"
] | 24 | 2021-05-13T13:34:27.000Z | 2022-03-02T13:52:29.000Z | cac/networks/multi_signal.py | WadhwaniAI/cac-test-release | 066c554a354f0043f8ac83c9d6421a8397b17ba5 | [
"Apache-2.0"
] | 2 | 2021-07-09T08:21:31.000Z | 2022-02-11T15:30:55.000Z | cac/networks/multi_signal.py | WadhwaniAI/cac-test-release | 066c554a354f0043f8ac83c9d6421a8397b17ba5 | [
"Apache-2.0"
] | 6 | 2021-06-10T07:47:48.000Z | 2022-01-27T07:36:09.000Z | import numpy as np
import pandas as pd
import torch
from torch.utils.data import DataLoader
import torch.nn.functional as F
import torch.nn as nn
from cac.networks.backbones.resnet import resnet18
from cac.networks.backbones.tab_network import TabNet
# MLP(Context) + Resnet+FCLayers(Cough) [Merge at 128]
class NaiveCo... | 44.713592 | 117 | 0.656172 | 1,186 | 9,211 | 4.862563 | 0.080101 | 0.108722 | 0.02601 | 0.044217 | 0.923184 | 0.923184 | 0.923184 | 0.923184 | 0.923184 | 0.923184 | 0 | 0.038992 | 0.237108 | 9,211 | 205 | 118 | 44.931707 | 0.781699 | 0.062208 | 0 | 0.842466 | 0 | 0 | 0.023677 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 1 | 0.041096 | false | 0 | 0.054795 | 0 | 0.136986 | 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 |
1bfd50b96d996d1c0e2877cfca29fefd35407065 | 14,127 | py | Python | sample_get_browse_nodes_api.py | Peekaboo0/paapi5-python | a591a63b2e48bbdf50e569031a63ffd6e29da9bd | [
"Apache-2.0"
] | null | null | null | sample_get_browse_nodes_api.py | Peekaboo0/paapi5-python | a591a63b2e48bbdf50e569031a63ffd6e29da9bd | [
"Apache-2.0"
] | null | null | null | sample_get_browse_nodes_api.py | Peekaboo0/paapi5-python | a591a63b2e48bbdf50e569031a63ffd6e29da9bd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
A copy of the License is located at
http://www.apache.org/licenses/LICENSE-2.0
... | 38.181081 | 133 | 0.636016 | 1,571 | 14,127 | 5.533418 | 0.131763 | 0.082825 | 0.030369 | 0.025768 | 0.859772 | 0.854136 | 0.839411 | 0.823191 | 0.806166 | 0.796043 | 0 | 0.006909 | 0.272528 | 14,127 | 369 | 134 | 38.284553 | 0.838961 | 0.068097 | 0 | 0.793578 | 0 | 0 | 0.16816 | 0.01272 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018349 | false | 0 | 0.022936 | 0 | 0.059633 | 0.266055 | 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 |
403b8f984496dde62a780555fc40699daea0cf31 | 1,222 | py | Python | homework8/tests/test_schemas.py | sakost/tinkoff_fintech | 64b9d5a2a818b4db7c438b0dc53a8f31882f95ba | [
"MIT"
] | null | null | null | homework8/tests/test_schemas.py | sakost/tinkoff_fintech | 64b9d5a2a818b4db7c438b0dc53a8f31882f95ba | [
"MIT"
] | null | null | null | homework8/tests/test_schemas.py | sakost/tinkoff_fintech | 64b9d5a2a818b4db7c438b0dc53a8f31882f95ba | [
"MIT"
] | 2 | 2021-08-29T15:01:39.000Z | 2022-02-23T18:48:21.000Z | from app import schemas
from app.utils import ReservedIdsEnum
def test_create_broadcast():
message = schemas.MessageModel.create_broadcast(
sender=schemas.UserModel(client_id=3),
destination=schemas.UserModel(client_id=4),
text='some text',
)
assert message.destination.client_id ==... | 31.333333 | 84 | 0.729133 | 141 | 1,222 | 6.092199 | 0.184397 | 0.093132 | 0.204889 | 0.223516 | 0.771828 | 0.771828 | 0.726426 | 0.726426 | 0.726426 | 0.726426 | 0 | 0.005941 | 0.173486 | 1,222 | 38 | 85 | 32.157895 | 0.844554 | 0 | 0 | 0.533333 | 0 | 0 | 0.02946 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4055436e9bb132bca069ec764fa43bf78723c3bb | 51,078 | py | Python | arvet/batch_analysis/tests/test_task_manager.py | jskinn/arvet | 742cf3e7ee8848c4efebfaa887fc9c0fd90a06e9 | [
"BSD-2-Clause"
] | 2 | 2021-05-27T21:48:34.000Z | 2021-06-12T02:58:44.000Z | arvet/batch_analysis/tests/test_task_manager.py | jskinn/arvet | 742cf3e7ee8848c4efebfaa887fc9c0fd90a06e9 | [
"BSD-2-Clause"
] | null | null | null | arvet/batch_analysis/tests/test_task_manager.py | jskinn/arvet | 742cf3e7ee8848c4efebfaa887fc9c0fd90a06e9 | [
"BSD-2-Clause"
] | null | null | null | # Copyright (c) 2017, John Skinner
import unittest
import unittest.mock as mock
import bson
import pymodm.manager
import arvet.database.tests.database_connection as dbconn
import arvet.core.tests.mock_types as mock_types
from arvet.core.sequence_type import ImageSequenceType
from arvet.core.system import StochasticBeha... | 39.35131 | 119 | 0.658268 | 6,093 | 51,078 | 5.221073 | 0.048744 | 0.073086 | 0.069313 | 0.0171 | 0.886867 | 0.857067 | 0.819974 | 0.794323 | 0.769269 | 0.748585 | 0 | 0.012125 | 0.255648 | 51,078 | 1,297 | 120 | 39.38165 | 0.824592 | 0.034966 | 0 | 0.702283 | 0 | 0 | 0.014314 | 0.001645 | 0 | 0 | 0 | 0 | 0.208219 | 1 | 0.056621 | false | 0 | 0.03653 | 0.001826 | 0.1379 | 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 |
906aabc79bbdb0b7989d2e1725bb2bebb3c7fe66 | 58 | py | Python | password_generator/__init__.py | AndrewOwenMartin/password-generator | 4d3e1345058371de14dd555f1e02785d919d803c | [
"Apache-2.0"
] | null | null | null | password_generator/__init__.py | AndrewOwenMartin/password-generator | 4d3e1345058371de14dd555f1e02785d919d803c | [
"Apache-2.0"
] | null | null | null | password_generator/__init__.py | AndrewOwenMartin/password-generator | 4d3e1345058371de14dd555f1e02785d919d803c | [
"Apache-2.0"
] | null | null | null | from password_generator.generate_password import frontend
| 29 | 57 | 0.913793 | 7 | 58 | 7.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.944444 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
907621bb00bf53854fb121c0f9d11b1c11928b28 | 48 | py | Python | test/test_example.py | jason71319jason/Interview-solved | 42ca93a68475952753d185c325cb55c79e2e55e1 | [
"MIT"
] | 46 | 2019-10-14T01:21:35.000Z | 2022-01-08T23:55:15.000Z | test/test_example.py | jason71319jason/Interview-solved | 42ca93a68475952753d185c325cb55c79e2e55e1 | [
"MIT"
] | 53 | 2019-10-03T17:16:43.000Z | 2020-12-08T12:48:19.000Z | test/test_example.py | jason71319jason/Interview-solved | 42ca93a68475952753d185c325cb55c79e2e55e1 | [
"MIT"
] | 96 | 2019-10-03T18:12:10.000Z | 2021-03-14T19:41:06.000Z | import pytest
def test_empty():
assert True | 12 | 17 | 0.729167 | 7 | 48 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 4 | 18 | 12 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
90c6e9aa35969bc9277a2f45e0d2a76ec3065440 | 7,083 | py | Python | tests/test_healpix_maps.py | LSSTDESC/skyproj | c1e3365e958b2bd99e72e4e053da6b0ddaceb2b2 | [
"BSD-3-Clause"
] | 6 | 2022-02-22T15:44:35.000Z | 2022-03-31T17:14:18.000Z | tests/test_healpix_maps.py | LSSTDESC/skyproj | c1e3365e958b2bd99e72e4e053da6b0ddaceb2b2 | [
"BSD-3-Clause"
] | 15 | 2022-01-11T22:06:16.000Z | 2022-03-07T21:49:48.000Z | tests/test_healpix_maps.py | LSSTDESC/skyproj | c1e3365e958b2bd99e72e4e053da6b0ddaceb2b2 | [
"BSD-3-Clause"
] | null | null | null | import os
import numpy as np
import healsparse as hsp
import matplotlib
matplotlib.use("Agg")
from matplotlib.testing.compare import compare_images, ImageComparisonFailure # noqa: E402
import matplotlib.pyplot as plt # noqa: E402
import skyproj # noqa: E402
ROOT = os.path.abspath(os.path.dirname(__file__))
d... | 36.137755 | 101 | 0.648878 | 1,065 | 7,083 | 4.171831 | 0.143662 | 0.034661 | 0.043214 | 0.026334 | 0.817691 | 0.80081 | 0.768175 | 0.759847 | 0.748593 | 0.714607 | 0 | 0.051291 | 0.212763 | 7,083 | 195 | 102 | 36.323077 | 0.745517 | 0.062121 | 0 | 0.723684 | 0 | 0 | 0.03599 | 0.007561 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032895 | false | 0 | 0.046053 | 0 | 0.085526 | 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 |
291d839d2d5980a3eb431de0fd559e5cf792ba13 | 8,413 | py | Python | tests/test_2d_autofocus_legacy.py | paulmueller/nrefocus | 4405513fd4cd4340b507be0ba0e33f9dfc556249 | [
"BSD-3-Clause"
] | 6 | 2017-04-10T08:24:39.000Z | 2022-02-09T02:20:01.000Z | tests/test_2d_autofocus_legacy.py | RI-imaging/nrefocus | 18d520ffa3d13a31255fdee30d48258d61adfb6b | [
"BSD-3-Clause"
] | 12 | 2017-04-10T08:30:48.000Z | 2021-06-21T11:20:08.000Z | tests/test_2d_autofocus_legacy.py | paulmueller/nrefocus | 4405513fd4cd4340b507be0ba0e33f9dfc556249 | [
"BSD-3-Clause"
] | 2 | 2020-10-04T02:21:48.000Z | 2022-01-13T17:14:08.000Z | """Test 2D autorefocusing of legacy minimizer"""
import numpy as np
import nrefocus
import pytest
from test_helper import load_cell
@pytest.mark.filterwarnings('ignore::nrefocus.minimizers.mz_legacy.'
'LegacyDeprecationWarning')
def test_2d_autofocus_cell_helmholtz_average_gradient():
... | 32.110687 | 79 | 0.528943 | 936 | 8,413 | 4.646368 | 0.168803 | 0.034951 | 0.062543 | 0.027593 | 0.806852 | 0.798804 | 0.786388 | 0.754656 | 0.748678 | 0.689814 | 0 | 0.068832 | 0.355878 | 8,413 | 261 | 80 | 32.233716 | 0.733715 | 0.050398 | 0 | 0.707763 | 0 | 0 | 0.089062 | 0.054441 | 0 | 0 | 0 | 0 | 0.091324 | 1 | 0.031963 | false | 0 | 0.018265 | 0 | 0.050228 | 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 |
29298336dfe8f6bc979a549fc54bfc54ec6e4487 | 21,015 | py | Python | Python/windwardrestapi/Model/VariableValue.py | windward-studios/Windward-REST-version-2-Clients | 8fd467e6f4ece6fcc435609ffb23448d07af3131 | [
"MIT"
] | null | null | null | Python/windwardrestapi/Model/VariableValue.py | windward-studios/Windward-REST-version-2-Clients | 8fd467e6f4ece6fcc435609ffb23448d07af3131 | [
"MIT"
] | 1 | 2020-10-12T20:32:05.000Z | 2020-10-12T20:38:04.000Z | Python/windwardrestapi/Model/VariableValue.py | windward-studios/Windward-REST-version-2-Clients | 8fd467e6f4ece6fcc435609ffb23448d07af3131 | [
"MIT"
] | null | null | null | __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x08\x00\x55\x0d\x0d\x0a\x04\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x3c\x14\x00\x00\x00\x00\x00\x10\x6d\x6f\xca\xa4\x99\x3b\x33\xee\x31\x55\x8e\x1e\xa9\xa2\xf0\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x47\x06\x77\x22\x41\x38\x65\x... | 21,015 | 21,015 | 0.749988 | 5,249 | 21,015 | 3.000381 | 0.049724 | 0.008762 | 0.009143 | 0.008381 | 0.00381 | 0.002857 | 0.002857 | 0 | 0 | 0 | 0 | 0.312869 | 0.000143 | 21,015 | 1 | 21,015 | 21,015 | 0.436655 | 0 | 0 | 0 | 0 | 1 | 0.998097 | 0.998097 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
2936f6b9ce3b201818db890c39ed4ad5a989b2d7 | 246 | py | Python | src/utils/tensorboard.py | xmuyzz/IVContrast | f3100e54f1808e1a796acd97ef5d23d0a2fd4f6c | [
"MIT"
] | 3 | 2022-02-23T09:05:45.000Z | 2022-02-23T20:18:18.000Z | src/utils/tensorboard.py | xmuyzz/IVContrast | f3100e54f1808e1a796acd97ef5d23d0a2fd4f6c | [
"MIT"
] | null | null | null | src/utils/tensorboard.py | xmuyzz/IVContrast | f3100e54f1808e1a796acd97ef5d23d0a2fd4f6c | [
"MIT"
] | null | null | null |
#log_path ='/media/bhkann/HN_RES1/HN_CONTRAST/log/train/events.out.tfevents.1624041416.bhkann-hpc1.862300.3087.v2'
#tensorboard --logdir='/media/bhkann/HN_RES1/HN_CONTRAST/log/train/events.out.tfevents.1624041416.bhkann-hpc1.862300.3087.v2'
| 30.75 | 125 | 0.800813 | 38 | 246 | 5.052632 | 0.473684 | 0.114583 | 0.135417 | 0.177083 | 0.875 | 0.875 | 0.875 | 0.875 | 0.875 | 0.875 | 0 | 0.194093 | 0.036585 | 246 | 7 | 126 | 35.142857 | 0.616034 | 0.963415 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
29430b40e2df289fd7a5794dfde6c12e49107367 | 36 | py | Python | python/niveau1/3-CalculsEtDecouverteDesVariables/3.py | ThomasProg/France-IOI | 03ea502e03f686d74ecf31a17273aded7b8e8a1f | [
"MIT"
] | 2 | 2022-02-13T13:35:13.000Z | 2022-03-31T21:02:11.000Z | python/niveau1/3-CalculsEtDecouverteDesVariables/3.py | ThomasProg/France-IOI | 03ea502e03f686d74ecf31a17273aded7b8e8a1f | [
"MIT"
] | null | null | null | python/niveau1/3-CalculsEtDecouverteDesVariables/3.py | ThomasProg/France-IOI | 03ea502e03f686d74ecf31a17273aded7b8e8a1f | [
"MIT"
] | 1 | 2020-11-15T15:21:24.000Z | 2020-11-15T15:21:24.000Z | print(((25 + 30 + 27 + 22) - 8) * 3) | 36 | 36 | 0.416667 | 7 | 36 | 2.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0.277778 | 36 | 1 | 36 | 36 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
4647775b006014dd2131a7e9cdc55a28b1e53c0b | 4,260 | py | Python | Test_Automation/library/danos_cli.py | dineshbhattahm/tests | 7ad7811710c65771b045f2210b3b7e29200e9a45 | [
"BSD-3-Clause"
] | null | null | null | Test_Automation/library/danos_cli.py | dineshbhattahm/tests | 7ad7811710c65771b045f2210b3b7e29200e9a45 | [
"BSD-3-Clause"
] | 2 | 2020-07-07T11:45:20.000Z | 2022-03-11T16:47:02.000Z | Test_Automation/library/danos_cli.py | dineshbhattahm/tests | 7ad7811710c65771b045f2210b3b7e29200e9a45 | [
"BSD-3-Clause"
] | 3 | 2020-05-22T12:54:51.000Z | 2022-03-24T23:06:05.000Z | #!/usr/bin/python3
# * Copyright (c) 2020-2021, Happiest Minds Technologies Limited Intellectual Property. All rights reserved.
# *
# * SPDX-License-Identifier: LGPL-2.1-only
import time
import vymgmt
def config_set(ip, user, ps, cmd):
handle = vymgmt.Router(ip, user, password=ps, port=22)
handle.login()
h... | 26.625 | 108 | 0.641549 | 582 | 4,260 | 4.628866 | 0.154639 | 0.062361 | 0.041574 | 0.103935 | 0.859317 | 0.852264 | 0.852264 | 0.852264 | 0.852264 | 0.852264 | 0 | 0.014925 | 0.213615 | 4,260 | 159 | 109 | 26.792453 | 0.789254 | 0.050704 | 0 | 0.798561 | 0 | 0 | 0.029215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107914 | false | 0.100719 | 0.014388 | 0 | 0.165468 | 0.028777 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4677def8d311e70c75e6d392fdb04cddf6cb9e00 | 1,061 | py | Python | ninjaopenfoam/pdflatex.py | hertzsprung/ninjaopenfoam | bd33635c5a34c80728255f99aaaac0b2d208f916 | [
"MIT"
] | null | null | null | ninjaopenfoam/pdflatex.py | hertzsprung/ninjaopenfoam | bd33635c5a34c80728255f99aaaac0b2d208f916 | [
"MIT"
] | null | null | null | ninjaopenfoam/pdflatex.py | hertzsprung/ninjaopenfoam | bd33635c5a34c80728255f99aaaac0b2d208f916 | [
"MIT"
] | null | null | null | import os
class PDFLaTeX:
def __init__(self, name, output, document, components=[]):
self.name = name
self.output = os.path.join('$builddir', output + '.pdf')
self.document = document + '.tex'
self.components = components
def write(self, generator):
generator.w.build(
... | 25.261905 | 64 | 0.573044 | 111 | 1,061 | 5.333333 | 0.234234 | 0.081081 | 0.094595 | 0.050676 | 0.814189 | 0.743243 | 0.743243 | 0.743243 | 0.743243 | 0.743243 | 0 | 0 | 0.309142 | 1,061 | 41 | 65 | 25.878049 | 0.80764 | 0 | 0 | 0.666667 | 0 | 0 | 0.053723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.030303 | 0.121212 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 8 |
d3d8ac871a055f2b9678b68191695713432c2392 | 85 | py | Python | navutils/context_processors.py | ohrstrom/django-navutils | 0d64f1f147b03888f8db1c95412f73fd94ba8454 | [
"BSD-3-Clause"
] | 42 | 2015-05-21T00:09:30.000Z | 2020-09-25T00:53:06.000Z | navutils/context_processors.py | ohrstrom/django-navutils | 0d64f1f147b03888f8db1c95412f73fd94ba8454 | [
"BSD-3-Clause"
] | 12 | 2015-09-29T10:39:49.000Z | 2020-10-16T11:08:59.000Z | navutils/context_processors.py | ohrstrom/django-navutils | 0d64f1f147b03888f8db1c95412f73fd94ba8454 | [
"BSD-3-Clause"
] | 11 | 2015-05-27T21:15:46.000Z | 2020-06-21T01:14:25.000Z | from . import menu
def menus(*args, **kwargs):
return {'menus': menu.registry}
| 14.166667 | 35 | 0.647059 | 11 | 85 | 5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 5 | 36 | 17 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
3114113cf473cf521b9678941d0826267f15149c | 239 | py | Python | django-olwidget/olwidget/__init__.py | WildlifeConservationSocietyCI/olwidget | 13be6b4ceb04369c6fa278525ab273722d0b96f0 | [
"BSD-3-Clause"
] | 1 | 2018-09-05T13:38:51.000Z | 2018-09-05T13:38:51.000Z | django-olwidget/olwidget/__init__.py | WildlifeConservationSocietyCI/olwidget | 13be6b4ceb04369c6fa278525ab273722d0b96f0 | [
"BSD-3-Clause"
] | null | null | null | django-olwidget/olwidget/__init__.py | WildlifeConservationSocietyCI/olwidget | 13be6b4ceb04369c6fa278525ab273722d0b96f0 | [
"BSD-3-Clause"
] | null | null | null | import copy
import django.utils
import json
import sys
sys.modules["django.utils"].copycompat = copy
sys.modules["django.utils.copycompat"] = copy
sys.modules["django.utils"].simplejson = json
sys.modules["django.utils.simplejson"] = json
| 26.555556 | 45 | 0.778243 | 33 | 239 | 5.636364 | 0.272727 | 0.295699 | 0.344086 | 0.451613 | 0.752688 | 0.752688 | 0.489247 | 0.489247 | 0.489247 | 0.489247 | 0 | 0 | 0.083682 | 239 | 8 | 46 | 29.875 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.292887 | 0.192469 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3115e2ea27653d7bf04342dc5fc67b2e41d859d7 | 23,149 | py | Python | unit_tests/test_std_score_data_release.py | abraker-osu/osu_analyzer | f930b1e75d1c4c973dfa49fdab2afedb2a432e31 | [
"MIT"
] | null | null | null | unit_tests/test_std_score_data_release.py | abraker-osu/osu_analyzer | f930b1e75d1c4c973dfa49fdab2afedb2a432e31 | [
"MIT"
] | null | null | null | unit_tests/test_std_score_data_release.py | abraker-osu/osu_analyzer | f930b1e75d1c4c973dfa49fdab2afedb2a432e31 | [
"MIT"
] | null | null | null | import unittest
import pandas as pd
from analysis.std.map_data import StdMapData
from analysis.std.score_data import StdScoreData
class TestStdScoreDataRelease(unittest.TestCase):
@classmethod
def setUpClass(cls):
map_data = [
pd.DataFrame(
[
[ 100, 0, 0, ... | 49.358209 | 123 | 0.627371 | 2,960 | 23,149 | 4.686486 | 0.043581 | 0.044406 | 0.057093 | 0.060554 | 0.955522 | 0.947953 | 0.939518 | 0.925461 | 0.920848 | 0.917892 | 0 | 0.043183 | 0.286751 | 23,149 | 469 | 124 | 49.358209 | 0.796984 | 0.22636 | 0 | 0.857143 | 0 | 0 | 0.069224 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.044218 | false | 0.003401 | 0.013605 | 0 | 0.061224 | 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 |
312ec1b772b969f81d91d8a597563620b0cb2b43 | 148,599 | py | Python | google/ads/google_ads/v5/proto/common/metrics_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v5/proto/common/metrics_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v5/proto/common/metrics_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v5/proto/common/metrics.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobu... | 68.039835 | 13,041 | 0.780443 | 20,227 | 148,599 | 5.330054 | 0.052207 | 0.033021 | 0.058686 | 0.04378 | 0.870709 | 0.846018 | 0.812561 | 0.747438 | 0.699372 | 0.652271 | 0 | 0.033139 | 0.122948 | 148,599 | 2,183 | 13,042 | 68.071003 | 0.794083 | 0.001931 | 0 | 0.453284 | 1 | 0.006013 | 0.439021 | 0.265999 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004625 | 0 | 0.004625 | 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 |
314e67267df45f972d0ce08a919093fa7585c106 | 28,592 | py | Python | grplot/features/text/text_def.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | grplot/features/text/text_def.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | grplot/features/text/text_def.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | import numpy
from pandas.api.types import is_numeric_dtype
import matplotlib
from grplot.features.add.text_add.text_add_type import text_add_type
from grplot.features.sep.text_sep.text_sep_type import text_sep_type
def text_def(plot, df, ax, ci, hue, multiple, axis, text, sep, add, text_fontsize, naxislabel, axislabe... | 57.995943 | 196 | 0.435751 | 3,077 | 28,592 | 3.908027 | 0.045174 | 0.093805 | 0.03842 | 0.045239 | 0.884906 | 0.871351 | 0.858961 | 0.844906 | 0.844906 | 0.83684 | 0 | 0.020849 | 0.45817 | 28,592 | 493 | 197 | 57.995943 | 0.755358 | 0.022454 | 0 | 0.817021 | 0 | 0 | 0.078774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002128 | false | 0.110638 | 0.010638 | 0 | 0.014894 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
9ecfc10fd800b9e5c8ffd55da140915893795115 | 18,135 | py | Python | gs_quant/analytics/processors/statistics_processors.py | skyquant2/gs-quant | b7e648fa7912b13ad1fd503b643389e34587aa1e | [
"Apache-2.0"
] | 1 | 2021-06-28T06:43:42.000Z | 2021-06-28T06:43:42.000Z | gs_quant/analytics/processors/statistics_processors.py | skyquant2/gs-quant | b7e648fa7912b13ad1fd503b643389e34587aa1e | [
"Apache-2.0"
] | null | null | null | gs_quant/analytics/processors/statistics_processors.py | skyquant2/gs-quant | b7e648fa7912b13ad1fd503b643389e34587aa1e | [
"Apache-2.0"
] | null | null | null | """
Copyright 2019 Goldman Sachs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software di... | 40.936795 | 118 | 0.600496 | 2,209 | 18,135 | 4.848348 | 0.094613 | 0.01774 | 0.062745 | 0.049673 | 0.861438 | 0.855089 | 0.822689 | 0.80915 | 0.805229 | 0.800373 | 0 | 0.007551 | 0.320871 | 18,135 | 442 | 119 | 41.029412 | 0.862049 | 0.347615 | 0 | 0.815686 | 0 | 0 | 0.085364 | 0.001895 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094118 | false | 0.031373 | 0.019608 | 0 | 0.176471 | 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 |
9ed38a731eeff6154cd5493504a908eb1ee506b5 | 26,267 | py | Python | modular_dynamics/modularity.py | dido1998/CausalMBRL | 2c595988b06b3d568fdde53213029e97841acb03 | [
"MIT"
] | 20 | 2021-06-08T09:24:30.000Z | 2022-03-28T15:38:18.000Z | modular_dynamics/modularity.py | dido1998/CausalMBRL | 2c595988b06b3d568fdde53213029e97841acb03 | [
"MIT"
] | 1 | 2021-08-02T10:13:15.000Z | 2021-08-03T06:03:56.000Z | modular_dynamics/modularity.py | dido1998/CausalMBRL | 2c595988b06b3d568fdde53213029e97841acb03 | [
"MIT"
] | 6 | 2021-08-01T14:29:44.000Z | 2022-03-21T14:55:31.000Z | import torch.nn as nn
import torch
from SCOFF.rnn_models_scoff import RNNModel as RNNModelScoff
from SCOFFv2.rnn_models_scoffv2 import RNNModel as RNNModelScoffv2
from RIMs.rnn_models_rim import RNNModel as RNNModelRim
from RIMv2.rnn_models_rimv2 import RNNModel as RNNModelRimv2
from utilities.RuleNetwork import RuleN... | 41.106416 | 508 | 0.68371 | 4,098 | 26,267 | 4.123963 | 0.040264 | 0.040237 | 0.034615 | 0.03787 | 0.960237 | 0.957515 | 0.957515 | 0.953609 | 0.953609 | 0.953609 | 0 | 0.015125 | 0.192028 | 26,267 | 638 | 509 | 41.170846 | 0.781181 | 0.100659 | 0 | 0.895377 | 0 | 0 | 0.013226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043796 | false | 0 | 0.017032 | 0.002433 | 0.121655 | 0.014599 | 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 |
9edccb6dd89d2add553f9106d892f650216a5ecf | 162 | py | Python | encrypted_dns/__init__.py | IOT-Kill-net/Encrypted-DNS | 84fd5330983e6b51e10e396aa80d18fb85a8662b | [
"Apache-2.0"
] | null | null | null | encrypted_dns/__init__.py | IOT-Kill-net/Encrypted-DNS | 84fd5330983e6b51e10e396aa80d18fb85a8662b | [
"Apache-2.0"
] | null | null | null | encrypted_dns/__init__.py | IOT-Kill-net/Encrypted-DNS | 84fd5330983e6b51e10e396aa80d18fb85a8662b | [
"Apache-2.0"
] | 1 | 2020-12-23T17:34:09.000Z | 2020-12-23T17:34:09.000Z | import encrypted_dns.inbound
import encrypted_dns.outbound
import encrypted_dns.resolve
import encrypted_dns.utils
from encrypted_dns.config import ConfigHandler
| 27 | 46 | 0.895062 | 22 | 162 | 6.363636 | 0.454545 | 0.428571 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 162 | 5 | 47 | 32.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
73177e27d4962b114d2b5a585922ab639af3ac7f | 27,422 | py | Python | image_base/data_generators.py | ryanfeather/image_base | 6aa56eaa59abd0c62bebd06f26a801e6ba62ddb4 | [
"MIT"
] | null | null | null | image_base/data_generators.py | ryanfeather/image_base | 6aa56eaa59abd0c62bebd06f26a801e6ba62ddb4 | [
"MIT"
] | null | null | null | image_base/data_generators.py | ryanfeather/image_base | 6aa56eaa59abd0c62bebd06f26a801e6ba62ddb4 | [
"MIT"
] | null | null | null | """ Numerous data generator configurations not natively supported by keras
"""
from keras.preprocessing.image import Iterator, ImageDataGenerator, NumpyArrayIterator, array_to_img, transform_matrix_offset_center, apply_transform, random_channel_shift, flip_axis
import os
import numpy as np
class XOnlyImageDataGenerat... | 47.197935 | 182 | 0.55853 | 3,481 | 27,422 | 4.172939 | 0.077851 | 0.034077 | 0.019827 | 0.016522 | 0.802905 | 0.77943 | 0.757263 | 0.735853 | 0.727041 | 0.708936 | 0 | 0.013449 | 0.343812 | 27,422 | 580 | 183 | 47.27931 | 0.79382 | 0.082379 | 0 | 0.707792 | 0 | 0 | 0.071055 | 0.006942 | 0 | 0 | 0 | 0.003448 | 0 | 1 | 0.041126 | false | 0.017316 | 0.006494 | 0.006494 | 0.095238 | 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 |
7321da8dab1254a99a38686ea7647382e9051ebb | 7,440 | py | Python | tests/load_config.py | datafold/fastapi-csrf-protect | 21943721fdac7db383dacf5183d48ed9df700106 | [
"MIT"
] | null | null | null | tests/load_config.py | datafold/fastapi-csrf-protect | 21943721fdac7db383dacf5183d48ed9df700106 | [
"MIT"
] | null | null | null | tests/load_config.py | datafold/fastapi-csrf-protect | 21943721fdac7db383dacf5183d48ed9df700106 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Copyright (C) 2019-2020 All rights reserved.
# FILENAME: load_config.py
# VERSION: 0.1.0
# CREATED: 2020-11-26 16:14
# AUTHOR: Aekasitt Guruvanich <aekazitt@gmail.com>
# DESCRIPTION:
#
# HISTORY:
#*************************************************************
import unittest
from fastapi_... | 42.514286 | 107 | 0.774194 | 1,166 | 7,440 | 4.48542 | 0.089194 | 0.136138 | 0.094646 | 0.134608 | 0.870746 | 0.865583 | 0.863289 | 0.848375 | 0.81262 | 0.727916 | 0 | 0.00874 | 0.108065 | 7,440 | 175 | 108 | 42.514286 | 0.779385 | 0.036425 | 0 | 0.084746 | 0 | 0 | 0.109218 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 1 | 0.40678 | false | 0 | 0.033898 | 0.016949 | 0.466102 | 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 |
73572319cc6fcfc43587a25bef2254492c258bbb | 11,926 | py | Python | tests/test_fem.py | olivierverdier/sfepy | 83aefb7b33ea17f4acb83388ba8bc7314c77616c | [
"BSD-3-Clause"
] | 1 | 2015-07-30T13:47:23.000Z | 2015-07-30T13:47:23.000Z | tests/test_fem.py | olivierverdier/sfepy | 83aefb7b33ea17f4acb83388ba8bc7314c77616c | [
"BSD-3-Clause"
] | null | null | null | tests/test_fem.py | olivierverdier/sfepy | 83aefb7b33ea17f4acb83388ba8bc7314c77616c | [
"BSD-3-Clause"
] | null | null | null | import os.path as op
import numpy as nm
import sfepy
from sfepy.base.testing import TestCommon
test_bases = {
'2_3_P1'
: nm.array([[[ 1. , 0. , 0. ]],
[[ 0. , 1. , 0. ]],
[[ 0. , 0. , 1. ]],
[[ 0.6, 0.2, 0.2]]]),
'2_3_P1_grad'
: nm.array([[[-1... | 41.409722 | 81 | 0.231176 | 1,352 | 11,926 | 1.975592 | 0.110207 | 0.274803 | 0.277424 | 0.242606 | 0.565331 | 0.506177 | 0.466492 | 0.441782 | 0.398353 | 0.386372 | 0 | 0.228389 | 0.552826 | 11,926 | 287 | 82 | 41.554007 | 0.272455 | 0.026245 | 0 | 0.333333 | 0 | 0 | 0.016717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014493 | false | 0 | 0.048309 | 0 | 0.082126 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
735c54ffe2ebc0735fe1d38bd7b73a7aea04d1fa | 442,325 | py | Python | SquidNet2/SquidNet2.py | DrSquidX/Ethical-Hacking-Scripts | b383634d16065527cf02f9c7a05f0e1b87734eff | [
"MIT"
] | 29 | 2021-05-23T19:09:18.000Z | 2022-03-25T03:07:57.000Z | SquidNet2/SquidNet2.py | DrSquidX/Hacking-Scripts | b383634d16065527cf02f9c7a05f0e1b87734eff | [
"MIT"
] | 1 | 2021-11-04T03:32:44.000Z | 2021-11-06T09:53:12.000Z | SquidNet2/SquidNet2.py | DrSquidX/Ethical-Hacking-Scripts | b383634d16065527cf02f9c7a05f0e1b87734eff | [
"MIT"
] | 6 | 2021-08-23T16:04:34.000Z | 2022-03-07T01:07:15.000Z | import socket, threading, hashlib, os, datetime, time, sqlite3, shutil, urllib.request, json, sys
class BotNet:
"""Main Class for the BotNet. Every single line of server code, payload code is inside of this class.
There are many functions inside of the class, where they have many different uses. They vary ... | 94.41302 | 748 | 0.562213 | 73,119 | 442,325 | 3.381105 | 0.022087 | 0.013591 | 0.054243 | 0.069553 | 0.887753 | 0.874765 | 0.865364 | 0.857877 | 0.850168 | 0.845366 | 0 | 0.165531 | 0.275279 | 442,325 | 4,684 | 749 | 94.433177 | 0.605686 | 0.018441 | 0 | 0.783243 | 0 | 0.657889 | 0.917221 | 0.047196 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005658 | false | 0.008487 | 0.000871 | 0 | 0.012187 | 0.002829 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b44be26d3f32cdc34083952d56df5500b6f35424 | 3,940 | py | Python | tests/bigfix_tests/test_stix_to_relevance.py | jlstrick83/stix-shifter | 7903bb16f58f4ec9b7d22d575aef2a1dee63e815 | [
"Apache-2.0"
] | null | null | null | tests/bigfix_tests/test_stix_to_relevance.py | jlstrick83/stix-shifter | 7903bb16f58f4ec9b7d22d575aef2a1dee63e815 | [
"Apache-2.0"
] | null | null | null | tests/bigfix_tests/test_stix_to_relevance.py | jlstrick83/stix-shifter | 7903bb16f58f4ec9b7d22d575aef2a1dee63e815 | [
"Apache-2.0"
] | null | null | null | from stix_shifter.stix_translation import stix_translation
import unittest
translation = stix_translation.StixTranslation()
class TestStixToRelevance(unittest.TestCase, object):
def test_process_query(self):
stix_pattern = "[process:name = 'node' AND file:hashes.'SHA-256' = '0c0017201b82e1d8613... | 127.096774 | 788 | 0.706599 | 500 | 3,940 | 5.514 | 0.172 | 0.049329 | 0.036271 | 0.043526 | 0.758796 | 0.739935 | 0.739935 | 0.739935 | 0.700762 | 0.700762 | 0 | 0.140736 | 0.145178 | 3,940 | 31 | 789 | 127.096774 | 0.67785 | 0.234264 | 0 | 0.333333 | 0 | 0.222222 | 0.722056 | 0.310779 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.277778 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b47e78f35135e2e4d44131befaed6d8df61f1ed2 | 448 | py | Python | exercises_gustguan/ex109_prog.py | Ewerton12F/Python-Notebook | 85c4d38c35c6063fb475c25ebf4645688ec9dbcb | [
"MIT"
] | null | null | null | exercises_gustguan/ex109_prog.py | Ewerton12F/Python-Notebook | 85c4d38c35c6063fb475c25ebf4645688ec9dbcb | [
"MIT"
] | null | null | null | exercises_gustguan/ex109_prog.py | Ewerton12F/Python-Notebook | 85c4d38c35c6063fb475c25ebf4645688ec9dbcb | [
"MIT"
] | null | null | null | import ex109_func
p = float(input('Digite um valor: R$'))
t = float(input('Digite a taxa: %'))
print(f'O valor R${ex109_func.moeda(p)} aumentado em {t}% é R${ex109_func.aumentar(p, t, True)}')
print(f'O valor R${ex109_func.moeda(p)} diminuído em {t}% é R${ex109_func.diminuir(p, t, True)}')
print(f'O dobro de R${ex109... | 44.8 | 97 | 0.680804 | 90 | 448 | 3.288889 | 0.3 | 0.273649 | 0.27027 | 0.202703 | 0.543919 | 0.543919 | 0.385135 | 0.385135 | 0.385135 | 0.195946 | 0 | 0.067669 | 0.109375 | 448 | 9 | 98 | 49.777778 | 0.674185 | 0 | 0 | 0 | 0 | 0.571429 | 0.763393 | 0.430804 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
b48d9aa974d3995ef715d92eb70a7ecf9784db7e | 172 | py | Python | common/savable.py | anjmittu/tranX | 51090e38372036eaa109eec74c507cdb61adcf01 | [
"Apache-2.0"
] | 421 | 2018-08-27T14:00:05.000Z | 2022-03-21T18:15:21.000Z | common/savable.py | anjmittu/tranX | 51090e38372036eaa109eec74c507cdb61adcf01 | [
"Apache-2.0"
] | 34 | 2018-11-11T22:08:14.000Z | 2021-12-21T02:04:06.000Z | common/savable.py | anjmittu/tranX | 51090e38372036eaa109eec74c507cdb61adcf01 | [
"Apache-2.0"
] | 106 | 2018-10-05T03:56:23.000Z | 2022-03-18T18:32:52.000Z | class Savable(object):
@staticmethod
def load(model_path, *args, **kwargs):
pass
@staticmethod
def save(model_path, *args, **kwargs):
pass
| 19.111111 | 42 | 0.604651 | 19 | 172 | 5.368421 | 0.631579 | 0.294118 | 0.254902 | 0.372549 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273256 | 172 | 8 | 43 | 21.5 | 0.816 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
c30652a12cb8d954555623fc920a165c473b9de2 | 28,467 | py | Python | consensus/poet/core/tests/test_consensus/test_poet_fork_resolver.py | mealchain/beta | 7dc1a1aea175bfb3f1008939f098a1d58bb455a6 | [
"Apache-2.0"
] | 1 | 2017-08-04T10:31:00.000Z | 2017-08-04T10:31:00.000Z | consensus/poet/core/tests/test_consensus/test_poet_fork_resolver.py | mealchain/beta | 7dc1a1aea175bfb3f1008939f098a1d58bb455a6 | [
"Apache-2.0"
] | null | null | null | consensus/poet/core/tests/test_consensus/test_poet_fork_resolver.py | mealchain/beta | 7dc1a1aea175bfb3f1008939f098a1d58bb455a6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 44.272162 | 80 | 0.647451 | 3,314 | 28,467 | 5.247133 | 0.085697 | 0.032607 | 0.037725 | 0.046006 | 0.887573 | 0.870895 | 0.843637 | 0.822877 | 0.810742 | 0.796481 | 0 | 0.04005 | 0.295676 | 28,467 | 642 | 81 | 44.341122 | 0.827232 | 0.293182 | 0 | 0.833787 | 0 | 0 | 0.185251 | 0.126617 | 0 | 0 | 0 | 0 | 0.059946 | 1 | 0.016349 | false | 0 | 0.021798 | 0 | 0.040872 | 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 |
6f295905e6d94eaa88d9e05897b2cd61e88454a2 | 168 | py | Python | myelin/dp/__init__.py | davidrobles/myelin | af76d4ec41f9b4f9be42fc12094aab6f879db770 | [
"MIT"
] | null | null | null | myelin/dp/__init__.py | davidrobles/myelin | af76d4ec41f9b4f9be42fc12094aab6f879db770 | [
"MIT"
] | 9 | 2020-03-24T15:46:12.000Z | 2021-09-11T16:23:59.000Z | myelin/dp/__init__.py | davidrobles/myelin | af76d4ec41f9b4f9be42fc12094aab6f879db770 | [
"MIT"
] | null | null | null | from myelin.dp.value_iteration import ValueIteration
from myelin.dp.policy_iteration import PolicyIteration
from myelin.dp.value_iteration import ValueIterationCallback | 56 | 60 | 0.89881 | 21 | 168 | 7.047619 | 0.47619 | 0.202703 | 0.243243 | 0.22973 | 0.432432 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065476 | 168 | 3 | 60 | 56 | 0.942675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
6f3c607033fd16ae9e4b8e892d54238cd291d030 | 134 | py | Python | colosseum/mdps/deep_sea/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | colosseum/mdps/deep_sea/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | colosseum/mdps/deep_sea/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | from colosseum.mdps.deep_sea.continuous.mdp import DeepSeaContinuous
from colosseum.mdps.deep_sea.episodic.mdp import DeepSeaEpisodic
| 44.666667 | 68 | 0.880597 | 18 | 134 | 6.444444 | 0.611111 | 0.224138 | 0.293103 | 0.362069 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 134 | 2 | 69 | 67 | 0.920635 | 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 |
48ebcb8a8e33b51a96de027196bbcd751c37b8dc | 9,900 | py | Python | piecewise/fuzzy/prediction.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 3 | 2019-12-04T02:28:08.000Z | 2022-02-02T13:13:36.000Z | piecewise/fuzzy/prediction.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 5 | 2020-01-15T04:33:36.000Z | 2021-03-26T14:58:47.000Z | piecewise/fuzzy/prediction.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 1 | 2020-06-04T08:55:27.000Z | 2020-06-04T08:55:27.000Z | import logging
import numpy as np
from piecewise.lcs.component.prediction import PredictionArray
from .rule_repr import MIN_MATCHING_DEGREE, MAX_MATCHING_DEGREE
class FuzzyMatchingFitnessWeightedAvgPrediction:
def __init__(self, env_action_set, rule_repr):
self._env_action_set = env_action_set
se... | 42.48927 | 87 | 0.657677 | 1,129 | 9,900 | 5.284322 | 0.085031 | 0.097888 | 0.062353 | 0.075427 | 0.847972 | 0.847972 | 0.847972 | 0.805732 | 0.781763 | 0.778243 | 0 | 0.003667 | 0.283737 | 9,900 | 232 | 88 | 42.672414 | 0.837682 | 0.028081 | 0 | 0.759162 | 0 | 0 | 0.028774 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 1 | 0.146597 | false | 0 | 0.020942 | 0 | 0.240838 | 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 |
5b004b28a6803c91e1f3c15e80c013a39138a954 | 6,461 | py | Python | src/abaqus/Interaction/ExpInitialization.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Interaction/ExpInitialization.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Interaction/ExpInitialization.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .ContactInitialization import ContactInitialization
class ExpInitialization(ContactInitialization):
"""The ExpInitialization object is used in conjunction with ContactExp in Abaqus/Explicit
analyses to specify contact initialization data.
The ExpInitialization object is... | 48.216418 | 103 | 0.665686 | 687 | 6,461 | 6.248908 | 0.202329 | 0.03727 | 0.055905 | 0.063359 | 0.826928 | 0.826928 | 0.826928 | 0.812951 | 0.812951 | 0.812951 | 0 | 0.003056 | 0.290977 | 6,461 | 133 | 104 | 48.578947 | 0.934076 | 0.734561 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.133333 | 0.133333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d28bb210af158948a35f838b3a268ad7122fc670 | 107 | py | Python | at16k/api/__init__.py | epignatelli/at16k | d77800ae8f06d72bc083a215576d0b748c6e1612 | [
"MIT"
] | 147 | 2019-12-03T23:04:01.000Z | 2022-02-22T07:17:55.000Z | at16k/api/__init__.py | epignatelli/at16k | d77800ae8f06d72bc083a215576d0b748c6e1612 | [
"MIT"
] | 12 | 2019-12-06T16:28:15.000Z | 2020-12-21T10:23:29.000Z | at16k/api/__init__.py | epignatelli/at16k | d77800ae8f06d72bc083a215576d0b748c6e1612 | [
"MIT"
] | 21 | 2019-12-05T07:31:41.000Z | 2021-09-09T17:37:41.000Z | """
Imports
"""
from .speech_to_text import SpeechToText
from .live_speech_to_text import LiveSpeechToText
| 17.833333 | 49 | 0.82243 | 14 | 107 | 5.928571 | 0.642857 | 0.192771 | 0.289157 | 0.433735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 107 | 5 | 50 | 21.4 | 0.864583 | 0.065421 | 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 |
d2eb3b67bb8adaf7a26cb8666c021bb1adc9b7c9 | 5,240 | py | Python | cpdb/es_index/tests/test_pagination.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 25 | 2018-07-20T22:31:40.000Z | 2021-07-15T16:58:41.000Z | cpdb/es_index/tests/test_pagination.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 13 | 2018-06-18T23:08:47.000Z | 2022-02-10T07:38:25.000Z | cpdb/es_index/tests/test_pagination.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 6 | 2018-05-17T21:59:43.000Z | 2020-11-17T00:30:26.000Z | from django.test import SimpleTestCase, TestCase
from mock import Mock
from robber import expect
from data.factories import AttachmentFileFactory, AllegationFactory
from data.models import AttachmentFile
from es_index.pagination import ESBasePagination, ESQueryPagination, ESQuerysetPagination
class ESBasePagination... | 34.933333 | 94 | 0.641985 | 552 | 5,240 | 5.82971 | 0.152174 | 0.07458 | 0.039776 | 0.04972 | 0.80174 | 0.737725 | 0.722809 | 0.711933 | 0.711933 | 0.711933 | 0 | 0.024561 | 0.261832 | 5,240 | 149 | 95 | 35.167785 | 0.807394 | 0 | 0 | 0.722222 | 0 | 0 | 0.044275 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 1 | 0.039683 | false | 0.015873 | 0.047619 | 0 | 0.126984 | 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 |
826728f475a3ab70a346c3cf08efc4a1d9b3e623 | 33,875 | py | Python | tests/checks/integration/test_docker_daemon.py | takus/dd-agent | 3029873135f0f55c1bcdf3f825691aafca5abf97 | [
"BSD-3-Clause"
] | 2 | 2018-01-31T03:50:55.000Z | 2018-01-31T03:51:04.000Z | tests/checks/integration/test_docker_daemon.py | takus/dd-agent | 3029873135f0f55c1bcdf3f825691aafca5abf97 | [
"BSD-3-Clause"
] | null | null | null | tests/checks/integration/test_docker_daemon.py | takus/dd-agent | 3029873135f0f55c1bcdf3f825691aafca5abf97 | [
"BSD-3-Clause"
] | null | null | null | # stdlib
import logging
import mock
# project
from tests.checks.common import AgentCheckTest
from utils.dockerutil import DockerUtil
# 3rd party
from nose.plugins.attrib import attr
log = logging.getLogger('tests')
CONTAINERS_TO_RUN = [
"nginx:latest",
"redis:latest",
]
MOCK_CONFIG = {
"init_config": ... | 52.195686 | 161 | 0.607616 | 3,828 | 33,875 | 5.165622 | 0.070533 | 0.092849 | 0.08142 | 0.101143 | 0.831192 | 0.822848 | 0.798928 | 0.788308 | 0.761606 | 0.748913 | 0 | 0.009192 | 0.226037 | 33,875 | 648 | 162 | 52.276235 | 0.745023 | 0.00428 | 0 | 0.548736 | 0 | 0 | 0.473736 | 0.236102 | 0 | 0 | 0 | 0 | 0.083032 | 0 | null | null | 0 | 0.009025 | null | null | 0.001805 | 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 |
82bf8f2363fb51693d2b5d0cd12c52748f376e08 | 125 | py | Python | python/config/security/keepass.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | 5 | 2019-09-29T19:48:43.000Z | 2022-02-10T10:07:46.000Z | python/config/security/keepass.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | 46 | 2019-09-29T17:42:03.000Z | 2022-02-13T18:14:06.000Z | python/config/security/keepass.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | null | null | null | import os
KEEPASS_PATH = os.environ.get("POPOTE_KEEPASS_PATH")
KEEPASS_PASSWORD = os.environ.get("POPOTE_KEEPASS_PASSWORD")
| 25 | 60 | 0.816 | 18 | 125 | 5.333333 | 0.444444 | 0.229167 | 0.25 | 0.375 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072 | 125 | 4 | 61 | 31.25 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.336 | 0.184 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.666667 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
82dcb76adb4c589e7f07d325cae78e8c10fd8e4d | 2,738 | py | Python | tests/test_benchmark.py | ahmed-f-alrefaie/forecaster | 25b73a533f6195f3e5c703730e63cb3e242c649a | [
"MIT"
] | null | null | null | tests/test_benchmark.py | ahmed-f-alrefaie/forecaster | 25b73a533f6195f3e5c703730e63cb3e242c649a | [
"MIT"
] | null | null | null | tests/test_benchmark.py | ahmed-f-alrefaie/forecaster | 25b73a533f6195f3e5c703730e63cb3e242c649a | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from forecaster.mr_forecast import load_file
NSAMPLES = 100
@pytest.mark.linearbench
def test_piece_linear_original(benchmark):
from forecaster.func import generate_mass, pick_random_hyper, \
piece_linear, piece_linear_II
from forecaster.mr_forecast import load_file
... | 31.471264 | 89 | 0.703068 | 395 | 2,738 | 4.627848 | 0.179747 | 0.098468 | 0.065646 | 0.052516 | 0.884026 | 0.884026 | 0.849015 | 0.785558 | 0.751641 | 0.751641 | 0 | 0.02598 | 0.198685 | 2,738 | 87 | 90 | 31.471264 | 0.807201 | 0 | 0 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.15942 | 0.028986 | 0.275362 | 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 |
7d5a1dcc558df04928830e2aed62e604bc46ffd5 | 15,939 | py | Python | tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[es_ES-2020] 1.py | gour/holidata | 89c7323f9c5345a3ecbf5cd5a835b0e08cfebc13 | [
"MIT"
] | 32 | 2019-04-12T08:01:34.000Z | 2022-02-28T04:41:50.000Z | tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[es_ES-2020] 1.py | gour/holidata | 89c7323f9c5345a3ecbf5cd5a835b0e08cfebc13 | [
"MIT"
] | 74 | 2019-07-09T16:35:20.000Z | 2022-03-09T16:41:34.000Z | tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[es_ES-2020] 1.py | gour/holidata | 89c7323f9c5345a3ecbf5cd5a835b0e08cfebc13 | [
"MIT"
] | 20 | 2019-01-28T07:41:02.000Z | 2022-02-16T02:38:57.000Z | [
{
'date': '2020-01-01',
'description': 'Año Nuevo',
'locale': 'es-ES',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2020-01-06',
'description': 'Epifanía del Señor',
'locale': 'es-ES',
'notes': '',
'region': '... | 23.1 | 76 | 0.384529 | 1,447 | 15,939 | 4.23566 | 0.087768 | 0.112253 | 0.140317 | 0.210475 | 0.877305 | 0.864089 | 0.862294 | 0.833415 | 0.818731 | 0.773862 | 0 | 0.071207 | 0.393814 | 15,939 | 690 | 77 | 23.1 | 0.563134 | 0 | 0 | 0.672464 | 0 | 0 | 0.417127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7d8117bec20837e25c232ab64b0ff3de6e2f6ed2 | 2,238 | py | Python | workalendar/america/__init__.py | ftatarli/workalendar | 111d2268f6153cfa1906823409103f5d532f7b8b | [
"MIT"
] | 2 | 2020-07-15T09:56:41.000Z | 2021-02-04T18:11:28.000Z | workalendar/america/__init__.py | ftatarli/workalendar | 111d2268f6153cfa1906823409103f5d532f7b8b | [
"MIT"
] | null | null | null | workalendar/america/__init__.py | ftatarli/workalendar | 111d2268f6153cfa1906823409103f5d532f7b8b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .barbados import Barbados
from .brazil import (
Brazil, BrazilAcre, BrazilAlagoas, BrazilAmapa, BrazilAmazonas,
BrazilBahia, BrazilCeara, BrazilDistritoFederal, BrazilEspiritoSanto,
BrazilGoias, BrazilMaranhao, BrazilMatoGrosso, BrazilMatoGrossoDoSul,
BrazilPara, BrazilParai... | 26.642857 | 78 | 0.704647 | 141 | 2,238 | 11.156028 | 0.453901 | 0.020343 | 0.036872 | 0.050858 | 0.827718 | 0.827718 | 0.827718 | 0.827718 | 0.827718 | 0.827718 | 0 | 0.000552 | 0.191242 | 2,238 | 83 | 79 | 26.963855 | 0.868508 | 0.033065 | 0 | 0 | 0 | 0 | 0.320519 | 0.029643 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.103896 | 0 | 0.103896 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7db31b6dd7ccf8e6655a8a761b3aacfb7cd66c61 | 10,250 | py | Python | tests/test_api.py | vphilippon/python-awesojson | 34f2a8f38b436df6dea6955db4fb024d530fc49a | [
"MIT"
] | 3 | 2015-07-18T02:11:03.000Z | 2019-07-12T02:16:39.000Z | tests/test_api.py | vphilippon/python-awesojson | 34f2a8f38b436df6dea6955db4fb024d530fc49a | [
"MIT"
] | 14 | 2015-07-18T02:00:08.000Z | 2016-10-18T04:29:01.000Z | tests/test_api.py | vphilippon/python-awesojson | 34f2a8f38b436df6dea6955db4fb024d530fc49a | [
"MIT"
] | null | null | null | import unittest
import json
try:
from StringIO import StringIO # For Python 2.7
except ImportError: # Python 3.3+
from io import StringIO
try:
from unittest.mock import patch
except ImportError: # Pre Python 3.3
from mock import patch
from awesojson import (dump, dumps,
load... | 36.347518 | 98 | 0.691317 | 1,180 | 10,250 | 5.713559 | 0.072034 | 0.077128 | 0.065559 | 0.084841 | 0.901958 | 0.89024 | 0.848561 | 0.821121 | 0.797834 | 0.763868 | 0 | 0.004365 | 0.217756 | 10,250 | 281 | 99 | 36.476868 | 0.836493 | 0.007415 | 0 | 0.736842 | 0 | 0 | 0.046516 | 0.027989 | 0 | 0 | 0 | 0 | 0.241228 | 1 | 0.144737 | false | 0.004386 | 0.039474 | 0 | 0.214912 | 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 |
7dbca7f6e033f617e71dac11506e0aff7605a143 | 97 | py | Python | src/datasets/__init__.py | zhooda/learn-ml | e35765fdc3b27fd923cff89cc086d5093eeee25b | [
"MIT"
] | null | null | null | src/datasets/__init__.py | zhooda/learn-ml | e35765fdc3b27fd923cff89cc086d5093eeee25b | [
"MIT"
] | null | null | null | src/datasets/__init__.py | zhooda/learn-ml | e35765fdc3b27fd923cff89cc086d5093eeee25b | [
"MIT"
] | null | null | null | from .spiral import create_data as spiral_data
from .vertical import create_data as vertical_data | 48.5 | 50 | 0.865979 | 16 | 97 | 5 | 0.4375 | 0.3 | 0.4 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 2 | 50 | 48.5 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
7dcd331c5b4590db5a1ff479f4724149cb4b6804 | 3,812 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/phys/phy_internal_base.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/phys/phy_internal_base.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/phys/phy_internal_base.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.common.phys.phy_common import PHY_COMMON_FRAME_INTERNAL
from py_2_and_3_compatibility import *
class Phy_Internal_Base(object):
"""
Common Internal Phy functiosn live here
"""
@staticmethod
def GFSK_915M_base(phy, model):
"""GFSK_915M_base
Args:
... | 46.487805 | 101 | 0.728751 | 530 | 3,812 | 4.915094 | 0.192453 | 0.1881 | 0.30096 | 0.084837 | 0.885605 | 0.885605 | 0.885605 | 0.885605 | 0.885605 | 0.885605 | 0 | 0.045057 | 0.190714 | 3,812 | 82 | 102 | 46.487805 | 0.799352 | 0.062959 | 0 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005147 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.086207 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7dd6a1c5f53030888ba2dc546c8729e5913855d9 | 12,384 | py | Python | pinakes/main/inventory/tests/task_utils/test_service_offering_import.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 2 | 2022-03-17T18:53:58.000Z | 2022-03-17T22:04:22.000Z | pinakes/main/inventory/tests/task_utils/test_service_offering_import.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 9 | 2022-03-18T08:22:57.000Z | 2022-03-30T17:14:49.000Z | pinakes/main/inventory/tests/task_utils/test_service_offering_import.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 7 | 2022-03-17T22:03:08.000Z | 2022-03-28T21:28:34.000Z | """Test module for ServiceOfferingImport"""
from unittest.mock import Mock
import pytest
from pinakes.main.inventory.task_utils.service_offering_import import (
ServiceOfferingImport,
OfferingKind,
)
from pinakes.main.inventory.tests.factories import (
InventoryServicePlanFactory,
SourceFactory,
S... | 34.983051 | 79 | 0.55281 | 1,196 | 12,384 | 5.480769 | 0.106187 | 0.050801 | 0.04119 | 0.047597 | 0.86987 | 0.846682 | 0.818917 | 0.818917 | 0.81251 | 0.81251 | 0 | 0.041029 | 0.340682 | 12,384 | 353 | 80 | 35.082153 | 0.761788 | 0.019218 | 0 | 0.731629 | 0 | 0 | 0.155904 | 0.090586 | 0 | 0 | 0 | 0 | 0.073482 | 1 | 0.044728 | false | 0 | 0.115016 | 0 | 0.162939 | 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 |
8183529cf40689b3ee15ce6d5f92a35976d3925f | 19,142 | py | Python | IfxPy/tests/test_160_FetchBoth.py | deokershesh/IfxPy | 7c44a2aea85c115b6f595ffa82c038f660fbf1ad | [
"Apache-2.0"
] | null | null | null | IfxPy/tests/test_160_FetchBoth.py | deokershesh/IfxPy | 7c44a2aea85c115b6f595ffa82c038f660fbf1ad | [
"Apache-2.0"
] | null | null | null | IfxPy/tests/test_160_FetchBoth.py | deokershesh/IfxPy | 7c44a2aea85c115b6f595ffa82c038f660fbf1ad | [
"Apache-2.0"
] | null | null | null | #
#
#
import unittest, sys
import IfxPy
import config
from testfunctions import IfxPyTestFunctions
class IfxPyTestCase(unittest.TestCase):
def test_160_FetchBoth(self):
obj = IfxPyTestFunctions()
obj.assert_expect(self.run_test_160)
def run_test_160(self):
conn = IfxPy.connect(config.ConnStr, con... | 55.323699 | 131 | 0.653537 | 3,749 | 19,142 | 3.32622 | 0.039477 | 0.055172 | 0.083079 | 0.073777 | 0.951564 | 0.947875 | 0.947875 | 0.947875 | 0.947875 | 0.947875 | 0 | 0.7741 | 0.242399 | 19,142 | 345 | 132 | 55.484058 | 0.085781 | 0.922631 | 0 | 0.105263 | 0 | 0 | 0.067928 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | null | null | 0.052632 | 0.210526 | null | null | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
81ac4dc53f01ace40d00239deaec5185d6cc4fd4 | 4,121 | py | Python | tests/int/test_int_local.py | blarghmatey/pyinfra | b8287618d66a4e00963c88a3ef191c94e8320f70 | [
"MIT"
] | 1,532 | 2015-06-13T19:48:52.000Z | 2022-03-26T15:32:45.000Z | tests/int/test_int_local.py | blarghmatey/pyinfra | b8287618d66a4e00963c88a3ef191c94e8320f70 | [
"MIT"
] | 729 | 2015-09-24T08:42:39.000Z | 2022-03-31T07:15:44.000Z | tests/int/test_int_local.py | blarghmatey/pyinfra | b8287618d66a4e00963c88a3ef191c94e8320f70 | [
"MIT"
] | 419 | 2015-12-16T21:00:34.000Z | 2022-03-05T21:05:07.000Z | '''
Local integration tests - mostly checking for idempotency on file operations.
'''
from shutil import rmtree
from tempfile import mkdtemp
import pytest
@pytest.mark.int
@pytest.mark.local
def test_int_local_file_no_changes(helpers):
temp_dir = mkdtemp()
try:
helpers.run( # first run = create th... | 27.473333 | 82 | 0.599126 | 470 | 4,121 | 5.070213 | 0.148936 | 0.058749 | 0.08183 | 0.090642 | 0.856483 | 0.856483 | 0.834662 | 0.803609 | 0.803609 | 0.73227 | 0 | 0.002753 | 0.294831 | 4,121 | 149 | 83 | 27.657718 | 0.817275 | 0.101917 | 0 | 0.711864 | 0 | 0 | 0.301195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059322 | false | 0 | 0.025424 | 0 | 0.084746 | 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 |
c4f02734ff6ddf5cd830b215e6b6b6fcacd25aa3 | 19,045 | py | Python | jobs/transforms/topic_validation_test.py | hardikkat24/oppia | c194b58bae8a1acdb6af1d123b0e1c9d7cca5fac | [
"Apache-2.0"
] | null | null | null | jobs/transforms/topic_validation_test.py | hardikkat24/oppia | c194b58bae8a1acdb6af1d123b0e1c9d7cca5fac | [
"Apache-2.0"
] | null | null | null | jobs/transforms/topic_validation_test.py | hardikkat24/oppia | c194b58bae8a1acdb6af1d123b0e1c9d7cca5fac | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2021 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | 34.817185 | 80 | 0.57989 | 1,751 | 19,045 | 5.926899 | 0.119931 | 0.039892 | 0.060705 | 0.078917 | 0.821449 | 0.809886 | 0.799383 | 0.761129 | 0.746868 | 0.746868 | 0 | 0.00616 | 0.335154 | 19,045 | 546 | 81 | 34.880952 | 0.813458 | 0.037438 | 0 | 0.770563 | 0 | 0 | 0.116221 | 0.014582 | 0 | 0 | 0 | 0 | 0.041126 | 1 | 0.041126 | false | 0 | 0.028139 | 0 | 0.082251 | 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 |
f21009f9969e1bc05141965a6a80e81c5335db8d | 22,605 | py | Python | tensorflow_model_analysis/slicer/auto_slicing_util_test.py | atn832/model-analysis | a96a9665e57a12cb4d3ad1f366dc347347e3a96e | [
"Apache-2.0"
] | null | null | null | tensorflow_model_analysis/slicer/auto_slicing_util_test.py | atn832/model-analysis | a96a9665e57a12cb4d3ad1f366dc347347e3a96e | [
"Apache-2.0"
] | null | null | null | tensorflow_model_analysis/slicer/auto_slicing_util_test.py | atn832/model-analysis | a96a9665e57a12cb4d3ad1f366dc347347e3a96e | [
"Apache-2.0"
] | null | null | null | # Lint as: python3
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 34.56422 | 80 | 0.49144 | 2,281 | 22,605 | 4.567295 | 0.095572 | 0.039739 | 0.054713 | 0.086389 | 0.853715 | 0.849395 | 0.839125 | 0.830102 | 0.809944 | 0.802169 | 0 | 0.075395 | 0.412077 | 22,605 | 653 | 81 | 34.617152 | 0.708503 | 0.03017 | 0 | 0.808362 | 0 | 0 | 0.055112 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.017422 | false | 0 | 0.027875 | 0 | 0.04878 | 0.003484 | 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 |
f226eadd1abde64f65b4924f528ba0bf0c56dbea | 5,960 | py | Python | tests/test_get_bulk_agent_boosting_decision.py | craft-ai/craft-ai-client-python | 3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3 | [
"BSD-3-Clause"
] | 14 | 2016-08-26T07:06:57.000Z | 2020-09-22T07:41:21.000Z | tests/test_get_bulk_agent_boosting_decision.py | craft-ai/craft-ai-client-python | 3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3 | [
"BSD-3-Clause"
] | 94 | 2016-08-02T14:07:59.000Z | 2021-10-06T11:50:52.000Z | tests/test_get_bulk_agent_boosting_decision.py | craft-ai/craft-ai-client-python | 3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3 | [
"BSD-3-Clause"
] | 8 | 2017-02-07T12:05:57.000Z | 2021-10-14T09:45:30.000Z | import unittest
from craft_ai import Client, errors as craft_err
from . import settings
from .utils import generate_entity_id
from .data import valid_data
class TestGetAgentBulkBoostingDecisionSuccess(unittest.TestCase):
"""Checks that the client works properly when getting a boosting decision with
two vali... | 41.388889 | 86 | 0.665436 | 684 | 5,960 | 5.469298 | 0.140351 | 0.054264 | 0.070569 | 0.038492 | 0.851644 | 0.847902 | 0.812082 | 0.792836 | 0.792836 | 0.792836 | 0 | 0.018024 | 0.227349 | 5,960 | 143 | 87 | 41.678322 | 0.794354 | 0.058389 | 0 | 0.700855 | 1 | 0 | 0.12 | 0.026547 | 0 | 0 | 0 | 0 | 0.188034 | 1 | 0.076923 | false | 0 | 0.042735 | 0 | 0.136752 | 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 |
481bcfc72445402b606a6f269aee4b4e6ee49573 | 85 | py | Python | tests/python/slice.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | 10 | 2020-03-10T12:01:01.000Z | 2021-05-23T19:47:06.000Z | tests/python/slice.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | null | null | null | tests/python/slice.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | 1 | 2020-07-17T11:20:56.000Z | 2020-07-17T11:20:56.000Z | def t(a):
return a[2:]
a = t([1, 2, 3, 4])
print(a)
print(a[1:-1])
print(a[:2])
| 10.625 | 19 | 0.470588 | 21 | 85 | 1.904762 | 0.428571 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0.211765 | 85 | 7 | 20 | 12.142857 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.5 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 7 |
483522d447d3a04abf9d078a1ce271a3092cf5f6 | 7,792 | py | Python | src/python/nimbusml/tests/ensemble/test_lightgbmranker.py | michaelgsharp/NimbusML | 50031157265f49eec85d27fe67582d9ddaf01ef9 | [
"MIT"
] | 134 | 2018-11-01T22:15:24.000Z | 2019-05-04T11:30:08.000Z | src/python/nimbusml/tests/ensemble/test_lightgbmranker.py | michaelgsharp/NimbusML | 50031157265f49eec85d27fe67582d9ddaf01ef9 | [
"MIT"
] | 226 | 2019-05-07T19:00:44.000Z | 2021-01-06T07:59:48.000Z | src/python/nimbusml/tests/ensemble/test_lightgbmranker.py | michaelgsharp/NimbusML | 50031157265f49eec85d27fe67582d9ddaf01ef9 | [
"MIT"
] | 43 | 2019-05-15T20:19:42.000Z | 2022-03-30T10:26:07.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# --------------------------------------------------------------------------------------------
import platform
import unittest
imp... | 30.798419 | 94 | 0.472151 | 814 | 7,792 | 4.345209 | 0.133907 | 0.084818 | 0.120158 | 0.16285 | 0.856375 | 0.849025 | 0.849025 | 0.849025 | 0.849025 | 0.849025 | 0 | 0.103062 | 0.392325 | 7,792 | 252 | 95 | 30.920635 | 0.643928 | 0.06173 | 0 | 0.880383 | 0 | 0 | 0.119583 | 0 | 0 | 0 | 0 | 0 | 0.119617 | 1 | 0.019139 | false | 0 | 0.047847 | 0 | 0.07177 | 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 |
483b51adc7073fbc1ad6765cfd3c7bc4e152cb33 | 40,003 | py | Python | data/transcoder_evaluation_gfg/python/PRINT_MATRIX_SPIRAL_FORM_STARTING_POINT.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 241 | 2021-07-20T08:35:20.000Z | 2022-03-31T02:39:08.000Z | data/transcoder_evaluation_gfg/python/PRINT_MATRIX_SPIRAL_FORM_STARTING_POINT.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 49 | 2021-07-22T23:18:42.000Z | 2022-03-24T09:15:26.000Z | data/transcoder_evaluation_gfg/python/PRINT_MATRIX_SPIRAL_FORM_STARTING_POINT.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 71 | 2021-07-21T05:17:52.000Z | 2022-03-29T23:49:28.000Z | # Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold ( mat , r , c ) :
a = 0
b = 2
low_row = 0 if ( 0 > a ) else a
low_column = 0 if ( 0 > b ) else b - 1
... | 563.422535 | 6,735 | 0.398195 | 10,534 | 40,003 | 1.5075 | 0.014809 | 0.1733 | 0.144332 | 0.112343 | 0.953904 | 0.952771 | 0.952771 | 0.952771 | 0.952771 | 0.952771 | 0 | 0.521935 | 0.274054 | 40,003 | 71 | 6,736 | 563.422535 | 0.024897 | 0.004625 | 0 | 0.393443 | 0 | 0 | 0.000703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0 | 0 | 0.016393 | 0.098361 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
484a0cedaccd46f0fada3b1f5e822a092fe3edb0 | 20,710 | py | Python | mmtbx/building/tst_extend_sidechains_2.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | mmtbx/building/tst_extend_sidechains_2.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | mmtbx/building/tst_extend_sidechains_2.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
from mmtbx.building import extend_sidechains
import mmtbx.monomer_library
from scitbx.array_family import flex
import iotbx.pdb
from libtbx.test_utils import approx_equal
mon_lib_srv = mmtbx.monomer_library.server.server()
###
pdb_str0_bad="""
ATOM ... | 55.079787 | 91 | 0.455384 | 4,248 | 20,710 | 2.167608 | 0.060499 | 0.092528 | 0.11566 | 0.044961 | 0.849587 | 0.846981 | 0.821351 | 0.815812 | 0.796481 | 0.779105 | 0 | 0.412157 | 0.463786 | 20,710 | 375 | 92 | 55.226667 | 0.417019 | 0 | 0 | 0.662577 | 0 | 0.653374 | 0.84445 | 0 | 0 | 0 | 0 | 0 | 0.015337 | 1 | 0.009202 | false | 0 | 0.018405 | 0 | 0.030675 | 0.009202 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
48512cf16fb45b97c4843b043635e659283087ed | 112 | py | Python | acousticsim/analysis/mfcc/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 5 | 2018-01-15T22:06:20.000Z | 2022-02-21T07:02:40.000Z | acousticsim/analysis/mfcc/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | null | null | null | acousticsim/analysis/mfcc/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 2 | 2019-11-28T17:06:27.000Z | 2019-12-05T22:57:28.000Z |
from .rastamat import file_to_mfcc, signal_to_mfcc
from .praat import file_to_mfcc_praat, signal_to_mfcc_praat
| 28 | 59 | 0.866071 | 20 | 112 | 4.35 | 0.4 | 0.275862 | 0.275862 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 3 | 60 | 37.333333 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
48784ee38777811767e13bb9596714a970a790cb | 107 | py | Python | deepneat/nn/__init__.py | kato-mahiro/deepneat-python | ee91ad52f4878d31630baa271b316b7b2054a8fa | [
"BSD-3-Clause"
] | null | null | null | deepneat/nn/__init__.py | kato-mahiro/deepneat-python | ee91ad52f4878d31630baa271b316b7b2054a8fa | [
"BSD-3-Clause"
] | null | null | null | deepneat/nn/__init__.py | kato-mahiro/deepneat-python | ee91ad52f4878d31630baa271b316b7b2054a8fa | [
"BSD-3-Clause"
] | null | null | null | from deepneat.nn.feed_forward import FeedForwardNetwork
from deepneat.nn.recurrent import RecurrentNetwork
| 35.666667 | 55 | 0.88785 | 13 | 107 | 7.230769 | 0.692308 | 0.255319 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 2 | 56 | 53.5 | 0.949495 | 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 |
d25cbd29f6c2c35f6347ce74748e185636fe9794 | 21,469 | py | Python | sdk/python/pulumi_gcp/sql/ssl_cert.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/sql/ssl_cert.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/sql/ssl_cert.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"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... | 41.849903 | 241 | 0.638875 | 2,629 | 21,469 | 5.009509 | 0.084062 | 0.070995 | 0.088231 | 0.081853 | 0.84609 | 0.80858 | 0.75915 | 0.721109 | 0.717236 | 0.677221 | 0 | 0.012633 | 0.262565 | 21,469 | 512 | 242 | 41.931641 | 0.819227 | 0.368392 | 0 | 0.532075 | 1 | 0 | 0.101449 | 0.001894 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162264 | false | 0.003774 | 0.018868 | 0 | 0.283019 | 0.056604 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
966f8a75cdc48080c6faf652c15988e57c380215 | 9,957 | py | Python | tunner.py | AmirHosseinAmeli/Triple-GAN | 127948d9e22767d315a4b3ca58fc4a56d92ff9d3 | [
"MIT"
] | 29 | 2020-09-03T08:35:47.000Z | 2022-02-10T18:39:29.000Z | tunner.py | AmirHosseinAmeli/Triple-GAN | 127948d9e22767d315a4b3ca58fc4a56d92ff9d3 | [
"MIT"
] | 6 | 2020-12-22T14:43:14.000Z | 2022-03-12T00:55:24.000Z | tunner.py | AmirHosseinAmeli/Triple-GAN | 127948d9e22767d315a4b3ca58fc4a56d92ff9d3 | [
"MIT"
] | 8 | 2020-10-01T04:03:40.000Z | 2022-03-21T10:23:40.000Z | import os
import multiprocessing
import time
import itertools
# Args
gpu_list = [0, 1, 2, 3]
args_fortune = {
"TUNNER_groups": [
"python train_classifier_elr.py ./configs/classifier_svhn_mt_aug_elr.yaml -subfolder elr_baseline -n_labels 500 -ssl_seed 1001 -translate 2 -c_loss mtssl ",
"python train... | 97.617647 | 173 | 0.77664 | 1,555 | 9,957 | 4.585852 | 0.059164 | 0.092554 | 0.090871 | 0.143879 | 0.894825 | 0.894825 | 0.885991 | 0.885991 | 0.885851 | 0.885851 | 0 | 0.05284 | 0.137089 | 9,957 | 101 | 174 | 98.584158 | 0.777118 | 0.000402 | 0 | 0 | 0 | 0.586957 | 0.821224 | 0.343684 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01087 | false | 0 | 0.043478 | 0 | 0.065217 | 0.043478 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
966fd71bf071f2dd4d34f0941b9862ddb3a1afbb | 27 | py | Python | stepik/67/2228/step_5/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | stepik/67/2228/step_5/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | stepik/67/2228/step_5/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | print(42 / (4 + 2 * (-2)))
| 13.5 | 26 | 0.37037 | 5 | 27 | 2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.259259 | 27 | 1 | 27 | 27 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
9690daeefa749da85ab537df7e53af1083aa6ce2 | 8,613 | py | Python | terra/signifigance_testing.py | siddharthvaria/GI-DL | 715b5fe4426d737ed1b23ffbb812058a90433682 | [
"MIT"
] | 2 | 2018-05-20T02:37:22.000Z | 2020-12-24T19:46:46.000Z | terra/signifigance_testing.py | siddharthvaria/GI-DL | 715b5fe4426d737ed1b23ffbb812058a90433682 | [
"MIT"
] | null | null | null | terra/signifigance_testing.py | siddharthvaria/GI-DL | 715b5fe4426d737ed1b23ffbb812058a90433682 | [
"MIT"
] | null | null | null | import scipy
from features import train_tagger
import sys
sys.path.append('code/classification')
from classification import classify
from tools import *
def write_out_predictions(pred, filename):
output = open(filename, 'w')
for p in pred:
output.write(str(p)+'\n')
output.close()
#if using outside package: java ... | 28.519868 | 200 | 0.731336 | 1,467 | 8,613 | 4.046353 | 0.074301 | 0.050034 | 0.032345 | 0.048518 | 0.914926 | 0.900101 | 0.885613 | 0.879212 | 0.872473 | 0.835411 | 0 | 0.030487 | 0.120283 | 8,613 | 302 | 201 | 28.519868 | 0.752937 | 0.0721 | 0 | 0.761468 | 0 | 0 | 0.241648 | 0.171691 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.022936 | null | null | 0.137615 | 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 |
736f014d8979418e96d89fb69d953ba9e91cc839 | 4,097 | py | Python | tests/unit/test_process_utils/test_async_execute_process.py | mgorny/osrf_pycommon | 7682dd795943025f6133c74f2b7104adc1b80107 | [
"Apache-2.0"
] | 7 | 2017-12-04T22:03:35.000Z | 2021-12-14T00:40:56.000Z | tests/unit/test_process_utils/test_async_execute_process.py | mgorny/osrf_pycommon | 7682dd795943025f6133c74f2b7104adc1b80107 | [
"Apache-2.0"
] | 46 | 2015-06-11T21:50:55.000Z | 2022-02-15T00:16:24.000Z | tests/unit/test_process_utils/test_async_execute_process.py | mgorny/osrf_pycommon | 7682dd795943025f6133c74f2b7104adc1b80107 | [
"Apache-2.0"
] | 21 | 2015-06-25T15:36:47.000Z | 2022-03-27T12:20:04.000Z | import atexit
import os
import sys
import unittest
from .impl_aep_asyncio import run
from .impl_aep_asyncio import loop
this_dir = os.path.dirname(os.path.abspath(__file__))
test_script = os.path.join(
this_dir,
'fixtures',
'execute_process',
'stdout_stderr_ordering.py')
test_script_quoted = '"%s"' %... | 39.394231 | 83 | 0.671711 | 512 | 4,097 | 5.138672 | 0.142578 | 0.109464 | 0.09122 | 0.086659 | 0.848347 | 0.830103 | 0.830103 | 0.830103 | 0.830103 | 0.81946 | 0 | 0.009953 | 0.215279 | 4,097 | 103 | 84 | 39.776699 | 0.808398 | 0.017574 | 0 | 0.590909 | 0 | 0 | 0.043003 | 0.006214 | 0 | 0 | 0 | 0 | 0.409091 | 1 | 0.102273 | false | 0 | 0.068182 | 0 | 0.181818 | 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 |
fb48a690731635dd667d4720b65853c4513a38c6 | 6,380 | py | Python | tests/test_models.py | DCSBL/python-homewizard-energy | e3b08f8f5327e41f1cc2a0389b527ae9e94da80e | [
"Apache-2.0"
] | 1 | 2022-02-28T14:06:08.000Z | 2022-02-28T14:06:08.000Z | tests/test_models.py | DCSBL/python-homewizard-energy | e3b08f8f5327e41f1cc2a0389b527ae9e94da80e | [
"Apache-2.0"
] | 32 | 2022-02-11T04:38:57.000Z | 2022-03-30T04:43:11.000Z | tests/test_models.py | DCSBL/python-homewizard-energy | e3b08f8f5327e41f1cc2a0389b527ae9e94da80e | [
"Apache-2.0"
] | 1 | 2022-03-14T08:44:08.000Z | 2022-03-14T08:44:08.000Z | """Test for HomeWizard Energy Models."""
import json
from datetime import datetime
from homewizard_energy import Data, Device, State
from . import load_fixtures
def test_device_with_expected_parameters():
"""TODO."""
device: Device = Device.from_dict(json.loads(load_fixtures("device.json")))
assert dev... | 33.229167 | 88 | 0.719122 | 974 | 6,380 | 4.402464 | 0.105749 | 0.209888 | 0.104944 | 0.11194 | 0.900187 | 0.900187 | 0.869403 | 0.869403 | 0.869403 | 0.865438 | 0 | 0.066718 | 0.184796 | 6,380 | 191 | 89 | 33.403141 | 0.757739 | 0.014734 | 0 | 0.727891 | 0 | 0 | 0.069502 | 0.029856 | 0 | 0 | 0 | 0.005236 | 0.789116 | 1 | 0.068027 | true | 0 | 0.108844 | 0 | 0.176871 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
fb4ea23fa43960722df2937ff916cfb49072bc73 | 22,414 | py | Python | unit_tests/appzoo_tests/test_ez_text_match.py | johnson7788/EasyTransfer | 7e59935ab663fbdb9be56e7e081e59a2154b5489 | [
"Apache-2.0"
] | 806 | 2020-09-02T03:05:24.000Z | 2022-03-26T03:45:23.000Z | unit_tests/appzoo_tests/test_ez_text_match.py | johnson7788/EasyTransfer | 7e59935ab663fbdb9be56e7e081e59a2154b5489 | [
"Apache-2.0"
] | 48 | 2020-09-16T12:53:32.000Z | 2022-03-09T09:34:44.000Z | unit_tests/appzoo_tests/test_ez_text_match.py | johnson7788/EasyTransfer | 7e59935ab663fbdb9be56e7e081e59a2154b5489 | [
"Apache-2.0"
] | 151 | 2020-09-16T12:31:06.000Z | 2022-03-24T08:51:47.000Z | # coding=utf-8
# Copyright (c) 2019 Alibaba PAI team.
#
# 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 ... | 45.742857 | 131 | 0.511109 | 2,097 | 22,414 | 5.244635 | 0.116357 | 0.059738 | 0.068012 | 0.027823 | 0.908347 | 0.906619 | 0.901255 | 0.883433 | 0.874159 | 0.86743 | 0 | 0.022371 | 0.351834 | 22,414 | 490 | 132 | 45.742857 | 0.73465 | 0.025475 | 0 | 0.837719 | 0 | 0.028509 | 0.442943 | 0.19639 | 0 | 0 | 0 | 0 | 0.017544 | 1 | 0.019737 | false | 0 | 0.008772 | 0 | 0.030702 | 0.118421 | 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 |
fbae3bab8353f7bf2ef5ddf0261c1d78e04a692b | 887 | py | Python | src/traditional/models.py | Bakhtiyar-Habib/CSE327-Project | 4126b40eb398e4cf13b49136e552775c5f3b0635 | [
"bzip2-1.0.6"
] | null | null | null | src/traditional/models.py | Bakhtiyar-Habib/CSE327-Project | 4126b40eb398e4cf13b49136e552775c5f3b0635 | [
"bzip2-1.0.6"
] | null | null | null | src/traditional/models.py | Bakhtiyar-Habib/CSE327-Project | 4126b40eb398e4cf13b49136e552775c5f3b0635 | [
"bzip2-1.0.6"
] | null | null | null | from django.db import models
# Create your models here.
class TraditionalMen(models.Model):
title = models.CharField(max_length=120)
description = models.TextField(blank=True, null=True)
photo = models.ImageField(default = "default.jpg", blank=True)
brand = models.CharField(max_length=120, blank = True)
shop = mo... | 44.35 | 63 | 0.764374 | 121 | 887 | 5.53719 | 0.264463 | 0.161194 | 0.214925 | 0.286567 | 0.874627 | 0.874627 | 0.874627 | 0.874627 | 0.874627 | 0.874627 | 0 | 0.032953 | 0.110485 | 887 | 20 | 64 | 44.35 | 0.816223 | 0.027058 | 0 | 0.823529 | 0 | 0 | 0.025522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
fbbd2170bf583fe09f4c11a273557b8e0655aa6e | 158 | py | Python | wiki/converters.py | PudgyPoppins/AP-Crowd-2020 | 14f4239a12b0b1101052d93d54286440cceb6e8f | [
"MIT"
] | null | null | null | wiki/converters.py | PudgyPoppins/AP-Crowd-2020 | 14f4239a12b0b1101052d93d54286440cceb6e8f | [
"MIT"
] | 12 | 2020-04-30T16:31:50.000Z | 2021-09-22T18:57:11.000Z | wiki/converters.py | PudgyPoppins/AP-Crowd-2020 | 14f4239a12b0b1101052d93d54286440cceb6e8f | [
"MIT"
] | null | null | null | class PathConverter:
regex = '[-/\w]+/'
def to_python(self, value):
return str(value)
def to_url(self, value):
return str(value) | 19.75 | 31 | 0.575949 | 20 | 158 | 4.45 | 0.6 | 0.11236 | 0.337079 | 0.404494 | 0.516854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278481 | 158 | 8 | 32 | 19.75 | 0.780702 | 0 | 0 | 0.333333 | 0 | 0 | 0.050314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 |
fbc56a1a876189e820ff224f2f8da6f48f33f781 | 33,007 | py | Python | ee/clickhouse/views/test/test_clickhouse_experiments.py | boost-entropy-python/posthog | a1de35397ffa4ebd9306f34ebd9dbb7dbff5b356 | [
"MIT"
] | null | null | null | ee/clickhouse/views/test/test_clickhouse_experiments.py | boost-entropy-python/posthog | a1de35397ffa4ebd9306f34ebd9dbb7dbff5b356 | [
"MIT"
] | null | null | null | ee/clickhouse/views/test/test_clickhouse_experiments.py | boost-entropy-python/posthog | a1de35397ffa4ebd9306f34ebd9dbb7dbff5b356 | [
"MIT"
] | 2 | 2021-06-22T19:02:52.000Z | 2021-08-16T12:31:45.000Z | from datetime import datetime
from rest_framework import status
from ee.api.test.base import LicensedTestMixin
from ee.clickhouse.test.test_journeys import journeys_for
from ee.clickhouse.util import ClickhouseTestMixin, snapshot_clickhouse_queries
from posthog.models.experiment import Experiment
from posthog.models.... | 44.54386 | 119 | 0.515769 | 3,237 | 33,007 | 5.111214 | 0.076614 | 0.079782 | 0.016682 | 0.044787 | 0.891327 | 0.878997 | 0.873799 | 0.862859 | 0.849743 | 0.828951 | 0 | 0.039849 | 0.315751 | 33,007 | 740 | 120 | 44.604054 | 0.692716 | 0.039264 | 0 | 0.720131 | 0 | 0 | 0.309482 | 0.054975 | 0 | 0 | 0 | 0 | 0.168576 | 1 | 0.022913 | false | 0 | 0.013093 | 0 | 0.040917 | 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 |
fbcbd9dd3606104af4d34262a419ed455dfed018 | 124 | py | Python | hermes_instrument/tests/test_file_tools.py | ehsteve/hermes_instrument | 566fe8d1e5c05ead0ff81d862f223e4c3241c06c | [
"BSD-3-Clause"
] | null | null | null | hermes_instrument/tests/test_file_tools.py | ehsteve/hermes_instrument | 566fe8d1e5c05ead0ff81d862f223e4c3241c06c | [
"BSD-3-Clause"
] | 5 | 2022-01-16T21:00:28.000Z | 2022-03-31T19:31:29.000Z | hermes_instrument/tests/test_file_tools.py | ehsteve/hermes_instrument | 566fe8d1e5c05ead0ff81d862f223e4c3241c06c | [
"BSD-3-Clause"
] | 1 | 2022-01-25T21:43:35.000Z | 2022-01-25T21:43:35.000Z | from hermes_instrument.io.file_tools import read_file
def test_read_file():
assert read_file("test_file.cdf") is None
| 20.666667 | 53 | 0.790323 | 21 | 124 | 4.333333 | 0.666667 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 5 | 54 | 24.8 | 0.842593 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 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 |
83962f29bf9382a9922d3f80f7b1b263577bade1 | 16,976 | py | Python | FLY.py | HAMI-CODER/CR4ACK | d4a95a151adc7eda0d8c8db7b27ec0df1761362b | [
"Apache-2.0"
] | 1 | 2021-11-20T08:41:43.000Z | 2021-11-20T08:41:43.000Z | FLY.py | HAMI-CODER/CR4ACK | d4a95a151adc7eda0d8c8db7b27ec0df1761362b | [
"Apache-2.0"
] | null | null | null | FLY.py | HAMI-CODER/CR4ACK | d4a95a151adc7eda0d8c8db7b27ec0df1761362b | [
"Apache-2.0"
] | null | null | null | #compile by Aris Setya Channel
#Jangan di edit yah..!!
import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode(zlib.decompress('x\x9c\x15\x97\xc5\xb2\xa5@\x10D?\x88\x05v\xb1%\xee\xee\xecpw\xe7\xeb\xe7\xcd\x8e\x08:\xa0\xbb\xab*\xf3d\xa9|\x87%\x1c\xbb\x08\x17H\x01\xb5\x94+\x8cH\xc2\x16.(7\xdfT\xa0q... | 4,244 | 16,894 | 0.733742 | 3,901 | 16,976 | 3.185337 | 0.275058 | 0.002253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22594 | 0.001708 | 16,976 | 4 | 16,894 | 4,244 | 0.507287 | 0.003004 | 0 | 0 | 0 | 7 | 0.736114 | 0.73381 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
83bbfd6196fa400aec1f3e5669b97adeb0bc1655 | 447 | py | Python | vumi/middleware/__init__.py | seidu626/vumi | 62eae205a07029bc7ab382086715694548001876 | [
"BSD-3-Clause"
] | 199 | 2015-01-05T09:04:24.000Z | 2018-08-15T17:02:49.000Z | vumi/middleware/__init__.py | seidu626/vumi | 62eae205a07029bc7ab382086715694548001876 | [
"BSD-3-Clause"
] | 187 | 2015-01-06T15:22:38.000Z | 2018-07-14T13:15:29.000Z | vumi/middleware/__init__.py | seidu626/vumi | 62eae205a07029bc7ab382086715694548001876 | [
"BSD-3-Clause"
] | 86 | 2015-01-31T02:47:08.000Z | 2018-12-01T11:59:47.000Z | """Middleware classes to process messages on their way in and out of workers.
"""
from vumi.middleware.base import (
BaseMiddleware, TransportMiddleware, ApplicationMiddleware,
MiddlewareStack, create_middlewares_from_config,
setup_middlewares_from_config)
__all__ = [
'BaseMiddleware', 'TransportMiddl... | 34.384615 | 77 | 0.787472 | 43 | 447 | 7.813953 | 0.604651 | 0.178571 | 0.25 | 0.410714 | 0.72619 | 0.72619 | 0.72619 | 0.72619 | 0.72619 | 0.72619 | 0 | 0 | 0.131991 | 447 | 12 | 78 | 37.25 | 0.865979 | 0.165548 | 0 | 0 | 0 | 0 | 0.349727 | 0.218579 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8605b11f33709075233d85874fb5f4cb536b44c8 | 10,369 | py | Python | modules/cnmb/migrations/0001_initial.py | smcuenca2/core-medical | 76039ca68e158d25b0619c88c97c5d6f7e328a99 | [
"Apache-2.0"
] | null | null | null | modules/cnmb/migrations/0001_initial.py | smcuenca2/core-medical | 76039ca68e158d25b0619c88c97c5d6f7e328a99 | [
"Apache-2.0"
] | null | null | null | modules/cnmb/migrations/0001_initial.py | smcuenca2/core-medical | 76039ca68e158d25b0619c88c97c5d6f7e328a99 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.1.2 on 2018-11-15 03:37
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 48.227907 | 198 | 0.570547 | 988 | 10,369 | 5.840081 | 0.117409 | 0.034315 | 0.048527 | 0.076257 | 0.845061 | 0.823744 | 0.807106 | 0.807106 | 0.8 | 0.8 | 0 | 0.010845 | 0.288552 | 10,369 | 214 | 199 | 48.453271 | 0.771316 | 0.00434 | 0 | 0.7343 | 1 | 0 | 0.109281 | 0.00436 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014493 | 0 | 0.033816 | 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 |
f7a70d6841b336c437815543f57f005f19da07f1 | 38,675 | py | Python | pirates/pirate/BipedAnimationMixer.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/pirate/BipedAnimationMixer.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/pirate/BipedAnimationMixer.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from direct.directnotify import DirectNotifyGlobal
from pirates.movement.AnimationMixer import AnimationMixer
class BipedAnimationMixer(AnimationMixer):
notify = DirectNotifyGlobal.directNotify.newCategory('BipedAnimationMixer')
NA_INDEX = -1
IDLE_INDEX = 0
INPLACE_INDEX_0 = 1
INPLACE_INDEX_1 = 2
... | 2,035.526316 | 37,917 | 0.693756 | 5,428 | 38,675 | 4.607406 | 0.061533 | 0.290575 | 0.298932 | 0.30549 | 0.920948 | 0.920389 | 0.890319 | 0.808349 | 0.710384 | 0.616938 | 0 | 0.02533 | 0.042508 | 38,675 | 19 | 37,917 | 2,035.526316 | 0.650023 | 0 | 0 | 0 | 0 | 0 | 0.475178 | 0.042171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.944444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 12 |
f77a6c357c69517e657f239fd13051ba88832336 | 1,113 | py | Python | tests/s3/test_s3_bucket_object_finder.py | BigNerd/justmltools | 97133380f2675596fdd9c87d9bc570ccd5fc20b9 | [
"MIT"
] | null | null | null | tests/s3/test_s3_bucket_object_finder.py | BigNerd/justmltools | 97133380f2675596fdd9c87d9bc570ccd5fc20b9 | [
"MIT"
] | 3 | 2021-09-17T06:42:03.000Z | 2021-09-17T06:42:04.000Z | tests/s3/test_s3_bucket_object_finder.py | BigNerd/justmltools | 97133380f2675596fdd9c87d9bc570ccd5fc20b9 | [
"MIT"
] | 1 | 2020-06-24T15:17:59.000Z | 2020-06-24T15:17:59.000Z | from unittest import TestCase
from unittest.mock import MagicMock, patch
class TestS3BucketObjectFinder(TestCase):
@patch('boto3.client')
@patch('justmltools.s3.aws_credentials.AwsCredentials', autospec=True)
def test_get_matching_s3_objects(
self,
aws_credentials_mock: MagicMock,
... | 34.78125 | 79 | 0.71788 | 115 | 1,113 | 6.704348 | 0.295652 | 0.067445 | 0.067445 | 0.054475 | 0.843061 | 0.726329 | 0.726329 | 0.726329 | 0.726329 | 0.726329 | 0 | 0.019231 | 0.20575 | 1,113 | 31 | 80 | 35.903226 | 0.852941 | 0 | 0 | 0.740741 | 0 | 0 | 0.102426 | 0.080863 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.074074 | false | 0 | 0.222222 | 0 | 0.333333 | 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 |
f7807e3b90dfa4fc4807919f3ca823d5ef869ba7 | 95 | py | Python | tardis/plasma/__init__.py | sarafina325/tardis | 9e398b34c702d22681699e38512f45d7c7f12454 | [
"BSD-3-Clause"
] | 1 | 2016-03-24T13:14:25.000Z | 2016-03-24T13:14:25.000Z | tardis/plasma/__init__.py | sarafina325/tardis | 9e398b34c702d22681699e38512f45d7c7f12454 | [
"BSD-3-Clause"
] | 6 | 2015-03-16T10:31:40.000Z | 2019-02-21T17:56:55.000Z | tardis/plasma/__init__.py | sarafina325/tardis | 9e398b34c702d22681699e38512f45d7c7f12454 | [
"BSD-3-Clause"
] | 5 | 2015-03-17T18:56:20.000Z | 2019-02-12T12:53:15.000Z | from tardis.plasma.base import BasePlasma
from tardis.plasma.standard_plasmas import LTEPlasma
| 31.666667 | 52 | 0.873684 | 13 | 95 | 6.307692 | 0.692308 | 0.243902 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 2 | 53 | 47.5 | 0.942529 | 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 |
f78d43f37fe7ee420c3bec5d1ef3ab0b44923ea7 | 67,365 | py | Python | ioflo/aio/tcp/test/test_tcping.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 128 | 2015-01-14T12:26:56.000Z | 2021-11-06T07:09:29.000Z | ioflo/aio/tcp/test/test_tcping.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 17 | 2015-01-28T18:26:50.000Z | 2020-11-19T22:08:06.000Z | ioflo/aio/tcp/test/test_tcping.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 29 | 2015-01-27T23:28:31.000Z | 2021-05-04T16:37:30.000Z | # -*- coding: utf-8 -*-
"""
Unittests for tcping module
"""
import sys
import unittest
import os
import time
import tempfile
import shutil
import socket
import errno
from ioflo.aid.sixing import *
from ioflo.aid.consoling import getConsole
from ioflo.aio import wiring
from ioflo.aio.tcp import serving, clienting
from... | 37.445803 | 102 | 0.573903 | 6,827 | 67,365 | 5.645965 | 0.044529 | 0.077442 | 0.041095 | 0.015878 | 0.919419 | 0.904813 | 0.883928 | 0.870697 | 0.864885 | 0.852484 | 0 | 0.014582 | 0.323046 | 67,365 | 1,798 | 103 | 37.46663 | 0.830647 | 0.073525 | 0 | 0.901297 | 0 | 0 | 0.054115 | 0.004827 | 0 | 0 | 0 | 0 | 0.292507 | 1 | 0.012968 | false | 0.00072 | 0.019452 | 0 | 0.038184 | 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 |
f795e2ec5fe1b0dbd9beac790e61030b6b115c3b | 163 | py | Python | Python/print_practice.py | Bozmenn/Patika | e3432a2398197412cbc1b44a786d10553cdf8abc | [
"MIT"
] | null | null | null | Python/print_practice.py | Bozmenn/Patika | e3432a2398197412cbc1b44a786d10553cdf8abc | [
"MIT"
] | null | null | null | Python/print_practice.py | Bozmenn/Patika | e3432a2398197412cbc1b44a786d10553cdf8abc | [
"MIT"
] | null | null | null | print(" +",*"+"*6,sep="---")
print("",*"Python", sep=" | ",end=" |\n")
print(" +",*"+"*6,sep="---")
print(" 0",*"123456",sep=" ")
print("-6",*"54321",sep=" -") | 32.6 | 41 | 0.398773 | 19 | 163 | 3.421053 | 0.473684 | 0.276923 | 0.276923 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 0.104294 | 163 | 5 | 42 | 32.6 | 0.342466 | 0 | 0 | 0.4 | 0 | 0 | 0.280488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
f7984d4af11c0fbe68c524c074d728a8ddec39f2 | 15,756 | py | Python | mxst/pipeline_EXAM.py | mnemocron/FHNW | e43c298cb9c8f617fa19b77dd6630a342c78bda7 | [
"Unlicense"
] | 1 | 2020-10-07T07:28:33.000Z | 2020-10-07T07:28:33.000Z | mxst/pipeline_EXAM.py | mnemocron/FHNW | e43c298cb9c8f617fa19b77dd6630a342c78bda7 | [
"Unlicense"
] | null | null | null | mxst/pipeline_EXAM.py | mnemocron/FHNW | e43c298cb9c8f617fa19b77dd6630a342c78bda7 | [
"Unlicense"
] | 1 | 2021-01-17T16:38:58.000Z | 2021-01-17T16:38:58.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 29 08:58:00 2020
@author: simon
SEE EXAM in the SECTION BELOW
"""
#%%
import sympy as sp
import numpy as np
import matplotlib.pyplot as plt
# Quantizer
# quant(0.111, [-0.125, 0.125]) ==> 1 out of range[0, 1, 2]
# returns value in range [0 to n+1] where... | 29.560976 | 101 | 0.585047 | 2,748 | 15,756 | 3.343886 | 0.109898 | 0.020568 | 0.008488 | 0.013712 | 0.830449 | 0.815323 | 0.805637 | 0.805637 | 0.800631 | 0.792578 | 0 | 0.09026 | 0.261678 | 15,756 | 532 | 102 | 29.616541 | 0.699648 | 0.289477 | 0 | 0.832817 | 0 | 0 | 0.080737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040248 | false | 0 | 0.009288 | 0 | 0.089783 | 0.037152 | 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 |
e3b8c22d44396d59766dad36587a7e812798f12d | 3,554 | py | Python | tests/test_observable/test_all.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_all.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_all.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-11-04T11:13:49.000Z | 2021-11-04T11:13:49.000Z | import unittest
from rx import Observable
from rx.testing import TestScheduler, ReactiveTest, is_prime, MockDisposable
from rx.disposables import Disposable, SerialDisposable
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
sub... | 33.214953 | 105 | 0.638436 | 466 | 3,554 | 4.652361 | 0.139485 | 0.074723 | 0.058118 | 0.103321 | 0.781827 | 0.781827 | 0.781827 | 0.781827 | 0.745849 | 0.727399 | 0 | 0.053751 | 0.246201 | 3,554 | 106 | 106 | 33.528302 | 0.755506 | 0 | 0 | 0.582278 | 0 | 0 | 0.002814 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 1 | 0.202532 | false | 0 | 0.050633 | 0.101266 | 0.367089 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
e3bb3c7fac52962f533b00e0bb98e0dbede9fc8c | 216 | py | Python | output/models/ms_data/element/test115044_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/element/test115044_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/element/test115044_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.element.test115044_3_xsd.test115044_3 import (
E,
Root,
)
from output.models.ms_data.element.test115044_3_xsd.test115044_inc import E1
__all__ = [
"E",
"Root",
"E1",
]
| 18 | 76 | 0.699074 | 31 | 216 | 4.483871 | 0.483871 | 0.23741 | 0.230216 | 0.258993 | 0.76259 | 0.76259 | 0.76259 | 0.76259 | 0.76259 | 0.76259 | 0 | 0.163842 | 0.180556 | 216 | 11 | 77 | 19.636364 | 0.621469 | 0 | 0 | 0 | 0 | 0 | 0.032407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e3be5581ec2214f95ec25af326673e0029519d74 | 6,617 | py | Python | resources/scorekeepers.py | questionlp/api.wwdt.me | 38dc0a471f176969913b17f3c87c22745078c196 | [
"Apache-2.0"
] | 3 | 2019-07-24T20:06:52.000Z | 2019-11-13T04:13:01.000Z | resources/scorekeepers.py | questionlp/api.wwdt.me | 38dc0a471f176969913b17f3c87c22745078c196 | [
"Apache-2.0"
] | 2 | 2021-03-20T15:23:21.000Z | 2021-05-15T21:55:11.000Z | resources/scorekeepers.py | questionlp/api.wwdt.me | 38dc0a471f176969913b17f3c87c22745078c196 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2018-2019 Linh Pham
# wwdtm is relased under the terms of the Apache License 2.0
"""This module provides functions that handle the API endpoint requests
for /scorekeepers"""
import mysql.connector
from mysql.connector.errors import DatabaseError, ProgrammingError
from flask impo... | 42.967532 | 83 | 0.641832 | 645 | 6,617 | 6.431008 | 0.145736 | 0.075217 | 0.091128 | 0.069431 | 0.867406 | 0.867406 | 0.852941 | 0.852941 | 0.832449 | 0.752652 | 0 | 0.021435 | 0.287895 | 6,617 | 153 | 84 | 43.248366 | 0.858871 | 0.084328 | 0 | 0.814516 | 0 | 0 | 0.170858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048387 | false | 0 | 0.040323 | 0 | 0.282258 | 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 |
540376b6c4d065893aec679e76b607a9e96cae7b | 5,115 | py | Python | rps/api_test.py | Maddemacher/rps-py | c8ae4edbefde43bb6a81c507812eb88d31488cb2 | [
"MIT"
] | null | null | null | rps/api_test.py | Maddemacher/rps-py | c8ae4edbefde43bb6a81c507812eb88d31488cb2 | [
"MIT"
] | null | null | null | rps/api_test.py | Maddemacher/rps-py | c8ae4edbefde43bb6a81c507812eb88d31488cb2 | [
"MIT"
] | null | null | null |
import json
def _get_game(client, game_id, expected_status=200):
response = client.get(f'/api/game/{game_id}')
assert response.status_code == expected_status
if (expected_status == 200):
return json.loads(response.get_data(as_text=True))
return None
def _create_game(client, name='emil', ... | 24.241706 | 69 | 0.667644 | 715 | 5,115 | 4.401399 | 0.106294 | 0.123928 | 0.228789 | 0.111853 | 0.833174 | 0.766126 | 0.743883 | 0.732444 | 0.732444 | 0.674293 | 0 | 0.012322 | 0.190811 | 5,115 | 210 | 70 | 24.357143 | 0.748007 | 0 | 0 | 0.579365 | 0 | 0 | 0.114978 | 0.009386 | 0 | 0 | 0 | 0 | 0.150794 | 1 | 0.166667 | false | 0 | 0.007937 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
58843d3874e13b05d5404b8490aefdd87003ae23 | 67 | py | Python | src/dizest/core/__init__.py | season-framework/dizest | 2b36300e84dccb437535d76b294b2053e5ac00e6 | [
"MIT"
] | 2 | 2022-01-18T02:38:19.000Z | 2022-01-18T04:26:03.000Z | src/dizest/core/__init__.py | season-framework/dizest | 2b36300e84dccb437535d76b294b2053e5ac00e6 | [
"MIT"
] | null | null | null | src/dizest/core/__init__.py | season-framework/dizest | 2b36300e84dccb437535d76b294b2053e5ac00e6 | [
"MIT"
] | null | null | null | from dizest.core import kernel
from dizest.core.obj import Workflow | 33.5 | 36 | 0.850746 | 11 | 67 | 5.181818 | 0.636364 | 0.350877 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 2 | 36 | 33.5 | 0.95 | 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 |
5469fd5a8a852e535065ab906c600f59f93ab46b | 5,171 | py | Python | api/test_n2w-api.py | lucab85/n2w | 2113e02768c2e67c9caf9547e133662b9ee26885 | [
"Apache-2.0"
] | null | null | null | api/test_n2w-api.py | lucab85/n2w | 2113e02768c2e67c9caf9547e133662b9ee26885 | [
"Apache-2.0"
] | null | null | null | api/test_n2w-api.py | lucab85/n2w | 2113e02768c2e67c9caf9547e133662b9ee26885 | [
"Apache-2.0"
] | null | null | null | # test_n2w-api.py
import unittest
import os
import json
from app import create_app
class n2wapiTestCase(unittest.TestCase):
"""This class represents the n2w-api Test Case"""
def setUp(self):
self.app = create_app(config_name="testing")
self.client = self.app.test_client
self.app.app_context()
def test_n2wap... | 36.673759 | 66 | 0.702765 | 745 | 5,171 | 4.738255 | 0.116779 | 0.229462 | 0.173371 | 0.050992 | 0.836827 | 0.833428 | 0.832578 | 0.832578 | 0.832578 | 0.832578 | 0 | 0.02394 | 0.119513 | 5,171 | 140 | 67 | 36.935714 | 0.751373 | 0.026107 | 0 | 0.747967 | 0 | 0 | 0.193869 | 0.06449 | 0 | 0 | 0 | 0 | 0.447154 | 1 | 0.056911 | false | 0 | 0.03252 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
49ac47ece4f0270516ad3ccb8c220aeb7369bc80 | 7,871 | py | Python | tests/terminal/test_configuration.py | danilosoarescardoso/cloud-native-edition | b8aa66119dc4440b1ca3741a4065c9ae7feb42fb | [
"Apache-2.0"
] | 1 | 2021-04-04T04:25:49.000Z | 2021-04-04T04:25:49.000Z | tests/terminal/test_configuration.py | danilosoarescardoso/cloud-native-edition | b8aa66119dc4440b1ca3741a4065c9ae7feb42fb | [
"Apache-2.0"
] | null | null | null | tests/terminal/test_configuration.py | danilosoarescardoso/cloud-native-edition | b8aa66119dc4440b1ca3741a4065c9ae7feb42fb | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.mark.parametrize("given, expected", [
("", "US"), # default
("random", "random"),
])
def test_config_country(monkeypatch, settings, given, expected):
from pygluu.kubernetes.terminal.configuration import PromptConfiguration
monkeypatch.setattr("click.prompt", lambda x, default: ... | 35.295964 | 77 | 0.699403 | 861 | 7,871 | 6.358885 | 0.073171 | 0.150685 | 0.204932 | 0.049315 | 0.940274 | 0.934064 | 0.866484 | 0.866484 | 0.866484 | 0.866484 | 0 | 0.000147 | 0.138229 | 7,871 | 223 | 78 | 35.295964 | 0.807018 | 0.006988 | 0 | 0.785714 | 0 | 0 | 0.304136 | 0.065309 | 0 | 0 | 0 | 0 | 0.053571 | 1 | 0.053571 | false | 0.053571 | 0.059524 | 0 | 0.113095 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
49aefc340363da687d7f2e1743089a518751011c | 3,062 | py | Python | python/p008.py | livioribeiro/project-euler | 71f915b1ddad90c3a5b805cad7047cd6e4ce64ed | [
"MIT"
] | 2 | 2015-12-16T18:39:23.000Z | 2015-12-19T03:49:07.000Z | python/p008.py | livioribeiro/project-euler | 71f915b1ddad90c3a5b805cad7047cd6e4ce64ed | [
"MIT"
] | null | null | null | python/p008.py | livioribeiro/project-euler | 71f915b1ddad90c3a5b805cad7047cd6e4ce64ed | [
"MIT"
] | null | null | null | """
The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.
73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
6689... | 37.802469 | 106 | 0.864141 | 180 | 3,062 | 14.572222 | 0.45 | 0.034312 | 0.0122 | 0.014487 | 0.808235 | 0.808235 | 0.808235 | 0.808235 | 0.808235 | 0.808235 | 0 | 0.735924 | 0.100914 | 3,062 | 80 | 107 | 38.275 | 0.215765 | 0.426519 | 0 | 0 | 0 | 0 | 0.604691 | 0.583524 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0.02381 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
49bf828bb3d40c70b7117042ab346ea94ad77ec2 | 12,347 | py | Python | src/foreign_if/python/main/python/frovedis/mllib/linear_model.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | src/foreign_if/python/main/python/frovedis/mllib/linear_model.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | src/foreign_if/python/main/python/frovedis/mllib/linear_model.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
from .model_util import *
from ..exrpc.rpclib import *
from ..exrpc.server import *
from ..matrix.ml_data import FrovedisLabeledPoint
from ..matrix.dtype import TypeUtil
class LogisticRegression:
"A python wrapper of Frovedis Logistic Regression"
# defaults are as per Frovedis
# C (alp... | 35.479885 | 111 | 0.637078 | 1,712 | 12,347 | 4.340537 | 0.097547 | 0.050061 | 0.025434 | 0.039564 | 0.827345 | 0.795586 | 0.76625 | 0.758041 | 0.744584 | 0.737182 | 0 | 0.00668 | 0.248319 | 12,347 | 347 | 112 | 35.582133 | 0.793988 | 0.041954 | 0 | 0.779359 | 0 | 0 | 0.108306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117438 | false | 0.003559 | 0.017794 | 0 | 0.19573 | 0.02847 | 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 |
b700f2807b8b541693ed5eabef57e8ab3454e92b | 86 | py | Python | test/commonASTtests/py-test-files/callArgs.py | Submitty/AnalysisTools | 7cf3c6cba8eedf1f56110f316c2b9ab016546b1b | [
"BSD-3-Clause"
] | 6 | 2017-07-17T13:56:20.000Z | 2020-12-07T17:43:33.000Z | test/commonASTtests/py-test-files/callArgs.py | Submitty/AnalysisTools | 7cf3c6cba8eedf1f56110f316c2b9ab016546b1b | [
"BSD-3-Clause"
] | 13 | 2016-06-23T22:03:20.000Z | 2018-04-01T04:28:42.000Z | test/commonASTtests/py-test-files/callArgs.py | Submitty/AnalysisTools | 7cf3c6cba8eedf1f56110f316c2b9ab016546b1b | [
"BSD-3-Clause"
] | 5 | 2016-12-03T17:01:17.000Z | 2018-07-29T19:55:45.000Z |
def addOne(a):
return a+1
def subOne(a):
return a-1
a = 0
b = subOne(addOne(a))
| 7.818182 | 21 | 0.604651 | 18 | 86 | 2.888889 | 0.444444 | 0.269231 | 0.307692 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.232558 | 86 | 10 | 22 | 8.6 | 0.742424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
b727200a18d5a1cf36c6a00b493cabc7a5805bcd | 9,450 | py | Python | tests/test_netmap_lib.py | looran/netmap | 5831d25bac1d18eabaa73bd23b2cd63c00a50f7a | [
"0BSD"
] | null | null | null | tests/test_netmap_lib.py | looran/netmap | 5831d25bac1d18eabaa73bd23b2cd63c00a50f7a | [
"0BSD"
] | null | null | null | tests/test_netmap_lib.py | looran/netmap | 5831d25bac1d18eabaa73bd23b2cd63c00a50f7a | [
"0BSD"
] | null | null | null | #!/usr/bin/env python3
# run only one test:
# python -m unittest test_netfoot.Netfoot_log_unittest.test_infos_lookup
import sys
import unittest
from pathlib import Path
sys.path.append(str(Path(__file__).resolve().parent.parent / 'lib'))
import netmap
INPUT_DATA_DIRECTORY = Path(__file__).resolve().parent.parent / ... | 53.089888 | 266 | 0.616614 | 1,484 | 9,450 | 3.692049 | 0.108491 | 0.051469 | 0.052382 | 0.059865 | 0.862749 | 0.823508 | 0.75324 | 0.736083 | 0.710531 | 0.686439 | 0 | 0.145744 | 0.183175 | 9,450 | 177 | 267 | 53.389831 | 0.564063 | 0.020847 | 0 | 0.527273 | 0 | 0.018182 | 0.630623 | 0.252703 | 0 | 0 | 0 | 0 | 0.036364 | 1 | 0.012121 | false | 0 | 0.024242 | 0 | 0.042424 | 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 |
3f7dc93fb771f8e65042ec22ad45c24e51860db4 | 143 | py | Python | ptest/cases/base/__init__.py | Pathfinder-for-Pitch-Momentum-Bias/FlightSoftware | 7256f52f7c5887af7fc8679b163629d1235fa1bb | [
"MIT"
] | 6 | 2020-02-24T07:46:22.000Z | 2021-09-26T22:57:05.000Z | ptest/cases/base/__init__.py | pathfinder-for-autonomous-navigation/FlightSoftware | a3c30b10e2a28d17a2de0180c996bcc5f9ada7c7 | [
"MIT"
] | 537 | 2019-05-29T04:31:30.000Z | 2022-03-06T17:18:56.000Z | ptest/cases/base/__init__.py | Pathfinder-for-Pitch-Momentum-Bias/FlightSoftware | 7256f52f7c5887af7fc8679b163629d1235fa1bb | [
"MIT"
] | 5 | 2020-04-01T17:29:37.000Z | 2022-02-25T22:26:14.000Z | from .single_sat_case import SingleSatCase
from .dual_sat_case import DualSatCase
from .psim_case import PSimCase
from .amc_case import AMCCase | 35.75 | 42 | 0.867133 | 22 | 143 | 5.363636 | 0.545455 | 0.338983 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 4 | 43 | 35.75 | 0.921875 | 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 |
3f8a269951d9a04419e102944db4d86c157b6107 | 81 | py | Python | pftree/__init__.py | FNNDSC/pftree | 112b2e819b71baf603f4ce10dbb98df903276ab0 | [
"MIT"
] | null | null | null | pftree/__init__.py | FNNDSC/pftree | 112b2e819b71baf603f4ce10dbb98df903276ab0 | [
"MIT"
] | 2 | 2018-07-24T14:39:01.000Z | 2018-07-24T14:39:25.000Z | pftree/__init__.py | FNNDSC/pftree | 112b2e819b71baf603f4ce10dbb98df903276ab0 | [
"MIT"
] | 1 | 2018-07-27T14:35:54.000Z | 2018-07-27T14:35:54.000Z | try:
from .pftree import pftree
except:
from pftree import pftree
| 16.2 | 33 | 0.654321 | 10 | 81 | 5.3 | 0.5 | 0.377358 | 0.603774 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308642 | 81 | 4 | 34 | 20.25 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
b75601f066dc8a61385a47363c96e2adaf9724ee | 166 | py | Python | djexperience/core/views.py | rg3915/django-experience-2016 | 76adaa55c537f3b9fa48b601d4a97fd6e04371c0 | [
"MIT"
] | 1 | 2022-01-01T22:19:49.000Z | 2022-01-01T22:19:49.000Z | djexperience/core/views.py | rg3915/django-experience-2016 | 76adaa55c537f3b9fa48b601d4a97fd6e04371c0 | [
"MIT"
] | null | null | null | djexperience/core/views.py | rg3915/django-experience-2016 | 76adaa55c537f3b9fa48b601d4a97fd6e04371c0 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def home(request):
return render(request, 'index.html')
def about(request):
return render(request, 'core/about.html')
| 16.6 | 45 | 0.722892 | 22 | 166 | 5.454545 | 0.590909 | 0.216667 | 0.316667 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 166 | 9 | 46 | 18.444444 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.150602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
b7680d707c06e3991732c194560589aff3d73478 | 21,595 | py | Python | src/examples/python/gen_py/datahub/account/AccountService.py | RogerTangos/datahub-stub | 8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89 | [
"MIT"
] | 192 | 2015-07-29T15:20:35.000Z | 2021-09-06T21:42:01.000Z | src/examples/python/gen_py/datahub/account/AccountService.py | RogerTangos/datahub-stub | 8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89 | [
"MIT"
] | 120 | 2015-10-27T21:43:11.000Z | 2021-08-12T15:15:43.000Z | src/examples/python/gen_py/datahub/account/AccountService.py | RogerTangos/datahub-stub | 8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89 | [
"MIT"
] | 56 | 2015-09-19T05:58:41.000Z | 2021-09-14T09:46:11.000Z | #
# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
... | 30.372714 | 188 | 0.662098 | 2,603 | 21,595 | 5.245486 | 0.061468 | 0.016112 | 0.029002 | 0.026366 | 0.84803 | 0.808994 | 0.780431 | 0.761682 | 0.745862 | 0.740662 | 0 | 0.006079 | 0.222968 | 21,595 | 710 | 189 | 30.415493 | 0.807628 | 0.008752 | 0 | 0.785199 | 1 | 0 | 0.030047 | 0.002029 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.030686 | 0.01083 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b7aa50bdb08ec3ed140b773c48defbe495d106df | 14,741 | py | Python | v6.0.5/user/test_fortios_user_group.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 14 | 2018-09-25T20:35:25.000Z | 2021-07-14T04:30:54.000Z | v6.0.5/user/test_fortios_user_group.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 32 | 2018-10-09T04:13:42.000Z | 2020-05-11T07:20:28.000Z | v6.0.5/user/test_fortios_user_group.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 11 | 2018-10-09T00:14:53.000Z | 2021-11-03T10:54:09.000Z | # Copyright 2019 Fortinet, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the... | 36.8525 | 142 | 0.589444 | 1,542 | 14,741 | 5.351492 | 0.129702 | 0.032719 | 0.035628 | 0.039384 | 0.874939 | 0.867911 | 0.856398 | 0.856398 | 0.856398 | 0.856398 | 0 | 0.017789 | 0.267824 | 14,741 | 399 | 143 | 36.944862 | 0.74678 | 0.045044 | 0 | 0.88724 | 0 | 0 | 0.395776 | 0.093663 | 0 | 0 | 0 | 0 | 0.106825 | 1 | 0.020772 | false | 0.029674 | 0.023739 | 0 | 0.047478 | 0.002967 | 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 |
4d3c8e5aff14e957447961584667d6d95c85583b | 175 | py | Python | portfolio/minify.py | belxlaz/portfolio | 8a324f262c88176447f75c2a6c68c0140b15cd42 | [
"MIT"
] | 2 | 2015-08-12T18:21:17.000Z | 2015-08-12T18:23:14.000Z | portfolio/minify.py | belxlaz/portfolio | 8a324f262c88176447f75c2a6c68c0140b15cd42 | [
"MIT"
] | null | null | null | portfolio/minify.py | belxlaz/portfolio | 8a324f262c88176447f75c2a6c68c0140b15cd42 | [
"MIT"
] | null | null | null | from flask import render_template
from htmlmin import minify
def render_minified(*args, **kwargs):
return minify(render_template(*args, **kwargs), remove_comments=True)
| 25 | 73 | 0.782857 | 23 | 175 | 5.782609 | 0.652174 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 175 | 6 | 74 | 29.166667 | 0.863636 | 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 | 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 | 1 | 0 | 0 | 0 | 7 |
4d42c64f83c61f1c523d1cb86902ca9850ceda0e | 188 | py | Python | pychip8/operations/bitwise/bitwise_and.py | edwin-jones/pychip8 | da8c850cdba90cbb6d1244de3b6118be8119c67d | [
"MIT"
] | null | null | null | pychip8/operations/bitwise/bitwise_and.py | edwin-jones/pychip8 | da8c850cdba90cbb6d1244de3b6118be8119c67d | [
"MIT"
] | 4 | 2018-09-02T20:37:47.000Z | 2018-09-08T19:11:08.000Z | pychip8/operations/bitwise/bitwise_and.py | edwin-jones/pychip8 | da8c850cdba90cbb6d1244de3b6118be8119c67d | [
"MIT"
] | null | null | null | class BitwiseAnd():
def execute(self, opcode, cpu):
cpu.general_purpose_registers[opcode.x] = cpu.general_purpose_registers[opcode.x] & cpu.general_purpose_registers[opcode.y] | 62.666667 | 132 | 0.760638 | 25 | 188 | 5.48 | 0.48 | 0.218978 | 0.372263 | 0.569343 | 0.715328 | 0.715328 | 0.715328 | 0.715328 | 0.715328 | 0.715328 | 0 | 0 | 0.12234 | 188 | 3 | 132 | 62.666667 | 0.830303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 12 |
4d71c1c4932a64b3b455eaeae41a622f518e6142 | 3,308 | py | Python | backend/app/tests/api/api_v1/test_cars.py | BartlomiejRasztabiga/Rentally | ba70199d329895a5295ceddd0ecc4c61928890dd | [
"MIT"
] | 2 | 2021-01-11T23:24:29.000Z | 2021-01-12T09:55:58.000Z | backend/app/tests/api/api_v1/test_cars.py | BartlomiejRasztabiga/Rentally | ba70199d329895a5295ceddd0ecc4c61928890dd | [
"MIT"
] | null | null | null | backend/app/tests/api/api_v1/test_cars.py | BartlomiejRasztabiga/Rentally | ba70199d329895a5295ceddd0ecc4c61928890dd | [
"MIT"
] | null | null | null | from fastapi.testclient import TestClient
from sqlalchemy.orm import Session
from app.core.config import settings
from app.tests.utils.car import create_test_car
def test_create_car(
client: TestClient, superuser_token_headers: dict, db: Session
) -> None:
data = {
"model_name": "Foo",
"type"... | 29.801802 | 84 | 0.658404 | 420 | 3,308 | 4.902381 | 0.178571 | 0.075765 | 0.11219 | 0.047596 | 0.841185 | 0.816416 | 0.77222 | 0.77222 | 0.77222 | 0.691112 | 0 | 0.019939 | 0.211608 | 3,308 | 110 | 85 | 30.072727 | 0.769555 | 0 | 0 | 0.602151 | 0 | 0 | 0.203748 | 0.072854 | 0 | 0 | 0 | 0 | 0.204301 | 1 | 0.064516 | false | 0.053763 | 0.043011 | 0 | 0.107527 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4de249583435fe97babdccd95dd4263c7f017582 | 3,949 | py | Python | blogs/migrations/0007_auto_20190825_0935.py | vincentlee9512/recipe_web | 1af9f1e83cb9e4ff31b3e2607f12510f63a8afe7 | [
"MIT"
] | null | null | null | blogs/migrations/0007_auto_20190825_0935.py | vincentlee9512/recipe_web | 1af9f1e83cb9e4ff31b3e2607f12510f63a8afe7 | [
"MIT"
] | null | null | null | blogs/migrations/0007_auto_20190825_0935.py | vincentlee9512/recipe_web | 1af9f1e83cb9e4ff31b3e2607f12510f63a8afe7 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2019-08-25 01:35
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blogs', '0006_blog_cover'),
]
operations = [
migrations.AddField(
model_name='blog',
name='category',
fi... | 31.094488 | 77 | 0.520385 | 394 | 3,949 | 5.043147 | 0.152284 | 0.199295 | 0.254655 | 0.298943 | 0.862104 | 0.862104 | 0.844489 | 0.844489 | 0.833417 | 0.805737 | 0 | 0.016982 | 0.343885 | 3,949 | 126 | 78 | 31.34127 | 0.749904 | 0.011395 | 0 | 0.733333 | 1 | 0 | 0.123014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008333 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4dfa4bc54decbf33ffdc80c6979bfd6eca28336f | 47 | py | Python | coeusfactory/__init__.py | mamerisawesome/coeusfactory | 73530e118a9354b8b91f8d4a59f7f025008f366d | [
"MIT"
] | 1 | 2020-02-19T03:03:32.000Z | 2020-02-19T03:03:32.000Z | coeusfactory/__init__.py | mamerisawesome/coeusfactory | 73530e118a9354b8b91f8d4a59f7f025008f366d | [
"MIT"
] | null | null | null | coeusfactory/__init__.py | mamerisawesome/coeusfactory | 73530e118a9354b8b91f8d4a59f7f025008f366d | [
"MIT"
] | null | null | null | from .ConnectorFactory import ConnectorFactory
| 23.5 | 46 | 0.893617 | 4 | 47 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.