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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c323fd0a281a1d87543bdabbbe5b4427e5eec191 | 36,178 | py | Python | eeauditor/auditors/aws/Amazon_ECS_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_ECS_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_ECS_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 57.60828 | 254 | 0.409199 | 2,638 | 36,178 | 5.591357 | 0.130023 | 0.023593 | 0.03539 | 0.043254 | 0.883525 | 0.878034 | 0.874237 | 0.865356 | 0.859864 | 0.856746 | 0 | 0.061325 | 0.502847 | 36,178 | 628 | 255 | 57.60828 | 0.758757 | 0.043922 | 0 | 0.822222 | 0 | 0.032479 | 0.332088 | 0.035609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008547 | false | 0.006838 | 0.005128 | 0 | 0.017094 | 0.006838 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
c3562d1b40f2737d409b58bb9f4467b0ae1bbe8c | 14,200 | py | Python | test/test_modules/test_math.py | dragonteros/unsuspected-hangeul | 52dda3768809f5ba91e4fd7bb754223737b2da3d | [
"MIT"
] | 62 | 2019-02-24T17:45:04.000Z | 2021-06-14T07:34:57.000Z | test/test_modules/test_math.py | dragonteros/unsuspected-hangeul | 52dda3768809f5ba91e4fd7bb754223737b2da3d | [
"MIT"
] | 11 | 2019-02-25T17:19:45.000Z | 2020-07-18T05:04:17.000Z | test/test_modules/test_math.py | dragonteros/unsuspected-hangeul | 52dda3768809f5ba91e4fd7bb754223737b2da3d | [
"MIT"
] | 2 | 2019-02-25T07:51:14.000Z | 2019-09-23T12:36:08.000Z | from test.test_base import TestBase
class TestMath(TestBase):
def test_isclose(self):
_test = self._assert_execute
_test('ㄹ (ㄱㅇㄱ ㄱㅇㄱ ㄴㄱ ㅅㅎㄷ ㄱㅎㄷ ㄴ (ㅂ ㅅ ㄱ ㅂㅎㄹ)ㅎㄷㅎ)ㅎㄴ', 'True')
_test('ㅂ ㅅ ㅂ ㅂㅎㄹ (ㄱㅇㄱ ㄱㅇㄱ ㄴㄱ ㅅㅎㄷ ㄱㅎㄷ ㄴ (ㅂ ㅅ ㄱ ㅂㅎㄹ)ㅎㄷㅎ)ㅎㄴ', 'True')
_test('ㅂ ㅅ ㅈ ㅂㅎㄹ (ㄱㅇㄱ ㄱㅇㄱ ㄴㄱ ㅅㅎㄷ ㄱㅎㄷ ㄴ (ㅂ... | 55.905512 | 158 | 0.520352 | 3,223 | 14,200 | 2.209432 | 0.028235 | 0.110097 | 0.066704 | 0.043814 | 0.959275 | 0.947901 | 0.925291 | 0.907176 | 0.853532 | 0.791883 | 0 | 0.010694 | 0.32169 | 14,200 | 253 | 159 | 56.126482 | 0.728613 | 0 | 0 | 0.07173 | 0 | 0.248945 | 0.610352 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 1 | 0.063291 | false | 0 | 0.004219 | 0 | 0.07173 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6f31bdd4727dd7111ae865267e15057fbd15d9fb | 29 | py | Python | Pacotes/ex022.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | Pacotes/ex022.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | Pacotes/ex022.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | print (19 // 2 )
print( 19%2) | 14.5 | 16 | 0.551724 | 6 | 29 | 2.666667 | 0.5 | 0.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.206897 | 29 | 2 | 17 | 14.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 1 | 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 | 9 |
6f38b06f669b537017b964e2c9d9bddd9b904d47 | 78,772 | py | Python | sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/operations/_page_blob_operations.py | jalauzon-msft/azure-sdk-for-python | 15967f5c6d3376f2334a382486ba86339786e028 | [
"MIT"
] | 1 | 2022-02-01T18:50:12.000Z | 2022-02-01T18:50:12.000Z | sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/operations/_page_blob_operations.py | ellhe-blaster/azure-sdk-for-python | 82193ba5e81cc5e5e5a5239bba58abe62e86f469 | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/operations/_page_blob_operations.py | ellhe-blaster/azure-sdk-for-python | 82193ba5e81cc5e5e5a5239bba58abe62e86f469 | [
"MIT"
] | null | null | null | # pylint: disable=too-many-lines
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRe... | 54.551247 | 319 | 0.692441 | 9,581 | 78,772 | 5.426991 | 0.04916 | 0.050773 | 0.04108 | 0.025271 | 0.878645 | 0.863028 | 0.8507 | 0.836026 | 0.827814 | 0.81487 | 0 | 0.007131 | 0.22555 | 78,772 | 1,443 | 320 | 54.589051 | 0.845193 | 0.025758 | 0 | 0.814939 | 0 | 0 | 0.075088 | 0.031386 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001115 | false | 0 | 0.012263 | 0 | 0.027871 | 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 |
6f47b4b418f600c91349bca3f946db81bd280d01 | 470 | py | Python | decorator_pattern/starbuzz/condiment.py | garyeechung/design-pattern-practice | 00ca66b79773de06c2d043c33caf37cb5f40a507 | [
"MIT"
] | 2 | 2021-02-25T06:04:34.000Z | 2021-02-25T06:13:48.000Z | decorator_pattern/starbuzz/condiment.py | garyeechung/design-pattern-practice | 00ca66b79773de06c2d043c33caf37cb5f40a507 | [
"MIT"
] | 1 | 2021-02-17T16:45:58.000Z | 2021-02-23T12:54:39.000Z | decorator_pattern/starbuzz/condiment.py | garyeechung/design-pattern-practice | 00ca66b79773de06c2d043c33caf37cb5f40a507 | [
"MIT"
] | null | null | null | from .interface import Beverage, CondimentDecorator
class Mocha(CondimentDecorator):
def __init__(self, beverage: Beverage):
super().__init__(beverage)
self._cost = 0.2
class Whip(CondimentDecorator):
def __init__(self, beverage: Beverage):
super().__init__(beverage)
self._... | 20.434783 | 51 | 0.67234 | 50 | 470 | 5.78 | 0.36 | 0.217993 | 0.259516 | 0.301038 | 0.737024 | 0.737024 | 0.737024 | 0.737024 | 0.737024 | 0.737024 | 0 | 0.019126 | 0.221277 | 470 | 22 | 52 | 21.363636 | 0.770492 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
48b02d948060f886a636e1dc8c11abff122b4be1 | 91,989 | py | Python | test/unit/common/test_db.py | dreamhost/swift | e90424e88bfaae17bf16f5c32b4d18deb5a6e71f | [
"Apache-2.0"
] | null | null | null | test/unit/common/test_db.py | dreamhost/swift | e90424e88bfaae17bf16f5c32b4d18deb5a6e71f | [
"Apache-2.0"
] | null | null | null | test/unit/common/test_db.py | dreamhost/swift | e90424e88bfaae17bf16f5c32b4d18deb5a6e71f | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2010-2011 OpenStack, LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 45.270177 | 94 | 0.582309 | 9,940 | 91,989 | 5.253421 | 0.045875 | 0.11153 | 0.040368 | 0.052222 | 0.876041 | 0.8576 | 0.836171 | 0.80329 | 0.781344 | 0.757943 | 0 | 0.061319 | 0.282175 | 91,989 | 2,031 | 95 | 45.292467 | 0.729495 | 0.022568 | 0 | 0.758581 | 0 | 0 | 0.19986 | 0.035078 | 0 | 0 | 0 | 0 | 0.242583 | 0 | null | null | 0.008144 | 0.011635 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d2b3079900df546aeac436f737e69c681f72b12c | 24,525 | py | Python | fhirclient/r4models/contract_tests.py | cspears-mitre/CapStatement | 2390566ed75d420e0615e3a0aacb77e8c030fdcc | [
"Apache-2.0"
] | 1 | 2021-12-24T11:14:38.000Z | 2021-12-24T11:14:38.000Z | fhirclient/r4models/contract_tests.py | cspears-mitre/CapStatement | 2390566ed75d420e0615e3a0aacb77e8c030fdcc | [
"Apache-2.0"
] | null | null | null | fhirclient/r4models/contract_tests.py | cspears-mitre/CapStatement | 2390566ed75d420e0615e3a0aacb77e8c030fdcc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 3.6.0-bd605d07 on 2018-12-20.
# 2018, SMART Health IT.
import os
import io
import unittest
import json
from . import contract
from .fhirdate import FHIRDate
class ContractTests(unittest.TestCase):
def instantiate_from(self, filename):
... | 69.279661 | 152 | 0.685219 | 3,363 | 24,525 | 4.985727 | 0.100208 | 0.217391 | 0.265164 | 0.142661 | 0.861454 | 0.84547 | 0.806405 | 0.765253 | 0.734359 | 0.692193 | 0 | 0.053322 | 0.145076 | 24,525 | 353 | 153 | 69.475921 | 0.746363 | 0.004771 | 0 | 0.495298 | 1 | 0 | 0.244775 | 0.030366 | 0 | 0 | 0 | 0 | 0.786834 | 1 | 0.053292 | false | 0 | 0.018809 | 0 | 0.07837 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d2c7feb7c74a18d3044bb9f836e91d4015495e7f | 155 | py | Python | src/display.py | thebruce87/Photobooth | 43ba9e9537bd51040c2cb2ffb809d7a8ca0633ef | [
"MIT"
] | null | null | null | src/display.py | thebruce87/Photobooth | 43ba9e9537bd51040c2cb2ffb809d7a8ca0633ef | [
"MIT"
] | null | null | null | src/display.py | thebruce87/Photobooth | 43ba9e9537bd51040c2cb2ffb809d7a8ca0633ef | [
"MIT"
] | null | null | null | class Display():
def __init__(self, width, height):
self.width = width
self.height = height
def getSize(self):
return (self.width, self.height)
| 19.375 | 35 | 0.690323 | 21 | 155 | 4.904762 | 0.428571 | 0.262136 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180645 | 155 | 7 | 36 | 22.142857 | 0.811024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
d2f4c426757a6a0f92d35c0788647479f59e49fb | 118,437 | py | Python | env/Lib/site-packages/azure/mgmt/storage/storagemanagement.py | Ammar12/simplebanking | 6080d638b2e98bfcf96d782703e1dce25aebfcbc | [
"MIT"
] | null | null | null | env/Lib/site-packages/azure/mgmt/storage/storagemanagement.py | Ammar12/simplebanking | 6080d638b2e98bfcf96d782703e1dce25aebfcbc | [
"MIT"
] | null | null | null | env/Lib/site-packages/azure/mgmt/storage/storagemanagement.py | Ammar12/simplebanking | 6080d638b2e98bfcf96d782703e1dce25aebfcbc | [
"MIT"
] | null | null | null | #
# Copyright (c) Microsoft and contributors. 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... | 44.012263 | 133 | 0.558753 | 11,512 | 118,437 | 5.458044 | 0.043346 | 0.050801 | 0.026929 | 0.028074 | 0.825092 | 0.805994 | 0.784254 | 0.757023 | 0.75107 | 0.73541 | 0 | 0.007819 | 0.384491 | 118,437 | 2,690 | 134 | 44.028625 | 0.854086 | 0.021902 | 0 | 0.779357 | 0 | 0 | 0.059193 | 0.011559 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00618 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
82cb1f7a824b2011c270ad30649e677322c356f9 | 127 | py | Python | scons_gbd_docs/Gbd/Docs/SConscript.py | ASoftTech/Scons.Gbd.Docs | 4d9fb7585d9565f57306774efb4342fe9b8822f2 | [
"MIT"
] | null | null | null | scons_gbd_docs/Gbd/Docs/SConscript.py | ASoftTech/Scons.Gbd.Docs | 4d9fb7585d9565f57306774efb4342fe9b8822f2 | [
"MIT"
] | null | null | null | scons_gbd_docs/Gbd/Docs/SConscript.py | ASoftTech/Scons.Gbd.Docs | 4d9fb7585d9565f57306774efb4342fe9b8822f2 | [
"MIT"
] | null | null | null | SConscript('Mkdocs/Common/SConscript.py')
SConscript('Pandoc/Common/SConscript.py')
SConscript('Doxygen/Common/SConscript.py')
| 31.75 | 42 | 0.811024 | 15 | 127 | 6.866667 | 0.4 | 0.466019 | 0.524272 | 0.543689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 127 | 3 | 43 | 42.333333 | 0.830645 | 0 | 0 | 0 | 0 | 0 | 0.645669 | 0.645669 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7d9edb01d9ce450078aba93d6df890971eee58cc | 3,297 | py | Python | tests/test_storage.py | angru/datamodel | d242b393970dac1a8a53603454ed870fe70b27cf | [
"MIT"
] | 2 | 2020-06-17T21:00:09.000Z | 2020-07-07T15:49:00.000Z | tests/test_storage.py | angru/datamodel | d242b393970dac1a8a53603454ed870fe70b27cf | [
"MIT"
] | 14 | 2020-06-17T14:39:19.000Z | 2020-12-25T17:05:43.000Z | tests/test_storage.py | angru/corm | d242b393970dac1a8a53603454ed870fe70b27cf | [
"MIT"
] | null | null | null | from corm import Entity, Field, Storage, RelationType
def test_add_by_primary_key():
class User(Entity):
id: int = Field(pk=True)
storage = Storage()
john = User(
data={'id': 1},
storage=storage,
)
assert storage.get(User.id, 1) == john
def test_make_relation():
cla... | 22.127517 | 65 | 0.59721 | 336 | 3,297 | 5.684524 | 0.122024 | 0.139267 | 0.067016 | 0.096335 | 0.865969 | 0.835602 | 0.822513 | 0.822513 | 0.822513 | 0.822513 | 0 | 0.016246 | 0.290567 | 3,297 | 148 | 66 | 22.277027 | 0.800342 | 0 | 0 | 0.745902 | 0 | 0 | 0.007279 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 1 | 0.032787 | false | 0 | 0.008197 | 0 | 0.155738 | 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 |
819b2d29e2f76cc772587cf27c82ea7f7e151615 | 73 | py | Python | trainer/utils/__init__.py | chriszhou0916/czai4art | 2fecc9b808fc16cb74c4c29be8a8770ffe247b15 | [
"MIT"
] | null | null | null | trainer/utils/__init__.py | chriszhou0916/czai4art | 2fecc9b808fc16cb74c4c29be8a8770ffe247b15 | [
"MIT"
] | null | null | null | trainer/utils/__init__.py | chriszhou0916/czai4art | 2fecc9b808fc16cb74c4c29be8a8770ffe247b15 | [
"MIT"
] | null | null | null | from trainer.utils.losses import *
from trainer.utils import custom_ssim
| 24.333333 | 37 | 0.835616 | 11 | 73 | 5.454545 | 0.636364 | 0.366667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 38 | 36.5 | 0.923077 | 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 |
81aab8159848ee0e48d169bcc15f7002773f809e | 689 | py | Python | day1/test_day1.py | Sundin/advent-of-code-2019 | 7ba5971ab5deeec61c60e6acbe1ac223876e77fe | [
"MIT"
] | null | null | null | day1/test_day1.py | Sundin/advent-of-code-2019 | 7ba5971ab5deeec61c60e6acbe1ac223876e77fe | [
"MIT"
] | null | null | null | day1/test_day1.py | Sundin/advent-of-code-2019 | 7ba5971ab5deeec61c60e6acbe1ac223876e77fe | [
"MIT"
] | null | null | null | from day1 import *
import unittest
def test_get_fuel_requirements_for_mass():
assert get_fuel_requirements_for_mass(12) == 2
assert get_fuel_requirements_for_mass(14) == 2
assert get_fuel_requirements_for_mass(1969) == 654
assert get_fuel_requirements_for_mass(100756) == 33583
def test_sum_fuel_requirements_f... | 40.529412 | 93 | 0.835994 | 103 | 689 | 5.038835 | 0.271845 | 0.339114 | 0.402698 | 0.381503 | 0.811175 | 0.811175 | 0.67052 | 0.304432 | 0 | 0 | 0 | 0.104334 | 0.095791 | 689 | 16 | 94 | 43.0625 | 0.728732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 1 | 0.230769 | true | 0 | 0.153846 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4807121b7fee14846de82fc2e6158a386836a6aa | 13,056 | py | Python | objects/CSCG/_3d/exact_solutions/status/incompressible_Navier_Stokes/Sin_Cos.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | 1 | 2020-10-14T12:48:35.000Z | 2020-10-14T12:48:35.000Z | objects/CSCG/_3d/exact_solutions/status/incompressible_Navier_Stokes/Sin_Cos.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | objects/CSCG/_3d/exact_solutions/status/incompressible_Navier_Stokes/Sin_Cos.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@author: Yi Zhang.
Department of Aerodynamics
Faculty of Aerospace Engineering
TU Delft, Delft, Netherlands
"""
from numpy import sin, cos, pi
from objects.CSCG._3d.exact_solutions.status.incompressible_Navier_Stokes.base import incompressible_NavierStokes_Base
f... | 30.72 | 118 | 0.555913 | 2,515 | 13,056 | 2.767793 | 0.050497 | 0.041948 | 0.062922 | 0.077575 | 0.919695 | 0.917397 | 0.911938 | 0.90691 | 0.888522 | 0.881052 | 0 | 0.031587 | 0.282246 | 13,056 | 424 | 119 | 30.792453 | 0.711237 | 0.158318 | 0 | 0.712821 | 0 | 0 | 0.014353 | 0.014353 | 0 | 0 | 0 | 0 | 0 | 1 | 0.758974 | false | 0 | 0.015385 | 0.697436 | 0.861538 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
480bacc7e218e7aba2dc5770fad3518638833a8b | 11,372 | py | Python | triggmine_sdk/tests/test_client.py | TriggMineAdmin/TriggMine-Python-SDK | 9c5bd7c9ad2118bf5dc77796ccedc4eef0937df3 | [
"MIT"
] | null | null | null | triggmine_sdk/tests/test_client.py | TriggMineAdmin/TriggMine-Python-SDK | 9c5bd7c9ad2118bf5dc77796ccedc4eef0937df3 | [
"MIT"
] | null | null | null | triggmine_sdk/tests/test_client.py | TriggMineAdmin/TriggMine-Python-SDK | 9c5bd7c9ad2118bf5dc77796ccedc4eef0937df3 | [
"MIT"
] | null | null | null | # UnitTests of all triggmine events
import unittest
import datetime
from client import Client
class ClientTest(unittest.TestCase):
def setUp(self):
self.client = Client('YOUR API_URL', 'YOUR API_KEY')
# Registration event
def test_registration_success(self):
response = self.client.regist... | 73.367742 | 210 | 0.453922 | 933 | 11,372 | 5.335477 | 0.157556 | 0.021093 | 0.032141 | 0.056247 | 0.873242 | 0.826637 | 0.804339 | 0.804339 | 0.804339 | 0.804339 | 0 | 0.102138 | 0.465354 | 11,372 | 155 | 211 | 73.367742 | 0.716612 | 0.013014 | 0 | 0.780303 | 0 | 0.083333 | 0.244761 | 0.022827 | 0 | 0 | 0 | 0 | 0.05303 | 1 | 0.068182 | false | 0 | 0.022727 | 0 | 0.098485 | 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 |
82f77b388ad6652721586ee5ac9c7649d9fe0b48 | 89,313 | py | Python | config/custom_components/mbapi2020/proto/acp_pb2.py | mhaack/home-assistant-conf | 7cb856bee67906ba066adffe2151f6b50b6b73ce | [
"MIT"
] | 28 | 2019-05-31T12:30:15.000Z | 2022-03-10T18:54:57.000Z | config/custom_components/mbapi2020/proto/acp_pb2.py | mhaack/home-assistant-conf | 7cb856bee67906ba066adffe2151f6b50b6b73ce | [
"MIT"
] | 2 | 2020-04-15T20:02:42.000Z | 2021-03-09T19:45:21.000Z | config/custom_components/mbapi2020/proto/acp_pb2.py | mhaack/home-assistant-conf | 7cb856bee67906ba066adffe2151f6b50b6b73ce | [
"MIT"
] | 2 | 2021-03-31T08:27:19.000Z | 2021-04-30T15:13:24.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: acp.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf im... | 43.631168 | 14,931 | 0.740687 | 10,125 | 89,313 | 6.254222 | 0.105481 | 0.105742 | 0.218432 | 0.158613 | 0.906023 | 0.899833 | 0.898317 | 0.890515 | 0.883883 | 0.881656 | 0 | 0.074895 | 0.149508 | 89,313 | 2,046 | 14,932 | 43.652493 | 0.758755 | 0.003952 | 0 | 0.774851 | 1 | 0.002485 | 0.174643 | 0.130325 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002485 | 0 | 0.002485 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
82fb854e5de1301c151e67839d828f2c3db87864 | 221 | py | Python | bentoml/pytorch_lightning.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 1 | 2021-06-12T17:04:07.000Z | 2021-06-12T17:04:07.000Z | bentoml/pytorch_lightning.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 4 | 2021-05-16T08:06:25.000Z | 2021-11-13T08:46:36.000Z | bentoml/pytorch_lightning.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | null | null | null | from ._internal.frameworks.pytorch_lightning import load
from ._internal.frameworks.pytorch_lightning import save
from ._internal.frameworks.pytorch_lightning import load_runner
__all__ = ["load", "load_runner", "save"]
| 36.833333 | 63 | 0.828054 | 27 | 221 | 6.333333 | 0.37037 | 0.210526 | 0.385965 | 0.508772 | 0.818713 | 0.818713 | 0.561404 | 0 | 0 | 0 | 0 | 0 | 0.081448 | 221 | 5 | 64 | 44.2 | 0.842365 | 0 | 0 | 0 | 0 | 0 | 0.085973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
d273a8f81f9807f4dd16cdd363ca8063f3987151 | 2,261 | py | Python | tests/test_utils.py | caiosba/covid-19 | 2a0f43f5004e7e39bd982eaa36185859cd9db88f | [
"MIT"
] | 9 | 2020-03-23T19:04:04.000Z | 2020-03-28T02:11:14.000Z | tests/test_utils.py | caiosba/covid-19 | 2a0f43f5004e7e39bd982eaa36185859cd9db88f | [
"MIT"
] | 6 | 2020-03-22T14:10:08.000Z | 2020-04-05T01:53:29.000Z | tests/test_utils.py | caiosba/covid-19 | 2a0f43f5004e7e39bd982eaa36185859cd9db88f | [
"MIT"
] | 6 | 2020-03-23T18:15:26.000Z | 2020-04-05T01:49:40.000Z | import locale
import pytest
from covid.utils import fmt
class TestUtilityFunctions:
def test_format_functions_en_US(self):
try:
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
except locale.Error:
return pytest.skip()
assert fmt(0.10) == "0.1"
assert fmt(0... | 33.25 | 58 | 0.530739 | 351 | 2,261 | 3.264957 | 0.182336 | 0.361257 | 0.122164 | 0.073298 | 0.884817 | 0.884817 | 0.884817 | 0.827225 | 0.827225 | 0.827225 | 0 | 0.277427 | 0.29854 | 2,261 | 67 | 59 | 33.746269 | 0.445145 | 0 | 0 | 0.2 | 0 | 0 | 0.111455 | 0 | 0 | 0 | 0 | 0 | 0.766667 | 1 | 0.033333 | false | 0 | 0.05 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
96709cd14fd89b69849ecd83f84c39ac23149ad2 | 4,623 | py | Python | ATSAMD51P19A/libsrc/ATSAMD51P19A/MPU_.py | t-ikegami/WioTerminal-CircuitPython | efbdc2e13ad969fe009d88f7ec4b836ca61ae973 | [
"MIT"
] | null | null | null | ATSAMD51P19A/libsrc/ATSAMD51P19A/MPU_.py | t-ikegami/WioTerminal-CircuitPython | efbdc2e13ad969fe009d88f7ec4b836ca61ae973 | [
"MIT"
] | 1 | 2022-01-19T00:16:02.000Z | 2022-01-26T03:43:34.000Z | ATSAMD51P19A/libsrc/ATSAMD51P19A/MPU_.py | t-ikegami/WioTerminal-CircuitPython | efbdc2e13ad969fe009d88f7ec4b836ca61ae973 | [
"MIT"
] | null | null | null | import uctypes as ct
MPU_ = {
'TYPE' : ( 0x00, {
'reg' : 0x00 | ct.UINT32,
'SEPARATE' : 0x00 | ct.BFUINT32 | 0 << ct.BF_POS | 1 << ct.BF_LEN,
'DREGION' : 0x00 | ct.BFUINT32 | 8 << ct.BF_POS | 8 << ct.BF_LEN,
'IREGION' : 0x00 | ct.BFUINT32 | 16 << ct.BF_POS | 8 << ct.BF_LEN,
}),
'CTRL... | 48.663158 | 76 | 0.499459 | 742 | 4,623 | 2.95283 | 0.084906 | 0.200822 | 0.351438 | 0.116842 | 0.915564 | 0.915564 | 0.915564 | 0.890917 | 0.890917 | 0.890917 | 0 | 0.157442 | 0.296561 | 4,623 | 94 | 77 | 49.180851 | 0.516298 | 0 | 0 | 0.771739 | 0 | 0 | 0.06446 | 0 | 0 | 0 | 0.068787 | 0 | 0 | 1 | 0 | false | 0 | 0.01087 | 0 | 0.01087 | 0 | 0 | 0 | 0 | null | 1 | 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 | 9 |
73cfd3a5b8cd1e7653bb83ccce83e87f0876fda2 | 6,174 | py | Python | mayan/apps/linking/tests/test_smart_link_condition_views.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/linking/tests/test_smart_link_condition_views.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/linking/tests/test_smart_link_condition_views.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from mayan.apps.testing.tests.base import GenericViewTestCase
from ..events import event_smart_link_edited
from ..permissions import permission_smart_link_edit
from .mixins import (
SmartLinkConditionViewTestMixin, SmartLinkTestMixin,
SmartLinkViewTestMixin
)
class SmartLinkConditionViewTestCase(
SmartL... | 33.737705 | 75 | 0.698737 | 715 | 6,174 | 5.570629 | 0.100699 | 0.133317 | 0.156666 | 0.176751 | 0.873964 | 0.864675 | 0.864675 | 0.846347 | 0.844841 | 0.823249 | 0 | 0.009573 | 0.221736 | 6,174 | 182 | 76 | 33.923077 | 0.819355 | 0 | 0 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.066176 | false | 0 | 0.029412 | 0 | 0.102941 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
73e823c830b6abe9c91c69930849b15b603a17bb | 184 | py | Python | readthedocs/code-tabs/python/tests/test_directory_listing_recursive.py | xenon-middleware/xenon-tutorial | 92e4e4037ab2bc67c8473ac4366ff41326a7a41c | [
"Apache-2.0"
] | 2 | 2016-06-23T09:03:34.000Z | 2018-03-31T12:45:39.000Z | readthedocs/code-tabs/python/tests/test_directory_listing_recursive.py | NLeSC/Xenon-examples | 92e4e4037ab2bc67c8473ac4366ff41326a7a41c | [
"Apache-2.0"
] | 54 | 2015-11-26T16:36:48.000Z | 2017-08-01T12:12:51.000Z | readthedocs/code-tabs/python/tests/test_directory_listing_recursive.py | xenon-middleware/xenon-examples | 92e4e4037ab2bc67c8473ac4366ff41326a7a41c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import pytest
from pyxenon_snippets import directory_listing_recursive
def test_directory_listing_recursive():
directory_listing_recursive.run_example()
| 16.727273 | 56 | 0.831522 | 23 | 184 | 6.26087 | 0.695652 | 0.333333 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 184 | 10 | 57 | 18.4 | 0.878049 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
73eb8bdab00daf7ae249b9e5cfe3937c7c3470b5 | 92 | py | Python | parameters_8001.py | sanket0211/courier-portal | 6b35aa006813f710db9c3e61da4a718aff20881d | [
"BSD-3-Clause"
] | null | null | null | parameters_8001.py | sanket0211/courier-portal | 6b35aa006813f710db9c3e61da4a718aff20881d | [
"BSD-3-Clause"
] | null | null | null | parameters_8001.py | sanket0211/courier-portal | 6b35aa006813f710db9c3e61da4a718aff20881d | [
"BSD-3-Clause"
] | null | null | null | password="pbkdf2(1000,20,sha512)$8a062c206755a51e$df13c5122a621a9de3a64d39f26460f175076ca0"
| 46 | 91 | 0.891304 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0.01087 | 92 | 1 | 92 | 92 | 0.362637 | 0 | 0 | 0 | 0 | 0 | 0.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
73eee2fb344cce481c9e4bf622cf22c5054e99f7 | 3,833 | py | Python | tests/template_tests/filter_tests/test_unordered_list.py | DasAllFolks/django | 9f427617e4559012e1c2fd8fce46cbe225d8515d | [
"BSD-3-Clause"
] | 1 | 2015-01-09T08:45:54.000Z | 2015-01-09T08:45:54.000Z | tests/template_tests/filter_tests/test_unordered_list.py | DasAllFolks/django | 9f427617e4559012e1c2fd8fce46cbe225d8515d | [
"BSD-3-Clause"
] | null | null | null | tests/template_tests/filter_tests/test_unordered_list.py | DasAllFolks/django | 9f427617e4559012e1c2fd8fce46cbe225d8515d | [
"BSD-3-Clause"
] | null | null | null | import warnings
from django.test import SimpleTestCase
from django.utils.deprecation import RemovedInDjango20Warning
from django.utils.safestring import mark_safe
from ..utils import render, setup
class UnorderedListTests(SimpleTestCase):
@setup({'unordered_list01': '{{ a|unordered_list }}'})
def test_unor... | 50.434211 | 97 | 0.60527 | 501 | 3,833 | 4.508982 | 0.087824 | 0.035414 | 0.035414 | 0.044267 | 0.897742 | 0.897742 | 0.897742 | 0.897742 | 0.897742 | 0.897742 | 0 | 0.023046 | 0.162275 | 3,833 | 75 | 98 | 51.106667 | 0.680473 | 0 | 0 | 0.711864 | 0 | 0.169492 | 0.362118 | 0.137751 | 0 | 0 | 0 | 0 | 0.169492 | 1 | 0.169492 | false | 0 | 0.084746 | 0 | 0.288136 | 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 |
fb421f779844bb484b1c9c0a35a1b99901994f6f | 18,474 | py | Python | tests/evergreen/metrics/test_buildmetrics.py | jamesbroadhead/evergreen.py | 08418bf53bb7cd8de8a68aa6ae0847f28e9e0a30 | [
"Apache-2.0"
] | null | null | null | tests/evergreen/metrics/test_buildmetrics.py | jamesbroadhead/evergreen.py | 08418bf53bb7cd8de8a68aa6ae0847f28e9e0a30 | [
"Apache-2.0"
] | null | null | null | tests/evergreen/metrics/test_buildmetrics.py | jamesbroadhead/evergreen.py | 08418bf53bb7cd8de8a68aa6ae0847f28e9e0a30 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
"""Unit tests for src/evergreen/metrics/buildmetrics.py."""
from __future__ import absolute_import
from unittest.mock import MagicMock
import pytest
import evergreen.metrics.buildmetrics as under_test
from evergreen.errors.exceptions import ActiveTaskMetricsException
from evergreen.task imp... | 41.053333 | 81 | 0.691783 | 2,352 | 18,474 | 5.004677 | 0.052296 | 0.194716 | 0.198794 | 0.096848 | 0.883357 | 0.861184 | 0.842154 | 0.797044 | 0.782092 | 0.763656 | 0 | 0.013663 | 0.223503 | 18,474 | 449 | 82 | 41.144766 | 0.806901 | 0.004222 | 0 | 0.732591 | 0 | 0 | 0.051115 | 0 | 0 | 0 | 0 | 0 | 0.417827 | 1 | 0.069638 | false | 0 | 0.016713 | 0 | 0.094708 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fb9987081ed710e35f756b48711ebeb1fdc7fbe0 | 2,309 | py | Python | tests/parser/choice.47.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/choice.47.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/choice.47.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
% This is a synthetic example documenting a bug in an early version of DLV's
% backjumping algorithm.
% The abstract computation tree looks as follows (choice order should be fixed
% by disabling heuristics with -OH-):
%
% o
% a / \ -a
% / \_..._
% o \
% ... | 23.323232 | 79 | 0.60589 | 374 | 2,309 | 3.729947 | 0.224599 | 0.022939 | 0.031541 | 0.043011 | 0.992115 | 0.992115 | 0.992115 | 0.992115 | 0.992115 | 0.992115 | 0 | 0.007477 | 0.304894 | 2,309 | 98 | 80 | 23.561224 | 0.861682 | 0 | 0 | 0.926829 | 0 | 0 | 0.986005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
83abd40caac456af21954f1d6b702333668a6968 | 14,410 | py | Python | tokenizer/state_table.py | xxronvel/foobar | 0e4ca414a532eaa69803888a65ac1a2e0114183e | [
"MIT"
] | 1 | 2016-04-28T02:20:59.000Z | 2016-04-28T02:20:59.000Z | tokenizer/state_table.py | xxronvel/foobar | 0e4ca414a532eaa69803888a65ac1a2e0114183e | [
"MIT"
] | null | null | null | tokenizer/state_table.py | xxronvel/foobar | 0e4ca414a532eaa69803888a65ac1a2e0114183e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
MIT License
Copyright (c) 2016 Aarón Abraham Velasco Alvarez
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rig... | 83.294798 | 151 | 0.373352 | 3,189 | 14,410 | 1.686422 | 0.063343 | 0.535887 | 0.749721 | 0.929714 | 0.714206 | 0.70714 | 0.68334 | 0.666605 | 0.665117 | 0.653403 | 0 | 0.409062 | 0.349063 | 14,410 | 172 | 152 | 83.77907 | 0.164286 | 0.078348 | 0 | 0 | 0 | 0 | 0.021851 | 0 | 0 | 0 | 0 | 0.005814 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
83f2cb0d5c42a6b58a56b8a67b072fa321682a58 | 1,104 | py | Python | tests/python/rlview/test-run.py | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 43 | 2018-07-26T07:20:42.000Z | 2022-03-02T10:23:12.000Z | tests/python/rlview/test-run.py | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 212 | 2018-09-21T10:44:07.000Z | 2022-03-22T14:33:05.000Z | tests/python/rlview/test-run.py | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 16 | 2018-07-25T15:00:36.000Z | 2022-03-22T14:19:46.000Z | #! /usr/bin/env python3
from subprocess import call
r = call(["python3", "-m", "korali.rlview", "--help"])
if r!=0:
exit(r)
r = call(["python3", "-m", "korali.rlview", "--dir", "abf2d_vracer1", "--test"])
if r!=0:
exit(r)
r = call(["python3", "-m", "korali.rlview", "--dir", "abf2d_vracer1", "--maxObservations", ... | 26.926829 | 110 | 0.548913 | 160 | 1,104 | 3.73125 | 0.20625 | 0.075377 | 0.180905 | 0.19598 | 0.770519 | 0.770519 | 0.706868 | 0.706868 | 0.706868 | 0.706868 | 0 | 0.05428 | 0.132246 | 1,104 | 40 | 111 | 27.6 | 0.568894 | 0.019928 | 0 | 0.62069 | 0 | 0 | 0.466235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.034483 | 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 |
f7a952870293e9fc90ffc7d9d4a818a5a7c4f56d | 85,241 | py | Python | azure-mgmt-web/azure/mgmt/web/operations/diagnostics_operations.py | JonathanGailliez/azure-sdk-for-python | f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b | [
"MIT"
] | 1 | 2021-09-07T18:36:04.000Z | 2021-09-07T18:36:04.000Z | azure-mgmt-web/azure/mgmt/web/operations/diagnostics_operations.py | JonathanGailliez/azure-sdk-for-python | f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b | [
"MIT"
] | 2 | 2019-10-02T23:37:38.000Z | 2020-10-02T01:17:31.000Z | azure-mgmt-web/azure/mgmt/web/operations/diagnostics_operations.py | JonathanGailliez/azure-sdk-for-python | f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b | [
"MIT"
] | 1 | 2019-06-17T22:18:23.000Z | 2019-06-17T22:18:23.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 49.472432 | 239 | 0.66407 | 8,981 | 85,241 | 6.074157 | 0.023049 | 0.039797 | 0.034279 | 0.029037 | 0.985793 | 0.981467 | 0.977104 | 0.973768 | 0.97199 | 0.968782 | 0 | 0.004424 | 0.236224 | 85,241 | 1,722 | 240 | 49.501161 | 0.833484 | 0.256989 | 0 | 0.865455 | 0 | 0.02303 | 0.179549 | 0.08593 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041212 | false | 0 | 0.003636 | 0 | 0.113939 | 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 |
f7e3584c6b4d27959b077f55eb4556611369a6be | 466 | py | Python | temboo/core/Library/KhanAcademy/Badges/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/KhanAcademy/Badges/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/KhanAcademy/Badges/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.KhanAcademy.Badges.AllCategories import AllCategories, AllCategoriesInputSet, AllCategoriesResultSet, AllCategoriesChoreographyExecution
from temboo.Library.KhanAcademy.Badges.BadgesByCategory import BadgesByCategory, BadgesByCategoryInputSet, BadgesByCategoryResultSet, BadgesByCategoryChoreographyE... | 116.5 | 171 | 0.909871 | 33 | 466 | 12.848485 | 0.545455 | 0.070755 | 0.120283 | 0.198113 | 0.240566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045064 | 466 | 3 | 172 | 155.333333 | 0.952809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f7efbdb4f4f2e1681183c05075e6b958502a3563 | 83,010 | py | Python | sdk/python/pulumi_aws_native/apigateway/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/apigateway/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/apigateway/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 42.85493 | 389 | 0.655427 | 9,809 | 83,010 | 5.352126 | 0.047609 | 0.017734 | 0.028477 | 0.04162 | 0.815882 | 0.795025 | 0.771805 | 0.732452 | 0.701061 | 0.685156 | 0 | 0.001681 | 0.254909 | 83,010 | 1,936 | 390 | 42.877066 | 0.84713 | 0.308481 | 0 | 0.660587 | 1 | 0.014274 | 0.177491 | 0.043223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156225 | false | 0.006344 | 0.005551 | 0.017446 | 0.303727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
792f039bf3dcdae9faa7ebde493ddb3c49ba4954 | 3,041 | py | Python | preprocessed_data/UCM/Code/global_histogram_stretching.py | SaiKrishna1207/Underwater-Image-Segmentation | 78def27e577b10e6722c02807bdcfeb7ba53d760 | [
"MIT"
] | null | null | null | preprocessed_data/UCM/Code/global_histogram_stretching.py | SaiKrishna1207/Underwater-Image-Segmentation | 78def27e577b10e6722c02807bdcfeb7ba53d760 | [
"MIT"
] | null | null | null | preprocessed_data/UCM/Code/global_histogram_stretching.py | SaiKrishna1207/Underwater-Image-Segmentation | 78def27e577b10e6722c02807bdcfeb7ba53d760 | [
"MIT"
] | null | null | null | import numpy as np
def histogram_r(r_array,height, width):
length = height * width
R_rray = []
for i in range(height):
for j in range(width):
R_rray.append(r_array[i][j])
R_rray.sort()
I_min = int(R_rray[int(length / 500)])
I_max = int(R_rray[-int(length / 500)])
array_G... | 37.54321 | 95 | 0.560671 | 455 | 3,041 | 3.472527 | 0.087912 | 0.034177 | 0.079747 | 0.091139 | 0.891139 | 0.883544 | 0.883544 | 0.883544 | 0.883544 | 0.883544 | 0 | 0.021137 | 0.299901 | 3,041 | 80 | 96 | 38.0125 | 0.720996 | 0.021375 | 0 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056338 | false | 0 | 0.014085 | 0 | 0.126761 | 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 |
f70efa147c6f9c7ee90e557fe0740d068a1ce522 | 213 | py | Python | tests/test_ai.py | divanorama/katrain | dc22aa88526fb6446f908259f06020d649a2d0a9 | [
"MIT"
] | null | null | null | tests/test_ai.py | divanorama/katrain | dc22aa88526fb6446f908259f06020d649a2d0a9 | [
"MIT"
] | null | null | null | tests/test_ai.py | divanorama/katrain | dc22aa88526fb6446f908259f06020d649a2d0a9 | [
"MIT"
] | null | null | null | import pytest
from katrain.core.constants import AI_STRATEGIES_RECOMMENDED_ORDER, AI_STRATEGIES
class TestAI:
def test_order(self):
assert set(AI_STRATEGIES_RECOMMENDED_ORDER) == set(AI_STRATEGIES)
| 23.666667 | 81 | 0.798122 | 28 | 213 | 5.75 | 0.607143 | 0.298137 | 0.285714 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 213 | 8 | 82 | 26.625 | 0.879781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e3c3ec76a20176afe22ba2e37b489b70bdc6e8aa | 20,109 | py | Python | AwesomeService/coveo-blitz-thrift/src/main/python/awesome/AwesomeService.py | coveord/Blitz-2015 | 9d8a0fbc3b4ca7cfdce9a3aea0efec205070e946 | [
"Apache-2.0"
] | 4 | 2015-01-13T00:27:20.000Z | 2015-01-19T21:21:18.000Z | AwesomeService/coveo-blitz-thrift/src/main/python/awesome/AwesomeService.py | Coveo/Blitz-2015 | 9d8a0fbc3b4ca7cfdce9a3aea0efec205070e946 | [
"Apache-2.0"
] | null | null | null | AwesomeService/coveo-blitz-thrift/src/main/python/awesome/AwesomeService.py | Coveo/Blitz-2015 | 9d8a0fbc3b4ca7cfdce9a3aea0efec205070e946 | [
"Apache-2.0"
] | 1 | 2016-03-11T18:35:02.000Z | 2016-03-11T18:35:02.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
... | 28.892241 | 188 | 0.675369 | 2,331 | 20,109 | 5.556414 | 0.066495 | 0.032427 | 0.027795 | 0.060531 | 0.790225 | 0.757258 | 0.750309 | 0.720738 | 0.7124 | 0.7124 | 0 | 0.003277 | 0.210851 | 20,109 | 695 | 189 | 28.933813 | 0.812906 | 0.028495 | 0 | 0.757974 | 1 | 0 | 0.02431 | 0.006039 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155722 | false | 0.007505 | 0.011257 | 0.045028 | 0.322702 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e3d20c80e3fd93f5b987a741bdb20323be97f451 | 209 | py | Python | templates/hello/views.py | cesarau04/python-react-webapp | 305f69693313065a9ebbe116a34fd27111c86851 | [
"0BSD"
] | null | null | null | templates/hello/views.py | cesarau04/python-react-webapp | 305f69693313065a9ebbe116a34fd27111c86851 | [
"0BSD"
] | 1 | 2021-03-10T10:17:52.000Z | 2021-03-10T10:17:52.000Z | templates/hello/views.py | cesarau04/python-react-webapp | 305f69693313065a9ebbe116a34fd27111c86851 | [
"0BSD"
] | null | null | null | from flask import render_template, Blueprint
hello_blueprint = Blueprint('hello', __name__)
@hello_blueprint.route('/')
@hello_blueprint.route('/hello')
def index():
return render_template('index.html')
| 23.222222 | 46 | 0.760766 | 25 | 209 | 6 | 0.52 | 0.28 | 0.253333 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100478 | 209 | 8 | 47 | 26.125 | 0.797872 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 7 |
540d12bf750ecb2e910c29f067d4164a9bcaf207 | 30,598 | py | Python | file.py | Tawfiq-MoonHacker/metis_video | 8d63ac458b8b6bfa48a1ec5476dc47be1987f42a | [
"Apache-2.0"
] | null | null | null | file.py | Tawfiq-MoonHacker/metis_video | 8d63ac458b8b6bfa48a1ec5476dc47be1987f42a | [
"Apache-2.0"
] | null | null | null | file.py | Tawfiq-MoonHacker/metis_video | 8d63ac458b8b6bfa48a1ec5476dc47be1987f42a | [
"Apache-2.0"
] | null | null | null | file_forgot_password = ["""<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style type="text/css">... | 48.878594 | 410 | 0.483365 | 3,194 | 30,598 | 4.620852 | 0.077019 | 0.013551 | 0.033539 | 0.045193 | 0.978793 | 0.978793 | 0.978793 | 0.978793 | 0.978793 | 0.978793 | 0 | 0.070767 | 0.371462 | 30,598 | 625 | 411 | 48.9568 | 0.696495 | 0 | 0 | 0.893993 | 0 | 0.155477 | 0.985653 | 0.033566 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007067 | false | 0.007067 | 0.079505 | 0.007067 | 0.09364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5427881b2cdb695dc79fdf0dbaacbc4dd2f6b718 | 178 | py | Python | rsebs/__init__.py | gabrielperezs/recycling-snapshots | b0707e883bb6037505af815877e4ef8ce544e35e | [
"Apache-2.0"
] | 1 | 2017-05-23T05:58:47.000Z | 2017-05-23T05:58:47.000Z | rsebs/__init__.py | gabrielperezs/recycling-snapshots | b0707e883bb6037505af815877e4ef8ce544e35e | [
"Apache-2.0"
] | null | null | null | rsebs/__init__.py | gabrielperezs/recycling-snapshots | b0707e883bb6037505af815877e4ef8ce544e35e | [
"Apache-2.0"
] | null | null | null | from .snapshots import set_client
from .snapshots import get_snapshots
from .snapshots import tag_snapshot
from .snapshots import set_drymode
from .snapshots import unset_drymode | 35.6 | 36 | 0.865169 | 25 | 178 | 5.96 | 0.4 | 0.436242 | 0.637584 | 0.295302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106742 | 178 | 5 | 37 | 35.6 | 0.937107 | 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 |
5882ce3c784a4517fd7838c8665ee9d1be914598 | 17,439 | py | Python | tests/test_validators.py | STYLER-Inc/styler-validation | 73e6e3ac241cf26ca3ccee070f2736778d3d4849 | [
"MIT"
] | null | null | null | tests/test_validators.py | STYLER-Inc/styler-validation | 73e6e3ac241cf26ca3ccee070f2736778d3d4849 | [
"MIT"
] | null | null | null | tests/test_validators.py | STYLER-Inc/styler-validation | 73e6e3ac241cf26ca3ccee070f2736778d3d4849 | [
"MIT"
] | null | null | null | """ Tests for validators
"""
from decimal import Decimal
from unittest.mock import Mock
import random
import string
from styler_validation import validators as va
from styler_validation import messages as msg
class MyModel:
pass
class TestIsRequired:
def test_is_required(self):
val = va.is_require... | 23.159363 | 68 | 0.565113 | 2,121 | 17,439 | 4.489392 | 0.068364 | 0.123819 | 0.110901 | 0.143352 | 0.867255 | 0.829763 | 0.823777 | 0.814745 | 0.802562 | 0.782819 | 0 | 0.021286 | 0.3319 | 17,439 | 752 | 69 | 23.19016 | 0.795983 | 0.001147 | 0 | 0.766917 | 0 | 0 | 0.032738 | 0.003676 | 0 | 0 | 0 | 0 | 0.274436 | 1 | 0.12218 | false | 0.00188 | 0.011278 | 0 | 0.165414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5884a5b1746cc453a881292d3b4f5da9a92c1838 | 369 | py | Python | 1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E1.py | codeclubbentleigh/Python | 94d6a937aa3520b201ee1641c2009bd90566d52a | [
"MIT"
] | 12 | 2018-11-14T03:55:58.000Z | 2021-12-12T01:13:05.000Z | 1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E1.py | codeclubbentleigh/Python | 94d6a937aa3520b201ee1641c2009bd90566d52a | [
"MIT"
] | null | null | null | 1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E1.py | codeclubbentleigh/Python | 94d6a937aa3520b201ee1641c2009bd90566d52a | [
"MIT"
] | 7 | 2019-10-10T06:28:58.000Z | 2022-02-15T07:18:12.000Z | print(list(range(10, 0, -2)))
# if start > end and step > 0:
# a list generated from start to no more than end with step as constant increment
# if start > end and step < 0:
# an empty list generated
# if start < end and step > 0:
# an empty list generated
# if start < end and step < 0
# a list generated from start to ... | 36.9 | 81 | 0.704607 | 68 | 369 | 3.823529 | 0.367647 | 0.107692 | 0.153846 | 0.2 | 0.861538 | 0.861538 | 0.861538 | 0.861538 | 0.861538 | 0.861538 | 0 | 0.027778 | 0.219512 | 369 | 9 | 82 | 41 | 0.875 | 0.872629 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 12 |
549fb62cea23b9b1c82de165b05b9e48e6855b9f | 231,371 | py | Python | tests/semantics/models.py | dnikolay-ebc/FiLiP | 9a84979da8dff4523cb91e40869070bd02aa91fe | [
"BSD-3-Clause"
] | 6 | 2021-11-21T21:57:38.000Z | 2022-02-22T08:20:30.000Z | tests/semantics/models.py | RWTH-EBC/FiLiP | e294c5ef94b2b6ad9611316e50b5c550bcd77c1b | [
"BSD-3-Clause"
] | 83 | 2021-04-08T18:34:20.000Z | 2022-03-30T12:18:32.000Z | tests/semantics/models.py | dnikolay-ebc/FiLiP | 9a84979da8dff4523cb91e40869070bd02aa91fe | [
"BSD-3-Clause"
] | 5 | 2021-10-04T08:39:21.000Z | 2022-03-30T07:30:57.000Z | """
Autogenerated Models for the vocabulary described by the ontologies:
http://www.semanticweb.org/redin/ontologies/2020/11/untitled-ontology-25 (ParsingTesterOntology)
https://w3id.org/saref (saref.ttl)
"""
from enum import Enum
from typing import Dict, Union, List
from filip.semantics.semantics_models import\
Se... | 29.788979 | 165 | 0.73243 | 28,521 | 231,371 | 5.674345 | 0.021388 | 0.095651 | 0.073048 | 0.09528 | 0.923807 | 0.913321 | 0.904695 | 0.889118 | 0.882549 | 0.875987 | 0 | 0.006471 | 0.139745 | 231,371 | 7,766 | 166 | 29.792815 | 0.80663 | 0.085659 | 0 | 0.85509 | 1 | 0 | 0.137943 | 0.010814 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025572 | false | 0 | 0.000974 | 0 | 0.200438 | 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 |
49a7ee42b8f9f516686c7f73c30cfb6480597ce8 | 2,605 | py | Python | functions.py | heEXDe/password_generator | c546c09be927abc2a02971cab5f2d19817208cda | [
"MIT"
] | null | null | null | functions.py | heEXDe/password_generator | c546c09be927abc2a02971cab5f2d19817208cda | [
"MIT"
] | null | null | null | functions.py | heEXDe/password_generator | c546c09be927abc2a02971cab5f2d19817208cda | [
"MIT"
] | null | null | null | # functions for actions
import random
import string
import GUI
def generate_password():
password = ''
GUI.lblError.config(text='')
passLength = GUI.var.get()
if (GUI.varDigi.get() == 1) & (GUI.varChLower.get() == 1) & (GUI.varChUpper.get() == 1):
strin = string.ascii_letters
for i in r... | 42.016129 | 103 | 0.571209 | 301 | 2,605 | 4.910299 | 0.166113 | 0.032476 | 0.070365 | 0.052097 | 0.755074 | 0.755074 | 0.755074 | 0.717185 | 0.717185 | 0.717185 | 0 | 0.017277 | 0.266795 | 2,605 | 61 | 104 | 42.704918 | 0.756545 | 0.019194 | 0 | 0.611111 | 1 | 0 | 0.014896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0.425926 | 0.055556 | 0 | 0.092593 | 0.018519 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
49a87d079120bfbcccec5530adc7e03acb1cb9a1 | 13,984 | py | Python | tests/test_modelgen.py | PipGrylls/sqlalchemy-modelgen | 988e7b39fa4f8b2ddac35792c21e147e8260df17 | [
"MIT"
] | 18 | 2021-04-01T20:32:42.000Z | 2021-06-01T05:24:27.000Z | tests/test_modelgen.py | PipGrylls/sqlalchemy-modelgen | 988e7b39fa4f8b2ddac35792c21e147e8260df17 | [
"MIT"
] | null | null | null | tests/test_modelgen.py | PipGrylls/sqlalchemy-modelgen | 988e7b39fa4f8b2ddac35792c21e147e8260df17 | [
"MIT"
] | 1 | 2021-11-23T01:17:18.000Z | 2021-11-23T01:17:18.000Z | from unittest import TestCase, mock
from modelgen import ModelGenerator, Base
from os import getcwd, path
class TestModelgen(TestCase):
@classmethod
def setUpClass(self):
self.yaml = {'tables': {'userinfo':{'columns':
[{'name': 'firstname', 'type': 'varchar'},
... | 44.820513 | 101 | 0.661971 | 1,543 | 13,984 | 5.700583 | 0.10175 | 0.15507 | 0.114029 | 0.207935 | 0.841405 | 0.812074 | 0.770805 | 0.75864 | 0.710323 | 0.702137 | 0 | 0 | 0.235412 | 13,984 | 312 | 102 | 44.820513 | 0.822671 | 0.114989 | 0 | 0.652582 | 0 | 0 | 0.228391 | 0.190396 | 0 | 0 | 0 | 0 | 0.117371 | 1 | 0.089202 | false | 0.004695 | 0.014085 | 0 | 0.107981 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b7247af0becba5f41e0c2a4a41f7a5b86547cdbf | 24 | py | Python | lang/Python/terminal-control-cursor-positioning-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | lang/Python/terminal-control-cursor-positioning-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/terminal-control-cursor-positioning-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | print("\033[6;3HHello")
| 12 | 23 | 0.666667 | 4 | 24 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.041667 | 24 | 1 | 24 | 24 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 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 |
b72e8bfc6d83afc48f73ce1ff4c1bc304fbf13db | 145 | py | Python | arc/__init__.py | jtguibas/arc | e9df473ce5051f2b9f3981ef219b6a02076bdb42 | [
"MIT"
] | 6 | 2020-06-06T03:29:52.000Z | 2022-03-05T08:28:30.000Z | arc/__init__.py | jtguibas/arc | e9df473ce5051f2b9f3981ef219b6a02076bdb42 | [
"MIT"
] | null | null | null | arc/__init__.py | jtguibas/arc | e9df473ce5051f2b9f3981ef219b6a02076bdb42 | [
"MIT"
] | 5 | 2020-08-02T05:07:33.000Z | 2022-02-03T17:46:55.000Z | #!/usr/bin/env python
from arc import models
from arc import methods
from arc import black_boxes
from arc import others
from arc import coverage
| 20.714286 | 27 | 0.813793 | 25 | 145 | 4.68 | 0.52 | 0.299145 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151724 | 145 | 6 | 28 | 24.166667 | 0.95122 | 0.137931 | 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 |
3f7bd6bf0cb9919cde3364ef2571e57284b86425 | 118,425 | py | Python | application/gen/today/TodayInternalApiService.py | today-app/today-api | a77adbad509d485e643023efc64f62b69fd364cc | [
"MIT"
] | null | null | null | application/gen/today/TodayInternalApiService.py | today-app/today-api | a77adbad509d485e643023efc64f62b69fd364cc | [
"MIT"
] | null | null | null | application/gen/today/TodayInternalApiService.py | today-app/today-api | a77adbad509d485e643023efc64f62b69fd364cc | [
"MIT"
] | 1 | 2021-06-04T06:02:36.000Z | 2021-06-04T06:02:36.000Z | #
# Autogenerated by Thrift Compiler (0.9.1)
#
# 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
... | 31.156275 | 188 | 0.673574 | 14,277 | 118,425 | 5.27807 | 0.015409 | 0.016655 | 0.029978 | 0.024126 | 0.943892 | 0.919886 | 0.885608 | 0.862783 | 0.849406 | 0.826037 | 0 | 0.007507 | 0.212641 | 118,425 | 3,800 | 189 | 31.164474 | 0.80065 | 0.002677 | 0 | 0.846311 | 1 | 0 | 0.035605 | 0.006181 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006831 | 0.002049 | 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 |
3fe331ae497b79a61bbb73e932ba9991e96f0b3f | 18,769 | py | Python | xsertion/test_layers.py | karazijal/xsertion | 102c1a4f07b049647064a968257d56b00a064d6c | [
"MIT"
] | null | null | null | xsertion/test_layers.py | karazijal/xsertion | 102c1a4f07b049647064a968257d56b00a064d6c | [
"MIT"
] | null | null | null | xsertion/test_layers.py | karazijal/xsertion | 102c1a4f07b049647064a968257d56b00a064d6c | [
"MIT"
] | 1 | 2021-11-09T09:06:48.000Z | 2021-11-09T09:06:48.000Z | import unittest
from xsertion.layers import *
from keras.layers import Input, MaxPooling2D, Convolution2D, Activation, merge, Dense, Flatten
from keras.models import Model
import json
def desc(model : Model):
base_model_disc = json.loads(model.to_json())
return base_model_disc['config']
def topo_check(layer... | 42.656818 | 121 | 0.553146 | 2,358 | 18,769 | 4.300679 | 0.07888 | 0.07731 | 0.047924 | 0.028498 | 0.825067 | 0.808303 | 0.796864 | 0.789764 | 0.782862 | 0.782862 | 0 | 0.061534 | 0.303852 | 18,769 | 440 | 122 | 42.656818 | 0.714603 | 0.031701 | 0 | 0.802703 | 0 | 0 | 0.055406 | 0 | 0 | 0 | 0 | 0 | 0.208108 | 1 | 0.051351 | false | 0 | 0.013514 | 0 | 0.086486 | 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 |
b7660ef0961ba8b4931477e766e7019f01819220 | 8,718 | py | Python | tasks-deploy/terminal/check.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/terminal/check.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/terminal/check.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
flags = ['QCTF{2a5576bc51a5c3feb82c96fe80d3a520}', 'QCTF{eb2ddbf0e318812ede843e8ecec6144f}', 'QCTF{5cdf65c6069a6b815352c3f1b4d09a56}', 'QCTF{69d7b7deb23746b8bd18b22f3eb92b50}', 'QCTF{44e37938c0bc05393b5b33a70c5a70db}', 'QCTF{3b37a953391e38ce0b8e168e9eaa6ec5}', 'QCTF{ee2848cb73236007d36cb5ae75c4... | 670.615385 | 8,408 | 0.848704 | 436 | 8,718 | 16.970183 | 0.509174 | 0.005271 | 0.004055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.478302 | 0.032576 | 8,718 | 12 | 8,409 | 726.5 | 0.39898 | 0.002409 | 0 | 0 | 0 | 0 | 0.873965 | 0.873965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
b79b05e86bdffa34c0cb47c7868d179ea550149c | 50,505 | py | Python | Dockerfiles/gedlab-khmer-filter-abund/pymodules/python2.7/lib/python/pygsl/_block.py | poojavade/Genomics_Docker | 829b5094bba18bbe03ae97daf925fee40a8476e8 | [
"Apache-2.0"
] | 1 | 2019-07-29T02:53:51.000Z | 2019-07-29T02:53:51.000Z | Dockerfiles/gedlab-khmer-filter-abund/pymodules/python2.7/lib/python/pygsl/_block.py | poojavade/Genomics_Docker | 829b5094bba18bbe03ae97daf925fee40a8476e8 | [
"Apache-2.0"
] | 1 | 2021-09-11T14:30:32.000Z | 2021-09-11T14:30:32.000Z | Dockerfiles/gedlab-khmer-filter-abund/pymodules/python2.7/lib/python/pygsl/_block.py | poojavade/Genomics_Docker | 829b5094bba18bbe03ae97daf925fee40a8476e8 | [
"Apache-2.0"
] | 2 | 2016-12-19T02:27:46.000Z | 2019-07-29T02:53:54.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.11
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path impo... | 41.161369 | 90 | 0.825542 | 7,608 | 50,505 | 4.80744 | 0.01827 | 0.161422 | 0.12555 | 0.165359 | 0.938428 | 0.760027 | 0.489132 | 0.277758 | 0.0438 | 0 | 0 | 0.000279 | 0.078883 | 50,505 | 1,226 | 91 | 41.194943 | 0.785925 | 0.005841 | 0 | 0.010881 | 1 | 0 | 0.001912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318825 | false | 0.002176 | 0.009793 | 0.314472 | 0.648531 | 0.052231 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
b7b981be89ff3733793d9540e9d6338ff12dd2df | 208 | py | Python | Codewars/8kyu/invert-values/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/invert-values/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/invert-values/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.4.3
Test.it('Basic Tests')
Test.assert_equals(invert([1, 2, 3, 4, 5]), [-1, -2, -3, -4, -5])
Test.assert_equals(invert([1, -2, 3, -4, 5]), [-1, 2, -3, 4, -5])
Test.assert_equals(invert([]), [])
| 29.714286 | 65 | 0.548077 | 40 | 208 | 2.775 | 0.325 | 0.09009 | 0.108108 | 0.144144 | 0.774775 | 0.774775 | 0.774775 | 0.774775 | 0.774775 | 0.774775 | 0 | 0.128492 | 0.139423 | 208 | 6 | 66 | 34.666667 | 0.49162 | 0.067308 | 0 | 0 | 0 | 0 | 0.057292 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4d1789b7a180d686bba726991622611824a7655a | 11,166 | py | Python | spekev2_verification_testsuite/test_drm_system_specific_system_id_elements.py | amphied/speke-reference-server | 7b589a333fb3c619c6f7e53483d43de9a588f7b7 | [
"Apache-2.0"
] | null | null | null | spekev2_verification_testsuite/test_drm_system_specific_system_id_elements.py | amphied/speke-reference-server | 7b589a333fb3c619c6f7e53483d43de9a588f7b7 | [
"Apache-2.0"
] | null | null | null | spekev2_verification_testsuite/test_drm_system_specific_system_id_elements.py | amphied/speke-reference-server | 7b589a333fb3c619c6f7e53483d43de9a588f7b7 | [
"Apache-2.0"
] | null | null | null | import xml.etree.ElementTree as ET
import pytest
from .helpers import utils
@pytest.fixture(scope="session")
def playready_pssh_cpd_response(spekev2_url):
test_request_data = utils.read_xml_file_contents("test_case_1_p_v_1_a_1", utils.PRESETS_PLAYREADY)
response = utils.speke_v2_request(spekev2_url, test_requ... | 57.854922 | 117 | 0.732581 | 1,607 | 11,166 | 4.78407 | 0.097698 | 0.03642 | 0.05437 | 0.069199 | 0.901275 | 0.893991 | 0.890609 | 0.886056 | 0.877732 | 0.877732 | 0 | 0.005734 | 0.187892 | 11,166 | 192 | 118 | 58.15625 | 0.842082 | 0.141411 | 0 | 0.785714 | 0 | 0.055556 | 0.284041 | 0.099979 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.055556 | false | 0 | 0.02381 | 0 | 0.103175 | 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 |
4d3a0734d340535665b3ebc270eb897a3c7611c7 | 4,171 | py | Python | Discord Status Changer.py | vragonx/DiscordStatusChanger | 376a78e5653f99d266a0a45ac3ecc8d71159bd49 | [
"Apache-2.0"
] | null | null | null | Discord Status Changer.py | vragonx/DiscordStatusChanger | 376a78e5653f99d266a0a45ac3ecc8d71159bd49 | [
"Apache-2.0"
] | null | null | null | Discord Status Changer.py | vragonx/DiscordStatusChanger | 376a78e5653f99d266a0a45ac3ecc8d71159bd49 | [
"Apache-2.0"
] | 1 | 2021-06-06T07:24:14.000Z | 2021-06-06T07:24:14.000Z | from colorama import Fore, init, Style
import requests
import random
import ctypes
import time
import os
ctypes.windll.kernel32.SetConsoleTitleW('Discord Status Changer')
init(convert=True, autoreset=True)
SuccessCounter = 0
ErrorCounter = 0
os.system('cls')
print(Fore.RED + '\n[' + Fore.WHITE + Style.BR... | 45.336957 | 176 | 0.562455 | 468 | 4,171 | 4.99359 | 0.25 | 0.073171 | 0.113821 | 0.162602 | 0.851091 | 0.833547 | 0.821138 | 0.774069 | 0.774069 | 0.774069 | 0 | 0.032387 | 0.281947 | 4,171 | 91 | 177 | 45.835165 | 0.747913 | 0 | 0 | 0.707865 | 0 | 0.022472 | 0.234559 | 0.012745 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0.022472 | 0.067416 | 0 | 0.089888 | 0.191011 | 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 |
4d5afb3a4a38cc784e6e3fd2bab719ca1b2bdd90 | 6,545 | py | Python | loldib/getratings/models/NA/na_khazix/na_khazix_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_khazix/na_khazix_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_khazix/na_khazix_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Khazix_Sup_Aatrox(Ratings):
pass
class NA_Khazix_Sup_Ahri(Ratings):
pass
class NA_Khazix_Sup_Akali(Ratings):
pass
class NA_Khazix_Sup_Alistar(Ratings):
pass
class NA_Khazix_Sup_Amumu(Ratings):
pass
class NA_Khazix_Sup_Anivia(Ratings):
... | 15.695444 | 46 | 0.766692 | 972 | 6,545 | 4.736626 | 0.151235 | 0.209818 | 0.389661 | 0.479583 | 0.803432 | 0.803432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169748 | 6,545 | 416 | 47 | 15.733173 | 0.847258 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
4dafa7a5729cfadd647edbfafb8f9ae3d3c677d0 | 10,464 | py | Python | src/tests/scheduling/schedule_config_test.py | Ket3r/script-server | 919a2b7eb29c7bba7acba8e374a0a5cc696bd859 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/tests/scheduling/schedule_config_test.py | Ket3r/script-server | 919a2b7eb29c7bba7acba8e374a0a5cc696bd859 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/tests/scheduling/schedule_config_test.py | Ket3r/script-server | 919a2b7eb29c7bba7acba8e374a0a5cc696bd859 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | from unittest import TestCase
from parameterized import parameterized
from scheduling.schedule_config import ScheduleConfig
from utils import date_utils
def to_datetime(short_datetime_string):
dt_string = short_datetime_string + ':0.000000Z'
return date_utils.parse_iso_datetime(dt_string.replace(' ', 'T'))
... | 79.877863 | 115 | 0.549981 | 1,884 | 10,464 | 3.037155 | 0.06104 | 0.127228 | 0.082838 | 0.12583 | 0.815274 | 0.801643 | 0.781021 | 0.778923 | 0.771409 | 0.745544 | 0 | 0.399906 | 0.182722 | 10,464 | 130 | 116 | 80.492308 | 0.269177 | 0.040138 | 0 | 0 | 0 | 0 | 0.575685 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 1 | 0.026316 | false | 0 | 0.035088 | 0 | 0.078947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4dc60387a6447f2906c626319f97969c75a2af08 | 118 | py | Python | src/frogtips/api/__init__.py | FROG-TIPS/frog.tips-python-client | 16d1603151469522d90f352fe5bac828e4fb3e3d | [
"MIT"
] | 2 | 2019-11-04T04:00:56.000Z | 2019-11-21T19:53:36.000Z | src/frogtips/api/__init__.py | FROG-TIPS/frog.tips-python-client | 16d1603151469522d90f352fe5bac828e4fb3e3d | [
"MIT"
] | null | null | null | src/frogtips/api/__init__.py | FROG-TIPS/frog.tips-python-client | 16d1603151469522d90f352fe5bac828e4fb3e3d | [
"MIT"
] | 1 | 2019-11-21T19:53:40.000Z | 2019-11-21T19:53:40.000Z | from frogtips.api.Credentials import Credentials
from frogtips.api.Tip import Tip
from frogtips.api.Tips import Tips
| 23.6 | 48 | 0.838983 | 18 | 118 | 5.5 | 0.388889 | 0.363636 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 118 | 4 | 49 | 29.5 | 0.942857 | 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 |
150c07692f09dbc4c2bc2f82c96435eb48b056d8 | 324 | py | Python | algorithm/__init__.py | sirCamp/bioinformatics | 2609044c57eba1097263829f9db579cd1825b8bb | [
"MIT"
] | null | null | null | algorithm/__init__.py | sirCamp/bioinformatics | 2609044c57eba1097263829f9db579cd1825b8bb | [
"MIT"
] | null | null | null | algorithm/__init__.py | sirCamp/bioinformatics | 2609044c57eba1097263829f9db579cd1825b8bb | [
"MIT"
] | null | null | null | from algorithm.InsertionLengthAlgorithm import InsertionLengthAlgorithm
from algorithm.PhysicalCoverageAlgorithm import PhysicalCoverageAlgorithm
from algorithm.SequenceCoverageAlgorithm import SequenceCoverageAlgorithm
from algorithm.CigarAlgorithm import CigarAlgorithm
from algorithm.KmersAlgorithm import KmersAlgori... | 54 | 73 | 0.92284 | 25 | 324 | 11.96 | 0.32 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 324 | 5 | 74 | 64.8 | 0.983553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
129c2cba3840cfd8f3de73d2239ee04d334e5bc9 | 215 | py | Python | pyclid/__init__.py | Kaundur/pyclid | c59865fed9120b76cba6e41a84653256ac3072ee | [
"MIT"
] | 2 | 2019-02-12T11:31:04.000Z | 2021-12-31T10:39:01.000Z | pyclid/__init__.py | Kaundur/pyclid | c59865fed9120b76cba6e41a84653256ac3072ee | [
"MIT"
] | null | null | null | pyclid/__init__.py | Kaundur/pyclid | c59865fed9120b76cba6e41a84653256ac3072ee | [
"MIT"
] | null | null | null | import math
from pyclid.vector import *
from pyclid.matrix import *
from pyclid.quaternion import *
#from pyclid.vector import vector
#from pyclid.quaternion import quaternion
#from pyclid.matrix import matrix
| 16.538462 | 41 | 0.8 | 29 | 215 | 5.931034 | 0.241379 | 0.348837 | 0.27907 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144186 | 215 | 12 | 42 | 17.916667 | 0.934783 | 0.483721 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
12b0b747a8e429f2bfcdc96202c017eb8b47dbba | 72,049 | py | Python | tests/chainerx_tests/unit_tests/routines_tests/test_math.py | tkerola/chainer | 572f6eef2c3f1470911ac08332c2b5c3440edf44 | [
"MIT"
] | null | null | null | tests/chainerx_tests/unit_tests/routines_tests/test_math.py | tkerola/chainer | 572f6eef2c3f1470911ac08332c2b5c3440edf44 | [
"MIT"
] | null | null | null | tests/chainerx_tests/unit_tests/routines_tests/test_math.py | tkerola/chainer | 572f6eef2c3f1470911ac08332c2b5c3440edf44 | [
"MIT"
] | null | null | null | import chainer
import numpy
import pytest
import chainerx
import chainerx.testing
from chainerx_tests import array_utils
from chainerx_tests import dtype_utils
from chainerx_tests import math_utils
from chainerx_tests import op_utils
_in_out_dtypes_arithmetic_invalid = [
(('bool_', 'bool_'), 'bool_'),
(('bo... | 32.914116 | 79 | 0.579106 | 9,008 | 72,049 | 4.387544 | 0.034747 | 0.008603 | 0.037295 | 0.019988 | 0.869899 | 0.846798 | 0.825696 | 0.80548 | 0.79121 | 0.769881 | 0 | 0.040879 | 0.240489 | 72,049 | 2,188 | 80 | 32.929159 | 0.681371 | 0.03778 | 0 | 0.746703 | 0 | 0 | 0.152806 | 0.028425 | 0 | 0 | 0 | 0.000457 | 0.000549 | 1 | 0.044505 | false | 0 | 0.004945 | 0.006044 | 0.127473 | 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 |
12c759447ac7e05d73a693a7af973c9ec776f540 | 42,699 | py | Python | raiden/tests/integration/api/test_restapi.py | litexnetwork/raiden | b084c77e994d1f08f72947e57ce5bd6c8aa9c2a9 | [
"MIT"
] | 1 | 2018-11-26T01:40:37.000Z | 2018-11-26T01:40:37.000Z | raiden/tests/integration/api/test_restapi.py | litexnetwork/raiden | b084c77e994d1f08f72947e57ce5bd6c8aa9c2a9 | [
"MIT"
] | null | null | null | raiden/tests/integration/api/test_restapi.py | litexnetwork/raiden | b084c77e994d1f08f72947e57ce5bd6c8aa9c2a9 | [
"MIT"
] | null | null | null | from http import HTTPStatus
import time
import logging
import pytest
import grequests
from flask import url_for
from eth_utils import (
to_checksum_address,
to_canonical_address,
is_checksum_address,
)
from raiden_contracts.constants import (
CONTRACT_HUMAN_STANDARD_TOKEN,
MAX_TOKENS_DEPLOY,
TE... | 32.769762 | 176 | 0.686035 | 4,567 | 42,699 | 6.058682 | 0.074447 | 0.046838 | 0.043947 | 0.02472 | 0.813878 | 0.789194 | 0.766426 | 0.742031 | 0.717709 | 0.695338 | 0 | 0.035435 | 0.223424 | 42,699 | 1,302 | 177 | 32.794931 | 0.799029 | 0.044357 | 0 | 0.716472 | 0 | 0.0018 | 0.150433 | 0.062339 | 0 | 0 | 0.029119 | 0 | 0.10441 | 1 | 0.031503 | false | 0.0009 | 0.011701 | 0 | 0.044104 | 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 |
12f1cb8ec52078b29ac8f9e2d9706191446e64ae | 3,271 | py | Python | networkapi/plugins/SDN/ODL/tests/test_send_flows_with_tcp_flags.py | vinicius-marinho/GloboNetworkAPI | 94651d3b4dd180769bc40ec966814f3427ccfb5b | [
"Apache-2.0"
] | 73 | 2015-04-13T17:56:11.000Z | 2022-03-24T06:13:07.000Z | networkapi/plugins/SDN/ODL/tests/test_send_flows_with_tcp_flags.py | leopoldomauricio/GloboNetworkAPI | 3b5b2e336d9eb53b2c113977bfe466b23a50aa29 | [
"Apache-2.0"
] | 99 | 2015-04-03T01:04:46.000Z | 2021-10-03T23:24:48.000Z | networkapi/plugins/SDN/ODL/tests/test_send_flows_with_tcp_flags.py | shildenbrand/GloboNetworkAPI | 515d5e961456cee657c08c275faa1b69b7452719 | [
"Apache-2.0"
] | 64 | 2015-08-05T21:26:29.000Z | 2022-03-22T01:06:28.000Z |
from networkapi.test.test_case import NetworkApiTestCase
from networkapi.plugins.SDN.ODL.flows.acl import AclFlowBuilder
class TestSendFlowsWithTCPFlags(NetworkApiTestCase):
""" Class to test flows that have tcp flags on it """
def test_flow_with_ack_flag(self):
""" Try to send a flow with ACK flag ... | 33.377551 | 75 | 0.496484 | 343 | 3,271 | 4.644315 | 0.177843 | 0.087884 | 0.097928 | 0.165725 | 0.824231 | 0.824231 | 0.824231 | 0.824231 | 0.760201 | 0.760201 | 0 | 0.027052 | 0.344543 | 3,271 | 97 | 76 | 33.721649 | 0.715951 | 0.054723 | 0 | 0.760563 | 0 | 0 | 0.197716 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 1 | 0.028169 | false | 0 | 0.028169 | 0 | 0.070423 | 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 |
420d3d5356dc0a6fa2f8ece54ea58e9f77d14058 | 38,124 | py | Python | venv/Lib/site-packages/aniso8601/tests/test_interval.py | GabrielSilva2y3d/api_atividade-sqlalchemy | 4a06e37fcb733d4185daf1de6bce415b4de28444 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/aniso8601/tests/test_interval.py | GabrielSilva2y3d/api_atividade-sqlalchemy | 4a06e37fcb733d4185daf1de6bce415b4de28444 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/aniso8601/tests/test_interval.py | GabrielSilva2y3d/api_atividade-sqlalchemy | 4a06e37fcb733d4185daf1de6bce415b4de28444 | [
"MIT"
] | 1 | 2022-01-13T10:05:55.000Z | 2022-01-13T10:05:55.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2019, Brandon Nielsen
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the BSD license. See the LICENSE file for details.
import unittest
import aniso8601
from aniso8601.exceptions import ISOFormatError
from aniso8601.interval impo... | 50.629482 | 115 | 0.387027 | 2,978 | 38,124 | 4.879114 | 0.060779 | 0.185547 | 0.161872 | 0.093599 | 0.952856 | 0.937646 | 0.925602 | 0.919959 | 0.900688 | 0.882037 | 0 | 0.124738 | 0.475344 | 38,124 | 752 | 116 | 50.696809 | 0.60169 | 0.03507 | 0 | 0.883117 | 0 | 0.003247 | 0.145675 | 0.043009 | 0 | 0 | 0 | 0 | 0.089286 | 1 | 0.016234 | false | 0 | 0.008117 | 0 | 0.027597 | 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 |
4218d80702b95a80fa35592557c09dc27cf8233c | 206 | py | Python | reward/batcher/transforms/base_transform.py | lgvaz/torchrl | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | 5 | 2018-06-21T14:33:40.000Z | 2018-08-18T02:26:03.000Z | reward/batcher/transforms/base_transform.py | lgvaz/reward | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | null | null | null | reward/batcher/transforms/base_transform.py | lgvaz/reward | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | 2 | 2018-05-08T03:34:49.000Z | 2018-06-22T15:04:17.000Z | class BaseTransform:
def transform_s(self, s, training=True):
return s
def transform_batch(self, batch, training=True):
return batch
def write_logs(self, logger):
pass
| 20.6 | 52 | 0.645631 | 26 | 206 | 5 | 0.538462 | 0.184615 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271845 | 206 | 9 | 53 | 22.888889 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
4231a5537ad061f7ccafef21420ba06d2605d9cf | 66,059 | py | Python | tests/test_master/test_jobtypes_api.py | guidow/pyfarm-master | d41c8f1eb5bfefb8400d400bcecadf197bcfb80a | [
"Apache-2.0"
] | null | null | null | tests/test_master/test_jobtypes_api.py | guidow/pyfarm-master | d41c8f1eb5bfefb8400d400bcecadf197bcfb80a | [
"Apache-2.0"
] | null | null | null | tests/test_master/test_jobtypes_api.py | guidow/pyfarm-master | d41c8f1eb5bfefb8400d400bcecadf197bcfb80a | [
"Apache-2.0"
] | null | null | null | # No shebang line, this module is meant to be imported
#
# Copyright 2013 Oliver Palmer
# Copyright 2014 Ambient Entertainment GmbH & Co. KG
#
# 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
#
... | 37.6834 | 81 | 0.473592 | 5,514 | 66,059 | 5.494741 | 0.036997 | 0.049838 | 0.054492 | 0.082382 | 0.942835 | 0.929698 | 0.919863 | 0.908575 | 0.896759 | 0.879761 | 0 | 0.020994 | 0.413766 | 66,059 | 1,752 | 82 | 37.704909 | 0.761375 | 0.01037 | 0 | 0.852251 | 0 | 0 | 0.256641 | 0.080788 | 0 | 0 | 0 | 0 | 0.11097 | 1 | 0.036779 | false | 0 | 0.003805 | 0 | 0.042486 | 0.001902 | 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 |
424fc9a502a8c9fe3c5da2a1e3dec902d92abba5 | 10,254 | py | Python | backend/api/migrations/0001_initial.py | leowotzak/ljwe-db | ab49f90feaac5fad26efa900db5567c9c09f3435 | [
"MIT"
] | null | null | null | backend/api/migrations/0001_initial.py | leowotzak/ljwe-db | ab49f90feaac5fad26efa900db5567c9c09f3435 | [
"MIT"
] | 9 | 2021-11-17T18:31:29.000Z | 2021-11-21T00:47:39.000Z | backend/api/migrations/0001_initial.py | leowotzak/ljwe-db | ab49f90feaac5fad26efa900db5567c9c09f3435 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.9 on 2021-11-24 02:52
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Symbol',
fields=[
... | 49.062201 | 111 | 0.536083 | 908 | 10,254 | 5.88326 | 0.104626 | 0.167727 | 0.104642 | 0.13684 | 0.900599 | 0.895358 | 0.88787 | 0.88787 | 0.88787 | 0.788094 | 0 | 0.005397 | 0.313341 | 10,254 | 208 | 112 | 49.298077 | 0.753302 | 0.004389 | 0 | 0.79602 | 1 | 0 | 0.175762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00995 | 0 | 0.029851 | 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 |
35ed5dd8d0b8879efae47e20f5661656b1666fbb | 159 | py | Python | Dumper/temp.py | NeerajGulia/kafka-monitor | cfcd39a37d22c86d3cebffe289687a030bb84353 | [
"Apache-2.0"
] | null | null | null | Dumper/temp.py | NeerajGulia/kafka-monitor | cfcd39a37d22c86d3cebffe289687a030bb84353 | [
"Apache-2.0"
] | null | null | null | Dumper/temp.py | NeerajGulia/kafka-monitor | cfcd39a37d22c86d3cebffe289687a030bb84353 | [
"Apache-2.0"
] | null | null | null | import datetime
t1 = datetime.datetime(2019, 3, 9, 10, 55, 30, 991882)
t2 = datetime.datetime(2019, 3, 10, 10, 55, 30, 991882)
print((t2-t1).total_seconds()) | 26.5 | 55 | 0.685535 | 27 | 159 | 4 | 0.518519 | 0.296296 | 0.37037 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29927 | 0.138365 | 159 | 6 | 56 | 26.5 | 0.489051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c41c57d2fe8c5d4f03096ac847acc8fe35f19ed2 | 3,679 | py | Python | work/ArchitectureSearch.py | jialiasus2/AI-Studio-Contest-Quantum202103 | 350f20b8805e9696cacacc1339e71bf695571e74 | [
"Apache-2.0"
] | null | null | null | work/ArchitectureSearch.py | jialiasus2/AI-Studio-Contest-Quantum202103 | 350f20b8805e9696cacacc1339e71bf695571e74 | [
"Apache-2.0"
] | null | null | null | work/ArchitectureSearch.py | jialiasus2/AI-Studio-Contest-Quantum202103 | 350f20b8805e9696cacacc1339e71bf695571e74 | [
"Apache-2.0"
] | null | null | null | import time
import numpy as np
from tqdm import tqdm
from utils import RandomCNOT, RandomCNOTs
def SimulatedAnnealing(quantum_count, layer_count, solver, epochs=100, save_path=None, global_best_score=0):
#TODO:
best_score = 0
cnot = RandomCNOTs(quantum_count, layer_count)
sc, model = solver(cnot)
... | 38.322917 | 173 | 0.59527 | 488 | 3,679 | 4.229508 | 0.143443 | 0.161337 | 0.072674 | 0.037791 | 0.817829 | 0.793605 | 0.751938 | 0.751938 | 0.751938 | 0.733527 | 0 | 0.006369 | 0.317206 | 3,679 | 95 | 174 | 38.726316 | 0.815287 | 0.053547 | 0 | 0.792208 | 0 | 0.012987 | 0.061302 | 0 | 0 | 0 | 0 | 0.010526 | 0 | 1 | 0.038961 | false | 0 | 0.051948 | 0 | 0.12987 | 0.051948 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c453263bed6e1f5fabe0695622acd9caad9d7447 | 194,112 | py | Python | thirdweb/abi/nft_collection/__init__.py | princetonwong/python-sdk | f35181d97620e29d055498fca75f3702f3bb2449 | [
"Apache-2.0"
] | 1 | 2022-02-18T16:59:12.000Z | 2022-02-18T16:59:12.000Z | thirdweb/abi/nft_collection/__init__.py | princetonwong/python-sdk | f35181d97620e29d055498fca75f3702f3bb2449 | [
"Apache-2.0"
] | null | null | null | thirdweb/abi/nft_collection/__init__.py | princetonwong/python-sdk | f35181d97620e29d055498fca75f3702f3bb2449 | [
"Apache-2.0"
] | null | null | null | """Generated wrapper for NFTCollection Solidity contract."""
# pylint: disable=too-many-arguments
import json
from typing import ( # pylint: disable=unused-import
Any,
List,
Optional,
Tuple,
Union,
)
from eth_utils import to_checksum_address
from mypy_extensions import TypedDict # pylint: disab... | 37.684333 | 17,643 | 0.634865 | 20,535 | 194,112 | 5.720526 | 0.021768 | 0.076478 | 0.043415 | 0.041678 | 0.892271 | 0.863898 | 0.836879 | 0.816389 | 0.802785 | 0.749615 | 0 | 0.010622 | 0.250175 | 194,112 | 5,150 | 17,644 | 37.69165 | 0.796462 | 0.145596 | 0 | 0.772715 | 1 | 0.000275 | 0.12343 | 0.113291 | 0 | 0 | 0 | 0 | 0.023881 | 1 | 0.085644 | false | 0.000824 | 0.004117 | 0 | 0.184463 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c456582b3a99628d95abc79fe354227dac957e3b | 3,696 | py | Python | test/PySrc/tests/test_code_tracer_width.py | lifubang/live-py-plugin | 38a3cf447fd7d9c4e6014b71134e178b0d8a01de | [
"MIT"
] | 224 | 2015-03-22T23:40:52.000Z | 2022-03-01T21:45:51.000Z | test/PySrc/tests/test_code_tracer_width.py | lifubang/live-py-plugin | 38a3cf447fd7d9c4e6014b71134e178b0d8a01de | [
"MIT"
] | 371 | 2015-04-28T05:14:00.000Z | 2022-03-28T01:31:22.000Z | test/PySrc/tests/test_code_tracer_width.py | lifubang/live-py-plugin | 38a3cf447fd7d9c4e6014b71134e178b0d8a01de | [
"MIT"
] | 53 | 2015-10-30T07:52:07.000Z | 2022-02-28T12:56:35.000Z | from space_tracer.main import replace_input, TraceRunner
def test_source_width_positive():
code = """\
i = 1 + 1
"""
expected_report = """\
i = 1 + | i = 2"""
with replace_input(code):
report = TraceRunner().trace_command(['space_tracer',
'--source_w... | 25.666667 | 73 | 0.446699 | 354 | 3,696 | 4.40678 | 0.121469 | 0.161538 | 0.026923 | 0.040385 | 0.916667 | 0.916667 | 0.908333 | 0.883333 | 0.857051 | 0.857051 | 0 | 0.027702 | 0.404221 | 3,696 | 143 | 74 | 25.846154 | 0.680745 | 0 | 0 | 0.757009 | 0 | 0 | 0.219156 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 1 | 0.084112 | false | 0 | 0.009346 | 0 | 0.093458 | 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 |
c464fcd2cef62b8d92f36f587767dd193dd32e2a | 13,293 | py | Python | moztrap/model/core/migrations/0003_auto__add_field_productversion_cc_version__add_field_product.py | mbeko/moztrap | db75e1f8756ef2c0c39652a66302b19c8afa0256 | [
"BSD-2-Clause"
] | null | null | null | moztrap/model/core/migrations/0003_auto__add_field_productversion_cc_version__add_field_product.py | mbeko/moztrap | db75e1f8756ef2c0c39652a66302b19c8afa0256 | [
"BSD-2-Clause"
] | null | null | null | moztrap/model/core/migrations/0003_auto__add_field_productversion_cc_version__add_field_product.py | mbeko/moztrap | db75e1f8756ef2c0c39652a66302b19c8afa0256 | [
"BSD-2-Clause"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'ProductVersion.cc_version'
db.add_column('core_productversion', 'cc_version', self.gf('django.db.... | 85.76129 | 187 | 0.568871 | 1,400 | 13,293 | 5.287857 | 0.097143 | 0.1005 | 0.173984 | 0.248548 | 0.830744 | 0.787924 | 0.76388 | 0.735513 | 0.695934 | 0.613265 | 0 | 0.023744 | 0.176258 | 13,293 | 154 | 188 | 86.318182 | 0.652329 | 0.012713 | 0 | 0.328467 | 0 | 0 | 0.609468 | 0.312776 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014599 | false | 0.007299 | 0.029197 | 0 | 0.065693 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
c47490ec669bdd7c9794f49ba2d2ebd89aed558a | 32,808 | py | Python | video_level_models.py | pomonam/youtube-8m | 2d0b9b361785743ec397c6104feb30bb581700e5 | [
"Apache-2.0"
] | 43 | 2018-10-03T13:29:45.000Z | 2020-10-12T09:33:44.000Z | video_level_models.py | pomonam/LearnablePoolingMethodsForVideoClassification | 2d0b9b361785743ec397c6104feb30bb581700e5 | [
"Apache-2.0"
] | 1 | 2018-10-01T01:50:56.000Z | 2019-01-07T17:53:37.000Z | video_level_models.py | pomonam/LearnablePoolingMethodsForVideoClassification | 2d0b9b361785743ec397c6104feb30bb581700e5 | [
"Apache-2.0"
] | 3 | 2018-11-20T14:43:17.000Z | 2019-07-26T13:25:14.000Z | # Copyright 2018 Deep Topology All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 43.802403 | 119 | 0.596745 | 3,570 | 32,808 | 5.256583 | 0.076471 | 0.044549 | 0.023553 | 0.038794 | 0.84781 | 0.829372 | 0.817969 | 0.81296 | 0.805339 | 0.797027 | 0 | 0.016886 | 0.32489 | 32,808 | 749 | 120 | 43.802403 | 0.830376 | 0.238143 | 0 | 0.753564 | 0 | 0 | 0.032455 | 0.000885 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020367 | false | 0 | 0.014257 | 0 | 0.075356 | 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 |
c479cee1b61267e6a98fae5c6efa9dd6f54fec33 | 74 | py | Python | const.py | TakosukeGH/pmx_bone_importer | 412cc066867cb0e0fd889101630277f9f9ba3a6a | [
"MIT"
] | null | null | null | const.py | TakosukeGH/pmx_bone_importer | 412cc066867cb0e0fd889101630277f9f9ba3a6a | [
"MIT"
] | null | null | null | const.py | TakosukeGH/pmx_bone_importer | 412cc066867cb0e0fd889101630277f9f9ba3a6a | [
"MIT"
] | 1 | 2019-10-05T01:18:54.000Z | 2019-10-05T01:18:54.000Z | ADDON_NAME = "pmx_bone_importer"
LOG_FILE_NAME = "pmx_bone_importer.log"
| 18.5 | 39 | 0.810811 | 12 | 74 | 4.416667 | 0.583333 | 0.264151 | 0.415094 | 0.716981 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 3 | 40 | 24.666667 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.520548 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
677b969f256bb511f2d6671783f23985dd593352 | 1,962 | py | Python | src/example/4.Color_sensor/color_sensor.light_up.py | rundhall/ESP-LEGO-SPIKE-Simulator | dc83b895ff2aac5cf2fe576d0ba98426fea60827 | [
"MIT"
] | null | null | null | src/example/4.Color_sensor/color_sensor.light_up.py | rundhall/ESP-LEGO-SPIKE-Simulator | dc83b895ff2aac5cf2fe576d0ba98426fea60827 | [
"MIT"
] | null | null | null | src/example/4.Color_sensor/color_sensor.light_up.py | rundhall/ESP-LEGO-SPIKE-Simulator | dc83b895ff2aac5cf2fe576d0ba98426fea60827 | [
"MIT"
] | null | null | null | light_up(light_1, light_2, light_3)
Sets the brightness of the individual lights on the Color Sensor.
This causes the Color Sensor to change modes, which can affect your program in unexpected ways. For example, the Color Sensor can't read colors when it's in light up mode.
Parameters
light_1
The desired brightness of ... | 22.044944 | 171 | 0.761468 | 342 | 1,962 | 4.309942 | 0.190058 | 0.032564 | 0.056988 | 0.089552 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.059041 | 0.171254 | 1,962 | 89 | 172 | 22.044944 | 0.847478 | 0 | 0 | 0.790698 | 0 | 0 | 0.033622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6788c25e7a00ed595c0a516765861ce2d8e549e1 | 69,067 | py | Python | resources/mgltools_x86_64Linux2_1.5.6/MGLToolsPckgs/MolKit/data/allct_dat.py | J-E-J-S/aaRS-Pipeline | 43f59f28ab06e4b16328c3bc405cdddc6e69ac44 | [
"MIT"
] | 9 | 2021-03-06T04:24:28.000Z | 2022-01-03T09:53:07.000Z | MolKit/data/allct_dat.py | e-mayo/autodocktools-prepare-py3k | 2dd2316837bcb7c19384294443b2855e5ccd3e01 | [
"BSD-3-Clause"
] | 3 | 2021-03-07T05:37:16.000Z | 2021-09-19T15:06:54.000Z | MolKit/data/allct_dat.py | e-mayo/autodocktools-prepare-py3k | 2dd2316837bcb7c19384294443b2855e5ccd3e01 | [
"BSD-3-Clause"
] | 4 | 2019-08-28T23:11:39.000Z | 2021-11-27T08:43:36.000Z | allct_dat = {
"TYR": { "HB2":{'torsion': 300.0, 'tree': 'E', 'NC': 4, 'NB': 6, 'NA': 8, 'I': 9, 'angle': 109.5, 'blen': 1.09, 'charge': 0.038, 'type': 'HC'},
"HB3":{'torsion': 60.0, 'tree': 'E', 'NC': 4, 'NB': 6, 'NA': 8, 'I': 10, 'angle': 109.5, 'blen': 1.09, 'charge': 0.038, 'type': 'HC'},
"impropTors":[['-M', 'CA'... | 116.274411 | 251 | 0.447768 | 12,217 | 69,067 | 2.531309 | 0.031513 | 0.090089 | 0.053193 | 0.060016 | 0.938076 | 0.932352 | 0.920808 | 0.915053 | 0.90726 | 0.897332 | 0 | 0.177338 | 0.148855 | 69,067 | 594 | 252 | 116.274411 | 0.348722 | 0 | 0 | 0.424242 | 0 | 0 | 0.338826 | 0.007659 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
67b63f883548e6cabc6d6344eb2af1aa23104352 | 5,716 | py | Python | test/lsh_test.py | titusz/datasketch | a483b39fe4e444c372792e5c91c86d9d8d27a4a5 | [
"MIT"
] | 1 | 2022-03-21T05:36:15.000Z | 2022-03-21T05:36:15.000Z | test/lsh_test.py | tomzhang/datasketch | a483b39fe4e444c372792e5c91c86d9d8d27a4a5 | [
"MIT"
] | null | null | null | test/lsh_test.py | tomzhang/datasketch | a483b39fe4e444c372792e5c91c86d9d8d27a4a5 | [
"MIT"
] | 2 | 2018-11-12T18:00:52.000Z | 2022-03-21T05:36:20.000Z | import unittest
from hashlib import sha1
import pickle
import numpy as np
from datasketch.lsh import MinHashLSH
from datasketch.minhash import MinHash
from datasketch.weighted_minhash import WeightedMinHashGenerator
class TestMinHashLSH(unittest.TestCase):
def test_init(self):
lsh = MinHashLSH(threshold=... | 32.662857 | 64 | 0.561407 | 769 | 5,716 | 4.135241 | 0.106632 | 0.132075 | 0.066038 | 0.086792 | 0.919497 | 0.919497 | 0.919497 | 0.912579 | 0.912579 | 0.912579 | 0 | 0.054342 | 0.294962 | 5,716 | 174 | 65 | 32.850575 | 0.734739 | 0 | 0 | 0.927152 | 0 | 0 | 0.016445 | 0 | 0 | 0 | 0 | 0 | 0.251656 | 1 | 0.066225 | false | 0 | 0.046358 | 0 | 0.125828 | 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 |
67bece9167131625c374de6477b0b045ebb3b193 | 160 | py | Python | docs.bak/test.py | goujou/CompartmentalSystems | 4724555c33f11395ddc32738e8dfed7349ee155f | [
"MIT"
] | null | null | null | docs.bak/test.py | goujou/CompartmentalSystems | 4724555c33f11395ddc32738e8dfed7349ee155f | [
"MIT"
] | null | null | null | docs.bak/test.py | goujou/CompartmentalSystems | 4724555c33f11395ddc32738e8dfed7349ee155f | [
"MIT"
] | null | null | null | from CompartmentalSystems import smooth_reservoir_model
from CompartmentalSystems import smooth_model_run
from CompartmentalSystems import start_distributions
| 32 | 55 | 0.91875 | 17 | 160 | 8.352941 | 0.529412 | 0.507042 | 0.633803 | 0.507042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 160 | 4 | 56 | 40 | 0.965986 | 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 |
67fd6116ebb01570250dd4cf9fbbcabbf9f0ae67 | 5,945 | py | Python | analysis/playing_with_pykalman.py | rafaelvalero/covid_forecast | 4e009ade5481f4e3bd48fd8048ca7d293d5d19b4 | [
"MIT"
] | 3 | 2020-03-20T14:23:51.000Z | 2020-03-29T18:55:12.000Z | analysis/playing_with_pykalman.py | rafaelvalero/covid_forecast | 4e009ade5481f4e3bd48fd8048ca7d293d5d19b4 | [
"MIT"
] | 2 | 2020-03-21T14:07:17.000Z | 2020-03-22T07:38:11.000Z | analysis/playing_with_pykalman.py | rafaelvalero/covid_forecast | 4e009ade5481f4e3bd48fd8048ca7d293d5d19b4 | [
"MIT"
] | 1 | 2020-05-12T14:37:28.000Z | 2020-05-12T14:37:28.000Z | '''
=============================
EM for Linear-Gaussian Models
=============================
This example shows how one may use the EM algorithm to estimate model
parameters with a Kalman Filter.
The EM algorithm is a meta-algorithm for learning parameters in probabilistic
models. The algorithm works by first fixing t... | 49.541667 | 348 | 0.697056 | 868 | 5,945 | 4.730415 | 0.245392 | 0.012664 | 0.01169 | 0.007793 | 0.965416 | 0.965416 | 0.965416 | 0.965416 | 0.965416 | 0.965416 | 0 | 0.09646 | 0.187384 | 5,945 | 120 | 349 | 49.541667 | 0.753467 | 0.293692 | 0 | 0.851064 | 0 | 0 | 0.004102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.170213 | 0 | 0.170213 | 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 |
db33d4b02c61194e50c6a9e8e0140a09b33f011f | 1,710 | py | Python | reo/migrations/0118_auto_20210715_2148.py | NREL/REopt_API | fbc70f3b0cdeec9ee220266d6b3b0c5d64f257a6 | [
"BSD-3-Clause"
] | 7 | 2022-01-29T12:10:10.000Z | 2022-03-28T13:45:20.000Z | reo/migrations/0118_auto_20210715_2148.py | NREL/reopt_api | fbc70f3b0cdeec9ee220266d6b3b0c5d64f257a6 | [
"BSD-3-Clause"
] | 12 | 2022-02-01T18:23:18.000Z | 2022-03-31T17:22:17.000Z | reo/migrations/0118_auto_20210715_2148.py | NREL/REopt_API | fbc70f3b0cdeec9ee220266d6b3b0c5d64f257a6 | [
"BSD-3-Clause"
] | 3 | 2022-02-08T19:44:40.000Z | 2022-03-12T11:05:36.000Z | # Generated by Django 3.1.12 on 2021-07-15 21:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('reo', '0117_auto_20210715_2122'),
]
operations = [
migrations.AddField(
model_name='sitemodel',
name='lifetime_emis... | 31.666667 | 59 | 0.588304 | 169 | 1,710 | 5.721893 | 0.260355 | 0.148914 | 0.190279 | 0.223371 | 0.847983 | 0.847983 | 0.847983 | 0.847983 | 0.805584 | 0.805584 | 0 | 0.028523 | 0.302924 | 1,710 | 53 | 60 | 32.264151 | 0.782718 | 0.026901 | 0 | 0.680851 | 1 | 0 | 0.193742 | 0.148616 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 9 |
db3a4d55930ad8686d2de82e1838a1ca79a144ec | 24,800 | py | Python | UW_System/UW_System/UW_System/spiders/uw_system.py | Nouldine/MyCrawlerSystem | 7bba8ba3ec76e10f70a35700602812ee6f039b63 | [
"MIT"
] | null | null | null | UW_System/UW_System/UW_System/spiders/uw_system.py | Nouldine/MyCrawlerSystem | 7bba8ba3ec76e10f70a35700602812ee6f039b63 | [
"MIT"
] | null | null | null | UW_System/UW_System/UW_System/spiders/uw_system.py | Nouldine/MyCrawlerSystem | 7bba8ba3ec76e10f70a35700602812ee6f039b63 | [
"MIT"
] | null | null | null |
from scrapy import Spider
from scrapy.spiders import CrawlSpider, Rule
from scrapy.selector import Selector
from scrapy.contrib.spiders import CrawlSpider, Rule
from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
from scrapy.linkextractors import LinkExtractor
import scrapy
from scrapy.spidermiddlewares... | 90.510949 | 303 | 0.798185 | 2,720 | 24,800 | 7.241176 | 0.086029 | 0.04082 | 0.056966 | 0.067019 | 0.866826 | 0.851645 | 0.836769 | 0.836769 | 0.833012 | 0.833012 | 0 | 0.126514 | 0.077621 | 24,800 | 273 | 304 | 90.842491 | 0.734514 | 0.01754 | 0 | 0.091954 | 0 | 0.37931 | 0.801084 | 0.0138 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017241 | false | 0 | 0.068966 | 0 | 0.114943 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e1da747be2e0ff514420a41a6547dfb4970c7ba6 | 166 | py | Python | dot_dotfiles/mail/dot_offlineimap.py | TheRealOne78/dots | 52c59dae1fccb7392ceeb16ac564f6a18ee4a159 | [
"MIT"
] | 758 | 2016-11-19T22:52:34.000Z | 2022-03-29T00:43:57.000Z | dot_dotfiles/mail/dot_offlineimap.py | TheRealOne78/dots | 52c59dae1fccb7392ceeb16ac564f6a18ee4a159 | [
"MIT"
] | 27 | 2017-02-09T23:28:58.000Z | 2022-03-22T21:35:24.000Z | dot_dotfiles/mail/dot_offlineimap.py | TheRealOne78/dots | 52c59dae1fccb7392ceeb16ac564f6a18ee4a159 | [
"MIT"
] | 82 | 2016-12-23T04:42:00.000Z | 2022-03-29T19:25:16.000Z | #! /usr/bin/env python2
# -*- coding: utf8 -*-
from subprocess import check_output
def get_pass():
return check_output("pass gmail/me", shell=True).strip("\n")
| 20.75 | 64 | 0.680723 | 24 | 166 | 4.583333 | 0.875 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.144578 | 166 | 7 | 65 | 23.714286 | 0.760563 | 0.259036 | 0 | 0 | 0 | 0 | 0.123967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.666667 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 8 |
c068ebb6bccce46da01fec0d1da4f714e0e2357e | 33,949 | py | Python | utils.py | eepLearning/learn2learn | 4ed48e69f1ca5c9508331e15fd4a8f65c3cae750 | [
"MIT"
] | null | null | null | utils.py | eepLearning/learn2learn | 4ed48e69f1ca5c9508331e15fd4a8f65c3cae750 | [
"MIT"
] | null | null | null | utils.py | eepLearning/learn2learn | 4ed48e69f1ca5c9508331e15fd4a8f65c3cae750 | [
"MIT"
] | null | null | null | import numpy as np
import torch
from torch.autograd import grad
from learn2learn.utils import clone_module, update_module
from torch import nn, optim
def maml_update(model, lr, grads=None):
"""
[[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/algorithms/maml.py)
**Description**
Perfo... | 34.855236 | 113 | 0.745353 | 4,506 | 33,949 | 5.371727 | 0.063693 | 0.075852 | 0.022557 | 0.049577 | 0.901756 | 0.898327 | 0.894237 | 0.892336 | 0.889114 | 0.887503 | 0 | 0.007349 | 0.154261 | 33,949 | 973 | 114 | 34.891059 | 0.835678 | 0.19435 | 0 | 0.850671 | 0 | 0 | 0.010132 | 0.001775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04698 | false | 0 | 0.008389 | 0 | 0.102349 | 0.010067 | 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 |
2203367508cf03902b996dcb408a29b0ce2106d4 | 13,627 | py | Python | Objects/optAlignRNA.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | Objects/optAlignRNA.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | Objects/optAlignRNA.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | # Description: OptiAlign.py by Jason Vertree modified for aligning multiple RNA structures.
# Source: Generated while helping Miranda Adams at U of Saint Louis.
"""
cmd.do('python')
cmd.do(' ##############################################################################')
cmd.do('#')
cmd.do('# @SUMMARY: -- QKabsch.py... | 41.419453 | 143 | 0.634329 | 2,261 | 13,627 | 3.814241 | 0.139761 | 0.186688 | 0.107607 | 0.095083 | 0.984926 | 0.984926 | 0.984926 | 0.984926 | 0.984926 | 0.984926 | 0 | 0.027153 | 0.135173 | 13,627 | 328 | 144 | 41.545732 | 0.704625 | 0 | 0 | 1 | 1 | 0.09009 | 0.718379 | 0.142281 | 0 | 0 | 0 | 0 | 0.018018 | 0 | null | null | 0 | 0 | null | null | 0.018018 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
220737eae6a16eeacd5d110896be7e897b880d4e | 101 | py | Python | gerapy/cmd/server.py | awesome-archive/Gerapy | e9792d020397cd85b4d553b91b7829078b728b98 | [
"MIT"
] | 1 | 2018-12-07T02:05:32.000Z | 2018-12-07T02:05:32.000Z | gerapy/cmd/server.py | Tilyp/Gerapy | e9792d020397cd85b4d553b91b7829078b728b98 | [
"MIT"
] | null | null | null | gerapy/cmd/server.py | Tilyp/Gerapy | e9792d020397cd85b4d553b91b7829078b728b98 | [
"MIT"
] | null | null | null | from gerapy.server.manage import manage
import sys
def server():
# Call django cmd
manage()
| 14.428571 | 39 | 0.70297 | 14 | 101 | 5.071429 | 0.714286 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217822 | 101 | 6 | 40 | 16.833333 | 0.898734 | 0.148515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2263a0daf4d65f69a2ef1044b98efa275d27150f | 1,611 | py | Python | discord/ext/vbu/cogs/utils/converters/filtered_user.py | 6days9weeks/Novus | a21157f15d7a07669cb75b3f023bd9eedf40e40e | [
"MIT"
] | 2 | 2022-01-22T16:05:42.000Z | 2022-01-22T16:06:07.000Z | discord/ext/vbu/cogs/utils/converters/filtered_user.py | 6days9weeks/Novus | a21157f15d7a07669cb75b3f023bd9eedf40e40e | [
"MIT"
] | null | null | null | discord/ext/vbu/cogs/utils/converters/filtered_user.py | 6days9weeks/Novus | a21157f15d7a07669cb75b3f023bd9eedf40e40e | [
"MIT"
] | null | null | null | from discord.ext import commands
class FilteredUser(commands.UserConverter):
"""
A simple :class:`discord.ext.commands.UserConverter` that doesn't allow bots
or the author to be passed into the function.
"""
def __init__(self, *, allow_author: bool = False, allow_bots: bool = False):
supe... | 38.357143 | 82 | 0.664184 | 221 | 1,611 | 4.696833 | 0.244344 | 0.086705 | 0.086705 | 0.073218 | 0.868979 | 0.868979 | 0.811175 | 0.811175 | 0.811175 | 0.811175 | 0 | 0 | 0.238361 | 1,611 | 41 | 83 | 39.292683 | 0.845966 | 0.153321 | 0 | 0.88 | 0 | 0 | 0.111698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.04 | 0 | 0.28 | 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 |
97d574a37c2dcf1ccbae57ff4f4d838393dd694f | 1,938 | py | Python | malaya_speech/supervised/unet.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 111 | 2020-08-31T04:58:54.000Z | 2022-03-29T15:44:18.000Z | malaya_speech/supervised/unet.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 14 | 2020-12-16T07:27:22.000Z | 2022-03-15T17:39:01.000Z | malaya_speech/supervised/unet.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 29 | 2021-02-09T08:57:15.000Z | 2022-03-12T14:09:19.000Z | from malaya_speech.utils import (
check_file,
load_graph,
generate_session,
nodes_session,
)
from malaya_speech.model.tf import UNET, UNETSTFT, UNET1D
def load(model, module, quantized=False, **kwargs):
path = check_file(
file=model,
module=module,
keys={'model': 'model.pb... | 25.168831 | 69 | 0.609391 | 215 | 1,938 | 5.311628 | 0.204651 | 0.078809 | 0.126095 | 0.110333 | 0.801226 | 0.801226 | 0.801226 | 0.801226 | 0.764448 | 0.764448 | 0 | 0.002104 | 0.26419 | 1,938 | 76 | 70 | 25.5 | 0.798738 | 0 | 0 | 0.676923 | 1 | 0 | 0.056244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.030769 | 0 | 0.123077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
97fd1501d115786d6770847e5c0def668bf7ecbe | 196 | py | Python | questoes/questao1.py | raulbarcelos/Lista-de-Exercicios-PO | 70933896108b5f9fbdbf541c389ab9354d6ceaf2 | [
"MIT"
] | null | null | null | questoes/questao1.py | raulbarcelos/Lista-de-Exercicios-PO | 70933896108b5f9fbdbf541c389ab9354d6ceaf2 | [
"MIT"
] | null | null | null | questoes/questao1.py | raulbarcelos/Lista-de-Exercicios-PO | 70933896108b5f9fbdbf541c389ab9354d6ceaf2 | [
"MIT"
] | null | null | null | print("********************************")
print("********** QUESTÃO 01 **********")
print("********************************")
print("******** RAUL BARCELOS *********")
print()
print("Olá mundo")
| 24.5 | 41 | 0.30102 | 12 | 196 | 4.916667 | 0.583333 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.071429 | 196 | 7 | 42 | 28 | 0.313187 | 0 | 0 | 0.333333 | 0 | 0 | 0.69898 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
4512ba1f9249887e49626300dacbdb0fac5b7fbe | 170 | py | Python | epidemioptim/environments/cost_functions/costs/__init__.py | goodhamgupta/EpidemiOptim | a4fe3fcfc2d82a10db16a168526982c03ca2c8d3 | [
"MIT"
] | null | null | null | epidemioptim/environments/cost_functions/costs/__init__.py | goodhamgupta/EpidemiOptim | a4fe3fcfc2d82a10db16a168526982c03ca2c8d3 | [
"MIT"
] | null | null | null | epidemioptim/environments/cost_functions/costs/__init__.py | goodhamgupta/EpidemiOptim | a4fe3fcfc2d82a10db16a168526982c03ca2c8d3 | [
"MIT"
] | null | null | null | from epidemioptim.environments.cost_functions.costs.death_toll_cost import DeathToll
from epidemioptim.environments.cost_functions.costs.gdp_recess_cost import GdpRecess
| 56.666667 | 84 | 0.905882 | 22 | 170 | 6.727273 | 0.590909 | 0.216216 | 0.378378 | 0.432432 | 0.621622 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 170 | 2 | 85 | 85 | 0.91358 | 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 |
45271fd81da1faed37c0972df122fea04a51747b | 104 | py | Python | filter.py | Gerrydh/MPP-Recursion | de81bb0dcd50f7f66971db9000e6262767168b8f | [
"Apache-2.0"
] | null | null | null | filter.py | Gerrydh/MPP-Recursion | de81bb0dcd50f7f66971db9000e6262767168b8f | [
"Apache-2.0"
] | null | null | null | filter.py | Gerrydh/MPP-Recursion | de81bb0dcd50f7f66971db9000e6262767168b8f | [
"Apache-2.0"
] | null | null | null | print filter((lambda x: (x%2) ==0 ), [1,2,3,4,5,6])
print filter((lambda x: (x%2) !=0 ), [1,2,3,4,5,6]) | 52 | 52 | 0.519231 | 26 | 104 | 2.076923 | 0.423077 | 0.407407 | 0.62963 | 0.666667 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.177778 | 0.134615 | 104 | 2 | 53 | 52 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 14 |
452f9d740231a724ca7b77510cb8a67453b7e2aa | 8,605 | py | Python | knn_and_regression/src/free_response.py | WallabyLester/Machine_Learning_From_Scratch | 6042cf421f5de2db61fb570b7c4de64dc03453f3 | [
"MIT"
] | null | null | null | knn_and_regression/src/free_response.py | WallabyLester/Machine_Learning_From_Scratch | 6042cf421f5de2db61fb570b7c4de64dc03453f3 | [
"MIT"
] | null | null | null | knn_and_regression/src/free_response.py | WallabyLester/Machine_Learning_From_Scratch | 6042cf421f5de2db61fb570b7c4de64dc03453f3 | [
"MIT"
] | null | null | null | import numpy as np
from numpy.core.fromnumeric import mean
from numpy.core.numeric import True_
from numpy.testing._private.utils import rand
from polynomial_regression import PolynomialRegression
from generate_regression_data import generate_regression_data
from metrics import mean_squared_error # mse
from math impor... | 38.936652 | 176 | 0.664614 | 1,324 | 8,605 | 4.059668 | 0.108006 | 0.038512 | 0.029767 | 0.033488 | 0.901767 | 0.879442 | 0.879442 | 0.875721 | 0.860651 | 0.845023 | 0 | 0.01315 | 0.204648 | 8,605 | 220 | 177 | 39.113636 | 0.772209 | 0.072632 | 0 | 0.788571 | 0 | 0 | 0.172266 | 0.081037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068571 | 0 | 0.068571 | 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 |
18d43cd8f5f88ffb19e9b4a5bb9e768fb2646c67 | 220,532 | py | Python | venv/lib/python3.8/site-packages/aws_cdk/aws_kinesis/__init__.py | harun-vit/aws-cdk-pipelines-demo | 7e7faeee112c3dca718613fa8a1fba80d2116bac | [
"MIT-0"
] | null | null | null | venv/lib/python3.8/site-packages/aws_cdk/aws_kinesis/__init__.py | harun-vit/aws-cdk-pipelines-demo | 7e7faeee112c3dca718613fa8a1fba80d2116bac | [
"MIT-0"
] | null | null | null | venv/lib/python3.8/site-packages/aws_cdk/aws_kinesis/__init__.py | harun-vit/aws-cdk-pipelines-demo | 7e7faeee112c3dca718613fa8a1fba80d2116bac | [
"MIT-0"
] | null | null | null | '''
# Amazon Kinesis Construct Library
<!--BEGIN STABILITY BANNER-->---


---
<!--END STABILITY B... | 60.635689 | 468 | 0.68824 | 28,439 | 220,532 | 5.28162 | 0.020324 | 0.055365 | 0.03695 | 0.051763 | 0.949668 | 0.942924 | 0.935954 | 0.931307 | 0.925734 | 0.918278 | 0 | 0.002879 | 0.218862 | 220,532 | 3,636 | 469 | 60.652365 | 0.869051 | 0.563197 | 0 | 0.86505 | 0 | 0 | 0.061096 | 0.034317 | 0 | 0 | 0 | 0 | 0.003163 | 1 | 0.078545 | false | 0 | 0.00738 | 0.008962 | 0.150764 | 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 |
e15ca3d18b760bf74faf9a038392f2b6d8bb59b6 | 11,697 | py | Python | esse/mainapp/migrations/0003_auto_20210225_0350.py | alexeevivan/bookstore | d5698a5681a5d4f6b7616aacd3ac384d25b306e5 | [
"Unlicense"
] | null | null | null | esse/mainapp/migrations/0003_auto_20210225_0350.py | alexeevivan/bookstore | d5698a5681a5d4f6b7616aacd3ac384d25b306e5 | [
"Unlicense"
] | null | null | null | esse/mainapp/migrations/0003_auto_20210225_0350.py | alexeevivan/bookstore | d5698a5681a5d4f6b7616aacd3ac384d25b306e5 | [
"Unlicense"
] | null | null | null | # Generated by Django 3.1.6 on 2021-02-25 00:50
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('contenttypes', '0002_remove_content_type_name'),
migrations.swa... | 62.550802 | 162 | 0.608703 | 1,191 | 11,697 | 5.77246 | 0.120067 | 0.1296 | 0.133527 | 0.178036 | 0.841745 | 0.837527 | 0.827345 | 0.810764 | 0.810764 | 0.803055 | 0 | 0.021255 | 0.243823 | 11,697 | 186 | 163 | 62.887097 | 0.75602 | 0.003847 | 0 | 0.748603 | 1 | 0 | 0.185837 | 0.015966 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01676 | 0 | 0.039106 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e16fa8e2b0d20fbbd86dbb386c3a783cd3b7617b | 13,708 | py | Python | src/utils.py | mmin0/SigDFP | e2a93faa658741d693b8070bcc7038d2fb7c3e74 | [
"MIT"
] | null | null | null | src/utils.py | mmin0/SigDFP | e2a93faa658741d693b8070bcc7038d2fb7c3e74 | [
"MIT"
] | null | null | null | src/utils.py | mmin0/SigDFP | e2a93faa658741d693b8070bcc7038d2fb7c3e74 | [
"MIT"
] | 1 | 2022-02-28T23:26:23.000Z | 2022-02-28T23:26:23.000Z |
import torch
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
from matplotlib.legend_handler import HandlerTuple
from matplotlib.ticker import FormatStrFormatter
#from tqdm import tqdm
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42
plt.rc('xtick', labelsize=... | 33.031325 | 153 | 0.587978 | 1,807 | 13,708 | 4.353625 | 0.111787 | 0.083895 | 0.106267 | 0.05593 | 0.856108 | 0.849879 | 0.846066 | 0.838693 | 0.831829 | 0.824965 | 0 | 0.015975 | 0.264809 | 13,708 | 414 | 154 | 33.111111 | 0.764636 | 0.067917 | 0 | 0.818482 | 0 | 0 | 0.041518 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049505 | false | 0 | 0.016502 | 0 | 0.092409 | 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 |
e18feeef1d44b1fb5822da8d7afcebfd40c0bfe3 | 1,336 | py | Python | test/unit/test_utils.py | managedbyq/q-dbt | 01f1918fe5cbf3036b7197b8e3211960403718f3 | [
"Apache-2.0"
] | 1 | 2018-06-20T17:51:20.000Z | 2018-06-20T17:51:20.000Z | test/unit/test_utils.py | managedbyq/q-dbt | 01f1918fe5cbf3036b7197b8e3211960403718f3 | [
"Apache-2.0"
] | null | null | null | test/unit/test_utils.py | managedbyq/q-dbt | 01f1918fe5cbf3036b7197b8e3211960403718f3 | [
"Apache-2.0"
] | 1 | 2018-10-18T18:45:38.000Z | 2018-10-18T18:45:38.000Z | import unittest
import dbt.utils
class TestDeepMerge(unittest.TestCase):
def test__simple_cases(self):
cases = [
{'args': [{}, {'a': 1}],
'expected': {'a': 1},
'description': 'one key into empty'},
{'args': [{}, {'b': 1}, {'a': 1}],
'expecte... | 30.363636 | 67 | 0.450599 | 125 | 1,336 | 4.752 | 0.28 | 0.026936 | 0.06734 | 0.074074 | 0.89899 | 0.89899 | 0.89899 | 0.89899 | 0.89899 | 0.89899 | 0 | 0.014035 | 0.36003 | 1,336 | 43 | 68 | 31.069767 | 0.680702 | 0 | 0 | 0.823529 | 0 | 0 | 0.224551 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.058824 | false | 0 | 0.058824 | 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 |
bed3d451e4686403bc8880395163b3b1b1569208 | 2,827 | py | Python | scripts/left_right_hemisphere_data/hemisphere_asymmetry.py | mwinding/connectome_analysis | dbc747290891805863c9481921d8080dc2043d21 | [
"MIT"
] | 1 | 2021-06-10T05:48:16.000Z | 2021-06-10T05:48:16.000Z | left_right_hemisphere_data/hemisphere_asymmetry.py | mwinding/connectome_tools | 0392f6b1e924194299ea7760d8386eb01f3371a3 | [
"MIT"
] | 2 | 2022-01-21T11:48:45.000Z | 2022-01-21T11:48:45.000Z | scripts/left_right_hemisphere_data/hemisphere_asymmetry.py | mwinding/connectome_analysis | dbc747290891805863c9481921d8080dc2043d21 | [
"MIT"
] | 1 | 2022-02-02T15:39:52.000Z | 2022-02-02T15:39:52.000Z | import pandas as pd
import numpy as np
import csv
# import synapses divided across hemispheres
hemisphere_data = pd.read_csv('left_right_hemisphere_data/brain_hemisphere_membership.csv', header = 0)
#print(hemisphere_data)
# import pair list CSV, manually generated
#pairs = pd.read_csv('data/bp-pairs-2020-01-28.csv',... | 45.596774 | 145 | 0.812168 | 407 | 2,827 | 5.275184 | 0.140049 | 0.208663 | 0.190033 | 0.184443 | 0.746157 | 0.746157 | 0.746157 | 0.730321 | 0.730321 | 0.725664 | 0 | 0.00699 | 0.038557 | 2,827 | 61 | 146 | 46.344262 | 0.782929 | 0.102936 | 0 | 0.333333 | 0 | 0 | 0.239019 | 0.045509 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.809524 | 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 | 1 | 0 | 9 |
bef0b40fe98f05288d080226293e4d439b57a362 | 2,970 | py | Python | Homework files/Think_Python_Book_Homework_1.py | SillyHatsOnly/Python-Education-Experiments | 22244defc47b4e3ba41af07957a782013afe12b0 | [
"MIT"
] | null | null | null | Homework files/Think_Python_Book_Homework_1.py | SillyHatsOnly/Python-Education-Experiments | 22244defc47b4e3ba41af07957a782013afe12b0 | [
"MIT"
] | null | null | null | Homework files/Think_Python_Book_Homework_1.py | SillyHatsOnly/Python-Education-Experiments | 22244defc47b4e3ba41af07957a782013afe12b0 | [
"MIT"
] | null | null | null | def do_twice(f):
f()
f()
def print_spam():
print('spam')
do_twice(print_spam)
def do_twice(f, a):
f(a)
f(a)
def print_spam(a):
print(a)
print(a)
do_twice(print_spam, 'spamm')
def do_four(f, a):
do_twice(f,a)
do_twice(f,a)
do_four(print_spam, "SPAM")
def hor_line():
print(... | 18.679245 | 47 | 0.476431 | 360 | 2,970 | 3.605556 | 0.047222 | 0.058552 | 0.177966 | 0.22188 | 0.879045 | 0.879045 | 0.863636 | 0.817411 | 0.817411 | 0.784284 | 0 | 0.029682 | 0.194613 | 2,970 | 158 | 48 | 18.797468 | 0.51296 | 0 | 0 | 0.87069 | 0 | 0 | 0.057239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.810345 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
befd00f2e7be9ee982348d730c3ed4d4bbdd8988 | 177 | py | Python | iris_sdk/models/data/tn_status.py | NumberAI/python-bandwidth-iris | 0e05f79d68b244812afb97e00fd65b3f46d00aa3 | [
"MIT"
] | 2 | 2020-04-13T13:47:59.000Z | 2022-02-23T20:32:41.000Z | iris_sdk/models/data/tn_status.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2020-09-18T20:59:24.000Z | 2021-08-25T16:51:42.000Z | iris_sdk/models/data/tn_status.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2018-12-12T14:39:50.000Z | 2020-11-17T21:42:29.000Z | #!/usr/bin/env python
from iris_sdk.models.base_resource import BaseData
from iris_sdk.models.maps.tn_status import TnStatusMap
class TnStatus(TnStatusMap, BaseData):
pass | 25.285714 | 54 | 0.813559 | 26 | 177 | 5.384615 | 0.730769 | 0.114286 | 0.157143 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107345 | 177 | 7 | 55 | 25.285714 | 0.886076 | 0.112994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
36067e37b136228914619d3370100e13fb6c3ddf | 61,464 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/argspec/bgp_global/bgp_global.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/argspec/bgp_global/bgp_global.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/argspec/bgp_global/bgp_global.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2021 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
#############################################
# WARNING ... | 49.647819 | 82 | 0.149974 | 1,780 | 61,464 | 5.048315 | 0.146067 | 0.208101 | 0.277098 | 0.098375 | 0.858224 | 0.833741 | 0.815379 | 0.81193 | 0.794792 | 0.783107 | 0 | 0.001245 | 0.751692 | 61,464 | 1,237 | 83 | 49.687955 | 0.587538 | 0.007565 | 0 | 0.614428 | 0 | 0 | 0.143085 | 0.005642 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000829 | false | 0.002488 | 0.000829 | 0 | 0.003317 | 0.000829 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 9 |
364ab9b65eb9e9388a14433c72e77abdba6bec4c | 4,028 | py | Python | resources.py | slowiklukasz/qgis-inventories | 6bd247f41ec3340964522b3cac9dd9a924cefbf2 | [
"MIT"
] | null | null | null | resources.py | slowiklukasz/qgis-inventories | 6bd247f41ec3340964522b3cac9dd9a924cefbf2 | [
"MIT"
] | null | null | null | resources.py | slowiklukasz/qgis-inventories | 6bd247f41ec3340964522b3cac9dd9a924cefbf2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x02\x05\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
... | 41.102041 | 130 | 0.708292 | 868 | 4,028 | 3.243088 | 0.296083 | 0.234458 | 0.233393 | 0.174778 | 0.235524 | 0.224867 | 0.201066 | 0.186146 | 0.186146 | 0.186146 | 0 | 0.309931 | 0.07001 | 4,028 | 97 | 131 | 41.525773 | 0.441538 | 0.037736 | 0 | 0.160494 | 0 | 0.530864 | 0.000265 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.024691 | false | 0 | 0.012346 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36a769a0d7113d319d2bf9fc65325d50afd0198f | 5,276 | py | Python | Banner/rm_decompiled.py | Alpha-Demon404/RE-14 | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 39 | 2020-02-26T09:44:36.000Z | 2022-03-23T00:18:25.000Z | Banner/rm_decompiled.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 15 | 2020-05-14T10:07:26.000Z | 2022-01-06T02:55:32.000Z | Banner/rm_decompiled.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 41 | 2020-03-16T22:36:38.000Z | 2022-03-17T14:47:19.000Z | # uncompyle6 version 3.6.4
# Python bytecode 2.7
# Decompiled from: Python 2.7.17 (default, Oct 23 2019, 08:25:46)
# [GCC 4.2.1 Compatible Android (5220042 based on r346389c) Clang 8.0.7 (https://
# Embedded file name: <Angga>
"""
SILAHKAN RECODE SE ALAY MUNGKIN
DAN TIRU GAYA TAMPILAN SAYA :)
KASIH LOGO GEDE,... | 85.096774 | 1,273 | 0.649545 | 1,086 | 5,276 | 3.152855 | 0.134438 | 0.360981 | 0.465245 | 0.620327 | 0.850175 | 0.850175 | 0.84229 | 0.799357 | 0.780666 | 0.757886 | 0 | 0.296701 | 0.132487 | 5,276 | 62 | 1,274 | 85.096774 | 0.451387 | 0.04113 | 0 | 0.577778 | 0 | 0.177778 | 0.818276 | 0.674798 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.044444 | 0.022222 | null | null | 0.155556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
36b8262c6d34969be77ba59f989410637bf778e2 | 6,097 | py | Python | google_drive_online_decompression.py | xunyixiangchao/Google-Drive-Online-Decompression | 02121e3c25ad0ef3ceb0652a4a4e16f803e8463a | [
"Apache-2.0"
] | null | null | null | google_drive_online_decompression.py | xunyixiangchao/Google-Drive-Online-Decompression | 02121e3c25ad0ef3ceb0652a4a4e16f803e8463a | [
"Apache-2.0"
] | null | null | null | google_drive_online_decompression.py | xunyixiangchao/Google-Drive-Online-Decompression | 02121e3c25ad0ef3ceb0652a4a4e16f803e8463a | [
"Apache-2.0"
] | 1 | 2021-06-04T16:08:35.000Z | 2021-06-04T16:08:35.000Z | # -*- coding: utf-8 -*-
"""Google_Drive_Online_Decompression.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/16e0tv3LEkAFaYHmKH2H63Cg6rpCNWFky
# **第一步 绑定GoogleDrive**
"""
#@markdown 点击左侧按钮,授权绑定GoogleDrive
from google.colab import drive
drive.mo... | 23.360153 | 102 | 0.657865 | 762 | 6,097 | 5.259843 | 0.148294 | 0.065868 | 0.074102 | 0.135729 | 0.741517 | 0.741517 | 0.739022 | 0.739022 | 0.643713 | 0.64022 | 0 | 0.012565 | 0.11235 | 6,097 | 261 | 103 | 23.360153 | 0.728012 | 0.622437 | 0 | 0.75 | 1 | 0 | 0.292714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.285714 | 0.017857 | null | null | 0.107143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
36c5772cb7b021a7fd6965ba28a4663832c436d3 | 1,003 | py | Python | ckan/migration/versions/041_resource_new_fields.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 12 | 2015-08-28T16:59:07.000Z | 2020-03-08T01:39:30.000Z | ckan/migration/versions/041_resource_new_fields.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 13 | 2019-05-02T21:01:28.000Z | 2020-10-20T23:34:48.000Z | ckan/migration/versions/041_resource_new_fields.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 10 | 2015-05-08T04:33:20.000Z | 2020-03-03T15:17:58.000Z | from migrate import *
def upgrade(migrate_engine):
migrate_engine.execute(
'''
begin;
ALTER TABLE resource
ADD COLUMN name text,
ADD COLUMN resource_type text,
ADD COLUMN mimetype text,
ADD COLUMN mimetype_inner text,
ADD COLUMN "size" bigint,
ADD COLUMN last_modified timestamp ... | 30.393939 | 65 | 0.731805 | 135 | 1,003 | 5.281481 | 0.237037 | 0.252454 | 0.218794 | 0.201964 | 0.83871 | 0.83871 | 0.83871 | 0.83871 | 0.83871 | 0.83871 | 0 | 0 | 0.229312 | 1,003 | 32 | 66 | 31.34375 | 0.92238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
36d54c415ce82d548b3b02e02ceb85813202d7ef | 1,920 | py | Python | SDEprocesses/explicit.py | PyPaperParrot/pystoch | 14d1dbeefaeb3696378e0db6e565347df87a02bc | [
"MIT"
] | 1 | 2019-06-06T13:53:51.000Z | 2019-06-06T13:53:51.000Z | SDEprocesses/explicit.py | PyPaperParrot/pystoch | 14d1dbeefaeb3696378e0db6e565347df87a02bc | [
"MIT"
] | null | null | null | SDEprocesses/explicit.py | PyPaperParrot/pystoch | 14d1dbeefaeb3696378e0db6e565347df87a02bc | [
"MIT"
] | null | null | null | import numpy as np
import exceptions as ex
def LogWalk(T, nSteps, mu, sigma, x_0=1, t_0=0, boundary=500):
ex._check_params(T, nSteps, t_0)
dt = T/(10*nSteps)
x_t = []
t = t_0
for i in range((10*nSteps)):
x = x_0*np.exp((mu - sigma**2/2)*t + sigma*np.random.randn()*np.sqrt(t))
if ... | 34.285714 | 207 | 0.611458 | 325 | 1,920 | 3.486154 | 0.193846 | 0.024713 | 0.047661 | 0.039718 | 0.758164 | 0.749338 | 0.749338 | 0.736981 | 0.736981 | 0.736981 | 0 | 0.044704 | 0.242708 | 1,920 | 55 | 208 | 34.909091 | 0.734525 | 0 | 0 | 0.775 | 0 | 0 | 0.252141 | 0.04015 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.05 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36f7ebcb27998b0af7e58a152f1c6385a165aa9d | 33,411 | py | Python | simulation/Distance2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | simulation/Distance2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | simulation/Distance2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | import json
import scipy.stats
import matplotlib.pyplot as plt
import scipy.stats as st
from decimal import Decimal, ROUND_HALF_UP
from xml.dom import minidom
import numpy as np
def open_file(nameFile):
try:
f = open(nameFile + ".json", "r")
dados = json.loads(f.read())
f.close()
excep... | 103.12037 | 160 | 0.829427 | 4,013 | 33,411 | 6.411662 | 0.080987 | 0.081656 | 0.101205 | 0.118927 | 0.950058 | 0.941508 | 0.936456 | 0.93117 | 0.929615 | 0.924796 | 0 | 0.437177 | 0.078836 | 33,411 | 323 | 161 | 103.439628 | 0.398837 | 0.033043 | 0 | 0.042857 | 0 | 0 | 0.8297 | 0.820316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007143 | false | 0.003571 | 0.025 | 0 | 0.039286 | 0.017857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.