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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60675869a6876176503f3d9d17a233e52a54596c | 61 | py | Python | _includes/src/sync_async_py38.py | andgineer/masterandrey.com | 8e47518acb9f230675db2b1a490074f89b253f48 | [
"MIT"
] | null | null | null | _includes/src/sync_async_py38.py | andgineer/masterandrey.com | 8e47518acb9f230675db2b1a490074f89b253f48 | [
"MIT"
] | 2 | 2017-06-10T02:44:55.000Z | 2018-06-15T13:55:54.000Z | _includes/src/sync_async_py38.py | masterandrey/masterandrey.com | 8e47518acb9f230675db2b1a490074f89b253f48 | [
"MIT"
] | 1 | 2019-07-16T20:41:36.000Z | 2019-07-16T20:41:36.000Z | import asyncio
async def main():
print('Hello World!')
| 10.166667 | 25 | 0.655738 | 8 | 61 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 61 | 5 | 26 | 12.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 4 |
606c3bb72fcb5dd0fe563f01c4dfeb2cfeb60404 | 1,724 | py | Python | examples/settings.py | fknight3/AndroidViewClient | 2bb7d970153ef5b3c97a11cd13695bce473b0053 | [
"Apache-2.0"
] | 3 | 2018-07-14T09:17:44.000Z | 2019-05-20T09:30:18.000Z | examples/settings.py | fknight3/AndroidViewClient | 2bb7d970153ef5b3c97a11cd13695bce473b0053 | [
"Apache-2.0"
] | 1 | 2018-10-18T12:05:13.000Z | 2019-12-28T23:09:25.000Z | examples/settings.py | fknight3/AndroidViewClient | 2bb7d970153ef5b3c97a11cd13695bce473b0053 | [
"Apache-2.0"
] | 1 | 2018-10-04T17:17:26.000Z | 2018-10-04T17:17:26.000Z | #! /usr/bin/env python
'''
Copyright (C) 2012 Diego Torres Milano
Created on Feb 1, 2012
@author: diego
'''
import re
import sys
import os
# This must be imported before MonkeyRunner and MonkeyDevice,
# otherwise the import fails.
# PyDev sets PYTHONPATH, use it
try:
for p in os.environ['PYTHONPATH'].split(':'... | 1,724 | 1,724 | 0.673434 | 227 | 1,724 | 4.986784 | 0.444934 | 0.068021 | 0.111307 | 0.136042 | 0.256184 | 0.208481 | 0.208481 | 0.208481 | 0.208481 | 0.208481 | 0 | 0.008652 | 0.195476 | 1,724 | 1 | 1,724 | 1,724 | 0.807498 | 1.039443 | 0 | 0.146341 | 0 | 0 | 0.167476 | 0.019417 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.04878 | 0.097561 | 0 | 0.097561 | 0.097561 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6083c9fbf0c3461078b1f6fa00ecbda517cac29e | 230 | py | Python | HTTPServer/Errors.py | automicus/OpenAlarm | 68bcc4aa75338e8d5a2ff423029f7c4064d2b9c8 | [
"Apache-2.0"
] | 1 | 2016-03-30T05:41:19.000Z | 2016-03-30T05:41:19.000Z | HTTPServer/Errors.py | automicus/OpenAlarm | 68bcc4aa75338e8d5a2ff423029f7c4064d2b9c8 | [
"Apache-2.0"
] | null | null | null | HTTPServer/Errors.py | automicus/OpenAlarm | 68bcc4aa75338e8d5a2ff423029f7c4064d2b9c8 | [
"Apache-2.0"
] | null | null | null | class HTTP404(Exception):
def __init__(self):
super(HTTP404, self).__init__()
self.code = 404
def __str__(self):
return "404: Page Not Found"
def __repr__(self):
return self.__str__()
| 20.909091 | 39 | 0.6 | 27 | 230 | 4.37037 | 0.555556 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.286957 | 230 | 10 | 40 | 23 | 0.646341 | 0 | 0 | 0 | 0 | 0 | 0.082609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
609c98f46853d62eb518a494eb9689b250f5ab17 | 169 | py | Python | apps/04_journal/you_try/MyJournalProgram2.py | Jarzan/KennedyJumpstart | 8174ecd30de034b7d242f364fd18f8d9ccc53ab2 | [
"MIT"
] | 1 | 2019-12-15T01:44:17.000Z | 2019-12-15T01:44:17.000Z | apps/04_journal/you_try/MyJournalProgram2.py | Jarzan/KennedyJumpstart | 8174ecd30de034b7d242f364fd18f8d9ccc53ab2 | [
"MIT"
] | null | null | null | apps/04_journal/you_try/MyJournalProgram2.py | Jarzan/KennedyJumpstart | 8174ecd30de034b7d242f364fd18f8d9ccc53ab2 | [
"MIT"
] | null | null | null | print('1. About to import MyProgram')
import MyJournalProgram
print('2. MyProgram imported')
print('3. Printing header!')
MyProgram.print_header()
print('4. Done!')
| 15.363636 | 37 | 0.733728 | 22 | 169 | 5.590909 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.118343 | 169 | 10 | 38 | 16.9 | 0.798658 | 0 | 0 | 0 | 0 | 0 | 0.449704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.833333 | 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 | 0 | 0 | 1 | 0 | 4 |
60a491325c6569ba82099949e37745abe43d2678 | 52 | py | Python | ABC046/B.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | ABC046/B.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | ABC046/B.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | n,k = map(int,input().split())
print(k*(k-1)**(n-1)) | 26 | 30 | 0.538462 | 12 | 52 | 2.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.057692 | 52 | 2 | 31 | 26 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
60f52b5cc326801b5c70c02bd7998d5a66308efe | 60 | py | Python | tests/__init__.py | dariko/etcd3-py | aceada8c03942d83104f4a8601683ab0abeb9d66 | [
"Apache-2.0"
] | 96 | 2018-03-20T03:42:25.000Z | 2022-03-20T13:29:14.000Z | tests/__init__.py | dariko/etcd3-py | aceada8c03942d83104f4a8601683ab0abeb9d66 | [
"Apache-2.0"
] | 148 | 2018-01-26T08:32:52.000Z | 2022-03-25T11:40:42.000Z | tests/__init__.py | dariko/etcd3-py | aceada8c03942d83104f4a8601683ab0abeb9d66 | [
"Apache-2.0"
] | 20 | 2018-03-30T04:40:25.000Z | 2022-03-18T16:10:20.000Z | # -*- coding: utf-8 -*-
"""Unit test package for etcd3."""
| 15 | 34 | 0.55 | 8 | 60 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.183333 | 60 | 3 | 35 | 20 | 0.632653 | 0.85 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
714b086dd5e52388b44ab6b8ee0ddffb8307fa47 | 149 | py | Python | applications/tensorflow/cnns/models/utils.py | Splendon/examples | ed4a8a01857b6ddca49559141acf5d0986eb01e1 | [
"MIT"
] | null | null | null | applications/tensorflow/cnns/models/utils.py | Splendon/examples | ed4a8a01857b6ddca49559141acf5d0986eb01e1 | [
"MIT"
] | null | null | null | applications/tensorflow/cnns/models/utils.py | Splendon/examples | ed4a8a01857b6ddca49559141acf5d0986eb01e1 | [
"MIT"
] | null | null | null | # Copyright 2019 Graphcore Ltd.
class NullContextManager(object):
def __enter__(self):
pass
def __exit__(self, *args):
pass
| 18.625 | 33 | 0.651007 | 16 | 149 | 5.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.261745 | 149 | 7 | 34 | 21.285714 | 0.772727 | 0.194631 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 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 | 0 | 0 | 0 | 4 |
719920ac917d859b2093d2525954f6b1037f85a6 | 58 | py | Python | dizoo/overcooked/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/overcooked/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/overcooked/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .overcooked_env import OvercookEnv, OvercookGameEnv
| 29 | 57 | 0.862069 | 6 | 58 | 8.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 58 | 1 | 58 | 58 | 0.942308 | 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 | 0 | 0 | 0 | 4 |
71a8d1fb6ec7649d4954f3981673a6d4583cc637 | 42 | py | Python | ivy/functional/frontends/torch/nn/sparse_functions.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | 1 | 2022-02-28T03:20:54.000Z | 2022-02-28T03:20:54.000Z | ivy/functional/frontends/torch/nn/sparse_functions.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | null | null | null | ivy/functional/frontends/torch/nn/sparse_functions.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | null | null | null | """
PyTorch Sparse Functions Frontend
"""
| 10.5 | 33 | 0.714286 | 4 | 42 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 34 | 14 | 0.833333 | 0.785714 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71cd1ea79cc478ef1dafe3bfbd3f46da27794bd9 | 16,101 | py | Python | MuseParse/tests/testHandlers/testHandleDirections.py | Godley/MusIc-Parser | 23cecafa1fdc0f2d6a87760553572b459f3c9904 | [
"MIT"
] | 5 | 2015-07-21T14:06:34.000Z | 2018-04-24T19:31:45.000Z | MuseParse/tests/testHandlers/testHandleDirections.py | Godley/MusIc-Parser | 23cecafa1fdc0f2d6a87760553572b459f3c9904 | [
"MIT"
] | 37 | 2015-07-20T17:03:19.000Z | 2016-08-08T09:21:40.000Z | MuseParse/tests/testHandlers/testHandleDirections.py | Godley/MusIc-Parser | 23cecafa1fdc0f2d6a87760553572b459f3c9904 | [
"MIT"
] | 5 | 2015-07-24T09:22:52.000Z | 2017-03-29T19:13:16.000Z | from MuseParse.classes.ObjectHierarchy.ItemClasses import Directions, Part
from MuseParse.classes.Input import MxmlParser
from MuseParse.tests.testHandlers import testclass
class testHandleDirections(testclass.TestClass):
def setUp(self):
testclass.TestClass.setUp(self)
self.tags.append("directio... | 40.556675 | 78 | 0.627228 | 1,838 | 16,101 | 5.494015 | 0.081066 | 0.096653 | 0.112795 | 0.08467 | 0.774906 | 0.764409 | 0.734898 | 0.720044 | 0.674886 | 0.657061 | 0 | 0.005723 | 0.207751 | 16,101 | 396 | 79 | 40.659091 | 0.785905 | 0 | 0 | 0.616613 | 0 | 0 | 0.144339 | 0 | 0 | 0 | 0 | 0 | 0.271566 | 1 | 0.14377 | false | 0 | 0.009585 | 0 | 0.162939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 4 |
71e01c7aba9fb3670ed457f213400b77d7c1c0c0 | 130 | py | Python | tests/fake_package/_private/__init__.py | josiah-wolf-oberholtzer/uqbar | 96f86eb6264b0677a9e2931a527769640e5658b6 | [
"MIT"
] | 7 | 2018-12-02T05:59:54.000Z | 2021-12-28T22:40:18.000Z | tests/fake_package/_private/__init__.py | josiah-wolf-oberholtzer/uqbar | 96f86eb6264b0677a9e2931a527769640e5658b6 | [
"MIT"
] | 16 | 2017-12-28T22:08:09.000Z | 2022-02-26T14:47:23.000Z | tests/fake_package/multi/__init__.py | josiah-wolf-oberholtzer/uqbar | 96f86eb6264b0677a9e2931a527769640e5658b6 | [
"MIT"
] | 5 | 2020-03-28T14:57:47.000Z | 2022-02-01T10:02:18.000Z | class PublicClass:
pass
class _PrivateClass:
pass
def public_function():
pass
def _private_function():
pass
| 8.666667 | 24 | 0.676923 | 14 | 130 | 6 | 0.571429 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261538 | 130 | 14 | 25 | 9.285714 | 0.875 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e0a2dd52cdf20c6ded8e05fd1adba9908b832228 | 222 | py | Python | backend/memes/serializers/MemesSerializer.py | bartoszborys/MemeShop | e5b6a71fbe74108b10aff3155e1c2b611fc26881 | [
"MIT"
] | null | null | null | backend/memes/serializers/MemesSerializer.py | bartoszborys/MemeShop | e5b6a71fbe74108b10aff3155e1c2b611fc26881 | [
"MIT"
] | 8 | 2021-03-09T22:34:11.000Z | 2022-03-02T06:15:20.000Z | backend/memes/serializers/MemesSerializer.py | bartoszborys/MemeShop | e5b6a71fbe74108b10aff3155e1c2b611fc26881 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from ..models.Meme import Meme
class MemesSerializer(serializers.ModelSerializer):
class Meta:
model = Meme
fields = ("url", "id", "author", "price", "quantity") | 27.75 | 61 | 0.689189 | 24 | 222 | 6.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193694 | 222 | 8 | 61 | 27.75 | 0.849162 | 0 | 0 | 0 | 0 | 0 | 0.107623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e0af5d14d2753a8b643941ddf4258153bfd6afbd | 1,405 | py | Python | src/Neighbor/tests/testNestedGridNeighbor.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 1 | 2020-10-21T01:56:55.000Z | 2020-10-21T01:56:55.000Z | src/Neighbor/tests/testNestedGridNeighbor.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | null | null | null | src/Neighbor/tests/testNestedGridNeighbor.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | null | null | null | #ATS:test(SELF, np=1, label="NestedGridNeighbor unit tests")
from math import *
import unittest
import random
from Spheral import *
from NeighborTestBase import *
#===============================================================================
# Radom node distribution -- 1-D.
#=======================================... | 41.323529 | 80 | 0.333808 | 62 | 1,405 | 7.370968 | 0.580645 | 0.140044 | 0.137856 | 0.078775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009856 | 0.06121 | 1,405 | 33 | 81 | 42.575758 | 0.336619 | 0.709609 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.454545 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0fb4c59800a012f856253dbd07d87ebf9ef883f | 23 | py | Python | lib/ansiblelint/version.py | j2sol/ansible-lint | e7385fb5d5bee7b5b111a6c045d580fdd610b2ac | [
"MIT"
] | null | null | null | lib/ansiblelint/version.py | j2sol/ansible-lint | e7385fb5d5bee7b5b111a6c045d580fdd610b2ac | [
"MIT"
] | null | null | null | lib/ansiblelint/version.py | j2sol/ansible-lint | e7385fb5d5bee7b5b111a6c045d580fdd610b2ac | [
"MIT"
] | 1 | 2021-08-14T16:43:06.000Z | 2021-08-14T16:43:06.000Z | __version__ = '3.4.15'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 | 0 | 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 | 4 |
460a6a230819f845385069a0bd6fda78691d840e | 924 | py | Python | python/quine.py | ashwinvis/code-golf | 365f5f4af790d9dd36fa289ab2619df783fbbacf | [
"Apache-2.0"
] | null | null | null | python/quine.py | ashwinvis/code-golf | 365f5f4af790d9dd36fa289ab2619df783fbbacf | [
"Apache-2.0"
] | null | null | null | python/quine.py | ashwinvis/code-golf | 365f5f4af790d9dd36fa289ab2619df783fbbacf | [
"Apache-2.0"
] | null | null | null | # NOTE: this does not work because the website executes it as:
# cat quine.py | python -
# Therefore __file__ = sys.stdin
# https://github.com/code-golf/code-golf/blob/5feb18bc741f6c3631bfe5748ebe4730fa6d69d8/hole/hole.go#L99
# print(open(__file__).read(), end="")
# FIXME: empty
# import sys
# print(sys.stdin.read(... | 25.666667 | 103 | 0.661255 | 130 | 924 | 4.623077 | 0.623077 | 0.023295 | 0.02995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057618 | 0.154762 | 924 | 35 | 104 | 26.4 | 0.711908 | 0.883117 | 0 | 0 | 0 | 0 | 0.394737 | 0.289474 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
460b16f0e97d5a0f326970c90ba5769afb48808f | 102 | py | Python | netbox_api/api/__init__.py | zinic/netbox_api | ace6cb2b60edd93f4a37f7a29e8d262a1c8e1fc4 | [
"MIT"
] | 2 | 2018-04-10T09:28:48.000Z | 2019-08-10T22:48:51.000Z | netbox_api/api/__init__.py | zinic/netbox_api | ace6cb2b60edd93f4a37f7a29e8d262a1c8e1fc4 | [
"MIT"
] | null | null | null | netbox_api/api/__init__.py | zinic/netbox_api | ace6cb2b60edd93f4a37f7a29e8d262a1c8e1fc4 | [
"MIT"
] | null | null | null | from .client import NetboxClient
from .protocol import HTTPException
from .util import new_api_client
| 25.5 | 35 | 0.852941 | 14 | 102 | 6.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 36 | 34 | 0.944444 | 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 | 0 | 0 | 0 | 4 |
1ca47dda9442ee2a46179d6b33ef3a9256d253f7 | 668 | py | Python | pysal/model/spreg/__init__.py | anujaagarwal/pysal | 8a6681744d73e3307f0b76013d906523f412a94e | [
"BSD-3-Clause"
] | null | null | null | pysal/model/spreg/__init__.py | anujaagarwal/pysal | 8a6681744d73e3307f0b76013d906523f412a94e | [
"BSD-3-Clause"
] | null | null | null | pysal/model/spreg/__init__.py | anujaagarwal/pysal | 8a6681744d73e3307f0b76013d906523f412a94e | [
"BSD-3-Clause"
] | 1 | 2016-11-11T19:20:51.000Z | 2016-11-11T19:20:51.000Z | __version__ = "1.0.4"
from .ols import *
from .diagnostics import *
from .diagnostics_sp import *
from .user_output import *
from .twosls import *
from .twosls_sp import *
from .error_sp import *
from .error_sp_het import *
from .error_sp_hom import *
from .ols_regimes import *
from .twosls_regimes import *
from .twosl... | 25.692308 | 35 | 0.772455 | 105 | 668 | 4.6 | 0.2 | 0.47619 | 0.281574 | 0.21118 | 0.287785 | 0.10352 | 0 | 0 | 0 | 0 | 0 | 0.005272 | 0.148204 | 668 | 25 | 36 | 26.72 | 0.843585 | 0 | 0 | 0 | 0 | 0 | 0.007485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.96 | 0 | 0.96 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1cb467c1b8fcb1372489b73b1d1e712ea0b7b837 | 755 | py | Python | programming/Mini_Project_Michaelmas/test_ray_mini.py | probablyacat/degree_level1 | c08262514032ed86eb68c680e369bd9095954745 | [
"MIT"
] | null | null | null | programming/Mini_Project_Michaelmas/test_ray_mini.py | probablyacat/degree_level1 | c08262514032ed86eb68c680e369bd9095954745 | [
"MIT"
] | null | null | null | programming/Mini_Project_Michaelmas/test_ray_mini.py | probablyacat/degree_level1 | c08262514032ed86eb68c680e369bd9095954745 | [
"MIT"
] | null | null | null | ''' simple test harness for ray_mini.py mini project 2015 - 2016. Simulates marker program importing and calling
submitted mini project. This DOES NOT test the correctness of the returned results. It just checks that the ray_mini module can be imported, that the refraction_2d function can be called with example argumen... | 75.5 | 272 | 0.740397 | 141 | 755 | 3.921986 | 0.453901 | 0.050633 | 0.047016 | 0.014467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06192 | 0.144371 | 755 | 9 | 273 | 83.888889 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
1ccbe1d9f6f49fb73bf824d1b59d3b1af17a389f | 7,369 | py | Python | scripts/control_strategies.py | jonathan-doenz/spanish_flu_on_airports | 7003534b8275142a3efc68b89aecf0d4697188a2 | [
"MIT"
] | 1 | 2020-01-15T20:39:02.000Z | 2020-01-15T20:39:02.000Z | scripts/control_strategies.py | jonathan-doenz/spanish_flu_on_airports | 7003534b8275142a3efc68b89aecf0d4697188a2 | [
"MIT"
] | null | null | null | scripts/control_strategies.py | jonathan-doenz/spanish_flu_on_airports | 7003534b8275142a3efc68b89aecf0d4697188a2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Description: Contains all the control strategies functions.
"""
import numpy as np
import networkx as nx
import collections
import random
########################################
######### Control strategies ###########
########################################
def ra... | 44.932927 | 120 | 0.699552 | 993 | 7,369 | 4.768379 | 0.114804 | 0.084477 | 0.101584 | 0.054065 | 0.770855 | 0.745512 | 0.723759 | 0.703907 | 0.692714 | 0.654065 | 0 | 0.003548 | 0.19677 | 7,369 | 163 | 121 | 45.208589 | 0.796418 | 0.14751 | 0 | 0.55 | 0 | 0 | 0.079434 | 0.03597 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07 | false | 0 | 0.04 | 0 | 0.18 | 0.05 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 4 |
1ccf21ed58852e61285eb909152926d73010907e | 107 | py | Python | speccer/helper.py | bensimner/speccer | 85cd4fa72e87b104b072663dfe373eeb47d44b61 | [
"MIT"
] | 1 | 2022-02-09T01:39:33.000Z | 2022-02-09T01:39:33.000Z | speccer/helper.py | bensimner/speccer | 85cd4fa72e87b104b072663dfe373eeb47d44b61 | [
"MIT"
] | null | null | null | speccer/helper.py | bensimner/speccer | 85cd4fa72e87b104b072663dfe373eeb47d44b61 | [
"MIT"
] | null | null | null | import sys
try:
import typing
HAS_TYPING = True
except ImportError:
HAS_TYPING = False
| 13.375 | 23 | 0.654206 | 13 | 107 | 5.230769 | 0.692308 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308411 | 107 | 7 | 24 | 15.285714 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 4 |
1cd13be4da4d821a21f1821948668e43b9072374 | 294 | py | Python | user_data_plugins/inoft_vocal_engine_structnosql_plugin/table_models.py | Robinson04/inoft_vocal_framework | 9659e0852604bc628b01e0440535add0ae5fc5d1 | [
"MIT"
] | 11 | 2020-04-15T07:47:34.000Z | 2022-03-30T21:47:36.000Z | user_data_plugins/inoft_vocal_engine_structnosql_plugin/table_models.py | Robinson04/inoft_vocal_framework | 9659e0852604bc628b01e0440535add0ae5fc5d1 | [
"MIT"
] | 20 | 2020-08-09T00:11:49.000Z | 2021-09-11T11:34:02.000Z | user_data_plugins/inoft_vocal_engine_structnosql_plugin/table_models.py | Robinson04/inoft_vocal_framework | 9659e0852604bc628b01e0440535add0ae5fc5d1 | [
"MIT"
] | 6 | 2020-02-21T04:45:19.000Z | 2021-07-18T22:13:55.000Z | from StructNoSQL import TableDataModel, BaseField
class BaseUserTableDataModel(TableDataModel):
accountProjectTableKeyId = BaseField(field_type=str, required=True)
thenState = BaseField(field_type=str, required=False)
lastIntentHandler = BaseField(field_type=str, required=False)
| 36.75 | 71 | 0.812925 | 29 | 294 | 8.137931 | 0.551724 | 0.177966 | 0.228814 | 0.266949 | 0.411017 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 294 | 7 | 72 | 42 | 0.904215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 0 | 4 |
1cd8c97ae5363ff27a0a048c17604daca7430f31 | 17 | py | Python | test/run/t486.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t486.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t486.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | filter(None, 8)
| 5.666667 | 15 | 0.647059 | 3 | 17 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.176471 | 17 | 2 | 16 | 8.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
1cdfb7d67b58488735095d5591e53a2efb918b74 | 15,757 | py | Python | downscale_/downscale/operators/micro_met.py | louisletoumelin/wind_downscaling_cnn | 9d08711620db1ee1f472847f0e822c5f4eb1d300 | [
"W3C"
] | null | null | null | downscale_/downscale/operators/micro_met.py | louisletoumelin/wind_downscaling_cnn | 9d08711620db1ee1f472847f0e822c5f4eb1d300 | [
"W3C"
] | 12 | 2021-11-30T16:56:05.000Z | 2021-12-13T16:26:31.000Z | downscale_/downscale/operators/micro_met.py | louisletoumelin/wind_downscaling_cnn | 9d08711620db1ee1f472847f0e822c5f4eb1d300 | [
"W3C"
] | null | null | null | """
Liston, G. E., & Elder, K. (2006). A meteorological distribution
system for high-resolution terrestrial modeling (MicroMet).
Journal of Hydrometeorology, 7(2), 217-234.
"""
import numpy as np
from downscale.operators.topo_utils import Topo_utils
from downscale.utils.utils_func import change_dtype_if_required, list... | 44.013966 | 137 | 0.588818 | 2,231 | 15,757 | 3.918422 | 0.086957 | 0.022878 | 0.025623 | 0.026539 | 0.814688 | 0.757149 | 0.731412 | 0.707161 | 0.628803 | 0.584992 | 0 | 0.026627 | 0.301644 | 15,757 | 357 | 138 | 44.137255 | 0.767812 | 0.198705 | 0 | 0.355191 | 0 | 0 | 0.061813 | 0 | 0 | 0 | 0 | 0 | 0.043716 | 1 | 0.103825 | false | 0 | 0.021858 | 0 | 0.262295 | 0.103825 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ce56e15bac70c96b1022d856eaf0cb74b5c29d1 | 873 | py | Python | test/units/table_sample_test.py | praktikos/praktikos-template-python | 324c7640ee05469fba87a7ec64d6ac61675b259e | [
"MIT"
] | null | null | null | test/units/table_sample_test.py | praktikos/praktikos-template-python | 324c7640ee05469fba87a7ec64d6ac61675b259e | [
"MIT"
] | null | null | null | test/units/table_sample_test.py | praktikos/praktikos-template-python | 324c7640ee05469fba87a7ec64d6ac61675b259e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from api.rdb import db_cursor
# noinspection PyUnusedLocal,PyUnusedLocal,PyUnusedLocal,PyUnusedLocal
def test(empty_database, create_and_delete_user):
with db_cursor() as cursor:
cursor.execute(
"SELECT column_name, data_type FROM INFORMATION_SCHEMA.COLUMNS WHERE table... | 33.576923 | 103 | 0.697595 | 110 | 873 | 5.254545 | 0.481818 | 0.209343 | 0.264706 | 0.262976 | 0.297578 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00299 | 0.233677 | 873 | 25 | 104 | 34.92 | 0.860987 | 0.103093 | 0 | 0 | 0 | 0 | 0.257692 | 0.033333 | 0 | 0 | 0 | 0 | 0.588235 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e81954ea2d5ef9929fedf88707101bc6fe7734b6 | 77 | py | Python | tests/data/multi_decorator.out.py | bmerry/trollius-fixers | 0ba4eba4ccc9795d0996ba8bd778e5651e0954ce | [
"MIT"
] | null | null | null | tests/data/multi_decorator.out.py | bmerry/trollius-fixers | 0ba4eba4ccc9795d0996ba8bd778e5651e0954ce | [
"MIT"
] | null | null | null | tests/data/multi_decorator.out.py | bmerry/trollius-fixers | 0ba4eba4ccc9795d0996ba8bd778e5651e0954ce | [
"MIT"
] | null | null | null | import asyncio
class A:
@classmethod
async def coro():
pass
| 11 | 21 | 0.597403 | 9 | 77 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.337662 | 77 | 6 | 22 | 12.833333 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.2 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
e83190ac8a0cc50311ae201fcbe21fa5e4dce08c | 278 | py | Python | odoo-13.0/addons/calendar/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/calendar/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/calendar/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import ir_attachment
from . import ir_http
from . import res_partner
from . import mail_message
from . import calendar
from . import mail_activity
from . import res_users
| 25.272727 | 74 | 0.76259 | 42 | 278 | 4.904762 | 0.642857 | 0.339806 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004329 | 0.169065 | 278 | 10 | 75 | 27.8 | 0.887446 | 0.33813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1c1c3f230e55807f811ae9eea82ca9ff51abae60 | 32,839 | py | Python | unit_tests/test_nova_cc_contexts.py | aieri/charm-nova-cloud-controller | dde75693c71fd23ae85b8d3f1ae2dfa685df3170 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | unit_tests/test_nova_cc_contexts.py | aieri/charm-nova-cloud-controller | dde75693c71fd23ae85b8d3f1ae2dfa685df3170 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | unit_tests/test_nova_cc_contexts.py | aieri/charm-nova-cloud-controller | dde75693c71fd23ae85b8d3f1ae2dfa685df3170 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright 2016 Canonical Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 47.318444 | 79 | 0.617954 | 3,582 | 32,839 | 5.399777 | 0.100782 | 0.040017 | 0.070572 | 0.082515 | 0.82339 | 0.773291 | 0.714559 | 0.670923 | 0.635612 | 0.611881 | 0 | 0.018803 | 0.261518 | 32,839 | 693 | 80 | 47.386724 | 0.778772 | 0.016657 | 0 | 0.585526 | 0 | 0.001645 | 0.283413 | 0.150071 | 0 | 0 | 0 | 0 | 0.159539 | 1 | 0.059211 | false | 0.013158 | 0.009868 | 0 | 0.085526 | 0.001645 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c2d6e28c1806da22d3fad7024f4b9259a7a8ef1 | 80 | py | Python | src/waldur_mastermind/notifications/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 26 | 2017-10-18T13:49:58.000Z | 2021-09-19T04:44:09.000Z | src/waldur_mastermind/notifications/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 14 | 2018-12-10T14:14:51.000Z | 2021-06-07T10:33:39.000Z | src/waldur_mastermind/notifications/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 32 | 2017-09-24T03:10:45.000Z | 2021-10-16T16:41:09.000Z | default_app_config = 'waldur_mastermind.notifications.apps.NotificationsConfig'
| 40 | 79 | 0.8875 | 8 | 80 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 80 | 1 | 80 | 80 | 0.883117 | 0 | 0 | 0 | 0 | 0 | 0.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c36bb41d46055f32820cc936accf16c9631b4b1 | 37 | py | Python | sserver/flask/lib/python2.7/sre_parse.py | ssf008/myechoprint-server | 9ca0acc4e050dea2c99f32ffcab1a7e89352c8a3 | [
"Apache-2.0"
] | 9 | 2017-05-09T14:22:57.000Z | 2018-04-25T11:48:54.000Z | Message_delivery_Kafka/query/virtualenv/lib/python2.7/sre_parse.py | RickeyBoy/HACKxSJTU_ChatAssistant | 12768c8b6710adb582aec6c3b40613eedc3dfeb2 | [
"Apache-2.0"
] | 1 | 2021-09-18T05:59:56.000Z | 2021-09-18T06:02:57.000Z | Message_delivery_Kafka/query/virtualenv/lib/python2.7/sre_parse.py | RickeyBoy/HACKxSJTU_ChatAssistant | 12768c8b6710adb582aec6c3b40613eedc3dfeb2 | [
"Apache-2.0"
] | null | null | null | /usr/local/lib/python2.7/sre_parse.py | 37 | 37 | 0.810811 | 8 | 37 | 3.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 37 | 1 | 37 | 37 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c4104b0907e043f5b8e0a19a12d85e1623a408c | 167 | py | Python | project_name/urls.py | dashgin/DjangoTemplate | 40d7f7789d378ee632e096a82a1ac96ebeb1a331 | [
"MIT"
] | null | null | null | project_name/urls.py | dashgin/DjangoTemplate | 40d7f7789d378ee632e096a82a1ac96ebeb1a331 | [
"MIT"
] | null | null | null | project_name/urls.py | dashgin/DjangoTemplate | 40d7f7789d378ee632e096a82a1ac96ebeb1a331 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.contrib import admin
from django.urls import path
urlpatterns = [
path(f'{settings.ADMIN_URL}/', admin.site.urls),
]
| 20.875 | 52 | 0.754491 | 24 | 167 | 5.208333 | 0.541667 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 7 | 53 | 23.857143 | 0.868056 | 0 | 0 | 0 | 0 | 0 | 0.125749 | 0.125749 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 4 |
1c58b9d02047855250052b0a77446d2d19b6fbec | 234 | py | Python | tally_ho/exceptions.py | talaniz/tally-ho | e2765b32e9ad2c74204965963d1ba89807965622 | [
"MIT"
] | null | null | null | tally_ho/exceptions.py | talaniz/tally-ho | e2765b32e9ad2c74204965963d1ba89807965622 | [
"MIT"
] | null | null | null | tally_ho/exceptions.py | talaniz/tally-ho | e2765b32e9ad2c74204965963d1ba89807965622 | [
"MIT"
] | null | null | null | class DuplicateCategoryException(Exception):
"""Exception indicating a Category of the same name exists."""
class DuplicateTallyException(Exception):
"""Exception for creating a tally that exists under the same category."""
| 33.428571 | 77 | 0.769231 | 26 | 234 | 6.923077 | 0.653846 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 234 | 6 | 78 | 39 | 0.9 | 0.529915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
1c5e67510613766396010f547e69882393a74794 | 1,970 | py | Python | openpnm/topotools/__init__.py | Eravalord/OpenPNM | 505bc37318a3ba40d8343f89cd347d0073dd9d14 | [
"MIT"
] | null | null | null | openpnm/topotools/__init__.py | Eravalord/OpenPNM | 505bc37318a3ba40d8343f89cd347d0073dd9d14 | [
"MIT"
] | null | null | null | openpnm/topotools/__init__.py | Eravalord/OpenPNM | 505bc37318a3ba40d8343f89cd347d0073dd9d14 | [
"MIT"
] | null | null | null | r"""
**openpnm.topotools**
----
This module contains a selection of functions that deal specifically with
network topology.
"""
from .topotools import add_boundary_pores
from .topotools import clone_pores
from .topotools import connect_pores
from .topotools import dimensionality
from .topotools import extend
from... | 30.78125 | 73 | 0.856853 | 264 | 1,970 | 6.174242 | 0.329545 | 0.183436 | 0.268098 | 0.07362 | 0.17546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11066 | 1,970 | 63 | 74 | 31.269841 | 0.930365 | 0.060914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.979592 | 0 | 0.979592 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
1c6c2e63498a92a7a16858e18ae8335ea0535924 | 1,898 | py | Python | Backend/user/models.py | 17320692835RGF/buptoj | 3d1e4719d757b4f0199e4451be7c0bee28e7c3ca | [
"MIT"
] | null | null | null | Backend/user/models.py | 17320692835RGF/buptoj | 3d1e4719d757b4f0199e4451be7c0bee28e7c3ca | [
"MIT"
] | null | null | null | Backend/user/models.py | 17320692835RGF/buptoj | 3d1e4719d757b4f0199e4451be7c0bee28e7c3ca | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models
class User(models.Model):
username = models.CharField(max_length=50, null=False, primary_key=True)
password = models.CharField(max_length=50, null=False)
name = models.CharField(max_length=50, null=False) # 名称
regtime = models.DateTimeField(aut... | 37.96 | 77 | 0.689673 | 241 | 1,898 | 5.302905 | 0.273859 | 0.164319 | 0.197183 | 0.262911 | 0.771518 | 0.72144 | 0.605634 | 0.49687 | 0.269171 | 0.231612 | 0 | 0.02584 | 0.184405 | 1,898 | 49 | 78 | 38.734694 | 0.799742 | 0.024236 | 0 | 0.351351 | 0 | 0 | 0.003341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0.027027 | 0.027027 | 0.081081 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1c7d1ee3ec47c77b70391dda7b6af41c07b50aa8 | 7,361 | py | Python | Python-Encrypt-master/sploit.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | Python-Encrypt-master/sploit.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | Python-Encrypt-master/sploit.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | import base64, zlib, marshal, sys
W = '\x1b[1;37m'
RR = '\x1b[1;37m\x1b[31m'
O = '\x1b[33m'
B = '\x1b[34m'
print ("{}{}\n______ _ \n| ___ \\ | | \n| |_/ / _ _ ___ _ __ _ _ _ __ | |_ ___ _ __ \n| __/ | |... | 44.884146 | 1,136 | 0.416248 | 790 | 7,361 | 3.746835 | 0.160759 | 0.029392 | 0.045946 | 0.016892 | 0.680068 | 0.661149 | 0.628716 | 0.626014 | 0.626014 | 0.626014 | 0 | 0.03449 | 0.385545 | 7,361 | 163 | 1,137 | 45.159509 | 0.619943 | 0 | 0 | 0.748344 | 0 | 0.033113 | 0.367046 | 0.091136 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.059603 | null | null | 0.125828 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98cb99421c6477d4ac8a9f5e324229e576dbe1f9 | 432 | py | Python | event/physics_event.py | EliasFarhan/GBJam | 156a003378b8db994d4bd1f9c3a12415ceac7c01 | [
"WTFPL"
] | 1 | 2017-01-19T16:25:17.000Z | 2017-01-19T16:25:17.000Z | event/physics_event.py | EliasFarhan/GBJam | 156a003378b8db994d4bd1f9c3a12415ceac7c01 | [
"WTFPL"
] | null | null | null | event/physics_event.py | EliasFarhan/GBJam | 156a003378b8db994d4bd1f9c3a12415ceac7c01 | [
"WTFPL"
] | null | null | null | '''
Created on Feb 26, 2014
@author: efarhan
'''
physics_events = []
def add_physics_event(event):
global physics_events
physics_events.append(event)
def get_physics_event():
global physics_events
return physics_events
def clear_physics_event():
global physics_events
del physics_events[:]
cl... | 17.28 | 33 | 0.69213 | 58 | 432 | 4.862069 | 0.431034 | 0.322695 | 0.191489 | 0.255319 | 0.219858 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.215278 | 432 | 24 | 34 | 18 | 0.814159 | 0.094907 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98d4cea46e03fb3c6f458f96049ca48135549fb2 | 87 | py | Python | CursiveRec Files/clearCustom.py | MaadhyamRana/CursiveRec | 343e1df8e9e4c5606895706e0afe475f04869bd0 | [
"MIT"
] | null | null | null | CursiveRec Files/clearCustom.py | MaadhyamRana/CursiveRec | 343e1df8e9e4c5606895706e0afe475f04869bd0 | [
"MIT"
] | null | null | null | CursiveRec Files/clearCustom.py | MaadhyamRana/CursiveRec | 343e1df8e9e4c5606895706e0afe475f04869bd0 | [
"MIT"
] | null | null | null | from pickle import dump
with open("customGestures.pkl", "wb") as f:
dump([], f)
| 21.75 | 44 | 0.632184 | 13 | 87 | 4.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 87 | 3 | 45 | 29 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 4 |
98dd5f2aa813a997d0962f6496b4ae59ebdf9d13 | 182 | py | Python | mmdet/models/necks/__init__.py | xinxin342/mmdetection-mini | 1fa54e8ce6961cfa301af3eb58483cfc1db83b64 | [
"MIT"
] | 2 | 2021-06-16T01:26:54.000Z | 2021-07-12T06:33:47.000Z | mmdet/models/necks/__init__.py | CV-IP/mmdetection-mini | dad8367880a4e321b8ac64ee95d712da44d232d9 | [
"MIT"
] | 1 | 2020-09-29T23:44:42.000Z | 2020-09-29T23:44:42.000Z | mmdet/models/necks/__init__.py | CV-IP/mmdetection-mini | dad8367880a4e321b8ac64ee95d712da44d232d9 | [
"MIT"
] | 4 | 2021-02-05T06:08:43.000Z | 2021-09-10T09:01:14.000Z | from .fpn import FPN
from .yolo_neck import YOLOV3Neck
from .rr_darkneck import RRDarkNeck, RRYoloV4DarkNeck
__all__ = [
'FPN', 'YOLOV3Neck', 'RRDarkNeck', 'RRYoloV4DarkNeck'
]
| 22.75 | 57 | 0.758242 | 20 | 182 | 6.6 | 0.55 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.142857 | 182 | 7 | 58 | 26 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 4 |
c72fdc0f9850fd90175682a82593dbd9c1b45b4a | 20 | py | Python | amqp_transport/__init__.py | christianfitzpatrick/amqp_client | 9d80f522d856f640ce58fd29791cef0aa47e4eac | [
"MIT"
] | null | null | null | amqp_transport/__init__.py | christianfitzpatrick/amqp_client | 9d80f522d856f640ce58fd29791cef0aa47e4eac | [
"MIT"
] | null | null | null | amqp_transport/__init__.py | christianfitzpatrick/amqp_client | 9d80f522d856f640ce58fd29791cef0aa47e4eac | [
"MIT"
] | null | null | null | """ AMQP Frames """
| 10 | 19 | 0.5 | 2 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.625 | 0.55 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c73f3a97827708a7542fce3ba52c0e9f669d4996 | 309 | py | Python | Generate_DS/Blast_p_feature.py | diogo1790team/inphinity_DM | b20d75ee0485e1f406a25efcf5f2855631166c38 | [
"MIT"
] | 1 | 2019-03-11T12:59:37.000Z | 2019-03-11T12:59:37.000Z | Generate_DS/Blast_p_feature.py | diogo1790team/inphinity_DM | b20d75ee0485e1f406a25efcf5f2855631166c38 | [
"MIT"
] | 21 | 2018-10-17T14:52:30.000Z | 2019-06-03T12:43:58.000Z | Generate_DS/Blast_p_feature.py | diogo1790team/inphinity_DM | b20d75ee0485e1f406a25efcf5f2855631166c38 | [
"MIT"
] | 6 | 2019-02-28T07:40:14.000Z | 2019-09-23T13:31:54.000Z | # -*- coding: utf-8 -*-
"""
Created on Wen Mar 14 16:32:26 2018
@author: Diogo Leite
"""
from Strategy_feat_interface import *
# The various strategies:
class Blast_p_feature(Strategy_feat_interface):
def feature_treatment(self, interactions_ids, vec_configuration):
return [ 1.1, 2.2 ] # Dummy | 25.75 | 69 | 0.71521 | 44 | 309 | 4.818182 | 0.863636 | 0.113208 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066148 | 0.168285 | 309 | 12 | 70 | 25.75 | 0.758755 | 0.359223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c7488765f04fbcf44617eb2bd1648e679e17cdaa | 156 | py | Python | test/encrypt_string_2.py | kmAyushkm/simply-encrypt | b97c096ddade44321fe63758d95dc7a50c4dd57e | [
"BSD-3-Clause"
] | 1 | 2021-09-05T08:50:28.000Z | 2021-09-05T08:50:28.000Z | test/encrypt_string_2.py | Nukaryotes/simply-encrypt | b97c096ddade44321fe63758d95dc7a50c4dd57e | [
"BSD-3-Clause"
] | null | null | null | test/encrypt_string_2.py | Nukaryotes/simply-encrypt | b97c096ddade44321fe63758d95dc7a50c4dd57e | [
"BSD-3-Clause"
] | 1 | 2021-09-09T13:45:57.000Z | 2021-09-09T13:45:57.000Z |
import simplyencrypt as en
def main():
password = en.new_random_password()
en.encrypt(password, "Hello World")
if __name__ == "__main__":
main()
| 15.6 | 37 | 0.692308 | 20 | 156 | 4.9 | 0.7 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 156 | 9 | 38 | 17.333333 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c75838f81e60dc338836991b3ce2dcadc305c832 | 48 | py | Python | BAB 7/latihan2.py | Myusuft/Alpro-part5 | 24ba5c25feb7ee381acdfcfe62a0982ae8ed259c | [
"MIT"
] | null | null | null | BAB 7/latihan2.py | Myusuft/Alpro-part5 | 24ba5c25feb7ee381acdfcfe62a0982ae8ed259c | [
"MIT"
] | null | null | null | BAB 7/latihan2.py | Myusuft/Alpro-part5 | 24ba5c25feb7ee381acdfcfe62a0982ae8ed259c | [
"MIT"
] | null | null | null | kalimat = input()
print(kalimat.capitalize())
| 16 | 28 | 0.708333 | 5 | 48 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 29 | 24 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
c76890cecc9e35228e7075d35117d0f0dd8c3550 | 242 | py | Python | app/routes/index/index_routes.py | Claayton/users-api | 4c103fa515873b2d9048770c5dc7531a1125c77a | [
"MIT"
] | null | null | null | app/routes/index/index_routes.py | Claayton/users-api | 4c103fa515873b2d9048770c5dc7531a1125c77a | [
"MIT"
] | null | null | null | app/routes/index/index_routes.py | Claayton/users-api | 4c103fa515873b2d9048770c5dc7531a1125c77a | [
"MIT"
] | null | null | null | from flask import Blueprint, jsonify
from app.routes.index import index_ctrl
bp = Blueprint('index_routes_bp', __name__)
@bp.route('/')
def index():
return jsonify({'message': 'Successfully fetched', 'routes': index_ctrl.index()}), 200
| 26.888889 | 90 | 0.731405 | 32 | 242 | 5.28125 | 0.5625 | 0.130178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.119835 | 242 | 8 | 91 | 30.25 | 0.779343 | 0 | 0 | 0 | 0 | 0 | 0.202479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 0 | 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 | 4 |
c76ac2ac676c5edbe6214b12dca3f26a6573b581 | 920 | py | Python | REST-API-Flask/users.py | seldish-og/yandex_tasks | 5d04d4444aadbcc41bb45c4cff20edb03cf798c2 | [
"MIT"
] | 1 | 2022-02-21T10:46:44.000Z | 2022-02-21T10:46:44.000Z | REST-API-Flask/users.py | seldish-og/yandex_tasks | 5d04d4444aadbcc41bb45c4cff20edb03cf798c2 | [
"MIT"
] | null | null | null | REST-API-Flask/users.py | seldish-og/yandex_tasks | 5d04d4444aadbcc41bb45c4cff20edb03cf798c2 | [
"MIT"
] | null | null | null | import sqlalchemy
import datetime
class User(SqlAlchemyBase):
__tablename__ = 'users'
id = sqlalchemy.Column(sqlalchemy.Integer,
primary_key=True, autoincrement=True)
surname = sqlalchemy.Column(sqlalchemy.String, nullable=True)
name = sqlalchemy.Column(sqlalchemy.String, n... | 43.809524 | 73 | 0.697826 | 90 | 920 | 7.055556 | 0.355556 | 0.251969 | 0.409449 | 0.352756 | 0.415748 | 0.415748 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21087 | 920 | 20 | 74 | 46 | 0.874656 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058824 | 0.117647 | 0 | 0.823529 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c78ecfe3c86b775a6e3485258aade85ad645d96f | 462 | py | Python | migrations/20210605_01_YbdtM-message-id-and-channel-id.py | vmariano/meme-classifier | e8d6e73e4a843542143f20381c0741df16d3945d | [
"BSD-3-Clause"
] | null | null | null | migrations/20210605_01_YbdtM-message-id-and-channel-id.py | vmariano/meme-classifier | e8d6e73e4a843542143f20381c0741df16d3945d | [
"BSD-3-Clause"
] | 1 | 2022-02-07T12:06:59.000Z | 2022-02-07T12:06:59.000Z | migrations/20210605_01_YbdtM-message-id-and-channel-id.py | vmariano/meme-classifier | e8d6e73e4a843542143f20381c0741df16d3945d | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:38:04.000Z | 2022-02-07T02:38:04.000Z | """
message id and channel id
"""
from yoyo import step
__depends__ = {'0001.create-memes'}
steps = [
step(
"ALTER TABLE meme DROP COLUMN update_id",
"ALTER TABLE meme ADD COLUMN update_id BIGINT",
),
step(
"ALTER TABLE meme ADD COLUMN chat_id BIGINT",
"ALTER TABLE meme DROP COLU... | 20.086957 | 55 | 0.634199 | 62 | 462 | 4.564516 | 0.354839 | 0.212014 | 0.29682 | 0.190813 | 0.583039 | 0.416961 | 0.226148 | 0 | 0 | 0 | 0 | 0.011905 | 0.272727 | 462 | 22 | 56 | 21 | 0.830357 | 0.054113 | 0 | 0.375 | 0 | 0 | 0.608392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c7b230a75b3a4b5332dfd5e386af3e9f7e999be8 | 103 | py | Python | paragraph_similarity/common/result.py | TharinduDR/Paragraph-Similarity | 322684feedd70dbc4c42688f6634ed1cf3adc157 | [
"Apache-2.0"
] | null | null | null | paragraph_similarity/common/result.py | TharinduDR/Paragraph-Similarity | 322684feedd70dbc4c42688f6634ed1cf3adc157 | [
"Apache-2.0"
] | null | null | null | paragraph_similarity/common/result.py | TharinduDR/Paragraph-Similarity | 322684feedd70dbc4c42688f6634ed1cf3adc157 | [
"Apache-2.0"
] | null | null | null | class Result:
def __init__(self, text, value):
self.text = text
self.value = value
| 20.6 | 36 | 0.592233 | 13 | 103 | 4.384615 | 0.538462 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31068 | 103 | 4 | 37 | 25.75 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
1be66317b5e5b16a8a4ced105014562ee993daa3 | 6,275 | py | Python | tests/tests_unit/test_api/test_extraction_pipelines.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_unit/test_api/test_extraction_pipelines.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_unit/test_api/test_extraction_pipelines.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | import re
import pytest
from cognite.experimental import CogniteClient
from cognite.experimental.data_classes import ExtractionPipeline, ExtractionPipelineList, ExtractionPipelineUpdate
from tests.utils import jsgz_load
COGNITE_CLIENT = CogniteClient()
TEST_API = COGNITE_CLIENT.extraction_pipelines
@pytest.fixture... | 39.968153 | 120 | 0.614661 | 720 | 6,275 | 5.129167 | 0.165278 | 0.049282 | 0.101543 | 0.070403 | 0.772543 | 0.73003 | 0.73003 | 0.722177 | 0.662876 | 0.641213 | 0 | 0.01648 | 0.245737 | 6,275 | 156 | 121 | 40.224359 | 0.763786 | 0 | 0 | 0.496241 | 0 | 0 | 0.13753 | 0.017849 | 0 | 0 | 0 | 0 | 0.18797 | 1 | 0.097744 | false | 0 | 0.037594 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 4 |
4036976cf541fc0bff3e57bf91a32430ee968ae2 | 544 | py | Python | oscar/lib/python2.7/site-packages/phonenumbers/data/region_NU.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | 4 | 2018-10-19T04:36:20.000Z | 2020-02-13T16:14:09.000Z | oscar/lib/python2.7/site-packages/phonenumbers/data/region_NU.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/data/region_NU.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | null | null | null | """Auto-generated file, do not edit by hand. NU metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_NU = PhoneMetadata(id='NU', country_code=683, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[1-5]\\d{3}', possible_length=(4,)),
... | 68 | 114 | 0.762868 | 70 | 544 | 5.685714 | 0.614286 | 0.173367 | 0.218593 | 0.271357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05169 | 0.075368 | 544 | 7 | 115 | 77.714286 | 0.739563 | 0.097426 | 0 | 0 | 1 | 0 | 0.090722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40594a66c4ea1ced238fb82f107974b237739135 | 83 | py | Python | run.py | jimenezjose/Phoenix | e22f22568a1cf2cc1e18366a62c4ec72c6bc7c15 | [
"MIT"
] | null | null | null | run.py | jimenezjose/Phoenix | e22f22568a1cf2cc1e18366a62c4ec72c6bc7c15 | [
"MIT"
] | null | null | null | run.py | jimenezjose/Phoenix | e22f22568a1cf2cc1e18366a62c4ec72c6bc7c15 | [
"MIT"
] | null | null | null | from api import create_app
app = create_app()
app.run(host='0.0.0.0', debug=True)
| 16.6 | 35 | 0.710843 | 17 | 83 | 3.352941 | 0.588235 | 0.105263 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.120482 | 83 | 4 | 36 | 20.75 | 0.726027 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4091869b132e7dcbd0a603122668a44e7e3e1d32 | 37,421 | py | Python | pyeccodes/defs/grib1/cfVarName_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib1/cfVarName_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib1/cfVarName_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
def wrapped(h):
table2Version = h.get_l('table2Version')
indicatorOfParameter = h.get_l('indicatorOfParameter')
indicatorOfTypeOfLevel = h.get_l('indicatorOfTypeOfLevel')
level = h.get_l('level')
if table2Version == 1 and indi... | 30.672951 | 111 | 0.581465 | 3,392 | 37,421 | 6.413325 | 0.081958 | 0.27719 | 0.098557 | 0.117036 | 0.990393 | 0.97035 | 0.968144 | 0.103843 | 0.103843 | 0.103843 | 0 | 0.114494 | 0.339943 | 37,421 | 1,219 | 112 | 30.698113 | 0.766235 | 0 | 0 | 0.501232 | 0 | 0 | 0.046445 | 0.000588 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002463 | false | 0 | 0.001232 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40acb63ee12fc08859f7b091fbc1ded8397e5d23 | 152 | py | Python | src/main.py | Kei198403/python-template | 777427b0fddaadb5030a39a3445a7de53b232943 | [
"MIT"
] | null | null | null | src/main.py | Kei198403/python-template | 777427b0fddaadb5030a39a3445a7de53b232943 | [
"MIT"
] | null | null | null | src/main.py | Kei198403/python-template | 777427b0fddaadb5030a39a3445a7de53b232943 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def sample() -> str:
return "hoge"
def main() -> None:
print("Hello Python")
if __name__ == "__main__":
main()
| 11.692308 | 26 | 0.532895 | 18 | 152 | 4.055556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.256579 | 152 | 12 | 27 | 12.666667 | 0.637168 | 0.138158 | 0 | 0 | 0 | 0 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.166667 | 0.5 | 0.166667 | 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 | 0 | 0 | 0 | 4 |
40b7b4c7f2fcd36a9a4886aea58670cf23d43595 | 89 | py | Python | get_boss/start.py | yxys01/get_boss | c60109743880b1496c731c45970d7336b058ca07 | [
"Apache-2.0"
] | null | null | null | get_boss/start.py | yxys01/get_boss | c60109743880b1496c731c45970d7336b058ca07 | [
"Apache-2.0"
] | null | null | null | get_boss/start.py | yxys01/get_boss | c60109743880b1496c731c45970d7336b058ca07 | [
"Apache-2.0"
] | null | null | null | #encoding: utf-8
from scrapy import cmdline
cmdline.execute("scrapy crawl boss".split()) | 22.25 | 44 | 0.775281 | 13 | 89 | 5.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.101124 | 89 | 4 | 44 | 22.25 | 0.85 | 0.168539 | 0 | 0 | 0 | 0 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 4 |
40b854999b3f851fadd623dafc6bb76d37adc12e | 220 | py | Python | django_price/admin.py | holg/django_price | 5333d46132b0e7ff4e46ead4a048d75224b0e8c5 | [
"BSD-3-Clause"
] | 4 | 2015-09-12T21:04:15.000Z | 2021-01-28T11:33:54.000Z | django_price/admin.py | holg/django_price | 5333d46132b0e7ff4e46ead4a048d75224b0e8c5 | [
"BSD-3-Clause"
] | 3 | 2015-12-03T20:00:30.000Z | 2016-03-09T08:43:15.000Z | django_price/admin.py | holg/django_price | 5333d46132b0e7ff4e46ead4a048d75224b0e8c5 | [
"BSD-3-Clause"
] | 2 | 2015-12-03T10:06:56.000Z | 2021-02-23T14:44:14.000Z | from django.contrib import admin
from .models import *
# we do not add admins, this has to be done inside the project
#admin.site.register(LinearTax, admin.ModelAdmin)
#admin.site.register(MultiTax, admin.ModelAdmin)
| 24.444444 | 62 | 0.781818 | 33 | 220 | 5.212121 | 0.727273 | 0.104651 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131818 | 220 | 8 | 63 | 27.5 | 0.900524 | 0.704545 | 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 | 0 | 0 | 0 | 4 |
40b8e7aa70a7767eab77085da6de5ce6ed861fdd | 64 | py | Python | delta_node/runner/__init__.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | 4 | 2021-07-22T01:11:15.000Z | 2022-03-17T03:26:20.000Z | delta_node/runner/__init__.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | 10 | 2021-09-13T09:55:02.000Z | 2022-03-23T09:41:26.000Z | delta_node/runner/__init__.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | null | null | null | from .monitor import start
async def run():
await start()
| 10.666667 | 26 | 0.671875 | 9 | 64 | 4.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234375 | 64 | 5 | 27 | 12.8 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 4 |
40f0510de662a9b9852ee1d0007c0fb64fbd900c | 660 | py | Python | bw2io/importers/__init__.py | sc-gcoste/brightway2-io | 3a1f6d4efeb1b1754343ca7a243c4c1bcaaca40a | [
"BSD-3-Clause"
] | 5 | 2020-06-03T20:59:37.000Z | 2021-08-19T06:59:36.000Z | bw2io/importers/__init__.py | sc-gcoste/brightway2-io | 3a1f6d4efeb1b1754343ca7a243c4c1bcaaca40a | [
"BSD-3-Clause"
] | 54 | 2020-03-03T09:19:25.000Z | 2022-03-09T17:48:05.000Z | bw2io/importers/__init__.py | brightway-lca/brightway2-io-copy | 8383adc2f0cb06852f689fb2aab62d5a29f41130 | [
"BSD-3-Clause"
] | 16 | 2020-03-07T17:58:18.000Z | 2022-02-08T15:52:37.000Z | from .ecoinvent_lcia import EcoinventLCIAImporter
from .ecospold1 import (
MultiOutputEcospold1Importer,
NoIntegerCodesEcospold1Importer,
SingleOutputEcospold1Importer,
)
from .ecospold1_lcia import Ecospold1LCIAImporter
from .ecospold2 import SingleOutputEcospold2Importer
from .ecospold2_biosphere import E... | 41.25 | 59 | 0.878788 | 57 | 660 | 10.017544 | 0.491228 | 0.052539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023411 | 0.093939 | 660 | 15 | 60 | 44 | 0.931438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.933333 | 0 | 0.933333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
40f75630d99dcf533e3b6440a0c8971e3855f31e | 307 | py | Python | mmdet/models/backbones/__init__.py | Ernstsen/Pedestron | 0c5aa35881561bcd0acf5de8939472efd6409256 | [
"Apache-2.0"
] | 594 | 2020-03-20T11:52:59.000Z | 2022-03-30T11:58:55.000Z | mmdet/models/backbones/__init__.py | Ernstsen/Pedestron | 0c5aa35881561bcd0acf5de8939472efd6409256 | [
"Apache-2.0"
] | 131 | 2020-03-25T09:48:04.000Z | 2022-03-30T17:54:38.000Z | mmdet/models/backbones/__init__.py | Ernstsen/Pedestron | 0c5aa35881561bcd0acf5de8939472efd6409256 | [
"Apache-2.0"
] | 128 | 2020-03-20T14:22:11.000Z | 2022-03-22T09:41:39.000Z | from .resnet import ResNet, make_res_layer
from .resnext import ResNeXt
from .ssd_vgg import SSDVGG
from .hrnet import HRNet
from .senet import SENet
from .mobilenet import MobilenetV2
from .vgg import VGG
__all__ = ['ResNet', 'make_res_layer', 'ResNeXt', 'SSDVGG', 'HRNet', 'SENet', 'MobilenetV2', 'VGG']
| 30.7 | 99 | 0.758958 | 43 | 307 | 5.209302 | 0.348837 | 0.089286 | 0.116071 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007491 | 0.130293 | 307 | 9 | 100 | 34.111111 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.185668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dc1162f2f27f1f358b49f737be947bc27f23a384 | 120 | py | Python | category.py | akshattrivedi/Newsletter-Subscription-Platform | 90de00809263c642fdacc45672d903b7faba470b | [
"MIT"
] | 1 | 2022-01-28T03:54:08.000Z | 2022-01-28T03:54:08.000Z | category.py | akshattrivedi/Newsletter-Subscription-Platform | 90de00809263c642fdacc45672d903b7faba470b | [
"MIT"
] | null | null | null | category.py | akshattrivedi/Newsletter-Subscription-Platform | 90de00809263c642fdacc45672d903b7faba470b | [
"MIT"
] | null | null | null | class Category:
def __init__(self, categoryId, name):
self.categoryId = categoryId
self.name = name
| 24 | 41 | 0.65 | 13 | 120 | 5.692308 | 0.538462 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 120 | 4 | 42 | 30 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
904e3ff0b03a62d028f753f17a8aef983c76dd21 | 218 | py | Python | install.py | AlyShmahell/polymath | b7f07802ffc270fd5f2e573e01e4333d102b1baf | [
"MIT"
] | 1 | 2019-09-01T03:31:27.000Z | 2019-09-01T03:31:27.000Z | install.py | AlyShmahell/polymath | b7f07802ffc270fd5f2e573e01e4333d102b1baf | [
"MIT"
] | 1 | 2019-09-01T03:34:36.000Z | 2019-09-03T00:18:27.000Z | install.py | AlyShmahell/polymath | b7f07802ffc270fd5f2e573e01e4333d102b1baf | [
"MIT"
] | null | null | null | import os
if __name__ == '__main__':
os.system("cmake ./")
os.system("sudo cmake --build . --target install")
os.system("rm -rf CMakeCache.txt install_manifest.txt Makefile CMakeFiles cmake_install.cmake") | 36.333333 | 99 | 0.706422 | 29 | 218 | 4.965517 | 0.62069 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151376 | 218 | 6 | 99 | 36.333333 | 0.778378 | 0 | 0 | 0 | 0 | 0 | 0.616438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
904eaca78714ab865edac0d88d5d7b93bbeeafae | 226 | py | Python | semantic_segmentation/src/utils/__init__.py | no-name-xiaosheng/PaddleViT | 50226a3be5095b3727d3c62d2eab23ef1e9612ec | [
"Apache-2.0"
] | 2 | 2021-11-23T02:01:52.000Z | 2021-11-23T02:02:03.000Z | semantic_segmentation/src/utils/__init__.py | Dongsheng-Bi/PaddleViT | c90a6c8dc3787e69cef3a37b9a260bd59eeff1f7 | [
"Apache-2.0"
] | null | null | null | semantic_segmentation/src/utils/__init__.py | Dongsheng-Bi/PaddleViT | c90a6c8dc3787e69cef3a37b9a260bd59eeff1f7 | [
"Apache-2.0"
] | null | null | null | from . import logger
from . import metrics
from .checkpoint import load_entire_model, load_pretrained_model, resume
from .timer import TimeAverager, calculate_eta
from . import vis
from .multi_batch_collate import multi_val_fn | 37.666667 | 72 | 0.845133 | 33 | 226 | 5.515152 | 0.606061 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 226 | 6 | 73 | 37.666667 | 0.91 | 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 | 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 | 4 |
907abd15ca9607f74500621d1f767b9fc86d2dab | 96 | py | Python | chatbot_app/apps.py | bm777/python-chatbot | 6883fa9b3e7b3802ff19bd0bd7384b809c02df64 | [
"MIT"
] | null | null | null | chatbot_app/apps.py | bm777/python-chatbot | 6883fa9b3e7b3802ff19bd0bd7384b809c02df64 | [
"MIT"
] | null | null | null | chatbot_app/apps.py | bm777/python-chatbot | 6883fa9b3e7b3802ff19bd0bd7384b809c02df64 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ChatbotAppConfig(AppConfig):
name = 'chatbot_app'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
90c987af56f3034b562afd4428cd204bc765b00a | 407 | py | Python | rl_multi_agent/experiments/furnmove_grid_marginal_3agents_config.py | allenai/cordial-sync | 4005fdc4816c86f6489e5f4b9252fa66b79602be | [
"MIT"
] | 28 | 2020-07-07T16:21:10.000Z | 2021-11-15T11:15:20.000Z | rl_multi_agent/experiments/furnmove_grid_marginal_3agents_config.py | allenai/cordial-sync | 4005fdc4816c86f6489e5f4b9252fa66b79602be | [
"MIT"
] | 5 | 2020-09-29T07:54:43.000Z | 2022-01-04T22:33:02.000Z | rl_multi_agent/experiments/furnmove_grid_marginal_3agents_config.py | allenai/cordial-sync | 4005fdc4816c86f6489e5f4b9252fa66b79602be | [
"MIT"
] | 2 | 2022-02-01T19:50:27.000Z | 2022-03-21T12:23:16.000Z | from rl_multi_agent.experiments.furnmove_grid_mixture_3agents_config import (
FurnMove3AgentMixtureExperimentConfig as FurnMoveCoordinatedMultiAgentConfig,
)
class FurnMove3AgentUncoordinatedExperimentConfig(FurnMoveCoordinatedMultiAgentConfig):
coordinate_actions = False
discourage_failed_coordination = ... | 31.307692 | 87 | 0.864865 | 29 | 407 | 11.793103 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010899 | 0.09828 | 407 | 12 | 88 | 33.916667 | 0.920981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
90d5f722429fa9934bcd5055ad69cab3579c7e01 | 7,493 | py | Python | tests/test_ipn.py | tvavrys/login-and-pay-with-amazon-sdk-python | 6fb19d524babcabf814c8410e90b2b9bab005284 | [
"Apache-2.0"
] | 1 | 2020-05-18T10:17:50.000Z | 2020-05-18T10:17:50.000Z | tests/test_ipn.py | tvavrys/login-and-pay-with-amazon-sdk-python | 6fb19d524babcabf814c8410e90b2b9bab005284 | [
"Apache-2.0"
] | null | null | null | tests/test_ipn.py | tvavrys/login-and-pay-with-amazon-sdk-python | 6fb19d524babcabf814c8410e90b2b9bab005284 | [
"Apache-2.0"
] | 4 | 2015-12-22T22:37:23.000Z | 2020-02-18T17:43:46.000Z | import os
import unittest
from pay_with_amazon.ipn_handler import IpnHandler
class IpnHandlerTest(unittest.TestCase):
def setUp(self):
self.maxDiff = None
with open(
'{}/test.pem'.format(os.path.dirname(os.path.realpath(__file__)))) as pemfile:
self.pem = pemfile.read... | 105.535211 | 2,551 | 0.624316 | 657 | 7,493 | 7.03653 | 0.284627 | 0.03461 | 0.013628 | 0.017305 | 0.680943 | 0.633139 | 0.608912 | 0.607181 | 0.573653 | 0.560459 | 0 | 0.116236 | 0.198585 | 7,493 | 70 | 2,552 | 107.042857 | 0.653622 | 0 | 0 | 0.392857 | 0 | 0.053571 | 0.736154 | 0.446283 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.071429 | false | 0 | 0.053571 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
291b5e397ead867428f8b43452732d80662b673a | 2,787 | py | Python | venv/lib/python3.8/site-packages/dateparser/data/numeral_translation_data/ee.py | yuta-komura/vishnu | 67173b674d5f4f3be189474103612447ef69ab44 | [
"MIT"
] | 1 | 2021-11-17T04:55:14.000Z | 2021-11-17T04:55:14.000Z | dateparser/data/numeral_translation_data/ee.py | cool-RR/dateparser | c38336df521cc57d947dc2c9111539a72f801652 | [
"BSD-3-Clause"
] | null | null | null | dateparser/data/numeral_translation_data/ee.py | cool-RR/dateparser | c38336df521cc57d947dc2c9111539a72f801652 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
info = {
"%%after-billions": {
"(0, 999)": "' kpakple =%spellout-cardinal=;",
"(1000, 99999999)": "' kple =%spellout-cardinal=;",
"(100000000, 99999999999)": "' kple =%spellout-cardinal=;",
"(100000000000, 'inf')": "' =%spellout-cardinal=;"
},
"%%after... | 35.730769 | 98 | 0.456046 | 237 | 2,787 | 5.371308 | 0.400844 | 0.439906 | 0.188531 | 0.075412 | 0.108405 | 0.108405 | 0 | 0 | 0 | 0 | 0 | 0.126152 | 0.260495 | 2,787 | 77 | 99 | 36.194805 | 0.490539 | 0.007535 | 0 | 0.078947 | 0 | 0 | 0.625543 | 0.321997 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
291c3ae1fdbd0408284fa059f74416bea174db27 | 214 | py | Python | migrate.py | CS70/queue | 45f0d7d49c957dee15d237e2a1364764a18ca085 | [
"Apache-2.0"
] | 11 | 2016-01-27T23:52:47.000Z | 2021-09-15T09:54:22.000Z | migrate.py | alvinwan/quupod | 45f0d7d49c957dee15d237e2a1364764a18ca085 | [
"Apache-2.0"
] | 34 | 2016-01-26T21:07:12.000Z | 2017-11-29T00:38:19.000Z | migrate.py | CS70/ohquu | 45f0d7d49c957dee15d237e2a1364764a18ca085 | [
"Apache-2.0"
] | 3 | 2016-05-17T18:29:54.000Z | 2022-01-01T23:58:48.000Z | """Manage database migration and modifications."""
from quupod import migration_manager, MigrateCommand
migration_manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
migration_manager.run()
| 23.777778 | 52 | 0.785047 | 23 | 214 | 6.782609 | 0.73913 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 214 | 8 | 53 | 26.75 | 0.821053 | 0.205607 | 0 | 0 | 0 | 0 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
292248152fe250e49e663837f24bf8235a607c73 | 223 | py | Python | ControlServer/deploy/models.py | a523/storagestatck | cea14d5e276af1d90f0fc8c0b00881fa7e2bff9a | [
"MIT"
] | 3 | 2019-11-19T09:38:51.000Z | 2020-12-21T13:23:52.000Z | ControlServer/deploy/models.py | a523/storagestatck | cea14d5e276af1d90f0fc8c0b00881fa7e2bff9a | [
"MIT"
] | 7 | 2020-01-20T04:02:23.000Z | 2021-06-10T17:54:36.000Z | ControlServer/deploy/models.py | a523/storagestack | cea14d5e276af1d90f0fc8c0b00881fa7e2bff9a | [
"MIT"
] | null | null | null | from django.db import models
class Nodes(models.Model):
ip = models.GenericIPAddressField(unique=True)
created_time = models.DateTimeField(auto_now_add=True)
updated_time = models.DateTimeField(auto_now=True)
| 27.875 | 58 | 0.780269 | 29 | 223 | 5.827586 | 0.655172 | 0.118343 | 0.272189 | 0.319527 | 0.35503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130045 | 223 | 7 | 59 | 31.857143 | 0.871134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 0 | 4 |
292ebeb374e4e5283fb1f1ab26e7da53e60771d6 | 679 | py | Python | taversarymedia/post/models.py | debu999/djangofundamentals | 15a7a3d6e40a2faf3359a151bb0bb44dd7d669ff | [
"Apache-2.0"
] | null | null | null | taversarymedia/post/models.py | debu999/djangofundamentals | 15a7a3d6e40a2faf3359a151bb0bb44dd7d669ff | [
"Apache-2.0"
] | null | null | null | taversarymedia/post/models.py | debu999/djangofundamentals | 15a7a3d6e40a2faf3359a151bb0bb44dd7d669ff | [
"Apache-2.0"
] | 1 | 2019-08-22T09:13:41.000Z | 2019-08-22T09:13:41.000Z | from django.db import models
from datetime import datetime
from django.utils import timezone
import pytz
class Posts(models.Model):
title = models.CharField(max_length=200)
body = models.TextField()
createdate = models.DateTimeField(default=timezone.now, blank=True)
class Meta:
verbose_name_p... | 23.413793 | 71 | 0.702504 | 84 | 679 | 5.511905 | 0.416667 | 0.043197 | 0.069114 | 0.095032 | 0.738661 | 0.738661 | 0.738661 | 0.62203 | 0.62203 | 0.62203 | 0 | 0.022099 | 0.200295 | 679 | 28 | 72 | 24.25 | 0.830571 | 0 | 0 | 0.6 | 0 | 0 | 0.0162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.2 | 0.1 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 4 |
29399d903a69c9e55a049741ea6e4aedd4cb43a0 | 107 | py | Python | apps/directoryentries/apps.py | iamjdcollins/districtwebsite | 89e2aea47ca3d221665bc23586a4374421be5800 | [
"MIT"
] | null | null | null | apps/directoryentries/apps.py | iamjdcollins/districtwebsite | 89e2aea47ca3d221665bc23586a4374421be5800 | [
"MIT"
] | null | null | null | apps/directoryentries/apps.py | iamjdcollins/districtwebsite | 89e2aea47ca3d221665bc23586a4374421be5800 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DirectoryentriesConfig(AppConfig):
name = 'directoryentries'
| 17.833333 | 40 | 0.794393 | 10 | 107 | 8.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 41 | 21.4 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2945051a35110e79f23ed837c29685f171152e1d | 31 | py | Python | utils/audit.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 123 | 2015-01-08T09:21:05.000Z | 2021-11-14T19:45:23.000Z | utils/audit.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 16 | 2015-02-13T16:56:42.000Z | 2021-02-20T23:58:43.000Z | utils/audit.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 110 | 2015-01-19T14:34:06.000Z | 2021-02-01T14:55:11.000Z | HOME_ACCESSED = "home-accessed" | 31 | 31 | 0.806452 | 4 | 31 | 6 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 31 | 1 | 31 | 31 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2968cb45971c45bbfff739f6cfe85edb93f3432d | 21,086 | py | Python | tests/unit/test_base.py | OpenPermissions/tornado-lib | d721f8e1dfa8f07ad265d9dec32e8aaf80a9f281 | [
"Apache-2.0"
] | 7 | 2016-04-15T14:37:53.000Z | 2019-05-20T01:42:22.000Z | tests/unit/test_base.py | OpenPermissions/tornado-lib | d721f8e1dfa8f07ad265d9dec32e8aaf80a9f281 | [
"Apache-2.0"
] | 1 | 2016-04-26T11:27:52.000Z | 2016-04-26T11:27:52.000Z | tests/unit/test_base.py | OpenPermissions/tornado-lib | d721f8e1dfa8f07ad265d9dec32e8aaf80a9f281 | [
"Apache-2.0"
] | 1 | 2019-05-20T01:42:26.000Z | 2019-05-20T01:42:26.000Z | # -*- coding: utf-8 -*-
# Copyright 2016 Open Permissions Platform Coalition
# 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 appl... | 31.518685 | 107 | 0.648487 | 2,514 | 21,086 | 5.267701 | 0.106205 | 0.020615 | 0.027184 | 0.048176 | 0.778373 | 0.765461 | 0.749302 | 0.728385 | 0.698935 | 0.673035 | 0 | 0.013905 | 0.21896 | 21,086 | 668 | 108 | 31.565868 | 0.790212 | 0.047472 | 0 | 0.62173 | 0 | 0 | 0.15686 | 0.024006 | 0 | 0 | 0 | 0 | 0.140845 | 1 | 0.10664 | false | 0.004024 | 0.024145 | 0.006036 | 0.144869 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 4 |
296a4adb1e0113795daf4dd1c39590318db09a25 | 35 | py | Python | beobench/integration/__init__.py | rdnfn/beobench | c51e9a6d320e3e1db035cb298936ac4dacaca64b | [
"MIT"
] | 9 | 2022-01-10T13:51:38.000Z | 2022-03-31T15:08:23.000Z | beobench/integration/__init__.py | rdnfn/beobench | c51e9a6d320e3e1db035cb298936ac4dacaca64b | [
"MIT"
] | 25 | 2022-01-09T16:35:43.000Z | 2022-03-31T15:39:15.000Z | beobench/integration/__init__.py | rdnfn/beobench | c51e9a6d320e3e1db035cb298936ac4dacaca64b | [
"MIT"
] | 1 | 2022-03-30T13:24:07.000Z | 2022-03-30T13:24:07.000Z | """Subpackage with integrations"""
| 17.5 | 34 | 0.742857 | 3 | 35 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.8125 | 0.8 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
29841f0f286e7af1b5457091019394bf1e8e05ad | 63 | py | Python | devilry/utils/models.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/utils/models.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/utils/models.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | # Only here to make the Django test runner see this as an app.
| 31.5 | 62 | 0.746032 | 13 | 63 | 3.615385 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 63 | 1 | 63 | 63 | 0.959184 | 0.952381 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4636d19ba4bbfba87f4aba11a18910735d676801 | 308 | py | Python | yaweather/models/__init__.py | krabchuk/yaweather | 47e97780cd805efc45c2238cd239e3f067249450 | [
"MIT"
] | null | null | null | yaweather/models/__init__.py | krabchuk/yaweather | 47e97780cd805efc45c2238cd239e3f067249450 | [
"MIT"
] | null | null | null | yaweather/models/__init__.py | krabchuk/yaweather | 47e97780cd805efc45c2238cd239e3f067249450 | [
"MIT"
] | null | null | null | from .base import Base, Condition, DayTime, Lang, MoonCode, MoonText, PhenomCondition, PrecipitationType, Season, WindDir
from .fact import Fact
from .info import Info, TzInfo
from .request import Request, RequestForecast, RequestInformers
from .response import Response, ResponseForecast, ResponseInformers
| 51.333333 | 121 | 0.827922 | 34 | 308 | 7.5 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11039 | 308 | 5 | 122 | 61.6 | 0.930657 | 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 | 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 | 4 |
46470c691d923e33034c4cc249110c3f2db78167 | 3,772 | py | Python | main.py | Delitanast/Minecraft-Text-Helper | 0fc8e591245af9095ba72ca7dff7b0abfc9c9717 | [
"MIT"
] | null | null | null | main.py | Delitanast/Minecraft-Text-Helper | 0fc8e591245af9095ba72ca7dff7b0abfc9c9717 | [
"MIT"
] | null | null | null | main.py | Delitanast/Minecraft-Text-Helper | 0fc8e591245af9095ba72ca7dff7b0abfc9c9717 | [
"MIT"
] | null | null | null | print("Choose a language:")
print("1. English - United Kingdom")
print("2. Русский - Россия")
print("3. Español - España")
print("4. Português - Portugal")
print("5. Português - Brazil")
Language = int(input("Type number of language: "))
if Language == 1:
print("")
print("Hello! I am Minecraft text helper Damir. Yo... | 31.433333 | 122 | 0.617709 | 514 | 3,772 | 4.536965 | 0.245136 | 0.124357 | 0.198971 | 0.216124 | 0.698971 | 0.671098 | 0.66681 | 0.576758 | 0.51458 | 0.483705 | 0 | 0.013185 | 0.215801 | 3,772 | 119 | 123 | 31.697479 | 0.77451 | 0 | 0 | 0.739496 | 0 | 0.042017 | 0.404295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.462185 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
465e64d2f02d79de245c18188ed5ec06125df77e | 109 | py | Python | pycore/__init__.py | quantumcored/maalik | 1322540f6b6156c6079911403784a4339b0910d7 | [
"MIT"
] | 64 | 2020-08-11T17:48:33.000Z | 2021-06-25T21:45:34.000Z | pycore/__init__.py | Sabareh/maalik | 7962bd1b21d74851135200516b8a476e2ab0553a | [
"MIT"
] | 2 | 2020-09-19T09:09:10.000Z | 2020-11-13T16:36:39.000Z | pycore/__init__.py | Sabareh/maalik | 7962bd1b21d74851135200516b8a476e2ab0553a | [
"MIT"
] | 16 | 2020-09-24T08:38:43.000Z | 2021-05-22T06:55:06.000Z | """
If you only do what you can do,
You will never be better than you are now.
- Master shifu
""" | 12.111111 | 43 | 0.614679 | 19 | 109 | 3.526316 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302752 | 109 | 9 | 44 | 12.111111 | 0.881579 | 0.816514 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4663c8f19d21fc3fa47e292e25e4296915874011 | 126 | py | Python | tests/test_randprocs/test_markov/test_integrator/conftest.py | fxbriol/probnum | 7e0e94cf9146aaa2b730b02c6d75a022cd629b5c | [
"MIT"
] | 226 | 2019-11-01T09:44:09.000Z | 2022-03-30T23:17:17.000Z | tests/test_randprocs/test_markov/test_integrator/conftest.py | fxbriol/probnum | 7e0e94cf9146aaa2b730b02c6d75a022cd629b5c | [
"MIT"
] | 590 | 2019-11-21T08:32:30.000Z | 2022-03-31T12:37:37.000Z | tests/test_randprocs/test_markov/test_integrator/conftest.py | fxbriol/probnum | 7e0e94cf9146aaa2b730b02c6d75a022cd629b5c | [
"MIT"
] | 39 | 2020-01-13T16:29:45.000Z | 2022-03-28T16:16:54.000Z | """Configuration for tests."""
import pytest
@pytest.fixture
def some_num_derivatives(test_ndim):
return test_ndim - 1
| 14 | 36 | 0.746032 | 17 | 126 | 5.294118 | 0.823529 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.150794 | 126 | 8 | 37 | 15.75 | 0.831776 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
46742862a0dc87e6826c51b6edaeb56b1c931b1a | 192 | py | Python | 02 Contadores/02 Exemplo2.py | TiagoBDuarte/Python_Projetos_de__inic | e46d061e6977fa1e6b76d612bdd2a4d17a75fcfc | [
"MIT"
] | null | null | null | 02 Contadores/02 Exemplo2.py | TiagoBDuarte/Python_Projetos_de__inic | e46d061e6977fa1e6b76d612bdd2a4d17a75fcfc | [
"MIT"
] | null | null | null | 02 Contadores/02 Exemplo2.py | TiagoBDuarte/Python_Projetos_de__inic | e46d061e6977fa1e6b76d612bdd2a4d17a75fcfc | [
"MIT"
] | null | null | null | #descobrindo se o número é par ou ímpar
x=int(input('Digite o número que deseja saber se é impar ou par: '))
if x%2==0:
print(f'O número {x} é par.')
else: print(f'O número {x} é ímpar')
| 27.428571 | 68 | 0.661458 | 41 | 192 | 3.097561 | 0.536585 | 0.220472 | 0.110236 | 0.204724 | 0.23622 | 0.23622 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.197917 | 192 | 6 | 69 | 32 | 0.811688 | 0.197917 | 0 | 0 | 0 | 0 | 0.594771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
467e1fdff36ff06bf56ca61e4b53917ce1d97850 | 25 | py | Python | src/open_FRED/__init__.py | SabineHaas/cli | c2fb7e1d7bce8b8c9bd0104dff94d1a04151cfa2 | [
"BSD-3-Clause"
] | 47 | 2018-06-03T07:56:30.000Z | 2022-02-18T15:39:03.000Z | src/open_FRED/__init__.py | SabineHaas/cli | c2fb7e1d7bce8b8c9bd0104dff94d1a04151cfa2 | [
"BSD-3-Clause"
] | 17 | 2017-04-12T00:33:06.000Z | 2020-10-06T08:02:46.000Z | src/open_FRED/__init__.py | SabineHaas/cli | c2fb7e1d7bce8b8c9bd0104dff94d1a04151cfa2 | [
"BSD-3-Clause"
] | 5 | 2018-06-05T06:37:27.000Z | 2021-03-15T21:09:05.000Z | __version__ = '0.0.0dev'
| 12.5 | 24 | 0.68 | 4 | 25 | 3.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.12 | 25 | 1 | 25 | 25 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.32 | 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 | 0 | 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 | 4 |
d3d4e631052e892cdb67d61ea467d9550f52a094 | 200 | py | Python | seldom/utils/__init__.py | defnngj/seldom | f53892743923063750646d7df014624d3642ffe9 | [
"Apache-2.0"
] | 17 | 2019-11-18T17:39:42.000Z | 2019-11-27T03:54:12.000Z | seldom/utils/__init__.py | defnngj/seldom | f53892743923063750646d7df014624d3642ffe9 | [
"Apache-2.0"
] | null | null | null | seldom/utils/__init__.py | defnngj/seldom | f53892743923063750646d7df014624d3642ffe9 | [
"Apache-2.0"
] | null | null | null | from .file_extend import file, find_file_path
from .diff import diff_json, AssertInfo
from .jsonpath import jsonpath
from .jmespath import jmespath
from .genson import genson
from .cache import cache
| 28.571429 | 45 | 0.83 | 30 | 200 | 5.4 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 200 | 6 | 46 | 33.333333 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 4 |
d3e238d915ba98354f2b0a7eaa9dbcac1c40b964 | 5,003 | py | Python | lit_nlp/examples/models/model_utils_test.py | eichinflo/lit | b46c0cac34baa571242637b53b78cfd69de536d0 | [
"Apache-2.0"
] | 2,854 | 2020-08-12T15:51:12.000Z | 2022-03-31T08:24:13.000Z | lit_nlp/examples/models/model_utils_test.py | soma2000-lang/lit | b46c0cac34baa571242637b53b78cfd69de536d0 | [
"Apache-2.0"
] | 156 | 2020-08-16T21:09:05.000Z | 2022-03-30T18:04:53.000Z | lit_nlp/examples/models/model_utils_test.py | soma2000-lang/lit | b46c0cac34baa571242637b53b78cfd69de536d0 | [
"Apache-2.0"
] | 301 | 2020-08-14T05:52:56.000Z | 2022-03-25T22:48:01.000Z | """Tests for model_utils."""
import os
from absl.testing import absltest
from lit_nlp.examples.models import model_utils
import numpy as np
import transformers
TESTDATA_PATH = os.path.join(os.path.dirname(__file__), 'testdata')
class BatchEncodePretokenizedTest(absltest.TestCase):
def setUp(self):
super().se... | 39.706349 | 80 | 0.606636 | 572 | 5,003 | 5.094406 | 0.241259 | 0.066918 | 0.039121 | 0.017159 | 0.760124 | 0.760124 | 0.735415 | 0.735415 | 0.667467 | 0.606383 | 0 | 0.001356 | 0.263242 | 5,003 | 125 | 81 | 40.024 | 0.789202 | 0.081751 | 0 | 0.5 | 0 | 0 | 0.130853 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 1 | 0.067308 | false | 0 | 0.048077 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 4 |
d3ebde2473d4b1d2d063f464cc56e2f0ef76ed7b | 207 | py | Python | app/models/location.py | IanLiuTW/python-fastapi-WeatherAPI | 89dceff611210b3fc937a00d1665da40fcab2b2c | [
"MIT"
] | null | null | null | app/models/location.py | IanLiuTW/python-fastapi-WeatherAPI | 89dceff611210b3fc937a00d1665da40fcab2b2c | [
"MIT"
] | null | null | null | app/models/location.py | IanLiuTW/python-fastapi-WeatherAPI | 89dceff611210b3fc937a00d1665da40fcab2b2c | [
"MIT"
] | null | null | null | from pydantic import BaseModel
from typing import Optional
class Location(BaseModel):
""" Model defines a location """
city: str = "Taipei"
state: Optional[str] = None
country: str = "TW"
| 18.818182 | 36 | 0.671498 | 25 | 207 | 5.56 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227053 | 207 | 10 | 37 | 20.7 | 0.86875 | 0.115942 | 0 | 0 | 0 | 0 | 0.045714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 4 |
d3fa0215ad6b4e259600462a3df26077c7c82598 | 5,373 | py | Python | netpyne/network/modify.py | FernandoSBorges/netpyne | e1a7adb56b94aa78f8461397319eb4e9754c2d75 | [
"MIT"
] | null | null | null | netpyne/network/modify.py | FernandoSBorges/netpyne | e1a7adb56b94aa78f8461397319eb4e9754c2d75 | [
"MIT"
] | null | null | null | netpyne/network/modify.py | FernandoSBorges/netpyne | e1a7adb56b94aa78f8461397319eb4e9754c2d75 | [
"MIT"
] | null | null | null |
"""
Module for modifying the network model instance
"""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
# -----------------------------------------------------------------------------
# Modify cell params
# -------... | 28.73262 | 137 | 0.568956 | 486 | 5,373 | 6.236626 | 0.176955 | 0.08578 | 0.095018 | 0.058067 | 0.813593 | 0.772022 | 0.741669 | 0.655889 | 0.655889 | 0.655889 | 0 | 0.003754 | 0.206775 | 5,373 | 186 | 138 | 28.887097 | 0.707414 | 0.519821 | 0 | 0.4 | 0 | 0 | 0.23326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.18 | 0 | 0.26 | 0.18 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3fe8352bbf97cb181e50a492cad14dd76ab796b | 264 | py | Python | imodels/optimal_classification_tree/__init__.py | bachsh/interpretability-implementations-demos | 8c03c535d19445d27073702080072f8c28852a36 | [
"MIT"
] | null | null | null | imodels/optimal_classification_tree/__init__.py | bachsh/interpretability-implementations-demos | 8c03c535d19445d27073702080072f8c28852a36 | [
"MIT"
] | null | null | null | imodels/optimal_classification_tree/__init__.py | bachsh/interpretability-implementations-demos | 8c03c535d19445d27073702080072f8c28852a36 | [
"MIT"
] | null | null | null | '''(in progress) [optimal classification tree](https://link.springer.com/article/10.1007/s10994-017-5633-9) (based on [this implementation](https://github.com/pan5431333/pyoptree)) - learns succinct trees using global optimization rather than greedy heuristics
''' | 132 | 260 | 0.784091 | 35 | 264 | 5.914286 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 0.075758 | 264 | 2 | 261 | 132 | 0.741803 | 0.973485 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
310dc6e9c0ce907a7911e75a231d0187edb951a8 | 4,009 | py | Python | pyravendb/tests/operations_tests/test_timeseries_operaiotn.py | poissoncorp/ravendb-python-client | 5003127e6aa6897ab957d73f494b9cbcf9362bf9 | [
"MIT"
] | null | null | null | pyravendb/tests/operations_tests/test_timeseries_operaiotn.py | poissoncorp/ravendb-python-client | 5003127e6aa6897ab957d73f494b9cbcf9362bf9 | [
"MIT"
] | null | null | null | pyravendb/tests/operations_tests/test_timeseries_operaiotn.py | poissoncorp/ravendb-python-client | 5003127e6aa6897ab957d73f494b9cbcf9362bf9 | [
"MIT"
] | null | null | null | from pyravendb.tests.test_base import *
from pyravendb.raven_operations.timeseries_operations import *
import unittest
class TestTimeSeriesOperations(TestBase):
def setUp(self):
super(TestTimeSeriesOperations, self).setUp()
self.timeseries_range = TimeSeriesRange("Heartrate")
with self.sto... | 48.890244 | 120 | 0.686705 | 454 | 4,009 | 5.803965 | 0.202643 | 0.125237 | 0.079317 | 0.069829 | 0.747249 | 0.742315 | 0.71537 | 0.71537 | 0.662619 | 0.646679 | 0 | 0.015152 | 0.209778 | 4,009 | 81 | 121 | 49.493827 | 0.816604 | 0.018957 | 0 | 0.476923 | 0 | 0 | 0.083969 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.123077 | false | 0 | 0.046154 | 0 | 0.184615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 4 |
311ea08ecdf81bf7af53a495843bd3dd1b5ac58d | 1,520 | py | Python | tests/test_buffer.py | conradludgate/multiplex | 82909334dc5d8e38efd0140c02d59995739de590 | [
"MIT"
] | 99 | 2020-10-21T21:19:08.000Z | 2022-02-16T16:33:12.000Z | tests/test_buffer.py | conradludgate/multiplex | 82909334dc5d8e38efd0140c02d59995739de590 | [
"MIT"
] | 10 | 2020-10-25T20:13:34.000Z | 2022-03-27T09:50:03.000Z | tests/test_buffer.py | conradludgate/multiplex | 82909334dc5d8e38efd0140c02d59995739de590 | [
"MIT"
] | 2 | 2020-10-22T22:51:01.000Z | 2020-11-14T17:39:48.000Z | from multiplex.buffer import Buffer
def test_buffer_kitchen():
width = 5
buffer = Buffer(width)
assert buffer.width == width
text = "123456789"
buffer.write(text)
assert buffer.get_max_line(wrap=False) == 0
assert buffer.get_max_line(wrap=True) == 1
assert buffer.get_lines(1, 0, width,... | 43.428571 | 94 | 0.648684 | 233 | 1,520 | 4.072961 | 0.16309 | 0.252898 | 0.189673 | 0.168599 | 0.658588 | 0.612223 | 0.580611 | 0.48156 | 0.406744 | 0.210748 | 0 | 0.08755 | 0.180921 | 1,520 | 34 | 95 | 44.705882 | 0.674699 | 0 | 0 | 0.068966 | 0 | 0 | 0.041447 | 0 | 0 | 0 | 0 | 0 | 0.689655 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.068966 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
313508e0edb8a4fb792e9ebd9f704457c2c761d4 | 164 | py | Python | test/solutions/test_fizz_buzz.py | DPNT-Sourcecode/CHK-eijf01 | e4d136278aedcef5820692a36dc05c98eec473d2 | [
"Apache-2.0"
] | null | null | null | test/solutions/test_fizz_buzz.py | DPNT-Sourcecode/CHK-eijf01 | e4d136278aedcef5820692a36dc05c98eec473d2 | [
"Apache-2.0"
] | null | null | null | test/solutions/test_fizz_buzz.py | DPNT-Sourcecode/CHK-eijf01 | e4d136278aedcef5820692a36dc05c98eec473d2 | [
"Apache-2.0"
] | null | null | null | import unittest
from lib.solutions.fizz_buzz import fizz_buzz
class TestFizzBuzz(unittest.TestCase):
def test_fizz_buzz(self):
self.assertTrue(True)
| 18.222222 | 45 | 0.768293 | 22 | 164 | 5.545455 | 0.681818 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 164 | 8 | 46 | 20.5 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 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 | 4 |
313d37220528d1c8a1fdd3aab3612b047e8f57a2 | 159 | py | Python | test/lib/test_disco_ext.py | oldmantaiter/inferno | 88da465625d18c6848f4be5fb37e20a5ae2c6db1 | [
"MIT"
] | 1 | 2015-10-15T04:18:14.000Z | 2015-10-15T04:18:14.000Z | test/lib/test_disco_ext.py | oldmantaiter/inferno | 88da465625d18c6848f4be5fb37e20a5ae2c6db1 | [
"MIT"
] | null | null | null | test/lib/test_disco_ext.py | oldmantaiter/inferno | 88da465625d18c6848f4be5fb37e20a5ae2c6db1 | [
"MIT"
] | null | null | null | from nose.tools import eq_
from inferno.lib.disco_ext import sorted_iterator
class TestSortedIterator(object):
def test_foo(self):
assert True
| 15.9 | 49 | 0.754717 | 22 | 159 | 5.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 159 | 9 | 50 | 17.666667 | 0.899225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 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 | 4 |
3141ab4fca7df968ebef2648fdf9fe62337c83d9 | 87 | py | Python | zfnweb/choose/apps.py | jokerwho/newzf | cda0e41346dd11f10dd1581c8434f3caf3525e86 | [
"MIT"
] | 60 | 2020-02-19T06:21:57.000Z | 2022-03-16T07:28:26.000Z | zfnweb/choose/apps.py | jokerwho/newzf | cda0e41346dd11f10dd1581c8434f3caf3525e86 | [
"MIT"
] | 14 | 2020-06-08T07:34:52.000Z | 2022-01-17T08:24:40.000Z | zfnweb/choose/apps.py | jokerwho/newzf | cda0e41346dd11f10dd1581c8434f3caf3525e86 | [
"MIT"
] | 11 | 2020-06-23T08:37:24.000Z | 2022-03-30T13:21:42.000Z | from django.apps import AppConfig
class ChooseConfig(AppConfig):
name = 'choose'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3143e0f1ad0b32e2dbd87ea37b1c6d2488dd15fa | 89 | py | Python | indoorair/gateway/apps.py | bci-innovation-labs/indoorair-webapp-a | 9095f885a28189a808be96080bd42512768d1c1f | [
"BSD-3-Clause"
] | 1 | 2019-10-31T03:46:06.000Z | 2019-10-31T03:46:06.000Z | indoorair/gateway/apps.py | bci-innovation-labs/indoorair-webapp-a | 9095f885a28189a808be96080bd42512768d1c1f | [
"BSD-3-Clause"
] | 16 | 2020-11-13T18:55:02.000Z | 2022-03-12T00:36:14.000Z | indoorair/gateway/apps.py | bci-innovation-labs/indoorair-webapp-a | 9095f885a28189a808be96080bd42512768d1c1f | [
"BSD-3-Clause"
] | 1 | 2020-03-04T17:34:52.000Z | 2020-03-04T17:34:52.000Z | from django.apps import AppConfig
class GatewayConfig(AppConfig):
name = 'gateway'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
314aba1fbcb7df778aba9c9a865e46b6810ddcb5 | 229 | py | Python | Control/IPin.py | ace964/Azubot | b77416d6152efdc3a806ee590bac2272629bab5a | [
"MIT"
] | 1 | 2018-07-12T10:14:40.000Z | 2018-07-12T10:14:40.000Z | Control/IPin.py | ace964/Azubot | b77416d6152efdc3a806ee590bac2272629bab5a | [
"MIT"
] | null | null | null | Control/IPin.py | ace964/Azubot | b77416d6152efdc3a806ee590bac2272629bab5a | [
"MIT"
] | null | null | null | """
Interface for pin class
functionality described in azubot_gpio.py
"""
class IPin:
def __init__(self, pin_no, mode):
raise NotImplementedError
def write(self, value):
raise NotImplementedError
| 20.818182 | 45 | 0.681223 | 26 | 229 | 5.769231 | 0.769231 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244541 | 229 | 10 | 46 | 22.9 | 0.867052 | 0.283843 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3176266fae87e41ed157cb1ff97e8fc3683e1fcf | 39 | py | Python | backend/core/views/__init__.py | iamnkc/tournesol | 4a09985f494577917c357783a37dfae02c57fd82 | [
"CC0-1.0"
] | null | null | null | backend/core/views/__init__.py | iamnkc/tournesol | 4a09985f494577917c357783a37dfae02c57fd82 | [
"CC0-1.0"
] | null | null | null | backend/core/views/__init__.py | iamnkc/tournesol | 4a09985f494577917c357783a37dfae02c57fd82 | [
"CC0-1.0"
] | null | null | null | """
Views for Tournesol's core app
"""
| 9.75 | 30 | 0.641026 | 6 | 39 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 3 | 31 | 13 | 0.78125 | 0.769231 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31bc2f07ae5341acc42595323e9fb9bb9c8494a4 | 242 | py | Python | aula1/projeto1.py | otaviobizulli/python-exercices | 2c61f014bf481fa463721b174ddd4238bf8d0cb3 | [
"MIT"
] | null | null | null | aula1/projeto1.py | otaviobizulli/python-exercices | 2c61f014bf481fa463721b174ddd4238bf8d0cb3 | [
"MIT"
] | null | null | null | aula1/projeto1.py | otaviobizulli/python-exercices | 2c61f014bf481fa463721b174ddd4238bf8d0cb3 | [
"MIT"
] | null | null | null | nome = input("Insira seu nome: ")
nota1 = float(input("Insira sua nota da primeira prova: "))
nota2 = float(input("Insira sua nota da segunda prova: "))
div = (nota1 + nota2) / 2
print(f"a media de {nome} foi {div:.2f} ao final das provas.")
| 40.333333 | 62 | 0.673554 | 40 | 242 | 4.075 | 0.65 | 0.202454 | 0.196319 | 0.233129 | 0.306748 | 0.306748 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.169421 | 242 | 5 | 63 | 48.4 | 0.781095 | 0 | 0 | 0 | 0 | 0 | 0.570248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 4 |
31db0b6f94cee23fe33af275e6a24e5e5051f699 | 392 | py | Python | integreat_cms/cms/views/users/__init__.py | Integreat/cms-v2 | c79a54fd5abb792696420aa6427a5e5a356fa79c | [
"Apache-2.0"
] | 21 | 2018-10-26T20:10:45.000Z | 2020-10-22T09:41:46.000Z | integreat_cms/cms/views/users/__init__.py | Integreat/cms-v2 | c79a54fd5abb792696420aa6427a5e5a356fa79c | [
"Apache-2.0"
] | 392 | 2018-10-25T08:34:07.000Z | 2020-11-19T08:20:30.000Z | integreat_cms/cms/views/users/__init__.py | Integreat/cms-v2 | c79a54fd5abb792696420aa6427a5e5a356fa79c | [
"Apache-2.0"
] | 23 | 2019-03-06T17:11:35.000Z | 2020-10-16T04:36:41.000Z | """
This package contains all views related to users
"""
from .user_list_view import UserListView
from .user_form_view import UserFormView
from .user_actions import delete_user, resend_activation_link
from .region_user_list_view import RegionUserListView
from .region_user_form_view import RegionUserFormView
from .regio... | 39.2 | 82 | 0.872449 | 55 | 392 | 5.836364 | 0.436364 | 0.124611 | 0.130841 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 392 | 9 | 83 | 43.555556 | 0.901685 | 0.122449 | 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 | 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 | 4 |
7348b34e604ba150bb03b7b69356725b129ba4a0 | 407 | py | Python | src/runtime/tests.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | null | null | null | src/runtime/tests.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | null | null | null | src/runtime/tests.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | null | null | null | from django.test import TestCase
from src.logs.models import Log
from src.utils.tests_utils import general_example_test_filepath
from .replayer import Replayer
class DemoTest(TestCase):
@staticmethod
def test_demo_executions():
Log.objects.get_or_create(name='general_example_test.xes', path=general_... | 27.133333 | 102 | 0.764128 | 55 | 407 | 5.418182 | 0.581818 | 0.14094 | 0.181208 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01462 | 0.159705 | 407 | 14 | 103 | 29.071429 | 0.856725 | 0 | 0 | 0 | 0 | 0 | 0.058968 | 0.058968 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
73550272c946b68cee910335603fd433716dc089 | 595 | py | Python | tests/classes/super_bond.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 50 | 2021-08-18T08:08:04.000Z | 2022-03-20T07:23:26.000Z | tests/classes/super_bond.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 1 | 2021-02-21T03:18:09.000Z | 2021-03-08T01:07:52.000Z | tests/classes/super_bond.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 8 | 2021-07-01T02:39:15.000Z | 2021-12-10T02:20:18.000Z | from __future__ import annotations
from typing import Optional
from jsonclasses import jsonclass, types
@jsonclass
class SuperBond:
i_ub: Optional[int] = types.int.upperbond(150)
f_ub: Optional[float] = types.float.upperbond(150.0)
c_ub: Optional[int] = types.int.upperbond(lambda: 150)
t_ub: Optional[... | 35 | 65 | 0.727731 | 88 | 595 | 4.784091 | 0.295455 | 0.15677 | 0.228029 | 0.225653 | 0.356295 | 0.356295 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.142857 | 595 | 16 | 66 | 37.1875 | 0.790196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.230769 | 0 | 0.923077 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7355c92ac36a5d7ca93b0339666f8d134ce82dcf | 2,066 | py | Python | test/test_environment_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | test/test_environment_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | test/test_environment_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
Emby Server API
Explore the Emby Server API # noqa: E501
OpenAPI spec version: 4.1.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import embyapi
from embyapi.api.environment_service_api impor... | 24.891566 | 83 | 0.670862 | 245 | 2,066 | 5.453061 | 0.322449 | 0.125749 | 0.057635 | 0.078593 | 0.416916 | 0.398204 | 0.267964 | 0.208084 | 0.208084 | 0.16018 | 0 | 0.022966 | 0.262343 | 2,066 | 82 | 84 | 25.195122 | 0.853675 | 0.465634 | 0 | 0.307692 | 1 | 0 | 0.008743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0.307692 | 0.192308 | 0 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
b4055f6e0227711beab7e9b82af465fd73afbb74 | 241 | py | Python | test/test.py | DanteAlonsoHT/Create_my_own_python_linters | d4ff91ff6356f077b19d2e0a3693ee4ed0af1f9e | [
"MIT"
] | 3 | 2021-05-20T03:00:14.000Z | 2021-10-20T18:14:56.000Z | test/test.py | DanteAlonsoHT/Create_my_own_python_linters | d4ff91ff6356f077b19d2e0a3693ee4ed0af1f9e | [
"MIT"
] | null | null | null | test/test.py | DanteAlonsoHT/Create_my_own_python_linters | d4ff91ff6356f077b19d2e0a3693ee4ed0af1f9e | [
"MIT"
] | null | null | null | #print("Hello World")
print("Hello World")
a= 5
b =5
c = [9, 5,3]
if a == a:
print("Hello")
if a == c :
print("Hello")
if a > b:
print('Hello')
while True :
print ( "Hello" )
break
print ( a + b )
| 10.954545 | 24 | 0.460581 | 37 | 241 | 3 | 0.351351 | 0.540541 | 0.27027 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.356846 | 241 | 21 | 25 | 11.47619 | 0.683871 | 0.082988 | 0 | 0.214286 | 0 | 0 | 0.140909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b438ba9cd1eab313935ab6a36fbb13369b3ba522 | 237 | py | Python | teams/serializers.py | onerbs/treux | 3ec3a80a49de2860efcc0b1806e9063975c35023 | [
"MIT"
] | null | null | null | teams/serializers.py | onerbs/treux | 3ec3a80a49de2860efcc0b1806e9063975c35023 | [
"MIT"
] | null | null | null | teams/serializers.py | onerbs/treux | 3ec3a80a49de2860efcc0b1806e9063975c35023 | [
"MIT"
] | null | null | null | from rest_framework.serializers import StringRelatedField
from base.serializers import serializer
from teams.models import Team
class TeamSerializer(serializer(Team, ['name', 'description'])):
members = StringRelatedField(many=True)
| 26.333333 | 64 | 0.818565 | 26 | 237 | 7.423077 | 0.692308 | 0.176166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097046 | 237 | 8 | 65 | 29.625 | 0.901869 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b44be0945ee52b514d072c850b8d4e6a2045454d | 996 | py | Python | third_party/python-peachpy/test/x86_64/encoding/test_imm.py | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | 40 | 2021-06-01T07:37:59.000Z | 2022-03-25T01:42:09.000Z | third_party/python-peachpy/test/x86_64/encoding/test_imm.py | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | 14 | 2021-06-01T11:52:46.000Z | 2022-03-25T02:13:08.000Z | third_party/python-peachpy/test/x86_64/encoding/test_imm.py | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | 7 | 2021-07-20T19:34:26.000Z | 2022-03-13T21:07:36.000Z | # This file is auto-generated by /codegen/x86_64_test_encoding.py
# Reference opcodes are generated by:
# GNU assembler (GNU Binutils) 2.25
from peachpy.x86_64 import *
import unittest
class TestImm8(unittest.TestCase):
def runTest(self):
self.assertEqual(bytearray([0x49, 0x83, 0xF8, 0x00]), CMP(r8, ... | 45.272727 | 117 | 0.684739 | 130 | 996 | 5.215385 | 0.469231 | 0.154867 | 0.247788 | 0.221239 | 0.448378 | 0.271386 | 0.159292 | 0.159292 | 0 | 0 | 0 | 0.145411 | 0.157631 | 996 | 21 | 118 | 47.428571 | 0.662694 | 0.13755 | 0 | 0.153846 | 1 | 0 | 0 | 0 | 0 | 0 | 0.215205 | 0 | 0.538462 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.461538 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b465b3f18e926fc62133c6c31492501cece478c8 | 110 | py | Python | Week 2/Lecture 3 - Simple Algorithms/Questions/Lec3Problem5a.py | roshanM99/edX--mitX--introduction-to-computer-science-and-programming-with-python | 81a7247e8442feddd624b5dbcd70cde1b58d2965 | [
"MIT"
] | null | null | null | Week 2/Lecture 3 - Simple Algorithms/Questions/Lec3Problem5a.py | roshanM99/edX--mitX--introduction-to-computer-science-and-programming-with-python | 81a7247e8442feddd624b5dbcd70cde1b58d2965 | [
"MIT"
] | null | null | null | Week 2/Lecture 3 - Simple Algorithms/Questions/Lec3Problem5a.py | roshanM99/edX--mitX--introduction-to-computer-science-and-programming-with-python | 81a7247e8442feddd624b5dbcd70cde1b58d2965 | [
"MIT"
] | null | null | null | # Lecture 3, problem 5
for num in range(2, 12, 2):
print num
if (num == 10):
print "Goodbye!" | 18.333333 | 27 | 0.545455 | 18 | 110 | 3.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0.318182 | 110 | 6 | 28 | 18.333333 | 0.693333 | 0.181818 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b46865c81578a0b18a187f81e77177d91bb6e5a1 | 34 | py | Python | tests/components/here_travel_time/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/here_travel_time/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/here_travel_time/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for HERE Travel Time."""
| 17 | 33 | 0.647059 | 5 | 34 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.758621 | 0.794118 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b4818768ce0950939b8ddd29dcbe21be000da56d | 22 | py | Python | lambda/package/sendgrid/version.py | DanielDaCosta/lambda-email | 7ba74205bd72187e5c5f8e7fb0fc05e092b620ce | [
"MIT"
] | 4 | 2020-11-13T02:31:27.000Z | 2020-12-24T22:04:35.000Z | lambda/package/sendgrid/version.py | DanielDaCosta/lambda-email | 7ba74205bd72187e5c5f8e7fb0fc05e092b620ce | [
"MIT"
] | null | null | null | lambda/package/sendgrid/version.py | DanielDaCosta/lambda-email | 7ba74205bd72187e5c5f8e7fb0fc05e092b620ce | [
"MIT"
] | null | null | null | __version__ = '6.4.3'
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 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 | 0 | 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 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.