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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e1f4a64b670be2fe9bca43722fcf8df3e745cd90 | 590,669 | py | Python | wasmtree/parser.py | jvs/wasmtree | 58f8561d4499171bb72f4ace2b923ae7939f4e30 | [
"MIT"
] | null | null | null | wasmtree/parser.py | jvs/wasmtree | 58f8561d4499171bb72f4ace2b923ae7939f4e30 | [
"MIT"
] | null | null | null | wasmtree/parser.py | jvs/wasmtree | 58f8561d4499171bb72f4ace2b923ae7939f4e30 | [
"MIT"
] | null | null | null | # Generated by ../generate_parser.py
"""
# Grammar definition:
```
import struct
```
class Module {
let magic: b'\\x00\\x61\\x73\\x6D'
let version: b'\\x01\\x00\\x00\\x00'
custom1: CustomSection*
type_section: TypeSection?
custom2: CustomSection*
import_section: ImportSection?
custom3: C... | 26.798648 | 2,551 | 0.553351 | 69,272 | 590,669 | 4.336153 | 0.021524 | 0.053507 | 0.035306 | 0.023384 | 0.848472 | 0.810366 | 0.758997 | 0.719846 | 0.663363 | 0.620996 | 0 | 0.046916 | 0.344149 | 590,669 | 22,040 | 2,552 | 26.799864 | 0.72846 | 0.100347 | 0 | 0.679235 | 1 | 0.00101 | 0.133938 | 0.014134 | 0 | 0 | 0.005894 | 0 | 0 | 1 | 0.092445 | false | 0.001683 | 0.003771 | 0.03582 | 0.184958 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c042663e1c1f5cad636ece92f5590cb7092ff57d | 2,518 | py | Python | air_hockey/game/scripting/control_striker_action.py | Nemo3003/cse210-06 | 30ecefac7f23927be904f48b29492bb2220262a8 | [
"Apache-2.0"
] | null | null | null | air_hockey/game/scripting/control_striker_action.py | Nemo3003/cse210-06 | 30ecefac7f23927be904f48b29492bb2220262a8 | [
"Apache-2.0"
] | null | null | null | air_hockey/game/scripting/control_striker_action.py | Nemo3003/cse210-06 | 30ecefac7f23927be904f48b29492bb2220262a8 | [
"Apache-2.0"
] | null | null | null | from constants import *
from game.scripting.action import Action
"""
The striker must be controlled! so this is why this module exists :)
"""
class ControlStrikerAction(Action):
def __init__(self, keyboard_service):
self._keyboard_service = keyboard_service
def execute(self, cast, script... | 38.738462 | 99 | 0.669579 | 313 | 2,518 | 4.952077 | 0.172524 | 0.290323 | 0.343226 | 0.325161 | 0.829032 | 0.798065 | 0.798065 | 0.795484 | 0.788387 | 0.44 | 0 | 0.006276 | 0.240667 | 2,518 | 64 | 100 | 39.34375 | 0.804393 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.041667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c04f5c4f7f2dc7583d45657b8e401521be76feba | 2,918 | gyp | Python | binding.gyp | sandeepmistry/node-objective-c-runtime | e0b26c4b5494b3b10625fb51bcaaf2c4d9511d88 | [
"MIT"
] | 1 | 2020-08-14T13:00:21.000Z | 2020-08-14T13:00:21.000Z | binding.gyp | sandeepmistry/node-objective-c-runtime | e0b26c4b5494b3b10625fb51bcaaf2c4d9511d88 | [
"MIT"
] | null | null | null | binding.gyp | sandeepmistry/node-objective-c-runtime | e0b26c4b5494b3b10625fb51bcaaf2c4d9511d88 | [
"MIT"
] | null | null | null | # Copyright (c) Sandeep Mistry. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
{
'targets': [
{
'target_name': 'class',
'conditions': [
['OS=="mac"', {
'sources': [
'src/class.mm'
],
... | 29.474747 | 100 | 0.473955 | 255 | 2,918 | 5.219608 | 0.25098 | 0.037566 | 0.090158 | 0.12021 | 0.863261 | 0.769346 | 0.769346 | 0.769346 | 0.769346 | 0.769346 | 0 | 0.007545 | 0.318711 | 2,918 | 98 | 101 | 29.77551 | 0.661972 | 0.051062 | 0 | 0.673684 | 0 | 0 | 0.470716 | 0.126175 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fbf4e35a621c1bc0a6f8e4039e181fe29a2bd5c7 | 81,965 | py | Python | venv/lib/python3.8/site-packages/arch/tests/univariate/test_variance_forecasting.py | johncollinsai/post-high-frequency-data | 88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4 | [
"MIT"
] | 1 | 2021-11-27T18:15:30.000Z | 2021-11-27T18:15:30.000Z | venv/lib/python3.8/site-packages/arch/tests/univariate/test_variance_forecasting.py | johncollinsai/post-high-frequency-data | 88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/arch/tests/univariate/test_variance_forecasting.py | johncollinsai/post-high-frequency-data | 88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4 | [
"MIT"
] | null | null | null | import numpy as np
from numpy.random import RandomState
from numpy.testing import assert_allclose
import pandas as pd
import pytest
from arch.univariate import arch_model
from arch.univariate.distribution import Normal, StudentsT
from arch.univariate.mean import ConstantMean
try:
from arch.univariate.recursions i... | 36.445087 | 93 | 0.528872 | 9,723 | 81,965 | 4.338681 | 0.032706 | 0.037336 | 0.048761 | 0.048358 | 0.874197 | 0.851013 | 0.816997 | 0.79872 | 0.777765 | 0.764964 | 0 | 0.05424 | 0.345672 | 81,965 | 2,248 | 94 | 36.461299 | 0.732324 | 0.005795 | 0 | 0.74331 | 0 | 0 | 0.007125 | 0 | 0 | 0 | 0 | 0.000445 | 0.146184 | 1 | 0.025768 | false | 0 | 0.007433 | 0 | 0.035679 | 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 |
222c9d7cc3c6bf9ac2989e06b02c2660380e96f2 | 20,008 | py | Python | tests/api/test_location.py | owenhw/fsf_api_access_python | 7ded0b933bcb54cda1ee9c4f05e7b691516e3a66 | [
"MIT"
] | 15 | 2020-06-29T18:54:43.000Z | 2022-02-15T23:27:49.000Z | tests/api/test_location.py | owenhw/fsf_api_access_python | 7ded0b933bcb54cda1ee9c4f05e7b691516e3a66 | [
"MIT"
] | 57 | 2020-07-08T14:49:20.000Z | 2022-02-14T20:55:10.000Z | tests/api/test_location.py | owenhw/fsf_api_access_python | 7ded0b933bcb54cda1ee9c4f05e7b691516e3a66 | [
"MIT"
] | 7 | 2020-09-04T18:21:29.000Z | 2021-05-14T07:28:35.000Z | # Author: Kelvin Lai <kelvin@firststreet.org>
# Copyright: This module is owned by First Street Foundation
# Standard Imports
import os
# External Imports
import pytest
# Internal Imports
import firststreet
from firststreet.errors import InvalidArgument
api_key = os.environ['FSF_API_KEY']
fs = firststreet.FirstStre... | 43.877193 | 120 | 0.65124 | 2,712 | 20,008 | 4.721239 | 0.054204 | 0.250391 | 0.240159 | 0.17065 | 0.954545 | 0.951578 | 0.945251 | 0.93916 | 0.936973 | 0.934942 | 0 | 0.05705 | 0.243952 | 20,008 | 455 | 121 | 43.973626 | 0.789383 | 0.007647 | 0 | 0.819307 | 0 | 0 | 0.033704 | 0 | 0 | 0 | 0 | 0 | 0.670792 | 1 | 0.094059 | false | 0 | 0.009901 | 0 | 0.108911 | 0.002475 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
222d53bed272b83cb32acd18ddd3ec92682d029c | 2,942 | py | Python | onener/transformer/models/utils.py | sansan-inc/OneNER | 4e13ff7a1a990dcbf3c7b7fb1945aacdfa30abe3 | [
"Apache-2.0"
] | 2 | 2021-10-11T05:30:44.000Z | 2021-12-16T07:46:28.000Z | onener/transformer/models/utils.py | sansan-inc/OneNER | 4e13ff7a1a990dcbf3c7b7fb1945aacdfa30abe3 | [
"Apache-2.0"
] | null | null | null | onener/transformer/models/utils.py | sansan-inc/OneNER | 4e13ff7a1a990dcbf3c7b7fb1945aacdfa30abe3 | [
"Apache-2.0"
] | null | null | null | import torch
from typing import Tuple, Optional
def valid_sequence_output(sequence_output: torch.Tensor,
valid_mask: torch.Tensor,
attention_mask: torch.Tensor,
labels: Optional[torch.Tensor] = None,
) -> Tuple[tor... | 41.43662 | 93 | 0.574779 | 369 | 2,942 | 4.376694 | 0.176152 | 0.088545 | 0.059443 | 0.074303 | 0.81548 | 0.783901 | 0.783901 | 0.733127 | 0.733127 | 0.733127 | 0 | 0.007474 | 0.317811 | 2,942 | 70 | 94 | 42.028571 | 0.79721 | 0.050986 | 0 | 0.784314 | 0 | 0 | 0.015256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.039216 | 0 | 0.117647 | 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 |
223b164cd68b7e11e21bc1d5377e43ae747ce144 | 38 | py | Python | easy_gene/__init__.py | thomsn/easy_gen | 722d5d65db6e854102fb6a17400f702b16a3cf11 | [
"Unlicense"
] | 18 | 2018-02-22T13:36:27.000Z | 2018-03-16T12:51:42.000Z | easy_gene/__init__.py | thomsn/easy_gen | 722d5d65db6e854102fb6a17400f702b16a3cf11 | [
"Unlicense"
] | null | null | null | easy_gene/__init__.py | thomsn/easy_gen | 722d5d65db6e854102fb6a17400f702b16a3cf11 | [
"Unlicense"
] | 1 | 2018-03-16T12:51:52.000Z | 2018-03-16T12:51:52.000Z | from easy_gene.easy_gene import evolve | 38 | 38 | 0.894737 | 7 | 38 | 4.571429 | 0.714286 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2248d01d0f85fe48aaa1a62be827fa629ae2008e | 12,947 | py | Python | util/eval_utils.py | zyxia1009/OadTR | ec6e4dafcb465719e80cbf39dcd2099e51927d51 | [
"MIT"
] | 53 | 2021-06-21T14:31:54.000Z | 2022-03-30T14:37:49.000Z | util/eval_utils.py | zyxia1009/OadTR | ec6e4dafcb465719e80cbf39dcd2099e51927d51 | [
"MIT"
] | 15 | 2021-06-23T06:06:12.000Z | 2022-03-25T14:30:30.000Z | util/eval_utils.py | zyxia1009/OadTR | ec6e4dafcb465719e80cbf39dcd2099e51927d51 | [
"MIT"
] | 9 | 2021-06-27T04:29:56.000Z | 2022-03-29T07:25:53.000Z | import os
import os.path as osp
import json
from collections import OrderedDict
import numpy as np
from sklearn.metrics import average_precision_score
from sklearn.metrics import confusion_matrix
__all__ = [
'compute_result_multilabel',
'compute_result_multilabel_test',
'compute_result',
'frame_level_m... | 42.44918 | 126 | 0.580057 | 1,741 | 12,947 | 4.129236 | 0.094773 | 0.06343 | 0.025038 | 0.035471 | 0.899569 | 0.892614 | 0.87926 | 0.879121 | 0.879121 | 0.865489 | 0 | 0.025309 | 0.22484 | 12,947 | 304 | 127 | 42.588816 | 0.691012 | 0.098401 | 0 | 0.832558 | 0 | 0 | 0.049772 | 0.013425 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027907 | false | 0 | 0.032558 | 0 | 0.088372 | 0.060465 | 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 |
22772ee37968bd4754ee18b20fae22c39aecf717 | 1,159 | py | Python | src/ecc.py | pbusenius/FSK200Bd1000Hz | cc73be177ed04ae8df1e5ad4f19b9a5662e37c04 | [
"MIT"
] | null | null | null | src/ecc.py | pbusenius/FSK200Bd1000Hz | cc73be177ed04ae8df1e5ad4f19b9a5662e37c04 | [
"MIT"
] | null | null | null | src/ecc.py | pbusenius/FSK200Bd1000Hz | cc73be177ed04ae8df1e5ad4f19b9a5662e37c04 | [
"MIT"
] | null | null | null | import numpy as np
index_ecc_lut = [
[0, 0, 0, 0, 0], [1, 0, 0, 1, 1], [1, 0, 1, 0, 1], [0, 0, 1, 1, 0], [1, 1, 0, 0, 1], [0, 1, 0, 1, 0],
[0, 1, 1, 0, 0], [1, 1, 1, 1, 1], [1, 0, 1, 1, 0], [0, 0, 1, 0, 1], [0, 0, 0, 1, 1], [1, 0, 0, 0, 1],
[0, 1, 1, 1, 1], [1, 1, 1, 0, 0], [1, 1, 0, 1, 0], [0, 1, 0, 0, 1]... | 50.391304 | 105 | 0.349439 | 299 | 1,159 | 1.317726 | 0.063545 | 0.350254 | 0.274112 | 0.192893 | 0.685279 | 0.685279 | 0.685279 | 0.65736 | 0.626904 | 0.545685 | 0 | 0.337079 | 0.308887 | 1,159 | 22 | 106 | 52.681818 | 0.154806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.055556 | 0.055556 | 0.055556 | 0.277778 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
3f50d3a43b150a933a50624d0055830ceebfd312 | 8,016 | py | Python | sdk/purview/azure-purview-catalog/azure/purview/catalog/rest/glossary/__init__.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 3 | 2020-06-23T02:25:27.000Z | 2021-09-07T18:48:11.000Z | sdk/purview/azure-purview-catalog/azure/purview/catalog/rest/glossary/__init__.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 510 | 2019-07-17T16:11:19.000Z | 2021-08-02T08:38:32.000Z | sdk/purview/azure-purview-catalog/azure/purview/catalog/rest/glossary/__init__.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 5 | 2019-09-04T12:51:37.000Z | 2020-09-16T07:28:40.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 may ... | 67.361345 | 111 | 0.830464 | 1,019 | 8,016 | 5.889107 | 0.07949 | 0.128312 | 0.22163 | 0.128312 | 0.934678 | 0.840693 | 0.797367 | 0.735377 | 0.650392 | 0.465589 | 0 | 0.005086 | 0.117016 | 8,016 | 118 | 112 | 67.932203 | 0.842752 | 0.113149 | 0 | 0 | 0 | 0 | 0.188367 | 0.188367 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.678899 | 0 | 0.678899 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
58d26534f3c3caac9ebafc75bb3bd60fe4603603 | 8,228 | py | Python | manim2/scene/end_video.py | tigerking/manim2 | 93e8957e433b8e59acb5a5213a4074ee0125b823 | [
"MIT"
] | null | null | null | manim2/scene/end_video.py | tigerking/manim2 | 93e8957e433b8e59acb5a5213a4074ee0125b823 | [
"MIT"
] | null | null | null | manim2/scene/end_video.py | tigerking/manim2 | 93e8957e433b8e59acb5a5213a4074ee0125b823 | [
"MIT"
] | null | null | null | from manim2.imports import *
#set_custom_quality(800,10)
class RedesEspanhol(Scene):
def construct(self):
self.redes_esp()
def redes_esp(self):
print('TODO,RedesEspanhol do nothing -- TK')
pass
def Xredes_esp(self):
twitter = Twitter()
reddits = Reddits()
... | 37.230769 | 139 | 0.589329 | 1,091 | 8,228 | 4.250229 | 0.135655 | 0.04917 | 0.015527 | 0.018978 | 0.948027 | 0.948027 | 0.924736 | 0.924736 | 0.924736 | 0.924736 | 0 | 0.029436 | 0.273335 | 8,228 | 221 | 140 | 37.230769 | 0.746111 | 0.022727 | 0 | 0.881356 | 0 | 0 | 0.0487 | 0.002805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045198 | false | 0.011299 | 0.00565 | 0 | 0.073446 | 0.011299 | 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 |
450d417168ee8d9695c3d2b5654f63737fcf638e | 822 | py | Python | autopandas_v2/generators/utils.py | chyanju/autopandas | 16080ad12f0e8e7b0a614671aea1ed57b3fed7fe | [
"BSD-3-Clause"
] | 16 | 2019-08-13T02:49:44.000Z | 2022-02-08T03:14:34.000Z | autopandas_v2/generators/utils.py | chyanju/autopandas | 16080ad12f0e8e7b0a614671aea1ed57b3fed7fe | [
"BSD-3-Clause"
] | 2 | 2020-09-25T22:40:40.000Z | 2022-02-09T23:42:53.000Z | autopandas_v2/generators/utils.py | chyanju/autopandas | 16080ad12f0e8e7b0a614671aea1ed57b3fed7fe | [
"BSD-3-Clause"
] | 3 | 2021-07-06T10:30:36.000Z | 2022-01-11T23:21:31.000Z | from typing import Dict
from autopandas_v2.generators.base import BaseGenerator
from autopandas_v2.utils.misc import get_all_defined_classes_recursive
def load_generators() -> Dict[str, BaseGenerator]:
generators: Dict[str, BaseGenerator] = {}
import autopandas_v2.generators.specs_compiled as gens
for na... | 32.88 | 71 | 0.743309 | 99 | 822 | 5.959596 | 0.333333 | 0.081356 | 0.115254 | 0.20339 | 0.771186 | 0.722034 | 0.722034 | 0.722034 | 0.722034 | 0.722034 | 0 | 0.005908 | 0.176399 | 822 | 24 | 72 | 34.25 | 0.865583 | 0 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | true | 0 | 0.294118 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
4540b328904e3cf9c61eda46870057af16f5a5a5 | 27,884 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/hsrp/iosxr/tests/hsrp_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/ops-pkg/src/genie/libs/ops/hsrp/iosxr/tests/hsrp_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/ops-pkg/src/genie/libs/ops/hsrp/iosxr/tests/hsrp_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | class HsrpOutput(object):
# 'show hsrp detail' output
showHsrpDetailOutput = \
{
'GigabitEthernet0/0/0/0': {
'address_family': {
'ipv4': {
'version': {
1: {
'groups': {
0: {
'active_ip_address': 'unknown',
... | 34.811486 | 65 | 0.370822 | 1,975 | 27,884 | 4.904304 | 0.07443 | 0.0446 | 0.042123 | 0.042742 | 0.958497 | 0.955193 | 0.949205 | 0.939707 | 0.939707 | 0.939707 | 0 | 0.074351 | 0.510902 | 27,884 | 800 | 66 | 34.855 | 0.63587 | 0.00373 | 0 | 0.777215 | 0 | 0 | 0.348119 | 0.040288 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.006329 | 0 | 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 |
188a176096008b78c2780fac5eea422409f5846b | 9,802 | py | Python | src/stratis_cli/_actions/_introspect.py | bgurney-rh/stratis-cli | 7bada40cd4005d429fb4baeda6fdb035b22c28b9 | [
"Apache-2.0"
] | null | null | null | src/stratis_cli/_actions/_introspect.py | bgurney-rh/stratis-cli | 7bada40cd4005d429fb4baeda6fdb035b22c28b9 | [
"Apache-2.0"
] | null | null | null | src/stratis_cli/_actions/_introspect.py | bgurney-rh/stratis-cli | 7bada40cd4005d429fb4baeda6fdb035b22c28b9 | [
"Apache-2.0"
] | null | null | null | SPECS = {
"org.freedesktop.DBus.ObjectManager": """
<interface name="org.freedesktop.DBus.ObjectManager">
<method name="GetManagedObjects">
<arg name="objpath_interfaces_and_properties" type="a{oa{sa{sv}}}" direction="out" />
</method>
</interface>
""",
"org.storage.stratis2.FetchProperties.r4":... | 44.757991 | 96 | 0.620894 | 1,170 | 9,802 | 5.155556 | 0.097436 | 0.107924 | 0.090517 | 0.129145 | 0.862732 | 0.840849 | 0.779012 | 0.757792 | 0.743369 | 0.725298 | 0 | 0.002976 | 0.177311 | 9,802 | 218 | 97 | 44.963303 | 0.74504 | 0 | 0 | 0.665138 | 0 | 0.004587 | 0.98735 | 0.165374 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18d4a602578dad9a6d42fb7245ad0c26d44b6bb2 | 8,149 | py | Python | adapt/specificity/tests/test_kmer_shard.py | broadinstitute/adapt | ae0346dbd8c77fa9bcefbec5358cc750b146474d | [
"MIT"
] | 12 | 2020-11-25T21:19:27.000Z | 2022-03-07T10:55:52.000Z | adapt/specificity/tests/test_kmer_shard.py | broadinstitute/adapt | ae0346dbd8c77fa9bcefbec5358cc750b146474d | [
"MIT"
] | 17 | 2020-11-30T15:49:13.000Z | 2022-03-17T01:12:45.000Z | adapt/specificity/tests/test_kmer_shard.py | broadinstitute/adapt | ae0346dbd8c77fa9bcefbec5358cc750b146474d | [
"MIT"
] | 3 | 2021-04-28T13:48:07.000Z | 2022-01-10T16:51:34.000Z | """Tests for kmer_shard module.
"""
import unittest
from adapt.specificity import kmer_shard
__author__ = 'Hayden Metsky <hayden@mit.edu>'
class TestTrieSpace(unittest.TestCase):
def test_get(self):
# Build and fetch from a trie space
ts = kmer_shard.TrieSpace()
t = ts.get('abc', make=... | 37.902326 | 79 | 0.550252 | 1,064 | 8,149 | 4.098684 | 0.12218 | 0.144462 | 0.156845 | 0.19812 | 0.866086 | 0.849117 | 0.837652 | 0.79867 | 0.734235 | 0.705801 | 0 | 0.045812 | 0.282121 | 8,149 | 214 | 80 | 38.079439 | 0.699658 | 0.115842 | 0 | 0.743421 | 0 | 0 | 0.059936 | 0 | 0 | 0 | 0 | 0.004673 | 0.322368 | 1 | 0.092105 | false | 0 | 0.013158 | 0 | 0.144737 | 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 |
7a198d30aceb8dfff7966ad00c565f659e7555fc | 262 | py | Python | Lib/site-packages/QtModularUiPack/ViewModels/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 3 | 2019-11-11T12:09:23.000Z | 2022-02-17T10:02:55.000Z | QtModularUiPack/ViewModels/__init__.py | dowerner/QtModularUiPack | de2ce6ba3a1cd52ca00eaea3ea3bb2247fe76ba3 | [
"Apache-2.0"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/QtModularUiPack/ViewModels/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 2 | 2019-11-11T12:09:31.000Z | 2019-11-11T12:09:42.000Z | from QtModularUiPack.ViewModels.base_view_model import BaseViewModel
from QtModularUiPack.ViewModels.base_context_aware_view_model import BaseContextAwareViewModel
from QtModularUiPack.ViewModels.modular_application_view_model import ModularApplicationViewModel
| 65.5 | 97 | 0.931298 | 27 | 262 | 8.703704 | 0.518519 | 0.242553 | 0.370213 | 0.280851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 262 | 3 | 98 | 87.333333 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
e13407f896a39ce16b0a24ee0e9c32433b961a49 | 46,730 | py | Python | src-el/articulation.py | EulerProject/EulerX | 49e63e6a27be97ab30832180a47d214494388e15 | [
"MIT"
] | 15 | 2016-02-17T20:48:29.000Z | 2021-03-05T20:38:05.000Z | src-el/articulation.py | eddy7896/EulerX | 49e63e6a27be97ab30832180a47d214494388e15 | [
"MIT"
] | 16 | 2015-02-05T18:38:48.000Z | 2021-06-14T11:38:36.000Z | src-el/articulation.py | eddy7896/EulerX | 49e63e6a27be97ab30832180a47d214494388e15 | [
"MIT"
] | 4 | 2016-01-26T03:24:52.000Z | 2020-01-09T07:57:15.000Z | # Copyright (c) 2014 University of California, Davis
#
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify,... | 73.939873 | 246 | 0.482709 | 5,079 | 46,730 | 4.350266 | 0.05316 | 0.029328 | 0.05594 | 0.069925 | 0.844671 | 0.826658 | 0.794433 | 0.75981 | 0.701969 | 0.680969 | 0 | 0.02986 | 0.310571 | 46,730 | 631 | 247 | 74.057052 | 0.655958 | 0.031072 | 0 | 0.474576 | 0 | 0 | 0.210811 | 0.001481 | 0 | 0 | 0 | 0.001585 | 0 | 0 | null | null | 0 | 0.011299 | null | null | 0.001883 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e14ad8ade0da1c3be2a5c3c33a237039b3afe179 | 6,059 | py | Python | questionnaires/migrations/0026_auto_20220125_1149.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | 1 | 2022-03-11T11:46:27.000Z | 2022-03-11T11:46:27.000Z | questionnaires/migrations/0026_auto_20220125_1149.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | null | null | null | questionnaires/migrations/0026_auto_20220125_1149.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | null | null | null | # Generated by Django 3.1.14 on 2022-01-25 11:49
from django.db import migrations
import home.blocks
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
import wagtailmarkdown.blocks
class Migration(migrations.Migration):
dependencies = [
('questionnaires', '0025_auto_2022... | 94.671875 | 812 | 0.670738 | 673 | 6,059 | 5.967311 | 0.138187 | 0.112301 | 0.131225 | 0.06499 | 0.933765 | 0.933765 | 0.925548 | 0.925548 | 0.925548 | 0.925548 | 0 | 0.015146 | 0.128239 | 6,059 | 63 | 813 | 96.174603 | 0.745172 | 0.007592 | 0 | 0.789474 | 1 | 0 | 0.202795 | 0.003826 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.157895 | 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 |
e1965a21d94917720040d0103d301753ea23be4c | 112 | py | Python | nipy/algorithms/statistics/tests/__init__.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | 1 | 2015-08-22T16:14:45.000Z | 2015-08-22T16:14:45.000Z | nipy/algorithms/statistics/tests/__init__.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | null | null | null | nipy/algorithms/statistics/tests/__init__.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | null | null | null | import nipy.algorithms.statistics.tests.test_rft
import nipy.algorithms.statistics.tests.test_intrinsic_volumes
| 37.333333 | 62 | 0.892857 | 15 | 112 | 6.466667 | 0.6 | 0.206186 | 0.412371 | 0.618557 | 0.804124 | 0.804124 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 112 | 2 | 63 | 56 | 0.898148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
e1aae7c7a1cddb348f8f98b1f9b8896ed180756c | 20,792 | py | Python | a10sdk/core/vrrp/vrrp_a.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 16 | 2015-05-20T07:26:30.000Z | 2021-01-23T11:56:57.000Z | a10sdk/core/vrrp/vrrp_a.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 6 | 2015-03-24T22:07:11.000Z | 2017-03-28T21:31:18.000Z | a10sdk/core/vrrp/vrrp_a.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 23 | 2015-03-29T15:43:01.000Z | 2021-06-02T17:12:01.000Z | from a10sdk.common.A10BaseClass import A10BaseClass
class EthernetCfg(A10BaseClass):
"""This class does not support CRUD Operations please use parent.
:param flap_ethernet_end: {"type": "number", "description": "Ethernet Port", "format": "interface"}
:param flap_ethernet_start: {"type": "number", "d... | 203.843137 | 9,618 | 0.638274 | 2,439 | 20,792 | 5.409594 | 0.086921 | 0.037896 | 0.036077 | 0.034106 | 0.828862 | 0.778536 | 0.7608 | 0.758678 | 0.723965 | 0.712824 | 0 | 0.018801 | 0.122547 | 20,792 | 101 | 9,619 | 205.861386 | 0.704396 | 0.921893 | 0 | 0.357143 | 0 | 0 | 0.033399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.02381 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e1b72de62d28c14cee01f4c8a501ca9a6a666bc4 | 92 | py | Python | ormageddon/__init__.py | renskiy/ormageddon | 24c48275f0ac977c0153581aea168174164fcc00 | [
"MIT"
] | 18 | 2016-02-25T08:48:51.000Z | 2019-01-25T01:57:49.000Z | ormageddon/__init__.py | renskiy/ormageddon | 24c48275f0ac977c0153581aea168174164fcc00 | [
"MIT"
] | null | null | null | ormageddon/__init__.py | renskiy/ormageddon | 24c48275f0ac977c0153581aea168174164fcc00 | [
"MIT"
] | null | null | null | from ormageddon.db import *
from ormageddon.fields import *
from ormageddon.models import *
| 23 | 31 | 0.804348 | 12 | 92 | 6.166667 | 0.5 | 0.567568 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 3 | 32 | 30.666667 | 0.925 | 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 |
bece9b241f2768a4f909febf8bb505c7b5d33cfa | 8,416 | py | Python | tests/unit/test_protobuf_schema.py | instaclustr/karapace | 60e9d788be360dd7f1d29f6ecb3dc9f881233302 | [
"Apache-2.0"
] | 1 | 2021-09-29T07:17:47.000Z | 2021-09-29T07:17:47.000Z | tests/unit/test_protobuf_schema.py | instaclustr/karapace | 60e9d788be360dd7f1d29f6ecb3dc9f881233302 | [
"Apache-2.0"
] | 9 | 2021-04-20T05:02:26.000Z | 2022-02-04T01:04:22.000Z | tests/unit/test_protobuf_schema.py | instaclustr/karapace | 60e9d788be360dd7f1d29f6ecb3dc9f881233302 | [
"Apache-2.0"
] | 1 | 2021-04-03T16:48:42.000Z | 2021-04-03T16:48:42.000Z | from karapace.protobuf.compare_result import CompareResult
from karapace.protobuf.kotlin_wrapper import trim_margin
from karapace.protobuf.location import Location
from karapace.protobuf.schema import ProtobufSchema
from karapace.schema_reader import SchemaType, TypedSchema
from tests.schemas.protobuf import (
sche... | 29.121107 | 124 | 0.589354 | 776 | 8,416 | 6.179124 | 0.113402 | 0.045881 | 0.108446 | 0.141814 | 0.840459 | 0.805631 | 0.780188 | 0.754536 | 0.727424 | 0.714911 | 0 | 0.031076 | 0.315589 | 8,416 | 288 | 125 | 29.222222 | 0.801389 | 0 | 0 | 0.812227 | 0 | 0 | 0.38807 | 0.00499 | 0 | 0 | 0 | 0 | 0.048035 | 1 | 0.048035 | false | 0 | 0.026201 | 0 | 0.074236 | 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 |
8305781674f8c6af4f531588f7fa8e09fe4e2394 | 6,305 | py | Python | tests/hardware_tests/test_pin.py | vt-sailbot/sailbot-19 | a9252e9415d3fef62e4baf813306bdc07fb69781 | [
"MIT"
] | 1 | 2019-05-29T19:32:48.000Z | 2019-05-29T19:32:48.000Z | tests/hardware_tests/test_pin.py | vt-sailbot/sailbot-19 | a9252e9415d3fef62e4baf813306bdc07fb69781 | [
"MIT"
] | 3 | 2019-02-23T13:33:47.000Z | 2019-08-18T12:54:56.000Z | tests/hardware_tests/test_pin.py | vt-sailbot/sailbot-19 | a9252e9415d3fef62e4baf813306bdc07fb69781 | [
"MIT"
] | null | null | null | import unittest
try:
from unittest.mock import patch, MagicMock
except ImportError:
from mock import patch, MagicMock
from src.hardware.pin import make_pin, ADCPin
from tests.mock_bbio import Adafruit_BBIO
class PinTests(unittest.TestCase):
"""Tests methods of the Pin family."""
@staticmethod
de... | 36.235632 | 110 | 0.582871 | 787 | 6,305 | 4.465057 | 0.11817 | 0.225384 | 0.218554 | 0.192089 | 0.826409 | 0.80535 | 0.787991 | 0.78173 | 0.765794 | 0.736483 | 0 | 0.008995 | 0.294687 | 6,305 | 173 | 111 | 36.445087 | 0.781201 | 0.070738 | 0 | 0.710744 | 0 | 0 | 0.171537 | 0.105535 | 0 | 0 | 0 | 0 | 0.099174 | 1 | 0.049587 | false | 0 | 0.049587 | 0 | 0.107438 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3629cbc901f0b33f04dc86d602c6a3e44ea34f61 | 2,562 | py | Python | CorePathwayObjects.py | Dexter-Maine/Eeveaem | ba9b551971d64274a7e5dd5ac87f820a96ab5060 | [
"MIT"
] | null | null | null | CorePathwayObjects.py | Dexter-Maine/Eeveaem | ba9b551971d64274a7e5dd5ac87f820a96ab5060 | [
"MIT"
] | null | null | null | CorePathwayObjects.py | Dexter-Maine/Eeveaem | ba9b551971d64274a7e5dd5ac87f820a96ab5060 | [
"MIT"
] | null | null | null | from .Pathway import CorePathway
#@Dev: Don't Forget To Contract Some Passages So They
#@Dev: Must Be Called To Unlock / Lock
class GlimmeringDoor(CorePathway):
def __init__(self):
self.Name = 'Glimmering Door'
super().__init__(Name=self.Name,Open=False,Locked=True,Skill=1000,Key=None)
def Open(sel... | 17.668966 | 78 | 0.65808 | 362 | 2,562 | 4.491713 | 0.135359 | 0.177122 | 0.088561 | 0.081181 | 0.875154 | 0.875154 | 0.819803 | 0.749693 | 0.749693 | 0.749693 | 0 | 0.011994 | 0.21897 | 2,562 | 144 | 79 | 17.791667 | 0.8006 | 0.034738 | 0 | 0.865979 | 0 | 0 | 0.031801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.43299 | false | 0.123711 | 0.010309 | 0 | 0.505155 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
364418309d343117b23a7f9249f33a5d32ba83c4 | 338 | py | Python | crypto_package/backtesting/__init__.py | TheOnlyCryptoParadise/crypto_package | 6ed348712a2477babee16c2cfd87e1fb34584a86 | [
"MIT"
] | null | null | null | crypto_package/backtesting/__init__.py | TheOnlyCryptoParadise/crypto_package | 6ed348712a2477babee16c2cfd87e1fb34584a86 | [
"MIT"
] | 1 | 2021-11-15T21:55:10.000Z | 2021-11-15T21:55:10.000Z | crypto_package/backtesting/__init__.py | TheOnlyCryptoParadise/crypto_package | 6ed348712a2477babee16c2cfd87e1fb34584a86 | [
"MIT"
] | null | null | null | from .backtesting_bot import BacktestingBot
from .analyze_functions import plot_candles
from .analyze_functions import plot_profit
from .analyze_functions import plot_profit_per_pair
from .analyze_functions import plot_indicators
from .analyze_functions import get_candles_and_plot
from .analyze_functions import plot_pa... | 42.25 | 55 | 0.89645 | 47 | 338 | 6.042553 | 0.361702 | 0.232394 | 0.422535 | 0.549296 | 0.570423 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 338 | 7 | 56 | 48.285714 | 0.916129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3676f76c22f8d6798ae435bb4bdc8727d4925a8b | 31,298 | py | Python | lib/datasets/voc_eval.py | zhbli/pytorch-faster-rcnn | de3f5a4db43e04a60e13578ad5bb09aa9834abd8 | [
"MIT"
] | null | null | null | lib/datasets/voc_eval.py | zhbli/pytorch-faster-rcnn | de3f5a4db43e04a60e13578ad5bb09aa9834abd8 | [
"MIT"
] | null | null | null | lib/datasets/voc_eval.py | zhbli/pytorch-faster-rcnn | de3f5a4db43e04a60e13578ad5bb09aa9834abd8 | [
"MIT"
] | null | null | null | # --------------------------------------------------------
# Fast/er R-CNN
# Licensed under The MIT License [see LICENSE for details]
# Written by Bharath Hariharan
# --------------------------------------------------------
from __future__ import absolute_import
from __future__ import division
from __future__ import pr... | 42.698499 | 140 | 0.519682 | 3,883 | 31,298 | 4.055112 | 0.092197 | 0.052712 | 0.025149 | 0.036581 | 0.869618 | 0.86803 | 0.856471 | 0.8512 | 0.849105 | 0.849105 | 0 | 0.025394 | 0.329382 | 31,298 | 732 | 141 | 42.756831 | 0.724808 | 0.094862 | 0 | 0.817844 | 0 | 0.009294 | 0.127325 | 0.062686 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007435 | false | 0 | 0.016729 | 0 | 0.031599 | 0.013011 | 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 |
36845e14643856a839f8f0f036d4c1718c92378c | 141 | py | Python | protonets/models/__init__.py | lucast4/prototypical_networks | 11b5c2e57250d90b0d87c2495502f0f1706591a2 | [
"MIT"
] | null | null | null | protonets/models/__init__.py | lucast4/prototypical_networks | 11b5c2e57250d90b0d87c2495502f0f1706591a2 | [
"MIT"
] | null | null | null | protonets/models/__init__.py | lucast4/prototypical_networks | 11b5c2e57250d90b0d87c2495502f0f1706591a2 | [
"MIT"
] | 1 | 2018-08-26T15:35:25.000Z | 2018-08-26T15:35:25.000Z | from prototypical_networks.protonets.models.factory import get_model, register_model
import prototypical_networks.protonets.models.few_shot
| 35.25 | 84 | 0.893617 | 18 | 141 | 6.722222 | 0.666667 | 0.330579 | 0.479339 | 0.578512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056738 | 141 | 3 | 85 | 47 | 0.909774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
368f860d729982944928cd69bd80a316f8f6c987 | 550 | py | Python | Desafios/Desafio109/moeda.py | julianascimentosantos/cursoemvideo-python3 | 34361c9c9cfa3d511257e51608168c1325deaa9e | [
"MIT"
] | null | null | null | Desafios/Desafio109/moeda.py | julianascimentosantos/cursoemvideo-python3 | 34361c9c9cfa3d511257e51608168c1325deaa9e | [
"MIT"
] | null | null | null | Desafios/Desafio109/moeda.py | julianascimentosantos/cursoemvideo-python3 | 34361c9c9cfa3d511257e51608168c1325deaa9e | [
"MIT"
] | null | null | null | def aumentar(preço, taxa, formato=False):
res = preço + (preço * taxa/100)
return res if formato is False else moeda(res)
def diminuir(preço, taxa, formato=False):
res = preço - (preço * taxa/100)
return res if formato is False else moeda(res)
def dobro(preço, formato=False):
res = preço * 2
... | 23.913043 | 52 | 0.652727 | 84 | 550 | 4.27381 | 0.285714 | 0.100279 | 0.167131 | 0.222841 | 0.796657 | 0.796657 | 0.796657 | 0.796657 | 0.796657 | 0.796657 | 0 | 0.023148 | 0.214545 | 550 | 22 | 53 | 25 | 0.80787 | 0 | 0 | 0.285714 | 0 | 0 | 0.043636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.071429 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3695511b5e7fa17ef88ea3612673f387031128d6 | 9,944 | py | Python | sequence_labeling/layer/highway.py | stevezheng23/sequence_labeling_tf | 05fcbec15e359e3db86af6c3798c13be8a6c58ee | [
"Apache-2.0"
] | 17 | 2019-02-27T06:49:30.000Z | 2020-03-27T23:10:17.000Z | sequence_labeling/layer/highway.py | stevezheng23/sequence_labeling_tf | 05fcbec15e359e3db86af6c3798c13be8a6c58ee | [
"Apache-2.0"
] | 3 | 2019-07-29T08:11:25.000Z | 2021-03-23T05:22:29.000Z | sequence_labeling/layer/highway.py | stevezheng23/sequence_labeling_tf | 05fcbec15e359e3db86af6c3798c13be8a6c58ee | [
"Apache-2.0"
] | 1 | 2020-07-18T15:07:04.000Z | 2020-07-18T15:07:04.000Z | import numpy as np
import tensorflow as tf
from util.default_util import *
from util.sequence_labeling_util import *
from layer.basic import *
__all__ = ["Highway", "ConvHighway", "StackedHighway", "StackedConvHighway"]
class Highway(object):
"""highway layer"""
def __init__(self,
unit_dim,... | 45.406393 | 134 | 0.627011 | 1,093 | 9,944 | 5.36871 | 0.086002 | 0.05317 | 0.0409 | 0.025903 | 0.914451 | 0.906612 | 0.891445 | 0.870995 | 0.860259 | 0.850886 | 0 | 0.003428 | 0.295857 | 9,944 | 218 | 135 | 45.614679 | 0.834619 | 0.035901 | 0 | 0.855556 | 0 | 0 | 0.018896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.027778 | 0 | 0.116667 | 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 |
36c744d4c7bc7883b6802d3153b11c0dfb73879f | 10,638 | py | Python | tasks/tasks_fetch_snapchat.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | 2 | 2020-10-15T22:12:17.000Z | 2020-10-26T07:17:17.000Z | tasks/tasks_fetch_snapchat.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | null | null | null | tasks/tasks_fetch_snapchat.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | null | null | null | import models
import sys, os
from . import base
from . import tasks_fetch_entity
from azrael import SnapchatAPI
from typing import Dict, List, Optional
class FetchSnapchatReportTask(base.FetchReportTask):
api: Optional[SnapchatAPI]
campaigns: List[Dict[str, any]] = []
ad_squads: List[Dict[str, any]] = []
ads:... | 31.660714 | 108 | 0.699756 | 1,137 | 10,638 | 6.108179 | 0.111697 | 0.063355 | 0.078618 | 0.069978 | 0.829086 | 0.811231 | 0.801008 | 0.801008 | 0.801008 | 0.801008 | 0 | 0.001296 | 0.202294 | 10,638 | 336 | 109 | 31.660714 | 0.816993 | 0 | 0 | 0.754902 | 0 | 0 | 0.166181 | 0.044929 | 0 | 0 | 0 | 0 | 0.003268 | 1 | 0.091503 | false | 0 | 0.019608 | 0.081699 | 0.228758 | 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 |
7fe19f1d462e5ee0d16a162d1ceb3cb8a5838dc6 | 20,836 | py | Python | ckan/tests/functional/api/test_package_search.py | Gnafu/ckan | d81f69b90291e50ef7e85821ccb83daa94eb3bb7 | [
"BSD-3-Clause"
] | 2 | 2021-02-19T20:06:52.000Z | 2021-04-15T20:42:11.000Z | ckan/tests/functional/api/test_package_search.py | Gnafu/ckan | d81f69b90291e50ef7e85821ccb83daa94eb3bb7 | [
"BSD-3-Clause"
] | null | null | null | ckan/tests/functional/api/test_package_search.py | Gnafu/ckan | d81f69b90291e50ef7e85821ccb83daa94eb3bb7 | [
"BSD-3-Clause"
] | 4 | 2016-12-17T22:26:06.000Z | 2017-01-20T21:51:24.000Z | from nose.tools import assert_raises
from nose.plugins.skip import SkipTest
from urllib import quote
from ckan import plugins
import ckan.lib.search as search
from ckan.tests import setup_test_search_index
from ckan.tests.functional.api.base import *
from ckan.tests import TestController as ControllerTestCase
from ck... | 42.784394 | 133 | 0.621712 | 2,767 | 20,836 | 4.436935 | 0.093242 | 0.085526 | 0.043903 | 0.065081 | 0.819989 | 0.795716 | 0.762483 | 0.742445 | 0.734381 | 0.723711 | 0 | 0.023274 | 0.243185 | 20,836 | 486 | 134 | 42.872428 | 0.755279 | 0.020733 | 0 | 0.692875 | 0 | 0.009828 | 0.149541 | 0.029839 | 0 | 0 | 0 | 0.002058 | 0.22113 | 0 | null | null | 0.007371 | 0.02457 | null | null | 0.009828 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d22e446ec5128da257091fd0e8256fd933f97cc | 34,708 | py | Python | tests/test_measure.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_measure.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_measure.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/Measure
Release: R5
Version: 4.5.0
Build ID: 0d95498
Last updated: 2021-04-03T00:34:11.075+00:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from fhir.resources import fhirtypes # noqa: F401
from fhir.resources import me... | 47.545205 | 88 | 0.681889 | 4,478 | 34,708 | 5.249665 | 0.095578 | 0.152289 | 0.123788 | 0.055811 | 0.869364 | 0.839799 | 0.805896 | 0.753403 | 0.706611 | 0.637315 | 0 | 0.033239 | 0.167858 | 34,708 | 729 | 89 | 47.610425 | 0.780694 | 0.034488 | 0 | 0.444099 | 0 | 0.001553 | 0.298449 | 0.029465 | 0 | 0 | 0 | 0 | 0.580745 | 1 | 0.021739 | false | 0 | 0.004658 | 0 | 0.026398 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d36492c609f5de4fe587fcc0ac04ff83a893056 | 7,091 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/community/general/tests/unit/plugins/modules/cloud/misc/test_proxmox_tasks_info.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 22 | 2021-07-16T08:11:22.000Z | 2022-03-31T07:15:34.000Z | venv/lib/python3.6/site-packages/ansible_collections/community/general/tests/unit/plugins/modules/cloud/misc/test_proxmox_tasks_info.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/community/general/tests/unit/plugins/modules/cloud/misc/test_proxmox_tasks_info.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 39 | 2021-07-05T02:31:42.000Z | 2022-03-31T02:46:03.000Z | # -*- coding: utf-8 -*-
# Copyright: (c) 2021, Andreas Botzner (@paginabianca) <andreas at botzner dot com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
# Proxmox Tasks module unit tests.
# The API responses used in these tests were recorded from PVE version 6.4-8
from... | 33.606635 | 100 | 0.62262 | 793 | 7,091 | 5.433796 | 0.209332 | 0.029241 | 0.034811 | 0.078905 | 0.846136 | 0.846136 | 0.835693 | 0.816663 | 0.783012 | 0.765839 | 0 | 0.086079 | 0.238189 | 7,091 | 210 | 101 | 33.766667 | 0.711588 | 0.042589 | 0 | 0.736264 | 0 | 0.043956 | 0.306104 | 0.141551 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.038462 | false | 0.016484 | 0.049451 | 0 | 0.104396 | 0.005495 | 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 |
e9f8ab8264275aac63c0fa1690a0834c8d736cf8 | 26,530 | py | Python | darkfb.py | belajarhacker/darkfb | a56265283ca52e7adb0537e44ca6d0e163ac4be5 | [
"Apache-2.0"
] | null | null | null | darkfb.py | belajarhacker/darkfb | a56265283ca52e7adb0537e44ca6d0e163ac4be5 | [
"Apache-2.0"
] | null | null | null | darkfb.py | belajarhacker/darkfb | a56265283ca52e7adb0537e44ca6d0e163ac4be5 | [
"Apache-2.0"
] | 1 | 2020-06-04T14:20:15.000Z | 2020-06-04T14:20:15.000Z | # Compile by Anbia Nuansyah
# Created by SANSBAE (https://github.com/SansBae)
# Instagram : @sansbae25
import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJztvQl4HNl5GPiq0Q2gG/dN8CxyhiCGJO6L5AzIAQkOyeHpBofgcES3qrsKQAF9sauaBEagD41iS3bWluIZSVGkyHYUxd448rmy4lWS1e76s/N9ibz2WruJI2clyl5v1uvESWwn... | 3,790 | 26,398 | 0.969016 | 776 | 26,530 | 33.128866 | 0.988402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152384 | 0.000678 | 26,530 | 6 | 26,399 | 4,421.666667 | 0.81729 | 0.003619 | 0 | 0 | 0 | 0.5 | 0.996595 | 0.996595 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
181795616d2fa87dfac4528d330bb5b1f863f7dd | 6,843 | py | Python | populus-tests/block-scheduling/test_block_claiming.py | romil797/ethereum-alarm-clock | b2710fb9ff24794fdb1100cdb80acee7efaeb94c | [
"MIT"
] | 15 | 2017-09-19T20:54:00.000Z | 2018-12-09T16:09:22.000Z | populus-tests/block-scheduling/test_block_claiming.py | romil797/ethereum-alarm-clock | b2710fb9ff24794fdb1100cdb80acee7efaeb94c | [
"MIT"
] | null | null | null | populus-tests/block-scheduling/test_block_claiming.py | romil797/ethereum-alarm-clock | b2710fb9ff24794fdb1100cdb80acee7efaeb94c | [
"MIT"
] | 5 | 2017-11-17T20:18:06.000Z | 2018-10-10T13:55:46.000Z | import pytest
def test_cannot_claim_before_first_claim_block(chain, web3, RequestData, get_claim_data):
txn_request = RequestData(windowStart=web3.eth.blockNumber + 255 + 10 + 5).direct_deploy()
request_data = RequestData.from_contract(txn_request)
first_claim_block = request_data.schedule.windowStart - ... | 35.827225 | 174 | 0.714014 | 812 | 6,843 | 5.678571 | 0.093596 | 0.133594 | 0.094773 | 0.058556 | 0.919974 | 0.899154 | 0.869226 | 0.861635 | 0.857515 | 0.857515 | 0 | 0.034313 | 0.199328 | 6,843 | 190 | 175 | 36.015789 | 0.807264 | 0.007014 | 0 | 0.758333 | 0 | 0 | 0.020186 | 0.012377 | 0 | 0 | 0.012377 | 0 | 0.2 | 1 | 0.058333 | false | 0 | 0.008333 | 0 | 0.066667 | 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 |
187dbcdc7b229d6e0034ddd0d0a2b5ef630e827a | 997 | py | Python | biobb_analysis/test/unitests/test_gromacs/test_gmx_trjconv_str_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | 3 | 2019-05-18T14:52:30.000Z | 2020-10-18T06:20:00.000Z | biobb_analysis/test/unitests/test_gromacs/test_gmx_trjconv_str_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | 7 | 2019-03-04T15:04:28.000Z | 2021-06-17T10:57:25.000Z | biobb_analysis/test/unitests/test_gromacs/test_gmx_trjconv_str_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | null | null | null | from biobb_common.tools import test_fixtures as fx
from biobb_analysis.gromacs.gmx_trjconv_str import gmx_trjconv_str
class TestGMXTrjConvStrDocker():
def setUp(self):
fx.test_setup(self,'gmx_trjconv_str_docker')
def tearDown(self):
fx.test_teardown(self)
pass
def test_trjconv_st... | 34.37931 | 89 | 0.722166 | 136 | 997 | 4.977941 | 0.242647 | 0.118168 | 0.115214 | 0.100443 | 0.714919 | 0.714919 | 0.714919 | 0.714919 | 0.714919 | 0.714919 | 0 | 0 | 0.172518 | 997 | 29 | 90 | 34.37931 | 0.820606 | 0 | 0 | 0.636364 | 0 | 0 | 0.147295 | 0.049098 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.272727 | false | 0.090909 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
43f5191f12d94891e7dd34ede471317b2f5c264a | 819 | py | Python | Part_3_advanced/m15_design_patterns/abstract_factory/example_1/document_system/welcome_letter.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m15_design_patterns/abstract_factory/example_1/document_system/welcome_letter.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m15_design_patterns/abstract_factory/example_1/document_system/welcome_letter.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | from typing import Protocol
class WelcomeLetter(Protocol):
def render(self) -> str:
...
def sign(self, signature: str) -> None:
...
class WelcomeLetterPdf:
def __init__(self, name: str) -> None:
self.name = name
self.signature = ""
def render(self) -> str:
r... | 24.088235 | 79 | 0.598291 | 102 | 819 | 4.72549 | 0.254902 | 0.242739 | 0.091286 | 0.099585 | 0.757261 | 0.757261 | 0.701245 | 0.701245 | 0.701245 | 0.701245 | 0 | 0 | 0.262515 | 819 | 33 | 80 | 24.818182 | 0.798013 | 0 | 0 | 0.636364 | 0 | 0.090909 | 0.20757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.045455 | 0.090909 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
43f7c517129f818adeea158d1cc9537f0e356f48 | 36,254 | py | Python | solvers/__init__.py | kevinychen/nikoli-puzzle-solver | be288566e9b864d7acd0c063a6d2bc1fc067a32c | [
"MIT"
] | 4 | 2022-01-03T04:21:08.000Z | 2022-02-25T05:51:59.000Z | solvers/__init__.py | kevinychen/nikoli-puzzle-solver | be288566e9b864d7acd0c063a6d2bc1fc067a32c | [
"MIT"
] | null | null | null | solvers/__init__.py | kevinychen/nikoli-puzzle-solver | be288566e9b864d7acd0c063a6d2bc1fc067a32c | [
"MIT"
] | 1 | 2022-01-12T00:03:48.000Z | 2022-01-12T00:03:48.000Z | from re import match
from typing import Optional
from solvers.aquarium import AquariumSolver
from solvers.balanceloop import BalanceLoopSolver
from solvers.castlewall import CastleWallSolver
from solvers.cave import CaveSolver
from solvers.easyasabc import EasyAsAbcSolver
from solvers.fillomino import FillominoSolver
... | 78.984749 | 120 | 0.309125 | 7,910 | 36,254 | 1.414791 | 0.01871 | 0.567242 | 0.742829 | 0.924672 | 0.734251 | 0.72594 | 0.7204 | 0.715039 | 0.712358 | 0.706192 | 0 | 0.375688 | 0.439069 | 36,254 | 458 | 121 | 79.157205 | 0.174616 | 0 | 0 | 0.337808 | 0 | 0.581655 | 0.810669 | 0.037513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008949 | false | 0 | 0.0783 | 0.006711 | 0.096197 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
a136437ed6e8a13413a78016dc26f6af737467c4 | 106 | py | Python | rulr/Utils/__init__.py | elliotwoods/Rulr-2.0 | 125503a8d58c4fcfbec9a32ca4a2cc7d9f3ec825 | [
"MIT"
] | 6 | 2019-02-15T17:17:00.000Z | 2020-08-26T17:02:44.000Z | rulr/Utils/__init__.py | elliotwoods/Rulr-2.0 | 125503a8d58c4fcfbec9a32ca4a2cc7d9f3ec825 | [
"MIT"
] | 1 | 2022-01-27T16:04:36.000Z | 2022-01-27T16:04:36.000Z | rulr/Utils/__init__.py | elliotwoods/Rulr-2.0 | 125503a8d58c4fcfbec9a32ca4a2cc7d9f3ec825 | [
"MIT"
] | null | null | null | from rulr.Utils._Viewable import *
from rulr.Utils._Functions import *
from rulr.Utils._Exports import * | 35.333333 | 36 | 0.792453 | 15 | 106 | 5.4 | 0.466667 | 0.296296 | 0.481481 | 0.469136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 3 | 37 | 35.333333 | 0.870968 | 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 |
a18b40a46d5448910a93f04e8775111a842a74bf | 18,685 | py | Python | Nonogram/tests/test_runner.py | alexpdev/MyGames | 3f99fc0dc22037c83acb743e048e158e373157e9 | [
"Apache-2.0"
] | 1 | 2019-12-13T17:05:32.000Z | 2019-12-13T17:05:32.000Z | Nonogram/tests/test_runner.py | alexpdev/MyGames | 3f99fc0dc22037c83acb743e048e158e373157e9 | [
"Apache-2.0"
] | 1 | 2019-02-28T06:51:47.000Z | 2019-03-03T02:46:37.000Z | Nonogram/tests/test_runner.py | alexpdev/MyGames | 3f99fc0dc22037c83acb743e048e158e373157e9 | [
"Apache-2.0"
] | null | null | null | from solver.nonogram import Nonogram
class TestExamples:
def run_all_tests(self):
self.test_example_0()
self.test_example_1()
self.test_example_2()
self.test_example_3()
self.test_example_4()
self.test_example_5()
def test_example_0(self):
clues = (((3,... | 145.976563 | 2,705 | 0.316671 | 5,071 | 18,685 | 1.160915 | 0.011635 | 0.446407 | 0.403601 | 0.343129 | 0.817734 | 0.755563 | 0.70919 | 0.688636 | 0.666723 | 0.643961 | 0 | 0.384261 | 0.314477 | 18,685 | 127 | 2,706 | 147.125984 | 0.075338 | 0 | 0 | 0.333333 | 0 | 0 | 0.002837 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.083333 | false | 0 | 0.009259 | 0 | 0.148148 | 0.074074 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
a19104a74cc51b5a74835dabb8299923c6f9a77b | 46,527 | py | Python | sdk/python/pulumi_alicloud/eci/_inputs.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/eci/_inputs.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/eci/_inputs.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 37.28125 | 193 | 0.638253 | 5,432 | 46,527 | 5.302467 | 0.040133 | 0.135958 | 0.136548 | 0.087074 | 0.889595 | 0.861716 | 0.812901 | 0.738604 | 0.708919 | 0.68111 | 0 | 0.002184 | 0.242354 | 46,527 | 1,247 | 194 | 37.311147 | 0.814899 | 0.188536 | 0 | 0.715198 | 1 | 0 | 0.110424 | 0.052148 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203065 | false | 0.020434 | 0.006386 | 0.010217 | 0.321839 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a1cf81df5e3c52166d575de8483d6fb2ec6c8eb1 | 2,410 | py | Python | datasets/create_imagenets_t4.py | akshitac8/OW-DETR | 9d6705f059a1eb51ea6edfa26ee624abeb67c775 | [
"Apache-2.0"
] | 7 | 2022-03-29T22:38:05.000Z | 2022-03-30T11:47:00.000Z | datasets/create_imagenets_t4.py | akshitac8/OW-DETR | 9d6705f059a1eb51ea6edfa26ee624abeb67c775 | [
"Apache-2.0"
] | null | null | null | datasets/create_imagenets_t4.py | akshitac8/OW-DETR | 9d6705f059a1eb51ea6edfa26ee624abeb67c775 | [
"Apache-2.0"
] | null | null | null | from pycocotools.coco import COCO
import numpy as np
T4_CLASS_NAMES = [
"laptop","mouse","remote","keyboard","cell phone",
"book","clock","vase","scissors","teddy bear","hair drier",
"toothbrush","wine glass","cup","fork","knife","spoon","bowl","tv","bottle"
]
# Train
coco_annotation_file = '../../data/co... | 31.298701 | 121 | 0.699585 | 368 | 2,410 | 4.372283 | 0.263587 | 0.052206 | 0.03729 | 0.064636 | 0.83468 | 0.83468 | 0.813549 | 0.75637 | 0.709136 | 0.709136 | 0 | 0.015474 | 0.141909 | 2,410 | 76 | 122 | 31.710526 | 0.762573 | 0.097925 | 0 | 0.754717 | 0 | 0 | 0.198061 | 0.098338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.037736 | 0.150943 | 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 |
a1e296efd299e3a93efa6bce7840acbfb99b947f | 65,440 | py | Python | tests/unittests/evaluation_tests.py | Fariborzzz/fiftyone | 06975961f5ee649dd36429feb21c959dfc0744ed | [
"Apache-2.0"
] | 1 | 2021-12-17T10:11:37.000Z | 2021-12-17T10:11:37.000Z | tests/unittests/evaluation_tests.py | Fariborzzz/fiftyone | 06975961f5ee649dd36429feb21c959dfc0744ed | [
"Apache-2.0"
] | null | null | null | tests/unittests/evaluation_tests.py | Fariborzzz/fiftyone | 06975961f5ee649dd36429feb21c959dfc0744ed | [
"Apache-2.0"
] | null | null | null | """
FiftyOne evaluation-related unit tests.
| Copyright 2017-2021, Voxel51, Inc.
| `voxel51.com <https://voxel51.com/>`_
|
"""
import unittest
import warnings
import numpy as np
import fiftyone as fo
from decorators import drop_datasets
class RegressionTests(unittest.TestCase):
def _make_regression_dataset(se... | 33.134177 | 78 | 0.544254 | 6,655 | 65,440 | 5.195943 | 0.031104 | 0.008213 | 0.008155 | 0.051823 | 0.98288 | 0.978195 | 0.969895 | 0.964314 | 0.96041 | 0.953353 | 0 | 0.023532 | 0.321409 | 65,440 | 1,974 | 79 | 33.150963 | 0.755151 | 0.05599 | 0 | 0.839623 | 0 | 0 | 0.067234 | 0.006718 | 0 | 0 | 0 | 0 | 0.192049 | 1 | 0.020216 | false | 0 | 0.003369 | 0 | 0.035714 | 0.018868 | 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 |
629cbce96b51ae9d0c47568f4b609e4b3955c105 | 64 | py | Python | CodeWars/7 Kyu/Binary sXORe.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Binary sXORe.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Binary sXORe.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def sxore(n):
return (n * (n % 2 == 0)) + ((n + 1) % 4) // 2 | 32 | 50 | 0.359375 | 12 | 64 | 1.916667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 0.328125 | 64 | 2 | 50 | 32 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
62de7fb9d2db0ad9c2ee6c9d78010956c7f7e72d | 7,752 | py | Python | good_robot/None.py | ANaka/good_robot | f39371ef94a6ddbb50d17acced86ed0b12423a3c | [
"Apache-2.0"
] | null | null | null | good_robot/None.py | ANaka/good_robot | f39371ef94a6ddbb50d17acced86ed0b12423a3c | [
"Apache-2.0"
] | 2 | 2021-09-28T02:00:02.000Z | 2022-02-26T07:25:42.000Z | good_robot/None.py | ANaka/good_robot | f39371ef94a6ddbb50d17acced86ed0b12423a3c | [
"Apache-2.0"
] | null | null | null |
# Cell
#export
import bezier
from matplotlib.collections import LineCollection
from matplotlib import pyplot as plt
import numpy as np
from penkit import write, preview
from pathlib import Path
import seaborn as sns
from tqdm import tqdm
from nbdev.showdoc import *
from .gram import *
%load_ext autoreload
%autoreloa... | 20.135065 | 49 | 0.814241 | 1,152 | 7,752 | 5.458333 | 0.024306 | 0.10687 | 0.061069 | 0.083969 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.003663 | 0.154799 | 7,752 | 385 | 50 | 20.135065 | 0.956044 | 0.033927 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.833333 | 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 | 1 | 0 | 0 | 0 | 0 | 9 |
c55f209df8c907a3b835f3aadca79abe01df8b44 | 32,043 | py | Python | plenum/test/consensus/view_change/test_view_change_service.py | donqui/indy-plenum | ca6e8a3c5b15e35f176a6530ac537efda127213a | [
"Apache-2.0"
] | null | null | null | plenum/test/consensus/view_change/test_view_change_service.py | donqui/indy-plenum | ca6e8a3c5b15e35f176a6530ac537efda127213a | [
"Apache-2.0"
] | null | null | null | plenum/test/consensus/view_change/test_view_change_service.py | donqui/indy-plenum | ca6e8a3c5b15e35f176a6530ac537efda127213a | [
"Apache-2.0"
] | null | null | null | import random
import pytest
from unittest.mock import Mock
from plenum.common.messages.internal_messages import NeedViewChange, NewViewAccepted, ViewChangeStarted, \
NewViewCheckpointsApplied, NodeNeedViewChange
from plenum.common.startable import Mode
from plenum.common.util import getMaxFailures
from plenum.ser... | 46.641921 | 121 | 0.6975 | 4,110 | 32,043 | 5.03747 | 0.058151 | 0.080661 | 0.078825 | 0.055786 | 0.83636 | 0.816944 | 0.78323 | 0.757342 | 0.733288 | 0.715755 | 0 | 0.005531 | 0.238305 | 32,043 | 686 | 122 | 46.709913 | 0.84275 | 0.078551 | 0 | 0.714575 | 0 | 0 | 0.001901 | 0 | 0 | 0 | 0 | 0.001458 | 0.190283 | 1 | 0.054656 | false | 0 | 0.034413 | 0.002024 | 0.131579 | 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 |
c56538caf911733f83d5f431a8002d763e7b316f | 38,927 | py | Python | boa3_test/tests/compiler_tests/test_list.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/compiler_tests/test_list.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/compiler_tests/test_list.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | import unittest
from boa3.boa3 import Boa3
from boa3.exception import CompilerError, CompilerWarning
from boa3.model.type.type import Type
from boa3.neo.vm.opcode.Opcode import Opcode
from boa3.neo.vm.type.Integer import Integer
from boa3.neo.vm.type.String import String
from boa3_test.tests.boa_test import BoaTest
fr... | 33.849565 | 91 | 0.545611 | 4,042 | 38,927 | 5.079169 | 0.069025 | 0.033122 | 0.032684 | 0.056454 | 0.849878 | 0.825426 | 0.790502 | 0.773746 | 0.741841 | 0.705407 | 0 | 0.029969 | 0.352814 | 38,927 | 1,149 | 92 | 33.879025 | 0.78494 | 0.045084 | 0 | 0.767839 | 0 | 0 | 0.049021 | 0.02389 | 0 | 0 | 0 | 0 | 0.092462 | 1 | 0.061307 | false | 0 | 0.01005 | 0 | 0.073367 | 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 |
3d982c0ce002f70bc04c93d7c1e24b473a445024 | 1,480 | py | Python | rail/my_widgets.py | MohitSinghal2811/IR-PRS | c04e310e413e34630ce4b7cd88b3456bfaeb76b2 | [
"MIT"
] | 1 | 2020-11-29T16:53:49.000Z | 2020-11-29T16:53:49.000Z | rail/my_widgets.py | harshit37/IR-PRS | c04e310e413e34630ce4b7cd88b3456bfaeb76b2 | [
"MIT"
] | null | null | null | rail/my_widgets.py | harshit37/IR-PRS | c04e310e413e34630ce4b7cd88b3456bfaeb76b2 | [
"MIT"
] | 1 | 2021-03-30T13:53:32.000Z | 2021-03-30T13:53:32.000Z | from django import forms
from django.template import loader
from django.utils.safestring import mark_safe
class MyDateWidget(forms.Widget):
template_name = 'widgets/date_field.html'
def get_context(self, name, value, attrs=None):
return {'widget': {
'name': name,
'value': value... | 30.204082 | 74 | 0.641216 | 175 | 1,480 | 5.297143 | 0.182857 | 0.116505 | 0.135922 | 0.116505 | 0.845739 | 0.748652 | 0.748652 | 0.748652 | 0.748652 | 0.748652 | 0 | 0 | 0.243243 | 1,480 | 48 | 75 | 30.833333 | 0.827679 | 0 | 0 | 0.75 | 0 | 0 | 0.077027 | 0.046622 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0.083333 | 0.583333 | 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 |
3db9b7d05fe643f8af371301203ec6b88977bf26 | 175 | py | Python | glitter/blocks/call_to_action/admin.py | dhamaniasad/django-glitter | b9b0a3d8b49d5d9b840656f84564ba0a6e016f98 | [
"BSD-3-Clause"
] | 3 | 2017-06-01T16:22:18.000Z | 2018-08-22T21:45:55.000Z | glitter/blocks/call_to_action/admin.py | blancltd/django-glitter | b9b0a3d8b49d5d9b840656f84564ba0a6e016f98 | [
"BSD-3-Clause"
] | 85 | 2016-02-25T10:34:03.000Z | 2017-04-03T11:07:59.000Z | glitter/blocks/call_to_action/admin.py | dhamaniasad/django-glitter | b9b0a3d8b49d5d9b840656f84564ba0a6e016f98 | [
"BSD-3-Clause"
] | 1 | 2020-04-21T19:14:11.000Z | 2020-04-21T19:14:11.000Z | from glitter.blockadmin import blocks
from .models import CallToActionBlock
blocks.site.register(CallToActionBlock)
blocks.site.register_block(CallToActionBlock, 'Common')
| 21.875 | 55 | 0.845714 | 19 | 175 | 7.736842 | 0.578947 | 0.312925 | 0.367347 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 175 | 7 | 56 | 25 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0.034286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3dfa7abbbb23ee7f1477983fc95f355f8b2f76d8 | 86 | py | Python | src/igor/__init__.py | CaptainCuddleCube/igor | 41a145ba9c0a011ac166ce2036c8a633f8cdee3b | [
"MIT"
] | 4 | 2019-10-05T19:13:38.000Z | 2019-10-06T17:30:55.000Z | src/igor/__init__.py | CaptainCuddleCube/igor | 41a145ba9c0a011ac166ce2036c8a633f8cdee3b | [
"MIT"
] | null | null | null | src/igor/__init__.py | CaptainCuddleCube/igor | 41a145ba9c0a011ac166ce2036c8a633f8cdee3b | [
"MIT"
] | null | null | null | from igor.app.igor import Igor
from igor.app.slack_message import send_slack_message
| 21.5 | 53 | 0.848837 | 15 | 86 | 4.666667 | 0.466667 | 0.228571 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 86 | 3 | 54 | 28.666667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
9a7890139efd4c126890ef4600027ef6de43dfea | 85,858 | py | Python | espnet/nets/pytorch_backend/e2e_asr_transformer_cl.py | sadhusamik/espnet | 669d4125b0f97c5c1594313855d6844ec6e10950 | [
"Apache-2.0"
] | null | null | null | espnet/nets/pytorch_backend/e2e_asr_transformer_cl.py | sadhusamik/espnet | 669d4125b0f97c5c1594313855d6844ec6e10950 | [
"Apache-2.0"
] | null | null | null | espnet/nets/pytorch_backend/e2e_asr_transformer_cl.py | sadhusamik/espnet | 669d4125b0f97c5c1594313855d6844ec6e10950 | [
"Apache-2.0"
] | 1 | 2021-11-27T03:10:00.000Z | 2021-11-27T03:10:00.000Z | # Copyright 2019 Shigeki Karita
# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
"""Transformer speech recognition model (pytorch)."""
import sys
from argparse import Namespace
import logging
import math
from copy import deepcopy
import numpy
import torch
from torch import nn
from espnet.net... | 49.061714 | 140 | 0.513406 | 9,960 | 85,858 | 4.189056 | 0.048394 | 0.05781 | 0.038252 | 0.016178 | 0.900055 | 0.894902 | 0.886346 | 0.876711 | 0.866908 | 0.866093 | 0 | 0.010497 | 0.390866 | 85,858 | 1,749 | 141 | 49.089766 | 0.787281 | 0.07375 | 0 | 0.850217 | 0 | 0.001447 | 0.072255 | 0.000544 | 0 | 0 | 0 | 0.002287 | 0.002894 | 1 | 0.013748 | false | 0 | 0.034732 | 0.000724 | 0.068017 | 0.001447 | 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 |
9acf96a15a3abd75bbd5c4d77bce1883ea20e35a | 11,800 | py | Python | lang/python/github/com/metaprov/modelaapi/services/notifier/v1/notifier_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 5 | 2022-02-18T03:40:10.000Z | 2022-03-01T16:11:24.000Z | lang/python/github/com/metaprov/modelaapi/services/notifier/v1/notifier_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-01-07T19:59:25.000Z | 2022-02-04T01:21:14.000Z | lang/python/github/com/metaprov/modelaapi/services/notifier/v1/notifier_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:21:43.000Z | 2022-03-25T10:21:43.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from github.com.metaprov.modelaapi.services.notifier.v1 import notifier_pb2 as github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_notifier_dot_v1_dot_not... | 59.296482 | 174 | 0.744322 | 1,233 | 11,800 | 6.623682 | 0.089213 | 0.083507 | 0.045549 | 0.056936 | 0.887107 | 0.887107 | 0.887107 | 0.858455 | 0.844619 | 0.814497 | 0 | 0.007893 | 0.194746 | 11,800 | 198 | 175 | 59.59596 | 0.85161 | 0.058136 | 0 | 0.493827 | 1 | 0 | 0.106369 | 0.079551 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.012346 | 0.030864 | 0.135802 | 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 |
9ae023a32e243c59d49da2f650adcb75170be567 | 137 | py | Python | notebooks/project_function1.py | data301-2021-winter1/project-group40-project | 225f9992e77cb390f2e50c535483615ff3be250e | [
"MIT"
] | null | null | null | notebooks/project_function1.py | data301-2021-winter1/project-group40-project | 225f9992e77cb390f2e50c535483615ff3be250e | [
"MIT"
] | null | null | null | notebooks/project_function1.py | data301-2021-winter1/project-group40-project | 225f9992e77cb390f2e50c535483615ff3be250e | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
def select(df, col):
return df[col]
def specify(df, col, s):
return df.loc[df[col] == s] | 17.125 | 31 | 0.649635 | 26 | 137 | 3.423077 | 0.538462 | 0.224719 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218978 | 137 | 8 | 31 | 17.125 | 0.831776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
9ae54fd1096366bc91c4b72f968cd36b58ae728e | 8,402 | py | Python | leasing/tests/api/test_lease_basis_of_rent_lock.py | hkotkanen/mvj | a22d40869ef1b13924da428f3026d248acef81a7 | [
"MIT"
] | null | null | null | leasing/tests/api/test_lease_basis_of_rent_lock.py | hkotkanen/mvj | a22d40869ef1b13924da428f3026d248acef81a7 | [
"MIT"
] | null | null | null | leasing/tests/api/test_lease_basis_of_rent_lock.py | hkotkanen/mvj | a22d40869ef1b13924da428f3026d248acef81a7 | [
"MIT"
] | null | null | null | import datetime
import json
import pytest
import pytz
from django.contrib.auth.models import Permission
from django.core.serializers.json import DjangoJSONEncoder
from django.urls import reverse
from leasing.models import LeaseBasisOfRent
@pytest.mark.django_db
def test_lock_lease_basis_of_rent(django_db_setup, cli... | 30.664234 | 119 | 0.668293 | 1,023 | 8,402 | 5.147605 | 0.091887 | 0.061147 | 0.09343 | 0.106343 | 0.941891 | 0.941891 | 0.937144 | 0.924231 | 0.924231 | 0.924231 | 0 | 0.014268 | 0.224232 | 8,402 | 273 | 120 | 30.776557 | 0.793648 | 0 | 0 | 0.821256 | 0 | 0 | 0.147584 | 0.048203 | 0 | 0 | 0 | 0 | 0.048309 | 1 | 0.024155 | false | 0.048309 | 0.038647 | 0 | 0.062802 | 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 |
9af09d55cdb3aa6f9b9ab513807769f2e9caf25e | 67,869 | py | Python | octopus_deploy_swagger_client/octopus_deploy_client/library_variable_sets_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/library_variable_sets_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/library_variable_sets_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | 48.305338 | 218 | 0.675537 | 7,899 | 67,869 | 5.443221 | 0.027345 | 0.091055 | 0.105917 | 0.070146 | 0.98779 | 0.98779 | 0.98779 | 0.985138 | 0.985138 | 0.985138 | 0 | 0.012843 | 0.250821 | 67,869 | 1,404 | 219 | 48.339744 | 0.83277 | 0.344944 | 0 | 0.828496 | 1 | 0 | 0.230378 | 0.119677 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038259 | false | 0 | 0.005277 | 0 | 0.100264 | 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 |
9affb77bc3f9ab6ee186559cd6e8c8219e36da04 | 11,804 | py | Python | migrations/versions/3a2162fd58de_.py | joeflack4/just-a-dash | 3fabb6e5e69e5f1a9ea07cf58b7496d3a64b0c8a | [
"MIT"
] | 3 | 2019-06-27T13:29:07.000Z | 2019-12-19T17:09:48.000Z | migrations/versions/3a2162fd58de_.py | joeflack4/just-a-dash | 3fabb6e5e69e5f1a9ea07cf58b7496d3a64b0c8a | [
"MIT"
] | null | null | null | migrations/versions/3a2162fd58de_.py | joeflack4/just-a-dash | 3fabb6e5e69e5f1a9ea07cf58b7496d3a64b0c8a | [
"MIT"
] | 2 | 2019-06-29T16:04:01.000Z | 2019-12-07T15:27:13.000Z | """empty message
Revision ID: 3a2162fd58de
Revises: 633c71628a85
Create Date: 2016-04-03 11:25:44.460472
"""
# revision identifiers, used by Alembic.
revision = '3a2162fd58de'
down_revision = '633c71628a85'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - ... | 56.75 | 111 | 0.700356 | 1,711 | 11,804 | 4.71654 | 0.070719 | 0.153656 | 0.24461 | 0.322181 | 0.920942 | 0.920322 | 0.900372 | 0.895787 | 0.869517 | 0.835688 | 0 | 0.044661 | 0.11225 | 11,804 | 207 | 112 | 57.024155 | 0.725451 | 0.024653 | 0 | 0.518519 | 0 | 0 | 0.17047 | 0.017334 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010582 | false | 0 | 0.010582 | 0 | 0.021164 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b1206c7dd13b2bde46d9d5fc951ef89298040872 | 16,340 | py | Python | tests/test_table_inline_formset.py | blasferna/crispy-tailwind | f1001e3b315f1c9d83c0a03b818cd21379784c79 | [
"MIT"
] | null | null | null | tests/test_table_inline_formset.py | blasferna/crispy-tailwind | f1001e3b315f1c9d83c0a03b818cd21379784c79 | [
"MIT"
] | null | null | null | tests/test_table_inline_formset.py | blasferna/crispy-tailwind | f1001e3b315f1c9d83c0a03b818cd21379784c79 | [
"MIT"
] | null | null | null | import django
from django.forms import formset_factory
from django.test import SimpleTestCase
from crispy_forms.helper import FormHelper
from crispy_forms.utils import render_crispy_form
from crispy_tailwind.layout import Submit
from .forms import SampleForm, ShortCharFieldForm
class CrispyHelperTests(SimpleTestCas... | 62.129278 | 367 | 0.501775 | 1,981 | 16,340 | 4.039879 | 0.100959 | 0.019493 | 0.019368 | 0.022492 | 0.882544 | 0.842184 | 0.788329 | 0.726977 | 0.698238 | 0.69424 | 0 | 0.052067 | 0.378213 | 16,340 | 262 | 368 | 62.366412 | 0.73563 | 0 | 0 | 0.606299 | 0 | 0.161417 | 0.91273 | 0.166401 | 0 | 0 | 0 | 0 | 0.007874 | 1 | 0.007874 | false | 0.086614 | 0.027559 | 0 | 0.043307 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
b191346eb9e54e89470c0a2ec18b044a465e65fc | 935 | py | Python | PopUpNext_v2/parameters.py | stefanbirs/FMES | d31d36c9abb08a0388a02a9178df58c58d2ec506 | [
"Apache-2.0"
] | 3 | 2018-10-13T20:15:10.000Z | 2020-03-31T09:03:04.000Z | PopUpNext_v2/parameters.py | stefanbirs/FMES | d31d36c9abb08a0388a02a9178df58c58d2ec506 | [
"Apache-2.0"
] | 2 | 2018-11-23T15:48:55.000Z | 2018-11-23T15:50:54.000Z | PopUpNext_v2/parameters.py | stefanbirs/FMES | d31d36c9abb08a0388a02a9178df58c58d2ec506 | [
"Apache-2.0"
] | 2 | 2018-10-13T20:15:12.000Z | 2020-03-02T03:37:26.000Z | import a_star
import generate_citymap
# City Map
maze = [[0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 2, 0, 2, 1, 2, 0, 2, 0, 2, 0, 2, 0],
[0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 2, 0, 2, 1, 2, 0, 2, 0, 2, 0, 2, 0],
[0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 2, 0, 2, 1, 2... | 32.241379 | 53 | 0.42246 | 223 | 935 | 1.713004 | 0.121076 | 0.340314 | 0.39267 | 0.376963 | 0.439791 | 0.434555 | 0.410995 | 0.410995 | 0.410995 | 0.410995 | 0 | 0.28201 | 0.340107 | 935 | 28 | 54 | 33.392857 | 0.337115 | 0.15508 | 0 | 0.35 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4952e0ca73bda7ed533f9b9bf52adad972385f44 | 58,945 | py | Python | keras_utils.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | 2 | 2021-04-28T13:33:45.000Z | 2021-11-09T14:31:09.000Z | keras_utils.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | null | null | null | keras_utils.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | 1 | 2021-03-07T13:25:59.000Z | 2021-03-07T13:25:59.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Some order to the code - the utils!
"""
from __future__ import division, print_function, absolute_import
import numpy as np
import cv2
import misc
from RL_networks import Stand_alone_net
import pandas as pd
import random
import os
# import importlib
# importlib.reloa... | 40.456417 | 181 | 0.630045 | 7,839 | 58,945 | 4.585661 | 0.060467 | 0.116588 | 0.052077 | 0.100036 | 0.878321 | 0.858542 | 0.851253 | 0.842713 | 0.826189 | 0.816508 | 0 | 0.035148 | 0.21951 | 58,945 | 1,457 | 182 | 40.456417 | 0.746207 | 0.130885 | 0 | 0.746 | 0 | 0 | 0.064583 | 0.042112 | 0 | 0 | 0 | 0.000686 | 0 | 1 | 0.038 | false | 0 | 0.013 | 0.004 | 0.094 | 0.075 | 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 |
7715ebbdb5b6d4598e7ce3c39086c9a497e9c8ba | 218 | py | Python | triplet_tools/__init__.py | maxsch3/pk-triplet | 84fb9e7244a577760a1fcd0c3e6135c50b00ce69 | [
"MIT"
] | 1 | 2021-10-02T04:47:46.000Z | 2021-10-02T04:47:46.000Z | triplet_tools/__init__.py | maxsch3/pk-triplet | 84fb9e7244a577760a1fcd0c3e6135c50b00ce69 | [
"MIT"
] | 11 | 2020-01-19T19:38:45.000Z | 2022-02-10T00:43:53.000Z | triplet_tools/__init__.py | maxsch3/triplet-toolbox | 84fb9e7244a577760a1fcd0c3e6135c50b00ce69 | [
"MIT"
] | null | null | null | from .losses.triplet_batch_hard_loss import triplet_batch_hard_loss
from .losses.triplet_batch_semihard_loss import triplet_batch_semihard_loss
from .losses.triplet_batch_priming_loss import triplet_batch_priming_loss
| 54.5 | 75 | 0.917431 | 33 | 218 | 5.515152 | 0.272727 | 0.395604 | 0.28022 | 0.362637 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055046 | 218 | 3 | 76 | 72.666667 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
77597781d7200e2ed02885e1ed1ebec431397f5d | 142 | py | Python | jigu/core/auth/__init__.py | bongtrop/jigu | 448bce8ce693f3f7c530bea0f2f268e22100937a | [
"MIT"
] | 14 | 2020-03-03T06:46:39.000Z | 2021-05-01T15:29:35.000Z | jigu/core/auth/__init__.py | bongtrop/jigu | 448bce8ce693f3f7c530bea0f2f268e22100937a | [
"MIT"
] | 9 | 2020-03-09T06:36:30.000Z | 2021-02-15T14:40:48.000Z | jigu/core/auth/__init__.py | bongtrop/jigu | 448bce8ce693f3f7c530bea0f2f268e22100937a | [
"MIT"
] | 5 | 2020-05-30T22:38:34.000Z | 2021-02-11T00:56:20.000Z | import jigu.core.auth.account
import jigu.core.auth.transaction
from jigu.core.auth.account import *
from jigu.core.auth.transaction import *
| 28.4 | 40 | 0.816901 | 22 | 142 | 5.272727 | 0.318182 | 0.275862 | 0.413793 | 0.310345 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 142 | 4 | 41 | 35.5 | 0.892308 | 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 |
6224dba85bd8b41e616714a8438e53fb1d8992bd | 148 | py | Python | tests/tests/paths.py | hyperoslo/django-pipeline | 9f538190652e089cc807c5c531e75d8ec75639f2 | [
"MIT"
] | null | null | null | tests/tests/paths.py | hyperoslo/django-pipeline | 9f538190652e089cc807c5c531e75d8ec75639f2 | [
"MIT"
] | null | null | null | tests/tests/paths.py | hyperoslo/django-pipeline | 9f538190652e089cc807c5c531e75d8ec75639f2 | [
"MIT"
] | null | null | null | import os
def _(path):
# Make sure the path contains only the correct separator
return path.replace('/', os.sep).replace('\\', os.sep)
| 21.142857 | 61 | 0.648649 | 21 | 148 | 4.52381 | 0.666667 | 0.189474 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209459 | 148 | 6 | 62 | 24.666667 | 0.811966 | 0.364865 | 0 | 0 | 0 | 0 | 0.033708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
02a76c5d8a723f292f4fda36bf841ccff862dd02 | 5,262 | py | Python | apps/funds/tests/test_api/private/test_invalid_requests.py | GiannisClipper/payments | 94e08144597b3f4cd0de8485edf3f5535aeb9da6 | [
"MIT"
] | null | null | null | apps/funds/tests/test_api/private/test_invalid_requests.py | GiannisClipper/payments | 94e08144597b3f4cd0de8485edf3f5535aeb9da6 | [
"MIT"
] | null | null | null | apps/funds/tests/test_api/private/test_invalid_requests.py | GiannisClipper/payments | 94e08144597b3f4cd0de8485edf3f5535aeb9da6 | [
"MIT"
] | null | null | null | from unittest import skip # noqa: F401
from rest_framework import status
from funds.tests.test_api import ROOT_URL, BY_ID_1_URL, LIST_URL
from . import AdminPrivateFundsAPITests, OwnerPrivateFundsAPITests
class AdminPost(AdminPrivateFundsAPITests):
'''Test admin's invalid POST requests to funds API.'''
ME... | 32.8875 | 91 | 0.676739 | 685 | 5,262 | 5.042336 | 0.135766 | 0.070353 | 0.072959 | 0.052113 | 0.808917 | 0.779965 | 0.773017 | 0.755646 | 0.742328 | 0.682976 | 0 | 0.010834 | 0.193082 | 5,262 | 159 | 92 | 33.09434 | 0.802638 | 0.119726 | 0 | 0.736264 | 0 | 0 | 0.065749 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 1 | 0.098901 | false | 0 | 0.043956 | 0 | 0.351648 | 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 |
02b8e18b7a35835721fce0bf332841c5ad0e67f3 | 28,310 | py | Python | transaction_creation/rbac_transaction_creation/role_transaction_creation.py | hyperultra/sawtooth-next-directory-poc | cb34b7b3d906bc5b5d429078ba5cf0ffc9af0401 | [
"Apache-2.0"
] | null | null | null | transaction_creation/rbac_transaction_creation/role_transaction_creation.py | hyperultra/sawtooth-next-directory-poc | cb34b7b3d906bc5b5d429078ba5cf0ffc9af0401 | [
"Apache-2.0"
] | 9 | 2018-09-05T22:52:16.000Z | 2018-09-14T22:44:29.000Z | transaction_creation/rbac_transaction_creation/role_transaction_creation.py | agoldingay/sawtooth-next-directory | 0653609ce29c362137d965b7712ae31b5a2d27ed | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 32.690531 | 79 | 0.612716 | 3,128 | 28,310 | 5.115729 | 0.053708 | 0.068616 | 0.058493 | 0.068991 | 0.893201 | 0.885577 | 0.869641 | 0.854706 | 0.845457 | 0.845269 | 0 | 0.004425 | 0.321406 | 28,310 | 865 | 80 | 32.728324 | 0.828536 | 0.073684 | 0 | 0.849294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039246 | false | 0 | 0.006279 | 0 | 0.084772 | 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 |
02c49ff0fd0421f8e05f265a53de5deae22afe36 | 142,732 | py | Python | azure-keyvault/azure/keyvault/generated/key_vault_client.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | 1 | 2018-11-09T06:16:34.000Z | 2018-11-09T06:16:34.000Z | azure-keyvault/azure/keyvault/generated/key_vault_client.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | null | null | null | azure-keyvault/azure/keyvault/generated/key_vault_client.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | 1 | 2018-11-09T06:17:41.000Z | 2018-11-09T06:17:41.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 ... | 46.191586 | 226 | 0.670641 | 15,448 | 142,732 | 6.00233 | 0.028288 | 0.027501 | 0.027177 | 0.032613 | 0.932574 | 0.927764 | 0.924895 | 0.920096 | 0.915491 | 0.907942 | 0 | 0.00412 | 0.238111 | 142,732 | 3,089 | 227 | 46.206539 | 0.848546 | 0.336175 | 0 | 0.85579 | 0 | 0 | 0.131119 | 0.052898 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037145 | false | 0.001457 | 0.010197 | 0 | 0.115076 | 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 |
02f2b5b07ea2dab0a8079a33348242895e9298e9 | 1,404 | py | Python | dataxHWSp2021/HW5_Flask/student/pytests/test_cli_del_post.py | UCBerkeley-SCET/DataX-Berkeley | f912d22c838b511d3ada4ecfa3548afd80437b74 | [
"Apache-2.0"
] | 28 | 2020-06-15T23:53:36.000Z | 2022-03-19T09:27:02.000Z | dataxHWSp2021/HW5_Flask/student/pytests/test_cli_del_post.py | UCBerkeley-SCET/DataX-Berkeley | f912d22c838b511d3ada4ecfa3548afd80437b74 | [
"Apache-2.0"
] | 4 | 2020-06-24T22:20:31.000Z | 2022-02-28T01:37:36.000Z | dataxHWSp2021/HW5_Flask/student/pytests/test_cli_del_post.py | UCBerkeley-SCET/DataX-Berkeley | f912d22c838b511d3ada4ecfa3548afd80437b74 | [
"Apache-2.0"
] | 78 | 2020-06-19T09:41:01.000Z | 2022-02-05T00:13:29.000Z | from flaskr.db import get_db
import os
with open(os.path.join(os.path.dirname(__file__),
'data-test-cli.sql'), 'rb') as f:
_data_sql = f.read().decode('utf8')
def test_del_post_command_1(runner, app):
with app.app_context():
get_db().executescript(_data_sql)
runner.invoke(args=['del... | 37.945946 | 78 | 0.611111 | 204 | 1,404 | 4.063725 | 0.235294 | 0.086852 | 0.144753 | 0.183353 | 0.866104 | 0.759952 | 0.759952 | 0.759952 | 0.759952 | 0.755127 | 0 | 0.014313 | 0.253561 | 1,404 | 36 | 79 | 39 | 0.776718 | 0 | 0 | 0.451613 | 0 | 0 | 0.224359 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 1 | 0.064516 | false | 0 | 0.064516 | 0 | 0.129032 | 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 |
f320067162458caf484cd6d26123c7f5ede3bc1a | 21,898 | py | Python | day9/day9.py | BroderickCarlin/AdventOfCode | 52d12d16f3d291a51984e6d85dbe97e604abc005 | [
"MIT"
] | null | null | null | day9/day9.py | BroderickCarlin/AdventOfCode | 52d12d16f3d291a51984e6d85dbe97e604abc005 | [
"MIT"
] | null | null | null | day9/day9.py | BroderickCarlin/AdventOfCode | 52d12d16f3d291a51984e6d85dbe97e604abc005 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
stream = "{{{{{{{<\"\"!>,<!<'}'ui!!!>!!!>!<{!!!!!>>},{}},{<<'\"i!!a!{oe!>!!e!!!,<u!>},<a>,{<}{a\",!',!!!>},<u,!!!>!}<,'!o<!>,<>}},{<!!!>'\"i!!!>u!>uai!<o>,<i!!!>!>},<!>,<!>!>}o!>},<!>,<!>},<!>,<!!!>>}},{{{<!!,!!!>oo\"!!a>}},{{{{<i!!!!{,!!}>}},{{{<a>},{{<a!{!!>}}}},{<!>!!i'... | 421.115385 | 20,645 | 0.118641 | 1,778 | 21,898 | 1.453881 | 0.08324 | 0.044101 | 0.017408 | 0.00619 | 0.139652 | 0.060735 | 0.048743 | 0.02089 | 0 | 0 | 0 | 0.000941 | 0.028998 | 21,898 | 51 | 20,646 | 429.372549 | 0.120632 | 0.005754 | 0 | 0.421053 | 0 | 0.5 | 0.614812 | 0.565469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0 | 0 | 0.157895 | 0.026316 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b833d96446873d737a94be13cac176343da30f72 | 9,276 | py | Python | api/gradebook/migrations/0001_initial.py | Latiftanga/TagnatekAPI | 8ad609a5d7097051796d25d9b532c770d32ac304 | [
"MIT"
] | null | null | null | api/gradebook/migrations/0001_initial.py | Latiftanga/TagnatekAPI | 8ad609a5d7097051796d25d9b532c770d32ac304 | [
"MIT"
] | null | null | null | api/gradebook/migrations/0001_initial.py | Latiftanga/TagnatekAPI | 8ad609a5d7097051796d25d9b532c770d32ac304 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.10 on 2022-01-10 17:51
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('core', '0007_alter_user_school'),
('students', '0009_auto_20220106_1611'),
('staff', '0... | 55.54491 | 166 | 0.588724 | 940 | 9,276 | 5.62766 | 0.118085 | 0.079395 | 0.054064 | 0.098299 | 0.81569 | 0.809074 | 0.775047 | 0.775047 | 0.756144 | 0.710586 | 0 | 0.015497 | 0.262613 | 9,276 | 166 | 167 | 55.879518 | 0.757895 | 0.004959 | 0 | 0.654088 | 1 | 0 | 0.129931 | 0.010511 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012579 | 0 | 0.037736 | 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 |
b85a91d0807cc29f4836d24c14e7e2489b7b859a | 49,884 | py | Python | api/client/swagger_client/api/notebook_service_api.py | Zachary-Fernandes/mlx | d5117c5585b969ca0de5f321d14b5a27cd468280 | [
"Apache-2.0"
] | null | null | null | api/client/swagger_client/api/notebook_service_api.py | Zachary-Fernandes/mlx | d5117c5585b969ca0de5f321d14b5a27cd468280 | [
"Apache-2.0"
] | null | null | null | api/client/swagger_client/api/notebook_service_api.py | Zachary-Fernandes/mlx | d5117c5585b969ca0de5f321d14b5a27cd468280 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The MLX Contributors
#
# SPDX-License-Identifier: Apache-2.0
# coding: utf-8
"""
MLX API
MLX API Extension for Kubeflow Pipelines # noqa: E501
OpenAPI spec version: 0.1.29-filter-categories
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ i... | 39.309693 | 191 | 0.607489 | 5,739 | 49,884 | 5.032236 | 0.043562 | 0.045152 | 0.025208 | 0.03241 | 0.951177 | 0.936357 | 0.923823 | 0.917105 | 0.909245 | 0.901489 | 0 | 0.014626 | 0.302361 | 49,884 | 1,268 | 192 | 39.340694 | 0.815235 | 0.334897 | 0 | 0.779856 | 0 | 0 | 0.180046 | 0.052556 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038849 | false | 0 | 0.005755 | 0 | 0.102158 | 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 |
b86e7498e897cd4d622080087bb2d72520402bd4 | 3,993 | py | Python | src/python/test/test_rips_complex.py | m0baxter/gudhi-devel | 6e14ef1f31e09f3875316440303450ff870d9881 | [
"MIT"
] | null | null | null | src/python/test/test_rips_complex.py | m0baxter/gudhi-devel | 6e14ef1f31e09f3875316440303450ff870d9881 | [
"MIT"
] | 1 | 2020-05-24T14:34:45.000Z | 2020-05-24T14:34:45.000Z | src/python/test/test_rips_complex.py | m0baxter/gudhi-devel | 6e14ef1f31e09f3875316440303450ff870d9881 | [
"MIT"
] | 1 | 2020-04-06T07:16:17.000Z | 2020-04-06T07:16:17.000Z | """ This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
Author(s): Vincent Rouvreau
Copyright (C) 2016 Inria
Modification(s):
- YYYY/MM Author: Description of t... | 29.360294 | 99 | 0.612322 | 560 | 3,993 | 4.071429 | 0.144643 | 0.031579 | 0.178947 | 0.083333 | 0.811404 | 0.811404 | 0.811404 | 0.8 | 0.765789 | 0.765789 | 0 | 0.108344 | 0.225645 | 3,993 | 135 | 100 | 29.577778 | 0.629043 | 0.077886 | 0 | 0.752688 | 0 | 0 | 0.011768 | 0 | 0 | 0 | 0 | 0 | 0.27957 | 1 | 0.064516 | false | 0 | 0.021505 | 0 | 0.086022 | 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 |
b28946da52ff3d230675b0b9e54d7323f9a8219d | 4,612 | py | Python | MapReduce2/mapper2.py | ellstock/Database-Management-Project-Big-Matrix-Multiplication | b235f03ebd2cdebdabedb8c32d6d8f1750a4e922 | [
"MIT"
] | null | null | null | MapReduce2/mapper2.py | ellstock/Database-Management-Project-Big-Matrix-Multiplication | b235f03ebd2cdebdabedb8c32d6d8f1750a4e922 | [
"MIT"
] | null | null | null | MapReduce2/mapper2.py | ellstock/Database-Management-Project-Big-Matrix-Multiplication | b235f03ebd2cdebdabedb8c32d6d8f1750a4e922 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
##get the size of the matrices from a size file:
#info = open("matrix_size.txt").readlines()
#for info_line in info:
# info_line = info_line.strip()
# matrix,i,j = info_line.split(",")
# if matrix == "A":
# #error prone type conversion
# try:
# A_i = int(... | 28.825 | 83 | 0.523851 | 718 | 4,612 | 3.222841 | 0.111421 | 0.089888 | 0.082973 | 0.038029 | 0.990493 | 0.990493 | 0.990493 | 0.990493 | 0.990493 | 0.990493 | 0 | 0.00696 | 0.314614 | 4,612 | 159 | 84 | 29.006289 | 0.725087 | 0.632264 | 0 | 0.55814 | 0 | 0 | 0.03075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.023256 | null | null | 0.093023 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a26639ba52c14546cf1e2bc70cf65a3fdec0eb0a | 468 | py | Python | tomon_sdk/utils/observable.py | tomon-world/tomon-sdk-py | d38e109800867a50d4f23f127cb75e0923c24f72 | [
"MIT"
] | 6 | 2020-08-16T08:58:50.000Z | 2020-08-27T06:21:39.000Z | tomon_sdk/utils/observable.py | tomon-world/tomon-sdk-py | d38e109800867a50d4f23f127cb75e0923c24f72 | [
"MIT"
] | null | null | null | tomon_sdk/utils/observable.py | tomon-world/tomon-sdk-py | d38e109800867a50d4f23f127cb75e0923c24f72 | [
"MIT"
] | null | null | null | from node_events import EventEmitter
class Observable:
emitter = EventEmitter()
def __init__(self):
pass
def on(self, event, listener):
return self.emitter.on(event, listener)
def off(self, event, listener):
return self.emitter.off(event, listener)
def once(self, ev... | 22.285714 | 49 | 0.649573 | 57 | 468 | 5.245614 | 0.350877 | 0.26087 | 0.227425 | 0.230769 | 0.341137 | 0.341137 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245727 | 468 | 20 | 50 | 23.4 | 0.847026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.076923 | 0.076923 | 0.307692 | 0.923077 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
a2bc0b87853f02baefe33696bc9e70b11a0bf00e | 6,815 | py | Python | Convert-Images_Into_Array/images_into_array.py | sujitmandal/Machine-Learning | d4bf364d50781836ad25120fbbb7df6ed784656c | [
"MIT"
] | 3 | 2021-11-26T10:44:29.000Z | 2022-01-09T13:20:43.000Z | Convert-Images_Into_Array/images_into_array.py | sujitmandal/Machine-Learning | d4bf364d50781836ad25120fbbb7df6ed784656c | [
"MIT"
] | null | null | null | Convert-Images_Into_Array/images_into_array.py | sujitmandal/Machine-Learning | d4bf364d50781836ad25120fbbb7df6ed784656c | [
"MIT"
] | null | null | null | import os
import cv2
import numpy as np
from tqdm import tqdm
from random import shuffle
#Github: https://github.com/sujitmandal
#This programe is create by Sujit Mandal
"""
Github: https://github.com/sujitmandal
This programe is create by Sujit Mandal
LinkedIn : https://www.linkedin.com/in/sujit-mandal-91215013a/... | 34.075 | 197 | 0.563316 | 853 | 6,815 | 5.624853 | 0.15592 | 0.062526 | 0.065652 | 0.091913 | 0.872864 | 0.865361 | 0.864944 | 0.855982 | 0.702584 | 0.689246 | 0 | 0.057915 | 0.163903 | 6,815 | 200 | 198 | 34.075 | 0.590207 | 0.116948 | 0 | 0.707071 | 0 | 0 | 0.002004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070707 | false | 0 | 0.050505 | 0 | 0.121212 | 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 |
a2bce8d02fc1feec3e947e71a8c64f3c998e11ad | 5,548 | py | Python | misc/old_data_to_text_files.py | scottsha/compute-n-loop | 8a810751bf14eb7e5ca58325ac9e724c604c455c | [
"MIT"
] | null | null | null | misc/old_data_to_text_files.py | scottsha/compute-n-loop | 8a810751bf14eb7e5ca58325ac9e724c604c455c | [
"MIT"
] | null | null | null | misc/old_data_to_text_files.py | scottsha/compute-n-loop | 8a810751bf14eb7e5ca58325ac9e724c604c455c | [
"MIT"
] | null | null | null | from sage.all_cmdline import *
#K2
for m in range(1,2):
name = 'K2_%d' %m
nz = load('../results/' + name + '_invariants.sobj')
numfield = nz[1][5]
shapes = nz[1][6]
A = nz[1][0]
B = nz[1][1]
nu = nz[1][2]
f = nz[1][3]
fp = nz[1][4]
oneloop = nz[0][0]
twoloop = nz[0][1]
... | 31.702857 | 157 | 0.600577 | 918 | 5,548 | 3.615468 | 0.120915 | 0.037963 | 0.169027 | 0.063272 | 0.903585 | 0.819223 | 0.747514 | 0.747514 | 0.747514 | 0.747514 | 0 | 0.039103 | 0.244052 | 5,548 | 174 | 158 | 31.885057 | 0.752265 | 0.278839 | 0 | 0.748148 | 0 | 0 | 0.136181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007407 | 0 | 0.007407 | 0.259259 | 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 |
a2f1ea46acabeb7373ea9755cb590d956b90b1e6 | 44 | py | Python | parameters_443.py | varshit97/placement-website | ba25b174d1ae8d6fb1cbd8099f9d7b31d9091d80 | [
"BSD-3-Clause"
] | null | null | null | parameters_443.py | varshit97/placement-website | ba25b174d1ae8d6fb1cbd8099f9d7b31d9091d80 | [
"BSD-3-Clause"
] | null | null | null | parameters_443.py | varshit97/placement-website | ba25b174d1ae8d6fb1cbd8099f9d7b31d9091d80 | [
"BSD-3-Clause"
] | null | null | null | password="89acf4d9ddfadf4e24e3432fa5f8d718"
| 22 | 43 | 0.909091 | 2 | 44 | 20 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372093 | 0.022727 | 44 | 1 | 44 | 44 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
a2fc49bf73bafb1cc35ade3889710177f15d8474 | 3,586 | py | Python | sing_test.py | vishalbpatil1/sing_test_statistics_python | b32d3176d47769e71bec277f758799c033da87a4 | [
"MIT"
] | null | null | null | sing_test.py | vishalbpatil1/sing_test_statistics_python | b32d3176d47769e71bec277f758799c033da87a4 | [
"MIT"
] | null | null | null | sing_test.py | vishalbpatil1/sing_test_statistics_python | b32d3176d47769e71bec277f758799c033da87a4 | [
"MIT"
] | null | null | null |
# non -parametric sign test for sinle samall sample
import numpy as np
import pandas as pd
from scipy.stats import binom
x=np.array([119,120,125,122,118,117,126,114,115,123,121,120,124,127,126])
M=120
differ=x-M # difference array
T1=sum(x>M) #No of positive sign
A=(x>M)
T2=sum(x<M) # No of ne... | 30.913793 | 84 | 0.638595 | 675 | 3,586 | 3.383704 | 0.2 | 0.021016 | 0.083187 | 0.035026 | 0.830998 | 0.82049 | 0.795096 | 0.795096 | 0.795096 | 0.795096 | 0 | 0.139288 | 0.185165 | 3,586 | 115 | 85 | 31.182609 | 0.642368 | 0.155605 | 0 | 0.860215 | 0 | 0 | 0.355656 | 0.018043 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0.301075 | 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 |
a73f77e8c9cc02d8d67353c274dfaef5081e7be0 | 20,548 | py | Python | label_studio/tests/test_predictions.py | xhuaustc/label-studio | b787824a9e16f488a9b4cd2cef83e1ac526a64f3 | [
"Apache-2.0"
] | 3 | 2021-07-16T03:48:21.000Z | 2022-01-10T04:58:25.000Z | label_studio/tests/test_predictions.py | xhuaustc/label-studio | b787824a9e16f488a9b4cd2cef83e1ac526a64f3 | [
"Apache-2.0"
] | 6 | 2022-02-21T15:19:35.000Z | 2022-03-07T15:25:16.000Z | label_studio/tests/test_predictions.py | xhuaustc/label-studio | b787824a9e16f488a9b4cd2cef83e1ac526a64f3 | [
"Apache-2.0"
] | 1 | 2021-08-18T15:07:47.000Z | 2021-08-18T15:07:47.000Z | """This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
"""
import pytest
import requests_mock
import json
from projects.models import Project
from ml.models import MLBackend
from tasks.models import Task, ... | 33.740558 | 168 | 0.546866 | 2,254 | 20,548 | 4.818988 | 0.089175 | 0.081753 | 0.053213 | 0.025041 | 0.820015 | 0.809151 | 0.785951 | 0.770208 | 0.753268 | 0.724636 | 0 | 0.023922 | 0.312391 | 20,548 | 608 | 169 | 33.796053 | 0.744851 | 0.175346 | 0 | 0.707657 | 0 | 0.00232 | 0.370087 | 0.062107 | 0 | 0 | 0 | 0 | 0.023202 | 1 | 0.009281 | false | 0 | 0.018561 | 0 | 0.032483 | 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 |
a78994f73341bc4d7b67a89ea0c2fb7eafffe164 | 1,443 | py | Python | LeArm code/LeArmSerial/com01.py | iamNCJ/ZKCup2019 | 6f4282831cdc8ad74d420526ed52da8dc74c1f79 | [
"MIT"
] | 3 | 2019-05-12T11:30:38.000Z | 2019-11-22T14:54:15.000Z | LeArm code/LeArmSerial/com01.py | iamNCJ/ZKCup2019 | 6f4282831cdc8ad74d420526ed52da8dc74c1f79 | [
"MIT"
] | null | null | null | LeArm code/LeArmSerial/com01.py | iamNCJ/ZKCup2019 | 6f4282831cdc8ad74d420526ed52da8dc74c1f79 | [
"MIT"
] | null | null | null | import serial
import time
RESET = [0x55, 0x55, 0x17, 0x03,
0x06, 0xE8, 0x03, 0x01,
0xC4, 0x09, 0x02, 0xDC,
0x05, 0x03, 0x4D, 0x02,
0x04, 0xF4, 0x01, 0x05,
0xF4, 0x01, 0x06, 0xDC,
0x05]
AHEADPOS_1 = [0x55, 0x55, 0x17, 0x03,
... | 29.44898 | 52 | 0.505891 | 177 | 1,443 | 4.062147 | 0.237288 | 0.089013 | 0.062587 | 0.111266 | 0.83032 | 0.83032 | 0.83032 | 0.83032 | 0.771905 | 0.522949 | 0 | 0.313531 | 0.370062 | 1,443 | 48 | 53 | 30.0625 | 0.477448 | 0.031878 | 0 | 0.714286 | 0 | 0 | 0.008621 | 0 | 0 | 0 | 0.287356 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a7cabae95bc82191ade61ff3fe3d2469a4cee890 | 12,574 | py | Python | tests/test_nn/test_loss.py | shizuku/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | 4 | 2021-10-31T13:31:13.000Z | 2021-12-11T08:45:36.000Z | tests/test_nn/test_loss.py | Azathoth1729/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | null | null | null | tests/test_nn/test_loss.py | Azathoth1729/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | 2 | 2021-10-31T13:34:28.000Z | 2021-11-21T09:11:46.000Z | import os
import sys
import unittest
import numpy as np
import torch
from torch.nn import functional as torch_F
from src.cranet.nn import functional as cranet_F
from src import cranet
from ..utils import teq
class TestL1Loss(unittest.TestCase):
def test_l1_0(self):
for _ in range(100):
x =... | 39.91746 | 77 | 0.553841 | 1,907 | 12,574 | 3.414788 | 0.046146 | 0.095823 | 0.127764 | 0.073096 | 0.934736 | 0.920455 | 0.911548 | 0.897113 | 0.888667 | 0.88836 | 0 | 0.039079 | 0.316208 | 12,574 | 314 | 78 | 40.044586 | 0.718307 | 0.094799 | 0 | 0.72549 | 0 | 0 | 0.010924 | 0 | 0 | 0 | 0 | 0 | 0.14902 | 1 | 0.062745 | false | 0 | 0.035294 | 0 | 0.117647 | 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 |
ac30e1309c8be6c20b725eac5c9d40f5e508fe0e | 9,224 | py | Python | api/tests/test_student_profile_employment.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 1 | 2022-03-03T09:55:57.000Z | 2022-03-03T09:55:57.000Z | api/tests/test_student_profile_employment.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 7 | 2022-02-09T10:44:53.000Z | 2022-03-28T03:29:43.000Z | api/tests/test_student_profile_employment.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | null | null | null | import pytest
from django.contrib.auth import get_user_model
from django.contrib.auth.models import AnonymousUser
from db.helper.forms import convert_date
from db.models import JobType, DateMode, Branch
@pytest.mark.django_db
def test_employment_date_range(login, user_student, student_employment, job_type_objects_d... | 40.45614 | 100 | 0.696444 | 1,206 | 9,224 | 5.083748 | 0.055556 | 0.139945 | 0.044038 | 0.061165 | 0.945523 | 0.938672 | 0.933453 | 0.927092 | 0.920731 | 0.912086 | 0 | 0.024536 | 0.21791 | 9,224 | 227 | 101 | 40.634361 | 0.82534 | 0 | 0 | 0.778378 | 0 | 0 | 0.098981 | 0.062446 | 0 | 0 | 0 | 0 | 0.459459 | 1 | 0.059459 | false | 0 | 0.027027 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ac384fd4b07c789d28535b38c64363821d27ed95 | 129 | py | Python | test_excercise1.py | LukasHoste/Algorithms_Vives_exercises_test | 9bc17450352ed1adf57833f739ba9e58bd2deb80 | [
"Apache-2.0"
] | null | null | null | test_excercise1.py | LukasHoste/Algorithms_Vives_exercises_test | 9bc17450352ed1adf57833f739ba9e58bd2deb80 | [
"Apache-2.0"
] | null | null | null | test_excercise1.py | LukasHoste/Algorithms_Vives_exercises_test | 9bc17450352ed1adf57833f739ba9e58bd2deb80 | [
"Apache-2.0"
] | 1 | 2021-10-14T07:30:44.000Z | 2021-10-14T07:30:44.000Z | from exercise1 import sumOfNumbers
def test_sumOfNumbers():
assert(sumOfNumbers(0,9) == 16)
assert(sumOfNumbers(0,20) == 48) | 25.8 | 34 | 0.744186 | 17 | 129 | 5.588235 | 0.705882 | 0.378947 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 0.124031 | 129 | 5 | 35 | 25.8 | 0.752212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ac3ede71caf8c3e0a95a749c3812ab8a1fdf0a9e | 2,022 | py | Python | venv3/lib/python3.8/site-packages/tests/script/test_too_many_options.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 94 | 2016-05-23T17:13:11.000Z | 2021-12-03T23:06:45.000Z | venv3/lib/python3.8/site-packages/tests/script/test_too_many_options.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 39 | 2016-05-19T17:57:53.000Z | 2020-12-26T09:57:21.000Z | venv3/lib/python3.8/site-packages/tests/script/test_too_many_options.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 15 | 2016-05-23T20:22:37.000Z | 2019-12-27T21:13:04.000Z | import subprocess
import pytest
pytestmark = pytest.mark.slow
version_file_content = """
major = 1
minor = 0
patch = 0
"""
config_file_content = """
__config_version__ = 1
GLOBALS = {
'serializer': '{{major}}.{{minor}}.{{patch}}',
}
FILES = ["README.md"]
VERSION = ['major', 'minor', 'patch']
"""
def test_s... | 22.719101 | 73 | 0.633531 | 222 | 2,022 | 5.396396 | 0.184685 | 0.187813 | 0.157763 | 0.187813 | 0.803005 | 0.77379 | 0.77379 | 0.705342 | 0.705342 | 0.705342 | 0 | 0.009759 | 0.239862 | 2,022 | 88 | 74 | 22.977273 | 0.769681 | 0 | 0 | 0.621212 | 0 | 0 | 0.251731 | 0.015826 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.030303 | 0 | 0.075758 | 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 |
ac69328f10b671bb7bccda1ff5ff9655a0a9de8f | 528 | py | Python | nipype/interfaces/semtools/filtering/__init__.py | sebastientourbier/nipype | 99c5904176481520c5bf42a501aae1a12184e672 | [
"Apache-2.0"
] | 2 | 2019-01-25T18:20:51.000Z | 2019-07-30T20:51:51.000Z | nipype/interfaces/semtools/filtering/__init__.py | sebastientourbier/nipype | 99c5904176481520c5bf42a501aae1a12184e672 | [
"Apache-2.0"
] | null | null | null | nipype/interfaces/semtools/filtering/__init__.py | sebastientourbier/nipype | 99c5904176481520c5bf42a501aae1a12184e672 | [
"Apache-2.0"
] | 2 | 2018-01-25T19:48:17.000Z | 2019-01-25T18:20:52.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .denoising import UnbiasedNonLocalMeans
from .featuredetection import GenerateSummedGradientImage, CannySegmentationLevelSetImageFilter, DilateImage, TextureFromNoiseImageFilter, FlippedDifference, ErodeImage, GenerateBrainClippedImage, NeighborhoodMed... | 105.6 | 419 | 0.882576 | 33 | 528 | 13.969697 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002024 | 0.064394 | 528 | 4 | 420 | 132 | 0.931174 | 0.039773 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3bbd9796e65519ed82148e5d783cd548f1375620 | 363,453 | py | Python | src/output.py | sisrfeng/CenterNet | 4c4b751b097f0ffeff8da2f8fdd4c12180ca26fc | [
"MIT"
] | null | null | null | src/output.py | sisrfeng/CenterNet | 4c4b751b097f0ffeff8da2f8fdd4c12180ca26fc | [
"MIT"
] | null | null | null | src/output.py | sisrfeng/CenterNet | 4c4b751b097f0ffeff8da2f8fdd4c12180ca26fc | [
"MIT"
] | null | null | null | nohup: ignoring input
Using tensorboardX
Fix size testing.
training chunk_sizes: [1, 8, 8, 8, 7]
The output will be saved to /root/c/src/lib/../../exp/ctdet/coco_dla
heads {'hm': 2, 'wh': 2, 'reg': 2}
Namespace(K=100, aggr_weight=0.0, agnostic_ex=False, arch='dla_34', aug_ddd=0.5, aug_rot=0, batch_size=32, cat_spec_wh... | 94.624577 | 1,917 | 0.687858 | 88,222 | 363,453 | 2.729671 | 0.080751 | 0.113364 | 0.047671 | 0.075078 | 0.765764 | 0.760984 | 0.731456 | 0.66938 | 0.657404 | 0.645233 | 0 | 0.358925 | 0.117303 | 363,453 | 3,840 | 1,918 | 94.649219 | 0.391707 | 0 | 0 | 0.002084 | 0 | 0.001042 | 0.002102 | 0.001717 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.00026 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3bee4ef04ff1e0164c1b359a305f429120aab5c6 | 44 | py | Python | easy_mailer/__init__.py | JnaneshPrabhu/easy-mailer | c844e16c51e95ce9fa052581fdeba98f0307f682 | [
"MIT"
] | null | null | null | easy_mailer/__init__.py | JnaneshPrabhu/easy-mailer | c844e16c51e95ce9fa052581fdeba98f0307f682 | [
"MIT"
] | null | null | null | easy_mailer/__init__.py | JnaneshPrabhu/easy-mailer | c844e16c51e95ce9fa052581fdeba98f0307f682 | [
"MIT"
] | null | null | null | from easy_mailer.send_mail import send_mail
| 22 | 43 | 0.886364 | 8 | 44 | 4.5 | 0.75 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ce0a5fd236b8d2380b5c2266229e61e99e49953f | 781 | py | Python | common/slewlimiter.py | frc5024/RocketShip | db3aed3d169292663036a9f5fd047dc11d92ca6f | [
"MIT"
] | 3 | 2019-04-29T02:47:30.000Z | 2019-04-30T16:35:15.000Z | common/slewlimiter.py | frc5024/RocketShip | db3aed3d169292663036a9f5fd047dc11d92ca6f | [
"MIT"
] | null | null | null | common/slewlimiter.py | frc5024/RocketShip | db3aed3d169292663036a9f5fd047dc11d92ca6f | [
"MIT"
] | null | null | null | class SlewLimiter:
def __init__(self, limit):
self.limit = limit
self.output = 0.0
def Feed(self, value):
error = value - self.output
if error > self.limit:
error = self.limit
elif error < (self.limit * -1):
error = self.limit * -1
sel... | 27.892857 | 47 | 0.541613 | 89 | 781 | 4.662921 | 0.179775 | 0.260241 | 0.20241 | 0.108434 | 0.833735 | 0.833735 | 0.833735 | 0.679518 | 0.679518 | 0.679518 | 0 | 0.016032 | 0.361076 | 781 | 28 | 48 | 27.892857 | 0.815631 | 0 | 0 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 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 |
ce1c5d1920cff4295ce4d7e69906d6c1fbeece48 | 42 | py | Python | examples/phobos/tests/test_std_socket.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 47 | 2019-07-16T10:38:07.000Z | 2022-03-30T16:34:24.000Z | examples/phobos/tests/test_std_socket.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 199 | 2019-06-17T23:24:40.000Z | 2021-06-16T16:41:36.000Z | examples/phobos/tests/test_std_socket.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 7 | 2019-09-13T18:03:49.000Z | 2022-01-17T03:53:00.000Z | def test_import():
import std_socket
| 10.5 | 21 | 0.714286 | 6 | 42 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 42 | 3 | 22 | 14 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cbf362b4606d14fc6c8a42c06eea6816fdd3623c | 71 | py | Python | conda-store-server/conda_store_server/server/utils.py | isabella232/conda-store | 5bf691068561986756740a0baab1ee035ffbeffb | [
"BSD-3-Clause"
] | null | null | null | conda-store-server/conda_store_server/server/utils.py | isabella232/conda-store | 5bf691068561986756740a0baab1ee035ffbeffb | [
"BSD-3-Clause"
] | 1 | 2021-04-17T10:54:47.000Z | 2021-04-17T10:54:47.000Z | conda-store-server/conda_store_server/server/utils.py | isabella232/conda-store | 5bf691068561986756740a0baab1ee035ffbeffb | [
"BSD-3-Clause"
] | null | null | null | from flask import g
def get_conda_store():
return g._conda_store
| 11.833333 | 25 | 0.746479 | 12 | 71 | 4.083333 | 0.75 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 5 | 26 | 14.2 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
cbfb15c96a8de2eab2d13c4c509d5078de16e30f | 6,101 | py | Python | dsps/tests/test_diffstar_photometry_kernels.py | ArgonneCPAC/dsps | a08da74cf9df4b12197805531d0b273d98ed5da6 | [
"BSD-3-Clause"
] | 13 | 2021-12-13T20:10:35.000Z | 2022-03-08T17:58:06.000Z | dsps/tests/test_diffstar_photometry_kernels.py | ArgonneCPAC/dsps | a08da74cf9df4b12197805531d0b273d98ed5da6 | [
"BSD-3-Clause"
] | null | null | null | dsps/tests/test_diffstar_photometry_kernels.py | ArgonneCPAC/dsps | a08da74cf9df4b12197805531d0b273d98ed5da6 | [
"BSD-3-Clause"
] | 1 | 2021-12-14T08:04:42.000Z | 2021-12-14T08:04:42.000Z | """
"""
import numpy as np
from ..diffstar_photometry_kernels import (
_calc_weighted_rest_mag_from_diffstar_params_const_zmet,
_calc_weighted_rest_mag_from_diffstar_params_const_zmet_dust,
_calc_weighted_obs_mag_from_diffstar_params_const_zmet_dust,
_calc_weighted_rest_mag_from_diffstar_params_age_corr... | 30.054187 | 86 | 0.676938 | 895 | 6,101 | 4.115084 | 0.09162 | 0.043443 | 0.070595 | 0.092316 | 0.914743 | 0.914743 | 0.912843 | 0.912843 | 0.89275 | 0.87836 | 0 | 0.022505 | 0.227995 | 6,101 | 202 | 87 | 30.20297 | 0.759448 | 0 | 0 | 0.741176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 1 | 0.029412 | false | 0 | 0.035294 | 0 | 0.064706 | 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 |
0258c375a64479a5f2a840091e455e3d4a011f9f | 103,067 | py | Python | sdk/EntitySearch/entity_search_client/models/_models.py | WMRamadan/bing-search-sdk-for-python | 276d9cd6963c939081b3dec91bdd9aded42b3b35 | [
"MIT"
] | 12 | 2021-03-11T20:24:12.000Z | 2022-02-10T22:55:03.000Z | sdk/EntitySearch/entity_search_client/models/_models.py | WMRamadan/bing-search-sdk-for-python | 276d9cd6963c939081b3dec91bdd9aded42b3b35 | [
"MIT"
] | null | null | null | sdk/EntitySearch/entity_search_client/models/_models.py | WMRamadan/bing-search-sdk-for-python | 276d9cd6963c939081b3dec91bdd9aded42b3b35 | [
"MIT"
] | 10 | 2021-03-09T17:02:48.000Z | 2022-02-12T18:40:01.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6320, generator: {generator})
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# ---------------------------------------... | 41.795215 | 308 | 0.641767 | 11,881 | 103,067 | 5.417978 | 0.040485 | 0.061518 | 0.02032 | 0.039148 | 0.815709 | 0.804198 | 0.795125 | 0.782713 | 0.778487 | 0.777509 | 0 | 0.000275 | 0.222477 | 103,067 | 2,465 | 309 | 41.81217 | 0.802987 | 0.470995 | 0 | 0.741827 | 1 | 0 | 0.390478 | 0.086172 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031852 | false | 0 | 0.001676 | 0 | 0.129925 | 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 |
5a395d24ad81d286ba1d1fb526b3d85d3101b8fb | 3,079 | py | Python | crl_kino/estimator/network.py | sldai/MPNet_RL | bb27caae17b6c52b26400bb7697e0d6f07191c34 | [
"MIT"
] | 10 | 2020-07-29T01:27:39.000Z | 2022-03-13T23:03:48.000Z | crl_kino/estimator/network.py | sldai/MPNet_RL | bb27caae17b6c52b26400bb7697e0d6f07191c34 | [
"MIT"
] | null | null | null | crl_kino/estimator/network.py | sldai/MPNet_RL | bb27caae17b6c52b26400bb7697e0d6f07191c34 | [
"MIT"
] | 1 | 2020-07-30T06:36:42.000Z | 2020-07-30T06:36:42.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import torchvision
import os
import torch
import numpy as np
class EstimatorModel(nn.Module):
def __init__(self):
super(EstimatorModel, self).__init__()
"""
self.linear1 ... | 24.244094 | 52 | 0.476778 | 414 | 3,079 | 3.502415 | 0.152174 | 0.082759 | 0.066207 | 0.071724 | 0.864828 | 0.864828 | 0.831724 | 0.831724 | 0.831724 | 0.831724 | 0 | 0.089427 | 0.382592 | 3,079 | 127 | 53 | 24.244094 | 0.67333 | 0.05229 | 0 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.119403 | 0 | 0.238806 | 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 |
ce7e70ccb19fe0643c9d1a651e6e227102d45357 | 413 | py | Python | fluent_blogs/views/__init__.py | klavman/django-fluent-blogs | e78e30edb3540bfe5e2e29b0754c47495270d524 | [
"Apache-2.0"
] | 1 | 2021-07-07T00:14:23.000Z | 2021-07-07T00:14:23.000Z | fluent_blogs/views/__init__.py | klavman/django-fluent-blogs | e78e30edb3540bfe5e2e29b0754c47495270d524 | [
"Apache-2.0"
] | null | null | null | fluent_blogs/views/__init__.py | klavman/django-fluent-blogs | e78e30edb3540bfe5e2e29b0754c47495270d524 | [
"Apache-2.0"
] | null | null | null | from fluent_blogs.views.entries import (
EntryArchiveIndex, EntryYearArchive, EntryMonthArchive, EntryDayArchive,
EntryDetail, EntryShortLink, EntryCategoryArchive, EntryAuthorArchive, EntryTagArchive
)
__all__ = (
'EntryArchiveIndex', 'EntryYearArchive', 'EntryMonthArchive', 'EntryDayArchive',
'EntryD... | 41.3 | 101 | 0.791768 | 25 | 413 | 12.88 | 0.64 | 0.204969 | 0.310559 | 0.403727 | 0.888199 | 0.888199 | 0.888199 | 0.888199 | 0.888199 | 0 | 0 | 0 | 0.106538 | 413 | 9 | 102 | 45.888889 | 0.872629 | 0 | 0 | 0 | 0 | 0 | 0.346247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
cea1ea5930162066c16967754054252c31f2ab27 | 198 | py | Python | src/dataset/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | 1 | 2021-10-09T03:05:16.000Z | 2021-10-09T03:05:16.000Z | src/dataset/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | null | null | null | src/dataset/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | 2 | 2021-03-02T12:06:14.000Z | 2021-11-20T16:02:43.000Z | from src.dataset.deep_lesion_dataset import DatasetType, DeepLesionDataset
from src.dataset.deep_lesion_downloader import download_zips
from src.dataset.deep_lesion_extractor import extract_dataset
| 49.5 | 74 | 0.89899 | 27 | 198 | 6.296296 | 0.481481 | 0.123529 | 0.247059 | 0.317647 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065657 | 198 | 3 | 75 | 66 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ced95d318a4d92d10862c158b4c34b39d1dfb185 | 6,762 | py | Python | aevnmt/trainers.py | nbortych/AEVNMT.pt | 360a885a3bab9212a67922f3a9bb44f26c9512fc | [
"MIT"
] | 8 | 2019-08-06T09:49:56.000Z | 2021-12-22T13:46:34.000Z | aevnmt/trainers.py | nbortych/AEVNMT.pt | 360a885a3bab9212a67922f3a9bb44f26c9512fc | [
"MIT"
] | 18 | 2019-09-11T10:39:27.000Z | 2021-02-12T10:33:09.000Z | aevnmt/trainers.py | nbortych/AEVNMT.pt | 360a885a3bab9212a67922f3a9bb44f26c9512fc | [
"MIT"
] | 8 | 2019-08-26T06:07:27.000Z | 2021-01-28T07:01:21.000Z | import torch
from torch.distributions import Categorical
from aevnmt.dist import get_named_params
class AEVNMTTrainer:
def __init__(self, model, loss, histogram_every=100):
self.model = model
self.loss = loss
self.histogram_every = histogram_every
def _repeat_over_samples(self, tensor,... | 46.315068 | 122 | 0.646406 | 972 | 6,762 | 4.167695 | 0.105967 | 0.078993 | 0.038015 | 0.062207 | 0.932116 | 0.912861 | 0.895828 | 0.895828 | 0.895828 | 0.895828 | 0 | 0.005104 | 0.246673 | 6,762 | 146 | 123 | 46.315068 | 0.790145 | 0.131322 | 0 | 0.810526 | 0 | 0 | 0.015275 | 0 | 0 | 0 | 0 | 0.013699 | 0 | 1 | 0.126316 | false | 0 | 0.031579 | 0 | 0.284211 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0c69d15a3f3f5194280b083567c7f007262bd0b6 | 334,089 | py | Python | mat84bases.py | bmilosh/Common-Information-and-Matroid-Ports | 653908c2d1a4b9c1774573b1f95b870e7f99f875 | [
"BSD-3-Clause"
] | 1 | 2020-10-19T05:20:53.000Z | 2020-10-19T05:20:53.000Z | mat84bases.py | bmilosh/Common-Information-and-Matroid-Ports | 653908c2d1a4b9c1774573b1f95b870e7f99f875 | [
"BSD-3-Clause"
] | null | null | null | mat84bases.py | bmilosh/Common-Information-and-Matroid-Ports | 653908c2d1a4b9c1774573b1f95b870e7f99f875 | [
"BSD-3-Clause"
] | null | null | null |
allbases = {
'866_8_4_16' : ['0234','1234','0345','1345','0246','1246','0456','1456','0237','1237','0357','1357','0267','1267','0567','1567'] ,
'867_8_4_12' : ['0234','1234','0345','1345','0246','1246','0456','1456','2347','3457','2467','4567'] ,
'868_8_4_9' : ['0234','1234','0345','1345','2346','3456','0347','134... | 354.283139 | 510 | 0.568405 | 48,687 | 334,089 | 3.842525 | 0.021751 | 0.010038 | 0.042719 | 0.054051 | 0.977357 | 0.974578 | 0.972301 | 0.969676 | 0.966255 | 0.961338 | 0 | 0.567945 | 0.014077 | 334,089 | 942 | 511 | 354.659236 | 0.000024 | 0 | 0 | 0 | 0 | 0 | 0.56999 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0caec21e2ab5251cd49d15ba2c9ea25f3f75ec93 | 26,631 | py | Python | src/software/parse/headerTelemetry.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | src/software/parse/headerTelemetry.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | src/software/parse/headerTelemetry.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# *****************************************************************************/
# * Authors: Randal Eike, Joseph Tarango
# *****************************************************************************/
"""
Brief:
headerTelemetry.py - Holds special parsers for Telem... | 40.845092 | 159 | 0.592129 | 2,600 | 26,631 | 6.011923 | 0.090385 | 0.069861 | 0.009212 | 0.016378 | 0.825923 | 0.824323 | 0.819141 | 0.807434 | 0.797454 | 0.788625 | 0 | 0.034451 | 0.298074 | 26,631 | 651 | 160 | 40.907834 | 0.801744 | 0.144719 | 0 | 0.843818 | 0 | 0 | 0.142955 | 0.025546 | 0 | 0 | 0.001468 | 0 | 0 | 1 | 0.10846 | false | 0 | 0.015184 | 0.045553 | 0.299349 | 0.004338 | 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 |
0cc519b2781fcb26f7313aaf12891b37ad3e37e8 | 3,754 | py | Python | sgtpy/vrmie_mixtures/ahs_monomer.py | MatKie/SGTPy | 8e98d92fedd2b07d834e547e5154ec8f70d80728 | [
"MIT"
] | 12 | 2020-12-27T17:04:33.000Z | 2021-07-19T06:28:28.000Z | sgtpy/vrmie_mixtures/ahs_monomer.py | MatKie/SGTPy | 8e98d92fedd2b07d834e547e5154ec8f70d80728 | [
"MIT"
] | 2 | 2021-05-15T14:27:57.000Z | 2021-08-19T15:42:24.000Z | sgtpy/vrmie_mixtures/ahs_monomer.py | MatKie/SGTPy | 8e98d92fedd2b07d834e547e5154ec8f70d80728 | [
"MIT"
] | 5 | 2021-02-21T01:33:29.000Z | 2021-07-26T15:11:08.000Z | from __future__ import division, print_function, absolute_import
import numpy as np
# Hard sphere Eq A6
def ahs(xhi):
xhi0, xhi1, xhi2, xhi3 = xhi
xhi3_1 = 1-xhi3
xhi23 = xhi2**3
a = (xhi23/xhi3**2 - xhi0) * np.log(xhi3_1)
a += 3 * xhi1 * xhi2 / xhi3_1
a += xhi23 / xhi3 / xhi3_1**2
a /= x... | 23.31677 | 64 | 0.563665 | 581 | 3,754 | 3.488812 | 0.104991 | 0.091268 | 0.059201 | 0.043414 | 0.854958 | 0.833251 | 0.814998 | 0.799704 | 0.799704 | 0.799704 | 0 | 0.209488 | 0.298082 | 3,754 | 160 | 65 | 23.4625 | 0.559772 | 0.004529 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042017 | false | 0 | 0.016807 | 0 | 0.10084 | 0.008403 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0cd10e6ec36e613899f33c5d1935d66003800556 | 555 | py | Python | examples/util/ex_hasspace.py | ptr-yudai/ptrlib | 131a2a896e44cb5df09ad530451d02ea66b9aa26 | [
"MIT"
] | 57 | 2019-12-08T00:02:14.000Z | 2022-03-24T20:40:40.000Z | examples/util/ex_hasspace.py | ptr-yudai/ptrlib | 131a2a896e44cb5df09ad530451d02ea66b9aa26 | [
"MIT"
] | 3 | 2020-01-26T03:38:31.000Z | 2020-06-21T13:42:46.000Z | examples/util/ex_hasspace.py | ptr-yudai/ptrlib | 131a2a896e44cb5df09ad530451d02ea66b9aa26 | [
"MIT"
] | 8 | 2020-04-20T08:17:57.000Z | 2021-10-04T06:04:51.000Z | #!/usr/bin/env python
from ptrlib import *
payload = 'Hello,\tWorld!'
print("is_scanf_safe('{}')={}".format(payload, is_scanf_safe(payload)))
is_scanf_safe(payload, warn=True)
print("is_fgets_safe('{}')={}".format(payload, is_fgets_safe(payload)))
is_fgets_safe(payload, warn=True)
print("-"*10)
payload = p64(0xdeadb... | 29.210526 | 71 | 0.726126 | 81 | 555 | 4.679012 | 0.271605 | 0.189974 | 0.174142 | 0.200528 | 0.783641 | 0.770449 | 0.770449 | 0.770449 | 0.770449 | 0.770449 | 0 | 0.025048 | 0.064865 | 555 | 18 | 72 | 30.833333 | 0.705202 | 0.036036 | 0 | 0.666667 | 0 | 0 | 0.193609 | 0.165414 | 0 | 0 | 0.033835 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.416667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
0b6e41fec375498c5d8fa3a23e3a4ceda90164f5 | 101 | py | Python | app/rental_hub/__init__.py | HASSAN1A/Buy-Rent-Hub | 2b8735647f57c98a8cfc91314caac9bcc4e1f91d | [
"MIT"
] | 1 | 2021-05-28T14:03:18.000Z | 2021-05-28T14:03:18.000Z | app/rental_hub/__init__.py | HASSAN1A/Buy-Rent-Hub | 2b8735647f57c98a8cfc91314caac9bcc4e1f91d | [
"MIT"
] | null | null | null | app/rental_hub/__init__.py | HASSAN1A/Buy-Rent-Hub | 2b8735647f57c98a8cfc91314caac9bcc4e1f91d | [
"MIT"
] | 1 | 2020-11-05T13:33:51.000Z | 2020-11-05T13:33:51.000Z | from flask import Blueprint
rental_hub = Blueprint('rental_hub',__name__)
from . import views,forms | 20.2 | 45 | 0.80198 | 14 | 101 | 5.357143 | 0.642857 | 0.4 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 5 | 46 | 20.2 | 0.842697 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
e7e655083a072c357c70b21c7730d70fb70fae38 | 105,509 | py | Python | Alignment/TrackerAlignment/python/Scenarios_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | Alignment/TrackerAlignment/python/Scenarios_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | Alignment/TrackerAlignment/python/Scenarios_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
import copy # for deepcopy used below
#
# This file contains all scenarios as blocks
# A block can be included in a config file as:
# using <block label>
# in any place where a PSet could be used.
#
# See corresponding .cff files for examples.
#
# Note: following scenarios up... | 30.600058 | 129 | 0.511615 | 11,218 | 105,509 | 4.78062 | 0.048226 | 0.241157 | 0.187212 | 0.069738 | 0.84486 | 0.818811 | 0.805068 | 0.790375 | 0.773667 | 0.72748 | 0 | 0.093702 | 0.345866 | 105,509 | 3,447 | 130 | 30.608935 | 0.683339 | 0.069188 | 0 | 0.835348 | 0 | 0 | 0.005115 | 0 | 0 | 0 | 0 | 0.00029 | 0 | 1 | 0.000327 | false | 0 | 0.000653 | 0 | 0.001307 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.