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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1d57c53536f36f5cb917023c4104b159a05ff112 | 64,705 | py | Python | tests/unit/tasks/test_generate_queries.py | linji0801/amazon-s3-find-and-forget | 9005fded8176faaee1e12cc42dc57f7d7b861a0d | [
"Apache-2.0"
] | null | null | null | tests/unit/tasks/test_generate_queries.py | linji0801/amazon-s3-find-and-forget | 9005fded8176faaee1e12cc42dc57f7d7b861a0d | [
"Apache-2.0"
] | null | null | null | tests/unit/tasks/test_generate_queries.py | linji0801/amazon-s3-find-and-forget | 9005fded8176faaee1e12cc42dc57f7d7b861a0d | [
"Apache-2.0"
] | null | null | null | import json
import os
from types import SimpleNamespace
import mock
import pytest
from mock import patch, MagicMock
with patch.dict(os.environ, {"QueryQueue": "test"}):
from backend.lambdas.tasks.generate_queries import (
cast_to_type,
generate_athena_queries,
get_data_mappers,
get... | 38.629851 | 105 | 0.460413 | 4,802 | 64,705 | 5.96918 | 0.065598 | 0.023723 | 0.040434 | 0.057459 | 0.864534 | 0.837915 | 0.819739 | 0.795632 | 0.774944 | 0.761792 | 0 | 0.044346 | 0.407897 | 64,705 | 1,674 | 106 | 38.652927 | 0.703826 | 0.005363 | 0 | 0.658354 | 0 | 0.001247 | 0.310628 | 0.104201 | 0 | 0 | 0 | 0 | 0.029302 | 1 | 0.01995 | false | 0 | 0.004364 | 0.001247 | 0.026185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d61b04ad29fe4cf49fb6932cbc074ef94d8bbb0 | 194 | py | Python | smime/test/test_config.py | balena/python-smime | 046a53e518442a611dd1065e3cd93d5fbfbcf8aa | [
"Apache-2.0"
] | 15 | 2016-11-28T15:00:12.000Z | 2020-07-22T20:10:00.000Z | smime/test/test_config.py | balena/python-smime | 046a53e518442a611dd1065e3cd93d5fbfbcf8aa | [
"Apache-2.0"
] | 14 | 2017-08-01T15:02:20.000Z | 2021-05-17T17:53:39.000Z | smime/test/test_config.py | balena/python-smime | 046a53e518442a611dd1065e3cd93d5fbfbcf8aa | [
"Apache-2.0"
] | 16 | 2016-07-21T10:11:41.000Z | 2021-11-20T20:46:59.000Z | """Test meta-data and configuration."""
import os
CRYPTO_TEST_DATA_DIR = "smime/testdata/"
def get_test_file_path(filename):
return os.path.join(os.curdir, CRYPTO_TEST_DATA_DIR, filename) | 24.25 | 66 | 0.773196 | 30 | 194 | 4.7 | 0.633333 | 0.141844 | 0.198582 | 0.241135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108247 | 194 | 8 | 66 | 24.25 | 0.815029 | 0.170103 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1d9ae2ea1860c8d9a5c181846169ed0e22e02873 | 225 | py | Python | fulmo/readers/__init__.py | jexio/fulmo | daa4bd4f1cf3b8bd785a9024a413db9a0238f10c | [
"MIT"
] | null | null | null | fulmo/readers/__init__.py | jexio/fulmo | daa4bd4f1cf3b8bd785a9024a413db9a0238f10c | [
"MIT"
] | 80 | 2021-07-13T12:58:25.000Z | 2022-03-24T03:17:08.000Z | fulmo/readers/__init__.py | jexio/fulmo | daa4bd4f1cf3b8bd785a9024a413db9a0238f10c | [
"MIT"
] | null | null | null | from .base import Augmentor, AugmentorCompose, IReader, ReaderCompose # noqa: F401
from .cv import ImageReader, MaskReader # noqa: F401
from .label import ScalarReader # noqa: F401
from .npy import NpyReader # noqa: F401
| 45 | 83 | 0.768889 | 28 | 225 | 6.178571 | 0.571429 | 0.184971 | 0.208092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.16 | 225 | 4 | 84 | 56.25 | 0.851852 | 0.191111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 6 |
d5543aad496b75162c1522bc0beab2d414bb09c5 | 3,389 | py | Python | FCFS_algo.py | Amir-Shamsi/cpu-scheduling-algorithm | 9e19d2286911f14503e1ee913f270ae406a21336 | [
"BSD-2-Clause"
] | 2 | 2022-02-23T06:58:49.000Z | 2022-03-22T18:28:09.000Z | FCFS_algo.py | Amir-Shamsi/cpu-scheduling-algorithm | 9e19d2286911f14503e1ee913f270ae406a21336 | [
"BSD-2-Clause"
] | null | null | null | FCFS_algo.py | Amir-Shamsi/cpu-scheduling-algorithm | 9e19d2286911f14503e1ee913f270ae406a21336 | [
"BSD-2-Clause"
] | null | null | null | import sys
sys.path.append(".")
from Grantt_Information import ProcessGrantInfo
class FCFS:
processes = []
grantt_chart = []
mode = ''
ClassName = 'FCFS'
def __init__(self, processes, mode=''):
self.mode = mode
self.processes = processes
def cpu_process(self):
for pr... | 57.440678 | 146 | 0.501918 | 330 | 3,389 | 4.8 | 0.118182 | 0.138889 | 0.159091 | 0.215909 | 0.797348 | 0.797348 | 0.752525 | 0.732955 | 0.721591 | 0.673611 | 0 | 0.010995 | 0.436412 | 3,389 | 58 | 147 | 58.431034 | 0.818325 | 0.072293 | 0 | 0.521739 | 0 | 0 | 0.0016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d566c307e6c2ade4ebf662e9224eca755ba41725 | 81 | py | Python | backend/src/pox/ext/gini/core/openflow_debug.py | anrl/gini4 | d26649c8c02a1737159e48732cf1ee15ba2a604d | [
"MIT"
] | 11 | 2019-03-02T20:39:34.000Z | 2021-09-02T19:47:38.000Z | backend/src/pox/ext/gini/core/openflow_debug.py | anrl/gini4 | d26649c8c02a1737159e48732cf1ee15ba2a604d | [
"MIT"
] | 29 | 2019-01-17T15:44:48.000Z | 2021-06-02T00:19:40.000Z | backend/src/pox/ext/gini/core/openflow_debug.py | anrl/gini4 | d26649c8c02a1737159e48732cf1ee15ba2a604d | [
"MIT"
] | 11 | 2019-01-28T05:00:55.000Z | 2021-11-12T03:08:32.000Z | #!/usr/bin/python2
from openflow import debug
def launch():
debug.launch()
| 11.571429 | 26 | 0.691358 | 11 | 81 | 5.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.17284 | 81 | 6 | 27 | 13.5 | 0.820896 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d589be2f66ffebf8c7869615ea4f6577c7bc4607 | 176 | py | Python | Assignment/tests/__init__.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | Assignment/tests/__init__.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | Assignment/tests/__init__.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | from .array_test import *
from .hash_table_test import *
from .network_test import *
from .set_test import *
from .singly_linked_list_test import *
from .sorting_test import *
| 25.142857 | 38 | 0.795455 | 27 | 176 | 4.851852 | 0.444444 | 0.458015 | 0.534351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 176 | 6 | 39 | 29.333333 | 0.861842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d59862a5e0a70b25e02d0452dbad10c69794e9c8 | 144 | py | Python | choices.py | philippaborrill/planets | f529636147bcb32a3136d18e2519d6d096793645 | [
"MIT"
] | null | null | null | choices.py | philippaborrill/planets | f529636147bcb32a3136d18e2519d6d096793645 | [
"MIT"
] | null | null | null | choices.py | philippaborrill/planets | f529636147bcb32a3136d18e2519d6d096793645 | [
"MIT"
] | null | null | null | num = -10
if num > 0:
print(num, 'is positive')
elif num == 0:
print(num, 'is zero')
else:
print(num, 'is negative')
print('done')
| 14.4 | 29 | 0.569444 | 23 | 144 | 3.565217 | 0.521739 | 0.292683 | 0.365854 | 0.292683 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.243056 | 144 | 9 | 30 | 16 | 0.715596 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6335ae09c721eb161351029dbcbb7f448de0fbcc | 80 | py | Python | dpack/processors/jsmin.py | dcwatson/dpack | 80129bb2e76ba897a5c383c58f01051d14af271c | [
"MIT"
] | null | null | null | dpack/processors/jsmin.py | dcwatson/dpack | 80129bb2e76ba897a5c383c58f01051d14af271c | [
"MIT"
] | 1 | 2021-04-22T14:15:25.000Z | 2021-04-22T14:18:52.000Z | dpack/processors/jsmin.py | dcwatson/dpack | 80129bb2e76ba897a5c383c58f01051d14af271c | [
"MIT"
] | null | null | null | import rjsmin
def process(text, input, packer):
return rjsmin.jsmin(text)
| 13.333333 | 33 | 0.725 | 11 | 80 | 5.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 5 | 34 | 16 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
63780099ed3c3bbee0fbddb68bebd1d5c2d2d487 | 20,934 | py | Python | dlpy/tests/test_image_captioning.py | jkhargharia/python-dlpy | bfd9c93b9091d1c1a244d477fba140a7f718249b | [
"Apache-2.0"
] | 1 | 2018-08-27T15:10:11.000Z | 2018-08-27T15:10:11.000Z | dlpy/tests/test_image_captioning.py | jkhargharia/python-dlpy | bfd9c93b9091d1c1a244d477fba140a7f718249b | [
"Apache-2.0"
] | null | null | null | dlpy/tests/test_image_captioning.py | jkhargharia/python-dlpy | bfd9c93b9091d1c1a244d477fba140a7f718249b | [
"Apache-2.0"
] | 1 | 2019-09-19T15:59:26.000Z | 2019-09-19T15:59:26.000Z | #!/usr/bin/env python
# encoding: utf-8
#
# Copyright SAS Institute
#
# 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 b... | 49.961814 | 112 | 0.633037 | 2,551 | 20,934 | 4.920423 | 0.101529 | 0.068595 | 0.069232 | 0.09146 | 0.800032 | 0.771272 | 0.754939 | 0.744264 | 0.72602 | 0.706103 | 0 | 0.01243 | 0.285182 | 20,934 | 419 | 113 | 49.961814 | 0.826383 | 0.061336 | 0 | 0.653125 | 0 | 0 | 0.166973 | 0.051408 | 0 | 0 | 0 | 0 | 0.084375 | 1 | 0.078125 | false | 0.003125 | 0.025 | 0 | 0.121875 | 0.003125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89279868b49faee898abd05fae2aad54367f683a | 46 | py | Python | disarm_gears/r_plugins/__init__.py | disarm-platform/disarm-gears | d9f747687e632102a4ef2821b33936daacb01b6c | [
"MIT"
] | null | null | null | disarm_gears/r_plugins/__init__.py | disarm-platform/disarm-gears | d9f747687e632102a4ef2821b33936daacb01b6c | [
"MIT"
] | 11 | 2019-02-28T00:18:47.000Z | 2020-02-22T20:36:00.000Z | disarm_gears/r_plugins/__init__.py | disarm-platform/disarm-gears | d9f747687e632102a4ef2821b33936daacb01b6c | [
"MIT"
] | null | null | null | from disarm_gears.r_plugins.r_methods import * | 46 | 46 | 0.869565 | 8 | 46 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
899850468b3265498bfd4036b09938467d125a8b | 104 | py | Python | yapfexample.py | MineRobber9000/pyfiles | ad2f2fc3ed827e8891a7d82c13e3e961bacc3294 | [
"MIT"
] | null | null | null | yapfexample.py | MineRobber9000/pyfiles | ad2f2fc3ed827e8891a7d82c13e3e961bacc3294 | [
"MIT"
] | null | null | null | yapfexample.py | MineRobber9000/pyfiles | ad2f2fc3ed827e8891a7d82c13e3e961bacc3294 | [
"MIT"
] | null | null | null | class GetFixed:
def __init__(self,value):
self.value=value
def __get__(self,k):
return self.value
| 17.333333 | 26 | 0.740385 | 16 | 104 | 4.3125 | 0.5625 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 27 | 20.8 | 0.775281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7f2acd96b3331e51b37b56f70dc85639452db770 | 86 | py | Python | src/modules/__init__.py | michael-wzhu/dynamic_routing_pytorch | d19f8ee270e4d98698d229a1d303c7a742eb2ecd | [
"MIT"
] | null | null | null | src/modules/__init__.py | michael-wzhu/dynamic_routing_pytorch | d19f8ee270e4d98698d229a1d303c7a742eb2ecd | [
"MIT"
] | null | null | null | src/modules/__init__.py | michael-wzhu/dynamic_routing_pytorch | d19f8ee270e4d98698d229a1d303c7a742eb2ecd | [
"MIT"
] | null | null | null | from src.modules.seq2vec_encoders import *
from src.modules.seq2seq_encoders import *
| 28.666667 | 42 | 0.837209 | 12 | 86 | 5.833333 | 0.583333 | 0.2 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.093023 | 86 | 2 | 43 | 43 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 6 |
7f6454a5958bc6eb98cfdd64df5f3147221d8f55 | 20 | py | Python | models/vma/__init__.py | artemZholus/variational_memory_addressing | fc6ea32bf1898ad2c67dd63309d7162239149cf7 | [
"MIT"
] | 5 | 2021-03-21T22:43:37.000Z | 2022-01-09T11:12:32.000Z | models/vma/__init__.py | artemZholus/variational_memory_addressing | fc6ea32bf1898ad2c67dd63309d7162239149cf7 | [
"MIT"
] | null | null | null | models/vma/__init__.py | artemZholus/variational_memory_addressing | fc6ea32bf1898ad2c67dd63309d7162239149cf7 | [
"MIT"
] | null | null | null | from .vma import VMA | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f7ce2ab77025111d5bbbb7cb128d6d9395a3be3 | 73 | py | Python | Gravitator/__init__.py | Monkvy/Gravitational-Attraction | 1b4c7d5e90f1c353670263e03ef4e9bf3e941e33 | [
"MIT"
] | null | null | null | Gravitator/__init__.py | Monkvy/Gravitational-Attraction | 1b4c7d5e90f1c353670263e03ef4e9bf3e941e33 | [
"MIT"
] | null | null | null | Gravitator/__init__.py | Monkvy/Gravitational-Attraction | 1b4c7d5e90f1c353670263e03ef4e9bf3e941e33 | [
"MIT"
] | null | null | null | from app import Application
from body import Body
import utils
import ui
| 14.6 | 27 | 0.835616 | 12 | 73 | 5.083333 | 0.583333 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 4 | 28 | 18.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
7fa1a9c863623725382f8500685aeae8c3aa6a5c | 36 | py | Python | inpoly/__init__.py | dengwirda/inpoly-python | fa164176573c922337ad47b4dfee8d73c8eb760c | [
"Unlicense"
] | 6 | 2020-10-26T20:31:43.000Z | 2021-08-12T11:31:00.000Z | inpoly/__init__.py | dengwirda/inpoly-python | fa164176573c922337ad47b4dfee8d73c8eb760c | [
"Unlicense"
] | 10 | 2020-09-26T16:58:56.000Z | 2022-03-09T00:03:39.000Z | inpoly/__init__.py | dengwirda/inpoly-python | fa164176573c922337ad47b4dfee8d73c8eb760c | [
"Unlicense"
] | null | null | null |
from inpoly.inpoly2 import inpoly2
| 12 | 34 | 0.833333 | 5 | 36 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.138889 | 36 | 2 | 35 | 18 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f69552f0fe60bb1eb2ac641437e1da7ad2987454 | 52 | py | Python | exp_3.py | XinyueZ/some-python-codes | 2d7296a4deebb0cd086be34ad7d66f5042cdf6e6 | [
"Unlicense"
] | null | null | null | exp_3.py | XinyueZ/some-python-codes | 2d7296a4deebb0cd086be34ad7d66f5042cdf6e6 | [
"Unlicense"
] | null | null | null | exp_3.py | XinyueZ/some-python-codes | 2d7296a4deebb0cd086be34ad7d66f5042cdf6e6 | [
"Unlicense"
] | null | null | null | import math
print(math.e ** 3)
print(math.exp(3))
| 8.666667 | 18 | 0.653846 | 10 | 52 | 3.4 | 0.6 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 52 | 5 | 19 | 10.4 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f6c0c98230c66c9f2b8e804c418b1433a7dad8d8 | 164 | py | Python | webpic_user.py | j2cry/webpic | e185f65d20b6e24c1d7be00ecba1528116145130 | [
"MIT"
] | null | null | null | webpic_user.py | j2cry/webpic | e185f65d20b6e24c1d7be00ecba1528116145130 | [
"MIT"
] | null | null | null | webpic_user.py | j2cry/webpic | e185f65d20b6e24c1d7be00ecba1528116145130 | [
"MIT"
] | null | null | null | from flask_login import UserMixin
class WebpicUser(UserMixin):
def __init__(self, uid):
self.uid = uid
def get_id(self):
return self.uid
| 16.4 | 33 | 0.658537 | 22 | 164 | 4.636364 | 0.636364 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262195 | 164 | 9 | 34 | 18.222222 | 0.842975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
63db3d5216d1ac442f33fd80411a90a8cc4f3a29 | 2,155 | py | Python | munigeo/migrations/0004_delete_old_translations.py | juuso-j/django-munigeo | d7a1caf1a065a02f2bcafc4821b94c01bbd5e362 | [
"BSD-2-Clause"
] | 9 | 2015-04-15T22:58:27.000Z | 2016-04-13T14:47:07.000Z | munigeo/migrations/0004_delete_old_translations.py | juuso-j/django-munigeo | d7a1caf1a065a02f2bcafc4821b94c01bbd5e362 | [
"BSD-2-Clause"
] | 16 | 2017-06-02T09:03:14.000Z | 2022-03-22T06:33:45.000Z | munigeo/migrations/0004_delete_old_translations.py | juuso-j/django-munigeo | d7a1caf1a065a02f2bcafc4821b94c01bbd5e362 | [
"BSD-2-Clause"
] | 7 | 2017-06-29T06:47:12.000Z | 2022-03-21T12:29:06.000Z | # Generated by Django 2.0.5 on 2018-07-17 09:12
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('munigeo', '0003_migrate_translations_to_parler'),
]
operations = [
migrations.RenameField(
model_name='administrativedivisiontranslation... | 26.604938 | 59 | 0.524362 | 165 | 2,155 | 6.618182 | 0.272727 | 0.131868 | 0.285714 | 0.32967 | 0.70696 | 0.70696 | 0.70696 | 0.241758 | 0.223443 | 0.106227 | 0 | 0.013981 | 0.369374 | 2,155 | 80 | 60 | 26.9375 | 0.789551 | 0.020882 | 0 | 0.824324 | 1 | 0 | 0.190228 | 0.084915 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013514 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63df669b0b2de31e3222293f32b526253e179749 | 495 | py | Python | pages/demo_blaze/sing_page.py | sgbm0592/test_automation | 0965b9a4b4df450d90e11b798d107837abf1bdca | [
"MIT"
] | null | null | null | pages/demo_blaze/sing_page.py | sgbm0592/test_automation | 0965b9a4b4df450d90e11b798d107837abf1bdca | [
"MIT"
] | null | null | null | pages/demo_blaze/sing_page.py | sgbm0592/test_automation | 0965b9a4b4df450d90e11b798d107837abf1bdca | [
"MIT"
] | null | null | null |
class SingUpPage:
_option_sign_id = 'signin2'
_option_username_id = 'sign-username'
_option_password_id = 'sign-password'
_option_sign_up_id = '//button[contains(text(), "Sign up")]'
def get_sign_option(self):
return self._option_sign_id
def get_username_option(self):
return ... | 24.75 | 64 | 0.709091 | 67 | 495 | 4.716418 | 0.238806 | 0.126582 | 0.202532 | 0.253165 | 0.35443 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0.002545 | 0.206061 | 495 | 19 | 65 | 26.052632 | 0.801527 | 0 | 0 | 0 | 0 | 0 | 0.1417 | 0.050607 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.230769 | 0 | 0.307692 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
63f60a8d12033a68e4389d55dcb5ab10e9814926 | 96 | py | Python | pathod/version.py | dolfly/mitmproxy | 4604c25c6055a37e5f25a238d2a089759bd5d98a | [
"MIT"
] | 1 | 2019-08-20T11:54:06.000Z | 2019-08-20T11:54:06.000Z | pathod/version.py | dolfly/mitmproxy | 4604c25c6055a37e5f25a238d2a089759bd5d98a | [
"MIT"
] | null | null | null | pathod/version.py | dolfly/mitmproxy | 4604c25c6055a37e5f25a238d2a089759bd5d98a | [
"MIT"
] | null | null | null | from __future__ import (absolute_import, print_function, division)
from netlib.version import * | 32 | 66 | 0.833333 | 12 | 96 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 96 | 3 | 67 | 32 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1258095be484226260b8b4029d95698946c76344 | 95 | py | Python | 01SparkDemo/run.py | zhguokai/PythonStudy | 7bfaced3d9171cfec86e8a3ab0f53d38906b70c7 | [
"MIT"
] | null | null | null | 01SparkDemo/run.py | zhguokai/PythonStudy | 7bfaced3d9171cfec86e8a3ab0f53d38906b70c7 | [
"MIT"
] | null | null | null | 01SparkDemo/run.py | zhguokai/PythonStudy | 7bfaced3d9171cfec86e8a3ab0f53d38906b70c7 | [
"MIT"
] | null | null | null | from init_spark.spark_sql import load_data_sql
if __name__ == '__main__':
load_data_sql()
| 19 | 46 | 0.768421 | 15 | 95 | 3.933333 | 0.666667 | 0.271186 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 4 | 47 | 23.75 | 0.728395 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c3909aefad03cb7e431c3124efaf6e082d43aa93 | 190 | py | Python | conf/script/src/build_system/cmd/compiler/host/get_info/version/gcc/impl.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | null | null | null | conf/script/src/build_system/cmd/compiler/host/get_info/version/gcc/impl.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | 113 | 2021-02-15T19:22:36.000Z | 2021-05-07T15:17:42.000Z | conf/script/src/build_system/cmd/compiler/host/get_info/version/gcc/impl.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | null | null | null | __all__ = ['fetch_gcc_version']
from build_system.compiler import *
from ..gnu import *
def fetch_gcc_version() -> CompilerVersion:
return fetch_gnu_version(CompilerFamily.GCC.value)
| 21.111111 | 54 | 0.773684 | 24 | 190 | 5.666667 | 0.625 | 0.117647 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 190 | 8 | 55 | 23.75 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.089474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 6 |
c3a6a467c2aacb29d94e0fa837598968db8129bf | 126 | py | Python | debian/_sysconfigdata.py | balabit-deps/balabit-os-6-python2.7 | 3730e58d90e5160761d9cc5b96180f3be1fd8cd3 | [
"PSF-2.0"
] | 15 | 2019-07-10T16:50:17.000Z | 2022-01-23T14:28:17.000Z | debian/_sysconfigdata.py | balabit-deps/balabit-os-6-python2.7 | 3730e58d90e5160761d9cc5b96180f3be1fd8cd3 | [
"PSF-2.0"
] | 2 | 2020-01-18T11:19:04.000Z | 2021-04-27T13:30:33.000Z | debian/_sysconfigdata.py | balabit-deps/balabit-os-6-python2.7 | 3730e58d90e5160761d9cc5b96180f3be1fd8cd3 | [
"PSF-2.0"
] | 4 | 2020-01-09T20:14:30.000Z | 2021-04-23T07:47:27.000Z | import sys
if hasattr(sys, 'gettotalrefcount'):
from _sysconfigdata_d import *
else:
from _sysconfigdata_nd import *
| 18 | 36 | 0.746032 | 15 | 126 | 6 | 0.666667 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 126 | 6 | 37 | 21 | 0.873786 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3a8b59cbd170f73584725c86567de2cb50ed51e | 162 | py | Python | game_db/games/admin.py | ErnestC30/DjangoReact_GameDB | a40ef74c7afb0d1823e9393df02fe41b4769831c | [
"Unlicense"
] | null | null | null | game_db/games/admin.py | ErnestC30/DjangoReact_GameDB | a40ef74c7afb0d1823e9393df02fe41b4769831c | [
"Unlicense"
] | null | null | null | game_db/games/admin.py | ErnestC30/DjangoReact_GameDB | a40ef74c7afb0d1823e9393df02fe41b4769831c | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from games.models import Game, Genre, Comment
admin.site.register(Game)
admin.site.register(Genre)
admin.site.register(Comment)
| 23.142857 | 45 | 0.814815 | 24 | 162 | 5.5 | 0.5 | 0.204545 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 162 | 6 | 46 | 27 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7f03b61d42c3373871052c5df20a6919b8609347 | 27 | py | Python | contrib/python/numpy/numpy/fft/fftpack_lite/__init__.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1 | 2021-01-19T17:18:38.000Z | 2021-01-19T17:18:38.000Z | contrib/python/numpy/numpy/fft/fftpack_lite/__init__.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | null | null | null | contrib/python/numpy/numpy/fft/fftpack_lite/__init__.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1 | 2019-07-01T20:59:01.000Z | 2019-07-01T20:59:01.000Z | from fftpack_lite import *
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f03c71ae8aff2f4bcdce9e19367d13f458f9041 | 164 | py | Python | hbutils/testing/requires/__init__.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | null | null | null | hbutils/testing/requires/__init__.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | 25 | 2021-10-03T06:19:05.000Z | 2022-03-27T12:48:57.000Z | hbutils/testing/requires/__init__.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | null | null | null | """
Overview:
System requirements conditions for unittest.
Can be used on ``unittest.skipUnless``, ``pytest.mark.skipUnless``, etc.
"""
from .expr import *
| 23.428571 | 76 | 0.689024 | 19 | 164 | 5.947368 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 6 | 77 | 27.333333 | 0.824818 | 0.823171 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
614cbc3a0d9ec0551e4614efc18bc5ae6e247f3d | 105 | py | Python | test/unit/test_generatetimestamp.py | jlhood/timestamp-custom-resource | 69aee2bd3f00c2aff035a34325b5a7e1e7e7d919 | [
"MIT"
] | null | null | null | test/unit/test_generatetimestamp.py | jlhood/timestamp-custom-resource | 69aee2bd3f00c2aff035a34325b5a7e1e7e7d919 | [
"MIT"
] | null | null | null | test/unit/test_generatetimestamp.py | jlhood/timestamp-custom-resource | 69aee2bd3f00c2aff035a34325b5a7e1e7e7d919 | [
"MIT"
] | null | null | null | import pytest
import generatetimestamp
def test_create(mocker):
generatetimestamp.create({}, None)
| 15 | 38 | 0.780952 | 11 | 105 | 7.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 105 | 6 | 39 | 17.5 | 0.89011 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
614f4b45395d9c30e59460395ae4ab64689d3054 | 26 | py | Python | main.py | BenSparksCode/learning-blender-python | be3d6214bd54363e3b7ca1a602ddfbfc40d834b5 | [
"MIT"
] | null | null | null | main.py | BenSparksCode/learning-blender-python | be3d6214bd54363e3b7ca1a602ddfbfc40d834b5 | [
"MIT"
] | null | null | null | main.py | BenSparksCode/learning-blender-python | be3d6214bd54363e3b7ca1a602ddfbfc40d834b5 | [
"MIT"
] | null | null | null | import bpy
print("hello") | 8.666667 | 14 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 3 | 14 | 8.666667 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
615654c138b6078210d8aca19e2cc29aebc5efb7 | 93 | py | Python | simple_schema_validator/__init__.py | HackSoftware/simple_schema_validator | 703aaff3f3596521589450f65fbb3844ff13e723 | [
"MIT"
] | 26 | 2019-02-06T14:54:35.000Z | 2021-06-11T07:11:27.000Z | simple_schema_validator/__init__.py | HackSoftware/simple_schema_validator | 703aaff3f3596521589450f65fbb3844ff13e723 | [
"MIT"
] | 2 | 2019-02-13T09:55:00.000Z | 2020-07-06T07:20:28.000Z | simple_schema_validator/__init__.py | HackSoftware/simple_schema_validator | 703aaff3f3596521589450f65fbb3844ff13e723 | [
"MIT"
] | null | null | null | from .schema_validator import schema_validator # noqa
from .schema_types import types # noqa
| 31 | 53 | 0.827957 | 13 | 93 | 5.692308 | 0.461538 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 2 | 54 | 46.5 | 0.91358 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f60edfc9942b8f3ce82351c3f84382b4c69d90a4 | 91 | py | Python | boss/code/GPflow_wrappers/__init__.py | henrymoss/BOSS | f19eaf7231ed007cce9e12fba0f7f936eb48cfdb | [
"Apache-2.0"
] | 16 | 2020-10-06T16:23:29.000Z | 2022-03-28T05:17:06.000Z | boss/code/GPflow_wrappers/__init__.py | henrymoss/BOSS | f19eaf7231ed007cce9e12fba0f7f936eb48cfdb | [
"Apache-2.0"
] | 2 | 2021-11-09T19:21:44.000Z | 2021-11-29T08:01:19.000Z | boss/code/GPflow_wrappers/__init__.py | henrymoss/BOSS | f19eaf7231ed007cce9e12fba0f7f936eb48cfdb | [
"Apache-2.0"
] | 4 | 2021-09-15T11:36:24.000Z | 2022-02-23T03:33:14.000Z | from .Batch_FSSK import Batch_FSSK
from .Batch_SSK import Batch_SSK
from .FSSK import FSSK
| 22.75 | 34 | 0.835165 | 16 | 91 | 4.5 | 0.3125 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 35 | 30.333333 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
f628d58387fa55d52852b34895a3b25714a85945 | 5,344 | py | Python | checklist/test_types.py | ramji-c/checklist | 0cafa86aecf3053a40294a9c6bc19c441cc83782 | [
"MIT"
] | 1 | 2021-11-19T01:54:51.000Z | 2021-11-19T01:54:51.000Z | checklist/test_types.py | ramji-c/checklist | 0cafa86aecf3053a40294a9c6bc19c441cc83782 | [
"MIT"
] | null | null | null | checklist/test_types.py | ramji-c/checklist | 0cafa86aecf3053a40294a9c6bc19c441cc83782 | [
"MIT"
] | null | null | null | from .abstract_test import AbstractTest
from .expect import Expect
class MFT(AbstractTest):
def __init__(self, data, expect=None, labels=None, meta=None, agg_fn='all',
templates=None, name=None, capability=None, description=None, test_id=None):
"""Minimum Functionality Test
... | 46.068966 | 107 | 0.596931 | 631 | 5,344 | 4.957211 | 0.177496 | 0.019182 | 0.023018 | 0.024936 | 0.857417 | 0.828645 | 0.818095 | 0.784527 | 0.742327 | 0.742327 | 0 | 0.000563 | 0.334768 | 5,344 | 115 | 108 | 46.469565 | 0.879325 | 0.527507 | 0 | 0.296296 | 0 | 0 | 0.034679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.074074 | 0 | 0.296296 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f663e5dc3ed8e35a3d23ef35c8a9ceceba49f5fd | 96 | py | Python | flow2ml/__init__.py | ainy-123/Flow2ML | 04a0d621943b486484c10e459556e34ca9c5459e | [
"MIT"
] | 1 | 2021-04-17T11:13:24.000Z | 2021-04-17T11:13:24.000Z | flow2ml/__init__.py | ainy-123/Flow2ML | 04a0d621943b486484c10e459556e34ca9c5459e | [
"MIT"
] | null | null | null | flow2ml/__init__.py | ainy-123/Flow2ML | 04a0d621943b486484c10e459556e34ca9c5459e | [
"MIT"
] | null | null | null | from .Flow import Flow
from .Auto_Results import Auto_Results
from .Tf_Results import Tf_Results | 32 | 38 | 0.854167 | 16 | 96 | 4.875 | 0.375 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 3 | 39 | 32 | 0.917647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
f66b776a7c106ad14e82ef94ba90d5f6aedf4a17 | 26 | py | Python | src/backend/expungeservice/serializer/__init__.py | NickSchimek/recordexpungPDX | 34ed0f3cb5b7368a935a11306d3143d0d154c2de | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"Linux-OpenIB",
"FTL",
"X11"
] | null | null | null | src/backend/expungeservice/serializer/__init__.py | NickSchimek/recordexpungPDX | 34ed0f3cb5b7368a935a11306d3143d0d154c2de | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"Linux-OpenIB",
"FTL",
"X11"
] | 93 | 2019-12-07T01:43:50.000Z | 2021-08-01T13:30:44.000Z | src/backend/expungeservice/serializer/__init__.py | NickSchimek/recordexpungPDX | 34ed0f3cb5b7368a935a11306d3143d0d154c2de | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"Linux-OpenIB",
"FTL",
"X11"
] | null | null | null | from .serializer import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c91aa54ed7f59894af12caab8b6d296e11efce3 | 93 | py | Python | src/service/__init__.py | phuongnm-bkhn/multisources-trans-nmt | 81799c6025d168285310953dce9ce5faa913d40f | [
"MIT"
] | null | null | null | src/service/__init__.py | phuongnm-bkhn/multisources-trans-nmt | 81799c6025d168285310953dce9ce5faa913d40f | [
"MIT"
] | null | null | null | src/service/__init__.py | phuongnm-bkhn/multisources-trans-nmt | 81799c6025d168285310953dce9ce5faa913d40f | [
"MIT"
] | null | null | null | from .fairseq_interactive import *
from .server import *
from .translation_connector import * | 31 | 36 | 0.817204 | 11 | 93 | 6.727273 | 0.636364 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 3 | 36 | 31 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
9ca84d2ba5642f2979039250dfa4232008757a63 | 38 | py | Python | suggest/__init__.py | ishiland/geosupport-suggest | 017f90c6e954a5a61536bd3d7d5ca1c244690ddf | [
"MIT"
] | 1 | 2019-11-19T22:47:52.000Z | 2019-11-19T22:47:52.000Z | suggest/__init__.py | ishiland/geosupport-suggest | 017f90c6e954a5a61536bd3d7d5ca1c244690ddf | [
"MIT"
] | null | null | null | suggest/__init__.py | ishiland/geosupport-suggest | 017f90c6e954a5a61536bd3d7d5ca1c244690ddf | [
"MIT"
] | null | null | null | from .suggest import GeosupportSuggest | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9cc3f1f2b4b72b8db808b9a55a8cfb20f349230a | 2,176 | py | Python | SRC/common/initialize.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 31 | 2015-04-01T15:59:36.000Z | 2022-03-18T20:21:47.000Z | SRC/common/initialize.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 3 | 2015-02-06T19:30:24.000Z | 2017-05-25T14:14:31.000Z | SRC/common/initialize.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 7 | 2015-01-23T15:19:22.000Z | 2021-06-09T09:03:59.000Z | # -*- python -*-
# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we as... | 35.096774 | 74 | 0.829963 | 283 | 2,176 | 6.371025 | 0.385159 | 0.246256 | 0.329451 | 0.310593 | 0.041043 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000509 | 0.097426 | 2,176 | 61 | 75 | 35.672131 | 0.917515 | 0.237592 | 0 | 0 | 0 | 0 | 0.04562 | 0.03163 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.95122 | 0 | 0.95122 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ccacca3bda47941fd80d2b281a375131aba072a | 592 | py | Python | pytconf/color_utils.py | nadavweidman/pytconf | 6203d3607c1cc383c60d1c138efc1109c7a6ab59 | [
"MIT"
] | null | null | null | pytconf/color_utils.py | nadavweidman/pytconf | 6203d3607c1cc383c60d1c138efc1109c7a6ab59 | [
"MIT"
] | 1 | 2021-12-03T11:35:46.000Z | 2021-12-03T11:52:52.000Z | pytconf/color_utils.py | nadavweidman/pytconf | 6203d3607c1cc383c60d1c138efc1109c7a6ab59 | [
"MIT"
] | 8 | 2021-12-03T11:07:55.000Z | 2022-03-23T13:35:05.000Z | from termcolor import colored, cprint
def print_highlight(text):
cprint(text=text, color="white", attrs=["bold"])
def print_warn(text):
cprint(text=text, color="red", attrs=["bold"])
def print_error(text):
cprint(text=text, color="red", attrs=["bold"])
def print_title(text):
cprint(text=text, co... | 19.733333 | 60 | 0.668919 | 84 | 592 | 4.630952 | 0.25 | 0.143959 | 0.233933 | 0.18509 | 0.748072 | 0.611825 | 0.447301 | 0.22108 | 0.22108 | 0.22108 | 0 | 0 | 0.143581 | 592 | 29 | 61 | 20.413793 | 0.767258 | 0 | 0 | 0.133333 | 0 | 0 | 0.089527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0.2 | 0.733333 | 0.6 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
9ce7b7b4d18e08f2b447fd3335da32abcd4a3152 | 22,756 | py | Python | test/test_compile_cache.py | yf225/functorch | 4f0603569827ff0249c5f58f36d39b3fc6ee7103 | [
"BSD-3-Clause"
] | 423 | 2021-10-20T07:31:53.000Z | 2022-03-30T16:57:57.000Z | test/test_compile_cache.py | yf225/functorch | 4f0603569827ff0249c5f58f36d39b3fc6ee7103 | [
"BSD-3-Clause"
] | 266 | 2021-10-21T16:25:59.000Z | 2022-03-31T20:53:02.000Z | test/test_compile_cache.py | yf225/functorch | 4f0603569827ff0249c5f58f36d39b3fc6ee7103 | [
"BSD-3-Clause"
] | 29 | 2021-12-06T18:45:26.000Z | 2022-03-29T12:58:36.000Z | import torch
import functorch
from torch.testing._internal.common_utils import run_tests, TestCase, IS_WINDOWS
import unittest
from functorch.compile import aot_function, nop
class TestCompileCache(TestCase):
def check(self, a, b, aot_fn, fn):
a_clone = a.clone().detach().requires_grad_(True)
b_... | 33.220438 | 87 | 0.592283 | 3,032 | 22,756 | 4.177111 | 0.055739 | 0.070351 | 0.092223 | 0.0409 | 0.818634 | 0.79542 | 0.778523 | 0.746625 | 0.717647 | 0.705488 | 0 | 0.018492 | 0.306073 | 22,756 | 684 | 88 | 33.269006 | 0.783548 | 0.018061 | 0 | 0.624242 | 0 | 0 | 0.016073 | 0 | 0 | 0 | 0 | 0 | 0.094949 | 1 | 0.113131 | false | 0.00202 | 0.010101 | 0.042424 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1412a3bb4476d3e8f318ade79ec0a923b492554e | 253 | py | Python | forestci/__init__.py | smile4lee/forest-confidence-interval | 9a793fb716361dea33b194794183fb560a42bb4a | [
"MIT"
] | null | null | null | forestci/__init__.py | smile4lee/forest-confidence-interval | 9a793fb716361dea33b194794183fb560a42bb4a | [
"MIT"
] | null | null | null | forestci/__init__.py | smile4lee/forest-confidence-interval | 9a793fb716361dea33b194794183fb560a42bb4a | [
"MIT"
] | null | null | null | from .forestci import (calc_inbag, random_forest_error,
_core_computation, _bias_correction) # noqa
from .version import __version__ # noqa
__all__ = ("calc_inbag", "random_forest_error", "random_forest_standard_error")
| 36.142857 | 80 | 0.711462 | 28 | 253 | 5.678571 | 0.571429 | 0.226415 | 0.188679 | 0.264151 | 0.327044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209486 | 253 | 6 | 81 | 42.166667 | 0.795 | 0.035573 | 0 | 0 | 0 | 0 | 0.242553 | 0.119149 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
14279a8b7611e9dee1aef456a4460d57d6a2a930 | 172 | py | Python | cms/context_processors.py | LUKKIEN/django-cms-2.0 | 0600cc1a3f3636a867faf0afe3719539fee36d69 | [
"BSD-3-Clause"
] | 1 | 2015-09-24T00:36:34.000Z | 2015-09-24T00:36:34.000Z | cms/context_processors.py | alamierda09/django-cms-2.0 | 0aba7f465730ae9a975ea6fd0bf5cac1ba70022c | [
"BSD-3-Clause"
] | null | null | null | cms/context_processors.py | alamierda09/django-cms-2.0 | 0aba7f465730ae9a975ea6fd0bf5cac1ba70022c | [
"BSD-3-Clause"
] | null | null | null | from cms import settings
def media(request):
"""
Adds media-related context variables to the context.
"""
return {'CMS_MEDIA_URL': settings.CMS_MEDIA_URL}
| 21.5 | 56 | 0.697674 | 23 | 172 | 5.043478 | 0.652174 | 0.137931 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203488 | 172 | 7 | 57 | 24.571429 | 0.846715 | 0.302326 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
147bba514e5f64f42fbffca998fd3a1379b28d51 | 37,182 | py | Python | guess_movie/lyrizz/consumers.py | tanguyesteoule/movizz | 1b3bc00fcdd6f0c566fdffabf56c4117fa790b02 | [
"MIT"
] | 1 | 2022-01-29T20:14:28.000Z | 2022-01-29T20:14:28.000Z | guess_movie/lyrizz/consumers.py | renauddahou/movizz | 1b3bc00fcdd6f0c566fdffabf56c4117fa790b02 | [
"MIT"
] | null | null | null | guess_movie/lyrizz/consumers.py | renauddahou/movizz | 1b3bc00fcdd6f0c566fdffabf56c4117fa790b02 | [
"MIT"
] | 1 | 2022-01-16T13:45:40.000Z | 2022-01-16T13:45:40.000Z | import json
import random
from channels.generic.websocket import AsyncWebsocketConsumer
import asyncio
from asgiref.sync import sync_to_async
from channels.db import database_sync_to_async
from .views import Game, Question, Song, Answer, Lyrics
from django.db.models import F
import numpy as np
# #####################... | 35.176916 | 148 | 0.562907 | 4,474 | 37,182 | 4.405454 | 0.054761 | 0.047945 | 0.029021 | 0.03795 | 0.861847 | 0.828615 | 0.801826 | 0.78899 | 0.778285 | 0.767529 | 0 | 0.005092 | 0.318703 | 37,182 | 1,057 | 149 | 35.176916 | 0.772975 | 0.477193 | 0 | 0.507009 | 0 | 0 | 0.089382 | 0 | 0 | 0 | 0 | 0.000946 | 0 | 1 | 0.016355 | false | 0.030374 | 0.021028 | 0 | 0.060748 | 0.004673 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14819ce6c523f305d40528da9b3dcf41aad954e6 | 26 | py | Python | pgn2gif/__init__.py | mzfr/pgn2gif | f38b7a0a706dc931038c2aea0b3b25e607d03d98 | [
"MIT"
] | 5 | 2018-07-27T04:06:43.000Z | 2020-03-21T20:43:05.000Z | pgn2gif/__init__.py | mzfr/pgn2gif | f38b7a0a706dc931038c2aea0b3b25e607d03d98 | [
"MIT"
] | 1 | 2021-01-03T13:56:57.000Z | 2021-01-04T09:21:24.000Z | pgn2gif/__init__.py | mzfr/pgn2gif | f38b7a0a706dc931038c2aea0b3b25e607d03d98 | [
"MIT"
] | 1 | 2020-05-16T09:57:39.000Z | 2020-05-16T09:57:39.000Z | from .pgn2gif import main
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14ab22a1fe8c1efdca98910b5d7e4f55bc43259c | 11,173 | py | Python | timsconvert/parse_maldi.py | gtluu/alphatims_test | d046f586cd0cd27c0ff1efc706b2af3007c8408e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | timsconvert/parse_maldi.py | gtluu/alphatims_test | d046f586cd0cd27c0ff1efc706b2af3007c8408e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | timsconvert/parse_maldi.py | gtluu/alphatims_test | d046f586cd0cd27c0ff1efc706b2af3007c8408e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | from timsconvert.constants import *
import numpy as np
import pandas as pd
import logging
def parse_maldi_plate_map(plate_map_filename):
plate_map = pd.read_csv(plate_map_filename, header=None)
plate_dict = {}
for index, row in plate_map.itterrows():
for count, value in enumerate(row, start=1):
... | 54.769608 | 136 | 0.533966 | 1,158 | 11,173 | 4.836788 | 0.137306 | 0.047134 | 0.023567 | 0.028923 | 0.837708 | 0.812176 | 0.804321 | 0.777897 | 0.777897 | 0.748616 | 0 | 0.007292 | 0.361765 | 11,173 | 203 | 137 | 55.039409 | 0.778152 | 0.031863 | 0 | 0.689024 | 0 | 0 | 0.152643 | 0.012219 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018293 | false | 0 | 0.02439 | 0 | 0.060976 | 0.006098 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2118019fd1b54a0b2bc9ef160b1040f8e46ba0ad | 122 | py | Python | exception/argument_out_of_range_exception.py | joaoteixeira88/pyguard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | 2 | 2021-03-11T22:09:40.000Z | 2022-01-09T16:16:43.000Z | exception/argument_out_of_range_exception.py | joaoteixeira88/pyguard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | 3 | 2021-03-11T08:20:43.000Z | 2021-03-30T07:34:38.000Z | exception/argument_out_of_range_exception.py | joaoteixeira88/python-guard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | null | null | null | from exception.base_exception import BaseGuardException
class ArgumentOutOfRangeException(BaseGuardException):
pass
| 20.333333 | 55 | 0.860656 | 10 | 122 | 10.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 5 | 56 | 24.4 | 0.954128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
dcc7245d647094d02c6a21d2b4a29c6e45f60b91 | 14,623 | py | Python | simulator/pair_instance_event_to_usage_test.py | googleinterns/cluster-resource-forecast | 48b67346160e4f9c010552b9b20b8bace1a321ad | [
"Apache-2.0"
] | 25 | 2020-05-06T21:29:04.000Z | 2022-02-17T05:25:25.000Z | simulator/pair_instance_event_to_usage_test.py | touchuyht/cluster-resource-forecast | 48b67346160e4f9c010552b9b20b8bace1a321ad | [
"Apache-2.0"
] | 3 | 2020-06-09T04:14:08.000Z | 2021-04-25T07:30:38.000Z | simulator/pair_instance_event_to_usage_test.py | touchuyht/cluster-resource-forecast | 48b67346160e4f9c010552b9b20b8bace1a321ad | [
"Apache-2.0"
] | 12 | 2020-06-05T00:52:01.000Z | 2021-12-17T06:55:30.000Z | # Copyright 2020 Google LLC.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, softw... | 31.515086 | 85 | 0.435957 | 1,329 | 14,623 | 4.554552 | 0.100075 | 0.04791 | 0.096646 | 0.156121 | 0.852965 | 0.847514 | 0.830332 | 0.825706 | 0.825706 | 0.825376 | 0 | 0.043322 | 0.449087 | 14,623 | 463 | 86 | 31.583153 | 0.708044 | 0.037407 | 0 | 0.648058 | 0 | 0 | 0.230572 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 1 | 0.01699 | false | 0 | 0.01699 | 0 | 0.036408 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dce7bda33d8218bc0f2d55727360e3fa64ee58ff | 53,733 | py | Python | tests/edw_benchmark_results_aggregator_test.py | isabella232/PerfKitBenchmarker | 8dd509ac0e024b7deeccd74266c8e6211a69529e | [
"Apache-2.0"
] | null | null | null | tests/edw_benchmark_results_aggregator_test.py | isabella232/PerfKitBenchmarker | 8dd509ac0e024b7deeccd74266c8e6211a69529e | [
"Apache-2.0"
] | 1 | 2021-02-23T12:07:44.000Z | 2021-02-23T12:07:44.000Z | tests/edw_benchmark_results_aggregator_test.py | isabella232/PerfKitBenchmarker | 8dd509ac0e024b7deeccd74266c8e6211a69529e | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 PerfKitBenchmarker Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 45.691327 | 86 | 0.744868 | 7,273 | 53,733 | 5.099271 | 0.037811 | 0.025454 | 0.05994 | 0.057163 | 0.864157 | 0.826246 | 0.792353 | 0.762531 | 0.727182 | 0.705018 | 0 | 0.038174 | 0.162433 | 53,733 | 1,175 | 87 | 45.730213 | 0.78589 | 0.0592 | 0 | 0.682178 | 0 | 0 | 0.042352 | 0.008875 | 0 | 0 | 0 | 0 | 0.130693 | 1 | 0.068317 | false | 0.012871 | 0.007921 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcf01e25b5f9db82a0edc5204a67fbfaa6fe1bc0 | 3,373 | py | Python | utils/gyb_foundation_support.py | lwhsu/swift | e1e7a3fe75b4762d5e3d4d241f40b56946a03fdb | [
"Apache-2.0"
] | 72,551 | 2015-12-03T16:45:13.000Z | 2022-03-31T18:57:59.000Z | utils/gyb_foundation_support.py | lwhsu/swift | e1e7a3fe75b4762d5e3d4d241f40b56946a03fdb | [
"Apache-2.0"
] | 39,352 | 2015-12-03T16:55:06.000Z | 2022-03-31T23:43:41.000Z | utils/gyb_foundation_support.py | lwhsu/swift | e1e7a3fe75b4762d5e3d4d241f40b56946a03fdb | [
"Apache-2.0"
] | 13,845 | 2015-12-03T16:45:13.000Z | 2022-03-31T11:32:29.000Z | def ObjectiveCBridgeableImplementationForNSValue(Type):
return """
extension {Type}: _ObjectiveCBridgeable {{
public func _bridgeToObjectiveC() -> NSValue {{
var myself = self
return NSValue(bytes: &myself, objCType: _getObjCTypeEncoding({Type}.self))
}}
public static func _forceBridgeFromObjectiveC(... | 34.418367 | 79 | 0.596502 | 307 | 3,373 | 6.485342 | 0.185668 | 0.028127 | 0.048217 | 0.070316 | 0.78001 | 0.78001 | 0.78001 | 0.745354 | 0.638875 | 0.638875 | 0 | 0.017327 | 0.281352 | 3,373 | 97 | 80 | 34.773196 | 0.804043 | 0 | 0 | 0.775281 | 0 | 0.033708 | 0.903054 | 0.288467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0 | 0 | 0.022472 | 0.134831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcf9ac92d62fb6c4ac714629d4ededca7c3bf224 | 150 | py | Python | factorial_of_no.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | factorial_of_no.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | factorial_of_no.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | def factorial(n):
return 1 if (n == 0 or n == 1) else n*factorial(n-1)
n = int(input("Enter a Number: "))
print(f"{n}! = {factorial(n)}")
| 21.428571 | 57 | 0.546667 | 27 | 150 | 3.037037 | 0.592593 | 0.365854 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.233333 | 150 | 6 | 58 | 25 | 0.678261 | 0 | 0 | 0 | 0 | 0 | 0.256944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
dcff20c0caacb0609f032cfece9127e318cb053b | 17 | py | Python | config/version.py | veltzer/awskit | f8aca871367eaa3453e6ec07c9d16032f4c638f4 | [
"MIT"
] | null | null | null | config/version.py | veltzer/awskit | f8aca871367eaa3453e6ec07c9d16032f4c638f4 | [
"MIT"
] | null | null | null | config/version.py | veltzer/awskit | f8aca871367eaa3453e6ec07c9d16032f4c638f4 | [
"MIT"
] | null | null | null | tup = (0, 1, 60)
| 8.5 | 16 | 0.411765 | 4 | 17 | 1.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.294118 | 17 | 1 | 17 | 17 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d3735d57fd38c720481c4d3f0502f6b221356af | 206 | py | Python | tests/test_django/manage.py | Birne94/opentracing-utils | 9c89e1f1fba470a334c0f38fac7df3332a147423 | [
"MIT"
] | 23 | 2018-01-19T13:11:03.000Z | 2021-07-03T14:11:56.000Z | tests/test_django/manage.py | Birne94/opentracing-utils | 9c89e1f1fba470a334c0f38fac7df3332a147423 | [
"MIT"
] | 55 | 2017-09-22T16:10:10.000Z | 2021-08-16T07:46:09.000Z | tests/test_django/manage.py | Birne94/opentracing-utils | 9c89e1f1fba470a334c0f38fac7df3332a147423 | [
"MIT"
] | 9 | 2018-04-09T19:52:06.000Z | 2021-09-15T13:02:31.000Z | import os
import sys
from django.core.management import execute_from_command_line
if __name__ == '__main__':
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
execute_from_command_line(sys.argv)
| 20.6 | 60 | 0.781553 | 28 | 206 | 5.178571 | 0.607143 | 0.151724 | 0.248276 | 0.303448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131068 | 206 | 9 | 61 | 22.888889 | 0.810056 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 0.106796 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b4a55d6b94c4deb5216577c4e987675bf41cc90a | 47 | py | Python | apollo/tasks/__init__.py | rpetti/apollo | 1304d8623e6dfe8c9b269b7e90611b3688c0c61e | [
"MIT"
] | null | null | null | apollo/tasks/__init__.py | rpetti/apollo | 1304d8623e6dfe8c9b269b7e90611b3688c0c61e | [
"MIT"
] | null | null | null | apollo/tasks/__init__.py | rpetti/apollo | 1304d8623e6dfe8c9b269b7e90611b3688c0c61e | [
"MIT"
] | null | null | null | from .sync_discord_bots import SyncDiscordBots
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4c1955641f3863ce30dbdc6b1c1b44724d05c6b | 26 | py | Python | automl/__init__.py | feliperooke/AutoML | acc90c4fe68e2f5986bf030b1c690f4b0f5d3c3e | [
"MIT"
] | null | null | null | automl/__init__.py | feliperooke/AutoML | acc90c4fe68e2f5986bf030b1c690f4b0f5d3c3e | [
"MIT"
] | null | null | null | automl/__init__.py | feliperooke/AutoML | acc90c4fe68e2f5986bf030b1c690f4b0f5d3c3e | [
"MIT"
] | 1 | 2021-07-08T20:33:16.000Z | 2021-07-08T20:33:16.000Z | from .automl import AutoML | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4de7f6be727591e1a19f6db038906b8223fb0e4 | 38 | py | Python | docs/examples/hygiene/hygiene_failures/run.py | CyberFlameGO/macropy | a815f5a58231d8fa65386cd71ff0d15d09fe9fa3 | [
"Unlicense",
"MIT"
] | 2,061 | 2015-01-02T16:53:18.000Z | 2022-03-31T12:01:07.000Z | docs/examples/hygiene/hygiene_failures/run.py | CyberFlameGO/macropy | a815f5a58231d8fa65386cd71ff0d15d09fe9fa3 | [
"Unlicense",
"MIT"
] | 41 | 2015-02-25T02:54:46.000Z | 2022-01-28T19:08:45.000Z | docs/examples/hygiene/hygiene_failures/run.py | CyberFlameGO/macropy | a815f5a58231d8fa65386cd71ff0d15d09fe9fa3 | [
"Unlicense",
"MIT"
] | 151 | 2015-01-01T22:07:55.000Z | 2022-03-03T07:55:20.000Z | import macropy.activate
import target
| 12.666667 | 23 | 0.868421 | 5 | 38 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 2 | 24 | 19 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25f2b6ad0c5c82ab38465b75113cf349598e7736 | 28 | py | Python | __init__.py | arshadkazmi42/crawl4takeover | 74c553f594ba792fa42ecf458f890d4d37bf80ee | [
"MIT"
] | 2 | 2021-04-29T08:47:08.000Z | 2022-01-05T04:43:51.000Z | __init__.py | arshadkazmi42/crawl4takeover | 74c553f594ba792fa42ecf458f890d4d37bf80ee | [
"MIT"
] | 2 | 2021-04-29T08:49:38.000Z | 2021-05-04T16:19:33.000Z | __init__.py | arshadkazmi42/crawl4takeover | 74c553f594ba792fa42ecf458f890d4d37bf80ee | [
"MIT"
] | 1 | 2022-01-05T04:43:52.000Z | 2022-01-05T04:43:52.000Z | from . import global_config
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d304bb61886b484d76b08d542324ce5fe688a678 | 418 | py | Python | elpis/wrappers/input/__init__.py | KellerChe/copy-from-the-google-speech-to-text-model | ea82667ae7853ea55ef157dd5cbc01ca09305342 | [
"Apache-2.0"
] | 10 | 2018-12-22T13:16:21.000Z | 2020-10-06T10:55:42.000Z | elpis/wrappers/input/__init__.py | KellerChe/copy-from-the-google-speech-to-text-model | ea82667ae7853ea55ef157dd5cbc01ca09305342 | [
"Apache-2.0"
] | 3 | 2019-03-18T06:41:12.000Z | 2019-09-24T10:18:12.000Z | elpis/wrappers/input/__init__.py | KellerChe/copy-from-the-google-speech-to-text-model | ea82667ae7853ea55ef157dd5cbc01ca09305342 | [
"Apache-2.0"
] | 2 | 2019-05-26T15:28:06.000Z | 2021-06-04T05:33:31.000Z | from .clean_json import clean_json_data
from .elan_to_json import process_eaf
from .json_to_kaldi import create_kaldi_structure
from .make_prn_dict import generate_pronunciation_dictionary
from .make_wordlist import generate_word_list
from .resample_audio import process_item
from .split_on_silence import split_audio_fi... | 41.8 | 60 | 0.892344 | 67 | 418 | 5.104478 | 0.447761 | 0.116959 | 0.105263 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086124 | 418 | 9 | 61 | 46.444444 | 0.895288 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d34f2bdd62996e0063274e85b99887e7486660ea | 59 | py | Python | pyspawn/fms_analysis.py | blevine37/pySpawn17 | 4fa65cfc3b4d399bcb586506782d00f86b453139 | [
"MIT"
] | 18 | 2018-03-30T16:11:13.000Z | 2021-08-22T18:57:12.000Z | pyspawn/fms_analysis.py | dfedorov1988/MCDMS | 215e18327ad9f806d82eb54d101d657d0ac29bd6 | [
"MIT"
] | 3 | 2018-03-30T17:26:51.000Z | 2021-08-17T08:49:24.000Z | pyspawn/fms_analysis.py | dfedorov1988/MCDMS | 215e18327ad9f806d82eb54d101d657d0ac29bd6 | [
"MIT"
] | 6 | 2018-11-21T15:30:38.000Z | 2021-07-05T05:37:15.000Z | import numpy as np
def testing(x):
return 2.0*x
| 8.428571 | 18 | 0.59322 | 11 | 59 | 3.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.322034 | 59 | 6 | 19 | 9.833333 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d3504c23374e264587b4824ff4ad6206f2200e52 | 173 | py | Python | Clase9/ArbolAbstracto.py | JoseCordobaEAN/EstructurasDeDatosUE4P | 86a5c426d83d9d9ae86656c3c78324a1c07f608d | [
"MIT"
] | 2 | 2019-08-17T21:15:47.000Z | 2019-09-21T12:15:19.000Z | Clase9/ArbolAbstracto.py | JoseCordobaEAN/EstructurasDeDatosUE4P | 86a5c426d83d9d9ae86656c3c78324a1c07f608d | [
"MIT"
] | null | null | null | Clase9/ArbolAbstracto.py | JoseCordobaEAN/EstructurasDeDatosUE4P | 86a5c426d83d9d9ae86656c3c78324a1c07f608d | [
"MIT"
] | null | null | null | class ArbolAbstracto:
def profundidad(self):
pass
def es_vacio(self):
pass
def raiz(self):
pass
def __repr__(self):
pass
| 12.357143 | 26 | 0.543353 | 19 | 173 | 4.684211 | 0.526316 | 0.359551 | 0.370787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.381503 | 173 | 13 | 27 | 13.307692 | 0.831776 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d368940ae056024046b3057ea84a4b7476b02c95 | 27 | py | Python | readFileTest.py | raphaelsulzer/convolutional_occupancy_networks | b3be309309513892c49b87bc5014083e47e83859 | [
"MIT"
] | null | null | null | readFileTest.py | raphaelsulzer/convolutional_occupancy_networks | b3be309309513892c49b87bc5014083e47e83859 | [
"MIT"
] | 1 | 2022-03-05T07:17:31.000Z | 2022-03-17T16:30:31.000Z | readFileTest.py | raphaelsulzer/convolutional_occupancy_networks | b3be309309513892c49b87bc5014083e47e83859 | [
"MIT"
] | null | null | null | import numpy as np
print(5) | 13.5 | 18 | 0.777778 | 6 | 27 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.148148 | 27 | 2 | 19 | 13.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6c96dc4c9d659dd9a53fba1169d86ff76145d0c4 | 103 | py | Python | type_cast/type_cast_3.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | type_cast/type_cast_3.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | type_cast/type_cast_3.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | # file name: type_cast_3.py
from type_cast_2 import DoSomethingWithB
print(DoSomethingWithB().do().b)
| 20.6 | 40 | 0.796117 | 16 | 103 | 4.875 | 0.8125 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.097087 | 103 | 4 | 41 | 25.75 | 0.817204 | 0.242718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6c9e23604f0f8577ff65f8e9fc539f279f87bfcd | 3,234 | py | Python | test/restricted_nash_response_tests.py | JakubPetriska/poker-agent-kit | 12c28711c91447c708719454d1fbd224fa03189e | [
"MIT"
] | 19 | 2018-09-21T15:27:09.000Z | 2022-03-09T03:55:21.000Z | test/restricted_nash_response_tests.py | JakubPetriska/poker-agent-kit | 12c28711c91447c708719454d1fbd224fa03189e | [
"MIT"
] | 6 | 2018-05-09T17:09:58.000Z | 2019-07-09T15:15:05.000Z | test/restricted_nash_response_tests.py | JakubPetriska/poker-cfr | 12c28711c91447c708719454d1fbd224fa03189e | [
"MIT"
] | 2 | 2018-09-11T02:49:57.000Z | 2018-11-17T00:29:38.000Z | import unittest
import acpc_python_client as acpc
from response.restricted_nash_response import RestrictedNashResponse
from tools.game_tree.builder import GameTreeBuilder
from tools.game_tree.node_provider import StrategyTreeNodeProvider
from tools.game_tree.nodes import ActionNode
from tools.walk_trees import walk_t... | 39.925926 | 90 | 0.679963 | 388 | 3,234 | 5.350515 | 0.170103 | 0.046243 | 0.050096 | 0.065511 | 0.825145 | 0.807803 | 0.784682 | 0.75578 | 0.721098 | 0.703757 | 0 | 0.013104 | 0.244898 | 3,234 | 80 | 91 | 40.425 | 0.837019 | 0 | 0 | 0.6875 | 0 | 0 | 0.037106 | 0.037106 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.109375 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6cb4775a60eb65108ca3ee6b6eb83f27a06a78f4 | 251 | py | Python | classifier/__init__.py | realcactus/bert | bc55902574912425b3bddee532d0d32a5d505aee | [
"Apache-2.0"
] | 57 | 2019-08-25T10:08:40.000Z | 2022-03-31T14:51:00.000Z | classifier/__init__.py | kurskal0/bert | bc55902574912425b3bddee532d0d32a5d505aee | [
"Apache-2.0"
] | null | null | null | classifier/__init__.py | kurskal0/bert | bc55902574912425b3bddee532d0d32a5d505aee | [
"Apache-2.0"
] | 18 | 2019-09-17T05:57:01.000Z | 2022-02-21T07:16:52.000Z | # -*- coding: utf-8 -*-
"""
-------------------------------------------------
File Name: __init__.py
Author : Xiaosong Zhou
date: 2019/8/19
-------------------------------------------------
"""
__author__ = 'Xiaosong Zhou' | 27.888889 | 49 | 0.314741 | 17 | 251 | 4.176471 | 0.764706 | 0.394366 | 0.507042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039801 | 0.199203 | 251 | 9 | 50 | 27.888889 | 0.313433 | 0.848606 | 0 | 0 | 0 | 0 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6cd5aee9b5d64d3772412fbf976035460256ed5e | 119 | py | Python | pynegin/__init__.py | wilfred-kun/pynegin | d4f4aa92d16fc71620e8bea75f7d5a28895d27a3 | [
"MIT"
] | 4 | 2019-04-10T01:36:59.000Z | 2020-08-04T14:39:28.000Z | pynegin/__init__.py | wilfred-kun/pynegin | d4f4aa92d16fc71620e8bea75f7d5a28895d27a3 | [
"MIT"
] | 3 | 2021-06-08T20:05:08.000Z | 2022-03-11T23:51:51.000Z | pynegin/__init__.py | wilfreddv/pynegin | d4f4aa92d16fc71620e8bea75f7d5a28895d27a3 | [
"MIT"
] | null | null | null | import pynegin.components
import pynegin.constants
from pynegin.window import Window
from pynegin.engine import Engine
| 23.8 | 33 | 0.865546 | 16 | 119 | 6.4375 | 0.4375 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 4 | 34 | 29.75 | 0.962617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
9f0687946dacd1252f8a328921685aeafeb95dd2 | 15,855 | py | Python | pybind/nos/v7_1_0/rbridge_id/ipv6/router/ospf/redistribute/redistribute_ospf/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/ipv6/router/ospf/redistribute/redistribute_ospf/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/ipv6/router/ospf/redistribute/redistribute_ospf/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 76.594203 | 693 | 0.721791 | 2,152 | 15,855 | 5.074814 | 0.098978 | 0.084974 | 0.096694 | 0.057138 | 0.833074 | 0.785459 | 0.765131 | 0.744254 | 0.732076 | 0.716876 | 0 | 0.014153 | 0.139893 | 15,855 | 206 | 694 | 76.966019 | 0.786683 | 0.198297 | 0 | 0.390625 | 0 | 0.046875 | 0.362127 | 0.17316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.289063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f386ca04798a1eb5c4fdad50011e696b6ed34ab | 55,713 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_dhcpd_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_dhcpd_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_dhcpd_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 51.63392 | 245 | 0.543123 | 5,120 | 55,713 | 5.628125 | 0.04375 | 0.110772 | 0.138465 | 0.140894 | 0.858238 | 0.842518 | 0.814027 | 0.775645 | 0.724528 | 0.677922 | 0 | 0.020896 | 0.317987 | 55,713 | 1,078 | 246 | 51.681818 | 0.737479 | 0 | 0 | 0.562304 | 0 | 0.003141 | 0.475959 | 0.381598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008377 | 0 | 0.008377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9fa2f19a67ad7071194580d718e01844d1f8bd0b | 25 | py | Python | fecir/__init__.py | LFRusso/cluster-based-IR | 858419b895b2abce580651852923948490ae0ed4 | [
"MIT"
] | 1 | 2021-02-12T16:52:11.000Z | 2021-02-12T16:52:11.000Z | fecir/__init__.py | LFRusso/cluster-based-IR | 858419b895b2abce580651852923948490ae0ed4 | [
"MIT"
] | null | null | null | fecir/__init__.py | LFRusso/cluster-based-IR | 858419b895b2abce580651852923948490ae0ed4 | [
"MIT"
] | null | null | null | from fecir.FECIR import * | 25 | 25 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c842063b4abc5b3003eecb5ddc5df51476c1aab | 155 | py | Python | deployment/wsgi_run.py | estherbod/cohmo | cd2a563e25e7cb4d194b43bab5f7671fbca95c16 | [
"MIT"
] | null | null | null | deployment/wsgi_run.py | estherbod/cohmo | cd2a563e25e7cb4d194b43bab5f7671fbca95c16 | [
"MIT"
] | 12 | 2018-04-04T10:27:35.000Z | 2018-04-21T17:05:42.000Z | deployment/wsgi_run.py | estherbod/cohmo | cd2a563e25e7cb4d194b43bab5f7671fbca95c16 | [
"MIT"
] | null | null | null | import sys
from cohmo import app as application
from cohmo.views import init_chief, init_authentication_manager
init_chief()
init_authentication_manager()
| 25.833333 | 63 | 0.864516 | 22 | 155 | 5.818182 | 0.545455 | 0.140625 | 0.203125 | 0.421875 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 155 | 5 | 64 | 31 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e26db1e4fe002d0e3662206491d7541bcde763a6 | 183 | py | Python | pyso3/__init__.py | hoj201/pyso3 | e6888dba39a54740bff41a8bfec88d85b2285380 | [
"MIT"
] | null | null | null | pyso3/__init__.py | hoj201/pyso3 | e6888dba39a54740bff41a8bfec88d85b2285380 | [
"MIT"
] | null | null | null | pyso3/__init__.py | hoj201/pyso3 | e6888dba39a54740bff41a8bfec88d85b2285380 | [
"MIT"
] | null | null | null | name = 'pyso3'
from pyso3.rodriguez import exp, log
from pyso3.generate import generate_random_rot
from pyso3 import check
from pyso3.quaternion import axis_angle, quat2rot, rot2quat
| 30.5 | 59 | 0.830601 | 27 | 183 | 5.518519 | 0.592593 | 0.241611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.120219 | 183 | 5 | 60 | 36.6 | 0.881988 | 0 | 0 | 0 | 1 | 0 | 0.027322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e288a194fc56e267fe150ed893cced64bc6d6a60 | 20 | py | Python | one/__init__.py | ddimmich/unbuntuone-python | abf26eab8868c009079477a0a8dda9e79ec4db33 | [
"BSD-3-Clause"
] | null | null | null | one/__init__.py | ddimmich/unbuntuone-python | abf26eab8868c009079477a0a8dda9e79ec4db33 | [
"BSD-3-Clause"
] | null | null | null | one/__init__.py | ddimmich/unbuntuone-python | abf26eab8868c009079477a0a8dda9e79ec4db33 | [
"BSD-3-Clause"
] | 1 | 2020-01-08T01:19:07.000Z | 2020-01-08T01:19:07.000Z | from one import *
| 5 | 17 | 0.65 | 3 | 20 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 20 | 3 | 18 | 6.666667 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e28a26bc6dc8db7094e2be8791bf476ca7b91507 | 36 | py | Python | maps/dark_castle/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/dark_castle/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/dark_castle/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | from .dark_castle import DarkCastle
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c3592b0bbbf715c7ad0a3426b232c562ef7c183 | 152 | py | Python | generate.py | Mandera/generalvector | 077ba2f49665cf494d0e8674ff3c6647487f6179 | [
"MIT"
] | null | null | null | generate.py | Mandera/generalvector | 077ba2f49665cf494d0e8674ff3c6647487f6179 | [
"MIT"
] | null | null | null | generate.py | Mandera/generalvector | 077ba2f49665cf494d0e8674ff3c6647487f6179 | [
"MIT"
] | null | null | null |
from generalpackager import Packager
Packager("generalvector").generate_localfiles(print_out=True)
| 2.714286 | 61 | 0.565789 | 11 | 152 | 7.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.381579 | 152 | 55 | 62 | 2.763636 | 0.893617 | 0 | 0 | 0 | 1 | 0 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2c964819cd1bde688d5af88b54bcc4abf556f135 | 419 | py | Python | utilities/twit_token.py | mramire8/structured | 3eb6a61fb7659a0b2a6ea93fe321b93a351162f7 | [
"Apache-2.0"
] | null | null | null | utilities/twit_token.py | mramire8/structured | 3eb6a61fb7659a0b2a6ea93fe321b93a351162f7 | [
"Apache-2.0"
] | null | null | null | utilities/twit_token.py | mramire8/structured | 3eb6a61fb7659a0b2a6ea93fe321b93a351162f7 | [
"Apache-2.0"
] | null | null | null | __author__ = 'maru'
class TwitterSentenceTokenizer(object):
def __init__(self):
pass
def tokenize_sents(self, twitter_objs):
return [sent.split("######") for sent in twitter_objs]
def tokenize(self, twitter_objs):
return twitter_objs.split("######")
def __call__(self, twitte... | 23.277778 | 62 | 0.651551 | 47 | 419 | 5.148936 | 0.446809 | 0.272727 | 0.18595 | 0.260331 | 0.264463 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229117 | 419 | 18 | 63 | 23.277778 | 0.749226 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.083333 | 0 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
2cce8d46ac9b110d2dd66108b16199652141dd72 | 79 | py | Python | pyFM/refine/__init__.py | Chandler/pyFM | 7ee034fff55bb333d278503479ce17f32cca4237 | [
"MIT"
] | null | null | null | pyFM/refine/__init__.py | Chandler/pyFM | 7ee034fff55bb333d278503479ce17f32cca4237 | [
"MIT"
] | null | null | null | pyFM/refine/__init__.py | Chandler/pyFM | 7ee034fff55bb333d278503479ce17f32cca4237 | [
"MIT"
] | null | null | null | from .icp import icp_refine, icp_refine_aux
from .zoomout import zoomout_refine | 39.5 | 43 | 0.860759 | 13 | 79 | 4.923077 | 0.461538 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 44 | 39.5 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
e2c67e6dcb74c5ca366861607e36f53673819075 | 30 | py | Python | ctools/model/coma/__init__.py | XinyuJing/DI-star | b573a5462e3d0ab72298c767eb945742e36fa6d8 | [
"Apache-2.0"
] | 267 | 2021-07-08T02:18:08.000Z | 2022-03-02T11:37:33.000Z | ctools/model/coma/__init__.py | XinyuJing/DI-star | b573a5462e3d0ab72298c767eb945742e36fa6d8 | [
"Apache-2.0"
] | 5 | 2021-07-15T22:55:22.000Z | 2022-01-11T15:28:10.000Z | ctools/model/coma/__init__.py | XinyuJing/DI-star | b573a5462e3d0ab72298c767eb945742e36fa6d8 | [
"Apache-2.0"
] | 35 | 2021-07-08T08:01:51.000Z | 2022-02-10T07:00:24.000Z | from .coma import ComaNetwork
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
395388b994b918140fc286921d7d49c357c3bd12 | 216 | py | Python | examples/todo-api-django-app/django_app/__init__.py | stphivos/bg-kube | 3936c2899f76b2f58df7a5f38fac741c638562cf | [
"MIT"
] | 8 | 2017-11-24T12:07:02.000Z | 2020-04-27T03:27:58.000Z | examples/todo-api-django-app/django_app/__init__.py | stphivos/bg-kube | 3936c2899f76b2f58df7a5f38fac741c638562cf | [
"MIT"
] | 19 | 2017-11-14T23:35:31.000Z | 2022-03-08T22:50:02.000Z | examples/user-api-django-app/django_app/__init__.py | stphivos/bg-kube | 3936c2899f76b2f58df7a5f38fac741c638562cf | [
"MIT"
] | null | null | null | import os
from dotenv import load_dotenv, find_dotenv
def load_env():
load_dotenv(find_dotenv(os.environ.get('ENV_FILE', '.env.dev')))
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_app.settings')
| 27 | 74 | 0.759259 | 32 | 216 | 4.84375 | 0.53125 | 0.129032 | 0.180645 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106481 | 216 | 7 | 75 | 30.857143 | 0.803109 | 0 | 0 | 0 | 0 | 0 | 0.263889 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a34cdd2b7c354b906ec5cd86c96e5ac441f7da2 | 26 | py | Python | new_start.py | shesshan/MAMS-for-ABSA | bce1c4b722165becaea6c01f938288df6d462498 | [
"Apache-2.0"
] | null | null | null | new_start.py | shesshan/MAMS-for-ABSA | bce1c4b722165becaea6c01f938288df6d462498 | [
"Apache-2.0"
] | null | null | null | new_start.py | shesshan/MAMS-for-ABSA | bce1c4b722165becaea6c01f938288df6d462498 | [
"Apache-2.0"
] | null | null | null | print('test it test it')
| 8.666667 | 24 | 0.653846 | 5 | 26 | 3.4 | 0.6 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1a8d02821310cc2662b25ae4ae5ab4a383c7bce0 | 83 | py | Python | aerosandbox/dynamics/flight_dynamics.py | opme/AeroSandbox | 309ae275387fca0bcf0a36a105ba761584318f35 | [
"MIT"
] | null | null | null | aerosandbox/dynamics/flight_dynamics.py | opme/AeroSandbox | 309ae275387fca0bcf0a36a105ba761584318f35 | [
"MIT"
] | null | null | null | aerosandbox/dynamics/flight_dynamics.py | opme/AeroSandbox | 309ae275387fca0bcf0a36a105ba761584318f35 | [
"MIT"
] | null | null | null |
class FlightDynamics:
pass # TODO
class LinearFlightDynamics:
pass # TODO | 13.833333 | 27 | 0.722892 | 8 | 83 | 7.5 | 0.625 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 83 | 6 | 28 | 13.833333 | 0.9375 | 0.108434 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1a9491163e3b1e3bebec10272541793b615b54b8 | 626 | py | Python | app/views.py | krishnavaidy/benchsci-challenge-outerwrapper | 9aabe99c635f2e8efd1c3bca722319af4413ba3d | [
"MIT"
] | null | null | null | app/views.py | krishnavaidy/benchsci-challenge-outerwrapper | 9aabe99c635f2e8efd1c3bca722319af4413ba3d | [
"MIT"
] | null | null | null | app/views.py | krishnavaidy/benchsci-challenge-outerwrapper | 9aabe99c635f2e8efd1c3bca722319af4413ba3d | [
"MIT"
] | null | null | null | # views.py
from flask import render_template
from app import app
@app.route('/')
def default():
return query()
@app.route('/query.html')
def query():
return render_template("query.html")
@app.route('/index.html')
def index():
return render_template("index.html")
@app.route('/results.html')
def result... | 17.885714 | 45 | 0.691693 | 83 | 626 | 5.13253 | 0.228916 | 0.230047 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132588 | 626 | 34 | 46 | 18.411765 | 0.78453 | 0.01278 | 0 | 0 | 0 | 0 | 0.228896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | true | 0 | 0.086957 | 0.304348 | 0.695652 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
46f6bc686e621c3aec09ceffd6d3a36c56a8e6e1 | 163 | py | Python | {{cookiecutter.repo_name}}/run.py | Jswig/cookiecutter-minimal-ml | c4c4059701638f0d32c1374b9f9d98c192410cc1 | [
"MIT"
] | 1 | 2020-04-19T02:56:21.000Z | 2020-04-19T02:56:21.000Z | {{cookiecutter.repo_name}}/run.py | Jswig/cookiecutter-flexible-ml | c4c4059701638f0d32c1374b9f9d98c192410cc1 | [
"MIT"
] | 1 | 2020-05-06T02:33:16.000Z | 2020-05-09T22:56:09.000Z | {{cookiecutter.repo_name}}/run.py | Jswig/cookiecutter-minimal-ml | c4c4059701638f0d32c1374b9f9d98c192410cc1 | [
"MIT"
] | 1 | 2020-07-11T23:20:02.000Z | 2020-07-11T23:20:02.000Z | # import files from src as needed here
def build_project():
# your code to run the full analysis here
pass
if __name__ == "__main__":
build_project() | 20.375 | 45 | 0.693252 | 24 | 163 | 4.291667 | 0.875 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233129 | 163 | 8 | 46 | 20.375 | 0.824 | 0.466258 | 0 | 0 | 0 | 0 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
46f960e9baa5abd05149a398b7365741f0eb2c6a | 164 | py | Python | sentence_transformers/datasets/__init__.py | Walid-Rahman2/modified_sentence_transfomers | d27fa33424df3e54c6e64ddc4262a95defb1371b | [
"Apache-2.0"
] | 25 | 2020-11-14T11:09:23.000Z | 2022-02-13T14:56:13.000Z | sentence_transformers/datasets/__init__.py | Walid-Rahman2/modified_sentence_transfomers | d27fa33424df3e54c6e64ddc4262a95defb1371b | [
"Apache-2.0"
] | null | null | null | sentence_transformers/datasets/__init__.py | Walid-Rahman2/modified_sentence_transfomers | d27fa33424df3e54c6e64ddc4262a95defb1371b | [
"Apache-2.0"
] | 6 | 2021-05-18T08:43:27.000Z | 2022-03-01T02:33:13.000Z | from .ParallelSentencesDataset import ParallelSentencesDataset
from .SentenceLabelDataset import SentenceLabelDataset
from .SentencesDataset import SentencesDataset | 54.666667 | 62 | 0.914634 | 12 | 164 | 12.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067073 | 164 | 3 | 63 | 54.666667 | 0.980392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
201f117f42124d95fd91d0b67b84704f5b867a2b | 1,839 | py | Python | leetcode_python/Stack/car-fleet.py | yennanliu/Python_basics | 6a597442d39468295946cefbfb11d08f61424dc3 | [
"Unlicense"
] | 18 | 2019-08-01T07:45:02.000Z | 2022-03-31T18:05:44.000Z | leetcode_python/Stack/car-fleet.py | yennanliu/Python_basics | 6a597442d39468295946cefbfb11d08f61424dc3 | [
"Unlicense"
] | null | null | null | leetcode_python/Stack/car-fleet.py | yennanliu/Python_basics | 6a597442d39468295946cefbfb11d08f61424dc3 | [
"Unlicense"
] | 15 | 2019-12-29T08:46:20.000Z | 2022-03-08T14:14:05.000Z | # V0
# V1
# https://blog.csdn.net/fuxuemingzhu/article/details/81867361
class Solution:
def carFleet(self, target, position, speed):
"""
:type target: int
:type position: List[int]
:type speed: List[int]
:rtype: int
"""
cars = [(pos, spe) for pos, spe in zi... | 27.863636 | 76 | 0.507341 | 216 | 1,839 | 4.300926 | 0.25463 | 0.051668 | 0.038751 | 0.051668 | 0.826695 | 0.826695 | 0.826695 | 0.826695 | 0.826695 | 0.826695 | 0 | 0.02253 | 0.372485 | 1,839 | 65 | 77 | 28.292308 | 0.782496 | 0.218053 | 0 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6477d8195fb7e73f76004b18dbf25eacad39ce8b | 44,654 | py | Python | cmws/losses.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | cmws/losses.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | cmws/losses.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import math
import torch
import cmws
from cmws import util
def get_sleep_loss(generative_model, guide, num_samples):
"""
Args:
generative_model
guide
num_samples (int)
Returns: [num_samples]
"""
latent, obs = generative_model.sample(sample... | 34.913213 | 102 | 0.66124 | 5,967 | 44,654 | 4.594604 | 0.042065 | 0.086665 | 0.030821 | 0.046725 | 0.912971 | 0.888204 | 0.859462 | 0.837795 | 0.826853 | 0.816786 | 0 | 0.01012 | 0.221033 | 44,654 | 1,278 | 103 | 34.940532 | 0.778059 | 0.366104 | 0 | 0.650794 | 0 | 0 | 0.004521 | 0.002914 | 0 | 0 | 0 | 0.001565 | 0.001984 | 1 | 0.03373 | false | 0 | 0.009921 | 0 | 0.077381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3aa16055b17c5ccf2d5d3159522ada00fa4bb7f | 1,228 | py | Python | tests/test_jwt_protected.py | manoadamro/flask-jwt | dcfc5ea6597079c1f1d0f7db5357ba53e980eac3 | [
"MIT"
] | 1 | 2018-10-18T15:06:59.000Z | 2018-10-18T15:06:59.000Z | tests/test_jwt_protected.py | manoadamro/flask-jwt | dcfc5ea6597079c1f1d0f7db5357ba53e980eac3 | [
"MIT"
] | 1 | 2018-11-03T14:32:39.000Z | 2018-11-03T14:32:39.000Z | tests/test_jwt_protected.py | manoadamro/flask-jwt | dcfc5ea6597079c1f1d0f7db5357ba53e980eac3 | [
"MIT"
] | 1 | 2018-10-17T09:14:07.000Z | 2018-10-17T09:14:07.000Z | import unittest
from . import mocks
import flask_jwt
class JWTProtectedTest(unittest.TestCase):
def test_protected(self):
rules = [mocks.MockRule(True), mocks.MockRule(True)]
with mocks.patch_object(
flask_jwt.handlers.JWTHandler, "current_token", lambda: "token"
):
... | 36.117647 | 76 | 0.635993 | 124 | 1,228 | 6.137097 | 0.282258 | 0.094612 | 0.111695 | 0.086728 | 0.827858 | 0.784494 | 0.784494 | 0.733246 | 0.733246 | 0.733246 | 0 | 0 | 0.262215 | 1,228 | 33 | 77 | 37.212121 | 0.839956 | 0 | 0 | 0.586207 | 0 | 0 | 0.039902 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.103448 | false | 0 | 0.103448 | 0 | 0.241379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3cb848ceb76e9d663e99836d18c407512208845 | 185 | py | Python | src/garage/torch/policies/__init__.py | arbenton/garage | 5c398255fbfae375370483f18216996d82590a88 | [
"MIT"
] | null | null | null | src/garage/torch/policies/__init__.py | arbenton/garage | 5c398255fbfae375370483f18216996d82590a88 | [
"MIT"
] | null | null | null | src/garage/torch/policies/__init__.py | arbenton/garage | 5c398255fbfae375370483f18216996d82590a88 | [
"MIT"
] | 1 | 2020-02-05T00:34:07.000Z | 2020-02-05T00:34:07.000Z | """PyTorch Policies."""
from garage.torch.policies.base import Policy
from garage.torch.policies.gaussian_mlp_policy import GaussianMLPPolicy
__all__ = ['Policy', 'GaussianMLPPolicy']
| 30.833333 | 71 | 0.805405 | 21 | 185 | 6.809524 | 0.571429 | 0.13986 | 0.20979 | 0.321678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 185 | 5 | 72 | 37 | 0.841176 | 0.091892 | 0 | 0 | 0 | 0 | 0.141975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
373b2387164b533cf4bb41cb8739c1ec988000a4 | 179 | py | Python | src/processor/__init__.py | alliance-genome/agr_preprocess | 3ef8328db0ff8dc625851722be6c9acdd7c6ebd1 | [
"MIT"
] | null | null | null | src/processor/__init__.py | alliance-genome/agr_preprocess | 3ef8328db0ff8dc625851722be6c9acdd7c6ebd1 | [
"MIT"
] | 8 | 2020-04-21T21:27:16.000Z | 2022-01-24T16:57:18.000Z | src/processor/__init__.py | alliance-genome/agr_preprocess | 3ef8328db0ff8dc625851722be6c9acdd7c6ebd1 | [
"MIT"
] | 3 | 2020-12-19T08:58:34.000Z | 2020-12-19T08:59:01.000Z | from .processor import Processor
from .interaction_genetic_processor import InteractionGeneticProcessor
from .interaction_molecular_processor import InteractionMolecularProcessor
| 44.75 | 74 | 0.916201 | 16 | 179 | 10 | 0.5 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067039 | 179 | 3 | 75 | 59.666667 | 0.958084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
376589e5327e17e8bb5a4224ab30602b37a70d45 | 117 | py | Python | fcsgg/modeling/heads/__init__.py | liuhengyue/fcsgg | 826c6e194270461a66ca5d048cb67f1ccf7ef387 | [
"MIT"
] | 9 | 2022-01-17T03:27:46.000Z | 2022-03-26T09:35:59.000Z | fcsgg/modeling/heads/__init__.py | liuhengyue/fcsgg | 826c6e194270461a66ca5d048cb67f1ccf7ef387 | [
"MIT"
] | 3 | 2022-01-26T03:28:18.000Z | 2022-02-03T04:19:29.000Z | fcsgg/modeling/heads/__init__.py | liuhengyue/fcsgg | 826c6e194270461a66ca5d048cb67f1ccf7ef387 | [
"MIT"
] | null | null | null | from .heads import HEADS_REGISTRY, build_heads
from .multiscale_head import MultiScaleHeads
from .attn_heads import * | 39 | 46 | 0.854701 | 16 | 117 | 6 | 0.5625 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 47 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
378722799682b70c7a050a7dc45e36b904938300 | 115 | py | Python | tests/__init__.py | M0r13n/py-vigil-reporter | 489c6182560fb04884bf4feec3babe14179e5a65 | [
"MIT"
] | 2 | 2020-07-04T15:54:48.000Z | 2020-07-06T10:11:24.000Z | tests/__init__.py | M0r13n/py-vigil-reporter | 489c6182560fb04884bf4feec3babe14179e5a65 | [
"MIT"
] | null | null | null | tests/__init__.py | M0r13n/py-vigil-reporter | 489c6182560fb04884bf4feec3babe14179e5a65 | [
"MIT"
] | null | null | null | """
py-vigil-reporter
Copyright 2020, Leon Morten Richter
Author: Leon Morten Richter <leon.morten@gmail.com>
"""
| 16.428571 | 51 | 0.747826 | 16 | 115 | 5.375 | 0.6875 | 0.348837 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.121739 | 115 | 6 | 52 | 19.166667 | 0.811881 | 0.921739 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 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 | 6 |
37c752054edda9efdd6fcaa711752627a98372e3 | 14,016 | py | Python | Izhikevich/Visualization.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | null | null | null | Izhikevich/Visualization.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | null | null | null | Izhikevich/Visualization.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | null | null | null | import os
import numpy as np
from pprint import pprint
### Visualization
import networkx as nx
import matplotlib.pyplot as plt
import bokeh
from bokeh.io import curdoc
from bokeh.layouts import layout
from bokeh.models import (Button, CategoricalColorMapper, ColumnDataSource,
HoverTool, Label... | 48.164948 | 212 | 0.629138 | 1,771 | 14,016 | 4.777527 | 0.126482 | 0.039948 | 0.019856 | 0.021747 | 0.850254 | 0.812906 | 0.807233 | 0.794705 | 0.771658 | 0.748257 | 0 | 0.01594 | 0.243579 | 14,016 | 290 | 213 | 48.331034 | 0.780985 | 0.03496 | 0 | 0.683333 | 0 | 0 | 0.066899 | 0.009927 | 0 | 0 | 0 | 0.003448 | 0 | 1 | 0.083333 | false | 0 | 0.054167 | 0 | 0.158333 | 0.008333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
80afaf51686aa33effc92d96ee59d246eabf9262 | 421 | py | Python | sap/adt/__init__.py | xtough/sapcli | bdcb54afe387829af251543ef8c17394b5595d4d | [
"Apache-2.0"
] | null | null | null | sap/adt/__init__.py | xtough/sapcli | bdcb54afe387829af251543ef8c17394b5595d4d | [
"Apache-2.0"
] | null | null | null | sap/adt/__init__.py | xtough/sapcli | bdcb54afe387829af251543ef8c17394b5595d4d | [
"Apache-2.0"
] | null | null | null | """Base classes for ADT functionality modules"""
from sap.adt.core import Connection # noqa: F401
from sap.adt.objects import ADTObject, ADTObjectType, ADTCoreData, OrderedClassMembers # noqa: F401
from sap.adt.objects import Program, Class, Interface # noqa: F401
from sap.adt.package import Package # noqa: F401
f... | 46.777778 | 100 | 0.774347 | 59 | 421 | 5.525424 | 0.40678 | 0.128834 | 0.184049 | 0.230061 | 0.355828 | 0.190184 | 0.190184 | 0 | 0 | 0 | 0 | 0.049862 | 0.142518 | 421 | 8 | 101 | 52.625 | 0.853186 | 0.258907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 6 |
80d62d20c91cc4a0973ccbfad175aca90cf40cda | 23 | py | Python | composer/lm_adlmidi/__init__.py | lucasnfe/music-bardo | 6ab3655c00e80cad55064a9ead4534a9511516b5 | [
"MIT"
] | 12 | 2020-10-30T19:45:05.000Z | 2022-03-25T07:43:50.000Z | composer/lm_adlmidi/__init__.py | lucasnfe/music-bardo | 6ab3655c00e80cad55064a9ead4534a9511516b5 | [
"MIT"
] | 1 | 2020-12-30T17:24:12.000Z | 2020-12-30T17:24:12.000Z | composer/lm_adlmidi/__init__.py | lucasnfe/music-bardo | 6ab3655c00e80cad55064a9ead4534a9511516b5 | [
"MIT"
] | 1 | 2022-02-02T13:53:26.000Z | 2022-02-02T13:53:26.000Z | from training import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80e4d38a46637d4fc3357e1383d03b05ffd1847b | 218 | py | Python | office365/onedrive/contenttypes/content_type_order.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/onedrive/contenttypes/content_type_order.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/onedrive/contenttypes/content_type_order.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class ContentTypeOrder(ClientValue):
"""The contentTypeOrder resource specifies in which order the Content Type will appear in the selection UI."""
pass
| 31.142857 | 114 | 0.793578 | 27 | 218 | 6.37037 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016216 | 0.151376 | 218 | 6 | 115 | 36.333333 | 0.913514 | 0.477064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
038ef25e1f2a796d9be35e68b2c805a77c673e3c | 19,926 | py | Python | src/niweb/apps/noclook/tests/test_createforms.py | emjemj/ni | a78e6d97d1e4610aad7698c4f0f459221c680b4f | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2018-12-21T09:35:27.000Z | 2019-07-31T18:51:58.000Z | src/niweb/apps/noclook/tests/test_createforms.py | emjemj/ni | a78e6d97d1e4610aad7698c4f0f459221c680b4f | [
"BSD-2-Clause-FreeBSD"
] | 6 | 2019-07-25T07:10:23.000Z | 2021-02-08T09:58:57.000Z | src/niweb/apps/noclook/tests/test_createforms.py | emjemj/ni | a78e6d97d1e4610aad7698c4f0f459221c680b4f | [
"BSD-2-Clause-FreeBSD"
] | 5 | 2019-02-06T12:00:26.000Z | 2021-11-19T14:48:06.000Z | # -*- coding: utf-8 -*-
try:
reload
except NameError:
# Python 3 has reload in importlib
from importlib import reload
from django.test import TestCase, Client
from django.contrib.auth.models import User
from django.template.defaultfilters import slugify
from dynamic_preferences.registries import global_pre... | 41.254658 | 114 | 0.6215 | 2,370 | 19,926 | 5.016034 | 0.086076 | 0.107251 | 0.060565 | 0.066622 | 0.816622 | 0.790293 | 0.787685 | 0.782974 | 0.777927 | 0.752776 | 0 | 0.007685 | 0.249021 | 19,926 | 482 | 115 | 41.340249 | 0.786755 | 0.012346 | 0 | 0.684466 | 0 | 0.002427 | 0.131069 | 0.018252 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.055825 | false | 0.004854 | 0.019417 | 0.002427 | 0.084951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0397f4bc3e7a201b705c6ca57673cde890b8bfa2 | 23 | py | Python | code1/datasets/segmentation/baselines/__init__.py | nickpezzotti1/IIC3 | 9edd27b28d2bddec4c3979ea4591380f5c411c8e | [
"MIT"
] | 61 | 2019-04-05T17:52:24.000Z | 2022-01-26T13:08:31.000Z | code1/datasets/segmentation/baselines/__init__.py | nickpezzotti1/IIC3 | 9edd27b28d2bddec4c3979ea4591380f5c411c8e | [
"MIT"
] | 1 | 2020-07-11T12:16:31.000Z | 2020-07-14T18:47:29.000Z | code1/datasets/segmentation/baselines/__init__.py | nickpezzotti1/IIC3 | 9edd27b28d2bddec4c3979ea4591380f5c411c8e | [
"MIT"
] | 29 | 2019-04-19T19:47:44.000Z | 2021-12-20T05:51:43.000Z | from .doersch import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03c82756b897cfbdd728bb646d20a465f46bcc89 | 104 | py | Python | get_netcdf/__init__.py | Murilodsv/py-jules | 601ca9e6fbad7fe82404f5296babb04583ddda95 | [
"MIT"
] | null | null | null | get_netcdf/__init__.py | Murilodsv/py-jules | 601ca9e6fbad7fe82404f5296babb04583ddda95 | [
"MIT"
] | null | null | null | get_netcdf/__init__.py | Murilodsv/py-jules | 601ca9e6fbad7fe82404f5296babb04583ddda95 | [
"MIT"
] | 1 | 2020-04-13T17:23:54.000Z | 2020-04-13T17:23:54.000Z | #--- init imports
from .read_ncdf import read_ncdf
from .get_res import get_res
| 20.8 | 42 | 0.605769 | 14 | 104 | 4.214286 | 0.571429 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.336538 | 104 | 4 | 43 | 26 | 0.855072 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03cd2d8fb3e4972218991de36aff65cd1f4a0957 | 28,634 | py | Python | tests/datalake/test_file.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | 2 | 2020-10-20T18:38:16.000Z | 2020-10-20T20:12:35.000Z | tests/datalake/test_file.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | 30 | 2020-04-07T01:15:47.000Z | 2020-11-18T03:25:19.000Z | tests/datalake/test_file.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | null | null | null | import json
import os
import shutil
import unittest
from unittest.mock import patch, create_autospec
import requests
from mock import MagicMock
from abeja.exceptions import HttpError
from abeja.datalake.file import (
FileIterator,
DatalakeFile
)
from abeja.exceptions import BadRequest
TEST_MOUNT_DIR = 'tests... | 39.769444 | 129 | 0.58654 | 3,266 | 28,634 | 4.774342 | 0.07226 | 0.051177 | 0.031424 | 0.037709 | 0.827807 | 0.787084 | 0.749824 | 0.712307 | 0.703072 | 0.68146 | 0 | 0.036989 | 0.304149 | 28,634 | 719 | 130 | 39.824757 | 0.745596 | 0.001851 | 0 | 0.59098 | 0 | 0 | 0.155795 | 0.049937 | 0 | 0 | 0 | 0 | 0.132193 | 1 | 0.066874 | false | 0 | 0.015552 | 0 | 0.090202 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20615c57ef80739d6e459c1803a0fd2213412001 | 167 | py | Python | run.py | gadogttas/discord-key-bot | 230cbc1ea90cb751cc113b3ad12b3794a9ed162d | [
"Unlicense"
] | 1 | 2021-12-01T05:33:47.000Z | 2021-12-01T05:33:47.000Z | run.py | bayangan1991/discord-key-bot | e1ed7d23d639cc04163c0af7d32a02134c95e930 | [
"Unlicense"
] | null | null | null | run.py | bayangan1991/discord-key-bot | e1ed7d23d639cc04163c0af7d32a02134c95e930 | [
"Unlicense"
] | 1 | 2021-11-06T22:07:40.000Z | 2021-11-06T22:07:40.000Z | import os
from dotenv import load_dotenv
from discord_key_bot import bot
from discord_key_bot.keyparse import parse_key
load_dotenv()
bot.run(os.environ["TOKEN"])
| 15.181818 | 46 | 0.814371 | 28 | 167 | 4.607143 | 0.464286 | 0.155039 | 0.217054 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11976 | 167 | 10 | 47 | 16.7 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0.02994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
20c9fdec1ccb468d636de80b4935402a6e488380 | 46 | py | Python | examples/x01separated/petstore/__init__.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 49 | 2017-02-05T17:32:18.000Z | 2022-01-30T13:20:22.000Z | examples/x01separated/petstore/__init__.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 62 | 2016-12-27T15:38:28.000Z | 2021-09-30T02:47:00.000Z | examples/x01separated/petstore/__init__.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 10 | 2017-07-19T12:38:25.000Z | 2020-04-07T09:11:22.000Z | from .Error import Error
from .Pet import Pet
| 15.333333 | 24 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20d27307ef1b485f6c06a5f57f926c92d21a0df9 | 236 | py | Python | pytorch13/utils.py | mathski/deep-fingerprints | b338ebf8aed517418877be4ed19a6c51d071ee05 | [
"MIT"
] | 1 | 2020-01-14T21:24:22.000Z | 2020-01-14T21:24:22.000Z | pytorch13/utils.py | mathski/deep-fingerprints | b338ebf8aed517418877be4ed19a6c51d071ee05 | [
"MIT"
] | null | null | null | pytorch13/utils.py | mathski/deep-fingerprints | b338ebf8aed517418877be4ed19a6c51d071ee05 | [
"MIT"
] | null | null | null | ##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
## Created by: Eric Wengrowski
## NYU
## Email: ew2266@nyu.edu
## Copyright (c) 2020
##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 39.333333 | 75 | 0.241525 | 12 | 236 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036199 | 0.063559 | 236 | 6 | 76 | 39.333333 | 0.221719 | 0.927966 | 0 | null | 0 | null | 0 | 0 | null | 1 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20d455ef64bcebf8bfb37c25fa199b5705b620ac | 3,250 | py | Python | services/core-api/tests/users/resources/test_minespace_user_resource.py | bcgov/mds | 6c427a66a5edb4196222607291adef8fd6677038 | [
"Apache-2.0"
] | 25 | 2018-07-09T19:04:37.000Z | 2022-03-15T17:27:10.000Z | services/core-api/tests/users/resources/test_minespace_user_resource.py | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 983 | 2018-04-25T20:08:07.000Z | 2022-03-31T21:45:20.000Z | services/core-api/tests/users/resources/test_minespace_user_resource.py | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 58 | 2018-05-15T22:35:50.000Z | 2021-11-29T19:40:52.000Z | import json, uuid
from tests.factories import MinespaceUserFactory
def test_get_minespace_users_all(test_client, db_session, auth_headers):
user_email = MinespaceUserFactory().email_or_username
get_resp = test_client.get('/users/minespace', headers=auth_headers['full_auth_header'])
get_data = json.loads... | 42.207792 | 96 | 0.748308 | 457 | 3,250 | 4.940919 | 0.137856 | 0.070859 | 0.08636 | 0.067316 | 0.844553 | 0.798051 | 0.765722 | 0.74845 | 0.707706 | 0.653676 | 0 | 0.014472 | 0.128308 | 3,250 | 76 | 97 | 42.763158 | 0.782563 | 0 | 0 | 0.5 | 0 | 0 | 0.172 | 0.041231 | 0 | 0 | 0 | 0 | 0.288462 | 1 | 0.153846 | false | 0 | 0.038462 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4546a6fc819037ec660be408499d5fb0af127669 | 95 | py | Python | python_client/slicer_package_manager_client/__main__.py | girder/slicer_package_manager | 80eb66bd5069c70940bf152dcd3662a875213871 | [
"Apache-2.0"
] | 1 | 2020-06-11T00:44:58.000Z | 2020-06-11T00:44:58.000Z | python_client/slicer_package_manager_client/__main__.py | girder/slicer_package_manager | 80eb66bd5069c70940bf152dcd3662a875213871 | [
"Apache-2.0"
] | 54 | 2018-03-01T14:04:34.000Z | 2022-02-16T04:33:43.000Z | python_client/slicer_package_manager_client/__main__.py | girder/slicer_package_manager | 80eb66bd5069c70940bf152dcd3662a875213871 | [
"Apache-2.0"
] | 1 | 2022-03-11T20:25:23.000Z | 2022-03-11T20:25:23.000Z | # -*- coding: utf-8 -*-
from . import cli # pragma: no cover
cli.main() # pragma: no cover
| 15.833333 | 37 | 0.589474 | 14 | 95 | 4 | 0.714286 | 0.285714 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.231579 | 95 | 5 | 38 | 19 | 0.753425 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
455ead55a7d666a80a52f1b35a07664e85b29a71 | 46 | py | Python | extract_gtfs/extract/__init__.py | ducminh-phan/extract_gtfs | 3c8c1d4e6c7baec6440bd91d0b746178a66161e7 | [
"MIT"
] | null | null | null | extract_gtfs/extract/__init__.py | ducminh-phan/extract_gtfs | 3c8c1d4e6c7baec6440bd91d0b746178a66161e7 | [
"MIT"
] | null | null | null | extract_gtfs/extract/__init__.py | ducminh-phan/extract_gtfs | 3c8c1d4e6c7baec6440bd91d0b746178a66161e7 | [
"MIT"
] | null | null | null | from extract_gtfs.extract.main import extract
| 23 | 45 | 0.869565 | 7 | 46 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.