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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6c7400b8ac66e43e353498c9ff0117c041f10263 | 4,729 | py | Python | src/generate_random_graph.py | suning-opensource/frustrated-random-walk | 7de559c20e96567a61853668f36d786b126ed57f | [
"Apache-2.0"
] | 18 | 2020-12-24T04:26:21.000Z | 2022-03-24T07:32:39.000Z | src/generate_random_graph.py | kiminh/frustrated-random-walk | 7de559c20e96567a61853668f36d786b126ed57f | [
"Apache-2.0"
] | 1 | 2021-05-07T06:47:34.000Z | 2021-05-07T06:47:34.000Z | src/generate_random_graph.py | kiminh/frustrated-random-walk | 7de559c20e96567a61853668f36d786b126ed57f | [
"Apache-2.0"
] | 8 | 2020-10-22T23:51:55.000Z | 2021-08-24T06:36:19.000Z | import os
import numpy as np
def generate_random_graph(n, p, random_graph_file_name):
assert(n > 1)
assert(p > 0 and p <= 1)
edges = []
for i in range(1, n+1):
for j in range(1, n+1):
random = np.random.uniform(0, 1)
if (random < p):
edge = str(i) + ";" +... | 33.302817 | 126 | 0.550222 | 627 | 4,729 | 3.99362 | 0.102073 | 0.061502 | 0.039936 | 0.035144 | 0.850639 | 0.832268 | 0.795927 | 0.795927 | 0.779153 | 0.746805 | 0 | 0.016275 | 0.324381 | 4,729 | 141 | 127 | 33.539007 | 0.767449 | 0 | 0 | 0.744 | 1 | 0.008 | 0.043984 | 0.009516 | 0 | 0 | 0 | 0 | 0.064 | 0 | null | null | 0 | 0.04 | null | null | 0.016 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
669d3a51ce7f6a9762780cc2bac4f7e27335f1f0 | 229 | py | Python | src/dbxdeploy/poetry/PoetryPathResolver.py | Kukuksumusu/dbx-deploy | b46b4cbe1719fd337137880cfc99e818468184f5 | [
"MIT"
] | 2 | 2021-02-04T09:36:42.000Z | 2021-02-24T10:07:13.000Z | src/dbxdeploy/poetry/PoetryPathResolver.py | Kukuksumusu/dbx-deploy | b46b4cbe1719fd337137880cfc99e818468184f5 | [
"MIT"
] | 7 | 2021-04-30T07:20:15.000Z | 2022-01-03T10:21:52.000Z | src/dbxdeploy/poetry/PoetryPathResolver.py | Kukuksumusu/dbx-deploy | b46b4cbe1719fd337137880cfc99e818468184f5 | [
"MIT"
] | 3 | 2020-08-27T10:56:16.000Z | 2021-02-17T07:26:09.000Z | from pathlib import Path
class PoetryPathResolver:
def __init__(self, poetry_path: str):
self.__poetry_path = poetry_path
def get_poetry_path(self) -> Path:
return Path(self.__poetry_path).expanduser()
| 22.9 | 52 | 0.716157 | 29 | 229 | 5.172414 | 0.482759 | 0.333333 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200873 | 229 | 9 | 53 | 25.444444 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
66ac73c49775b320602f6ec15252471d19a06531 | 2,814 | py | Python | tests/tests.py | wblazej/pyfract | 3695b482189e90af66cec6672f672c498268b797 | [
"MIT"
] | 1 | 2021-12-21T15:37:27.000Z | 2021-12-21T15:37:27.000Z | tests/tests.py | wblazej/pyfract | 3695b482189e90af66cec6672f672c498268b797 | [
"MIT"
] | 1 | 2021-12-21T15:36:48.000Z | 2022-02-25T21:43:07.000Z | tests/tests.py | wblazej/pyfract | 3695b482189e90af66cec6672f672c498268b797 | [
"MIT"
] | null | null | null | import unittest
from pyfract.fraction import Fraction
class FractionTests(unittest.TestCase):
def setUp(self) -> None:
self.f1 = Fraction(1, 2)
self.f2 = Fraction(1, 4)
def test_addition(self):
self.assertEqual(self.f1 + self.f2, Fraction(3, 4))
self.assertEqual(self.f1 + 2, Fr... | 32.72093 | 105 | 0.596304 | 390 | 2,814 | 4.207692 | 0.161538 | 0.292505 | 0.301036 | 0.332724 | 0.810481 | 0.761121 | 0.724558 | 0.648995 | 0.556368 | 0.491164 | 0 | 0.085728 | 0.257996 | 2,814 | 85 | 106 | 33.105882 | 0.700192 | 0 | 0 | 0.184615 | 0 | 0 | 0.002843 | 0 | 0 | 0 | 0 | 0 | 0.492308 | 1 | 0.215385 | false | 0 | 0.030769 | 0 | 0.261538 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dd2b33a16367fbe77f23b736d0b7ed93ffe6b5ff | 10,050 | py | Python | models/stclassifier.py | jnyborg/timematch | a652df95282de9a3fc12d2fd204f438ff4ccb122 | [
"MIT"
] | 2 | 2022-03-22T08:18:08.000Z | 2022-03-29T10:31:18.000Z | models/stclassifier.py | jnyborg/timematch | a652df95282de9a3fc12d2fd204f438ff4ccb122 | [
"MIT"
] | null | null | null | models/stclassifier.py | jnyborg/timematch | a652df95282de9a3fc12d2fd204f438ff4ccb122 | [
"MIT"
] | null | null | null | from copy import deepcopy
import torch.nn as nn
from models.competings import GRU, TempConv
from models.decoder import get_decoder
from models.ltae import LTAE
from models.pse import PixelSetEncoder
from models.tae import TemporalAttentionEncoder
class PseLTae(nn.Module):
"""
Pixel-Set encoder + Lightweight... | 31.114551 | 93 | 0.57194 | 1,162 | 10,050 | 4.740964 | 0.109294 | 0.046288 | 0.029043 | 0.052278 | 0.89617 | 0.88782 | 0.88782 | 0.88782 | 0.88782 | 0.88782 | 0 | 0.044159 | 0.333035 | 10,050 | 322 | 94 | 31.21118 | 0.777711 | 0.155721 | 0 | 0.777328 | 0 | 0.016194 | 0.051395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.02834 | 0.004049 | 0.149798 | 0.032389 | 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 |
dd3a34c9dd938987c33755e8991e3ac8b6e891b6 | 99 | py | Python | teitoku/intermediate/__init__.py | yukinotenshi/teitoku | adb54fb7f709e0bac0da6d6f6f8aa00702c2f9c5 | [
"MIT"
] | null | null | null | teitoku/intermediate/__init__.py | yukinotenshi/teitoku | adb54fb7f709e0bac0da6d6f6f8aa00702c2f9c5 | [
"MIT"
] | null | null | null | teitoku/intermediate/__init__.py | yukinotenshi/teitoku | adb54fb7f709e0bac0da6d6f6f8aa00702c2f9c5 | [
"MIT"
] | 1 | 2020-01-25T10:53:44.000Z | 2020-01-25T10:53:44.000Z | from teitoku.intermediate.request import Request
from teitoku.intermediate.response import Response | 49.5 | 50 | 0.888889 | 12 | 99 | 7.333333 | 0.5 | 0.25 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 99 | 2 | 50 | 49.5 | 0.956522 | 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 |
dd6e7379fb654ebe65ae123fa4174ef78d3771a4 | 35,665 | py | Python | bin/fingal/fieldERT.py | LutzGross/fingal | 4b6fcc02871e7ba1a98f37ffd18f1a16a5fe6a48 | [
"Apache-2.0"
] | null | null | null | bin/fingal/fieldERT.py | LutzGross/fingal | 4b6fcc02871e7ba1a98f37ffd18f1a16a5fe6a48 | [
"Apache-2.0"
] | null | null | null | bin/fingal/fieldERT.py | LutzGross/fingal | 4b6fcc02871e7ba1a98f37ffd18f1a16a5fe6a48 | [
"Apache-2.0"
] | null | null | null | """
tools for ERT inversion including ERT cost functions for inversion
by l.gross@uq.edu.au, 2021
"""
from esys.escript import *
import numpy as np
from esys.downunder import MeteredCostFunction
from esys.escript.linearPDEs import LinearSinglePDE, SolverOptions
from esys.escript.pdetools import Locator, ArithmeticTup... | 43.388078 | 156 | 0.602383 | 4,270 | 35,665 | 4.980094 | 0.085948 | 0.032918 | 0.021726 | 0.010722 | 0.816694 | 0.787867 | 0.764637 | 0.751046 | 0.731719 | 0.699882 | 0 | 0.018029 | 0.270601 | 35,665 | 821 | 157 | 43.440926 | 0.799416 | 0.182981 | 0 | 0.756007 | 0 | 0 | 0.054784 | 0.002224 | 0 | 0 | 0 | 0 | 0.007394 | 1 | 0.060998 | false | 0 | 0.014787 | 0.003697 | 0.138632 | 0.001848 | 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 |
06fc4eba810668b2d11ff7c5397013dfe56f2902 | 276 | py | Python | artgate/platform/__init__.py | Fassty/artgate | f1f853e9eec985fcd883dd27a0a5f6a610660e50 | [
"MIT"
] | null | null | null | artgate/platform/__init__.py | Fassty/artgate | f1f853e9eec985fcd883dd27a0a5f6a610660e50 | [
"MIT"
] | null | null | null | artgate/platform/__init__.py | Fassty/artgate | f1f853e9eec985fcd883dd27a0a5f6a610660e50 | [
"MIT"
] | null | null | null | from artgate.platform.base import AbstractEnvConnector
from artgate.platform.android import *
from artgate.platform.ios import *
from artgate.platform.linux import LinuxEnvConnector
from artgate.platform.macos import *
from artgate.platform.windows import WindowsEnvConnector
| 39.428571 | 56 | 0.858696 | 33 | 276 | 7.181818 | 0.393939 | 0.278481 | 0.481013 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 276 | 6 | 57 | 46 | 0.940476 | 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 |
b0c71893ac8c17de056e56914b10e1592e6d3da7 | 1,215 | py | Python | tests/test_nuples.py | Contexte/typographeur | f4220ef329245b375a65e486ab0b8a93afcd219a | [
"MIT"
] | 14 | 2018-06-15T09:28:32.000Z | 2021-08-02T09:21:42.000Z | tests/test_nuples.py | Contexte/typographeur | f4220ef329245b375a65e486ab0b8a93afcd219a | [
"MIT"
] | 21 | 2018-06-15T12:35:58.000Z | 2021-02-24T22:22:27.000Z | tests/test_nuples.py | Contexte/typographeur | f4220ef329245b375a65e486ab0b8a93afcd219a | [
"MIT"
] | 2 | 2020-06-25T14:42:09.000Z | 2021-02-08T16:06:42.000Z | import pytest
from typographeur import typographeur
@pytest.mark.parametrize("input,expected", [
('hello???', 'hello ???'),
('hello ???', 'hello ???'),
('hello ???', 'hello ???'), # Fine insecable
('hello ??', 'hello ???'),
('hello ??????', 'hello ???'),
])
def test_... | 30.375 | 64 | 0.565432 | 120 | 1,215 | 5.675 | 0.266667 | 0.220264 | 0.30837 | 0.251101 | 0.819383 | 0.819383 | 0.819383 | 0.819383 | 0.572687 | 0.572687 | 0 | 0.059113 | 0.164609 | 1,215 | 39 | 65 | 31.153846 | 0.611823 | 0.088066 | 0 | 0.65625 | 0 | 0 | 0.366274 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 7 |
b0c9de14e032959394e67af8d47dcec635056043 | 20,561 | py | Python | TO.py | LHoBiz/ols_engine | 9bdbd827f7be17aee95d416255a7f483472c4315 | [
"MIT"
] | 1 | 2022-01-05T07:38:06.000Z | 2022-01-05T07:38:06.000Z | TO.py | LHoBiz/ols_engine | 9bdbd827f7be17aee95d416255a7f483472c4315 | [
"MIT"
] | null | null | null | TO.py | LHoBiz/ols_engine | 9bdbd827f7be17aee95d416255a7f483472c4315 | [
"MIT"
] | null | null | null | # -*- coding: cp1252 -*-
import math
import OLSDims
import EnvSettings
from osgeo import osr
import mdl
ip = mdl.Data()
NTOL=ip.NTOL
STOL=ip.STOL
AppOLSNAME=OLSDims.AppDim.AppOLSNAME
AppOLSDIMS=OLSDims.AppDim.AppOLSDIMS
TOOLSNAME=OLSDims.TODim.TOOLSNAME
f=ip.f
ToOLS = OLSDims.TODim.ToOLS
AppOLSNAME=OLSDims.AppDim.AppO... | 35.207192 | 100 | 0.372599 | 2,665 | 20,561 | 2.863415 | 0.071295 | 0.11165 | 0.103656 | 0.060805 | 0.869611 | 0.864107 | 0.863714 | 0.860962 | 0.843664 | 0.843664 | 0 | 0.060927 | 0.439619 | 20,561 | 583 | 101 | 35.267581 | 0.601371 | 0.019552 | 0 | 0.844538 | 0 | 0.004202 | 0.122047 | 0.02795 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004202 | false | 0 | 0.010504 | 0 | 0.014706 | 0.004202 | 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 |
9ffeea6c6291597084da9ee158dc0dd38f349e0c | 21,480 | py | Python | drl_implementation/agent/utils/replay_buffer.py | IanYangChina/DRL_Implementation | 6dd0a94e4c3adbe16265d3b3780efc2b5e8d7047 | [
"MIT"
] | 11 | 2019-11-29T23:36:32.000Z | 2021-07-21T08:40:27.000Z | drl_implementation/agent/utils/replay_buffer.py | IanYangChina/DRL_Implementation | 6dd0a94e4c3adbe16265d3b3780efc2b5e8d7047 | [
"MIT"
] | 2 | 2021-06-12T14:18:14.000Z | 2021-10-05T09:41:00.000Z | drl_implementation/agent/utils/replay_buffer.py | IanYangChina/DRL_Implementation | 6dd0a94e4c3adbe16265d3b3780efc2b5e8d7047 | [
"MIT"
] | 4 | 2021-01-05T21:54:14.000Z | 2021-10-05T05:15:35.000Z | import random as R
import numpy as np
from .segment_tree import SumSegmentTree, MinSegmentTree
from collections import namedtuple
class ReplayBuffer(object):
def __init__(self, capacity, tr_namedtuple, seed=0, saving_path=None):
R.seed(seed)
self.saving_path = saving_path
self.capacity = c... | 42.703777 | 136 | 0.555168 | 2,512 | 21,480 | 4.551752 | 0.071258 | 0.03061 | 0.031835 | 0.013993 | 0.875022 | 0.867151 | 0.843712 | 0.836278 | 0.816775 | 0.794822 | 0 | 0.009147 | 0.343436 | 21,480 | 502 | 137 | 42.788845 | 0.801603 | 0.022858 | 0 | 0.876712 | 0 | 0 | 0.0215 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 1 | 0.089041 | false | 0 | 0.009132 | 0.013699 | 0.157534 | 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 |
c67d0b9bdd746a6a4a0c229ebbe62945cc73ac85 | 18,537 | py | Python | recommender/dimadb/models.py | cnam0203/trivi-backend | d6a4c6c600bdf22fd45c72c25c7ab55281339a0c | [
"MIT"
] | null | null | null | recommender/dimadb/models.py | cnam0203/trivi-backend | d6a4c6c600bdf22fd45c72c25c7ab55281339a0c | [
"MIT"
] | null | null | null | recommender/dimadb/models.py | cnam0203/trivi-backend | d6a4c6c600bdf22fd45c72c25c7ab55281339a0c | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
# Create your models here.
# DB for Machine Learning Model
class LdaSimilarityVersion(models.Model):
created_at = models.DateTimeField(auto_now_add=True, null=True)
n_topics = models.IntegerField(null=True)
item_type = models.Cha... | 47.167939 | 97 | 0.747046 | 2,620 | 18,537 | 5.124427 | 0.069847 | 0.122151 | 0.177194 | 0.231715 | 0.880381 | 0.850737 | 0.840831 | 0.838522 | 0.798153 | 0.755549 | 0 | 0.02574 | 0.13233 | 18,537 | 392 | 98 | 47.288265 | 0.809003 | 0.023251 | 0 | 0.593857 | 0 | 0 | 0.003098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003413 | false | 0 | 0.105802 | 0.003413 | 1.068259 | 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 | 1 | 0 | 0 | 8 |
05b85fd65469ac3ca1d65062d1077e0aa9b01ccb | 233 | py | Python | iris_sdk/models/data/ord/area_code_search_order.py | NumberAI/python-bandwidth-iris | 0e05f79d68b244812afb97e00fd65b3f46d00aa3 | [
"MIT"
] | 2 | 2020-04-13T13:47:59.000Z | 2022-02-23T20:32:41.000Z | iris_sdk/models/data/ord/area_code_search_order.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2020-09-18T20:59:24.000Z | 2021-08-25T16:51:42.000Z | iris_sdk/models/data/ord/area_code_search_order.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2018-12-12T14:39:50.000Z | 2020-11-17T21:42:29.000Z | #!/usr/bin/env python
from iris_sdk.models.base_resource import BaseData
from iris_sdk.models.maps.ord.area_code_search_order import \
AreaCodeSearchOrderMap
class AreaCodeSearchOrder(AreaCodeSearchOrderMap, BaseData):
pass | 29.125 | 61 | 0.828326 | 29 | 233 | 6.448276 | 0.758621 | 0.085562 | 0.117647 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103004 | 233 | 8 | 62 | 29.125 | 0.894737 | 0.085837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
af46753cd78f2117e5076bc7a61fbae650fb6757 | 154 | py | Python | src/distance.py | brandon-fremin/LightningNetworkAnalysis | c7b174e01327173ee71ef9caaa27f97ff89b969c | [
"MIT"
] | null | null | null | src/distance.py | brandon-fremin/LightningNetworkAnalysis | c7b174e01327173ee71ef9caaa27f97ff89b969c | [
"MIT"
] | null | null | null | src/distance.py | brandon-fremin/LightningNetworkAnalysis | c7b174e01327173ee71ef9caaa27f97ff89b969c | [
"MIT"
] | null | null | null | def cost_d(channel, amount):
return channel["outpol"]["base"] * 1000 + amount * channel["outpol"]["rate"]
def dist_d(channel, amount):
return 1
| 22 | 80 | 0.655844 | 21 | 154 | 4.714286 | 0.571429 | 0.161616 | 0.282828 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0.168831 | 154 | 6 | 81 | 25.666667 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
af584f6d67fbb9fe713102ee8191f1a82fd3b6b5 | 12,318 | py | Python | user_service_sdk/api/apikey/apikey_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | user_service_sdk/api/apikey/apikey_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | user_service_sdk/api/apikey/apikey_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import user_service_sdk.api.apikey.create_apikey_pb2
import user_service_sdk.api.apikey.delete_apikey_pb2
import google.protobuf.empty_pb2
import user_service_sdk.api.apikey.disable_apikey_pb2
import user_service_sdk.api.apikey.enable_apikey_pb2
import user_service_sd... | 37.554878 | 168 | 0.619581 | 1,403 | 12,318 | 5.117605 | 0.093371 | 0.072006 | 0.077994 | 0.059192 | 0.85195 | 0.848189 | 0.83663 | 0.835376 | 0.762535 | 0.691086 | 0 | 0.006804 | 0.284137 | 12,318 | 327 | 169 | 37.669725 | 0.807439 | 0.205959 | 0 | 0.721698 | 0 | 0 | 0.081384 | 0.068557 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.056604 | 0 | 0.132075 | 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 |
af63e1bfecde6eb9dc35c107368f9bf07096cd07 | 36,014 | py | Python | backend_project/app.py | DouglasAmorim/scholl_communication_backend | 8d764fe45ebaa9f96266f194c54a5e579366658c | [
"MIT"
] | 1 | 2022-02-02T17:52:28.000Z | 2022-02-02T17:52:28.000Z | backend_project/app.py | DouglasAmorim/scholl_communication_backend | 8d764fe45ebaa9f96266f194c54a5e579366658c | [
"MIT"
] | 7 | 2022-02-02T18:03:04.000Z | 2022-03-09T23:17:18.000Z | backend_project/app.py | DouglasAmorim/school_communication_backend | 8d764fe45ebaa9f96266f194c54a5e579366658c | [
"MIT"
] | null | null | null | from datetime import datetime
from flask import Flask, request, jsonify
from flask_restful import Resource, Api
from sqlalchemy import create_engine
import pika
from json import dumps
from flask_jwt_extended import jwt_required, create_access_token, create_refresh_token, JWTManager, get_jwt_identity
from werkzeug.sec... | 38.353568 | 165 | 0.597712 | 3,515 | 36,014 | 6.058037 | 0.061166 | 0.033578 | 0.01747 | 0.023246 | 0.804452 | 0.77435 | 0.765239 | 0.756786 | 0.749742 | 0.736311 | 0 | 0.006329 | 0.28053 | 36,014 | 938 | 166 | 38.394456 | 0.815484 | 0.031127 | 0 | 0.7136 | 0 | 0.0128 | 0.175837 | 0.059445 | 0 | 0 | 0 | 0.001066 | 0 | 1 | 0.0784 | false | 0.0384 | 0.0128 | 0.0016 | 0.2368 | 0.0048 | 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 |
bb6f02de351b3c32bbd4beea9c9dcb7bef05cdf2 | 463 | py | Python | sanya_script_runtime/__init__.py | ARtoriouSs/sanya-script-runtime | adef8205b2e85704d98a04f0eb30b30e0ec2e75a | [
"WTFPL"
] | null | null | null | sanya_script_runtime/__init__.py | ARtoriouSs/sanya-script-runtime | adef8205b2e85704d98a04f0eb30b30e0ec2e75a | [
"WTFPL"
] | null | null | null | sanya_script_runtime/__init__.py | ARtoriouSs/sanya-script-runtime | adef8205b2e85704d98a04f0eb30b30e0ec2e75a | [
"WTFPL"
] | null | null | null | from sanya_script_runtime.builtins import scan, put, puts, source, target, weight, value, arcs, nodes
from sanya_script_runtime.runtime_error import RuntimeError
from sanya_script_runtime.node import Node
from sanya_script_runtime.arc import Arc
from sanya_script_runtime.graph import Graph
from sanya_script_runtime.num... | 46.3 | 101 | 0.868251 | 72 | 463 | 5.319444 | 0.333333 | 0.211488 | 0.35248 | 0.516971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095032 | 463 | 9 | 102 | 51.444444 | 0.914081 | 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 |
a521648284af4d0cbbe2c630e243244925f21aac | 46,543 | py | Python | test/mock_api.py | Gates-Zeng/PyGNS3 | 2e84dce91c6c6705c7fd5875846daef1fe301243 | [
"MIT"
] | 9 | 2017-08-11T09:31:42.000Z | 2020-03-31T12:59:16.000Z | test/mock_api.py | Gates-Zeng/PyGNS3 | 2e84dce91c6c6705c7fd5875846daef1fe301243 | [
"MIT"
] | 3 | 2019-02-22T13:28:34.000Z | 2019-09-09T16:15:20.000Z | test/mock_api.py | Gates-Zeng/PyGNS3 | 2e84dce91c6c6705c7fd5875846daef1fe301243 | [
"MIT"
] | 7 | 2017-10-05T18:25:13.000Z | 2021-06-28T10:23:18.000Z | """
Contains mocks for testing purposes.
"""
mock_get = {
'/computes/local': '{"capabilities": {"node_types": ["cloud", "ethernet_hub", "ethernet_switch", "vpcs", "virtualbox", "dynamips", "frame_relay_switch", "atm_switch", "qemu", "vmware"], "platform": "darwin", "version": "2.0.3"}, "compute_id": "local", "conne... | 1,790.115385 | 17,854 | 0.669703 | 7,086 | 46,543 | 4.285916 | 0.070703 | 0.029108 | 0.035759 | 0.04083 | 0.971683 | 0.962825 | 0.952519 | 0.946065 | 0.944682 | 0.933948 | 0 | 0.118661 | 0.081086 | 46,543 | 25 | 17,855 | 1,861.72 | 0.591433 | 0.000773 | 0 | 0 | 0 | 1 | 0.994279 | 0.293017 | 0 | 0 | 0.00172 | 0 | 0 | 1 | 0 | false | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
3c2938ff69b9daf464b3f0d83e706655ebcfdfa3 | 1,233 | py | Python | src/arch/x86/isa/insts/simd512/integer/arithmetic/vpaddd.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 2 | 2021-01-15T17:32:18.000Z | 2021-12-21T02:53:58.000Z | src/arch/x86/isa/insts/simd512/integer/arithmetic/vpaddd.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 3 | 2021-03-26T20:33:59.000Z | 2022-01-24T22:54:03.000Z | src/arch/x86/isa/insts/simd512/integer/arithmetic/vpaddd.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 3 | 2021-03-27T16:36:19.000Z | 2022-03-28T18:32:57.000Z | microcode = '''
def macroop VPADDD_XMM_XMM {
vaddi dest=xmm0, src1=xmm0v, src2=xmm0m, size=4, VL=16
};
def macroop VPADDD_XMM_M {
ldfp128 ufp1, seg, sib, "DISPLACEMENT + 0", dataSize=16
vaddi dest=xmm0, src1=xmm0v, src2=ufp1, size=4, VL=16
};
def macroop VPADDD_XMM_P {
rdip t7
ldfp128 ufp1, seg, r... | 26.804348 | 62 | 0.676399 | 199 | 1,233 | 4.100503 | 0.170854 | 0.110294 | 0.176471 | 0.1875 | 0.866422 | 0.866422 | 0.781863 | 0.781863 | 0.67402 | 0.67402 | 0 | 0.117352 | 0.191403 | 1,233 | 46 | 63 | 26.804348 | 0.701103 | 0 | 0 | 0.473684 | 0 | 0 | 0.984603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c4b12a3566fd47e0d5d177c7f8d70f45bdc6664 | 177 | py | Python | frappe/patches/v5_0/expire_old_scheduler_logs.py | khatrijitendra/lumalock-frappe | b3864278dad21dde5c53604be65aa56c79e5d909 | [
"MIT"
] | null | null | null | frappe/patches/v5_0/expire_old_scheduler_logs.py | khatrijitendra/lumalock-frappe | b3864278dad21dde5c53604be65aa56c79e5d909 | [
"MIT"
] | 7 | 2020-03-24T17:07:47.000Z | 2022-03-11T23:49:25.000Z | frappe/patches/v5_0/expire_old_scheduler_logs.py | khatrijitendra/lumalock-frappe | b3864278dad21dde5c53604be65aa56c79e5d909 | [
"MIT"
] | 5 | 2016-11-12T12:14:58.000Z | 2018-03-21T15:45:45.000Z | import frappe
def execute():
frappe.reload_doctype("Scheduler Log")
from frappe.core.doctype.scheduler_log.scheduler_log import set_old_logs_as_seen
set_old_logs_as_seen()
| 22.125 | 81 | 0.830508 | 28 | 177 | 4.857143 | 0.535714 | 0.264706 | 0.279412 | 0.176471 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090395 | 177 | 7 | 82 | 25.285714 | 0.844721 | 0 | 0 | 0 | 0 | 0 | 0.073446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
3c5b84cfe20a3d0b1599c213056b8a79175c436d | 131 | py | Python | pymontecarlo/options/__init__.py | pymontecarlo/pymontecarlo | 87050041724feb17f1ccff5794e9830c3209244e | [
"Apache-2.0"
] | 5 | 2018-04-10T07:15:06.000Z | 2021-07-01T15:40:29.000Z | pymontecarlo/options/__init__.py | pymontecarlo/pymontecarlo | 87050041724feb17f1ccff5794e9830c3209244e | [
"Apache-2.0"
] | 73 | 2015-09-04T09:48:29.000Z | 2022-01-03T17:49:01.000Z | pymontecarlo/options/__init__.py | pymontecarlo/pymontecarlo | 87050041724feb17f1ccff5794e9830c3209244e | [
"Apache-2.0"
] | 4 | 2016-05-17T12:57:20.000Z | 2021-01-31T10:55:24.000Z | from pymontecarlo.options.material import *
from pymontecarlo.options.options import *
from pymontecarlo.options.particle import *
| 32.75 | 43 | 0.839695 | 15 | 131 | 7.333333 | 0.4 | 0.436364 | 0.627273 | 0.527273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 3 | 44 | 43.666667 | 0.92437 | 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 |
3c77174825cd697ca71e60879f632e2153beaf30 | 117 | py | Python | chirun/plastex/makecourse/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 5 | 2021-12-06T15:57:24.000Z | 2022-01-24T20:34:00.000Z | chirun/plastex/makecourse/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 38 | 2021-12-09T13:16:46.000Z | 2022-03-30T11:42:13.000Z | chirun/plastex/makecourse/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 1 | 2022-01-17T17:41:35.000Z | 2022-01-17T17:41:35.000Z | from plasTeX.Packages.embed import * # noqa: F401, F403
from plasTeX.Packages.hyperref import * # noqa: F401, F403
| 39 | 59 | 0.74359 | 16 | 117 | 5.4375 | 0.5625 | 0.252874 | 0.436782 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.153846 | 117 | 2 | 60 | 58.5 | 0.757576 | 0.282051 | 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 |
3c8d7288eb491283a49067c0bd6fe2072edeb5c7 | 244 | py | Python | tests/model/__init__.py | pacman82/gpt-neox | 77f137563d7ae370d05744badd2decafe4a3dbcd | [
"Apache-2.0"
] | null | null | null | tests/model/__init__.py | pacman82/gpt-neox | 77f137563d7ae370d05744badd2decafe4a3dbcd | [
"Apache-2.0"
] | null | null | null | tests/model/__init__.py | pacman82/gpt-neox | 77f137563d7ae370d05744badd2decafe4a3dbcd | [
"Apache-2.0"
] | null | null | null | """
Tests concerning the GPT2Model class
"""
from .test_model_initialization import TestModelInitialization
from .test_model_checkpoint import TestModelCheckpoint
#from .test_model_initialization_pipeline import TestModelInitializationPipeline | 34.857143 | 80 | 0.881148 | 24 | 244 | 8.666667 | 0.625 | 0.115385 | 0.1875 | 0.259615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.077869 | 244 | 7 | 80 | 34.857143 | 0.92 | 0.47541 | 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 |
5938e6a5ea306752315ee9e4c21ff161616df933 | 40 | py | Python | src/buildstream/testing/_utils/__init__.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | src/buildstream/testing/_utils/__init__.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | src/buildstream/testing/_utils/__init__.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | from .junction import generate_junction
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3cd80827014afb9da410e57079445e485050c846 | 39,360 | py | Python | graphpype/peak_labelled_mask.py | EtienneCmb/graphpype | f19fdcd8e98660625a53c733ff8e44d60c31bd68 | [
"BSD-3-Clause"
] | null | null | null | graphpype/peak_labelled_mask.py | EtienneCmb/graphpype | f19fdcd8e98660625a53c733ff8e44d60c31bd68 | [
"BSD-3-Clause"
] | null | null | null | graphpype/peak_labelled_mask.py | EtienneCmb/graphpype | f19fdcd8e98660625a53c733ff8e44d60c31bd68 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Compute ROI labeled mask from spm contrast image or images
"""
import sys, os
#sys.path.append('../irm_analysis')
#from define_variables import *
from graphpype.labeled_mask import compute_recombined_HO_template
from graphpype.utils_dtype_coord import *
import glob
from xml.dom... | 40.20429 | 437 | 0.667048 | 5,434 | 39,360 | 4.371181 | 0.047663 | 0.039742 | 0.0389 | 0.035196 | 0.934198 | 0.916642 | 0.908054 | 0.894792 | 0.880689 | 0.874374 | 0 | 0.008432 | 0.237703 | 39,360 | 978 | 438 | 40.245399 | 0.783229 | 0.197154 | 0 | 0.829146 | 0 | 0 | 0.017179 | 0.001321 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025126 | false | 0 | 0.035176 | 0 | 0.095477 | 0.20603 | 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 |
59b5edea8cc944821e4c8839c24f1c4a6b2e11af | 100 | py | Python | schedule/context_processors.py | yourcelf/masterschedule | e585df0e9edcaff5fa4f04f77a9452e3073b5db7 | [
"Unlicense"
] | 1 | 2015-02-11T04:08:36.000Z | 2015-02-11T04:08:36.000Z | schedule/context_processors.py | yourcelf/masterschedule | e585df0e9edcaff5fa4f04f77a9452e3073b5db7 | [
"Unlicense"
] | null | null | null | schedule/context_processors.py | yourcelf/masterschedule | e585df0e9edcaff5fa4f04f77a9452e3073b5db7 | [
"Unlicense"
] | null | null | null | from django.conf import settings
def base_url(request):
return {"BASE_URL": settings.BASE_URL}
| 20 | 42 | 0.76 | 15 | 100 | 4.866667 | 0.666667 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 4 | 43 | 25 | 0.848837 | 0 | 0 | 0 | 0 | 0 | 0.08 | 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 |
59bb2f7c232ec34715e468717ab1c201b2312f19 | 4,441 | py | Python | http_parser/config.py | CharlesZhong/Mobile-Celluar-Measure | 1f7a4ac017ec5a2d03bebfb504df37792bf0eed7 | [
"MIT"
] | null | null | null | http_parser/config.py | CharlesZhong/Mobile-Celluar-Measure | 1f7a4ac017ec5a2d03bebfb504df37792bf0eed7 | [
"MIT"
] | null | null | null | http_parser/config.py | CharlesZhong/Mobile-Celluar-Measure | 1f7a4ac017ec5a2d03bebfb504df37792bf0eed7 | [
"MIT"
] | null | null | null | __author__ = 'Charles'
import os
settings = {
"mac_test": {
"data_dir": "/Users/Charles/Data/NSDI2015",
"ori_input_file": "test_gen_jpeg.txt",
"output_dir": "/Users/Charles/Data/NSDI2015/output/mac_test",
"base_output_file": "ori_output.txt",
"image_output_file": "image_outpu... | 43.116505 | 76 | 0.65751 | 581 | 4,441 | 4.540448 | 0.067126 | 0.235027 | 0.170584 | 0.111448 | 0.959818 | 0.959818 | 0.959818 | 0.956785 | 0.90978 | 0.809325 | 0 | 0.023975 | 0.192299 | 4,441 | 103 | 77 | 43.116505 | 0.711458 | 0 | 0 | 0.652632 | 0 | 0 | 0.688204 | 0.387663 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010526 | 0 | 0.010526 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
59d4deb0ca8ba255304c19372704e4d1d7081bd6 | 166 | py | Python | doc/python_study_code/func2.py | beiliwenxiao/vimrc | eb38fc769f3f5f78000060dac674b5c49d63c24c | [
"MIT"
] | null | null | null | doc/python_study_code/func2.py | beiliwenxiao/vimrc | eb38fc769f3f5f78000060dac674b5c49d63c24c | [
"MIT"
] | null | null | null | doc/python_study_code/func2.py | beiliwenxiao/vimrc | eb38fc769f3f5f78000060dac674b5c49d63c24c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
def concat(*args, sep = "/"):
return sep.join(args)
concat("earth","mars","venus")
concat("earth","mars","venus", sep=".")
| 18.444444 | 39 | 0.608434 | 24 | 166 | 4.208333 | 0.666667 | 0.217822 | 0.29703 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.120482 | 166 | 8 | 40 | 20.75 | 0.684932 | 0.198795 | 0 | 0 | 0 | 0 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
ab9a9089566344b28ed3d944a1d0b38197b4a4d2 | 783 | py | Python | tests/parser/pasi-brew-eite-99-example-penguin-conclusions.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/pasi-brew-eite-99-example-penguin-conclusions.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/pasi-brew-eite-99-example-penguin-conclusions.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
% Input: specify parts of the rules ...
rule(r1). head(bird,r1).
rule(r2). head(swims,r1).
rule(r3). head(neg_flies,r3). pbl(peng,r3). nbl(flies,r3).
rule(r4). head(flies,r4). pbl(bird,r4). nbl(neg_flies,r4).
rule(r5). head(peng,r5). pbl(bird,r5). pbl(swims,r5). nbl(neg_peng,r5).
... | 18.209302 | 73 | 0.591315 | 134 | 783 | 3.380597 | 0.171642 | 0.10596 | 0.075055 | 0.083885 | 0.975717 | 0.975717 | 0.975717 | 0.975717 | 0.975717 | 0.975717 | 0 | 0.059655 | 0.186462 | 783 | 42 | 74 | 18.642857 | 0.651491 | 0 | 0 | 0.909091 | 0 | 0.272727 | 0.958389 | 0.056376 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
abf1e76bfbdc7039a5612259f14bc2f5e13da183 | 136 | py | Python | tests/test_basic_addition.py | charlestudor/PokerNowLogConverter | f888a26d805546b2e470c1066552da4dfe9caf58 | [
"MIT"
] | 1 | 2022-01-18T18:14:41.000Z | 2022-01-18T18:14:41.000Z | tests/test_basic_addition.py | charlestudor/PokerNowLogConverter | f888a26d805546b2e470c1066552da4dfe9caf58 | [
"MIT"
] | 4 | 2022-01-19T10:48:49.000Z | 2022-01-26T21:55:08.000Z | tests/test_basic_addition.py | charlestudor/PokerNowLogConverter | f888a26d805546b2e470c1066552da4dfe9caf58 | [
"MIT"
] | null | null | null | """Test Basic Addition"""
def test_basic_addition():
assert 1 + 1 == 2
def test_basic_addition_inverse():
assert 1 + 1 != 3
| 13.6 | 34 | 0.639706 | 20 | 136 | 4.1 | 0.45 | 0.329268 | 0.621951 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.227941 | 136 | 9 | 35 | 15.111111 | 0.72381 | 0.139706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
abfa5cc216cbb2d90e18d9547cfe0a82454b3995 | 153,449 | py | Python | python/webgme_bindings/webgme_bindings/core.py | Tasse00/bindings | 2666d71631c47750babec046214895c6e81bb3b8 | [
"MIT"
] | null | null | null | python/webgme_bindings/webgme_bindings/core.py | Tasse00/bindings | 2666d71631c47750babec046214895c6e81bb3b8 | [
"MIT"
] | 15 | 2018-10-30T19:02:54.000Z | 2021-04-01T10:52:29.000Z | python/webgme_bindings/webgme_bindings/core.py | Tasse00/bindings | 2666d71631c47750babec046214895c6e81bb3b8 | [
"MIT"
] | 4 | 2019-09-27T20:21:50.000Z | 2021-04-21T00:49:26.000Z | """
For more details regarding inputs and output in form of complex dictionaries see the original source docs at:
%host%/docs/source/Core.html
for example:
`https://editor.webgme.org/docs/source/Core.html <https://editor.webgme.org/docs/source/Core.html>`_
"""
class Core(object):
"""
Class for... | 51.047572 | 542 | 0.646202 | 20,132 | 153,449 | 4.879446 | 0.041129 | 0.040058 | 0.023454 | 0.034998 | 0.807193 | 0.781021 | 0.759958 | 0.743396 | 0.727749 | 0.716266 | 0 | 0.000082 | 0.284277 | 153,449 | 3,005 | 543 | 51.064559 | 0.894352 | 0.690249 | 0 | 0 | 0 | 0 | 0.165787 | 0.026021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.491139 | false | 0 | 0.005063 | 0 | 0.987342 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
2805d45725a936cc86375d23d80444da219b7eea | 354 | py | Python | twitch_info/__init__.py | feytus/twitch-info | 29a3da3d37ac221d3edb1bc38875ec20cacfd660 | [
"MIT"
] | null | null | null | twitch_info/__init__.py | feytus/twitch-info | 29a3da3d37ac221d3edb1bc38875ec20cacfd660 | [
"MIT"
] | null | null | null | twitch_info/__init__.py | feytus/twitch-info | 29a3da3d37ac221d3edb1bc38875ec20cacfd660 | [
"MIT"
] | null | null | null | from twitch_info.twitch_info import get_stream
from twitch_info.twitch_info import get_user_id
from twitch_info.twitch_info import get_access_token
from twitch_info.twitch_info import InvalidClient
from twitch_info.twitch_info import InvalidOAuthToken
from twitch_info.twitch_info import InvalidUser
from twitch_info.tw... | 44.25 | 53 | 0.90113 | 54 | 354 | 5.555556 | 0.259259 | 0.466667 | 0.326667 | 0.466667 | 0.73 | 0.73 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0.079096 | 354 | 8 | 54 | 44.25 | 0.920245 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
e6339908f746d7019ee114d60142b86e58c106b2 | 298 | py | Python | pyBN/learning/structure/constraint/__init__.py | seuzmj/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 126 | 2016-01-17T22:59:08.000Z | 2021-12-19T15:35:22.000Z | pyBN/learning/structure/constraint/__init__.py | levilentz/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 24 | 2016-01-21T20:11:03.000Z | 2018-09-21T01:23:58.000Z | pyBN/learning/structure/constraint/__init__.py | levilentz/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 55 | 2016-05-27T00:46:54.000Z | 2022-03-24T11:43:57.000Z | from pyBN.learning.structure.constraint.fast_iamb import *
from pyBN.learning.structure.constraint.grow_shrink import *
from pyBN.learning.structure.constraint.iamb import *
from pyBN.learning.structure.constraint.lambda_iamb import *
from pyBN.learning.structure.constraint.path_condition import * | 59.6 | 63 | 0.852349 | 39 | 298 | 6.410256 | 0.333333 | 0.16 | 0.32 | 0.5 | 0.844 | 0.704 | 0.54 | 0 | 0 | 0 | 0 | 0 | 0.063758 | 298 | 5 | 63 | 59.6 | 0.896057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 8 |
e6643a1835f7cd88e0c0262a175a67efcef2b73b | 978 | py | Python | maxout.py | federicobergamin/Variational-Inference-with-Normalizing-Flows | 09c3702a4ae04d044bc9bfefa20de5078a44caab | [
"MIT"
] | 16 | 2019-12-23T12:12:07.000Z | 2022-03-07T08:29:51.000Z | maxout.py | federicobergamin/Variational-Inference-with-Normalizing-Flows | 09c3702a4ae04d044bc9bfefa20de5078a44caab | [
"MIT"
] | 1 | 2020-06-23T05:21:07.000Z | 2020-06-23T08:01:50.000Z | maxout.py | federicobergamin/Variational-Inference-with-Normalizing-Flows | 09c3702a4ae04d044bc9bfefa20de5078a44caab | [
"MIT"
] | 4 | 2020-10-01T07:15:15.000Z | 2022-03-03T10:59:23.000Z | import numpy as np
import torch
from torch.autograd import Variable
import torch.nn as nn
from torch.autograd import Function
# class Maxout(nn.Module):
# def __init__(self, pool_size):
# super().__init__()
# self._pool_size = pool_size
#
# def forward(self, x):
# assert x.shape[-1] % ... | 34.928571 | 104 | 0.603272 | 148 | 978 | 3.716216 | 0.25 | 0.203636 | 0.261818 | 0.12 | 0.756364 | 0.756364 | 0.756364 | 0.756364 | 0.756364 | 0.756364 | 0 | 0.017333 | 0.233129 | 978 | 28 | 105 | 34.928571 | 0.716 | 0.4182 | 0 | 0 | 0 | 0 | 0.080501 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.142857 | false | 0 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
0545ba2c786ef6af441e9067891282855b52b8e4 | 218,903 | py | Python | mp/utils/generate_labels.py | MECLabTUDA/QA_med_data | 72897cb2d8e520dde6b88318c23bca32eb9210d7 | [
"MIT"
] | null | null | null | mp/utils/generate_labels.py | MECLabTUDA/QA_med_data | 72897cb2d8e520dde6b88318c23bca32eb9210d7 | [
"MIT"
] | null | null | null | mp/utils/generate_labels.py | MECLabTUDA/QA_med_data | 72897cb2d8e520dde6b88318c23bca32eb9210d7 | [
"MIT"
] | null | null | null | import os
import json
def generate_train_labels(num_intensities, source_path, target_path, swap_labels=False):
r"""This function generates the labels.json file that is necessary for training."""
# Foldernames are patient_id
filenames = [x for x in os.listdir(source_path) if '._' not in x and 'Decathlon' in... | 72.846256 | 158 | 0.738336 | 30,691 | 218,903 | 4.901176 | 0.012707 | 0.261531 | 0.364973 | 0.306338 | 0.978667 | 0.977257 | 0.864907 | 0.855925 | 0.825571 | 0.825571 | 0 | 0.094846 | 0.104718 | 218,903 | 3,005 | 159 | 72.846256 | 0.672691 | 0.007305 | 0 | 0.786752 | 1 | 0 | 0.46202 | 0.330737 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000676 | false | 0 | 0.000676 | 0 | 0.001352 | 0.001014 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
5534be5203045ba0c600bc733277d92909861053 | 207 | py | Python | deepethogram/__init__.py | monajalal/deepethogram | 58cfa6843ef4a384ea7ec8c9786edb1ee7111b5f | [
"FSFAP"
] | null | null | null | deepethogram/__init__.py | monajalal/deepethogram | 58cfa6843ef4a384ea7ec8c9786edb1ee7111b5f | [
"FSFAP"
] | null | null | null | deepethogram/__init__.py | monajalal/deepethogram | 58cfa6843ef4a384ea7ec8c9786edb1ee7111b5f | [
"FSFAP"
] | null | null | null | # from deepethogram import feature_extractor, flow_generator, gui, sequence, dataloaders, metrics, utils, viz, zscore
# from deepethogram import feature_extractor, flow_generator, gui, sequence, dataloaders, | 103.5 | 117 | 0.826087 | 24 | 207 | 6.958333 | 0.583333 | 0.191617 | 0.263473 | 0.347305 | 0.874252 | 0.874252 | 0.874252 | 0.874252 | 0.874252 | 0.874252 | 0 | 0 | 0.101449 | 207 | 2 | 118 | 103.5 | 0.897849 | 0.980676 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
555d8ce24d6c1180d85b34c70799ad0c7a382306 | 2,020 | py | Python | hw1/performance_metrics.py | brawnerquan/comp135-20f-assignments | 9570c17b872b7334b0e5b86160d868e3b854c71a | [
"MIT"
] | null | null | null | hw1/performance_metrics.py | brawnerquan/comp135-20f-assignments | 9570c17b872b7334b0e5b86160d868e3b854c71a | [
"MIT"
] | null | null | null | hw1/performance_metrics.py | brawnerquan/comp135-20f-assignments | 9570c17b872b7334b0e5b86160d868e3b854c71a | [
"MIT"
] | null | null | null | import numpy as np
def calc_mean_squared_error(y_N, yhat_N):
''' Compute the mean squared error given true and predicted values
Args
----
y_N : 1D array, shape (N,)
Each entry represents 'ground truth' numeric response for an example
yhat_N : 1D array, shape (N,)
Each entry repres... | 29.705882 | 76 | 0.604455 | 319 | 2,020 | 3.652038 | 0.188088 | 0.030901 | 0.06867 | 0.061803 | 0.830043 | 0.830043 | 0.830043 | 0.830043 | 0.691845 | 0.691845 | 0 | 0.060131 | 0.242574 | 2,020 | 67 | 77 | 30.149254 | 0.701307 | 0.753465 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.777778 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
5578ae61eb7e776244850fe77af275498047394e | 108 | py | Python | maci/replay_buffers/__init__.py | bbrito/mapr2 | 5aa1a4c85c28918d9f16e5544793bf5574d7c49e | [
"Apache-2.0"
] | 35 | 2019-01-13T17:55:03.000Z | 2022-02-23T17:06:53.000Z | maci/replay_buffers/__init__.py | arita37/mapr2 | 57f76875a4a6aed1850d3fb8604683bfe8a0e09b | [
"Apache-2.0"
] | 18 | 2019-03-10T23:12:00.000Z | 2022-03-21T22:17:09.000Z | maci/replay_buffers/__init__.py | arita37/mapr2 | 57f76875a4a6aed1850d3fb8604683bfe8a0e09b | [
"Apache-2.0"
] | 19 | 2019-01-13T20:47:00.000Z | 2021-11-09T05:59:13.000Z | from .simple_replay_buffer import SimpleReplayBuffer
from .indexed_replay_buffer import IndexedReplayBuffer
| 36 | 54 | 0.907407 | 12 | 108 | 7.833333 | 0.666667 | 0.255319 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 55 | 54 | 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 | 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 |
5592bfaf4167cedf4bce5bcebe4e8c5d5656fab6 | 77,533 | py | Python | Midas/test/valetest.py | Ivo-Balbaert/Vale | 8df47e5d953b5c623a25ae4e8e494202fb736dab | [
"Apache-2.0"
] | null | null | null | Midas/test/valetest.py | Ivo-Balbaert/Vale | 8df47e5d953b5c623a25ae4e8e494202fb736dab | [
"Apache-2.0"
] | null | null | null | Midas/test/valetest.py | Ivo-Balbaert/Vale | 8df47e5d953b5c623a25ae4e8e494202fb736dab | [
"Apache-2.0"
] | null | null | null | import unittest
import subprocess
import platform
import os.path
import os
import sys
import shutil
import glob
from typing import Dict, Any, List, Callable
def procrun(args: List[str], **kwargs) -> subprocess.CompletedProcess:
# print("Running: " + " ".join(args))
return subprocess.run(args, capture_output=... | 83.368817 | 198 | 0.765377 | 9,975 | 77,533 | 5.538045 | 0.020652 | 0.048116 | 0.10425 | 0.168024 | 0.966855 | 0.963416 | 0.933149 | 0.807339 | 0.807339 | 0.807339 | 0 | 0.016403 | 0.120117 | 77,533 | 929 | 199 | 83.458558 | 0.79336 | 0.099816 | 0 | 0 | 0 | 0 | 0.234682 | 0.171314 | 0 | 0 | 0 | 0 | 0.003836 | 1 | 0.466752 | false | 0 | 0.011509 | 0.002558 | 0.485934 | 0.019182 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e9c367e00c70259b7e089a1fb39f160c11d5512c | 82 | py | Python | scripts/deploy_mocks.py | murano500k/smart_contract_lottery | 92f6fcf5cbd2335db10fd1239646ba8d16e55e63 | [
"MIT"
] | 32 | 2021-08-02T14:30:06.000Z | 2022-03-28T09:22:27.000Z | scripts/deploy_mocks.py | murano500k/smart_contract_lottery | 92f6fcf5cbd2335db10fd1239646ba8d16e55e63 | [
"MIT"
] | 53 | 2021-09-20T18:23:41.000Z | 2022-03-26T18:26:58.000Z | scripts/deploy_mocks.py | murano500k/smart_contract_lottery | 92f6fcf5cbd2335db10fd1239646ba8d16e55e63 | [
"MIT"
] | 66 | 2021-06-06T16:18:02.000Z | 2022-03-28T07:24:47.000Z | from scripts.helpful_scripts import deploy_mocks
def main():
deploy_mocks()
| 13.666667 | 48 | 0.768293 | 11 | 82 | 5.454545 | 0.727273 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 82 | 5 | 49 | 16.4 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e9d6653ec3bf0f1c716523ccbe2157e4f1aae626 | 47 | py | Python | milkCan/__init__.py | v2thegreat/milkCan | 6e98df6f2b18c56aced308bae6b14ebdc900db3e | [
"MIT"
] | null | null | null | milkCan/__init__.py | v2thegreat/milkCan | 6e98df6f2b18c56aced308bae6b14ebdc900db3e | [
"MIT"
] | null | null | null | milkCan/__init__.py | v2thegreat/milkCan | 6e98df6f2b18c56aced308bae6b14ebdc900db3e | [
"MIT"
] | null | null | null | from milkCan import milkCan
import quickTests
| 11.75 | 27 | 0.851064 | 6 | 47 | 6.666667 | 0.666667 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 28 | 15.666667 | 1 | 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 |
75e4d4ad2e8057960779610f36cbb5a92e3d2082 | 162 | py | Python | video.py | ArtSantana/python-video-converter | c7e704033017d591f3733e94a44cbf1564d362da | [
"MIT"
] | null | null | null | video.py | ArtSantana/python-video-converter | c7e704033017d591f3733e94a44cbf1564d362da | [
"MIT"
] | null | null | null | video.py | ArtSantana/python-video-converter | c7e704033017d591f3733e94a44cbf1564d362da | [
"MIT"
] | null | null | null | class Video:
def __init__(self, files):
self.files = files
def setFiles(self, files):
self.files = files
def getFiles(self):
return self.files | 18 | 28 | 0.666667 | 22 | 162 | 4.727273 | 0.409091 | 0.432692 | 0.25 | 0.346154 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228395 | 162 | 9 | 29 | 18 | 0.832 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
f96d35234a53cd83f18ac3c80b689cbdba19f166 | 18,746 | py | Python | examples/nowcoder/SQL7/tests.py | zhengtong0898/django-decode | 69680853a4a5b07f6a9c4b65c7d86b2d401a92b1 | [
"MIT"
] | 5 | 2020-07-14T07:48:10.000Z | 2021-12-20T21:20:10.000Z | examples/nowcoder/SQL7/tests.py | zhengtong0898/django-decode | 69680853a4a5b07f6a9c4b65c7d86b2d401a92b1 | [
"MIT"
] | 7 | 2021-03-26T03:13:38.000Z | 2022-03-12T00:42:03.000Z | examples/nowcoder/SQL7/tests.py | zhengtong0898/django-decode | 69680853a4a5b07f6a9c4b65c7d86b2d401a92b1 | [
"MIT"
] | 1 | 2021-02-16T07:04:25.000Z | 2021-02-16T07:04:25.000Z | from datetime import date
from django.db import connections
from django.test import TestCase, TransactionTestCase
from .models import salaries
from django.db.models.aggregates import Count
# Create your tests here.
class SimpleTest(TransactionTestCase):
reset_sequences = True
def prepare_data(self):
... | 99.712766 | 139 | 0.672357 | 2,872 | 18,746 | 4.209958 | 0.083565 | 0.054586 | 0.153833 | 0.174345 | 0.785295 | 0.771235 | 0.765197 | 0.765197 | 0.765197 | 0.765197 | 0 | 0.202742 | 0.136189 | 18,746 | 187 | 140 | 100.245989 | 0.543939 | 0.036594 | 0 | 0.013699 | 0 | 0.815068 | 0.723541 | 0.303639 | 0 | 0 | 0 | 0 | 0.061644 | 1 | 0.027397 | false | 0 | 0.034247 | 0 | 0.075342 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f97933cfd8bb1304e0c59cca3c30534250e201e8 | 1,892 | py | Python | instrumentation/opentelemetry-instrumentation-django/tests/views.py | epsagon/opentelemetry-python-contrib | 2671ff53c8643ad55dcf78dad072f2f0b82e84e1 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2019-11-26T14:31:09.000Z | 2020-01-09T23:04:49.000Z | instrumentation/opentelemetry-instrumentation-django/tests/views.py | epsagon/opentelemetry-python-contrib | 2671ff53c8643ad55dcf78dad072f2f0b82e84e1 | [
"Apache-2.0",
"BSD-3-Clause"
] | 16 | 2020-02-07T10:01:02.000Z | 2020-04-06T22:03:31.000Z | instrumentation/opentelemetry-instrumentation-django/tests/views.py | epsagon/opentelemetry-python-contrib | 2671ff53c8643ad55dcf78dad072f2f0b82e84e1 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-02-05T14:59:12.000Z | 2020-04-03T15:34:16.000Z | from django.http import HttpResponse
def traced(request): # pylint: disable=unused-argument
return HttpResponse()
def traced_template(request, year): # pylint: disable=unused-argument
return HttpResponse()
def error(request): # pylint: disable=unused-argument
raise ValueError("error")
def exclude... | 24.25641 | 76 | 0.734144 | 222 | 1,892 | 6.153153 | 0.162162 | 0.133236 | 0.194729 | 0.27672 | 0.947291 | 0.937042 | 0.937042 | 0.85798 | 0.795022 | 0.483163 | 0 | 0.006258 | 0.155391 | 1,892 | 77 | 77 | 24.571429 | 0.848561 | 0.236258 | 0 | 0.511111 | 0 | 0 | 0.116084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177778 | false | 0 | 0.022222 | 0.133333 | 0.511111 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 0 | 9 |
f9a2bae27f884e0eea1d014f0f9474353748823b | 12,025 | py | Python | tests/integration/pypyr/pipelinerunner_int_test.py | Reskov/pypyr | 67bc1795493c19e648e12f776a644f92e3bd2fc8 | [
"Apache-2.0"
] | 261 | 2020-08-18T19:31:29.000Z | 2022-03-31T14:54:06.000Z | tests/integration/pypyr/pipelinerunner_int_test.py | Reskov/pypyr | 67bc1795493c19e648e12f776a644f92e3bd2fc8 | [
"Apache-2.0"
] | 73 | 2020-08-14T20:21:14.000Z | 2022-03-14T14:00:16.000Z | tests/integration/pypyr/pipelinerunner_int_test.py | Reskov/pypyr | 67bc1795493c19e648e12f776a644f92e3bd2fc8 | [
"Apache-2.0"
] | 15 | 2020-09-30T12:15:50.000Z | 2022-03-30T07:25:40.000Z | """pipelinerunner.py integration tests."""
import logging
from pathlib import Path
import pytest
from unittest.mock import call
from pypyr import pipelinerunner
from pypyr.cache import pipelinecache
from pypyr.errors import KeyNotInContextError
from tests.common.utils import patch_logger
working_dir_tests = Path(Path.... | 40.762712 | 79 | 0.673181 | 1,585 | 12,025 | 4.850473 | 0.095899 | 0.050338 | 0.042924 | 0.05307 | 0.877081 | 0.852367 | 0.834807 | 0.823621 | 0.789152 | 0.781738 | 0 | 0.005749 | 0.204407 | 12,025 | 294 | 80 | 40.901361 | 0.797847 | 0.114678 | 0 | 0.714286 | 0 | 0 | 0.191578 | 0.050455 | 0 | 0 | 0 | 0 | 0.364532 | 1 | 0.073892 | false | 0 | 0.039409 | 0 | 0.1133 | 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 |
ddcabf144da05cb2612bc40f46a6db5b0fce1190 | 146 | py | Python | mysite/myapp/views.py | KlimDos/jango | 780d4b2460d1893440922a37c098c705a89c9393 | [
"MIT"
] | null | null | null | mysite/myapp/views.py | KlimDos/jango | 780d4b2460d1893440922a37c098c705a89c9393 | [
"MIT"
] | 6 | 2020-02-12T02:36:56.000Z | 2022-02-10T10:46:51.000Z | mysite/myapp/views.py | KlimDos/Django | 780d4b2460d1893440922a37c098c705a89c9393 | [
"MIT"
] | null | null | null | from django.shortcuts import render, render_to_response
# Create your views here.
def index(request):
return render_to_response('index.html') | 29.2 | 55 | 0.794521 | 21 | 146 | 5.333333 | 0.761905 | 0.142857 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 146 | 5 | 56 | 29.2 | 0.875 | 0.157534 | 0 | 0 | 0 | 0 | 0.081967 | 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 |
ddd78f21d3ea53f0cc2ae1356f909d222916cbfb | 48 | py | Python | AccountsApp/models/__init__.py | Kolynes/uzu-accounts-app | 21c182ec8497fe4fa1ca651fb6c622b59579aba2 | [
"MIT"
] | null | null | null | AccountsApp/models/__init__.py | Kolynes/uzu-accounts-app | 21c182ec8497fe4fa1ca651fb6c622b59579aba2 | [
"MIT"
] | null | null | null | AccountsApp/models/__init__.py | Kolynes/uzu-accounts-app | 21c182ec8497fe4fa1ca651fb6c622b59579aba2 | [
"MIT"
] | 1 | 2020-10-28T12:32:28.000Z | 2020-10-28T12:32:28.000Z | from .VerificationModel import VerificationModel | 48 | 48 | 0.916667 | 4 | 48 | 11 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fd25530a1870eb066e920d9ef241510843534f48 | 167 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection/instanceAttributeCreatedInsideWithStatement.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/instanceAttributeCreatedInsideWithStatement.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/instanceAttributeCreatedInsideWithStatement.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class Foo(object):
def __init__(self):
with open('b.py'):
self.scope = "a"
pass
def get_scope(self):
return self.scope | 20.875 | 28 | 0.508982 | 21 | 167 | 3.809524 | 0.714286 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371257 | 167 | 8 | 29 | 20.875 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.029762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
fd3c8075587387b9be51512c95ead9fae4f6d5b9 | 3,987 | py | Python | src/main/python/tmp.py | macdaliot/epic | 784fc2c2b3f730a6417d0f25587208c8b44a8d2c | [
"Apache-2.0"
] | null | null | null | src/main/python/tmp.py | macdaliot/epic | 784fc2c2b3f730a6417d0f25587208c8b44a8d2c | [
"Apache-2.0"
] | null | null | null | src/main/python/tmp.py | macdaliot/epic | 784fc2c2b3f730a6417d0f25587208c8b44a8d2c | [
"Apache-2.0"
] | null | null | null | #import pymongo
import sys
import os
#from pymongo import MongoClient
from moveBatch import moveBatch
rString = moveBatch([0.6878930867438103,0.8601166855980099,0.787110182202453,0.7390269160608786,0.4253127065169371,0.19227850181195683,0.8668621382475246,0.35351966164249027,0.6386985808256926,0.6961745812829627,0.... | 498.375 | 3,861 | 0.891397 | 421 | 3,987 | 8.441805 | 0.501188 | 0.007316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.867053 | 0.005769 | 3,987 | 7 | 3,862 | 569.571429 | 0.029516 | 0.011538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.6 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
b5be404cba68c3c0bc4da0f507fe96d1d8380661 | 295 | py | Python | src/message.py | shimech/snkrs-pass-checker | 178ce65815adf5a342fff57a464b3b6073e53227 | [
"MIT"
] | 2 | 2021-03-04T04:44:54.000Z | 2021-03-22T14:53:06.000Z | src/message.py | shimech/snkrs-pass-checker | 178ce65815adf5a342fff57a464b3b6073e53227 | [
"MIT"
] | null | null | null | src/message.py | shimech/snkrs-pass-checker | 178ce65815adf5a342fff57a464b3b6073e53227 | [
"MIT"
] | null | null | null | class Message:
snkrs_pass_message = "<!channel> 【SNKRS PASS Flying Get!!!】" + "\n"
snkrs_pass_message += "SNKRS PASSが発行されました!急げ!!:snkrspass:" + "\n"
snkrs_pass_message += "{}" + "\n"
@classmethod
def make_message(cls, url):
return cls.snkrs_pass_message.format(url)
| 32.777778 | 71 | 0.644068 | 36 | 295 | 5.027778 | 0.5 | 0.248619 | 0.353591 | 0.187845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19322 | 295 | 8 | 72 | 36.875 | 0.760504 | 0 | 0 | 0 | 0 | 0 | 0.267797 | 0.094915 | 0.428571 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.571429 | 0 | 0.142857 | 0.571429 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
b5e8b40e2db707816ba3e18d9aa38586cbef9382 | 10,034 | py | Python | app/tests/v1/test_sales.py | kwanj-k/storemanager-API | e51511545a717341a7b1eb100eb3eab625a8b011 | [
"MIT"
] | 1 | 2019-05-08T08:39:08.000Z | 2019-05-08T08:39:08.000Z | app/tests/v1/test_sales.py | kwanj-k/storemanager-API | e51511545a717341a7b1eb100eb3eab625a8b011 | [
"MIT"
] | 2 | 2019-10-21T17:56:01.000Z | 2019-10-29T07:36:39.000Z | app/tests/v1/test_sales.py | kwanj-k/storemanager-API | e51511545a717341a7b1eb100eb3eab625a8b011 | [
"MIT"
] | null | null | null | """
A module to contain all sale related test cases
"""
# Standard library imports
import json
# Local application imports
from .base_config import Settings
from app.api.v1.models.db import Db
s_url = "/api/v1/sales"
p_url = "/api/v1/products"
class TestSales(Settings):
"""
p_data to contain product data
... | 43.064378 | 85 | 0.549731 | 1,135 | 10,034 | 4.74185 | 0.102203 | 0.031215 | 0.107023 | 0.133779 | 0.86845 | 0.851914 | 0.848384 | 0.845225 | 0.802861 | 0.794314 | 0 | 0.012603 | 0.312039 | 10,034 | 232 | 86 | 43.25 | 0.767058 | 0.052023 | 0 | 0.71066 | 0 | 0 | 0.132634 | 0 | 0 | 0 | 0 | 0 | 0.111675 | 1 | 0.055838 | false | 0 | 0.015228 | 0 | 0.111675 | 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 |
b5ed8106e50c1cbf1f8a592754786851d36c1e7d | 8,710 | py | Python | SBaaS_quantification/stage01_quantification_QCs_postgresql_models.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | SBaaS_quantification/stage01_quantification_QCs_postgresql_models.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | SBaaS_quantification/stage01_quantification_QCs_postgresql_models.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | from SBaaS_base.postgresql_orm_base import *
class data_stage01_quantification_LLOQAndULOQ(Base):
__tablename__ = 'data_stage01_quantification_LLOQAndULOQ'
id = Column(Integer, Sequence('data_stage01_quantification_lloqanduloq_id_seq'), primary_key=True)
experiment_id = Column(String(50))
sample_name... | 50.346821 | 148 | 0.718944 | 995 | 8,710 | 5.728643 | 0.063317 | 0.270351 | 0.043509 | 0.050526 | 0.850175 | 0.778596 | 0.778596 | 0.73386 | 0.69614 | 0.653333 | 0 | 0.008128 | 0.194834 | 8,710 | 173 | 149 | 50.346821 | 0.804506 | 0 | 0 | 0.531646 | 0 | 0 | 0.163949 | 0.098852 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006329 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b5ef8d4f808defc512d85cd90ca9fcea50c60f0c | 36,091 | py | Python | Python/windwardrestapi/Model/Document.py | windward-studios/Windward-REST-version-2-Clients | 8fd467e6f4ece6fcc435609ffb23448d07af3131 | [
"MIT"
] | null | null | null | Python/windwardrestapi/Model/Document.py | windward-studios/Windward-REST-version-2-Clients | 8fd467e6f4ece6fcc435609ffb23448d07af3131 | [
"MIT"
] | 1 | 2020-10-12T20:32:05.000Z | 2020-10-12T20:38:04.000Z | Python/windwardrestapi/Model/Document.py | windward-studios/Windward-REST-version-2-Clients | 8fd467e6f4ece6fcc435609ffb23448d07af3131 | [
"MIT"
] | null | null | null | __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x08\x00\x55\x0d\x0d\x0a\x04\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\xf5\x22\x00\x00\x00\x00\x00\x10\xa4\x37\xc4\x0d\x3e\x9e\x01\xef\x93\x59\x47\x94\x74\x15\x68\x81\x00\x00\x00\x00\x00\x00\x00\x00\x1f\x25\xf7\xcc\xa3\x14\x0e\x... | 36,091 | 36,091 | 0.749993 | 9,018 | 36,091 | 3.000222 | 0.028942 | 0.004879 | 0.005322 | 0.004879 | 0.002218 | 0.001663 | 0.001663 | 0 | 0 | 0 | 0 | 0.313401 | 0.000083 | 36,091 | 1 | 36,091 | 36,091 | 0.436322 | 0 | 0 | 0 | 0 | 1 | 0.998892 | 0.998892 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1f4e9ae0eaec41b60428b1f669b2a4a577ed8820 | 201 | py | Python | tests/tokens/docstring1.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 31 | 2022-01-07T23:56:33.000Z | 2022-03-29T16:09:02.000Z | tests/tokens/docstring1.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 197 | 2021-12-29T19:01:41.000Z | 2022-03-31T15:58:25.000Z | tests/tokens/docstring1.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 17 | 2022-01-06T15:34:36.000Z | 2022-03-31T13:55:33.000Z | def test1():
"""A multi-line
docstring.
"""
def test2():
"""
A multi-line
docstring.
"""
def test2():
""" A single-line docstring."""
"""
A multi-line
docstring.
"""
| 10.578947 | 35 | 0.502488 | 22 | 201 | 4.590909 | 0.363636 | 0.514851 | 0.29703 | 0.564356 | 0.544554 | 0.544554 | 0.544554 | 0 | 0 | 0 | 0 | 0.021127 | 0.293532 | 201 | 18 | 36 | 11.166667 | 0.690141 | 0.358209 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
2f1cf17a05fadbc357182fd1b89bb7ff0b3b85b4 | 51,015 | py | Python | model/train_utils.py | statsu1990/kaggle_google_quest_qa | 4b3569aa6d8b58d2315301a3ad86e6ed1d71c6db | [
"MIT"
] | 3 | 2020-02-13T02:11:02.000Z | 2021-09-05T13:15:34.000Z | model/train_utils.py | statsu1990/kaggle_google_quest_qa | 4b3569aa6d8b58d2315301a3ad86e6ed1d71c6db | [
"MIT"
] | null | null | null | model/train_utils.py | statsu1990/kaggle_google_quest_qa | 4b3569aa6d8b58d2315301a3ad86e6ed1d71c6db | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.optim as optim
import torch.backends.cudnn as cudnn
from torch.optim.lr_scheduler import _LRScheduler
from torchcontrib.optim import SWA
from tqdm import tqdm
from scipy.stats import spearmanr
import pandas as pd
import numpy as np
import warnings
warning... | 39.032135 | 162 | 0.586494 | 6,273 | 51,015 | 4.54631 | 0.032202 | 0.02749 | 0.022091 | 0.025527 | 0.929977 | 0.926505 | 0.919422 | 0.913987 | 0.912374 | 0.908903 | 0 | 0.012512 | 0.290307 | 51,015 | 1,306 | 163 | 39.062021 | 0.775197 | 0.053318 | 0 | 0.899033 | 0 | 0 | 0.025702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06015 | false | 0 | 0.011815 | 0.001074 | 0.131042 | 0.047261 | 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 |
2f5dfa79ddfce8dec33fcda30a7f36afd0791530 | 102,059 | py | Python | generated/resources/access_control_list_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | 1 | 2020-04-05T19:43:40.000Z | 2020-04-05T19:43:40.000Z | generated/resources/access_control_list_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | null | null | null | generated/resources/access_control_list_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | 1 | 2020-08-25T12:47:27.000Z | 2020-08-25T12:47:27.000Z |
# AUTO-GENERATED file from IFMapApiGenerator. Do Not Edit!
from contrail_heat.resources import contrail
try:
from heat.common.i18n import _
except ImportError:
pass
from heat.engine import attributes
from heat.engine import constraints
from heat.engine import properties
try:
from heat.openstack.common imp... | 143.341292 | 3,465 | 0.692521 | 12,633 | 102,059 | 4.952426 | 0.012824 | 0.204878 | 0.267918 | 0.375168 | 0.979797 | 0.97823 | 0.972732 | 0.966642 | 0.963046 | 0.956237 | 0 | 0.004689 | 0.233149 | 102,059 | 711 | 3,466 | 143.542897 | 0.794708 | 0.000549 | 0 | 0.487627 | 1 | 0 | 0.067657 | 0.063784 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007278 | false | 0.002911 | 0.016012 | 0.001456 | 0.034935 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
2f60c8f4c4bfade8eb66d023fb05b906a8a260ad | 147 | py | Python | lib/solutions/hello.py | DPNT-Sourcecode/CHK-tzcu01 | 9c420c4839bc25b9341500799d057fdc66c118bc | [
"Apache-2.0"
] | null | null | null | lib/solutions/hello.py | DPNT-Sourcecode/CHK-tzcu01 | 9c420c4839bc25b9341500799d057fdc66c118bc | [
"Apache-2.0"
] | null | null | null | lib/solutions/hello.py | DPNT-Sourcecode/CHK-tzcu01 | 9c420c4839bc25b9341500799d057fdc66c118bc | [
"Apache-2.0"
] | null | null | null | # python2 ((((((((
# noinspection PyUnusedLocal
# friend_name = unicode string
def hello(friend_name):
return u"Hello, " + friend_name + u"!"
| 21 | 42 | 0.673469 | 17 | 147 | 5.647059 | 0.647059 | 0.3125 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.170068 | 147 | 6 | 43 | 24.5 | 0.778689 | 0.489796 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
85ee97eb1ac754edf7ec7c3a264ff3acfcce26fd | 502 | py | Python | unittest_reinvent/scoring_tests/physchem/__init__.py | fujirock/Reinvent | 9c57636f9d32b4ce5b75670f43906a70d5daf886 | [
"MIT"
] | 1 | 2021-08-31T02:28:10.000Z | 2021-08-31T02:28:10.000Z | unittest_reinvent/scoring_tests/physchem/__init__.py | prasannavd/Reinvent | ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616 | [
"MIT"
] | null | null | null | unittest_reinvent/scoring_tests/physchem/__init__.py | prasannavd/Reinvent | ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616 | [
"MIT"
] | null | null | null | from unittest_reinvent.scoring_tests.physchem.test_mw_score import *
from unittest_reinvent.scoring_tests.physchem.test_tpsa_score import *
from unittest_reinvent.scoring_tests.physchem.test_num_rot_bonds import *
from unittest_reinvent.scoring_tests.physchem.test_hbd_lipinski import *
from unittest_reinvent.scoring_te... | 62.75 | 73 | 0.888446 | 71 | 502 | 5.873239 | 0.267606 | 0.201439 | 0.335731 | 0.453237 | 0.901679 | 0.901679 | 0.901679 | 0.796163 | 0.556355 | 0 | 0 | 0 | 0.055777 | 502 | 7 | 74 | 71.714286 | 0.879747 | 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 | 1 | 1 | 1 | 1 | 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 | 11 |
c07b2bf64256802cae0493d4826d778139caadf2 | 679 | py | Python | IRIS/iris_simple_test.py | petercunning/notebook | 5b26f2dc96bcb36434542b397de6ca5fa3b61a0a | [
"MIT"
] | 32 | 2015-01-07T01:48:05.000Z | 2022-03-02T07:07:42.000Z | IRIS/iris_simple_test.py | petercunning/notebook | 5b26f2dc96bcb36434542b397de6ca5fa3b61a0a | [
"MIT"
] | 1 | 2015-04-13T21:00:18.000Z | 2015-04-13T21:00:18.000Z | IRIS/iris_simple_test.py | petercunning/notebook | 5b26f2dc96bcb36434542b397de6ca5fa3b61a0a | [
"MIT"
] | 30 | 2015-01-28T09:31:29.000Z | 2022-03-07T03:08:28.000Z | # -*- coding: utf-8 -*-
# <nbformat>3.0</nbformat>
# <codecell>
import iris
url='http://oceanmodeling.pmc.ucsc.edu:8080/thredds/dodsC/ccsnrt/fmrc/CCSNRT_Aggregation_best.ncd'
var='potential temperature'
cube = iris.load_cube(url,var)
# <codecell>
import iris
url='http://oceanmodeling.pmc.ucsc.edu:8080/thredds/dodsC... | 21.21875 | 113 | 0.77025 | 99 | 679 | 5.070707 | 0.40404 | 0.083665 | 0.10757 | 0.125498 | 0.719124 | 0.719124 | 0.719124 | 0.719124 | 0.719124 | 0.619522 | 0 | 0.025518 | 0.076583 | 679 | 31 | 114 | 21.903226 | 0.77512 | 0.148748 | 0 | 0.769231 | 0 | 0.230769 | 0.640845 | 0.054577 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
23b91fea6a64d203a4fd2e242be42a73b274dfae | 7,380 | py | Python | code/graphics/experimental_evaluation.py | ShivaP69/Exploiting-Personalized-Calibration-and-Metrics-for-Fairness-Recommendation | e46b690453ab8b424f65c1142b8a86f6be7adcb3 | [
"MIT"
] | 1 | 2021-11-06T11:35:15.000Z | 2021-11-06T11:35:15.000Z | code/graphics/experimental_evaluation.py | ShivaP69/Exploiting-Personalized-Calibration-and-Metrics-for-Fairness-Recommendation | e46b690453ab8b424f65c1142b8a86f6be7adcb3 | [
"MIT"
] | null | null | null | code/graphics/experimental_evaluation.py | ShivaP69/Exploiting-Personalized-Calibration-and-Metrics-for-Fairness-Recommendation | e46b690453ab8b424f65c1142b8a86f6be7adcb3 | [
"MIT"
] | 1 | 2021-09-22T11:18:26.000Z | 2021-09-22T11:18:26.000Z | import os
from copy import deepcopy
from settings.config import EVALUATION_METRIC_LABEL, FAIRNESS_METRIC_LABEL, algorithm_label, FONT_SIZE_VALUE, \
LAMBDA_VALUE_LABEL, EVALUATION_VALUE_LABEL, DPI_VALUE, QUALITY_VALUE, markers_list, line_style_list, \
postprocessing_results_path, MAP_LABEL, MC_LABEL, MACE_LABEL... | 51.608392 | 124 | 0.621409 | 830 | 7,380 | 5.103614 | 0.116867 | 0.083097 | 0.098678 | 0.075307 | 0.822474 | 0.771955 | 0.733475 | 0.720491 | 0.709632 | 0.709632 | 0 | 0.001898 | 0.286043 | 7,380 | 142 | 125 | 51.971831 | 0.80205 | 0.007046 | 0 | 0.709924 | 0 | 0 | 0.015836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022901 | false | 0 | 0.030534 | 0 | 0.053435 | 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 |
f1c660713b34ab107897d8c41093b7b8d98fcf6a | 23,100 | py | Python | rapid7vmconsole/api/scan_api.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 61 | 2018-05-17T05:57:09.000Z | 2022-03-08T13:59:21.000Z | rapid7vmconsole/api/scan_api.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 33 | 2018-06-26T16:21:14.000Z | 2022-03-03T20:55:47.000Z | rapid7vmconsole/api/scan_api.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 43 | 2018-02-24T05:45:53.000Z | 2022-03-31T22:15:16.000Z | # coding: utf-8
"""
Python InsightVM API Client
OpenAPI spec version: 3
Contact: support@rapid7.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from rap... | 40.526316 | 263 | 0.604719 | 2,798 | 23,100 | 4.799857 | 0.071837 | 0.054207 | 0.020849 | 0.026806 | 0.940804 | 0.934996 | 0.930305 | 0.919509 | 0.912063 | 0.905436 | 0 | 0.018072 | 0.300519 | 23,100 | 569 | 264 | 40.59754 | 0.813096 | 0.37632 | 0 | 0.777409 | 1 | 0 | 0.174309 | 0.043881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036545 | false | 0 | 0.013289 | 0 | 0.10299 | 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 |
f1d90e63985e3e66fbc1735c59bf01ea3bbce690 | 17,693 | py | Python | PAD1/my_dataset.py | yueyechen/cvpr20 | 69e6f9fd2393048bf48d7542a19ff0087b97d033 | [
"Apache-2.0"
] | 1 | 2020-12-18T06:02:29.000Z | 2020-12-18T06:02:29.000Z | PAD1/my_dataset.py | yueyechen/cvpr20 | 69e6f9fd2393048bf48d7542a19ff0087b97d033 | [
"Apache-2.0"
] | 4 | 2020-06-13T03:25:05.000Z | 2022-01-13T02:17:29.000Z | PAD1/my_dataset.py | yueyechen/cvpr20 | 69e6f9fd2393048bf48d7542a19ff0087b97d033 | [
"Apache-2.0"
] | 3 | 2020-03-02T10:10:48.000Z | 2020-05-11T08:27:40.000Z | from torch.utils.data import Dataset
from PIL import Image, ImageOps
import os
import csv
import random
import numpy as np
# from torchvision import transforms as trans
def default_loader(path):
return Image.open(path).convert('RGB')
def default_loader_half(path):
img = Image.open(path).convert('RGB')
re... | 36.182004 | 116 | 0.521336 | 2,394 | 17,693 | 3.675021 | 0.059315 | 0.030234 | 0.021823 | 0.029552 | 0.900546 | 0.885429 | 0.861218 | 0.855876 | 0.855876 | 0.82587 | 0 | 0.035677 | 0.347313 | 17,693 | 488 | 117 | 36.256148 | 0.726186 | 0.025151 | 0 | 0.831325 | 0 | 0 | 0.003482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043373 | false | 0 | 0.014458 | 0.012048 | 0.101205 | 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 |
7b0347c53508b50b340135c3ea4bbd46505829ab | 49 | py | Python | instance/config.py | kuya-ui/News-API | bfc2cd8688c3c24cdc6f82e276b3849b50b0f005 | [
"MIT"
] | null | null | null | instance/config.py | kuya-ui/News-API | bfc2cd8688c3c24cdc6f82e276b3849b50b0f005 | [
"MIT"
] | null | null | null | instance/config.py | kuya-ui/News-API | bfc2cd8688c3c24cdc6f82e276b3849b50b0f005 | [
"MIT"
] | null | null | null | NEWS_API_KEY = '8120360ba9e342dbaccb75e01109ca34' | 49 | 49 | 0.897959 | 4 | 49 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.425532 | 0.040816 | 49 | 1 | 49 | 49 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0.64 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7b0fb4171a80ee792aea797e2f08c00229a88d4e | 95 | py | Python | Python/Topics/Functional decomposition/Full name/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Python/Topics/Functional decomposition/Full name/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | null | null | null | Python/Topics/Functional decomposition/Full name/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | # create the function
def create_full_name(name, last_name):
return name + " " + last_name
| 23.75 | 38 | 0.715789 | 14 | 95 | 4.571429 | 0.571429 | 0.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 95 | 3 | 39 | 31.666667 | 0.831169 | 0.2 | 0 | 0 | 0 | 0 | 0.013514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9e53c8a45feb86919198cc27596b841819f8ee68 | 68 | py | Python | main/settings/base.py | triat/yogi-the-bot | 01e2f17b9983fe2e9db68ea8cdd093b11ba5d588 | [
"MIT"
] | 23 | 2019-03-20T15:36:23.000Z | 2022-01-25T11:15:16.000Z | main/settings/base.py | triat/yogi-the-bot | 01e2f17b9983fe2e9db68ea8cdd093b11ba5d588 | [
"MIT"
] | 19 | 2019-04-02T05:19:35.000Z | 2021-06-25T15:18:50.000Z | main/settings/base.py | triat/yogi-the-bot | 01e2f17b9983fe2e9db68ea8cdd093b11ba5d588 | [
"MIT"
] | 7 | 2019-04-07T23:18:18.000Z | 2021-05-09T04:34:29.000Z | from main.settings.logs import *
from main.settings.common import *
| 22.666667 | 34 | 0.794118 | 10 | 68 | 5.4 | 0.6 | 0.296296 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 35 | 34 | 0.9 | 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 |
9e954fa95e60e76b8ac4faa15f5f68a86b947303 | 34,195 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/igmp/nxos/tests/igmp_output.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/ops-pkg/src/genie/libs/ops/igmp/nxos/tests/igmp_output.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/ops-pkg/src/genie/libs/ops/igmp/nxos/tests/igmp_output.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | '''
Igmp Genie Ops Object Outputs for NXOS.
'''
class IgmpOutput(object):
ShowIpIgmpInterface = {
"vrfs": {
"default": {
"groups_count": 2,
"interface": {
"Ethernet2/2": {
"query_max_response_time": 10,
... | 46.52381 | 75 | 0.198099 | 1,878 | 34,195 | 3.439297 | 0.072417 | 0.027868 | 0.024152 | 0.027868 | 0.91717 | 0.894875 | 0.881251 | 0.863446 | 0.863446 | 0.852454 | 0 | 0.143864 | 0.701184 | 34,195 | 734 | 76 | 46.587193 | 0.488256 | 0.001141 | 0 | 0.719225 | 0 | 0 | 0.204 | 0.027997 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.006916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7b8e657fee5326c973f54210b84099cc69dbab6c | 199 | py | Python | rl/environments/__init__.py | RamiSketcher/AMMI-RL | 6d51587ff4d5dc14cba87fca561bd7b340b44586 | [
"MIT"
] | null | null | null | rl/environments/__init__.py | RamiSketcher/AMMI-RL | 6d51587ff4d5dc14cba87fca561bd7b340b44586 | [
"MIT"
] | null | null | null | rl/environments/__init__.py | RamiSketcher/AMMI-RL | 6d51587ff4d5dc14cba87fca561bd7b340b44586 | [
"MIT"
] | 2 | 2021-09-24T22:51:42.000Z | 2021-11-14T16:43:17.000Z | # Import all special environmnets
# PDDM environments
from rl.environments.pddm_envs.gym_env import GymEnv
# MBPO environments
import rl.environments.mbpo.env
# import rl.environments.mbpo.static
| 19.9 | 52 | 0.819095 | 27 | 199 | 5.962963 | 0.518519 | 0.26087 | 0.248447 | 0.298137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115578 | 199 | 9 | 53 | 22.111111 | 0.914773 | 0.512563 | 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 |
7bcf8c79ec5a65e697cd4822b204302012d38df4 | 3,231 | py | Python | graphics.py | 220111/Sam-s-Quest | 2619ae08687ca60ef9b3e3571223946e48600fcb | [
"Apache-2.0"
] | null | null | null | graphics.py | 220111/Sam-s-Quest | 2619ae08687ca60ef9b3e3571223946e48600fcb | [
"Apache-2.0"
] | null | null | null | graphics.py | 220111/Sam-s-Quest | 2619ae08687ca60ef9b3e3571223946e48600fcb | [
"Apache-2.0"
] | 1 | 2019-10-15T16:31:46.000Z | 2019-10-15T16:31:46.000Z | #this it the graphics file to Sam's Battle Simulator
#Copyright 2018 Henry Morin
def title():
print("""
_______ _______ _______ _ _______ ______ _________________________ _______ _______________________
( ____ ( ___ | | | ____ \ ( ___ \( ___ )__ __|__ __( \ ( ____ \ (... | 44.875 | 113 | 0.132157 | 51 | 3,231 | 2.647059 | 0.490196 | 0.207407 | 0.222222 | 0.237037 | 0.081481 | 0.081481 | 0.081481 | 0.081481 | 0.081481 | 0.081481 | 0 | 0.004076 | 0.544413 | 3,231 | 71 | 114 | 45.507042 | 0.087636 | 0.024451 | 0 | 0.085106 | 0 | 0.148936 | 0.976752 | 0.069427 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | true | 0 | 0 | 0 | 0.042553 | 0.042553 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c8e24cb3030d1a046a139dd298bd79b5b136abff | 14,319 | py | Python | rlcarsim.py | abhijitmajumdar/Reinforcement_Learning_Car_Simulator | 42c56eb7eabaaafadf6b601ffa54fdf229882da0 | [
"MIT"
] | 13 | 2018-06-26T08:28:52.000Z | 2021-04-13T14:27:19.000Z | rlcarsim.py | abhijitmajumdar/Reinforcement_Learning_Car_Simulator | 42c56eb7eabaaafadf6b601ffa54fdf229882da0 | [
"MIT"
] | null | null | null | rlcarsim.py | abhijitmajumdar/Reinforcement_Learning_Car_Simulator | 42c56eb7eabaaafadf6b601ffa54fdf229882da0 | [
"MIT"
] | 2 | 2018-03-05T22:32:17.000Z | 2018-03-06T00:12:13.000Z | from Simulator import Environment,GUI,RL,Utils
# User controls the movement of all cars simultaneously, using 'w','a','s','d' for forward, left, reverse and right.
# Use 'q' to quit and 'r' to reset and randomize agents
# Can be used to sense how the system works(sensor readings, collisions and car score)
def user_con... | 53.830827 | 182 | 0.665549 | 2,004 | 14,319 | 4.530439 | 0.114271 | 0.055843 | 0.023791 | 0.031722 | 0.82465 | 0.790395 | 0.768256 | 0.76319 | 0.739068 | 0.735433 | 0 | 0.011824 | 0.208534 | 14,319 | 265 | 183 | 54.033962 | 0.789288 | 0.072142 | 0 | 0.687243 | 0 | 0 | 0.082448 | 0.018087 | 0.00823 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.004115 | null | null | 0.024691 | 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 |
cdddba83a3a73145cb43c2aa0801ec55211bb8ad | 7,674 | py | Python | idfy_rest_client/controllers/language_sets_controller.py | dealflowteam/Idfy | fa3918a6c54ea0eedb9146578645b7eb1755b642 | [
"MIT"
] | null | null | null | idfy_rest_client/controllers/language_sets_controller.py | dealflowteam/Idfy | fa3918a6c54ea0eedb9146578645b7eb1755b642 | [
"MIT"
] | null | null | null | idfy_rest_client/controllers/language_sets_controller.py | dealflowteam/Idfy | fa3918a6c54ea0eedb9146578645b7eb1755b642 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
idfy_rest_client.controllers.language_sets_controller
This file was automatically generated for Idfy by APIMATIC v2.0 ( https://apimatic.io ).
"""
from .base_controller import BaseController
from ..api_helper import APIHelper
from ..configuration import Configuration
fr... | 34.881818 | 130 | 0.613761 | 809 | 7,674 | 5.593325 | 0.15822 | 0.055691 | 0.035359 | 0.055249 | 0.820773 | 0.815249 | 0.794254 | 0.794254 | 0.738785 | 0.725746 | 0 | 0.000956 | 0.318348 | 7,674 | 219 | 131 | 35.041096 | 0.86408 | 0.395491 | 0 | 0.733333 | 1 | 0 | 0.074454 | 0.018485 | 0 | 0 | 0 | 0.022831 | 0 | 1 | 0.066667 | false | 0 | 0.053333 | 0 | 0.186667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a80c7fef5f5c203f07acaa4bb74d54a99210548f | 70,756 | py | Python | learning/tests/models/test_course.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/tests/models/test_course.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/tests/models/test_course.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | #
# Copyright (C) 2019 Guillaume Bernard <guillaume.bernard@koala-lms.org>
#
# This file is part of Koala LMS (Learning Management system)
# Koala LMS is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ve... | 48.629553 | 121 | 0.707615 | 8,147 | 70,756 | 5.876396 | 0.034737 | 0.077702 | 0.100595 | 0.048251 | 0.919269 | 0.898987 | 0.866214 | 0.846433 | 0.825128 | 0.806078 | 0 | 0.005113 | 0.192888 | 70,756 | 1,454 | 122 | 48.662999 | 0.833211 | 0.030485 | 0 | 0.700893 | 0 | 0 | 0.070609 | 0.032215 | 0 | 0 | 0 | 0 | 0.333036 | 1 | 0.085714 | false | 0 | 0.005357 | 0 | 0.094643 | 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 |
a92c681699acc5d78c71341e4ae5bf86b947290c | 40 | py | Python | g_mlp_gpt/__init__.py | onlyrico/g-mlp-gpt | efee809ed3d0c54845395534d07b957d5c8ef5b2 | [
"MIT"
] | 79 | 2021-05-20T02:50:02.000Z | 2022-01-12T09:33:35.000Z | g_mlp_gpt/__init__.py | onlyrico/g-mlp-gpt | efee809ed3d0c54845395534d07b957d5c8ef5b2 | [
"MIT"
] | null | null | null | g_mlp_gpt/__init__.py | onlyrico/g-mlp-gpt | efee809ed3d0c54845395534d07b957d5c8ef5b2 | [
"MIT"
] | 6 | 2021-05-20T03:09:24.000Z | 2021-11-21T03:47:55.000Z | from g_mlp_gpt.g_mlp_gpt import gMLPGPT
| 20 | 39 | 0.875 | 9 | 40 | 3.444444 | 0.666667 | 0.258065 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
8d1733e8060061ada9879756508e6866170ba7a0 | 95 | py | Python | src/xl_transform/reader/__init__.py | Spark-Liang/ExcelTransformer | 8e827a7c0b0e2cf4832d7b4346e763f31e578343 | [
"MIT"
] | 2 | 2019-04-06T14:01:49.000Z | 2019-12-26T13:12:09.000Z | src/xl_transform/reader/__init__.py | Spark-Liang/ExcelTransformer | 8e827a7c0b0e2cf4832d7b4346e763f31e578343 | [
"MIT"
] | null | null | null | src/xl_transform/reader/__init__.py | Spark-Liang/ExcelTransformer | 8e827a7c0b0e2cf4832d7b4346e763f31e578343 | [
"MIT"
] | null | null | null | from xl_transform.reader.DataFrameReader import *
from xl_transform.reader.FileReader import *
| 31.666667 | 49 | 0.852632 | 12 | 95 | 6.583333 | 0.583333 | 0.151899 | 0.379747 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 2 | 50 | 47.5 | 0.908046 | 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 |
a5e6699bffd4230135b7124c415060e668ca8ec7 | 97 | py | Python | torch_ac_pnn/utils/__init__.py | winnieyangwannan/winnie-pnn | 65f78a3f102679471546c898761c28d6ca522dfd | [
"MIT"
] | null | null | null | torch_ac_pnn/utils/__init__.py | winnieyangwannan/winnie-pnn | 65f78a3f102679471546c898761c28d6ca522dfd | [
"MIT"
] | null | null | null | torch_ac_pnn/utils/__init__.py | winnieyangwannan/winnie-pnn | 65f78a3f102679471546c898761c28d6ca522dfd | [
"MIT"
] | null | null | null | from torch_ac_pnn.utils.dictlist import DictList
from torch_ac_pnn.utils.penv import ParallelEnv
| 32.333333 | 48 | 0.876289 | 16 | 97 | 5.0625 | 0.5625 | 0.222222 | 0.271605 | 0.345679 | 0.469136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 49 | 48.5 | 0.910112 | 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 |
57329cd3cdb5bfc1f2a60885a430ac8c82117037 | 42 | py | Python | demo/py/hello_world.py | racheldotey/uvmcomputes-docs | 83b4773944e3d6c15ad9293fce7c521ceba4b8d7 | [
"MIT"
] | null | null | null | demo/py/hello_world.py | racheldotey/uvmcomputes-docs | 83b4773944e3d6c15ad9293fce7c521ceba4b8d7 | [
"MIT"
] | null | null | null | demo/py/hello_world.py | racheldotey/uvmcomputes-docs | 83b4773944e3d6c15ad9293fce7c521ceba4b8d7 | [
"MIT"
] | null | null | null | def hi() :
return "Hello world!"
hi() | 10.5 | 25 | 0.547619 | 6 | 42 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 42 | 4 | 26 | 10.5 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9389ac7d1517b72986649feba1f39ed001fb0616 | 761 | py | Python | Tree/treeInterface.py | amal029/DataStructuresAndAlgorithmsInPython | ccf36ae9e6d1ab8c2be09315f4ad6ac715e222fd | [
"MIT"
] | null | null | null | Tree/treeInterface.py | amal029/DataStructuresAndAlgorithmsInPython | ccf36ae9e6d1ab8c2be09315f4ad6ac715e222fd | [
"MIT"
] | null | null | null | Tree/treeInterface.py | amal029/DataStructuresAndAlgorithmsInPython | ccf36ae9e6d1ab8c2be09315f4ad6ac715e222fd | [
"MIT"
] | null | null | null | import abc
class TreeInterface(abc.ABC):
@abc.abstractmethod
def element(self):
raise NotImplementedError('ADTs should implement this method')
@abc.abstractmethod
def root(self):
raise NotImplementedError('ADTs should implement this method')
@abc.abstractmethod
def parent(se... | 26.241379 | 70 | 0.70565 | 80 | 761 | 6.6125 | 0.2625 | 0.192817 | 0.226843 | 0.385633 | 0.839319 | 0.839319 | 0.839319 | 0.839319 | 0.731569 | 0.731569 | 0 | 0 | 0.215506 | 761 | 28 | 71 | 27.178571 | 0.886097 | 0 | 0 | 0.6 | 0 | 0 | 0.260184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
93db57f2d19621a2aceb64cf6ad321a53137bd85 | 19,587 | py | Python | dataset/cifar.py | jhcknzzm/SSFL-Benchmarking-Semi-supervised-Federated-Learning | b4ff89f5a6296cd10eb2cd5d8577725bc09577a8 | [
"MIT"
] | 36 | 2020-08-27T02:58:40.000Z | 2022-03-30T08:24:31.000Z | dataset/cifar.py | jhcknzzm/SSFL-Benchmarking-Semi-supervised-Federated-Learning | b4ff89f5a6296cd10eb2cd5d8577725bc09577a8 | [
"MIT"
] | 4 | 2020-10-27T02:56:38.000Z | 2021-11-27T04:21:19.000Z | dataset/cifar.py | jhcknzzm/SSFL-Benchmarking-Semi-supervised-Federated-Learning | b4ff89f5a6296cd10eb2cd5d8577725bc09577a8 | [
"MIT"
] | 8 | 2020-11-16T08:17:29.000Z | 2022-03-10T05:58:53.000Z | import logging
import numpy as np
from PIL import Image
from torchvision import datasets
from torchvision import transforms
import copy
from .randaugment import RandAugmentMC
import random
import numpy as np
seed_value = 1
random.seed(seed_value)
np.random.seed(seed_value)
logger = logging.getLogger(__name__)
cifa... | 36.071823 | 116 | 0.649768 | 2,331 | 19,587 | 5.145002 | 0.060918 | 0.065371 | 0.02835 | 0.021679 | 0.873926 | 0.859335 | 0.845493 | 0.831568 | 0.811223 | 0.802468 | 0 | 0.022277 | 0.252872 | 19,587 | 542 | 117 | 36.138376 | 0.797253 | 0.023332 | 0 | 0.757869 | 0 | 0 | 0.017937 | 0.004079 | 0 | 0 | 0 | 0 | 0.014528 | 1 | 0.046005 | false | 0 | 0.026634 | 0 | 0.121065 | 0.004843 | 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 |
f5765f9948d34b09224e0da6707aff9176f76365 | 78,206 | py | Python | obp/ope/estimators_multi.py | Tanvikapoor14/zr-obp | 51eba00f0dda5c26c1fa6826f544c60de485da52 | [
"Apache-2.0"
] | null | null | null | obp/ope/estimators_multi.py | Tanvikapoor14/zr-obp | 51eba00f0dda5c26c1fa6826f544c60de485da52 | [
"Apache-2.0"
] | null | null | null | obp/ope/estimators_multi.py | Tanvikapoor14/zr-obp | 51eba00f0dda5c26c1fa6826f544c60de485da52 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) Yuta Saito, Yusuke Narita, and ZOZO Technologies, Inc. All rights reserved.
# Licensed under the Apache 2.0 License.
"""Off-Policy Estimators."""
from abc import ABCMeta
from abc import abstractmethod
from dataclasses import dataclass
from typing import Dict
from typing import Optional
import numpy as... | 43.279469 | 238 | 0.636498 | 10,274 | 78,206 | 4.657582 | 0.031341 | 0.044512 | 0.035986 | 0.038556 | 0.966835 | 0.959354 | 0.958978 | 0.948299 | 0.947902 | 0.945917 | 0 | 0.005294 | 0.256029 | 78,206 | 1,806 | 239 | 43.303433 | 0.817146 | 0.551978 | 0 | 0.890746 | 0 | 0 | 0.040236 | 0.013312 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032134 | false | 0 | 0.012853 | 0 | 0.095116 | 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 |
f57fcb5ea6bed2886b976c17772a903819ff1596 | 6,338 | py | Python | main.py | Zeebra38/bot_tlgr_shedule | 54566efc0583743e21256304dc4320f5ea1e3255 | [
"MIT"
] | null | null | null | main.py | Zeebra38/bot_tlgr_shedule | 54566efc0583743e21256304dc4320f5ea1e3255 | [
"MIT"
] | null | null | null | main.py | Zeebra38/bot_tlgr_shedule | 54566efc0583743e21256304dc4320f5ea1e3255 | [
"MIT"
] | null | null | null | from openpyxl import load_workbook
from datetime import date, timedelta, datetime, time
from date import weeknum, getweekday
from util import zapoln
from objects import Obj, Day
import os
def update():
#if not os.path.isfile('Rasp.txt'):
f = open('Baso-01.txt', 'w', encoding='utf8', errors='ignore')
f1 = ... | 28.940639 | 122 | 0.476807 | 807 | 6,338 | 3.729864 | 0.135068 | 0.048837 | 0.062791 | 0.069767 | 0.817276 | 0.816944 | 0.752159 | 0.734219 | 0.734219 | 0.734219 | 0 | 0.027609 | 0.377091 | 6,338 | 218 | 123 | 29.073395 | 0.734802 | 0.005364 | 0 | 0.822115 | 0 | 0 | 0.112663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.028846 | 0 | 0.091346 | 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 |
196664e7372baa5f6d1f6cc16f761070b6275066 | 97 | py | Python | sdmx/tests/format/test_format_json.py | khaeru/sdmx | d871e045f5bc163b83750b32bf22b5ac4cdebfc0 | [
"Apache-2.0"
] | 4 | 2020-07-21T16:03:30.000Z | 2022-01-12T12:10:05.000Z | sdmx/tests/format/test_format_json.py | khaeru/sdmx | d871e045f5bc163b83750b32bf22b5ac4cdebfc0 | [
"Apache-2.0"
] | 93 | 2020-05-01T10:45:13.000Z | 2022-02-15T17:10:11.000Z | sdmx/tests/format/test_format_json.py | khaeru/sdmx | d871e045f5bc163b83750b32bf22b5ac4cdebfc0 | [
"Apache-2.0"
] | 8 | 2020-11-10T17:11:01.000Z | 2022-01-19T13:35:32.000Z | from sdmx.format import json
def test_content_types():
assert 5 == len(json.CONTENT_TYPES)
| 16.166667 | 39 | 0.742268 | 15 | 97 | 4.6 | 0.8 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.164948 | 97 | 5 | 40 | 19.4 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
196be485fcb2c509d86c396cef4193f0261697b4 | 4,838 | py | Python | tests/test_cmd_modify.py | a1eko/treem | 41039b0734bfe84fe637783842849038630ecb7f | [
"MIT"
] | 1 | 2020-10-06T13:09:02.000Z | 2020-10-06T13:09:02.000Z | tests/test_cmd_modify.py | a1eko/treem | 41039b0734bfe84fe637783842849038630ecb7f | [
"MIT"
] | null | null | null | tests/test_cmd_modify.py | a1eko/treem | 41039b0734bfe84fe637783842849038630ecb7f | [
"MIT"
] | 1 | 2021-09-22T14:17:22.000Z | 2021-09-22T14:17:22.000Z | """Testing CLI command modify."""
import subprocess
import os
def test_scale():
"""Tests for scaling of dimensions."""
os.chdir(os.path.dirname(__file__) + '/data')
proc = subprocess.Popen(['swc', 'modify', 'pass_simple_branch.swc',
'-s', '1', '1', '1', '-e', '2',
... | 37.503876 | 71 | 0.468582 | 454 | 4,838 | 4.832599 | 0.167401 | 0.102097 | 0.032817 | 0.047402 | 0.865542 | 0.865542 | 0.865542 | 0.865542 | 0.865542 | 0.865542 | 0 | 0.012974 | 0.378669 | 4,838 | 128 | 72 | 37.796875 | 0.7169 | 0.053535 | 0 | 0.823529 | 0 | 0 | 0.119568 | 0.033973 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.078431 | false | 0.078431 | 0.019608 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
196d529c6ec8de61b82f2be6103726338da99594 | 27 | py | Python | src/NicePrinter/__init__.py | 24aitor/NicePrinter | 01cef3add94534ed8ac597b4a0322aa433ec72aa | [
"MIT"
] | 4 | 2017-07-11T21:03:25.000Z | 2018-09-11T09:51:26.000Z | src/NicePrinter/__init__.py | 24aitor/NicePrinter | 01cef3add94534ed8ac597b4a0322aa433ec72aa | [
"MIT"
] | 1 | 2017-05-31T23:46:45.000Z | 2017-06-01T02:02:07.000Z | src/NicePrinter/__init__.py | 24aitor/NicePrinter | 01cef3add94534ed8ac597b4a0322aa433ec72aa | [
"MIT"
] | null | null | null | from .niceprinter import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
19788ae7459c830dbc02624c9ad177f3f2b78cba | 5,329 | py | Python | tests/test_cli.py | balazsdukai/cjio_dbexport | 6f331be389b09364aee1ad32ded8c0882a0f2b5d | [
"MIT"
] | 3 | 2020-03-19T11:05:00.000Z | 2021-11-10T14:50:00.000Z | tests/test_cli.py | balazsdukai/cjio_dbexport | 6f331be389b09364aee1ad32ded8c0882a0f2b5d | [
"MIT"
] | 28 | 2020-01-02T12:46:16.000Z | 2021-11-08T14:51:16.000Z | tests/test_cli.py | balazsdukai/cjio_dbexport | 6f331be389b09364aee1ad32ded8c0882a0f2b5d | [
"MIT"
] | 3 | 2020-01-09T19:26:47.000Z | 2021-09-29T08:10:21.000Z | #!/usr/bin/env python
"""Tests for `cjio_dbexport` package."""
import pytest
import logging
log = logging.getLogger(__name__)
from click.testing import CliRunner
from cjio_dbexport import cli
def test_command_line_interface():
"""Test the CLI."""
runner = CliRunner()
result = runner.invoke(cli.main)
... | 34.380645 | 94 | 0.586789 | 623 | 5,329 | 4.76565 | 0.154093 | 0.129336 | 0.09094 | 0.106096 | 0.810711 | 0.787471 | 0.778377 | 0.778377 | 0.766588 | 0.766588 | 0 | 0.023618 | 0.300807 | 5,329 | 154 | 95 | 34.603896 | 0.773215 | 0.031338 | 0 | 0.730769 | 0 | 0 | 0.067631 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.061538 | false | 0 | 0.030769 | 0 | 0.107692 | 0.007692 | 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 |
271a95d4f4b676259c497be7fe59bdaa2f3fd905 | 103 | py | Python | ambra_sdk/service/ws/__init__.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 9 | 2020-04-20T23:45:44.000Z | 2021-04-18T11:22:17.000Z | ambra_sdk/service/ws/__init__.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 13 | 2020-02-08T16:15:05.000Z | 2021-09-13T22:55:28.000Z | ambra_sdk/service/ws/__init__.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 6 | 2020-03-25T17:47:45.000Z | 2021-04-18T11:22:19.000Z | from ambra_sdk.service.ws.async_ws import AsyncWSManager
from ambra_sdk.service.ws.ws import WSManager
| 34.333333 | 56 | 0.864078 | 17 | 103 | 5.058824 | 0.529412 | 0.209302 | 0.27907 | 0.44186 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 2 | 57 | 51.5 | 0.905263 | 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 |
278760e9e674e71aa2c28beb5755e36f7fcee1fe | 972 | py | Python | check/_loaders.py | MichaelClerx/cellml-validation | 72383c76bd0a69a9bb162b10ae2c7cd3d0e08b0c | [
"Apache-2.0"
] | 1 | 2019-05-06T22:55:12.000Z | 2019-05-06T22:55:12.000Z | check/_loaders.py | MichaelClerx/cellml-validation | 72383c76bd0a69a9bb162b10ae2c7cd3d0e08b0c | [
"Apache-2.0"
] | 65 | 2019-01-18T09:19:12.000Z | 2022-01-27T16:17:06.000Z | check/_loaders.py | MichaelClerx/cellml-validation | 72383c76bd0a69a9bb162b10ae2c7cd3d0e08b0c | [
"Apache-2.0"
] | null | null | null | #
# Methods for loading model and validation files
#
import os
import check
def cellml_1_0(filename):
"""
Returns the path to a CellML 1.0 validation file.
"""
return os.path.join(check.CELLML_1_0_DIR, filename)
def cellml_1_1(filename):
"""
Returns the path to a CellML 1.1 validation file.... | 19.44 | 56 | 0.662551 | 158 | 972 | 3.886076 | 0.164557 | 0.091205 | 0.175896 | 0.214984 | 0.838762 | 0.765472 | 0.700326 | 0.700326 | 0.545603 | 0.34202 | 0 | 0.047682 | 0.223251 | 972 | 49 | 57 | 19.836735 | 0.765563 | 0.323045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
27fa717f805e536f40751d00b9761778aaf111cb | 3,598 | py | Python | pages/06 SingleChoice/00_single_choice.py | sebastiandres/stb_chapter_demo_v070 | 3ca5e53ececc678a39b9c79728f427b3e31746fe | [
"MIT"
] | null | null | null | pages/06 SingleChoice/00_single_choice.py | sebastiandres/stb_chapter_demo_v070 | 3ca5e53ececc678a39b9c79728f427b3e31746fe | [
"MIT"
] | null | null | null | pages/06 SingleChoice/00_single_choice.py | sebastiandres/stb_chapter_demo_v070 | 3ca5e53ececc678a39b9c79728f427b3e31746fe | [
"MIT"
] | null | null | null | import streamlit as st
import streamlit_book as stb
import time
import random
st.title("Single Choice Question")
# Required arguments
st.header("Question with minimal arguments")
c1, c2 = st.columns([5,4])
with c1:
st.code("""
stb.single_choice("What does pandas (the library) stands for?",
["The... | 37.873684 | 100 | 0.49333 | 383 | 3,598 | 4.5953 | 0.245431 | 0.040909 | 0.051136 | 0.064773 | 0.894886 | 0.861932 | 0.861932 | 0.861932 | 0.846591 | 0.846591 | 0 | 0.02601 | 0.401612 | 3,598 | 94 | 101 | 38.276596 | 0.791454 | 0.013341 | 0 | 0.788235 | 0 | 0.047059 | 0.668641 | 0.012972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.047059 | 0 | 0.047059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fd878c86649ba35ab5da2c4aa8e2208cdbf7c026 | 1,003 | py | Python | utils/category-lists/test_populate_category_lists_yaml.py | thomhalla/cv_faq | 7b13b01f35b3d5fa5c8b25b57e69933fbb4b4963 | [
"CC0-1.0"
] | 14 | 2020-04-13T21:44:11.000Z | 2020-09-29T00:23:11.000Z | utils/category-lists/test_populate_category_lists_yaml.py | thomhalla/cv_faq | 7b13b01f35b3d5fa5c8b25b57e69933fbb4b4963 | [
"CC0-1.0"
] | 523 | 2020-04-14T15:03:21.000Z | 2021-12-08T01:45:38.000Z | utils/category-lists/test_populate_category_lists_yaml.py | thomhalla/cv_faq | 7b13b01f35b3d5fa5c8b25b57e69933fbb4b4963 | [
"CC0-1.0"
] | 7 | 2020-04-14T23:08:25.000Z | 2021-01-19T22:36:08.000Z | from populate_category_lists_yaml import sort_questions
def test_sort_questions():
assert sort_questions([
{'is_promoted': True, 'name': 'ddd-name', 'title': 'ddd-name'},
{'is_promoted': False, 'name': 'aaa-name', 'title': 'aaa-name'},
{'is_promoted': False, 'name': 'ccc-name', 'title': 'c... | 50.15 | 72 | 0.556331 | 123 | 1,003 | 4.382114 | 0.170732 | 0.222635 | 0.285714 | 0.282004 | 0.83859 | 0.83859 | 0.83859 | 0.83859 | 0.83859 | 0.83859 | 0 | 0 | 0.19342 | 1,003 | 19 | 73 | 52.789474 | 0.666255 | 0 | 0 | 0.705882 | 0 | 0 | 0.430708 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.058824 | true | 0 | 0.058824 | 0 | 0.117647 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
e30ee655131897943b6d43f50433c7c971747be5 | 22,113 | py | Python | tests/0_data_structures/test_0_0_graph.py | whikloj/lakesuperior | 733ac54e9525dcb7c3161bc70f04415e81650c06 | [
"Apache-2.0"
] | 35 | 2017-12-07T19:20:40.000Z | 2021-07-31T04:35:03.000Z | tests/0_data_structures/test_0_0_graph.py | whikloj/lakesuperior | 733ac54e9525dcb7c3161bc70f04415e81650c06 | [
"Apache-2.0"
] | 61 | 2018-03-07T04:59:37.000Z | 2020-01-08T00:52:25.000Z | tests/0_data_structures/test_0_0_graph.py | whikloj/lakesuperior | 733ac54e9525dcb7c3161bc70f04415e81650c06 | [
"Apache-2.0"
] | 7 | 2018-03-10T17:15:26.000Z | 2019-09-11T01:16:08.000Z | import pdb
import pytest
from shutil import rmtree
from rdflib import Graph, Namespace, URIRef
from lakesuperior.model.rdf.graph import Graph
from lakesuperior.store.ldp_rs.lmdb_store import LmdbStore
@pytest.fixture(scope='class')
def store():
"""
Test LMDB store.
This store has a different life cycl... | 25.984724 | 82 | 0.492109 | 2,960 | 22,113 | 3.608446 | 0.056419 | 0.119652 | 0.031458 | 0.048685 | 0.875667 | 0.833255 | 0.815841 | 0.794308 | 0.779515 | 0.732797 | 0 | 0.046242 | 0.376068 | 22,113 | 850 | 83 | 26.015294 | 0.727912 | 0.088726 | 0 | 0.782051 | 0 | 0 | 0.060663 | 0 | 0 | 0 | 0 | 0.001176 | 0.470085 | 1 | 0.087607 | false | 0.002137 | 0.012821 | 0.002137 | 0.115385 | 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 |
8b5c5cfd5aaddb623e883cf5529ed9e164b2f8dd | 249 | py | Python | takaggle/feature/__init__.py | takapy0210/takaggle | fcaa6ef23f3fd2a5a8ebe15e66b66c99d684d8d0 | [
"MIT"
] | 3 | 2021-03-21T02:28:25.000Z | 2022-02-12T07:28:56.000Z | takaggle/feature/__init__.py | takapy0210/takaggle | fcaa6ef23f3fd2a5a8ebe15e66b66c99d684d8d0 | [
"MIT"
] | null | null | null | takaggle/feature/__init__.py | takapy0210/takaggle | fcaa6ef23f3fd2a5a8ebe15e66b66c99d684d8d0 | [
"MIT"
] | null | null | null | from takaggle.feature.bert_sentence_vectorizer import *
from takaggle.feature.category_encoder import *
from takaggle.feature.feature_engineering import *
from takaggle.feature.feature_selection import *
from takaggle.feature.reduce_memory import *
| 41.5 | 55 | 0.859438 | 31 | 249 | 6.709677 | 0.419355 | 0.288462 | 0.456731 | 0.480769 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080321 | 249 | 5 | 56 | 49.8 | 0.908297 | 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 |
d07d5d52cecf936ba8f67f4cb8d9b2613dd19f20 | 39,245 | py | Python | sdk/python/pulumi_snowflake/notification_integration.py | pulumi/pulumi-snowflake | c3e0c2c8f57fd7b986b9259be635de6f28ab2eea | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-07-01T17:03:33.000Z | 2022-03-01T19:29:04.000Z | sdk/python/pulumi_snowflake/notification_integration.py | pulumi/pulumi-snowflake | c3e0c2c8f57fd7b986b9259be635de6f28ab2eea | [
"ECL-2.0",
"Apache-2.0"
] | 102 | 2021-07-14T13:12:58.000Z | 2022-03-31T18:34:04.000Z | sdk/python/pulumi_snowflake/notification_integration.py | pulumi/pulumi-snowflake | c3e0c2c8f57fd7b986b9259be635de6f28ab2eea | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-03-25T07:24:45.000Z | 2022-03-25T07:24: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 ... | 44.902746 | 149 | 0.665461 | 4,899 | 39,245 | 5.022658 | 0.040008 | 0.087174 | 0.10469 | 0.114444 | 0.922783 | 0.912217 | 0.89279 | 0.88324 | 0.87629 | 0.861944 | 0 | 0.000033 | 0.236285 | 39,245 | 873 | 150 | 44.954181 | 0.820933 | 0.275755 | 0 | 0.811175 | 1 | 0 | 0.114869 | 0.038202 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16763 | false | 0.001927 | 0.009634 | 0.011561 | 0.279383 | 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 |
d07df3a5c5ddb9a56f4593ddf31d43b08bcd379e | 93 | py | Python | up/tasks/det_3d/data/metrics/kitti_object_eval_python/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 196 | 2021-10-30T05:15:36.000Z | 2022-03-30T18:43:40.000Z | up/tasks/det_3d/data/metrics/kitti_object_eval_python/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 12 | 2021-10-30T11:33:28.000Z | 2022-03-31T14:22:58.000Z | up/tasks/det_3d/data/metrics/kitti_object_eval_python/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 23 | 2021-11-01T07:26:17.000Z | 2022-03-27T05:55:37.000Z | from .eval import * # noqa
from .evaluate import * # noqa
from .kitti_common import * # noqa
| 23.25 | 34 | 0.709677 | 13 | 93 | 5 | 0.538462 | 0.461538 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 93 | 3 | 35 | 31 | 0.866667 | 0.150538 | 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 |
efbe0f3cd5bc0ab2f52a5daea94b1b8eaf3a51c4 | 116 | py | Python | classtime/brain/scheduling/__init__.py | rosshamish/classtime-implementation | 16e72f0c066b75077dc05cbba290d459348e55c9 | [
"MIT"
] | 1 | 2017-03-10T21:07:10.000Z | 2017-03-10T21:07:10.000Z | classtime/brain/scheduling/__init__.py | rosshamish/classtime-implementation | 16e72f0c066b75077dc05cbba290d459348e55c9 | [
"MIT"
] | null | null | null | classtime/brain/scheduling/__init__.py | rosshamish/classtime-implementation | 16e72f0c066b75077dc05cbba290d459348e55c9 | [
"MIT"
] | null | null | null |
from .schedule import Schedule
from .schedule import ScheduleScorer
from .schedule_generator import find_schedules
| 23.2 | 46 | 0.862069 | 14 | 116 | 7 | 0.5 | 0.367347 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 116 | 4 | 47 | 29 | 0.951456 | 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 |
efdc3ec2bf3a9e64f01a8432410f91d134826d75 | 89,214 | py | Python | romsSection.py | fossabot/Ekman | 2b688ac156159b8499736f4663716252ae90bec9 | [
"MIT"
] | null | null | null | romsSection.py | fossabot/Ekman | 2b688ac156159b8499736f4663716252ae90bec9 | [
"MIT"
] | null | null | null | romsSection.py | fossabot/Ekman | 2b688ac156159b8499736f4663716252ae90bec9 | [
"MIT"
] | null | null | null | """
Author: Ueslei Adriano Sutil
Created: 08 Apr 2020
Last modified: 06 Jan 2021
Version: 2.12
This file generates a new ROMS output file from scratch.
It is netCDF4 CF-compliant.
WARNING: Do not change anything in this file.
"""
from netCDF4 import Dataset
from setOptions import *
... | 68.258607 | 215 | 0.475755 | 8,226 | 89,214 | 5.054826 | 0.037199 | 0.085616 | 0.112551 | 0.064934 | 0.925278 | 0.903177 | 0.881893 | 0.869219 | 0.86554 | 0.856545 | 0 | 0.014257 | 0.402482 | 89,214 | 1,307 | 216 | 68.258608 | 0.765772 | 0.026823 | 0 | 0.88245 | 1 | 0 | 0.090362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001656 | false | 0 | 0.004967 | 0 | 0.00745 | 0.028974 | 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 |
4bd723b9202f82d8e384b1f7abfac81278e6ff17 | 2,880 | py | Python | wechat_model/_generated_friend.py | Cologler/wechat-model-python | 8d67fbf5db9d3d27428100246011c1113f418971 | [
"MIT"
] | 1 | 2017-09-10T07:44:31.000Z | 2017-09-10T07:44:31.000Z | wechat_model/_generated_friend.py | Cologler/wechat-model-python | 8d67fbf5db9d3d27428100246011c1113f418971 | [
"MIT"
] | null | null | null | wechat_model/_generated_friend.py | Cologler/wechat-model-python | 8d67fbf5db9d3d27428100246011c1113f418971 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2017~2999 - cologler <skyoflw@gmail.com>
# ----------
#
# ----------
from ._base import _BaseModel
class _Generated(_BaseModel):
@property
def city(self):
return self._get('City')
@property
def province(self):
return self... | 19.726027 | 56 | 0.613889 | 326 | 2,880 | 5.196319 | 0.303681 | 0.214286 | 0.272727 | 0.331169 | 0.268005 | 0.062574 | 0.031877 | 0 | 0 | 0 | 0 | 0.004247 | 0.264236 | 2,880 | 145 | 57 | 19.862069 | 0.795186 | 0.041319 | 0 | 0.320388 | 1 | 0 | 0.115105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.320388 | false | 0.009709 | 0.009709 | 0.320388 | 0.669903 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4be9099098716e5e4f86b06d7192d7a06f7c3903 | 7,012 | py | Python | userbot/modules/quotly.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/quotly.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/quotly.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Marshal By XVenom
#https://github.com/xvenom15
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00@\x00\x00\x00s\n\x01\x00\x00d\x00d\x01l\x00Z\x00d\x00d\x01l\x01Z\x01d\x00d\x01l\x02Z\x02d\x00d\x01l\x03Z\x03d\x00d\x01l\x04Z\x04d\x00d\x02l\x05m... | 1,753 | 6,941 | 0.780376 | 1,395 | 7,012 | 3.888172 | 0.301075 | 0.127212 | 0.089602 | 0.073009 | 0.264196 | 0.216999 | 0.165929 | 0.123156 | 0.096055 | 0.086099 | 0 | 0.288133 | 0.014546 | 7,012 | 4 | 6,941 | 1,753 | 0.496816 | 0.007416 | 0 | 0 | 0 | 1 | 0.134646 | 0.11151 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
ef18fc86715d9ab2d382322cc7ce5599f25299d5 | 120 | py | Python | m_i_a_test.py | clicktime-michael/mikeisawesome | 8fd255de48dbad33dfc7470d002b32a7d20a59b8 | [
"MIT"
] | null | null | null | m_i_a_test.py | clicktime-michael/mikeisawesome | 8fd255de48dbad33dfc7470d002b32a7d20a59b8 | [
"MIT"
] | null | null | null | m_i_a_test.py | clicktime-michael/mikeisawesome | 8fd255de48dbad33dfc7470d002b32a7d20a59b8 | [
"MIT"
] | null | null | null | import michael_is_awesome;
def test_michael_is_awesome():
assert michael_is_awesome.m_i_a() == "Michael is Awesome!"
| 24 | 60 | 0.791667 | 19 | 120 | 4.526316 | 0.526316 | 0.418605 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 4 | 61 | 30 | 0.803738 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ef216d03f370b4f27abb746d734858e299434dae | 31,237 | py | Python | electrum/tests/test_transaction.py | commerceblock/cb-electrum-wallet | a8bb2999ec99fced56311be99a3a4ffabbc14c23 | [
"MIT"
] | 2 | 2020-05-04T05:42:05.000Z | 2020-08-01T11:22:30.000Z | electrum/tests/test_transaction.py | commerceblock/cb-client-wallet | a8bb2999ec99fced56311be99a3a4ffabbc14c23 | [
"MIT"
] | 79 | 2019-04-03T06:56:46.000Z | 2019-10-11T17:56:43.000Z | electrum/tests/test_transaction.py | commerceblock/guardnode-wallet | dc590742697f335637348513a13347bd0974bc1d | [
"MIT"
] | 2 | 2020-05-04T05:48:51.000Z | 2021-03-25T14:46:25.000Z | import unittest
from electrum import transaction
from electrum.bitcoin import TYPE_ADDRESS, TYPE_SCRIPT
from electrum.keystore import xpubkey_to_address
from electrum.util import bh2u, bfh
from . import SequentialTestCase, TestCaseForTestnet
from .test_bitcoin import needs_test_with_all_ecc_implementations
unsigned_... | 93.804805 | 9,287 | 0.838173 | 1,210 | 31,237 | 21.382645 | 0.207438 | 0.027828 | 0.014455 | 0.010049 | 0.154369 | 0.134426 | 0.11769 | 0.114676 | 0.106482 | 0.096046 | 0 | 0.506758 | 0.116528 | 31,237 | 332 | 9,288 | 94.087349 | 0.430771 | 0.012325 | 0 | 0.478764 | 0 | 0 | 0.673393 | 0.637637 | 0 | 1 | 0 | 0.003012 | 0.227799 | 1 | 0.073359 | false | 0 | 0.027027 | 0.003861 | 0.119691 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
32b5b6dcdaad495d0f7225bd6511c4bd7c2d4e35 | 147 | py | Python | fpn/symbols/__init__.py | qilei123/fpn_crop | 641d06486b1422225443a9ac3c4b60ae9fb91b10 | [
"MIT"
] | 1 | 2019-12-17T09:20:29.000Z | 2019-12-17T09:20:29.000Z | fpn/symbols/__init__.py | qilei123/fpn_crop | 641d06486b1422225443a9ac3c4b60ae9fb91b10 | [
"MIT"
] | null | null | null | fpn/symbols/__init__.py | qilei123/fpn_crop | 641d06486b1422225443a9ac3c4b60ae9fb91b10 | [
"MIT"
] | null | null | null | import resnet_v1_101_fpn_rcnn
import resnet_v1_101_fpn_dcn_rcnn
import resnet_v1_101_fpn_rcnn_l1_focal
import resnet_v1_101_fpn_rcnn_l1_focal_test
| 29.4 | 43 | 0.945578 | 30 | 147 | 3.9 | 0.333333 | 0.410256 | 0.478632 | 0.581197 | 0.940171 | 0.940171 | 0.529915 | 0.529915 | 0 | 0 | 0 | 0.129496 | 0.054422 | 147 | 4 | 44 | 36.75 | 0.71223 | 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 | 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 | 9 |
3eed34084843d73e8b1a004a72b9dbffa766b150 | 18 | py | Python | Chapter 02/ch2_1.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_1.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_1.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | print(abs(-24.75)) | 18 | 18 | 0.666667 | 4 | 18 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 18 | 1 | 18 | 18 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
41017983ad0239a6f751765a6f49dedb933706fa | 6,426 | py | Python | tests/test_installdeps_config.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 6 | 2019-12-31T21:49:07.000Z | 2021-06-22T21:50:32.000Z | tests/test_installdeps_config.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 24 | 2019-11-19T00:35:14.000Z | 2021-03-27T16:55:37.000Z | tests/test_installdeps_config.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 10 | 2019-12-09T19:14:54.000Z | 2021-10-03T06:17:52.000Z | #!/usr/bin/env python
# Copyright 2019, Oath Inc.
# Licensed under the terms of the Apache 2.0 license. See the LICENSE file in the project root for terms
import json
import logging
logging.basicConfig(level=logging.DEBUG)
import unittest
from screwdrivercd.installdeps.config import Configuration
from screwdrivercd.ut... | 49.430769 | 208 | 0.628073 | 626 | 6,426 | 6.289137 | 0.183706 | 0.19304 | 0.2159 | 0.328169 | 0.7714 | 0.749556 | 0.737109 | 0.729997 | 0.729997 | 0.729997 | 0 | 0.016699 | 0.207905 | 6,426 | 129 | 209 | 49.813953 | 0.756778 | 0.023343 | 0 | 0.554545 | 0 | 0.018182 | 0.357564 | 0.111111 | 0 | 0 | 0 | 0 | 0.309091 | 1 | 0.063636 | false | 0 | 0.045455 | 0 | 0.118182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4120aee39a7211c3bb0f2eb714f5b186a237930d | 110 | py | Python | xinetzone/docs/tutorial/cudnn.py | daobook/tvm | a0dca482824ba9e18ec914b962ce31fcec0696e2 | [
"Apache-2.0"
] | null | null | null | xinetzone/docs/tutorial/cudnn.py | daobook/tvm | a0dca482824ba9e18ec914b962ce31fcec0696e2 | [
"Apache-2.0"
] | 1 | 2022-02-16T15:48:57.000Z | 2022-02-16T15:48:57.000Z | xinetzone/docs/tutorial/cudnn.py | xinetzone/tvm | 6576b422da06ebd10a64d182f7f12d91d1d77387 | [
"Apache-2.0"
] | null | null | null | import os
os.environ["PATH"] += ":/usr/local/cuda/bin"
os.environ["LD_LIBRARY_PATH"]= "/usr/local/cuda/lib64" | 27.5 | 54 | 0.7 | 18 | 110 | 4.166667 | 0.611111 | 0.24 | 0.32 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.063636 | 110 | 4 | 54 | 27.5 | 0.708738 | 0 | 0 | 0 | 0 | 0 | 0.540541 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.