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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98435f8b9cc77b87a2474f7ed021af7af9fadf12 | 4,962 | py | Python | src/tevatron/datasets/dataset.py | justram/tevatron | adf5ce45612332797931569d51cc5bcd8c1ac878 | [
"Apache-2.0"
] | 95 | 2021-09-16T00:35:17.000Z | 2022-03-31T04:59:05.000Z | src/tevatron/datasets/dataset.py | justram/tevatron | adf5ce45612332797931569d51cc5bcd8c1ac878 | [
"Apache-2.0"
] | 16 | 2021-10-05T12:29:33.000Z | 2022-03-31T17:59:20.000Z | src/tevatron/datasets/dataset.py | justram/tevatron | adf5ce45612332797931569d51cc5bcd8c1ac878 | [
"Apache-2.0"
] | 15 | 2021-09-19T02:20:03.000Z | 2022-03-10T03:00:23.000Z | from datasets import load_dataset
from transformers import PreTrainedTokenizer
from .preprocessor import TrainPreProcessor, QueryPreProcessor, CorpusPreProcessor
from ..arguments import DataArguments
DEFAULT_PROCESSORS = [TrainPreProcessor, QueryPreProcessor, CorpusPreProcessor]
PROCESSOR_INFO = {
'Tevatron/wikipe... | 47.257143 | 118 | 0.669891 | 590 | 4,962 | 5.308475 | 0.150847 | 0.0894 | 0.095785 | 0.048531 | 0.735951 | 0.733078 | 0.721584 | 0.721584 | 0.721584 | 0.721584 | 0 | 0.003774 | 0.252318 | 4,962 | 104 | 119 | 47.711538 | 0.840431 | 0 | 0 | 0.617021 | 0 | 0 | 0.048771 | 0.028416 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0.042553 | 0.042553 | 0 | 0.170213 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
98512aeb978c8bd9a5895fe87c43616b3cf63dde | 136 | py | Python | pyterrier/core/threaded_server.py | dfurtado/pyterrier | 111f0a7a2be5c88602c3779e1574c586bd1e18ff | [
"BSD-3-Clause"
] | 27 | 2017-04-14T17:34:56.000Z | 2020-07-17T23:06:27.000Z | pyterrier/core/threaded_server.py | dfurtado/pyterrier | 111f0a7a2be5c88602c3779e1574c586bd1e18ff | [
"BSD-3-Clause"
] | 9 | 2017-05-23T09:49:08.000Z | 2021-04-27T15:16:32.000Z | pyterrier/core/threaded_server.py | dfurtado/pyterrier | 111f0a7a2be5c88602c3779e1574c586bd1e18ff | [
"BSD-3-Clause"
] | 6 | 2017-04-24T07:03:17.000Z | 2021-04-26T10:27:26.000Z | from http.server import HTTPServer
from socketserver import ThreadingMixIn
class ThreadedServer(ThreadingMixIn, HTTPServer):
pass
| 19.428571 | 49 | 0.830882 | 14 | 136 | 8.071429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 136 | 6 | 50 | 22.666667 | 0.957627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
986a09e4aebac699c357c2a441576b555be83071 | 3,896 | py | Python | bfc/tests/parser_test.py | staceb/esotope-bfc | 0f4992cce44f3fbf1046ec1c6c981bc4fad023f7 | [
"MIT"
] | 25 | 2015-08-24T11:40:10.000Z | 2022-03-24T03:11:25.000Z | bfc/tests/parser_test.py | staceb/esotope-bfc | 0f4992cce44f3fbf1046ec1c6c981bc4fad023f7 | [
"MIT"
] | 30 | 2017-11-22T16:01:15.000Z | 2017-11-22T16:10:27.000Z | bfc/tests/parser_test.py | staceb/esotope-bfc | 0f4992cce44f3fbf1046ec1c6c981bc4fad023f7 | [
"MIT"
] | 2 | 2018-11-08T15:04:11.000Z | 2021-01-26T17:24:13.000Z | # This is a part of Esotope Brainfuck Compiler.
from cStringIO import StringIO
from bfc.tests.utils import *
from bfc.parser.brainfuck import Parser
parse = Parser(None).parse
class TestBrainfuckParser:
def test_empty(self):
assert eq(parse(StringIO('')), 'Program[]')
def test_adjustmemory(self):
... | 49.948718 | 90 | 0.499487 | 415 | 3,896 | 4.66506 | 0.113253 | 0.26188 | 0.235021 | 0.379649 | 0.794938 | 0.753099 | 0.691116 | 0.68905 | 0.679236 | 0.474174 | 0 | 0.036721 | 0.217146 | 3,896 | 77 | 91 | 50.597403 | 0.598033 | 0.01155 | 0 | 0 | 0 | 0 | 0.315925 | 0.134752 | 0 | 0 | 0 | 0 | 0.603448 | 1 | 0.137931 | false | 0 | 0.051724 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9875b5f53ca254c1faf99e368bbca490ba23571b | 38 | py | Python | setup.py | Juniormin123/pyacme | 99e844e44fac78ab3e1a0a73f6f6fa8f313489f3 | [
"MIT"
] | null | null | null | setup.py | Juniormin123/pyacme | 99e844e44fac78ab3e1a0a73f6f6fa8f313489f3 | [
"MIT"
] | null | null | null | setup.py | Juniormin123/pyacme | 99e844e44fac78ab3e1a0a73f6f6fa8f313489f3 | [
"MIT"
] | null | null | null | import setuptools
setuptools.setup() | 9.5 | 18 | 0.815789 | 4 | 38 | 7.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 4 | 18 | 9.5 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
98771c8ef74afce86be110a547565bec58f4b6b3 | 154 | py | Python | vector_cv_tools/transforms/__init__.py | VectorInstitute/vector_cv_tools | 37d5b4c41a83f15554994bf7d19d8d274282ee61 | [
"MIT"
] | 6 | 2021-06-10T03:10:34.000Z | 2021-07-14T19:27:01.000Z | vector_cv_tools/transforms/__init__.py | VectorInstitute/vector_cv_tools | 37d5b4c41a83f15554994bf7d19d8d274282ee61 | [
"MIT"
] | null | null | null | vector_cv_tools/transforms/__init__.py | VectorInstitute/vector_cv_tools | 37d5b4c41a83f15554994bf7d19d8d274282ee61 | [
"MIT"
] | 1 | 2021-11-28T20:03:50.000Z | 2021-11-28T20:03:50.000Z | __all__ = ['compose', 'video_transforms', 'transform_wrappers']
from .compose import *
from .video_transforms import *
from .transform_wrappers import *
| 25.666667 | 63 | 0.772727 | 17 | 154 | 6.529412 | 0.470588 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 154 | 5 | 64 | 30.8 | 0.816176 | 0 | 0 | 0 | 0 | 0 | 0.266234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
98a954a1d1f9a9745957e4706a95cdc5da909181 | 39 | py | Python | custom_components/microsoft_vision/__init__.py | sunnysyed/hass-microsoft-face-identity | 7cbe01632218e1260ff050630ff9d66c73faa5f0 | [
"MIT"
] | null | null | null | custom_components/microsoft_vision/__init__.py | sunnysyed/hass-microsoft-face-identity | 7cbe01632218e1260ff050630ff9d66c73faa5f0 | [
"MIT"
] | null | null | null | custom_components/microsoft_vision/__init__.py | sunnysyed/hass-microsoft-face-identity | 7cbe01632218e1260ff050630ff9d66c73faa5f0 | [
"MIT"
] | null | null | null | """The microsoft_face_api component.""" | 39 | 39 | 0.769231 | 5 | 39 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 39 | 1 | 39 | 39 | 0.756757 | 0.846154 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7f28a2ae7818fcc8b0ba75ab065d1608a597a57e | 3,352 | py | Python | self-test/MLP and CMLP/Linear_model.py | HeunSeungLim/hl_point | 866f9e216d1f47517093720f6ff70ef2f0338bbe | [
"MIT"
] | 204 | 2020-03-08T07:55:35.000Z | 2022-03-27T15:13:36.000Z | self-test/MLP and CMLP/Linear_model.py | HeunSeungLim/hl_point | 866f9e216d1f47517093720f6ff70ef2f0338bbe | [
"MIT"
] | 38 | 2020-03-13T01:26:24.000Z | 2022-03-04T21:56:31.000Z | self-test/MLP and CMLP/Linear_model.py | HeunSeungLim/hl_point | 866f9e216d1f47517093720f6ff70ef2f0338bbe | [
"MIT"
] | 54 | 2020-03-08T10:03:26.000Z | 2022-03-12T11:49:02.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.utils.data
class Linear_autoencoder(nn.Module):
def __init__(self,num_inputs,num_outputs):
super(Linear_autoencoder,self).__init__()
self.num_inputs = num_inputs
... | 36.043011 | 67 | 0.587411 | 525 | 3,352 | 3.617143 | 0.133333 | 0.018957 | 0.066351 | 0.052659 | 0.840969 | 0.787783 | 0.779358 | 0.709847 | 0.685624 | 0.685624 | 0 | 0.125101 | 0.258353 | 3,352 | 92 | 68 | 36.434783 | 0.638777 | 0.037291 | 0 | 0.628205 | 0 | 0 | 0.002483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.051282 | 0 | 0.153846 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7f53d58b1511c09c3a43ff1b79d33339a7b5dfaf | 18 | py | Python | mymldev/model/__init__.py | Suneel123/mymldev | d80826432f97c9004986cd5a625f74757cf362bb | [
"MIT"
] | null | null | null | mymldev/model/__init__.py | Suneel123/mymldev | d80826432f97c9004986cd5a625f74757cf362bb | [
"MIT"
] | null | null | null | mymldev/model/__init__.py | Suneel123/mymldev | d80826432f97c9004986cd5a625f74757cf362bb | [
"MIT"
] | null | null | null | # Modified models
| 9 | 17 | 0.777778 | 2 | 18 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7f6a5ddab962e443f48d003f3b9e55928c187333 | 31 | py | Python | .nix/pkgs/development/python-modules/nsf-test-lib/src/__init__.py | jraygauthier/nixos_secure_factory | 67adb93b153902226301d4a68e7b6e3a0af660c2 | [
"Apache-2.0"
] | 1 | 2021-04-17T10:13:42.000Z | 2021-04-17T10:13:42.000Z | .nix/pkgs/development/python-modules/nsf-test-lib/src/__init__.py | jraygauthier/nixos_secure_factory | 67adb93b153902226301d4a68e7b6e3a0af660c2 | [
"Apache-2.0"
] | 4 | 2019-10-21T17:40:17.000Z | 2021-11-11T13:46:20.000Z | .nix/pkgs/development/python-modules/nsf-test-lib/src/__init__.py | jraygauthier/nixos_secure_factory | 67adb93b153902226301d4a68e7b6e3a0af660c2 | [
"Apache-2.0"
] | 2 | 2019-10-10T18:32:01.000Z | 2021-08-24T16:02:09.000Z | # Seems so be required by mypy
| 15.5 | 30 | 0.741935 | 6 | 31 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.958333 | 0.903226 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
63e59bb4adf5cbe8f874d6b3b0342779bf141bf6 | 89 | py | Python | src/abaqus/XY/AxisArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/XY/AxisArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/XY/AxisArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from .Axis import Axis
class AxisArray(list[Axis]):
def findAt(self):
pass
| 12.714286 | 28 | 0.640449 | 12 | 89 | 4.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258427 | 89 | 6 | 29 | 14.833333 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
63f924da6c111a690e083166c1b061aa09df564a | 4,846 | py | Python | src/coco2customvision/cli.py | rndazurescript/Coco2CustomVision | c189109413b185a77f5d1de51fb2dbcc96139ff6 | [
"MIT"
] | null | null | null | src/coco2customvision/cli.py | rndazurescript/Coco2CustomVision | c189109413b185a77f5d1de51fb2dbcc96139ff6 | [
"MIT"
] | 1 | 2022-02-23T13:01:38.000Z | 2022-02-23T13:01:38.000Z | src/coco2customvision/cli.py | rndazurescript/Coco2CustomVision | c189109413b185a77f5d1de51fb2dbcc96139ff6 | [
"MIT"
] | null | null | null | import logging
import click
from .version import __version__
from .azure_blob import get_blob_container_client
from .custom_vision import ObjectDetectionTrainer
from .export_coco import export_custom_vision_to_coco
from .import_coco import import_coco_to_custom_vision
def print_version(ctx, param, value):
if not ... | 27.072626 | 111 | 0.692736 | 613 | 4,846 | 5.226754 | 0.174551 | 0.153558 | 0.083021 | 0.047441 | 0.779963 | 0.75 | 0.75 | 0.75 | 0.75 | 0.75 | 0 | 0.001026 | 0.195832 | 4,846 | 178 | 112 | 27.224719 | 0.821144 | 0.048494 | 0 | 0.591463 | 0 | 0.006098 | 0.30227 | 0.04976 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.060976 | 0 | 0.091463 | 0.012195 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
120a82b684930b8a236ca9488e014283f11a637b | 49 | py | Python | tyreClassificationServer/model_utils/__init__.py | susheels/tyre-classification | 3925c16ed8e85b8b61cf2283ae387b3f5e34c3af | [
"MIT"
] | 1 | 2019-07-06T16:30:05.000Z | 2019-07-06T16:30:05.000Z | tyreClassificationServer/model_utils/__init__.py | susheels/tyre-classification | 3925c16ed8e85b8b61cf2283ae387b3f5e34c3af | [
"MIT"
] | null | null | null | tyreClassificationServer/model_utils/__init__.py | susheels/tyre-classification | 3925c16ed8e85b8b61cf2283ae387b3f5e34c3af | [
"MIT"
] | null | null | null | # contains code for inference using stored model. | 49 | 49 | 0.816327 | 7 | 49 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.952381 | 0.959184 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
124c47826543d257e9c0f189efe32d3269f594e8 | 9,216 | py | Python | cyborg/tests/unit/accelerator/drivers/nic/intel/prepare_test_data.py | NeCTAR-RC/cyborg | e0fab29181467c0c72667ea26a8b04c53b238ddb | [
"Apache-2.0"
] | 37 | 2017-03-23T02:10:35.000Z | 2021-11-25T07:57:36.000Z | cyborg/tests/unit/accelerator/drivers/nic/intel/prepare_test_data.py | openstack/nomad | 8cd846a16c2da04c2f204b02b90db814e32acd63 | [
"Apache-2.0"
] | null | null | null | cyborg/tests/unit/accelerator/drivers/nic/intel/prepare_test_data.py | openstack/nomad | 8cd846a16c2da04c2f204b02b90db814e32acd63 | [
"Apache-2.0"
] | 27 | 2017-07-14T02:26:24.000Z | 2022-01-19T07:55:10.000Z | #!/usr/bin/python
# Copyright 2021 Intel, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 37.463415 | 78 | 0.623806 | 945 | 9,216 | 5.888889 | 0.25291 | 0.543396 | 0.727763 | 0.853908 | 0.527763 | 0.467385 | 0.407367 | 0.389398 | 0.389398 | 0.350584 | 0 | 0.338231 | 0.239366 | 9,216 | 245 | 79 | 37.616327 | 0.455635 | 0.068034 | 0 | 0.359606 | 0 | 0 | 0.448151 | 0.093316 | 0 | 0 | 0.250087 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.014778 | 0 | 0.049261 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
125c458c7bf052f83a0324d100ee8a021c2b9ab3 | 27 | py | Python | lutils/__init__.py | loitd/lutils | 46ce632d4c4705df32a2ced94312f8209575d075 | [
"Apache-2.0"
] | 1 | 2021-04-29T06:09:51.000Z | 2021-04-29T06:09:51.000Z | lutils/__init__.py | loitd/lutils | 46ce632d4c4705df32a2ced94312f8209575d075 | [
"Apache-2.0"
] | 2 | 2021-06-02T00:12:04.000Z | 2022-03-29T22:10:41.000Z | lutils/__init__.py | loitd/lutils | 46ce632d4c4705df32a2ced94312f8209575d075 | [
"Apache-2.0"
] | null | null | null | # lutils dir
# import utils | 13.5 | 14 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 14 | 13.5 | 0.909091 | 0.851852 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
89c0d116a5fd7aa139217391ab70f013435bda53 | 112 | py | Python | gsflow/output/__init__.py | pygsflow/pygsflow | 83860cd58078017a65e1633b1192469777f1ce15 | [
"CC0-1.0",
"BSD-3-Clause"
] | 17 | 2019-11-11T02:49:29.000Z | 2022-02-17T03:45:19.000Z | gsflow/output/__init__.py | jonathanqv/pygsflow | d671fdd84245ecb421a0fcab17a578425b514e93 | [
"Unlicense"
] | 21 | 2019-07-10T21:45:11.000Z | 2022-02-22T17:57:20.000Z | gsflow/output/__init__.py | jonathanqv/pygsflow | d671fdd84245ecb421a0fcab17a578425b514e93 | [
"Unlicense"
] | 8 | 2019-11-11T02:49:36.000Z | 2021-09-30T18:43:45.000Z | from .prms_output import StatVar
from .prms_plot import PrmsPlot
from .discretization import PrmsDiscretization
| 28 | 46 | 0.866071 | 14 | 112 | 6.785714 | 0.642857 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 3 | 47 | 37.333333 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
89eedc53ddf5ed15d242328507e437c32597bda9 | 280 | py | Python | django_homealbum/core/admin.py | gardarh/homealbum | a71032fdaab4742b1e0cdeb6fd91c45fabc6ea4c | [
"MIT"
] | 1 | 2021-04-12T11:02:51.000Z | 2021-04-12T11:02:51.000Z | django_homealbum/core/admin.py | gardarh/homealbum | a71032fdaab4742b1e0cdeb6fd91c45fabc6ea4c | [
"MIT"
] | null | null | null | django_homealbum/core/admin.py | gardarh/homealbum | a71032fdaab4742b1e0cdeb6fd91c45fabc6ea4c | [
"MIT"
] | null | null | null | from django.contrib import admin
from core.models import MediaFile, Tag, MediaFileTag, MediaFileComment
admin.site.register(MediaFile, search_fields=['file_hash', 'file_location'])
admin.site.register(Tag)
admin.site.register(MediaFileComment)
admin.site.register(MediaFileTag)
| 31.111111 | 76 | 0.825 | 35 | 280 | 6.514286 | 0.514286 | 0.157895 | 0.298246 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067857 | 280 | 8 | 77 | 35 | 0.873563 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 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 | 0 | 0 | 0 | 5 |
89f7d898065e5f5d7b76fa20ff5b695375295ef7 | 681 | py | Python | exavault/api/__init__.py | ExaVault/evapi-python | 769bfa9fbb683f2b4653ca2564029ffb72445c8c | [
"MIT"
] | null | null | null | exavault/api/__init__.py | ExaVault/evapi-python | 769bfa9fbb683f2b4653ca2564029ffb72445c8c | [
"MIT"
] | 3 | 2017-07-13T20:58:05.000Z | 2019-08-02T19:08:37.000Z | exavault/api/__init__.py | ExaVault/evapi-python | 769bfa9fbb683f2b4653ca2564029ffb72445c8c | [
"MIT"
] | 4 | 2016-11-16T00:14:23.000Z | 2020-09-24T14:50:46.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from exavault.api.account_api import AccountApi
from exavault.api.activity_api import ActivityApi
from exavault.api.email_api import EmailApi
from exavault.api.email_lists_api import EmailListsApi
from exavault.api.form_api import Fo... | 37.833333 | 59 | 0.867841 | 98 | 681 | 5.836735 | 0.367347 | 0.251748 | 0.314685 | 0.06993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001618 | 0.092511 | 681 | 17 | 60 | 40.058824 | 0.923948 | 0.060206 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
89fda5971dd350b5240036b93a84f13b0677fc80 | 200 | py | Python | action/kickoff/kickoff_agent.py | oxrock/DisasterBot | 36260e9ef8730edbae018ba87aa19aaad72c8814 | [
"MIT"
] | 11 | 2018-11-18T09:30:39.000Z | 2021-08-24T18:47:48.000Z | action/kickoff/kickoff_agent.py | oxrock/DisasterBot | 36260e9ef8730edbae018ba87aa19aaad72c8814 | [
"MIT"
] | 6 | 2020-01-31T11:37:56.000Z | 2020-05-01T19:13:54.000Z | action/kickoff/kickoff_agent.py | oxrock/DisasterBot | 36260e9ef8730edbae018ba87aa19aaad72c8814 | [
"MIT"
] | 7 | 2018-11-17T20:02:19.000Z | 2020-05-01T15:07:13.000Z | from action.base_test_agent import BaseTestAgent
from action.kickoff import Kickoff
class TestAgent(BaseTestAgent):
def create_action(self):
return Kickoff(self, rendering_enabled=True)
| 25 | 52 | 0.795 | 25 | 200 | 6.2 | 0.68 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145 | 200 | 7 | 53 | 28.571429 | 0.906433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
d6205d8f800e8e85b45acf3523d75f0ee71546ab | 160 | py | Python | test/test_soap.py | pavelkalinchuk/test_mantis_bugtracker | 551482214c2bb4a265035109454344baa05e8594 | [
"Apache-2.0"
] | null | null | null | test/test_soap.py | pavelkalinchuk/test_mantis_bugtracker | 551482214c2bb4a265035109454344baa05e8594 | [
"Apache-2.0"
] | null | null | null | test/test_soap.py | pavelkalinchuk/test_mantis_bugtracker | 551482214c2bb4a265035109454344baa05e8594 | [
"Apache-2.0"
] | null | null | null | def test_soap(app):
project_list = app.soap.get_project_name_list("administrator", "root")
print("\n" + str(project_list))
print(len(project_list))
| 32 | 74 | 0.70625 | 23 | 160 | 4.608696 | 0.608696 | 0.311321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 160 | 4 | 75 | 40 | 0.768116 | 0 | 0 | 0 | 0 | 0 | 0.11875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
c39af556869f0d9ac9b9440f72321f71c2944758 | 62 | py | Python | saga_tools/__init__.py | isi-vista/saga-tools | b4c4d409f9b2f7e7bd578dc536fc30eb5de56f1c | [
"MIT"
] | null | null | null | saga_tools/__init__.py | isi-vista/saga-tools | b4c4d409f9b2f7e7bd578dc536fc30eb5de56f1c | [
"MIT"
] | 4 | 2020-02-05T18:58:43.000Z | 2021-02-01T15:22:59.000Z | saga_tools/__init__.py | isi-vista/saga-tools | b4c4d409f9b2f7e7bd578dc536fc30eb5de56f1c | [
"MIT"
] | 1 | 2020-08-05T15:45:01.000Z | 2020-08-05T15:45:01.000Z | from saga_tools.version import version as __version__ # noqa
| 31 | 61 | 0.822581 | 9 | 62 | 5.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 1 | 62 | 62 | 0.867925 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c3acf1e68f2b12b9befceeb8dc625752b6a131f7 | 156 | py | Python | cryptonite/challenge/admin.py | pshrmn/cryptonite | 3f83f34ae6c1733568578c6296e6396872fa5513 | [
"MIT"
] | 1 | 2018-01-15T14:44:36.000Z | 2018-01-15T14:44:36.000Z | cryptonite/challenge/admin.py | pshrmn/cryptonite | 3f83f34ae6c1733568578c6296e6396872fa5513 | [
"MIT"
] | null | null | null | cryptonite/challenge/admin.py | pshrmn/cryptonite | 3f83f34ae6c1733568578c6296e6396872fa5513 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Challenge, CompletedChallenge
admin.site.register(Challenge)
admin.site.register(CompletedChallenge)
| 22.285714 | 49 | 0.846154 | 18 | 156 | 7.333333 | 0.555556 | 0.136364 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 156 | 6 | 50 | 26 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c3bba371b1bcf24dd1d07c405537e91e14d184a3 | 55 | py | Python | dmapp/common/__init__.py | Ouranosinc/xlrme-ui | 2b5560fca9fadf0fdd2bc175f6ada722be8d8343 | [
"MIT"
] | 1 | 2016-09-08T14:17:11.000Z | 2016-09-08T14:17:11.000Z | dmapp/common/__init__.py | Ouranosinc/xlrme-ui | 2b5560fca9fadf0fdd2bc175f6ada722be8d8343 | [
"MIT"
] | null | null | null | dmapp/common/__init__.py | Ouranosinc/xlrme-ui | 2b5560fca9fadf0fdd2bc175f6ada722be8d8343 | [
"MIT"
] | null | null | null | from utils import *
from models import *
import assets
| 13.75 | 20 | 0.781818 | 8 | 55 | 5.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 55 | 3 | 21 | 18.333333 | 0.955556 | 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 | 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 | 5 |
c3db6108a71940c2e74394e014f1b4102fa7f65b | 54 | py | Python | apps/cars/tests/service/__init__.py | agorsk1/car-rating-app | 354c5933f4cbad69c9a57d1839f9086cd5cf9a1d | [
"MIT"
] | 1 | 2022-03-03T11:15:25.000Z | 2022-03-03T11:15:25.000Z | apps/cars/tests/service/__init__.py | agorsk1/car-rating-app | 354c5933f4cbad69c9a57d1839f9086cd5cf9a1d | [
"MIT"
] | null | null | null | apps/cars/tests/service/__init__.py | agorsk1/car-rating-app | 354c5933f4cbad69c9a57d1839f9086cd5cf9a1d | [
"MIT"
] | null | null | null | from .test_car_save_service import CarSaveServiceTest
| 27 | 53 | 0.907407 | 7 | 54 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.92 | 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 | 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 | 5 |
c3f9556318527f80253e729851320cf3d19286e2 | 38 | py | Python | api/battles.py | krhash/deck-clash-royale | 755f6d5505fce12d287a1e4793d41e0fb74302a7 | [
"MIT"
] | null | null | null | api/battles.py | krhash/deck-clash-royale | 755f6d5505fce12d287a1e4793d41e0fb74302a7 | [
"MIT"
] | null | null | null | api/battles.py | krhash/deck-clash-royale | 755f6d5505fce12d287a1e4793d41e0fb74302a7 | [
"MIT"
] | null | null | null | # Function to get battle logs go here
| 19 | 37 | 0.763158 | 7 | 38 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 1 | 38 | 38 | 0.966667 | 0.921053 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4ee25d87ca6ca21e1c4a0cb1529bf30bccf796cd | 145 | py | Python | src/hrflow_connectors/connectors/boards/indeed/spec.py | Riminder/hrflow-connectors | 6be229520657031a9dda5e6fc9680dc527d730ad | [
"Apache-2.0"
] | 32 | 2021-02-15T15:17:28.000Z | 2022-01-25T10:13:48.000Z | src/hrflow_connectors/connectors/boards/indeed/spec.py | Riminder/hrflow-connectors | 6be229520657031a9dda5e6fc9680dc527d730ad | [
"Apache-2.0"
] | 3 | 2021-12-29T19:26:58.000Z | 2022-01-28T09:07:40.000Z | src/hrflow_connectors/connectors/boards/indeed/spec.py | Riminder/hrflow-connectors | 6be229520657031a9dda5e6fc9680dc527d730ad | [
"Apache-2.0"
] | 3 | 2021-12-17T08:49:58.000Z | 2022-03-15T07:15:40.000Z | from pydantic import BaseModel
from typing import Tuple
from .actions import IndeedFeed
class Spec(BaseModel):
actions: Tuple[IndeedFeed]
| 16.111111 | 31 | 0.793103 | 18 | 145 | 6.388889 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158621 | 145 | 8 | 32 | 18.125 | 0.942623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4ef69e52a73abc9c421ca3541cdd401859e24204 | 146 | py | Python | swag_auth/helpers.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | null | null | null | swag_auth/helpers.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | 6 | 2021-05-10T13:11:24.000Z | 2021-09-08T13:35:46.000Z | swag_auth/helpers.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | 2 | 2021-04-29T20:08:21.000Z | 2021-11-17T19:21:42.000Z | from django.http import JsonResponse
def complete_authentication(request, token):
return JsonResponse(status=200, data={'token': token.id})
| 24.333333 | 61 | 0.773973 | 18 | 146 | 6.222222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.116438 | 146 | 5 | 62 | 29.2 | 0.844961 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
f617542713d6ddfc2dacf8d7f1e2bbb7b81e747a | 97 | py | Python | tests/test_donut.py | davidthomas5412/ActiveOpticsSimulator | 8c2ef23e95ca9e712f113c13611e3a723936d1b7 | [
"MIT"
] | 4 | 2019-07-17T23:06:52.000Z | 2021-09-15T10:38:51.000Z | tests/test_donut.py | davidthomas5412/ActiveOpticsSimulator | 8c2ef23e95ca9e712f113c13611e3a723936d1b7 | [
"MIT"
] | 5 | 2019-09-05T22:13:11.000Z | 2019-11-18T02:55:08.000Z | tests/test_donut.py | davidthomas5412/ActiveOpticsSimulator | 8c2ef23e95ca9e712f113c13611e3a723936d1b7 | [
"MIT"
] | null | null | null | from aos.donut import DonutExtractor
def test_donut_extractor():
extractor = DonutExtractor()
| 16.166667 | 36 | 0.804124 | 11 | 97 | 6.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 5 | 37 | 19.4 | 0.894118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f62d15b9c0b50afae3f090a3f78e2ad4e58ae418 | 150 | py | Python | book/admin.py | DongHyeonKim-tech/django-BookCrawling | 8499a5cd8504e1967d80f854c5e9df1e28f52653 | [
"MIT"
] | null | null | null | book/admin.py | DongHyeonKim-tech/django-BookCrawling | 8499a5cd8504e1967d80f854c5e9df1e28f52653 | [
"MIT"
] | null | null | null | book/admin.py | DongHyeonKim-tech/django-BookCrawling | 8499a5cd8504e1967d80f854c5e9df1e28f52653 | [
"MIT"
] | null | null | null | from django.contrib import admin
# from .models import Book, BookCrawling
# # Register your models here.
# admin.site.register([Book, BookCrawling])
| 25 | 43 | 0.766667 | 19 | 150 | 6.052632 | 0.631579 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 150 | 5 | 44 | 30 | 0.884615 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9ca1ef38c03806bab36b3b3ed99fe9df62e5d3be | 234 | py | Python | lexusenform/response_parsers/__init__.py | nemec/pylexusenform | a73647c2a489949ce6b0776eb73a6ba08b6030b6 | [
"MIT"
] | null | null | null | lexusenform/response_parsers/__init__.py | nemec/pylexusenform | a73647c2a489949ce6b0776eb73a6ba08b6030b6 | [
"MIT"
] | null | null | null | lexusenform/response_parsers/__init__.py | nemec/pylexusenform | a73647c2a489949ce6b0776eb73a6ba08b6030b6 | [
"MIT"
] | null | null | null | """Various response parsers"""
from .common import ResponseParser, DummyParser
from .status_parser import StatusParser
from .basic_command_response_parser import BasicCommandResponseParser
from .progress_parser import ProgressParser
| 33.428571 | 69 | 0.863248 | 25 | 234 | 7.88 | 0.64 | 0.182741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 234 | 6 | 70 | 39 | 0.924883 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9cb593b2004a540da7f77f88f29df50a5a753cdd | 195 | py | Python | HW1/YuliiaKutsyk/task_1_2.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW1/YuliiaKutsyk/task_1_2.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW1/YuliiaKutsyk/task_1_2.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | 6 | 2022-02-22T22:30:49.000Z | 2022-03-28T12:51:19.000Z | a = int(input("Input number a:\n"))
b = int(input("Input number b:\n"))
print(f"a + b = {a+b}")
print(f"a - b = {a-b}")
print(f"a * b = {a*b}")
print(f"a / b = {a/b}")
print(f"a ** b = {a**b}")
| 21.666667 | 35 | 0.482051 | 44 | 195 | 2.136364 | 0.181818 | 0.212766 | 0.37234 | 0.425532 | 0.531915 | 0.531915 | 0.531915 | 0.531915 | 0.531915 | 0.531915 | 0 | 0 | 0.184615 | 195 | 8 | 36 | 24.375 | 0.591195 | 0 | 0 | 0 | 0 | 0 | 0.517949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.714286 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9cd82f964746d3fa122f1ad911e896d87930fab1 | 241 | py | Python | nfv/nfv-vim/nfv_vim/events/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2020-02-07T19:01:36.000Z | 2022-02-23T01:41:46.000Z | nfv/nfv-vim/nfv_vim/events/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 1 | 2021-01-14T12:02:25.000Z | 2021-01-14T12:02:25.000Z | nfv/nfv-vim/nfv_vim/events/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2021-01-13T08:39:21.000Z | 2022-02-09T00:21:55.000Z | #
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from nfv_vim.events._events_module import events_finalize # noqa: F401
from nfv_vim.events._events_module import events_initialize # noqa: F401
| 30.125 | 73 | 0.780083 | 36 | 241 | 5 | 0.666667 | 0.077778 | 0.111111 | 0.177778 | 0.444444 | 0.444444 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0.075829 | 0.124481 | 241 | 7 | 74 | 34.428571 | 0.777251 | 0.439834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1ae0a8f54a58cf8d370f5fcd0a7889abfed0403e | 292 | py | Python | code_0_5_tuple_color.py | FoamyGuy/Learn_To_Program_with_Circuit_Playground | 49f75a8fb580e444f0bfbf8fe01b6175db989712 | [
"MIT"
] | null | null | null | code_0_5_tuple_color.py | FoamyGuy/Learn_To_Program_with_Circuit_Playground | 49f75a8fb580e444f0bfbf8fe01b6175db989712 | [
"MIT"
] | null | null | null | code_0_5_tuple_color.py | FoamyGuy/Learn_To_Program_with_Circuit_Playground | 49f75a8fb580e444f0bfbf8fe01b6175db989712 | [
"MIT"
] | null | null | null | # =============================================== #
# Lesson 0.5
# color tuples
# =============================================== #
# =============================================== #
# ^^ For now just focus on the code above this ^^
# =============================================== #
| 29.2 | 51 | 0.178082 | 14 | 292 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.123288 | 292 | 9 | 52 | 32.444444 | 0.195313 | 0.924658 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1aeee64d8acfaa2cf04af218a11c7da3a88229ed | 137 | py | Python | truescrub/updater/__init__.py | trevorc/truescrub | d5f3a31122cc2d94c997320a557a3ac25a54f008 | [
"MIT"
] | 4 | 2019-05-29T18:11:31.000Z | 2019-12-28T02:03:25.000Z | truescrub/updater/__init__.py | trevorc/truescrub | d5f3a31122cc2d94c997320a557a3ac25a54f008 | [
"MIT"
] | 5 | 2019-12-26T17:24:37.000Z | 2020-05-31T06:57:35.000Z | truescrub/updater/__init__.py | trevorc/truescrub | d5f3a31122cc2d94c997320a557a3ac25a54f008 | [
"MIT"
] | 1 | 2020-07-04T17:07:59.000Z | 2020-07-04T17:07:59.000Z | from truescrub.updater.updater import run_updater, stop_updater, send_message
__all__ = ["run_updater", "stop_updater", "send_message"]
| 34.25 | 77 | 0.80292 | 18 | 137 | 5.555556 | 0.5 | 0.2 | 0.28 | 0.42 | 0.64 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 3 | 78 | 45.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.255474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
210e51f0e860b077b1e8329339ec62f38232d67f | 167 | py | Python | test/test_sieve.py | neo0057/Algorithms | 75300184665d71a0fc1248448c509e14b51e05a0 | [
"WTFPL"
] | 4 | 2018-09-18T09:02:03.000Z | 2019-11-27T08:29:43.000Z | test/test_sieve.py | neo0057/Algorithms | 75300184665d71a0fc1248448c509e14b51e05a0 | [
"WTFPL"
] | 4 | 2018-10-12T13:32:43.000Z | 2018-10-24T16:39:02.000Z | test/test_sieve.py | neo0057/Algorithms | 75300184665d71a0fc1248448c509e14b51e05a0 | [
"WTFPL"
] | 9 | 2018-10-12T14:11:26.000Z | 2019-10-04T08:16:02.000Z | import pytest
from misc.sieve_of_eratosthenes import generate_primes
def test_primes():
prime_list = [2,3,5,7,11,13,17,19]
assert prime_list == generate_primes(20)
| 23.857143 | 54 | 0.784431 | 29 | 167 | 4.275862 | 0.793103 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09396 | 0.107784 | 167 | 6 | 55 | 27.833333 | 0.738255 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dcc3eda39bfe0bc2118dad9c4c81191500e518a3 | 168 | py | Python | onadata/apps/restservice/__init__.py | gushil/kobocat | 5ce27ed5fbf969b2ce68e8a59dd97ced74686711 | [
"BSD-2-Clause"
] | null | null | null | onadata/apps/restservice/__init__.py | gushil/kobocat | 5ce27ed5fbf969b2ce68e8a59dd97ced74686711 | [
"BSD-2-Clause"
] | 1 | 2020-03-04T15:22:42.000Z | 2020-03-04T15:22:42.000Z | onadata/apps/restservice/__init__.py | gushil/kobocat | 5ce27ed5fbf969b2ce68e8a59dd97ced74686711 | [
"BSD-2-Clause"
] | 1 | 2020-03-03T15:50:24.000Z | 2020-03-03T15:50:24.000Z | SERVICE_KPI_HOOK = (u"kpi_hook", u"KPI Hook POST")
SERVICE_CHOICES = (
SERVICE_KPI_HOOK,
)
default_app_config = "onadata.apps.restservice.app.RestServiceConfig"
| 18.666667 | 69 | 0.761905 | 23 | 168 | 5.217391 | 0.565217 | 0.233333 | 0.233333 | 0.183333 | 0.191667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 168 | 8 | 70 | 21 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.39881 | 0.27381 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dcf704abe9c8d8ed7387ea046f5a246ec00c9873 | 3,431 | py | Python | tests/realtime/test_realtime_Bus_allocate.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 191 | 2015-11-13T02:28:42.000Z | 2022-03-29T10:26:44.000Z | tests/realtime/test_realtime_Bus_allocate.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 130 | 2016-01-04T16:59:02.000Z | 2022-02-26T15:37:20.000Z | tests/realtime/test_realtime_Bus_allocate.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 22 | 2016-05-04T10:32:16.000Z | 2022-02-26T19:22:45.000Z | import supriya.realtime
import supriya.synthdefs
def test_01(server):
control_bus = supriya.realtime.Bus.control()
assert control_bus.bus_group is None
assert control_bus.bus_id is None
assert control_bus.calculation_rate == supriya.CalculationRate.CONTROL
assert control_bus.server is None
a... | 25.992424 | 79 | 0.724279 | 540 | 3,431 | 4.366667 | 0.077778 | 0.086514 | 0.152672 | 0.089059 | 0.832061 | 0.748092 | 0.709924 | 0.683206 | 0.661578 | 0.661578 | 0 | 0.009222 | 0.209851 | 3,431 | 131 | 80 | 26.19084 | 0.860568 | 0 | 0 | 0.535354 | 0 | 0 | 0.001457 | 0 | 0 | 0 | 0 | 0 | 0.686869 | 1 | 0.040404 | false | 0 | 0.020202 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d01eeecdb46232596710ba999523c431b65ac12 | 182 | py | Python | lichee/representation/torch/__init__.py | Tencent/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 91 | 2021-10-30T02:25:05.000Z | 2022-03-28T06:51:52.000Z | lichee/representation/torch/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 1 | 2021-12-17T09:30:25.000Z | 2022-03-05T12:30:13.000Z | lichee/representation/torch/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 17 | 2021-11-04T07:50:23.000Z | 2022-03-24T14:24:11.000Z | # -*- coding: utf-8 -*-
"""
模型表示层插件 torch 实现
"""
from . import bert
from . import docbert
from . import consensus
from . import enhance
from . import cspdarknet
from . import common
| 16.545455 | 24 | 0.697802 | 24 | 182 | 5.291667 | 0.583333 | 0.472441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.186813 | 182 | 10 | 25 | 18.2 | 0.851351 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0d102e1b5f87b2c4d6389a09b1a3f00c58e7139a | 47 | py | Python | api/Ride/__init__.py | TheSteelGuy/Ride-My-WayApiV1 | 3d82e6e87214518557b557545b998247ae7b0ea7 | [
"MIT"
] | null | null | null | api/Ride/__init__.py | TheSteelGuy/Ride-My-WayApiV1 | 3d82e6e87214518557b557545b998247ae7b0ea7 | [
"MIT"
] | 11 | 2018-06-23T20:35:02.000Z | 2019-10-21T14:46:39.000Z | api/Ride/__init__.py | TheSteelGuy/Ride-My-WayApiV1 | 3d82e6e87214518557b557545b998247ae7b0ea7 | [
"MIT"
] | 1 | 2018-06-26T15:05:58.000Z | 2018-06-26T15:05:58.000Z | ''' empty file to make the folder a package'''
| 23.5 | 46 | 0.680851 | 8 | 47 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 1 | 47 | 47 | 0.842105 | 0.829787 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d2101f06540336dae3a889d49506ee88a98dafa | 227 | py | Python | util.py | pragma999/erd_single | 914bafafd854f2548ad73a81f28bb30a09401751 | [
"MIT"
] | null | null | null | util.py | pragma999/erd_single | 914bafafd854f2548ad73a81f28bb30a09401751 | [
"MIT"
] | null | null | null | util.py | pragma999/erd_single | 914bafafd854f2548ad73a81f28bb30a09401751 | [
"MIT"
] | null | null | null | from math import gcd
from functools import reduce
def lcm_base(x, y):
return (x * y) // gcd(x, y)
def lcm(*numbers):
return reduce(lcm_base, numbers, 1)
def lcm_list(numbers):
return reduce(lcm_base, numbers, 1)
| 18.916667 | 39 | 0.682819 | 38 | 227 | 3.973684 | 0.394737 | 0.119205 | 0.251656 | 0.291391 | 0.450331 | 0.450331 | 0.450331 | 0 | 0 | 0 | 0 | 0.010989 | 0.198238 | 227 | 11 | 40 | 20.636364 | 0.818681 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0d5234a6fec7ca99de88667b50720c0cde3f4009 | 93 | py | Python | sample-apps/segmentation_spleen/test.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | 1 | 2021-07-27T12:45:48.000Z | 2021-07-27T12:45:48.000Z | sample-apps/segmentation_spleen/test.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | null | null | null | sample-apps/segmentation_spleen/test.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | 1 | 2021-07-27T12:45:38.000Z | 2021-07-27T12:45:38.000Z | from monailabel.interfaces.test import test_main
if __name__ == "__main__":
test_main()
| 18.6 | 48 | 0.752688 | 12 | 93 | 5 | 0.666667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 4 | 49 | 23.25 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b4a207c4885a6b0d351ea59c898070351ee73304 | 167 | py | Python | problems/get_the_mean_of_an_array.py | stereoabuse/codewars | d6437afaef38c3601903891b8b9cb0f84c108c54 | [
"MIT"
] | null | null | null | problems/get_the_mean_of_an_array.py | stereoabuse/codewars | d6437afaef38c3601903891b8b9cb0f84c108c54 | [
"MIT"
] | null | null | null | problems/get_the_mean_of_an_array.py | stereoabuse/codewars | d6437afaef38c3601903891b8b9cb0f84c108c54 | [
"MIT"
] | null | null | null | ## Get the mean of an array
## 8 kyu
## https://www.codewars.com/kata/563e320cee5dddcf77000158
def get_average(marks):
return sum(marks) // len(marks)
| 20.875 | 59 | 0.664671 | 23 | 167 | 4.782609 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 0.203593 | 167 | 7 | 60 | 23.857143 | 0.706767 | 0.520958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
372b2d1fbcd5c5675ab94cd5b261adc5201c74fb | 154 | py | Python | tests/schemas/v1/conftest.py | Clustaar/clustaar.schemas | 3eb68b0a8c76f3529fb645516a76007435b04d17 | [
"MIT"
] | null | null | null | tests/schemas/v1/conftest.py | Clustaar/clustaar.schemas | 3eb68b0a8c76f3529fb645516a76007435b04d17 | [
"MIT"
] | 7 | 2018-09-07T16:03:42.000Z | 2020-05-13T10:54:37.000Z | tests/schemas/v1/conftest.py | Clustaar/clustaar.schemas | 3eb68b0a8c76f3529fb645516a76007435b04d17 | [
"MIT"
] | null | null | null | import pytest
from lupin import constructor
from clustaar.schemas import v1
@pytest.fixture
def mapper():
return v1.get_mapper(factory=constructor)
| 17.111111 | 45 | 0.798701 | 21 | 154 | 5.809524 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.136364 | 154 | 8 | 46 | 19.25 | 0.902256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
2ef627e55853009277dac74b3feeae5d651ddf77 | 1,436 | py | Python | test/test_workflow_instances_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_workflow_instances_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_workflow_instances_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | """
MSX SDK
MSX SDK client. # noqa: E501
The version of the OpenAPI document: 1.0.9
Generated by: https://openapi-generator.tech
"""
import unittest
import python_msx_sdk
from python_msx_sdk.api.workflow_instances_api import WorkflowInstancesApi # noqa: E501
class TestWorkflowInstancesApi(unitt... | 22.4375 | 88 | 0.651811 | 167 | 1,436 | 5.347305 | 0.311377 | 0.215006 | 0.06159 | 0.083987 | 0.371781 | 0.371781 | 0.273236 | 0.163494 | 0.12318 | 0.12318 | 0 | 0.025763 | 0.270195 | 1,436 | 63 | 89 | 22.793651 | 0.826336 | 0.433148 | 0 | 0.3 | 1 | 0 | 0.011869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0.3 | 0.15 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
2ef7621418fa597216f469397ff7389c10c355a5 | 4,428 | py | Python | weblog/blog/migrations/0003_auto_20180310_2027.py | Family-TreeSY/WeBlog | cc26d604caa39f7237788873e8460bae8dff197e | [
"MIT"
] | null | null | null | weblog/blog/migrations/0003_auto_20180310_2027.py | Family-TreeSY/WeBlog | cc26d604caa39f7237788873e8460bae8dff197e | [
"MIT"
] | null | null | null | weblog/blog/migrations/0003_auto_20180310_2027.py | Family-TreeSY/WeBlog | cc26d604caa39f7237788873e8460bae8dff197e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2018-03-10 12:27
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('blog', '0002_auto_20180310... | 36 | 129 | 0.572719 | 440 | 4,428 | 5.581818 | 0.229545 | 0.076954 | 0.193404 | 0.224349 | 0.741857 | 0.741857 | 0.542345 | 0.481678 | 0.464169 | 0.464169 | 0 | 0.018252 | 0.294715 | 4,428 | 122 | 130 | 36.295082 | 0.768172 | 0.015357 | 0 | 0.730435 | 1 | 0 | 0.086986 | 0.005279 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034783 | 0 | 0.06087 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 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 | 5 |
2c04302cd7fb43e9657c0fb9c441087d92453e39 | 426 | py | Python | test/test_snoopy_kitty_recognition.py | jodythai/scoopy_kitty_recognition | 675908a379e00bc673df5d1112226bf8ee0806ee | [
"MIT"
] | null | null | null | test/test_snoopy_kitty_recognition.py | jodythai/scoopy_kitty_recognition | 675908a379e00bc673df5d1112226bf8ee0806ee | [
"MIT"
] | null | null | null | test/test_snoopy_kitty_recognition.py | jodythai/scoopy_kitty_recognition | 675908a379e00bc673df5d1112226bf8ee0806ee | [
"MIT"
] | 2 | 2019-08-26T02:22:44.000Z | 2021-11-22T11:01:27.000Z | from snoopy_kitty_recognition import snoopy_kitty_recognition
def test_fib() -> None:
assert snoopy_kitty_recognition.fib(0) == 0
assert snoopy_kitty_recognition.fib(1) == 1
assert snoopy_kitty_recognition.fib(2) == 1
assert snoopy_kitty_recognition.fib(3) == 2
assert snoopy_kitty_recognition.fib(... | 35.5 | 61 | 0.751174 | 61 | 426 | 4.934426 | 0.295082 | 0.328904 | 0.657807 | 0.651163 | 0.727575 | 0.212625 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.15493 | 426 | 11 | 62 | 38.727273 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 1 | 0.111111 | true | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2c074801c18aef013a378c2be95b317a04925410 | 231 | py | Python | ddmtools/utils/string.py | JeppeKlitgaard/DDMTools | 4c62d849d8b3dbcac94e19c8639d7fc649201dc5 | [
"MIT"
] | 1 | 2022-02-03T14:10:49.000Z | 2022-02-03T14:10:49.000Z | ddmtools/utils/string.py | JeppeKlitgaard/DDMTools | 4c62d849d8b3dbcac94e19c8639d7fc649201dc5 | [
"MIT"
] | 5 | 2022-02-21T09:26:23.000Z | 2022-02-26T16:27:20.000Z | ddmtools/utils/string.py | JeppeKlitgaard/DDMTools | 4c62d849d8b3dbcac94e19c8639d7fc649201dc5 | [
"MIT"
] | null | null | null | # Backport of str.removeprefix.
# TODO Remove when minimum python version is 3.9 or above
def removeprefix(string: str, prefix: str) -> str:
if string.startswith(prefix):
return string[len(prefix) :]
return string
| 28.875 | 57 | 0.705628 | 32 | 231 | 5.09375 | 0.6875 | 0.147239 | 0.220859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010811 | 0.199134 | 231 | 7 | 58 | 33 | 0.87027 | 0.367965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
25c3e0875382571e35669c8156257fc2819c52f3 | 1,285 | py | Python | api/projects/tests/test_models.py | mevinbabuc/flagsmith | 751bd6cb4a34bd2f80af5a9c547559da9c2fa010 | [
"BSD-3-Clause"
] | 1,259 | 2021-06-10T11:24:09.000Z | 2022-03-31T10:30:44.000Z | api/projects/tests/test_models.py | mevinbabuc/flagsmith | 751bd6cb4a34bd2f80af5a9c547559da9c2fa010 | [
"BSD-3-Clause"
] | 392 | 2021-06-10T11:12:29.000Z | 2022-03-31T10:13:53.000Z | api/projects/tests/test_models.py | mevinbabuc/flagsmith | 751bd6cb4a34bd2f80af5a9c547559da9c2fa010 | [
"BSD-3-Clause"
] | 58 | 2021-06-11T03:18:07.000Z | 2022-03-31T14:39:10.000Z | from unittest import mock
import pytest
from django.conf import settings
@pytest.mark.django_db()
def test_get_segments_from_cache(project, monkeypatch):
# Given
mock_project_segments_cache = mock.MagicMock()
mock_project_segments_cache.get.return_value = None
monkeypatch.setattr(
"projects.... | 27.934783 | 80 | 0.770428 | 164 | 1,285 | 5.628049 | 0.262195 | 0.24377 | 0.260022 | 0.260022 | 0.757313 | 0.736728 | 0.736728 | 0.652221 | 0.652221 | 0.552546 | 0 | 0 | 0.157977 | 1,285 | 45 | 81 | 28.555556 | 0.85305 | 0.05214 | 0 | 0.384615 | 0 | 0 | 0.06281 | 0.06281 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.076923 | false | 0 | 0.115385 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d34a1242e4739752cba0ef9d6656ae5f6fb1b9b9 | 86 | py | Python | lib/solutions/SUM/sum_solution.py | DPNT-Sourcecode/CHK-ixtu01 | 484a63d0fa0fd4e9be1a6d36641f5194ce8a6510 | [
"Apache-2.0"
] | null | null | null | lib/solutions/SUM/sum_solution.py | DPNT-Sourcecode/CHK-ixtu01 | 484a63d0fa0fd4e9be1a6d36641f5194ce8a6510 | [
"Apache-2.0"
] | null | null | null | lib/solutions/SUM/sum_solution.py | DPNT-Sourcecode/CHK-ixtu01 | 484a63d0fa0fd4e9be1a6d36641f5194ce8a6510 | [
"Apache-2.0"
] | null | null | null |
# Function which adds two numbers
def compute(num1, num2):
return (num1 + num2)
| 14.333333 | 33 | 0.686047 | 12 | 86 | 4.916667 | 0.833333 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.22093 | 86 | 5 | 34 | 17.2 | 0.820896 | 0.360465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 | 0 | 1 | 0 | 0 | 0 | 5 |
d35e6395f6650db91ce94b0cdb93f03f019ece15 | 93 | py | Python | retinanet_myself/retinanet_self.py | big-god-creater/maskrcnn-benchmark | 8a6e3c9df0cbdd7c87d61480bce69d200d464dfd | [
"MIT"
] | null | null | null | retinanet_myself/retinanet_self.py | big-god-creater/maskrcnn-benchmark | 8a6e3c9df0cbdd7c87d61480bce69d200d464dfd | [
"MIT"
] | null | null | null | retinanet_myself/retinanet_self.py | big-god-creater/maskrcnn-benchmark | 8a6e3c9df0cbdd7c87d61480bce69d200d464dfd | [
"MIT"
] | null | null | null | from maskrcnn_benchmark.modeling.rpn.retinanet.retinanet import RetinaNetModule
import torch
| 31 | 79 | 0.892473 | 11 | 93 | 7.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 93 | 2 | 80 | 46.5 | 0.942529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
d3724e7f8706f882140d4bf1d34bb26eeddcdcaf | 257 | py | Python | elf/evaluation/__init__.py | qin-yu/elf | bb8e0a41c1c2539ac6f866271751139271fbeeb1 | [
"MIT"
] | 23 | 2019-09-07T23:02:08.000Z | 2022-03-19T09:50:58.000Z | elf/evaluation/__init__.py | qin-yu/elf | bb8e0a41c1c2539ac6f866271751139271fbeeb1 | [
"MIT"
] | 34 | 2019-08-07T11:54:01.000Z | 2022-03-29T09:50:54.000Z | elf/evaluation/__init__.py | qin-yu/elf | bb8e0a41c1c2539ac6f866271751139271fbeeb1 | [
"MIT"
] | 12 | 2019-08-23T09:01:29.000Z | 2021-11-09T01:21:20.000Z | from .cremi_score import cremi_score
from .dice import dice_score, symmetric_best_dice_score
from .rand_index import rand_index
from .variation_of_information import variation_of_information, object_vi
from .matching import matching, mean_average_precision
| 42.833333 | 73 | 0.879377 | 38 | 257 | 5.552632 | 0.473684 | 0.094787 | 0.208531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089494 | 257 | 5 | 74 | 51.4 | 0.901709 | 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 | 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 | 5 |
d3ac4a42acca8e7690305ce45f8dd0a23b8ad329 | 28 | py | Python | office365/sharepoint/directory/membersInfo.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/sharepoint/directory/membersInfo.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/sharepoint/directory/membersInfo.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | class MembersInfo:
pass
| 9.333333 | 18 | 0.714286 | 3 | 28 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6cd194f2bf53ef80180dd8387a6d2e3fb2f44efa | 668 | py | Python | data/external/repositories_2to3/120243/tradeshift-text-classification-master/src/ensemble.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | null | null | null | data/external/repositories_2to3/120243/tradeshift-text-classification-master/src/ensemble.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | null | null | null | data/external/repositories_2to3/120243/tradeshift-text-classification-master/src/ensemble.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | 1 | 2019-12-04T08:23:33.000Z | 2019-12-04T08:23:33.000Z | import pandas as pd
import subprocess, sys, os, time
start = time.time()
sub_dir=sys.argv[1]
cmd = 'pypy src/ensemble/ave41.py '+sub_dir
subprocess.call(cmd, shell=True)
cmd = 'pypy src/ensemble/ave58.py '+sub_dir
subprocess.call(cmd, shell=True)
cmd = 'pypy src/ensemble/ave91.py '+sub_dir
subprocess... | 23.857143 | 44 | 0.711078 | 108 | 668 | 4.324074 | 0.259259 | 0.102784 | 0.149893 | 0.269807 | 0.740899 | 0.740899 | 0.740899 | 0.740899 | 0.668094 | 0.668094 | 0 | 0.026316 | 0.146707 | 668 | 27 | 45 | 24.740741 | 0.792982 | 0 | 0 | 0.388889 | 0 | 0 | 0.294852 | 0.229329 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6ce02c83d0fa8317405124617cc230eb4f563056 | 108 | py | Python | src/dstools/pipeline/validators/__init__.py | edublancas/python-ds-tools | 1da2337961db9c50562349c28c9115d3a7cc6c0c | [
"MIT"
] | 1 | 2021-11-02T05:48:00.000Z | 2021-11-02T05:48:00.000Z | src/dstools/pipeline/validators/__init__.py | edublancas/python-ds-tools | 1da2337961db9c50562349c28c9115d3a7cc6c0c | [
"MIT"
] | 8 | 2016-05-25T01:50:14.000Z | 2021-03-03T14:52:36.000Z | src/dstools/pipeline/validators/__init__.py | edublancas/dstools | 1da2337961db9c50562349c28c9115d3a7cc6c0c | [
"MIT"
] | null | null | null | from dstools.pipeline.validators.validators import data_frame_validator
__all__ = ['data_frame_validator']
| 27 | 71 | 0.851852 | 13 | 108 | 6.461538 | 0.692308 | 0.214286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 3 | 72 | 36 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6cec3f80ea55141ef7c56742b8ebee8695b53b47 | 467 | py | Python | Approach 1/Model that was derived from reactions and had all relevant terms/originalSystemPrettyPrint.py | ayandeephazra/Chemical_Origins_Of_Life | 5858b51063c53b2db00529fe79a67d321193171e | [
"MIT"
] | 1 | 2021-08-01T18:22:51.000Z | 2021-08-01T18:22:51.000Z | Approach 1/Model that was derived from reactions and had all relevant terms/originalSystemPrettyPrint.py | ayandeephazra/Chemical_Origins_Of_Life | 5858b51063c53b2db00529fe79a67d321193171e | [
"MIT"
] | null | null | null | Approach 1/Model that was derived from reactions and had all relevant terms/originalSystemPrettyPrint.py | ayandeephazra/Chemical_Origins_Of_Life | 5858b51063c53b2db00529fe79a67d321193171e | [
"MIT"
] | null | null | null | def originalSystemPrettyPrint():
var = "Original System \n\ny1' = 7 y3 + 4.5 y5 + -19.5 y1^2 -9.5 y1 y2 + -10 y1 y5 + -9.75 y1 y3 -9.75 y1 y4\n" + \
"y2' = 9 y4 + 4.5 y5 + -6 y2^2 -9.5 y1 y2 + -10 y3 y2 + -4 y5 y2 -1.75 y2 y4\n" + \
"y3' = 9.75 y1^2 -3.5 y3 + -9.75 y1 y3 + -19.5 y3^2 -10 y3 y2\n... | 51.888889 | 119 | 0.462527 | 108 | 467 | 2 | 0.231481 | 0.069444 | 0.115741 | 0.083333 | 0.083333 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0.352751 | 0.33833 | 467 | 8 | 120 | 58.375 | 0.346278 | 0 | 0 | 0 | 0 | 0.714286 | 0.721627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9f72784c19b763f5debae82f5f45876d9b8f47ab | 48 | py | Python | tests/test.py | Simangele101/Analyse_package | 035caa662c68bcf2cdfffc86f9c76541d9f86819 | [
"MIT"
] | null | null | null | tests/test.py | Simangele101/Analyse_package | 035caa662c68bcf2cdfffc86f9c76541d9f86819 | [
"MIT"
] | null | null | null | tests/test.py | Simangele101/Analyse_package | 035caa662c68bcf2cdfffc86f9c76541d9f86819 | [
"MIT"
] | null | null | null | #from Analyse_package.Analyse_module import *
| 12 | 45 | 0.8125 | 6 | 48 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 46 | 16 | 0.880952 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9fbb7d539995dd98b2e7af67b74f9cb1ba602c63 | 68 | py | Python | singleton_model/__init__.py | icaropires/django-singlemodel | b5c237c72f97b31fa2411d4dfa668a372ad03b26 | [
"MIT"
] | 1 | 2019-11-01T20:08:47.000Z | 2019-11-01T20:08:47.000Z | singleton_model/__init__.py | icaropires/django-singlemodel | b5c237c72f97b31fa2411d4dfa668a372ad03b26 | [
"MIT"
] | 3 | 2020-02-11T22:36:32.000Z | 2021-06-10T20:19:39.000Z | singleton_model/__init__.py | icaropires/django-singlemodel | b5c237c72f97b31fa2411d4dfa668a372ad03b26 | [
"MIT"
] | 2 | 2019-04-22T14:26:06.000Z | 2020-04-20T07:33:03.000Z | from .models import SingletonModel # pylint: disable=unused-import
| 34 | 67 | 0.808824 | 8 | 68 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 1 | 68 | 68 | 0.916667 | 0.426471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9fbc8505586a39b728b01bca4bfcdc786c5eebf7 | 78,081 | py | Python | fn_sdk_test/fn_sdk_test/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2020-08-25T03:43:07.000Z | 2020-08-25T03:43:07.000Z | fn_sdk_test/fn_sdk_test/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2019-07-08T16:57:48.000Z | 2019-07-08T16:57:48.000Z | fn_sdk_test/fn_sdk_test/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_sdk_test"""
from resilient import ImportDefinition
def codegen_reload_data():
"""
Parameters required reload codegen for the fn_sdk_test package
"""
return {
"package": u"fn_sdk_test",
"message_destinati... | 74.71866 | 659 | 0.978983 | 1,230 | 78,081 | 62.050407 | 0.805691 | 0.002752 | 0.000891 | 0.000472 | 0.010744 | 0.000786 | 0 | 0 | 0 | 0 | 0 | 0.109563 | 0.018442 | 78,081 | 1,044 | 660 | 74.79023 | 0.886275 | 0.012846 | 0 | 0.142715 | 1 | 0 | 0.994242 | 0.978944 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001996 | false | 0 | 0.001996 | 0 | 0.00499 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4cae5260b93836de0363bd2a465c1895fd8a5f50 | 207 | py | Python | src/pythae/samplers/normal_sampling/normal_config.py | clementchadebec/benchmark_VAE | 943e231f9e5dfa40b4eec14d4536f1c229ad9be1 | [
"Apache-2.0"
] | 143 | 2021-10-17T08:43:33.000Z | 2022-03-31T11:10:53.000Z | src/pythae/samplers/normal_sampling/normal_config.py | eknag/benchmark_VAE | 8b727f29a68aff7771c4c97aff15f75f88320e1f | [
"Apache-2.0"
] | 6 | 2022-01-21T17:40:09.000Z | 2022-03-16T13:09:22.000Z | src/pythae/samplers/normal_sampling/normal_config.py | eknag/benchmark_VAE | 8b727f29a68aff7771c4c97aff15f75f88320e1f | [
"Apache-2.0"
] | 18 | 2021-12-16T15:17:08.000Z | 2022-03-15T01:30:13.000Z | from pydantic.dataclasses import dataclass
from ...samplers import BaseSamplerConfig
@dataclass
class NormalSamplerConfig(BaseSamplerConfig):
"""NormalSampler config class.
N/A
"""
pass
| 14.785714 | 45 | 0.73913 | 19 | 207 | 8.052632 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183575 | 207 | 13 | 46 | 15.923077 | 0.905325 | 0.154589 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
4cb7f89e964a4a51954af18a27af827dd8fe0e6d | 31 | py | Python | runserver.py | a6350202/webhook-receiver | b69858a335078701044022cab54c1f6ca63d9737 | [
"Apache-2.0"
] | null | null | null | runserver.py | a6350202/webhook-receiver | b69858a335078701044022cab54c1f6ca63d9737 | [
"Apache-2.0"
] | null | null | null | runserver.py | a6350202/webhook-receiver | b69858a335078701044022cab54c1f6ca63d9737 | [
"Apache-2.0"
] | null | null | null | from core import app
app.run()
| 10.333333 | 20 | 0.741935 | 6 | 31 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 21 | 15.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9803280a326be0c449b5a6b398ba2bfe0bf3e686 | 28 | py | Python | tardis/apps/related_info/models.py | keithschulze/mytardis | 8ed3562574ce990d42bfe96133185a82c31c27d4 | [
"Apache-2.0"
] | null | null | null | tardis/apps/related_info/models.py | keithschulze/mytardis | 8ed3562574ce990d42bfe96133185a82c31c27d4 | [
"Apache-2.0"
] | null | null | null | tardis/apps/related_info/models.py | keithschulze/mytardis | 8ed3562574ce990d42bfe96133185a82c31c27d4 | [
"Apache-2.0"
] | null | null | null | # Needed to detect fixtures
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.956522 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e242645046abb62bf78e4c12c397072ef3911d92 | 265 | py | Python | pants-pytooling/pytooling_readme/register.py | Nordix/pytooling | b48e70e9098c283d0f17db8016d2f32a2b103a57 | [
"Apache-2.0"
] | 1 | 2021-12-09T19:24:48.000Z | 2021-12-09T19:24:48.000Z | pants-pytooling/pytooling_readme/register.py | Nordix/pytooling | b48e70e9098c283d0f17db8016d2f32a2b103a57 | [
"Apache-2.0"
] | 392 | 2021-08-24T15:55:32.000Z | 2022-03-28T14:26:22.000Z | pants-pytooling/pytooling_readme/register.py | Nordix/pytooling | b48e70e9098c283d0f17db8016d2f32a2b103a57 | [
"Apache-2.0"
] | 3 | 2021-10-06T13:43:11.000Z | 2021-11-29T13:48:56.000Z |
from .goal import rules as goal_rules
from .snippet import (
target_types as snippet_target_types,
rules as snippet_rules)
def target_types():
return snippet_target_types()
def rules():
return (
*goal_rules(),
*snippet_rules())
| 16.5625 | 41 | 0.679245 | 34 | 265 | 5 | 0.294118 | 0.258824 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237736 | 265 | 15 | 42 | 17.666667 | 0.841584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e26a746a05a0b818ca213da6947632dbe2999448 | 94 | py | Python | _posts/Back/python/k-digital training/quarter.py | jmsmg/jmsmg.github.io | 84f1a6c70320623636b2c52b0b263dda710fd883 | [
"MIT"
] | 1 | 2021-07-06T04:19:09.000Z | 2021-07-06T04:19:09.000Z | _posts/Back/python/k-digital training/quarter.py | jmsmg/jmsmg.github.io | 84f1a6c70320623636b2c52b0b263dda710fd883 | [
"MIT"
] | null | null | null | _posts/Back/python/k-digital training/quarter.py | jmsmg/jmsmg.github.io | 84f1a6c70320623636b2c52b0b263dda710fd883 | [
"MIT"
] | null | null | null | import math
def quarterYear(month):
return math.ceil( month / 3.0 )
print(quarterYear(6))
| 13.428571 | 33 | 0.712766 | 14 | 94 | 4.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.159574 | 94 | 6 | 34 | 15.666667 | 0.810127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e27149136816601abed4ee1f81b3f69a3e869c3d | 69,807 | py | Python | static/vendor/charting_library_clonned_data/charting_library/ar-tv-chart.287b0032.html.py | saadan12/nf1 | 474daac7d16c11434c1d7e754329039a3a8d8457 | [
"MIT"
] | null | null | null | static/vendor/charting_library_clonned_data/charting_library/ar-tv-chart.287b0032.html.py | saadan12/nf1 | 474daac7d16c11434c1d7e754329039a3a8d8457 | [
"MIT"
] | null | null | null | static/vendor/charting_library_clonned_data/charting_library/ar-tv-chart.287b0032.html.py | saadan12/nf1 | 474daac7d16c11434c1d7e754329039a3a8d8457 | [
"MIT"
] | null | null | null | XXXXXXXXX XXXXXXXXXX XXXXXXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXX... | 69,807 | 69,807 | 0.91796 | 5,621 | 69,807 | 11.400107 | 0.019925 | 0.009238 | 0.009956 | 0.005119 | 0.13814 | 0.087188 | 0.065793 | 0.048767 | 0.042119 | 0.036033 | 0 | 0 | 0.08204 | 69,807 | 1 | 69,807 | 69,807 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2c3da5d0afae50da7acccfb034601450a5cd1b15 | 158 | py | Python | sellshop/chat/admin.py | vusallyv/E-commerce-Sellshop-Lambda | 4a41c76963c32695737610ef2ef90348b6c4022a | [
"MIT"
] | null | null | null | sellshop/chat/admin.py | vusallyv/E-commerce-Sellshop-Lambda | 4a41c76963c32695737610ef2ef90348b6c4022a | [
"MIT"
] | null | null | null | sellshop/chat/admin.py | vusallyv/E-commerce-Sellshop-Lambda | 4a41c76963c32695737610ef2ef90348b6c4022a | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from chat.models import Room, Message
admin.site.register(Room)
admin.site.register(Message)
| 17.555556 | 37 | 0.797468 | 23 | 158 | 5.478261 | 0.565217 | 0.142857 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120253 | 158 | 8 | 38 | 19.75 | 0.906475 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2c6bed5b977f53a5af95c7f1ecb4dba4f365b2d1 | 918 | py | Python | tests/security/AES.py | CodeAnGo/PyLive | 15c918550ea88f1ad2efa1119c2afd9dac17ebec | [
"Apache-2.0"
] | null | null | null | tests/security/AES.py | CodeAnGo/PyLive | 15c918550ea88f1ad2efa1119c2afd9dac17ebec | [
"Apache-2.0"
] | null | null | null | tests/security/AES.py | CodeAnGo/PyLive | 15c918550ea88f1ad2efa1119c2afd9dac17ebec | [
"Apache-2.0"
] | null | null | null | import unittest
import os
from security import AES
class AESTest(unittest.TestCase):
def testCBCEncryption(self):
print("Testing AES-CBC Encryption")
inputText = "This is an example input string that should be encrypted, then decrypted!"
encryptedText = AES.encryptBlockText(inputText)
... | 51 | 116 | 0.727669 | 98 | 918 | 6.816327 | 0.438776 | 0.098802 | 0.047904 | 0.07485 | 0.763473 | 0.763473 | 0.763473 | 0.763473 | 0.763473 | 0.763473 | 0 | 0.013193 | 0.174292 | 918 | 18 | 117 | 51 | 0.868074 | 0 | 0 | 0.375 | 0 | 0 | 0.227421 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.1875 | 0 | 0.375 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2c768671b3b2bf71743a4141d19f858f320f7c89 | 100 | py | Python | grad_tn/tensornetworks/peps/ctmrg/__init__.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | 1 | 2021-03-22T14:16:43.000Z | 2021-03-22T14:16:43.000Z | grad_tn/tensornetworks/peps/ctmrg/__init__.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | null | null | null | grad_tn/tensornetworks/peps/ctmrg/__init__.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | null | null | null | from . import main, ti, ti_c4v
from .main import default_chi_ctm, get_environment, CtmrgEnvironment
| 33.333333 | 68 | 0.82 | 15 | 100 | 5.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.12 | 100 | 2 | 69 | 50 | 0.875 | 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 | 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 | 5 |
2c7b8574a0e77bbd0fb249675f95134be3f32653 | 50,230 | py | Python | Chess.py | michael-cowan/Simple-Games | 0f4c38afed1e6882339d9f60d0adc180ff42cb9a | [
"MIT"
] | null | null | null | Chess.py | michael-cowan/Simple-Games | 0f4c38afed1e6882339d9f60d0adc180ff42cb9a | [
"MIT"
] | null | null | null | Chess.py | michael-cowan/Simple-Games | 0f4c38afed1e6882339d9f60d0adc180ff42cb9a | [
"MIT"
] | null | null | null | ### FULLY FUNCTIONAL COMMAND-BASED CHESS GAME THAT PRINTS INTO PYTHON SHELL
whitepieces = {
'pawn1' : [' ',' O ',' OOO ',' 1 '],
'pawn2' : [' ',' O ',' OOO ',' 2 '],
'pawn3' : [' ',' O ',' OOO ',' 3 '],
'pawn4' : [' ',' O ',' OOO ',' 4 '],
'pawn5' : [' ',' O ',' OOO ',' 5 '],
'p... | 38.998447 | 170 | 0.358909 | 4,160 | 50,230 | 4.288221 | 0.068029 | 0.017041 | 0.014295 | 0.025226 | 0.730422 | 0.700992 | 0.685857 | 0.663995 | 0.638993 | 0.616122 | 0 | 0.045936 | 0.543201 | 50,230 | 1,287 | 171 | 39.028749 | 0.731532 | 0.008959 | 0 | 0.71977 | 0 | 0 | 0.10343 | 0.003925 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.02975 | 0 | null | null | 0.110365 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e2cc3843fc139064c4813e1e277bca58941b631c | 47 | py | Python | gostcryptogui/__init__.py | bmakarenko/gost-crypto-gui | 085c838444012d3698614d33810bcf5460b9bbd0 | [
"MIT"
] | 5 | 2017-09-24T10:38:18.000Z | 2020-10-07T12:16:02.000Z | gostcryptogui/__init__.py | bmakarenko/gost-crypto-gui | 085c838444012d3698614d33810bcf5460b9bbd0 | [
"MIT"
] | 7 | 2017-04-18T11:51:50.000Z | 2019-11-19T10:23:15.000Z | gostcryptogui/__init__.py | bmakarenko/gost-crypto-gui | 085c838444012d3698614d33810bcf5460b9bbd0 | [
"MIT"
] | 4 | 2016-11-05T03:47:57.000Z | 2020-10-03T19:49:34.000Z | import gui
import cprocsp
__version__ = '0.3'
| 9.4 | 19 | 0.744681 | 7 | 47 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.170213 | 47 | 4 | 20 | 11.75 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e2da07e75f50c0232db1758ba56c0d9db9b0ca3f | 149 | py | Python | kornia/augmentation/container/__init__.py | EStorm21/kornia | b2bba7950d748ba0b8ce0cc68035a248799a1044 | [
"ECL-2.0",
"Apache-2.0"
] | 4,894 | 2019-10-24T15:51:39.000Z | 2022-03-30T22:58:33.000Z | kornia/augmentation/container/__init__.py | EStorm21/kornia | b2bba7950d748ba0b8ce0cc68035a248799a1044 | [
"ECL-2.0",
"Apache-2.0"
] | 912 | 2019-10-24T16:08:42.000Z | 2022-03-31T19:07:09.000Z | kornia/augmentation/container/__init__.py | EStorm21/kornia | b2bba7950d748ba0b8ce0cc68035a248799a1044 | [
"ECL-2.0",
"Apache-2.0"
] | 557 | 2019-10-24T16:02:43.000Z | 2022-03-28T07:33:33.000Z | from .augment import AugmentationSequential
from .image import ImageSequential
from .patch import PatchSequential
from .video import VideoSequential
| 29.8 | 43 | 0.865772 | 16 | 149 | 8.0625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107383 | 149 | 4 | 44 | 37.25 | 0.969925 | 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 | 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 | 5 |
e2efcf8db3203b58d424012afd680a8d1e32fa66 | 106 | py | Python | regular_expression/04/04-02.py | fumiyanll23/algo-method | d86ea1d399cbc5a1db0ae49d0c82e41042f661ab | [
"MIT"
] | null | null | null | regular_expression/04/04-02.py | fumiyanll23/algo-method | d86ea1d399cbc5a1db0ae49d0c82e41042f661ab | [
"MIT"
] | null | null | null | regular_expression/04/04-02.py | fumiyanll23/algo-method | d86ea1d399cbc5a1db0ae49d0c82e41042f661ab | [
"MIT"
] | null | null | null | import re
# input
# compute
# output
print(re.sub(r'(?=asian(\s[a-z]+){5,})asian', 'global', input()))
| 11.777778 | 65 | 0.584906 | 17 | 106 | 3.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.132075 | 106 | 8 | 66 | 13.25 | 0.663043 | 0.188679 | 0 | 0 | 0 | 0 | 0.414634 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
391a86d75c7bd9c28e7ddf5f19ae401b47b90ede | 225 | py | Python | tfgain/__init__.py | tnakae/tf-gain | a480a4bac01699f5f169c01eb863bdbaa4cffd63 | [
"MIT"
] | 1 | 2018-11-27T11:45:56.000Z | 2018-11-27T11:45:56.000Z | tfgain/__init__.py | tnakae/tfgain | a480a4bac01699f5f169c01eb863bdbaa4cffd63 | [
"MIT"
] | null | null | null | tfgain/__init__.py | tnakae/tfgain | a480a4bac01699f5f169c01eb863bdbaa4cffd63 | [
"MIT"
] | null | null | null | from .gain import GAIN
from .mask import MissingMask
from .evaluator import ImputeEvaluator
from .data import load_breast, load_spam
from .gain_discriminator import GAINDiscriminator
from .gain_generator import GAINGenerator
| 32.142857 | 49 | 0.857778 | 29 | 225 | 6.517241 | 0.517241 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 225 | 6 | 50 | 37.5 | 0.945 | 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 | 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 | 5 |
392139d8a496cc570bdbc008c38f78f4816685c1 | 4,916 | py | Python | salt/states/win_certutil.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 1 | 2022-03-12T00:03:19.000Z | 2022-03-12T00:03:19.000Z | salt/states/win_certutil.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 2 | 2022-03-02T16:11:35.000Z | 2022-03-03T08:04:30.000Z | salt/states/win_certutil.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | null | null | null | """
Installing of certificates to the Windows Certificate Manager
=============================================================
Install certificates to the Windows Certificate Manager
.. code-block:: yaml
salt://certs/cert.cer:
certutil.add_store:
- store: TrustedPublisher
"""
import logging
impo... | 29.088757 | 80 | 0.608218 | 588 | 4,916 | 4.891156 | 0.171769 | 0.048679 | 0.045202 | 0.066064 | 0.81363 | 0.782337 | 0.753129 | 0.726704 | 0.666203 | 0.666203 | 0 | 0.000553 | 0.264239 | 4,916 | 168 | 81 | 29.261905 | 0.794581 | 0.323637 | 0 | 0.621622 | 0 | 0 | 0.292092 | 0.056122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0 | 0.027027 | 0 | 0.256757 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3930c4ea6a729113ba479debaa3c59597b3ece88 | 179 | py | Python | hello.py | zaimusyoutarou/zaimusyou | a1ff32822a1ea278bc40b775eca3a85fffb92db6 | [
"Unlicense"
] | null | null | null | hello.py | zaimusyoutarou/zaimusyou | a1ff32822a1ea278bc40b775eca3a85fffb92db6 | [
"Unlicense"
] | 21 | 2020-01-28T22:03:08.000Z | 2022-03-11T23:34:03.000Z | hello.py | zaimusyoutarou/zaimusyou | a1ff32822a1ea278bc40b775eca3a85fffb92db6 | [
"Unlicense"
] | null | null | null | import os
from bottle import route, run
@route("/")
def hello_world():
return "Hello World!"
run(host="0.0.0.0", port=int(os.environ.get("PORT", 5000)))
| 16.272727 | 60 | 0.586592 | 27 | 179 | 3.851852 | 0.62963 | 0.057692 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058394 | 0.234637 | 179 | 11 | 61 | 16.272727 | 0.70073 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
394000488c37c1b8d1df09ecc171c270f862a689 | 131 | py | Python | tests/test_config.py | jackstanek/BotBot | d5122493edad83d7c39d35482be3781593f5acfc | [
"MIT"
] | 2 | 2016-04-08T02:06:52.000Z | 2016-04-12T18:39:23.000Z | tests/test_config.py | jackstanek/BotBot | d5122493edad83d7c39d35482be3781593f5acfc | [
"MIT"
] | 28 | 2016-04-08T14:13:19.000Z | 2016-10-24T15:21:34.000Z | tests/test_config.py | jackstanek/BotBot | d5122493edad83d7c39d35482be3781593f5acfc | [
"MIT"
] | 2 | 2016-04-08T14:14:57.000Z | 2016-04-21T16:39:04.000Z | import os
import pytest
from botbot import config
def test_config_is_read_automatically():
assert config.CONFIG is not None
| 14.555556 | 40 | 0.801527 | 20 | 131 | 5.05 | 0.7 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 131 | 8 | 41 | 16.375 | 0.926606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
39508c78818689a46533b396ec6c3d1e90591db4 | 35 | py | Python | pylanelet2/lanelet2/io.py | yuzhangbit/Lanelet2 | 62b8de59882b80efb94b419f7277c64a00fec9b4 | [
"BSD-3-Clause"
] | 3 | 2019-01-14T07:05:36.000Z | 2020-02-26T16:20:21.000Z | pylanelet2/lanelet2/io.py | stefanosecondo-tomtom/Lanelet2 | 88fc2d1b9292c40f64e6d47ca4c7b23da52bda7b | [
"BSD-3-Clause"
] | null | null | null | pylanelet2/lanelet2/io.py | stefanosecondo-tomtom/Lanelet2 | 88fc2d1b9292c40f64e6d47ca4c7b23da52bda7b | [
"BSD-3-Clause"
] | 1 | 2022-03-28T21:38:14.000Z | 2022-03-28T21:38:14.000Z | from liblanelet2_io_pyapi import *
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 35 | 1 | 35 | 35 | 0.870968 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1a31f1302aa154ee3eaa33c99e9f3024c88c1add | 194 | py | Python | src/problems/forms.py | basimr/lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 28 | 2019-01-06T11:39:13.000Z | 2022-02-28T03:35:55.000Z | src/problems/forms.py | basimr/project-lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 88 | 2017-04-01T15:18:36.000Z | 2021-09-22T19:41:11.000Z | src/problems/forms.py | basimr/project-lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 4 | 2019-08-11T14:51:16.000Z | 2021-04-30T16:37:52.000Z | from django import forms
class CodeSubmissionForm(forms.Form):
code = forms.CharField(required=False, label="Submit code")
file = forms.FileField(required=False, label="Submit file")
| 24.25 | 63 | 0.747423 | 24 | 194 | 6.041667 | 0.625 | 0.17931 | 0.248276 | 0.331034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139175 | 194 | 7 | 64 | 27.714286 | 0.868263 | 0 | 0 | 0 | 0 | 0 | 0.11399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1a3fbdca3f3af15bd222916720ab02cb4f1e414a | 185 | py | Python | lizard/__init__.py | pec27/lizard | 5bfd0dae3b02c0c12eb72b71b6ef2b47ae0c83dd | [
"MIT"
] | 1 | 2019-07-09T13:21:47.000Z | 2019-07-09T13:21:47.000Z | lizard/__init__.py | pec27/lizard | 5bfd0dae3b02c0c12eb72b71b6ef2b47ae0c83dd | [
"MIT"
] | null | null | null | lizard/__init__.py | pec27/lizard | 5bfd0dae3b02c0c12eb72b71b6ef2b47ae0c83dd | [
"MIT"
] | 2 | 2018-11-06T12:52:45.000Z | 2021-02-04T16:10:11.000Z | from .lizard import displace, pspec_to_displacements, pspec_to_displacement_boost
from .gadget import gadget
from .uniform import read_uniform_distrib
from .log import VerboseTimingLog
| 37 | 81 | 0.87027 | 25 | 185 | 6.16 | 0.6 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097297 | 185 | 4 | 82 | 46.25 | 0.922156 | 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 | 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 | 5 |
1a4a75ffb0e305aec3b048fbea411d7419b1328f | 191 | py | Python | bin/hexes/polyhexes-1234-irregular-hexagon-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/hexes/polyhexes-1234-irregular-hexagon-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/hexes/polyhexes-1234-irregular-hexagon-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""14,211,672 solutions"""
import puzzler
from puzzler.puzzles.polyhexes1234 import Polyhexes1234IrregularHexagon2
puzzler.run(Polyhexes1234IrregularHexagon2)
| 19.1 | 72 | 0.806283 | 20 | 191 | 7.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125714 | 0.08377 | 191 | 9 | 73 | 21.222222 | 0.754286 | 0.240838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a862e31b8d1f49dca47b9bca3df9882ac2c582c | 84 | py | Python | enthought/mayavi/core/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/mayavi/core/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/mayavi/core/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from mayavi.core.api import *
| 21 | 38 | 0.821429 | 12 | 84 | 5.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 3 | 39 | 28 | 0.876712 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1acc80ac3ad57c3a754283e836e5e060bb53f36d | 431 | py | Python | everest/wordhash/__init__.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 2 | 2020-12-17T02:27:28.000Z | 2020-12-17T23:50:13.000Z | everest/wordhash/__init__.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 1 | 2020-12-07T10:14:45.000Z | 2020-12-07T10:14:45.000Z | everest/wordhash/__init__.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 1 | 2020-10-22T11:16:50.000Z | 2020-10-22T11:16:50.000Z | ###############################################################################
''''''
###############################################################################
# Requires:
# reseed
from everest.reseed import *
from .makehash import *
from .word import *
########################################################... | 28.733333 | 79 | 0.160093 | 12 | 431 | 5.75 | 0.583333 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058005 | 431 | 14 | 80 | 30.785714 | 0.169951 | 0.037123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
46cc5d473f646828b072b063fcd7faea8702f507 | 85 | py | Python | users/permissions.py | nikolamatijas/DjangoAndReact | a14673ff261eb578f4ac0358c2ff4d1ab0c6101e | [
"MIT"
] | null | null | null | users/permissions.py | nikolamatijas/DjangoAndReact | a14673ff261eb578f4ac0358c2ff4d1ab0c6101e | [
"MIT"
] | null | null | null | users/permissions.py | nikolamatijas/DjangoAndReact | a14673ff261eb578f4ac0358c2ff4d1ab0c6101e | [
"MIT"
] | null | null | null | from rest_framework import permissions
from users.serializers import UserSerializer
| 21.25 | 44 | 0.882353 | 10 | 85 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 3 | 45 | 28.333333 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
46e52efa29970f0a67d345c0a741368a4ca5bb37 | 2,943 | py | Python | app/users/forms.py | HatchHackerspace/Intranet | f1d851e6e637c9afe9943ce051150ca59d85e4c6 | [
"Apache-2.0"
] | null | null | null | app/users/forms.py | HatchHackerspace/Intranet | f1d851e6e637c9afe9943ce051150ca59d85e4c6 | [
"Apache-2.0"
] | 7 | 2015-03-13T14:40:55.000Z | 2022-03-11T23:18:29.000Z | app/users/forms.py | HatchHackerspace/Intranet | f1d851e6e637c9afe9943ce051150ca59d85e4c6 | [
"Apache-2.0"
] | 1 | 2017-03-05T15:14:25.000Z | 2017-03-05T15:14:25.000Z | from flask.ext.wtf import Form
from wtforms import StringField, PasswordField, BooleanField, SubmitField, FileField, SelectField, ValidationError
from wtforms.validators import Required, EqualTo
from app.users.models import Users
class UserForm(Form):
username = StringField(label='Nume utilizator', validators=[R... | 34.22093 | 114 | 0.662589 | 283 | 2,943 | 6.872792 | 0.261484 | 0.129563 | 0.071979 | 0.032905 | 0.750643 | 0.750643 | 0.741388 | 0.667352 | 0.544987 | 0.544987 | 0 | 0.001296 | 0.213727 | 2,943 | 85 | 115 | 34.623529 | 0.839239 | 0 | 0 | 0.75 | 0 | 0 | 0.136256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.25 | 0.0625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
46fa781f701ad9b228317ffe69a741fc37799e53 | 165 | py | Python | dassl/engine/ssl/__init__.py | weiliuxm/Dassl.pytorch | 8084b66332623c7a2394ea1404f2d043ef415ebb | [
"MIT"
] | 563 | 2020-03-17T13:57:40.000Z | 2022-03-31T02:38:47.000Z | dassl/engine/ssl/__init__.py | weiliuxm/Dassl.pytorch | 8084b66332623c7a2394ea1404f2d043ef415ebb | [
"MIT"
] | 37 | 2020-05-21T02:12:47.000Z | 2022-03-30T06:10:47.000Z | dassl/engine/ssl/__init__.py | weiliuxm/Dassl.pytorch | 8084b66332623c7a2394ea1404f2d043ef415ebb | [
"MIT"
] | 99 | 2020-03-17T15:23:15.000Z | 2022-03-27T14:52:30.000Z | from .entmin import EntMin
from .fixmatch import FixMatch
from .mixmatch import MixMatch
from .mean_teacher import MeanTeacher
from .sup_baseline import SupBaseline
| 27.5 | 37 | 0.848485 | 22 | 165 | 6.272727 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 165 | 5 | 38 | 33 | 0.951724 | 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 | 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 | 5 |
20276624d8f30bb4bfa7bd1dc1a13ab4a7633713 | 362 | py | Python | py4mc/exceptions.py | capslock321/py4mc | aad43d33f2ab1d264f0b86a84c80823309677994 | [
"MIT"
] | null | null | null | py4mc/exceptions.py | capslock321/py4mc | aad43d33f2ab1d264f0b86a84c80823309677994 | [
"MIT"
] | null | null | null | py4mc/exceptions.py | capslock321/py4mc | aad43d33f2ab1d264f0b86a84c80823309677994 | [
"MIT"
] | null | null | null | class ApiException(Exception):
pass
class ResourceNotFound(ApiException):
pass
class InternalServerException(ApiException):
pass
class UserNotFound(ApiException):
pass
class Ratelimited(ApiException):
pass
class InvalidMetric(ApiException):
pass
class Authenti... | 13.407407 | 45 | 0.701657 | 28 | 362 | 9.071429 | 0.357143 | 0.212598 | 0.413386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240331 | 362 | 26 | 46 | 13.923077 | 0.923636 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
202830ba0a889134049309242d52f6dc987058ba | 68 | py | Python | spectacle/modeling/__init__.py | nmearl/spectacle | ae2d11a41dfae5430de392d54b06bf991003fd69 | [
"BSD-3-Clause"
] | null | null | null | spectacle/modeling/__init__.py | nmearl/spectacle | ae2d11a41dfae5430de392d54b06bf991003fd69 | [
"BSD-3-Clause"
] | 1 | 2021-05-13T20:51:13.000Z | 2021-05-13T20:51:13.000Z | spectacle/modeling/__init__.py | nmearl/spectacle | ae2d11a41dfae5430de392d54b06bf991003fd69 | [
"BSD-3-Clause"
] | null | null | null | from .models import Spectral1D
from .profiles import OpticalDepth1D
| 22.666667 | 36 | 0.852941 | 8 | 68 | 7.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 68 | 2 | 37 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
2032b2ab18fa3c43786e3d1e3af8f70c326b1c20 | 62 | py | Python | united/__init__.py | emtpb/united | 6aef076eb774dae249f1dd737f395228ae5358d4 | [
"BSD-3-Clause"
] | 1 | 2021-12-09T20:33:33.000Z | 2021-12-09T20:33:33.000Z | united/__init__.py | kevink17/united | 0258c09917656fa04e08bb3438426ad2623e2301 | [
"BSD-3-Clause"
] | null | null | null | united/__init__.py | kevink17/united | 0258c09917656fa04e08bb3438426ad2623e2301 | [
"BSD-3-Clause"
] | 3 | 2020-10-10T22:10:29.000Z | 2021-07-22T13:24:15.000Z | """Top-level package for United."""
from .united import Unit
| 15.5 | 35 | 0.709677 | 9 | 62 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 3 | 36 | 20.666667 | 0.830189 | 0.467742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
203382630c10370c7b76dc1f894fc0bb87ca66a2 | 143 | py | Python | rca/__init__.py | rylan-justice/rca | 936990dd2d6f1919f7d498f11f35271095a320a6 | [
"MIT"
] | 20 | 2022-01-26T16:20:04.000Z | 2022-02-18T13:56:37.000Z | rca/__init__.py | rylan-justice/rca | 936990dd2d6f1919f7d498f11f35271095a320a6 | [
"MIT"
] | 2 | 2022-03-07T01:02:43.000Z | 2022-03-07T13:56:07.000Z | rca/__init__.py | rylan-justice/rca | 936990dd2d6f1919f7d498f11f35271095a320a6 | [
"MIT"
] | 10 | 2022-01-26T20:49:43.000Z | 2022-02-16T03:30:57.000Z | from rca.key import key_file
from rca.symmetric import (encrypt_string, decrypt_string,
encrypt_file, decrypt_file)
| 35.75 | 58 | 0.685315 | 18 | 143 | 5.166667 | 0.5 | 0.150538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265734 | 143 | 3 | 59 | 47.666667 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2053081705af68a825b0194650b3efaf492da6bc | 26 | py | Python | fst_lookup/__version__.py | Madoshakalaka/fst-lookup | 3b1334f2964881b66b2cb77d4dba77b99880bbb1 | [
"Apache-2.0"
] | null | null | null | fst_lookup/__version__.py | Madoshakalaka/fst-lookup | 3b1334f2964881b66b2cb77d4dba77b99880bbb1 | [
"Apache-2.0"
] | null | null | null | fst_lookup/__version__.py | Madoshakalaka/fst-lookup | 3b1334f2964881b66b2cb77d4dba77b99880bbb1 | [
"Apache-2.0"
] | null | null | null | __version__ = '2019.7.17'
| 13 | 25 | 0.692308 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0.115385 | 26 | 1 | 26 | 26 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
64d4d36e91b5632f120923a2dc0b63e1da295219 | 116 | py | Python | fpn/0000000.py | TangDL/DCN | c70a907cbb235a483107575bd7bb40d47ef702cc | [
"MIT"
] | null | null | null | fpn/0000000.py | TangDL/DCN | c70a907cbb235a483107575bd7bb40d47ef702cc | [
"MIT"
] | null | null | null | fpn/0000000.py | TangDL/DCN | c70a907cbb235a483107575bd7bb40d47ef702cc | [
"MIT"
] | null | null | null | # encoding=utf-8
import _init_paths
from config.config import config, update_config
print(config.TEST.test_epoch) | 16.571429 | 47 | 0.818966 | 18 | 116 | 5.055556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.103448 | 116 | 7 | 48 | 16.571429 | 0.865385 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b3804f3b82a2dcf098cda2339df3995f081eef26 | 231 | py | Python | 1-DiveIntoPython/week4/assignment2/solution.py | mamoudmatook/PythonSpecializaionInRussian | 3340780b2f8a876a0f59e22036147fd98909d545 | [
"MIT"
] | null | null | null | 1-DiveIntoPython/week4/assignment2/solution.py | mamoudmatook/PythonSpecializaionInRussian | 3340780b2f8a876a0f59e22036147fd98909d545 | [
"MIT"
] | null | null | null | 1-DiveIntoPython/week4/assignment2/solution.py | mamoudmatook/PythonSpecializaionInRussian | 3340780b2f8a876a0f59e22036147fd98909d545 | [
"MIT"
] | null | null | null | class Value():
def __init__(self):
self._value = None
def __set__(self, obj, value):
self._value = value
def __get__(self, obj, obj_type):
return self._value - obj.commission * self._value | 25.666667 | 58 | 0.606061 | 29 | 231 | 4.241379 | 0.413793 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 231 | 9 | 58 | 25.666667 | 0.745455 | 0 | 0 | 0 | 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 | 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 | 0 | 1 | 0 | 0 | 0 | 5 |
b38ff72786a50c4b333f23bc18d38761f80b475f | 90 | py | Python | __init__.py | parkus/deepcat | fd17898ab812cbf8ce2a2683eb64203ef55490f8 | [
"MIT"
] | null | null | null | __init__.py | parkus/deepcat | fd17898ab812cbf8ce2a2683eb64203ef55490f8 | [
"MIT"
] | null | null | null | __init__.py | parkus/deepcat | fd17898ab812cbf8ce2a2683eb64203ef55490f8 | [
"MIT"
] | null | null | null | from .data_structures import Measurement, Object, Property, Catalog
from . import choosers | 45 | 67 | 0.833333 | 11 | 90 | 6.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 2 | 68 | 45 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
b3b2a74aeed656de4a197427c1023c0a1cf3c0a8 | 288 | py | Python | generated-libraries/python/netapp/sis/sis_checkpoint_substage.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/sis/sis_checkpoint_substage.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/sis/sis_checkpoint_substage.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class SisCheckpointSubstage(basestring):
"""
sis checkpoint sub-stage
Possible values:
<ul>
<li> "Sort_pass2" - Sorting the fingerprints for deduplication
</ul>
"""
@staticmethod
def get_api_name():
return "sis-checkpoint-substage"
| 20.571429 | 66 | 0.621528 | 28 | 288 | 6.285714 | 0.892857 | 0.147727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.277778 | 288 | 13 | 67 | 22.153846 | 0.841346 | 0.399306 | 0 | 0 | 0 | 0 | 0.163121 | 0.163121 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b3bb197e94672876eb75059eeb871a83a9097e8a | 108 | py | Python | Basics II/xx-args.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | Basics II/xx-args.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | Basics II/xx-args.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | # **args
def save_user(**user):
print(user['name'])
#**user retorna um dict
save_user(id=1, name='admin') | 18 | 29 | 0.657407 | 18 | 108 | 3.833333 | 0.666667 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.12037 | 108 | 6 | 29 | 18 | 0.715789 | 0.259259 | 0 | 0 | 0 | 0 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
b3ead7c851ddf90e965c5f49237c04d137114943 | 164 | py | Python | hackerrank/contests/30_days_of_code/binary.py | spradeepv/dive-into-python | ec27d4686b7b007d21f9ba4f85d042be31ee2639 | [
"MIT"
] | null | null | null | hackerrank/contests/30_days_of_code/binary.py | spradeepv/dive-into-python | ec27d4686b7b007d21f9ba4f85d042be31ee2639 | [
"MIT"
] | null | null | null | hackerrank/contests/30_days_of_code/binary.py | spradeepv/dive-into-python | ec27d4686b7b007d21f9ba4f85d042be31ee2639 | [
"MIT"
] | null | null | null | """
"""
# Enter your code here. Read input from STDIN. Print output to STDOUT
for _ in range(int(raw_input())):
n = int(raw_input())
print str(bin(n))[2:]
| 20.5 | 69 | 0.628049 | 27 | 164 | 3.703704 | 0.777778 | 0.12 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.20122 | 164 | 7 | 70 | 23.428571 | 0.755725 | 0.408537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b3eadf7f30b64f7ebbff3b3e2f879cb2c0891198 | 154 | py | Python | dataset/codexglue/__init__.py | iwangyuezhang/naturalcc | e9d9b4a296b61199fc35779b062db2205935a608 | [
"MIT"
] | 1 | 2022-03-30T14:45:42.000Z | 2022-03-30T14:45:42.000Z | dataset/codexglue/__init__.py | hrshy0629/naturalcc | 9c3329dd8387c8242deb52bf590ebe3ac795f8de | [
"MIT"
] | null | null | null | dataset/codexglue/__init__.py | hrshy0629/naturalcc | 9c3329dd8387c8242deb52bf590ebe3ac795f8de | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
from ncc import (
__NCC_DIR__,
)
DATASET_NAME = 'codexglue'
DATASET_DIR = os.path.join(__NCC_DIR__, DATASET_NAME)
| 15.4 | 53 | 0.694805 | 22 | 154 | 4.272727 | 0.590909 | 0.12766 | 0.276596 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.168831 | 154 | 9 | 54 | 17.111111 | 0.726563 | 0.136364 | 0 | 0 | 0 | 0 | 0.068702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b60fe787c75d1c56a00dc2891cf3de60e7c97ade | 93 | py | Python | enthought/chaco/tools/point_marker.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/chaco/tools/point_marker.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/chaco/tools/point_marker.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from chaco.tools.point_marker import *
| 23.25 | 38 | 0.83871 | 13 | 93 | 5.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 3 | 39 | 31 | 0.878049 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
37548a4aa94801297e2f9d68c764043bde12922b | 1,966 | py | Python | entropylab/dashboard/tests/test_dashboard.py | qguyk/entropy | e43077026c83fe84de022cf8636b2c9d42f1d330 | [
"BSD-3-Clause"
] | null | null | null | entropylab/dashboard/tests/test_dashboard.py | qguyk/entropy | e43077026c83fe84de022cf8636b2c9d42f1d330 | [
"BSD-3-Clause"
] | null | null | null | entropylab/dashboard/tests/test_dashboard.py | qguyk/entropy | e43077026c83fe84de022cf8636b2c9d42f1d330 | [
"BSD-3-Clause"
] | 1 | 2022-03-29T11:47:31.000Z | 2022-03-29T11:47:31.000Z | import numpy
import numpy as np
from plotly import graph_objects as go
from entropylab.dashboard.pages.results.callbacks import (
_copy_aggregate_data_to_clipboard_as_python_code,
)
def test_copy_aggregate_data_to_clipboard_as_python_code_empty_figure():
figure = go.Figure()
actual = _copy_aggregate_data... | 33.322034 | 88 | 0.612411 | 284 | 1,966 | 3.943662 | 0.200704 | 0.089286 | 0.136607 | 0.152679 | 0.784821 | 0.775893 | 0.766964 | 0.758036 | 0.707143 | 0.707143 | 0 | 0.032637 | 0.220753 | 1,966 | 58 | 89 | 33.896552 | 0.698433 | 0.041709 | 0 | 0.416667 | 0 | 0 | 0.037194 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
376478b3e39e606cf5d17b39c8c1e1e0816f2887 | 164 | py | Python | tests/test_expr.py | tanhongze/pyvmodule | b88cd35e57893024071306d238ce601341ce3bb4 | [
"MIT"
] | null | null | null | tests/test_expr.py | tanhongze/pyvmodule | b88cd35e57893024071306d238ce601341ce3bb4 | [
"MIT"
] | null | null | null | tests/test_expr.py | tanhongze/pyvmodule | b88cd35e57893024071306d238ce601341ce3bb4 | [
"MIT"
] | 1 | 2020-01-20T07:25:40.000Z | 2020-01-20T07:25:40.000Z | #coding: UTF-8
import pytest
from pyvmodule.develope import *
def test_expr1():
a = Wire(width=1,name='a')
assert str( a) == 'a'
assert str(~a) == '!a'
| 20.5 | 32 | 0.609756 | 26 | 164 | 3.807692 | 0.692308 | 0.141414 | 0.20202 | 0.222222 | 0.232323 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.207317 | 164 | 7 | 33 | 23.428571 | 0.738462 | 0.079268 | 0 | 0 | 0 | 0 | 0.026667 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
37b88af9f493f3c8521ea9f73505a018ca6c09f1 | 82 | py | Python | xastropy/PH136/exercises/__init__.py | bpholden/xastropy | 66aff0995a84c6829da65996d2379ba4c946dabe | [
"BSD-3-Clause"
] | 3 | 2015-08-23T00:32:58.000Z | 2020-12-31T02:37:52.000Z | xastropy/PH136/exercises/__init__.py | Kristall-WangShiwei/xastropy | 723fe56cb48d5a5c4cdded839082ee12ef8c6732 | [
"BSD-3-Clause"
] | 104 | 2015-07-17T18:31:54.000Z | 2018-06-29T17:04:09.000Z | xastropy/PH136/exercises/__init__.py | Kristall-WangShiwei/xastropy | 723fe56cb48d5a5c4cdded839082ee12ef8c6732 | [
"BSD-3-Clause"
] | 16 | 2015-07-17T15:50:37.000Z | 2019-04-21T03:42:47.000Z | #import code_exerc
#import ccd_exerc
#import arclin_exerc
#import solarspec_exerc
| 16.4 | 23 | 0.853659 | 12 | 82 | 5.5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 4 | 24 | 20.5 | 0.891892 | 0.902439 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
37c741a91fbd3566aaf3bde7b3cd7e343122a874 | 39 | py | Python | tests/__init__.py | kleekaai/mcprocess | 01bc112272f0a0fb8dae5037c27fd803c62f5a0b | [
"MIT"
] | null | null | null | tests/__init__.py | kleekaai/mcprocess | 01bc112272f0a0fb8dae5037c27fd803c62f5a0b | [
"MIT"
] | null | null | null | tests/__init__.py | kleekaai/mcprocess | 01bc112272f0a0fb8dae5037c27fd803c62f5a0b | [
"MIT"
] | null | null | null | """Unit test package for mcprocess."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.