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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2b48986fe02f172c4ed63535bd110e861097d5ae | 219 | py | Python | practice_problems/recursive/sum_recursive.py | YazzyYaz/codinginterviews | b8115c43507d738bccd90366f2bc02867ba7f13f | [
"MIT"
] | null | null | null | practice_problems/recursive/sum_recursive.py | YazzyYaz/codinginterviews | b8115c43507d738bccd90366f2bc02867ba7f13f | [
"MIT"
] | null | null | null | practice_problems/recursive/sum_recursive.py | YazzyYaz/codinginterviews | b8115c43507d738bccd90366f2bc02867ba7f13f | [
"MIT"
] | null | null | null | def sum_recursive(current_number, accumulated_sum):
if current_number == 11:
return accumulated_sum
return sum_recursive(current_number + 1, accumulated_sum + current_number)
print(sum_recursive(1, 0))
| 31.285714 | 78 | 0.762557 | 29 | 219 | 5.413793 | 0.413793 | 0.33121 | 0.242038 | 0.318471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027174 | 0.159817 | 219 | 6 | 79 | 36.5 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2b53f19dc1e922b167cca3571d16a03c414935f0 | 27 | py | Python | jisho_api/tokenize/__init__.py | finia2NA/jisho-api | c80beb44a7b70f24e799cd2a7d579356c58f8625 | [
"Apache-2.0"
] | 26 | 2021-10-05T03:54:33.000Z | 2022-03-26T10:46:31.000Z | jisho_api/tokenize/__init__.py | finia2NA/jisho-api | c80beb44a7b70f24e799cd2a7d579356c58f8625 | [
"Apache-2.0"
] | 7 | 2021-11-22T00:43:30.000Z | 2022-01-12T00:34:22.000Z | jisho_api/tokenize/__init__.py | finia2NA/jisho-api | c80beb44a7b70f24e799cd2a7d579356c58f8625 | [
"Apache-2.0"
] | 4 | 2021-12-08T13:41:07.000Z | 2022-03-25T20:54:07.000Z | from .request import Tokens | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 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 |
992c77907cab653c3ab12d61ab7ddd7d347f357e | 241 | py | Python | cloudkeeper_os/main.py | Misenko/cloudkeeper-os | feee2eceee7935ab1bac466be0c1ecd12d2968b9 | [
"Apache-2.0"
] | 1 | 2019-02-21T14:34:29.000Z | 2019-02-21T14:34:29.000Z | cloudkeeper_os/main.py | Misenko/cloudkeeper-os | feee2eceee7935ab1bac466be0c1ecd12d2968b9 | [
"Apache-2.0"
] | 21 | 2017-07-31T14:07:33.000Z | 2019-11-12T21:56:40.000Z | cloudkeeper_os/main.py | Misenko/cloudkeeper-os | feee2eceee7935ab1bac466be0c1ecd12d2968b9 | [
"Apache-2.0"
] | 8 | 2017-02-26T21:55:25.000Z | 2020-01-29T11:10:13.000Z | """
Main entry point for Cloudkeeper-OS
"""
from cloudkeeper_os import configuration
from cloudkeeper_os.grpc import server
def run():
"""
Main method run for Cloudkeeper-OS
"""
configuration.configure()
server.serve()
| 17.214286 | 40 | 0.701245 | 29 | 241 | 5.758621 | 0.551724 | 0.311377 | 0.191617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19917 | 241 | 13 | 41 | 18.538462 | 0.865285 | 0.290456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
99603d2912113122bdc0e71010c9860ea0737810 | 86 | py | Python | deep_gw_pe_followup/plotting/__init__.py | avivajpeyi/gw_pe_judge | 151d597fdd6128a278e1d4cff65d3e6776e1fa83 | [
"MIT"
] | null | null | null | deep_gw_pe_followup/plotting/__init__.py | avivajpeyi/gw_pe_judge | 151d597fdd6128a278e1d4cff65d3e6776e1fa83 | [
"MIT"
] | null | null | null | deep_gw_pe_followup/plotting/__init__.py | avivajpeyi/gw_pe_judge | 151d597fdd6128a278e1d4cff65d3e6776e1fa83 | [
"MIT"
] | null | null | null | from .ci import plot_ci
from .hist2d import plot_probs
from .corner import plot_corner | 28.666667 | 31 | 0.837209 | 15 | 86 | 4.6 | 0.466667 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.127907 | 86 | 3 | 31 | 28.666667 | 0.906667 | 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 |
996d820ff7c5019919625bc3810e0b4bc6b1db1d | 11,585 | py | Python | test/tasks/test_comment_reply.py | GrafeasGroup/tor_worker | b17981f45323c182c2526749250018450d034ef7 | [
"MIT"
] | 1 | 2018-03-22T17:10:00.000Z | 2018-03-22T17:10:00.000Z | test/tasks/test_comment_reply.py | GrafeasGroup/tor_worker | b17981f45323c182c2526749250018450d034ef7 | [
"MIT"
] | null | null | null | test/tasks/test_comment_reply.py | GrafeasGroup/tor_worker | b17981f45323c182c2526749250018450d034ef7 | [
"MIT"
] | null | null | null | from tor_worker.role_moderator.tasks import (
process_comment,
process_mod_intervention,
)
from ..celery import (
signature,
reset_signatures,
assert_no_tasks_called,
assert_only_tasks_called,
)
from ..generators import (
generate_redditor,
generate_comment,
generate_submission,
)
... | 40.086505 | 80 | 0.670263 | 1,333 | 11,585 | 5.531883 | 0.105026 | 0.080553 | 0.084622 | 0.107404 | 0.879441 | 0.866829 | 0.85598 | 0.819365 | 0.795769 | 0.767426 | 0 | 0.001244 | 0.236599 | 11,585 | 288 | 81 | 40.225694 | 0.832542 | 0.052482 | 0 | 0.654206 | 0 | 0 | 0.267826 | 0.212082 | 0 | 0 | 0 | 0.003472 | 0.163551 | 1 | 0.074766 | false | 0 | 0.03271 | 0 | 0.121495 | 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 |
41f89e54814a159a83b1be46061c8c1791b77390 | 104 | py | Python | Code/YOLO/darkflow/darkflow/net/yolov2/__init__.py | dnyaneshb25/dnyaneshbhonde | d4d253107ca3d15a8b20705a0b2bd782a47ae38b | [
"Apache-2.0"
] | 49 | 2018-02-28T21:50:06.000Z | 2022-03-14T15:18:44.000Z | Code/YOLO/darkflow/darkflow/net/yolov2/__init__.py | dnyaneshb25/dnyaneshbhonde | d4d253107ca3d15a8b20705a0b2bd782a47ae38b | [
"Apache-2.0"
] | 52 | 2017-04-28T14:55:21.000Z | 2017-07-05T21:42:45.000Z | Code/YOLO/darkflow/darkflow/net/yolov2/__init__.py | dnyaneshb25/dnyaneshbhonde | d4d253107ca3d15a8b20705a0b2bd782a47ae38b | [
"Apache-2.0"
] | 22 | 2021-03-24T10:21:51.000Z | 2022-03-30T06:30:29.000Z | from . import train
from . import predict
from . import data
from ..yolo import misc
import numpy as np
| 17.333333 | 23 | 0.759615 | 17 | 104 | 4.647059 | 0.588235 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 104 | 5 | 24 | 20.8 | 0.940476 | 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 |
41ffa5a3cbb3f3d9ef0c5df95b78cf4ebdeb6da4 | 94 | py | Python | main.py | Shreyansh2006/Snake | cb592ebb567ade53a3fe8310fe6dda847719a33d | [
"MIT"
] | 4 | 2020-09-11T09:31:26.000Z | 2020-09-27T13:49:12.000Z | main.py | Shreyansh2006/Snake | cb592ebb567ade53a3fe8310fe6dda847719a33d | [
"MIT"
] | 1 | 2020-09-11T09:46:42.000Z | 2020-09-15T06:50:04.000Z | main.py | Shreyansh2006/Snake | cb592ebb567ade53a3fe8310fe6dda847719a33d | [
"MIT"
] | 2 | 2020-10-01T05:18:36.000Z | 2020-10-01T06:35:31.000Z | from globals_ import init, start_page
init()
start_page()
from menu import menu
menu() | 13.428571 | 38 | 0.723404 | 14 | 94 | 4.642857 | 0.5 | 0.276923 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202128 | 94 | 7 | 39 | 13.428571 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5154b8a7cef515b892c7740fb277c6666e56aae0 | 1,065 | py | Python | homework_1/titanic_prediction/data/clean.py | aigulkhkmv/deploy_course_hse | 25062047bd692aaf7e552d2a36b381049e21ea59 | [
"MIT"
] | null | null | null | homework_1/titanic_prediction/data/clean.py | aigulkhkmv/deploy_course_hse | 25062047bd692aaf7e552d2a36b381049e21ea59 | [
"MIT"
] | null | null | null | homework_1/titanic_prediction/data/clean.py | aigulkhkmv/deploy_course_hse | 25062047bd692aaf7e552d2a36b381049e21ea59 | [
"MIT"
] | null | null | null | import click
import pandas as pd
def chose_columns(df, columns):
df_with_columns = df[columns]
return df_with_columns
@click.group()
def cli():
pass
@cli.command()
@click.argument("raw_data", type=click.Path())
@click.argument("prep_data", type=click.Path())
def clean_train(raw_data, prep_data):
"... | 23.666667 | 86 | 0.667606 | 148 | 1,065 | 4.513514 | 0.297297 | 0.107784 | 0.095808 | 0.101796 | 0.787425 | 0.787425 | 0.787425 | 0.787425 | 0.787425 | 0.787425 | 0 | 0 | 0.169014 | 1,065 | 44 | 87 | 24.204545 | 0.754802 | 0.047887 | 0 | 0.5 | 0 | 0 | 0.12411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.107143 | 0.071429 | 0 | 0.25 | 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 |
850302539a853686ee76098643285147f5ca5530 | 29 | py | Python | slim/support/peewee/__init__.py | fy0/mapi | cfdb16ea2365b229b6d0aceb6cb83f45cdb78094 | [
"Zlib"
] | 50 | 2017-09-18T07:56:14.000Z | 2022-02-02T18:47:02.000Z | slim/support/peewee/__init__.py | fy0/mapi | cfdb16ea2365b229b6d0aceb6cb83f45cdb78094 | [
"Zlib"
] | 12 | 2018-12-19T10:44:18.000Z | 2020-09-10T06:53:24.000Z | slim/support/peewee/__init__.py | fy0/mapi | cfdb16ea2365b229b6d0aceb6cb83f45cdb78094 | [
"Zlib"
] | 19 | 2017-09-18T07:56:16.000Z | 2020-11-27T07:11:12.000Z | from .view import PeeweeView
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
850dafabc21fe96eeb4fedc036d3469de2bdbee0 | 33 | py | Python | tests/test_sftpServer.py | wengyan123/SFTPServer | 23e4ba7461624aad622ed3d9a96ed36eee811f4c | [
"MIT"
] | null | null | null | tests/test_sftpServer.py | wengyan123/SFTPServer | 23e4ba7461624aad622ed3d9a96ed36eee811f4c | [
"MIT"
] | null | null | null | tests/test_sftpServer.py | wengyan123/SFTPServer | 23e4ba7461624aad622ed3d9a96ed36eee811f4c | [
"MIT"
] | null | null | null | from .context import sftpServer
| 11 | 31 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 32 | 16.5 | 0.964286 | 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 |
8517cc48feee14efdf94f4447fb4999a1cff49e8 | 14,526 | py | Python | tests/azure_function_text_file_tests.py | logzio/logzio-azure-blob-trigger | 562c8774a8f5d59f091ed11b79b146af412fcd36 | [
"Apache-2.0"
] | null | null | null | tests/azure_function_text_file_tests.py | logzio/logzio-azure-blob-trigger | 562c8774a8f5d59f091ed11b79b146af412fcd36 | [
"Apache-2.0"
] | null | null | null | tests/azure_function_text_file_tests.py | logzio/logzio-azure-blob-trigger | 562c8774a8f5d59f091ed11b79b146af412fcd36 | [
"Apache-2.0"
] | null | null | null | import unittest
import logging
import os
import math
from io import BytesIO
from .tests_utils import TestsUtils
from src.LogzioShipper.file_handler import FileHandler
from src.LogzioShipper.text_parser import TextParser
from src.LogzioShipper.logzio_shipper import LogzioShipper
logger = logging.getLogger(__name__)
... | 61.812766 | 130 | 0.745835 | 1,696 | 14,526 | 5.875 | 0.058962 | 0.073063 | 0.059012 | 0.056303 | 0.887395 | 0.836511 | 0.807306 | 0.770373 | 0.763549 | 0.739964 | 0 | 0.003754 | 0.193102 | 14,526 | 234 | 131 | 62.076923 | 0.846344 | 0 | 0 | 0.52973 | 0 | 0.005405 | 0.014801 | 0.006953 | 0 | 0 | 0 | 0 | 0.12973 | 1 | 0.064865 | false | 0 | 0.048649 | 0 | 0.210811 | 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 |
85231ed6829b6721cb635c159238a7674c14d139 | 1,228 | py | Python | diagnostic_sa/li_2010.py | ConnectedSystems/diagnostic-sa | d84f99964a99bd9c89e3b1ee46168464e7dd1784 | [
"0BSD"
] | null | null | null | diagnostic_sa/li_2010.py | ConnectedSystems/diagnostic-sa | d84f99964a99bd9c89e3b1ee46168464e7dd1784 | [
"0BSD"
] | null | null | null | diagnostic_sa/li_2010.py | ConnectedSystems/diagnostic-sa | d84f99964a99bd9c89e3b1ee46168464e7dd1784 | [
"0BSD"
] | null | null | null | def li_2010_case1_incorrect(x1, x2, x3, x4, x5):
"""An incorrect implementation of Li et al. (2010) example case #1.
`y` should be the sum of all inputs, but here an inadvertent typo subtracts x5.
References
----------
.. [1] Li, G., Rabitz, H., Yelvington, P.E., Oluwole, O.O., Bacon, F.,
... | 33.189189 | 88 | 0.575733 | 180 | 1,228 | 3.905556 | 0.411111 | 0.02276 | 0.034139 | 0.045519 | 0.790896 | 0.790896 | 0.756757 | 0.756757 | 0.756757 | 0.566145 | 0 | 0.116226 | 0.292345 | 1,228 | 36 | 89 | 34.111111 | 0.690449 | 0.758143 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
51b7c381c03a0a2b13b81fc0a77104fd6fde2d65 | 5,937 | py | Python | tests/test_agg_mds_query.py | phs-rcg/metadata-service | 227ab79f1d8eadc3265cdb0c0bfcfc54db1da3b8 | [
"Apache-2.0"
] | 10 | 2020-04-28T10:20:02.000Z | 2021-11-01T22:20:10.000Z | tests/test_agg_mds_query.py | phs-rcg/metadata-service | 227ab79f1d8eadc3265cdb0c0bfcfc54db1da3b8 | [
"Apache-2.0"
] | 23 | 2020-02-04T22:36:02.000Z | 2022-03-24T18:26:49.000Z | tests/test_agg_mds_query.py | phs-rcg/metadata-service | 227ab79f1d8eadc3265cdb0c0bfcfc54db1da3b8 | [
"Apache-2.0"
] | 6 | 2020-01-14T20:44:50.000Z | 2022-02-15T22:17:14.000Z | from typing import Dict
import pytest
import nest_asyncio
from mds.agg_mds import datastore
from unittest.mock import patch
from conftest import AsyncMock
# https://github.com/encode/starlette/issues/440
nest_asyncio.apply()
@pytest.mark.asyncio
async def test_aggregate_commons(client):
with patch.object(
... | 33.167598 | 81 | 0.620179 | 648 | 5,937 | 5.462963 | 0.114198 | 0.073446 | 0.055085 | 0.088136 | 0.871186 | 0.871186 | 0.835593 | 0.819774 | 0.743785 | 0.646328 | 0 | 0.024795 | 0.259559 | 5,937 | 178 | 82 | 33.353933 | 0.780482 | 0.007748 | 0 | 0.61039 | 0 | 0 | 0.188487 | 0.072848 | 0 | 0 | 0 | 0 | 0.246753 | 1 | 0 | false | 0 | 0.038961 | 0 | 0.038961 | 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 |
cfba4e502de025d1499491cab71780eeee924c11 | 49 | py | Python | topsis_101883007_diljot/__init__.py | diljotsingh90/Topsis | d4e55aad20684959cf22339cc35e12ebba17925c | [
"MIT"
] | null | null | null | topsis_101883007_diljot/__init__.py | diljotsingh90/Topsis | d4e55aad20684959cf22339cc35e12ebba17925c | [
"MIT"
] | null | null | null | topsis_101883007_diljot/__init__.py | diljotsingh90/Topsis | d4e55aad20684959cf22339cc35e12ebba17925c | [
"MIT"
] | null | null | null | from topsis_101883007_diljot.Topsis import Topsis | 49 | 49 | 0.918367 | 7 | 49 | 6.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 0.061224 | 49 | 1 | 49 | 49 | 0.73913 | 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 |
cfc64acbbd81dd5b8a85b2434b52de90b9e29db8 | 48 | py | Python | app/api/router/__init__.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | 2 | 2022-02-14T23:53:00.000Z | 2022-03-24T12:19:49.000Z | app/api/router/__init__.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | null | null | null | app/api/router/__init__.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | null | null | null | # Created by Kelvin_Clark on 1/31/2022, 1:20 PM
| 24 | 47 | 0.729167 | 11 | 48 | 3.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.166667 | 48 | 1 | 48 | 48 | 0.6 | 0.9375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c9ddcf17af570a89fea5353c6b3b153fb6189be | 138 | py | Python | libtoontown/__init__.py | P1ayerOne/src | 3a4343e29f844fe95da7d51aaee7fb680d02bf72 | [
"BSD-3-Clause"
] | null | null | null | libtoontown/__init__.py | P1ayerOne/src | 3a4343e29f844fe95da7d51aaee7fb680d02bf72 | [
"BSD-3-Clause"
] | null | null | null | libtoontown/__init__.py | P1ayerOne/src | 3a4343e29f844fe95da7d51aaee7fb680d02bf72 | [
"BSD-3-Clause"
] | null | null | null | from libpandadna import *
from .pets.CPetBrain import CPetBrain
from .pets.CPetChase import CPetChase
from .pets.CPetFlee import CPetFlee
| 27.6 | 37 | 0.833333 | 18 | 138 | 6.388889 | 0.388889 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 4 | 38 | 34.5 | 0.942623 | 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 |
5cdf1d71da2394cd6c23875157816fa1e0e51911 | 96 | py | Python | venv/lib/python3.8/site-packages/pyls_jsonrpc/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyls_jsonrpc/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyls_jsonrpc/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/53/84/32/3af5cb0ed2c176eb9e1b64d7ac7a655929c0093769ec3072e8f2583444 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 |
7a3684a7a79311e09e6cd154eac9b4eebe886a59 | 41 | py | Python | relevanceai/dataset/io/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 21 | 2021-11-23T13:01:36.000Z | 2022-03-23T03:45:30.000Z | relevanceai/dataset/io/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 217 | 2021-11-23T00:11:01.000Z | 2022-03-30T08:11:49.000Z | relevanceai/dataset/io/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 4 | 2022-01-04T01:48:30.000Z | 2022-02-11T03:19:32.000Z | from relevanceai.dataset.io.io import IO
| 20.5 | 40 | 0.829268 | 7 | 41 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 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 |
7a4b31e0df0fb3f240d5a746a3ad6ecff4d34273 | 46 | py | Python | ast_refactor/__init__.py | flatironhealth/ast-refactor | 5b15c9990a9c59b803043c9e8895aa9f5d82a71c | [
"BSD-3-Clause"
] | 5 | 2019-12-19T21:33:47.000Z | 2020-08-26T06:55:55.000Z | ast_refactor/__init__.py | flatironhealth/ast-refactor | 5b15c9990a9c59b803043c9e8895aa9f5d82a71c | [
"BSD-3-Clause"
] | null | null | null | ast_refactor/__init__.py | flatironhealth/ast-refactor | 5b15c9990a9c59b803043c9e8895aa9f5d82a71c | [
"BSD-3-Clause"
] | null | null | null | from .core import ASTMigrator, transform_code
| 23 | 45 | 0.847826 | 6 | 46 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.926829 | 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 |
7a8abbfe93effabc7c4bde3cd646b347b1d412e6 | 90,345 | py | Python | tests/sentry/snuba/test_discover.py | vaniot-s/sentry | 5c1accadebfaf8baf6863251c05b38ea979ee1c7 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/snuba/test_discover.py | vaniot-s/sentry | 5c1accadebfaf8baf6863251c05b38ea979ee1c7 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/snuba/test_discover.py | vaniot-s/sentry | 5c1accadebfaf8baf6863251c05b38ea979ee1c7 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
import six
import pytest
from sentry.utils.compat.mock import patch
from datetime import datetime, timedelta
from sentry import eventstore
from sentry.api.event_search import InvalidSearchQuery
from sentry.snuba import discover
from sentry.testutils import TestCase, SnubaTestCa... | 38.774678 | 120 | 0.522774 | 8,913 | 90,345 | 5.098957 | 0.052956 | 0.070896 | 0.04634 | 0.065131 | 0.858737 | 0.835281 | 0.802209 | 0.779083 | 0.757432 | 0.723634 | 0 | 0.025178 | 0.328696 | 90,345 | 2,329 | 121 | 38.791327 | 0.724167 | 0.006475 | 0 | 0.666356 | 0 | 0 | 0.196325 | 0.064078 | 0 | 0 | 0 | 0 | 0.083295 | 1 | 0.045137 | false | 0 | 0.007445 | 0.000465 | 0.05584 | 0.001396 | 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 |
7ab52837c8a31902a14d0b7c801a9ea2f16eb60a | 825 | py | Python | antColonyOptimization/test/ACO_unit_test_all.py | DHEEPIKRAJ/DMCISCT | ec6d3c5b427c3266005f59bc174adfcd37942bf0 | [
"MIT"
] | 1 | 2022-03-02T12:57:19.000Z | 2022-03-02T12:57:19.000Z | antColonyOptimization/test/ACO_unit_test_all.py | DHEEPIKRAJ/DMCISCT | ec6d3c5b427c3266005f59bc174adfcd37942bf0 | [
"MIT"
] | null | null | null | antColonyOptimization/test/ACO_unit_test_all.py | DHEEPIKRAJ/DMCISCT | ec6d3c5b427c3266005f59bc174adfcd37942bf0 | [
"MIT"
] | null | null | null | import unittest
import importlib
#import tests from files
#testing class Ant:
from test_ant_pick_path import *
from test_ant_update_distance_traveled import *
from test_ant_update_route import *
from test_ant_traverse import *
from test_ant_run import *
from test_ant_integration_testing import *
#testing for class A... | 30.555556 | 64 | 0.854545 | 128 | 825 | 4.976563 | 0.289063 | 0.200942 | 0.276295 | 0.373626 | 0.422292 | 0.169545 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111515 | 825 | 27 | 65 | 30.555556 | 0.869031 | 0.083636 | 0 | 0 | 0 | 0 | 0.01061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9 | 0 | 0.9 | 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 |
8f89064f38e01c2403925ce12dc60d14e0d5343b | 1,704 | py | Python | tools/scipy-examples.py | martinahogg/machinelearning | 03b473375e64a0398177194df2fe26a1a89feedf | [
"Apache-2.0"
] | 2 | 2017-08-17T14:38:14.000Z | 2017-08-17T14:40:32.000Z | tools/scipy-examples.py | martinahogg/machinelearning | 03b473375e64a0398177194df2fe26a1a89feedf | [
"Apache-2.0"
] | null | null | null | tools/scipy-examples.py | martinahogg/machinelearning | 03b473375e64a0398177194df2fe26a1a89feedf | [
"Apache-2.0"
] | null | null | null | # Gaussian (a.k.a. normal) distribution
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import norm
# Probability Density Function (PDF)
r = np.random.randn(1000)
p = norm.pdf(r)
plt.scatter(r,p)
plt.title("Probability Density Function (PDF)")
plt.xlabel("r")
plt.ylabel("p")
plt.show()
# Log Proba... | 25.432836 | 85 | 0.718897 | 273 | 1,704 | 4.487179 | 0.186813 | 0.032653 | 0.169796 | 0.189388 | 0.826939 | 0.826939 | 0.794286 | 0.76 | 0.669388 | 0.663673 | 0 | 0.03963 | 0.111502 | 1,704 | 67 | 86 | 25.432836 | 0.769485 | 0.244131 | 0 | 0.612245 | 0 | 0 | 0.306186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.061224 | 0 | 0.061224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64f0e893cd21d116ce4ec79ccd8f2f57dae75323 | 3,175 | py | Python | tests/models/_teacher_forcing_logits.py | maggiewu19/shap | 040633e368782adaaa0fcb24c798f6f8f3cd58dd | [
"MIT"
] | null | null | null | tests/models/_teacher_forcing_logits.py | maggiewu19/shap | 040633e368782adaaa0fcb24c798f6f8f3cd58dd | [
"MIT"
] | null | null | null | tests/models/_teacher_forcing_logits.py | maggiewu19/shap | 040633e368782adaaa0fcb24c798f6f8f3cd58dd | [
"MIT"
] | null | null | null | ''' This file contains tests for the TeacherForcingLogits class.
'''
def test_method_get_teacher_forced_logits_for_encoder_decoder_model():
""" Tests if get_teacher_forced_logits() works for encoder-decoder models.
"""
import torch
import numpy as np
from transformers import AutoTokenizer, AutoMode... | 47.38806 | 132 | 0.789921 | 389 | 3,175 | 6.118252 | 0.197943 | 0.060504 | 0.053782 | 0.07395 | 0.892017 | 0.892017 | 0.870588 | 0.842857 | 0.810924 | 0.810924 | 0 | 0.004359 | 0.132913 | 3,175 | 67 | 133 | 47.38806 | 0.860153 | 0.093858 | 0 | 0.682927 | 0 | 0 | 0.116556 | 0.021001 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.04878 | false | 0 | 0.243902 | 0 | 0.292683 | 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 |
8f72eb2c6fc82fdf7421b69e6865d37b6bd26f55 | 20 | py | Python | src/chana/analysis/__init__.py | ahaberlie/chana | 5ea718f372eb97684d54e6e0b2b52fa339356bcd | [
"MIT"
] | null | null | null | src/chana/analysis/__init__.py | ahaberlie/chana | 5ea718f372eb97684d54e6e0b2b52fa339356bcd | [
"MIT"
] | 2 | 2020-10-08T19:02:35.000Z | 2020-10-12T19:12:39.000Z | src/chana/analysis/__init__.py | ahaberlie/chana | 5ea718f372eb97684d54e6e0b2b52fa339356bcd | [
"MIT"
] | 1 | 2020-10-04T17:17:48.000Z | 2020-10-04T17:17:48.000Z | from .climo import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 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 |
8f7df0eebe0cebf2ae3a20944f832c859a8b48b6 | 353 | py | Python | neuralnetwork/code/parameters/RatParameters.py | realwsq/MuscleSpindleCircuitsModel | 4418b180559ea1464ee6139161af7e6bf3762c50 | [
"MIT"
] | 5 | 2018-11-13T15:22:14.000Z | 2022-03-23T17:00:38.000Z | neuralnetwork/code/parameters/RatParameters.py | realwsq/MuscleSpindleCircuitsModel | 4418b180559ea1464ee6139161af7e6bf3762c50 | [
"MIT"
] | null | null | null | neuralnetwork/code/parameters/RatParameters.py | realwsq/MuscleSpindleCircuitsModel | 4418b180559ea1464ee6139161af7e6bf3762c50 | [
"MIT"
] | 1 | 2020-05-20T12:18:04.000Z | 2020-05-20T12:18:04.000Z | class RatParameters():
@classmethod
def get_tot_sim_time(cls):
return 12385
@classmethod
def get_gait_cycles_file(cls):
return "../inputFiles/ratGaitCycles.p"
@classmethod
def get_muscles(cls):
return ["TA","GM"]
@classmethod
def get_muscles_dict(cls):
... | 19.611111 | 46 | 0.614731 | 41 | 353 | 5.073171 | 0.560976 | 0.269231 | 0.326923 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019011 | 0.254958 | 353 | 17 | 47 | 20.764706 | 0.771863 | 0 | 0 | 0.307692 | 0 | 0 | 0.124646 | 0.082153 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.307692 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
56d9085b553afb321ea16d71bdb35747014eabbe | 11,429 | py | Python | Evaluations/L1.py | shi-ang/SurvivalEVAL | 0a53441938d9ded6a7c5f98eca2b05825a1fa6dc | [
"MIT"
] | 1 | 2021-09-08T16:08:26.000Z | 2021-09-08T16:08:26.000Z | Evaluations/L1.py | shi-ang/SurvivalEVAL | 0a53441938d9ded6a7c5f98eca2b05825a1fa6dc | [
"MIT"
] | null | null | null | Evaluations/L1.py | shi-ang/SurvivalEVAL | 0a53441938d9ded6a7c5f98eca2b05825a1fa6dc | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
from typing import Optional
import scipy.integrate as integrate
from Evaluations.custom_types import NumericArrayLike
from Evaluations.util import check_and_convert, KaplanMeier, predict_mean_survival_time, predict_median_survival_time, KaplanMeierArea
def l1_loss_pycox(
... | 51.022321 | 134 | 0.704611 | 1,438 | 11,429 | 5.317803 | 0.116829 | 0.123578 | 0.06277 | 0.04577 | 0.808945 | 0.782791 | 0.776644 | 0.775206 | 0.725906 | 0.714005 | 0 | 0.004358 | 0.216992 | 11,429 | 223 | 135 | 51.251121 | 0.850151 | 0.256103 | 0 | 0.616438 | 0 | 0 | 0.053561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034247 | false | 0 | 0.041096 | 0.006849 | 0.130137 | 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 |
71032df0bcfcfd8c5863a8fe3f21c4d654bfd4a9 | 180 | py | Python | multiplicity/__init__.py | rbiswas4/multipleRepositoryUtils | e47e7604bc946fffe10034a7277b0e9920c7c5d1 | [
"MIT"
] | null | null | null | multiplicity/__init__.py | rbiswas4/multipleRepositoryUtils | e47e7604bc946fffe10034a7277b0e9920c7c5d1 | [
"MIT"
] | 3 | 2016-06-27T00:43:07.000Z | 2016-07-25T06:09:54.000Z | multiplicity/__init__.py | rbiswas4/multipleRepositoryUtils | e47e7604bc946fffe10034a7277b0e9920c7c5d1 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .repositorylists import *
from .version import *
from .repoActions import *
from .eupsActions import *
from .lsstRepository import *
| 18 | 38 | 0.794444 | 20 | 180 | 6.9 | 0.45 | 0.362319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 180 | 9 | 39 | 20 | 0.901961 | 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 |
711cdb4938b2fea37692e44817a100b6953147d3 | 5,154 | py | Python | examples/sinewave_bem_vs_jkr.py | ContactEngineering/Adhesion | acc46ad9bfe49fec667cb9a116ebde426faa38c4 | [
"MIT"
] | null | null | null | examples/sinewave_bem_vs_jkr.py | ContactEngineering/Adhesion | acc46ad9bfe49fec667cb9a116ebde426faa38c4 | [
"MIT"
] | 4 | 2021-08-18T07:30:57.000Z | 2022-03-05T11:05:09.000Z | examples/sinewave_bem_vs_jkr.py | ContactEngineering/Adhesion | acc46ad9bfe49fec667cb9a116ebde426faa38c4 | [
"MIT"
] | null | null | null | import numpy as np
from ContactMechanics import PeriodicFFTElasticHalfSpace
from SurfaceTopography import UniformLineScan
import matplotlib.pyplot as plt
from Adhesion.Interactions import VDW82, Exponential
from Adhesion.System import SmoothContactSystem, BoundedSmoothContactSystem
from Adhesion.ReferenceSolutions.sin... | 28.955056 | 75 | 0.563058 | 641 | 5,154 | 4.438378 | 0.26209 | 0.011248 | 0.019684 | 0.025308 | 0.774692 | 0.774692 | 0.774692 | 0.774692 | 0.774692 | 0.774692 | 0 | 0.029888 | 0.305394 | 5,154 | 177 | 76 | 29.118644 | 0.764804 | 0.086147 | 0 | 0.790323 | 0 | 0 | 0.058058 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 1 | 0 | false | 0 | 0.056452 | 0 | 0.056452 | 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 |
a42bdcc786ac1d999dc0ec2a9b2736efbd047f9e | 33 | py | Python | client/query_modules/__init__.py | abhishekg785/hiro | 950224d07797740b8840316bb412c1827eab46f0 | [
"MIT"
] | 7 | 2017-04-12T10:58:42.000Z | 2021-10-03T18:07:29.000Z | client/query_modules/__init__.py | abhishekg785/hiro | 950224d07797740b8840316bb412c1827eab46f0 | [
"MIT"
] | null | null | null | client/query_modules/__init__.py | abhishekg785/hiro | 950224d07797740b8840316bb412c1827eab46f0 | [
"MIT"
] | 5 | 2017-07-06T12:28:10.000Z | 2020-01-07T19:45:25.000Z | print 'in the query_module BRO !' | 33 | 33 | 0.757576 | 6 | 33 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a42cc83e6e58c26afad477a2ab8dfccc0258a7ef | 248 | py | Python | storey/steps/__init__.py | abrookins/storey | ebcb1daba5d72e1a7f6e5cd7ea760248dd4f72e5 | [
"Apache-2.0"
] | 39 | 2020-11-01T15:27:22.000Z | 2022-02-25T09:44:20.000Z | storey/steps/__init__.py | abrookins/storey | ebcb1daba5d72e1a7f6e5cd7ea760248dd4f72e5 | [
"Apache-2.0"
] | 30 | 2020-09-10T08:41:16.000Z | 2022-02-24T10:05:55.000Z | storey/steps/__init__.py | abrookins/storey | ebcb1daba5d72e1a7f6e5cd7ea760248dd4f72e5 | [
"Apache-2.0"
] | 16 | 2020-09-09T14:09:59.000Z | 2021-09-15T18:28:35.000Z | from .flatten import Flatten # noqa: F401
from .foreach import ForEach # noqa: F401
from .sample import ( # noqa: F401
SampleWindow,
EmitPeriod
)
from .partition import Partition # noqa: F401
from .assertion import Assert # noqa: F401
| 27.555556 | 46 | 0.721774 | 31 | 248 | 5.774194 | 0.387097 | 0.223464 | 0.201117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076142 | 0.205645 | 248 | 8 | 47 | 31 | 0.832487 | 0.217742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a43f2268b5c486c495ea56937e8b186da40d8c7b | 394 | py | Python | snips_nlu/dataset/__init__.py | deeiip/snips-nlu | 63b9c42fe0fd2fde22bc10a0f4278a8f946ca1d8 | [
"Apache-2.0"
] | null | null | null | snips_nlu/dataset/__init__.py | deeiip/snips-nlu | 63b9c42fe0fd2fde22bc10a0f4278a8f946ca1d8 | [
"Apache-2.0"
] | null | null | null | snips_nlu/dataset/__init__.py | deeiip/snips-nlu | 63b9c42fe0fd2fde22bc10a0f4278a8f946ca1d8 | [
"Apache-2.0"
] | null | null | null | from snips_nlu.dataset.dataset import Dataset
from snips_nlu.dataset.entity import Entity, EntityFormatError
from snips_nlu.dataset.intent import Intent, IntentFormatError
from snips_nlu.dataset.utils import (
extract_intent_entities, extract_utterance_entities,
get_dataset_gazetteer_entities, get_text_from_chu... | 49.25 | 68 | 0.870558 | 53 | 394 | 6.132075 | 0.396226 | 0.138462 | 0.184615 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086294 | 394 | 7 | 69 | 56.285714 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a47fbf3ae8bcc4b4ed9f0475f248a363f245c58c | 94 | py | Python | hlrl/torch/algos/sac/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | hlrl/torch/algos/sac/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | hlrl/torch/algos/sac/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | from .sac import SAC
from .sac_recurrent import SACRecurrent
from .sac_hybrid import SACHybrid | 31.333333 | 39 | 0.851064 | 14 | 94 | 5.571429 | 0.5 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 3 | 40 | 31.333333 | 0.939759 | 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 |
f103e78ee68ea629a8caf283065afd179fd6dcf3 | 733 | py | Python | crypto/BabyRSA/chal.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | 5 | 2019-10-04T07:20:37.000Z | 2021-06-15T21:34:07.000Z | crypto/BabyRSA/chal.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | null | null | null | crypto/BabyRSA/chal.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | null | null | null | from secret import flag
p = 2**1023 + 1155
q = 2**1024 + 643
n = p*q
e = 65537
c = pow(flag, e, n)
print c
'''
2426759448926300374092713562742363835064624596734803758771558596637476435050549322291385219226509562405891022145248939846259187578407323336264977796035006051101456740659780915043839753835115842400821067812149... | 61.083333 | 616 | 0.927694 | 25 | 733 | 27.2 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.908832 | 0.042292 | 733 | 11 | 617 | 66.636364 | 0.059829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.142857 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
f140b2ae46818f137b649b712eea1d36efa4b81b | 167 | py | Python | MyCryptoKeys/handlers/__init__.py | alpeza/MyCryptoKeys | 2f08271c70a45089e528d0af41729effcaef8ce7 | [
"Apache-2.0"
] | null | null | null | MyCryptoKeys/handlers/__init__.py | alpeza/MyCryptoKeys | 2f08271c70a45089e528d0af41729effcaef8ce7 | [
"Apache-2.0"
] | null | null | null | MyCryptoKeys/handlers/__init__.py | alpeza/MyCryptoKeys | 2f08271c70a45089e528d0af41729effcaef8ce7 | [
"Apache-2.0"
] | null | null | null | from . import SessionHandler as sh
from . import ConfigHandler as ch
from . import FileDBHandler as fh
from . import CryptoHandler as cyh
from . import OMessage as om | 33.4 | 34 | 0.790419 | 25 | 167 | 5.28 | 0.52 | 0.378788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179641 | 167 | 5 | 35 | 33.4 | 0.963504 | 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 |
742a6ec69329e94fdcefd5360fd52b2ba6985a6a | 99 | py | Python | statistics/__init__.py | hhk998402/NaiveBayesClassifier | ac7e7b8b67505e526376a1a8e96f25f5a1ac5705 | [
"MIT"
] | 27 | 2018-09-13T21:13:34.000Z | 2022-02-05T21:48:54.000Z | statistics/__init__.py | hhk998402/NaiveBayesClassifier | ac7e7b8b67505e526376a1a8e96f25f5a1ac5705 | [
"MIT"
] | null | null | null | statistics/__init__.py | hhk998402/NaiveBayesClassifier | ac7e7b8b67505e526376a1a8e96f25f5a1ac5705 | [
"MIT"
] | 28 | 2018-12-19T18:59:43.000Z | 2022-03-05T20:00:11.000Z | from .statistics import gaussian_pdf
from .statistics import mean
from .statistics import variance
| 24.75 | 36 | 0.848485 | 13 | 99 | 6.384615 | 0.538462 | 0.506024 | 0.722892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 99 | 3 | 37 | 33 | 0.954023 | 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 |
744884025348993af6f0171993d3f4e3af0de584 | 46 | py | Python | mtdlearn/preprocessing/__init__.py | PiotrekGa/mtd-learn | e0897aa291970671a37be4301d444124bd38e591 | [
"MIT"
] | 5 | 2020-07-20T01:20:58.000Z | 2021-09-02T10:14:48.000Z | mtdlearn/preprocessing/__init__.py | PiotrekGa/mtd-learn | e0897aa291970671a37be4301d444124bd38e591 | [
"MIT"
] | 4 | 2020-03-16T08:55:39.000Z | 2020-03-17T09:59:27.000Z | mtdlearn/preprocessing/__init__.py | PiotrekGa/mtd-learn | e0897aa291970671a37be4301d444124bd38e591 | [
"MIT"
] | 1 | 2020-03-18T19:16:34.000Z | 2020-03-18T19:16:34.000Z | from .src import PathEncoder, SequenceCutter
| 23 | 45 | 0.826087 | 5 | 46 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 1 | 46 | 46 | 0.95 | 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 |
74522ed356dc390cdf89cb1a20cbce8954042013 | 9,389 | py | Python | scenarios/T_variations.py | tari-labs/modelling | 27dd69f5fc658a69a2e2db273231c0f017448586 | [
"Apache-2.0"
] | null | null | null | scenarios/T_variations.py | tari-labs/modelling | 27dd69f5fc658a69a2e2db273231c0f017448586 | [
"Apache-2.0"
] | 1 | 2019-04-01T06:19:43.000Z | 2019-04-01T06:19:43.000Z | scenarios/T_variations.py | tari-labs/modelling | 27dd69f5fc658a69a2e2db273231c0f017448586 | [
"Apache-2.0"
] | 1 | 2021-07-28T04:07:41.000Z | 2021-07-28T04:07:41.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 26 11:46:27 2019
This scenario sees the analysis of bad attackers with variations in the BFT threshold (50%, 55%, 60%, 65%, 67%).
There is a fixed total number of nodes (500), and variation in committee size is dependent on the total number of nodes... | 30.483766 | 121 | 0.738204 | 1,504 | 9,389 | 4.328457 | 0.107048 | 0.133794 | 0.135177 | 0.029954 | 0.880645 | 0.819816 | 0.814286 | 0.814286 | 0.772197 | 0.751767 | 0 | 0.07553 | 0.170838 | 9,389 | 307 | 122 | 30.583062 | 0.760694 | 0.371499 | 0 | 0.345794 | 0 | 0 | 0.137282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046729 | 0 | 0.046729 | 0.093458 | 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 |
77c995690ed4b6d51dcece9af00a8e7b6d67e210 | 361 | py | Python | swiss_army_knife/monad.py | juhajokela/swiss-army-knife | 08df839dd7d8a5050e293c9fd8a51ab393e35051 | [
"MIT"
] | null | null | null | swiss_army_knife/monad.py | juhajokela/swiss-army-knife | 08df839dd7d8a5050e293c9fd8a51ab393e35051 | [
"MIT"
] | null | null | null | swiss_army_knife/monad.py | juhajokela/swiss-army-knife | 08df839dd7d8a5050e293c9fd8a51ab393e35051 | [
"MIT"
] | null | null | null | class Maybe(object):
def __init__(self, value):
self.value = value
def then(self, function):
if self.value is None:
return self
return Maybe(function(self.value))
def __str__(self):
return 'Maybe({})'.format(str(self.value))
def __repr__(self):
ret... | 22.5625 | 51 | 0.587258 | 44 | 361 | 4.545455 | 0.363636 | 0.27 | 0.225 | 0.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274238 | 361 | 15 | 52 | 24.066667 | 0.763359 | 0 | 0 | 0 | 0 | 0 | 0.049862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.181818 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
77ca21d8359671fcfbc7342d6a357231eede276e | 83 | py | Python | benchmark/test.py | zwc662/SequentialAttack | 677b19c51ea76d794939ee126fccd75ffa0e6fe6 | [
"MIT"
] | null | null | null | benchmark/test.py | zwc662/SequentialAttack | 677b19c51ea76d794939ee126fccd75ffa0e6fe6 | [
"MIT"
] | null | null | null | benchmark/test.py | zwc662/SequentialAttack | 677b19c51ea76d794939ee126fccd75ffa0e6fe6 | [
"MIT"
] | null | null | null | print("test")
from bird_view.utils import carla_utils as cu
def f():
return 0
| 13.833333 | 45 | 0.710843 | 15 | 83 | 3.8 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.192771 | 83 | 5 | 46 | 16.6 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
77d2876b25f968cfdc94f8f3e1778b743354b846 | 168 | py | Python | util.py | 0xbenhur/vuln-flask-web-app | b622a3257938a54e238b17558183a1c8287cd2c5 | [
"MIT"
] | null | null | null | util.py | 0xbenhur/vuln-flask-web-app | b622a3257938a54e238b17558183a1c8287cd2c5 | [
"MIT"
] | null | null | null | util.py | 0xbenhur/vuln-flask-web-app | b622a3257938a54e238b17558183a1c8287cd2c5 | [
"MIT"
] | null | null | null | import os
from flask import url_for
def get_root_dir():
return os.getcwd()
def get_uploads_folder_url():
return url_for('static', filename='uploads')
| 12.923077 | 48 | 0.702381 | 25 | 168 | 4.44 | 0.64 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 168 | 12 | 49 | 14 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.077844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
77da5767b9fba8c8bc3013519a1709cf28a51280 | 5,097 | py | Python | regym/rl_loops/multiagent_loops/self_play_loop.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 2 | 2020-09-13T15:53:20.000Z | 2020-12-08T15:57:05.000Z | regym/rl_loops/multiagent_loops/self_play_loop.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | null | null | null | regym/rl_loops/multiagent_loops/self_play_loop.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 1 | 2021-09-20T13:48:30.000Z | 2021-09-20T13:48:30.000Z | from typing import List
import numpy as np
import os
def self_play_training(task, training_agent, self_play_scheme,
target_episodes: int=10, opci: int=1,
menagerie: List=[],
menagerie_path: str='.',
initial_episode: int=0):
... | 54.223404 | 160 | 0.71238 | 617 | 5,097 | 5.645057 | 0.209076 | 0.070916 | 0.036176 | 0.040195 | 0.851278 | 0.828309 | 0.828309 | 0.81826 | 0.81826 | 0.799885 | 0 | 0.002523 | 0.222484 | 5,097 | 93 | 161 | 54.806452 | 0.876356 | 0.385717 | 0 | 0.565217 | 0 | 0.021739 | 0.089812 | 0.062668 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.065217 | 0 | 0.152174 | 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 |
7ad42d3411e27c32dba35149d346ba3dfdc709e8 | 28 | py | Python | Add_This_Folder_To_PYTHONPATH/code_flow_control/__init__.py | FI-Mihej/FI-ASockIOCore | 82ee94e94f692511afee5aeb0d75bb7366eb9b96 | [
"Apache-2.0"
] | null | null | null | Add_This_Folder_To_PYTHONPATH/code_flow_control/__init__.py | FI-Mihej/FI-ASockIOCore | 82ee94e94f692511afee5aeb0d75bb7366eb9b96 | [
"Apache-2.0"
] | null | null | null | Add_This_Folder_To_PYTHONPATH/code_flow_control/__init__.py | FI-Mihej/FI-ASockIOCore | 82ee94e94f692511afee5aeb0d75bb7366eb9b96 | [
"Apache-2.0"
] | null | null | null | from .result_types import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 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 |
7afae55603dc9ba296fb81e692e8f7cc9f46f7dc | 73 | py | Python | lfs/checkout/tests/__init__.py | zhammami/django-lfs | b921295e71fe827377a67b5e7ae1a8bf7f72a1e6 | [
"BSD-3-Clause"
] | null | null | null | lfs/checkout/tests/__init__.py | zhammami/django-lfs | b921295e71fe827377a67b5e7ae1a8bf7f72a1e6 | [
"BSD-3-Clause"
] | null | null | null | lfs/checkout/tests/__init__.py | zhammami/django-lfs | b921295e71fe827377a67b5e7ae1a8bf7f72a1e6 | [
"BSD-3-Clause"
] | null | null | null | from test_checkout import * # NOQA
from test_addresses import * # NOQA
| 24.333333 | 36 | 0.753425 | 10 | 73 | 5.3 | 0.6 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 73 | 2 | 37 | 36.5 | 0.898305 | 0.123288 | 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 |
bb367fee58559295b91d1746a6e0653b05420db1 | 30 | py | Python | domain/repositories/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | domain/repositories/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | domain/repositories/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | from .DebtRepository import *
| 15 | 29 | 0.8 | 3 | 30 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 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 |
249594e22be4c2645c0b8f60d74ae2529b8b8228 | 7,483 | py | Python | Models.py | hamza422/MicrostructureSegmentation | 6c4ffc44d9bb5fcd538cd01a0463a375747f8cca | [
"MIT"
] | null | null | null | Models.py | hamza422/MicrostructureSegmentation | 6c4ffc44d9bb5fcd538cd01a0463a375747f8cca | [
"MIT"
] | null | null | null | Models.py | hamza422/MicrostructureSegmentation | 6c4ffc44d9bb5fcd538cd01a0463a375747f8cca | [
"MIT"
] | null | null | null | import os
import torch
import torch.nn as nn
from torch.autograd import Variable
import torch.nn.functional as F
from skimage import io
import numpy as np
## Unet model
class double_conv(nn.Module):
def __init__(self, in_ch, out_ch):
super(double_conv, self).__init__()
self.conv = nn.Sequential(
... | 27.817844 | 86 | 0.523988 | 1,094 | 7,483 | 3.396709 | 0.087751 | 0.037675 | 0.039559 | 0.043595 | 0.92761 | 0.805436 | 0.784446 | 0.761841 | 0.75592 | 0.75592 | 0 | 0.075464 | 0.337699 | 7,483 | 269 | 87 | 27.817844 | 0.674334 | 0.027128 | 0 | 0.669856 | 0 | 0 | 0.003304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114833 | false | 0 | 0.033493 | 0 | 0.263158 | 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 |
24ab6740cf9c9f1f771eefe3fe0462ee01a0fce8 | 72 | py | Python | rails/utils.py | cgeller/WorldOnRails | d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef | [
"MIT"
] | 108 | 2021-05-04T02:13:04.000Z | 2022-03-24T02:11:55.000Z | rails/utils.py | cgeller/WorldOnRails | d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef | [
"MIT"
] | 45 | 2021-05-10T13:32:51.000Z | 2022-03-23T07:23:19.000Z | rails/utils.py | cgeller/WorldOnRails | d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef | [
"MIT"
] | 22 | 2021-05-04T16:38:17.000Z | 2022-03-25T16:40:00.000Z | import numpy as np
def to_numpy(x):
return x.detach().cpu().numpy() | 18 | 35 | 0.666667 | 13 | 72 | 3.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 4 | 35 | 18 | 0.783333 | 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 |
24d73d9a8f14246b9520ab78fbdf6144f4500ad9 | 12,988 | py | Python | pybind/slxos/v17r_2_00/system_monitor/tm/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/system_monitor/tm/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/system_monitor/tm/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 66.265306 | 572 | 0.745072 | 1,741 | 12,988 | 5.303274 | 0.097645 | 0.041157 | 0.064118 | 0.036608 | 0.807755 | 0.761291 | 0.73768 | 0.73768 | 0.728366 | 0.722734 | 0 | 0.000532 | 0.131891 | 12,988 | 195 | 573 | 66.605128 | 0.818359 | 0.1245 | 0 | 0.419847 | 0 | 0.022901 | 0.366036 | 0.172315 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091603 | false | 0 | 0.083969 | 0 | 0.305344 | 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 |
70027e7c4b1c5dabc6e11cade1d22293eb5d05f7 | 280 | py | Python | snmpagent_unity/unity_impl/BbuFirmwareVersion.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/BbuFirmwareVersion.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/BbuFirmwareVersion.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class BbuFirmwareVersion(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_bbu_firmware_version(idx_name)
class BbuFirmwareVersionColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_bbus()
| 31.111111 | 62 | 0.757143 | 37 | 280 | 5.405405 | 0.459459 | 0.22 | 0.11 | 0.22 | 0.31 | 0.31 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 280 | 8 | 63 | 35 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
703e97d1c4799ed4b4a105015e4cb183b528042e | 35 | py | Python | output/freshen/__init__.py | saleguas/freshen-file-sorter | 22419d5b99666a566965396e3c613d56af38e75c | [
"MIT"
] | 40 | 2019-12-30T20:27:28.000Z | 2022-03-12T13:03:23.000Z | output/freshen/__init__.py | saleguas/freshen-file-sorter | 22419d5b99666a566965396e3c613d56af38e75c | [
"MIT"
] | 1 | 2020-04-13T13:03:13.000Z | 2020-04-17T04:01:21.000Z | output/freshen/__init__.py | saleguas/freshen-file-sorter | 22419d5b99666a566965396e3c613d56af38e75c | [
"MIT"
] | null | null | null | from . import modules, reginstall
| 17.5 | 34 | 0.771429 | 4 | 35 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.931034 | 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 |
3b46fe222b7f3334c027e16bf4837cee1b4c0699 | 127 | py | Python | resources/Firehose.py | MiguelCarino/maniwani | 9519b89aeedee40527ba49425964a077d74a7de4 | [
"MIT"
] | 81 | 2018-08-09T12:58:01.000Z | 2022-02-02T05:56:48.000Z | resources/Firehose.py | MiguelCarino/maniwani | 9519b89aeedee40527ba49425964a077d74a7de4 | [
"MIT"
] | 456 | 2019-12-09T02:28:26.000Z | 2021-08-03T03:28:12.000Z | resources/Firehose.py | MiguelCarino/maniwani | 9519b89aeedee40527ba49425964a077d74a7de4 | [
"MIT"
] | 13 | 2018-08-11T10:12:01.000Z | 2022-03-10T04:32:05.000Z | from flask_restful import Resource
from model.Firehose import Firehose
class FirehoseResource(Firehose, Resource):
pass
| 15.875 | 43 | 0.811024 | 15 | 127 | 6.8 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149606 | 127 | 7 | 44 | 18.142857 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8e618e9787583d998def9ed0fa34891800897cd5 | 45 | py | Python | image/rl/replay_buffers/__init__.py | 00schen/asha | 69af936803cc8f4a0f7ac3db8d31a15385077295 | [
"MIT"
] | 1 | 2022-03-13T19:12:48.000Z | 2022-03-13T19:12:48.000Z | image/rl/replay_buffers/__init__.py | 00schen/asha | 69af936803cc8f4a0f7ac3db8d31a15385077295 | [
"MIT"
] | null | null | null | image/rl/replay_buffers/__init__.py | 00schen/asha | 69af936803cc8f4a0f7ac3db8d31a15385077295 | [
"MIT"
] | null | null | null | from .modded_buffer import ModdedReplayBuffer | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 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 |
8e8be9fb1c9b9a8e5dd40d5bbaaa897f293b92dd | 23 | py | Python | tests/test_optimizers.py | GiuliaBarone/elephas | eacdd907a3c629a41f27226e61a0c03b29fdefd3 | [
"MIT"
] | null | null | null | tests/test_optimizers.py | GiuliaBarone/elephas | eacdd907a3c629a41f27226e61a0c03b29fdefd3 | [
"MIT"
] | null | null | null | tests/test_optimizers.py | GiuliaBarone/elephas | eacdd907a3c629a41f27226e61a0c03b29fdefd3 | [
"MIT"
] | null | null | null | # TODO: test optimizers | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0.913043 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8e91c8ebd1403b93600a9a53a6f350bf9135fcca | 226 | py | Python | src/napari_blob_detection/__init__.py | andy-sweet/napari-blob-detection | 25c2d7972765baad19f35ff9396ce2616d5ca27f | [
"BSD-3-Clause"
] | null | null | null | src/napari_blob_detection/__init__.py | andy-sweet/napari-blob-detection | 25c2d7972765baad19f35ff9396ce2616d5ca27f | [
"BSD-3-Clause"
] | 1 | 2022-03-23T03:08:29.000Z | 2022-03-23T03:08:29.000Z | src/napari_blob_detection/__init__.py | andy-sweet/napari-blob-detection | 25c2d7972765baad19f35ff9396ce2616d5ca27f | [
"BSD-3-Clause"
] | 1 | 2022-03-11T23:03:31.000Z | 2022-03-11T23:03:31.000Z | __version__ = "0.0.2"
from ._detect import difference_of_gaussian, laplacian_of_gaussian
from ._points_to_labels import points_to_labels
from ._widget import difference_of_gaussian, laplacian_of_gaussian, detect_blobs_widget
| 37.666667 | 87 | 0.867257 | 33 | 226 | 5.30303 | 0.454545 | 0.228571 | 0.205714 | 0.297143 | 0.514286 | 0.514286 | 0.514286 | 0 | 0 | 0 | 0 | 0.014493 | 0.084071 | 226 | 5 | 88 | 45.2 | 0.830918 | 0 | 0 | 0 | 0 | 0 | 0.022124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ea0279c3485a1b19231201b5eeca32389896994 | 39 | py | Python | tests/conftest.py | milotype/gaphor | 58370f5f8a2460863265044eaafd9624622fcdff | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | milotype/gaphor | 58370f5f8a2460863265044eaafd9624622fcdff | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | milotype/gaphor | 58370f5f8a2460863265044eaafd9624622fcdff | [
"Apache-2.0"
] | null | null | null | from gaphor.conftest import Case, case
| 19.5 | 38 | 0.820513 | 6 | 39 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8eb02467151d70ce601944e5772ad7cf1e4adada | 254 | py | Python | tests/samples/alias_fields/schemas.py | featureoverload/upgrade-marshmallow | 48b957d8d3e1bab00b66291724a59bca1daff716 | [
"MIT"
] | null | null | null | tests/samples/alias_fields/schemas.py | featureoverload/upgrade-marshmallow | 48b957d8d3e1bab00b66291724a59bca1daff716 | [
"MIT"
] | null | null | null | tests/samples/alias_fields/schemas.py | featureoverload/upgrade-marshmallow | 48b957d8d3e1bab00b66291724a59bca1daff716 | [
"MIT"
] | null | null | null | from marshmallow import Schema
from marshmallow import fields as ma_fields
class FooSchema(Schema):
name = ma_fields.String(title='foo name', description='foo name')
# TODO: nested
# fields = ma_fields.List(ma_fields.String(title='field'))
| 28.222222 | 69 | 0.740157 | 35 | 254 | 5.257143 | 0.514286 | 0.173913 | 0.228261 | 0.206522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153543 | 254 | 8 | 70 | 31.75 | 0.855814 | 0.271654 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ee7c99b820cf71824b1586207457d6074a1cebe | 248 | py | Python | twiauth.py | tenkisi/markovtweet | 3dd5ddb19a433e599347ee3554e544f2b21454f9 | [
"MIT"
] | null | null | null | twiauth.py | tenkisi/markovtweet | 3dd5ddb19a433e599347ee3554e544f2b21454f9 | [
"MIT"
] | null | null | null | twiauth.py | tenkisi/markovtweet | 3dd5ddb19a433e599347ee3554e544f2b21454f9 | [
"MIT"
] | null | null | null | import tweepy
import twikeys
def getauth():
auth = tweepy.OAuthHandler(twikeys.keys["consumer_key"], twikeys.keys["consumer_secret"])
auth.set_access_token(twikeys.keys["access_token"], twikeys.keys["access_secret"])
return auth
| 27.555556 | 94 | 0.737903 | 31 | 248 | 5.709677 | 0.483871 | 0.248588 | 0.214689 | 0.248588 | 0.282486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133065 | 248 | 8 | 95 | 31 | 0.823256 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ef3aacfc3b79056769aec4e3db76b9a52b0e458 | 12,686 | py | Python | Cantera/python/tutorial/tut1.py | VishalKandala/Cantera-1.7 | 750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc | [
"BSD-3-Clause"
] | null | null | null | Cantera/python/tutorial/tut1.py | VishalKandala/Cantera-1.7 | 750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc | [
"BSD-3-Clause"
] | null | null | null | Cantera/python/tutorial/tut1.py | VishalKandala/Cantera-1.7 | 750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc | [
"BSD-3-Clause"
] | null | null | null | #################################
print """
Tutorial 1: Getting started
"""
##################################
# Put this statement at the top of each Python script to import the
# most commonly-used parts of Cantera:
from Cantera import *
# The first thing you need is an object repr... | 43.00339 | 73 | 0.520101 | 1,703 | 12,686 | 3.870816 | 0.23899 | 0.28125 | 0.309466 | 0.170206 | 0.418689 | 0.397755 | 0.376214 | 0.36165 | 0.351638 | 0.351638 | 0 | 0.297311 | 0.384361 | 12,686 | 294 | 74 | 43.14966 | 0.546735 | 0.892795 | 0 | 0.263158 | 0 | 0 | 0.110381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.052632 | null | null | 0.315789 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d944f26ccb66ee79dc1745698909ab1cfd4258e0 | 4,858 | py | Python | Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/status/cmd/handles/type_Params.py | bidhata/EquationGroupLeaks | 1ff4bc115cb2bd5bf2ed6bf769af44392926830c | [
"Unlicense"
] | 9 | 2019-11-22T04:58:40.000Z | 2022-02-26T16:47:28.000Z | Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/status/cmd/handles/type_Params.py | bidhata/EquationGroupLeaks | 1ff4bc115cb2bd5bf2ed6bf769af44392926830c | [
"Unlicense"
] | null | null | null | Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/status/cmd/handles/type_Params.py | bidhata/EquationGroupLeaks | 1ff4bc115cb2bd5bf2ed6bf769af44392926830c | [
"Unlicense"
] | 8 | 2017-09-27T10:31:18.000Z | 2022-01-08T10:30:46.000Z | # uncompyle6 version 2.9.10
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10)
# [GCC 6.2.0 20161005]
# Embedded file name: type_Params.py
from types import *
class ParamsQuery:
def __init__(self):
self.__dict__['processId'] = 0
self.__dict__['all'] =... | 38.251969 | 100 | 0.648415 | 549 | 4,858 | 5.258652 | 0.163934 | 0.096986 | 0.083131 | 0.047108 | 0.840665 | 0.799792 | 0.76169 | 0.76169 | 0.751992 | 0.703845 | 0 | 0.020833 | 0.239193 | 4,858 | 127 | 101 | 38.251969 | 0.760281 | 0.036023 | 0 | 0.663366 | 0 | 0 | 0.117572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148515 | false | 0.019802 | 0.069307 | 0 | 0.316832 | 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 |
d95009f19a1d9f9aee4b3218b2e205c4f3dd417e | 28 | py | Python | sample/__init__.py | danielfoletto/structure_template | 767c23c7f14db7afeb0d54f2615b3962a0b191a0 | [
"BSD-2-Clause"
] | null | null | null | sample/__init__.py | danielfoletto/structure_template | 767c23c7f14db7afeb0d54f2615b3962a0b191a0 | [
"BSD-2-Clause"
] | null | null | null | sample/__init__.py | danielfoletto/structure_template | 767c23c7f14db7afeb0d54f2615b3962a0b191a0 | [
"BSD-2-Clause"
] | null | null | null | from sample.core import hmm
| 14 | 27 | 0.821429 | 5 | 28 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
d997a37eb9f14eedad5e7615127976bf76efdf22 | 31 | py | Python | netijen/hafidhsajid/latihan2-hafidhsajid.py | tsaqifsetyo/hacktoberfest-2019 | ec4253e1d39a5508383dab90cbcb78030ba7c8da | [
"WTFPL"
] | 4 | 2019-10-12T11:41:32.000Z | 2019-10-22T04:05:24.000Z | netijen/hafidhsajid/latihan2-hafidhsajid.py | tsaqifsetyo/hacktoberfest-2019 | ec4253e1d39a5508383dab90cbcb78030ba7c8da | [
"WTFPL"
] | 5 | 2020-10-19T14:18:44.000Z | 2021-10-04T07:22:37.000Z | netijen/hafidhsajid/latihan2-hafidhsajid.py | tsaqifsetyo/hacktoberfest-2019 | ec4253e1d39a5508383dab90cbcb78030ba7c8da | [
"WTFPL"
] | 4 | 2019-10-10T15:13:06.000Z | 2020-07-21T06:27:16.000Z | print("Sederhana poll pokok e") | 31 | 31 | 0.774194 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 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 |
79a84acf324164e3e348cac7b90e6515c770b173 | 30 | py | Python | test/optparse/test_advanced.py | FHPythonUtils/Cli2Gui | c84b239e9ef10d78878a3d45ccca6c237a9404c9 | [
"MIT"
] | 26 | 2020-04-13T19:35:47.000Z | 2022-03-21T18:47:45.000Z | test/optparse/test_advanced.py | FHPythonUtils/Cli2Gui | c84b239e9ef10d78878a3d45ccca6c237a9404c9 | [
"MIT"
] | 3 | 2020-03-20T18:05:34.000Z | 2021-07-25T21:46:28.000Z | tests/optparse/test_advanced.py | FredHappyface/Python.Cli2Gui | 688b2b552a22dfbaec4199bdd47eeef6d8649274 | [
"MIT"
] | 2 | 2021-02-28T13:56:55.000Z | 2021-11-19T05:48:27.000Z | #!/usr/bin/env python3
# TODO
| 10 | 22 | 0.666667 | 5 | 30 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 30 | 2 | 23 | 15 | 0.730769 | 0.866667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8dae652235aead4efd7bad8b242eaddfab05282f | 47 | py | Python | semseg/models/layers/__init__.py | mediacatch/semantic-segmentation | a4131f3b56bfbb0b02f50bcbd73aebb6f6b372e9 | [
"MIT"
] | null | null | null | semseg/models/layers/__init__.py | mediacatch/semantic-segmentation | a4131f3b56bfbb0b02f50bcbd73aebb6f6b372e9 | [
"MIT"
] | null | null | null | semseg/models/layers/__init__.py | mediacatch/semantic-segmentation | a4131f3b56bfbb0b02f50bcbd73aebb6f6b372e9 | [
"MIT"
] | null | null | null | from .common import *
from .initialize import * | 23.5 | 25 | 0.765957 | 6 | 47 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 25 | 23.5 | 0.9 | 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 |
8dce261e51cd9be55b2dba628044cff1231e6112 | 22 | py | Python | mgpy/__init__.py | ragnvaldf/mgpy | 35ffc6605c21dee355c5fd65faa145fa8ad5a616 | [
"MIT"
] | null | null | null | mgpy/__init__.py | ragnvaldf/mgpy | 35ffc6605c21dee355c5fd65faa145fa8ad5a616 | [
"MIT"
] | null | null | null | mgpy/__init__.py | ragnvaldf/mgpy | 35ffc6605c21dee355c5fd65faa145fa8ad5a616 | [
"MIT"
] | null | null | null | from mgpy.pn import *
| 11 | 21 | 0.727273 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
8de0c010c6511fa0c97e4486270cb687b735d4dd | 194 | py | Python | test/test_utils.py | etherex/pyepm | b85159bc3861c6e67201479c13fd5efd50932683 | [
"MIT"
] | 31 | 2015-01-03T09:07:24.000Z | 2019-03-26T10:03:54.000Z | test/test_utils.py | etherex/pyepm | b85159bc3861c6e67201479c13fd5efd50932683 | [
"MIT"
] | 6 | 2015-01-12T10:32:44.000Z | 2015-03-17T00:55:02.000Z | test/test_utils.py | etherex/pyepm | b85159bc3861c6e67201479c13fd5efd50932683 | [
"MIT"
] | 18 | 2015-03-02T14:05:16.000Z | 2020-11-24T09:38:37.000Z | from pyepm.utils import unhex
def test_unhex():
assert unhex("0x") == 0
assert unhex("0x0") == 0
assert unhex("0xdeadbeef") == 3735928559
assert unhex("deadbeef") == 3735928559
| 24.25 | 44 | 0.654639 | 24 | 194 | 5.25 | 0.583333 | 0.349206 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167742 | 0.201031 | 194 | 7 | 45 | 27.714286 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0.118557 | 0 | 0 | 0 | 0.06701 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
309f221bbeedab11e311259a364d933c82bd0495 | 3,032 | py | Python | FunctionalTest/RAS/VistA-FOIA/Packages/SSH Demo/ssh_connect_demo_suite.py | JimDeanSpivey/ATF-for-Vista-FOIA | fbc07e98e307dee192fa1ca8cbf0137895376847 | [
"Apache-2.0"
] | 1 | 2015-12-10T20:45:34.000Z | 2015-12-10T20:45:34.000Z | FunctionalTest/RAS/VistA-FOIA/Packages/SSH Demo/ssh_connect_demo_suite.py | JimDeanSpivey/ATF-for-Vista-FOIA | fbc07e98e307dee192fa1ca8cbf0137895376847 | [
"Apache-2.0"
] | null | null | null | FunctionalTest/RAS/VistA-FOIA/Packages/SSH Demo/ssh_connect_demo_suite.py | JimDeanSpivey/ATF-for-Vista-FOIA | fbc07e98e307dee192fa1ca8cbf0137895376847 | [
"Apache-2.0"
] | null | null | null | '''
Created on Sep 28, 2012
@author: jspivey
'''
import sys
sys.path = ['./FunctionalTest/RAS/lib'] + ['./dataFiles'] + ['./lib/vista'] + sys.path
from RCActions import RCActions
import TestHelper
def dive_into_menus(test_suite_details):
testname = sys._getframe().f_code.co_name
test_driver = TestHelper.Test... | 34.067416 | 87 | 0.649406 | 363 | 3,032 | 5.15978 | 0.236915 | 0.096103 | 0.170849 | 0.102509 | 0.795515 | 0.795515 | 0.767752 | 0.767752 | 0.601175 | 0.601175 | 0 | 0.009475 | 0.234169 | 3,032 | 88 | 88 | 34.454545 | 0.797158 | 0.049472 | 0 | 0.735294 | 0 | 0 | 0.12354 | 0.008496 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.044118 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
30db6994dbd7cdd4c1a425563a8f3bdccb6b824a | 25 | py | Python | waitlist/blueprints/trivia/__init__.py | kimnnmadsen/eve-inc-waitlist | c3e4853c5563a95edbf105c11e73d481595fb3ab | [
"MIT"
] | null | null | null | waitlist/blueprints/trivia/__init__.py | kimnnmadsen/eve-inc-waitlist | c3e4853c5563a95edbf105c11e73d481595fb3ab | [
"MIT"
] | 1 | 2020-02-18T05:11:20.000Z | 2020-02-18T05:29:10.000Z | waitlist/blueprints/trivia/__init__.py | kimnnmadsen/eve-inc-waitlist | c3e4853c5563a95edbf105c11e73d481595fb3ab | [
"MIT"
] | null | null | null | from . import submission
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
a512f04c1d640a77346ef71ade8cc90b8e73b4a9 | 32,721 | py | Python | tests/v3/test_v3_images.py | Cray-HPE/ims | d684cb1cd04cad4ee2246049ae27d3291dd5f469 | [
"MIT"
] | 1 | 2022-01-26T21:18:52.000Z | 2022-01-26T21:18:52.000Z | tests/v3/test_v3_images.py | Cray-HPE/ims | d684cb1cd04cad4ee2246049ae27d3291dd5f469 | [
"MIT"
] | 2 | 2021-12-17T21:47:53.000Z | 2022-02-28T15:55:34.000Z | tests/v3/test_v3_images.py | Cray-HPE/ims | d684cb1cd04cad4ee2246049ae27d3291dd5f469 | [
"MIT"
] | null | null | null | #
# MIT License
#
# (C) Copyright 2020-2022 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the... | 48.983533 | 119 | 0.556768 | 3,581 | 32,721 | 4.894443 | 0.094108 | 0.032864 | 0.05249 | 0.022822 | 0.812575 | 0.773378 | 0.758772 | 0.742797 | 0.729788 | 0.714155 | 0 | 0.022129 | 0.32881 | 32,721 | 667 | 120 | 49.056972 | 0.775931 | 0.089606 | 0 | 0.625 | 0 | 0.005952 | 0.146014 | 0.01889 | 0 | 0 | 0 | 0 | 0.156746 | 1 | 0.045635 | false | 0 | 0.025794 | 0 | 0.077381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ebd8b524983609a0dac17e1e65a3fb303f58b1a4 | 120 | py | Python | cells/events/backend.py | AlesTsurko/cells | 4cf7e395cd433762bea70cdc863a346f3a6fe1d0 | [
"MIT"
] | 120 | 2019-11-12T19:22:44.000Z | 2020-05-17T12:17:25.000Z | cells/events/backend.py | ales-tsurko/cells | 4cf7e395cd433762bea70cdc863a346f3a6fe1d0 | [
"MIT"
] | 7 | 2021-03-10T02:45:47.000Z | 2022-02-26T21:40:56.000Z | cells/events/backend.py | ales-tsurko/cells | 4cf7e395cd433762bea70cdc863a346f3a6fe1d0 | [
"MIT"
] | 2 | 2020-06-09T00:22:13.000Z | 2020-11-06T09:04:05.000Z | from typing import NamedTuple
class Stdout(NamedTuple):
output: str
class Stderr(NamedTuple):
output: str | 15 | 29 | 0.716667 | 14 | 120 | 6.142857 | 0.642857 | 0.372093 | 0.44186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 120 | 8 | 30 | 15 | 0.914894 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
6922675678cc78f8ea50591036876542c7c0a0c4 | 275 | py | Python | OpenGLCffi/GLES2/EXT/OVR/multiview_multisampled_render_to_texture.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLES2/EXT/OVR/multiview_multisampled_render_to_texture.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLES2/EXT/OVR/multiview_multisampled_render_to_texture.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GLES2 import params
@params(api='gles2', prms=['target', 'attachment', 'texture', 'level', 'samples', 'baseViewIndex', 'numViews'])
def glFramebufferTextureMultisampleMultiviewOVR(target, attachment, texture, level, samples, baseViewIndex, numViews):
pass
| 39.285714 | 118 | 0.767273 | 26 | 275 | 8.115385 | 0.653846 | 0.151659 | 0.218009 | 0.265403 | 0.530806 | 0.530806 | 0.530806 | 0 | 0 | 0 | 0 | 0.007968 | 0.087273 | 275 | 6 | 119 | 45.833333 | 0.832669 | 0 | 0 | 0 | 0 | 0 | 0.223443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
15d447a7c2750ebffb0a3aa6291c78681aacb772 | 27 | py | Python | raspberry_pi_matrix/__init__.py | jpwsutton/raspberry_pi_matrix | a99db850f0b4e1db4ee37a77d1236586a2a5c889 | [
"MIT"
] | 1 | 2016-02-18T09:00:05.000Z | 2016-02-18T09:00:05.000Z | raspberry_pi_matrix/__init__.py | jpwsutton/raspberry_pi_matrix | a99db850f0b4e1db4ee37a77d1236586a2a5c889 | [
"MIT"
] | null | null | null | raspberry_pi_matrix/__init__.py | jpwsutton/raspberry_pi_matrix | a99db850f0b4e1db4ee37a77d1236586a2a5c889 | [
"MIT"
] | null | null | null | from .driver import driver
| 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 |
d65f09b332d8b08a912cf02ad7b9e594947fe765 | 2,186 | py | Python | zagoload/__init__.py | napuzba/zagoload | 6821fbc82dae7688a3a932ca9233187bd4634981 | [
"MIT"
] | 2 | 2021-01-13T12:57:17.000Z | 2021-01-16T21:27:15.000Z | zagoload/__init__.py | napuzba/zagoload | 6821fbc82dae7688a3a932ca9233187bd4634981 | [
"MIT"
] | null | null | null | zagoload/__init__.py | napuzba/zagoload | 6821fbc82dae7688a3a932ca9233187bd4634981 | [
"MIT"
] | null | null | null | # Copyright (C) 2014 Napuzba [kobi@napuzba.com]
# Licensed under MIT license [http://openreq.source.org/licenses/MIT]
from .cachemode import CacheMode
from .filerequest import FileRequest
from .ftpinfo import FtpInfo
from .fileloader import FileLoader
loader = FileLoader("Cache")
def load(
source ... | 28.025641 | 69 | 0.453797 | 148 | 2,186 | 6.702703 | 0.317568 | 0.048387 | 0.03629 | 0.052419 | 0.725806 | 0.725806 | 0.725806 | 0.725806 | 0.725806 | 0.725806 | 0 | 0.008518 | 0.462946 | 2,186 | 77 | 70 | 28.38961 | 0.836457 | 0.051693 | 0 | 0.830769 | 0 | 0 | 0.005371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.061538 | 0 | 0.123077 | 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 |
d6c98c91db7cd778a10a2b9b0a6df7df61546e5a | 1,189 | py | Python | robocute/item/__init__.py | kfields/robocute | f6f15ab74266053da5fe4ede3cc81310a62146e5 | [
"MIT"
] | 1 | 2015-08-24T21:58:34.000Z | 2015-08-24T21:58:34.000Z | robocute/item/__init__.py | kfields/robocute | f6f15ab74266053da5fe4ede3cc81310a62146e5 | [
"MIT"
] | null | null | null | robocute/item/__init__.py | kfields/robocute | f6f15ab74266053da5fe4ede3cc81310a62146e5 | [
"MIT"
] | null | null | null |
from robocute.entity import *
from robocute.sprite import *
class Item(Entity):
def __init__(self, dna):
super().__init__(dna)
'''
Treasure
'''
class Treasure(Item):
_cache = {}
def __new__(cls, dna, *args, **kargs):
uri = dna.name
if uri not in cls._cache:
... | 24.265306 | 46 | 0.503785 | 135 | 1,189 | 4.022222 | 0.251852 | 0.088398 | 0.088398 | 0.077348 | 0.799263 | 0.799263 | 0.799263 | 0.751381 | 0.751381 | 0.751381 | 0 | 0.001342 | 0.373423 | 1,189 | 48 | 47 | 24.770833 | 0.727517 | 0 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | false | 0 | 0.055556 | 0 | 0.388889 | 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 |
ba7f675f6795480c907d8859821bb33b8ae7a4b3 | 163 | py | Python | player_online_stats/admin.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 1 | 2020-01-11T18:04:15.000Z | 2020-01-11T18:04:15.000Z | player_online_stats/admin.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 2 | 2018-08-24T08:53:27.000Z | 2019-07-05T16:08:28.000Z | player_online_stats/admin.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 1 | 2018-11-22T16:19:52.000Z | 2018-11-22T16:19:52.000Z | from django.contrib import admin
from . import models
class StatsEntryAdmin(admin.ModelAdmin):
pass
admin.site.register(models.StatsEntry, StatsEntryAdmin)
| 18.111111 | 55 | 0.803681 | 19 | 163 | 6.894737 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 163 | 8 | 56 | 20.375 | 0.916084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
baa72aad370c5c83e8521fac3a2c75ff5a75495b | 1,127 | py | Python | nord/configurations/dense_parts.py | GeorgeKyriakides/nord | 94f4d6503dfe2ed9aaebc9e02d55aaba81c02994 | [
"MIT"
] | 15 | 2018-10-23T05:48:56.000Z | 2022-03-20T18:34:21.000Z | nord/configurations/dense_parts.py | SoftwareImpacts/SIMPAC-2020-55 | c200dddf21cb830ec980ade213ce1b9d9add6cc5 | [
"MIT"
] | 3 | 2020-10-27T15:59:30.000Z | 2022-02-09T23:49:12.000Z | nord/configurations/dense_parts.py | GeorgeKyriakides/nord | 94f4d6503dfe2ed9aaebc9e02d55aaba81c02994 | [
"MIT"
] | 2 | 2020-10-28T09:03:03.000Z | 2021-04-16T21:35:08.000Z | import torch
import torch.nn as nn
def get_dense_net(layers_number: int, output_size: int, activation: nn.Module):
def dense_net(input_size):
layers = {}
for i in range(layers_number):
layers['fc_%d' % i] = nn.Linear(
input_size//pow(2, i), input_size//pow(2, i+1))
... | 29.657895 | 85 | 0.598048 | 162 | 1,127 | 3.932099 | 0.197531 | 0.127159 | 0.131868 | 0.142857 | 0.858713 | 0.858713 | 0.858713 | 0.835165 | 0.835165 | 0.835165 | 0 | 0.015644 | 0.262644 | 1,127 | 37 | 86 | 30.459459 | 0.750903 | 0 | 0 | 0.64 | 0 | 0 | 0.070098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.08 | 0 | 0.4 | 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 |
bae3bde0767b553341b0d3fa0b586e2b2622bdc7 | 132 | py | Python | bindings/python/virtualreality/templates/__init__.py | gabriel-combe/hobo_vr | c51341977f3d731daf1daa426db395f7fdbbb8f1 | [
"MIT"
] | 1 | 2022-02-20T23:31:51.000Z | 2022-02-20T23:31:51.000Z | bindings/python/virtualreality/templates/__init__.py | gabriel-combe/hobo_vr | c51341977f3d731daf1daa426db395f7fdbbb8f1 | [
"MIT"
] | null | null | null | bindings/python/virtualreality/templates/__init__.py | gabriel-combe/hobo_vr | c51341977f3d731daf1daa426db395f7fdbbb8f1 | [
"MIT"
] | null | null | null | """Templates for posers."""
from .poses import *
from .templates import *
from .udu_templates import *
from .template_base import *
| 22 | 28 | 0.742424 | 17 | 132 | 5.647059 | 0.529412 | 0.3125 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 132 | 5 | 29 | 26.4 | 0.849558 | 0.159091 | 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 |
241c435509c182398d9a5ae69a2f0916f9dd4cea | 174 | py | Python | EPro-PnP-Det/epropnp_det/core/evaluation/__init__.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | 19 | 2022-03-21T10:22:24.000Z | 2022-03-30T15:43:46.000Z | EPro-PnP-Det/epropnp_det/core/evaluation/__init__.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | null | null | null | EPro-PnP-Det/epropnp_det/core/evaluation/__init__.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | 3 | 2022-03-26T08:08:24.000Z | 2022-03-30T11:17:11.000Z | """
Copyright (C) 2010-2022 Alibaba Group Holding Limited.
"""
from .kitti_utils import kitti_eval, kitti_eval_coco_style
__all__ = ['kitti_eval_coco_style', 'kitti_eval']
| 21.75 | 58 | 0.770115 | 25 | 174 | 4.84 | 0.64 | 0.297521 | 0.214876 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.114943 | 174 | 7 | 59 | 24.857143 | 0.733766 | 0.310345 | 0 | 0 | 0 | 0 | 0.276786 | 0.1875 | 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 |
2424ed34684ea6bea6c9f601d2f700194cf43f70 | 43 | py | Python | oastools/utils/__init__.py | bilalshaikh42/OASTools | dae7b5afb9f78f8b14b6f3d6f2732ee7b11dfb9b | [
"MIT"
] | null | null | null | oastools/utils/__init__.py | bilalshaikh42/OASTools | dae7b5afb9f78f8b14b6f3d6f2732ee7b11dfb9b | [
"MIT"
] | 8 | 2019-08-29T12:28:57.000Z | 2019-09-17T16:25:22.000Z | oastools/utils/__init__.py | bilalshaikh42/OASTools | dae7b5afb9f78f8b14b6f3d6f2732ee7b11dfb9b | [
"MIT"
] | 1 | 2019-08-29T01:15:53.000Z | 2019-08-29T01:15:53.000Z | from .errors import *
from .files import *
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 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 |
2427635335265fefb209390caef9daa6e445042e | 12,458 | py | Python | apis/nb/clients/topology_client/SharddcacheApi.py | CiscoDevNet/APIC-EM-Generic-Scripts- | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 45 | 2016-06-09T15:41:25.000Z | 2019-08-06T17:13:11.000Z | apis/nb/clients/topology_client/SharddcacheApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2016-06-12T03:03:56.000Z | 2017-03-13T18:20:11.000Z | apis/nb/clients/topology_client/SharddcacheApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 15 | 2016-06-22T03:51:37.000Z | 2019-07-10T10:06:02.000Z | #!/usr/bin/env python
#pylint: skip-file
# This source code is licensed under the Apache license found in the
# LICENSE file in the root directory of this project.
import sys
import os
import urllib.request, urllib.parse, urllib.error
from .models import *
class SharddcacheApi(object):
def __init__(self, apiC... | 27.082609 | 146 | 0.556349 | 890 | 12,458 | 7.783146 | 0.12809 | 0.039411 | 0.053703 | 0.01819 | 0.745922 | 0.726144 | 0.7055 | 0.7055 | 0.7055 | 0.7055 | 0 | 0 | 0.353428 | 12,458 | 459 | 147 | 27.141612 | 0.859963 | 0.085728 | 0 | 0.816425 | 0 | 0 | 0.181046 | 0.065345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038647 | false | 0 | 0.019324 | 0 | 0.130435 | 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 |
246897778f7b81a2dd8033749359a2f6ddd07511 | 204 | py | Python | scrapista/__init__.py | alpnix/scrapista | e6e3e4dd352a016bb180b5c00eef504cbed5a9a3 | [
"MIT"
] | 1 | 2021-12-05T09:16:06.000Z | 2021-12-05T09:16:06.000Z | scrapista/__init__.py | alpnix/scrapista | e6e3e4dd352a016bb180b5c00eef504cbed5a9a3 | [
"MIT"
] | null | null | null | scrapista/__init__.py | alpnix/scrapista | e6e3e4dd352a016bb180b5c00eef504cbed5a9a3 | [
"MIT"
] | null | null | null | from scrapista.amazon import AmazonScraper
from scrapista.imdb import ImdbScraper
from scrapista.wikipedia import WikiScraper
from scrapista.goodreads import GoodReadsScraper
from scrapista import helpers | 40.8 | 48 | 0.887255 | 24 | 204 | 7.541667 | 0.5 | 0.359116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093137 | 204 | 5 | 49 | 40.8 | 0.978378 | 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 |
03267d3133ce9d4b7384b793757db50e8ff06357 | 91 | py | Python | tests/__init__.py | usgin/modelmanager | d36f6e1704eac7f044f0a84f1f4d091863e05dcf | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | usgin/modelmanager | d36f6e1704eac7f044f0a84f1f4d091863e05dcf | [
"BSD-3-Clause"
] | 1 | 2015-06-17T22:18:04.000Z | 2015-06-17T22:18:04.000Z | tests/__init__.py | usgin/modelmanager | d36f6e1704eac7f044f0a84f1f4d091863e05dcf | [
"BSD-3-Clause"
] | null | null | null | from contentmodel import ContentModelTestCase
from uriconfigure import UriConfigureTestCase | 45.5 | 45 | 0.923077 | 8 | 91 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 91 | 2 | 46 | 45.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0364db31ccebbb4d562945ffcf073685454ff475 | 27 | py | Python | bot/__init__.py | amiraliamhh/technical-analysis-tools | 02905b7cbca8572fc6c0896420463e46bf8a990d | [
"MIT"
] | 2 | 2021-01-06T00:24:36.000Z | 2021-08-10T21:12:41.000Z | bot/__init__.py | amiraliamhh/technical-analysis-tools | 02905b7cbca8572fc6c0896420463e46bf8a990d | [
"MIT"
] | 5 | 2021-05-07T15:31:51.000Z | 2022-03-03T22:23:28.000Z | bot/__init__.py | amiraliamhh/technical-analysis-tools | 02905b7cbca8572fc6c0896420463e46bf8a990d | [
"MIT"
] | 1 | 2021-08-10T21:12:51.000Z | 2021-08-10T21:12:51.000Z | from .decide import Decider | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 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 |
ceeadf7d79ee69ef5f0a1d3dbcaf8fe49e35301f | 218 | py | Python | neuralnetwork/Sigmoid.py | Anselmoo/python-neuralnetwork | 0c2d1e457f065b7f1a505f8a8182b134d6a8d3a0 | [
"MIT"
] | null | null | null | neuralnetwork/Sigmoid.py | Anselmoo/python-neuralnetwork | 0c2d1e457f065b7f1a505f8a8182b134d6a8d3a0 | [
"MIT"
] | null | null | null | neuralnetwork/Sigmoid.py | Anselmoo/python-neuralnetwork | 0c2d1e457f065b7f1a505f8a8182b134d6a8d3a0 | [
"MIT"
] | null | null | null | import numpy as np
class Sigmoid:
def getActivation(self, net):
return 1 / (1 + np.exp(-1 * net))
def getDerivative(self, net):
return self.getActivation(net) * (1 - self.getActivation(net))
| 21.8 | 70 | 0.62844 | 29 | 218 | 4.724138 | 0.482759 | 0.10219 | 0.189781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.243119 | 218 | 9 | 71 | 24.222222 | 0.806061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cef42063a6bdd22ad131fbff3e783201e8b75b4e | 114 | py | Python | kingolf.py | Mr-Xcoder/Kingolf | bd0b0c7e8bfac048dda39d0c74c465601fc77bef | [
"MIT"
] | null | null | null | kingolf.py | Mr-Xcoder/Kingolf | bd0b0c7e8bfac048dda39d0c74c465601fc77bef | [
"MIT"
] | null | null | null | kingolf.py | Mr-Xcoder/Kingolf | bd0b0c7e8bfac048dda39d0c74c465601fc77bef | [
"MIT"
] | null | null | null | import sys, math, ast, itertools, random
from constants import *
from functions import *
from codepage import *
| 16.285714 | 40 | 0.763158 | 15 | 114 | 5.8 | 0.666667 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 114 | 6 | 41 | 19 | 0.925532 | 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 |
30100d9cae6f54b9ecf8d65e23bb3a341ce3bdc0 | 149 | py | Python | PhoneServer/app/views/utils.py | wangqifox/arduino_remote_controller | 65d6fe032f1d0b3a3df1db333abe24f5949d1955 | [
"MIT"
] | null | null | null | PhoneServer/app/views/utils.py | wangqifox/arduino_remote_controller | 65d6fe032f1d0b3a3df1db333abe24f5949d1955 | [
"MIT"
] | null | null | null | PhoneServer/app/views/utils.py | wangqifox/arduino_remote_controller | 65d6fe032f1d0b3a3df1db333abe24f5949d1955 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def setErrorMsg(msg):
return {'success':'flase', 'msg':msg}
def setSuccessMsg(msg):
return {'success':'true', 'msg':msg}
| 18.625 | 38 | 0.624161 | 19 | 149 | 4.894737 | 0.578947 | 0.193548 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.127517 | 149 | 7 | 39 | 21.285714 | 0.707692 | 0.14094 | 0 | 0 | 0 | 0 | 0.230159 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
304285c5e3d02e2a6c16a2ce147654c6e1401f07 | 24 | py | Python | src_nlp/tensorflow/toward_control/configs/__init__.py | ashishpatel26/finch | bf2958c0f268575e5d51ad08fbc08b151cbea962 | [
"MIT"
] | 1 | 2019-02-12T09:22:00.000Z | 2019-02-12T09:22:00.000Z | src_nlp/tensorflow/toward_control/configs/__init__.py | loopzxl/finch | bf2958c0f268575e5d51ad08fbc08b151cbea962 | [
"MIT"
] | null | null | null | src_nlp/tensorflow/toward_control/configs/__init__.py | loopzxl/finch | bf2958c0f268575e5d51ad08fbc08b151cbea962 | [
"MIT"
] | 1 | 2020-10-15T21:34:17.000Z | 2020-10-15T21:34:17.000Z | from .config import args | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 |
0696d03dcc762203736ee25ad8ef8aa3958905db | 13,657 | py | Python | tests/test_randprocs/test_markov/test_discrete/test_linear_gaussian.py | fxbriol/probnum | 7e0e94cf9146aaa2b730b02c6d75a022cd629b5c | [
"MIT"
] | 1 | 2022-03-30T20:16:13.000Z | 2022-03-30T20:16:13.000Z | tests/test_randprocs/test_markov/test_discrete/test_linear_gaussian.py | fxbriol/probnum | 7e0e94cf9146aaa2b730b02c6d75a022cd629b5c | [
"MIT"
] | null | null | null | tests/test_randprocs/test_markov/test_discrete/test_linear_gaussian.py | fxbriol/probnum | 7e0e94cf9146aaa2b730b02c6d75a022cd629b5c | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from probnum import config, linops, randprocs, randvars
from tests.test_randprocs.test_markov.test_discrete import test_nonlinear_gaussian
@pytest.fixture(params=["classic", "sqrt"])
def forw_impl_string_linear_gauss(request):
"""Forward implementation choices passed via strings.... | 38.470423 | 101 | 0.657172 | 1,629 | 13,657 | 5.173726 | 0.091467 | 0.068818 | 0.049359 | 0.065496 | 0.8785 | 0.824276 | 0.794851 | 0.769696 | 0.725795 | 0.693878 | 0 | 0.015426 | 0.259501 | 13,657 | 354 | 102 | 38.579096 | 0.817957 | 0.105294 | 0 | 0.646388 | 0 | 0 | 0.006779 | 0 | 0 | 0 | 0 | 0 | 0.129278 | 1 | 0.068441 | false | 0 | 0.015209 | 0 | 0.098859 | 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 |
069beffae0c5676502cb61f23b319ca89526902e | 19,546 | py | Python | win/devkit/other/pymel/extras/completion/py/PySide/QtScript.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 10 | 2018-03-30T16:09:02.000Z | 2021-12-07T07:29:19.000Z | win/devkit/other/pymel/extras/completion/py/PySide/QtScript.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | null | null | null | win/devkit/other/pymel/extras/completion/py/PySide/QtScript.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 9 | 2018-06-02T09:18:49.000Z | 2021-12-20T09:24:35.000Z | from PySide.QtCore import QObject as _QObject
from PySide.QtCore import QFactoryInterface as _QFactoryInterface
class _Object(object):
__dict__ = None
class QScriptContext(_Object):
def activationObject(*args, **kwargs):
pass
def argument(*args, **kwargs):
pass
def... | 15.012289 | 70 | 0.446741 | 1,590 | 19,546 | 5.232704 | 0.162893 | 0.269231 | 0.30625 | 0.345313 | 0.407572 | 0.401442 | 0.389423 | 0.365986 | 0.334615 | 0.269231 | 0 | 0.000814 | 0.434002 | 19,546 | 1,301 | 71 | 15.023828 | 0.751243 | 0.076282 | 0 | 0.620112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.417132 | false | 0.417132 | 0.007449 | 0 | 0.586592 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
235128fb4ff30db9045c4b55bcba96a3587b573b | 18 | py | Python | lib/meg/__init__.py | fraspass/meg | 03650bd2e32487e4c50a9afe9b3e2e9848290b4b | [
"MIT"
] | 1 | 2021-07-08T20:59:26.000Z | 2021-07-08T20:59:26.000Z | lib/meg/__init__.py | fraspass/meg | 03650bd2e32487e4c50a9afe9b3e2e9848290b4b | [
"MIT"
] | null | null | null | lib/meg/__init__.py | fraspass/meg | 03650bd2e32487e4c50a9afe9b3e2e9848290b4b | [
"MIT"
] | 3 | 2021-10-14T16:06:16.000Z | 2022-03-14T03:22:31.000Z | from .meg import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
238220d4208d2f45bbc1ed7221e9b0df52c6e696 | 615,428 | py | Python | autocomplete/maya/cmds/__init__.py | enriquevelmai/utils | 3a810a438abc318347036a4c71fbff002e51713c | [
"MIT"
] | null | null | null | autocomplete/maya/cmds/__init__.py | enriquevelmai/utils | 3a810a438abc318347036a4c71fbff002e51713c | [
"MIT"
] | null | null | null | autocomplete/maya/cmds/__init__.py | enriquevelmai/utils | 3a810a438abc318347036a4c71fbff002e51713c | [
"MIT"
] | null | null | null | def insertListItem( *args, **keywords): pass
def RenderSequence( *args, **keywords): pass
def lookThru(farClip = float(),nearClip = float(), *args, **keywords): pass
def ClosestPointOn( *args, **keywords): pass
def SurfaceFlow( *args, **keywords): pass
def HypershadePickWalkLeft( *args, **keywords): pass
def NodeEditor... | 133.036749 | 3,732 | 0.725021 | 61,258 | 615,428 | 7.280274 | 0.176956 | 0.124446 | 0.165929 | 0.196998 | 0.443597 | 0.403978 | 0.387515 | 0.369086 | 0.356309 | 0.343131 | 0 | 0.002291 | 0.099175 | 615,428 | 4,625 | 3,733 | 133.065514 | 0.802148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 1 | 0.014703 | 0 | 1.014703 | 0.001297 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
88d7f5963ca0f16ac75ae7abb40865ae6c49799e | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/requests/__version__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/requests/__version__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/requests/__version__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/93/82/7c/735c85445cf0196c2537b9a268339c945b5b708b351a59e64f5ed86d74 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489583 | 0 | 96 | 1 | 96 | 96 | 0.40625 | 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 |
00199d070dbcbc778b940cbe6d6f490264775b4c | 455 | py | Python | python/anyascii/_data/_107.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_107.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_107.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='A595 A596 A598 A600 A601 A602 A603 A604 A606 A608 A609 A610 A611 A612 A613 A614 A615 A616 A617 A618 A619 A620 A621 A622 A623 A624 A626 A627 A628 A629 A634 A637 A638 A640 A642 A643 A644 A645 A646 A648 A649 A651 A652 A653 A654 A655 A656 A657 A658 A659 A660 A661 A662 A663 A664 A701 A702 A703 A704 A705 A706 A70... | 455 | 455 | 0.758242 | 90 | 455 | 3.833333 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.735795 | 0.226374 | 455 | 1 | 455 | 455 | 0.244318 | 0 | 0 | 0 | 0 | 1 | 0.989035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
002e51098ea05394800f6acaa50533d75e1eb38d | 9,349 | py | Python | pynumdiff/augmented_data/ukf/ukf_sqrt.py | fossabot/PyNumDiff | dccad2ad7a875f2ecccb0db2bb6e2afa392916d1 | [
"MIT"
] | null | null | null | pynumdiff/augmented_data/ukf/ukf_sqrt.py | fossabot/PyNumDiff | dccad2ad7a875f2ecccb0db2bb6e2afa392916d1 | [
"MIT"
] | null | null | null | pynumdiff/augmented_data/ukf/ukf_sqrt.py | fossabot/PyNumDiff | dccad2ad7a875f2ecccb0db2bb6e2afa392916d1 | [
"MIT"
] | null | null | null | # Generated with SMOP 0.41
from libsmop import *
# /home/caveman/Sync/LAB_Private/RESEARCH/code/PyNumDiff/pynumdiff/model_based/ukf_sqrt.m
#-----------------------------------------------------------------------
#dyneye
#Copyright (C) Floris van Breugel, 2013.
#
#florisvb@gmail.com
#This function was o... | 49.728723 | 96 | 0.695903 | 1,520 | 9,349 | 4.159868 | 0.157895 | 0.065317 | 0.132848 | 0.159418 | 0.747272 | 0.738415 | 0.729559 | 0.716748 | 0.708683 | 0.708683 | 0 | 0.025999 | 0.119585 | 9,349 | 187 | 97 | 49.994652 | 0.742194 | 0.659857 | 0 | 0.076923 | 1 | 0 | 0.01388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012821 | false | 0.012821 | 0.012821 | 0 | 0.051282 | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0052aa03c3adcf913c02814be525c1b89ba2d7f7 | 7,487 | py | Python | lotteryGenerator.py | seaskyv/AU-Lottery-generator_API | c8561e39a6ba3cee746ae95d95196b2338bbead0 | [
"MIT"
] | 2 | 2019-03-15T11:03:40.000Z | 2022-03-27T12:19:09.000Z | lotteryGenerator.py | seaskyv/AU-Lottery-generator_API | c8561e39a6ba3cee746ae95d95196b2338bbead0 | [
"MIT"
] | null | null | null | lotteryGenerator.py | seaskyv/AU-Lottery-generator_API | c8561e39a6ba3cee746ae95d95196b2338bbead0 | [
"MIT"
] | null | null | null | import re
import random
import time
import math
import sys
import logging
class OZLotto:
def __init__(self,data,number,system):
self.data = data
self.number = number
self.system= system
'''def loadingOZData(self):
print "Loaded history data.\n";
f = open(self.data,'rb')
reader = csv.reader... | 28.359848 | 106 | 0.587819 | 981 | 7,487 | 4.453619 | 0.117227 | 0.028611 | 0.07393 | 0.037079 | 0.815518 | 0.788968 | 0.788968 | 0.766995 | 0.723049 | 0.70634 | 0 | 0.02506 | 0.227194 | 7,487 | 263 | 107 | 28.467681 | 0.730038 | 0.127688 | 0 | 0.637255 | 0 | 0 | 0.093521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.058824 | 0 | 0.196078 | 0.009804 | 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 |
cc9980881c6f70c00be173836153335f88939d87 | 212 | py | Python | Exercise_11_2.py | kushrami/Python-Crash-Course-book-Excersice | 7093181940a90d9f4bab5775ef56f57963450393 | [
"Apache-2.0"
] | null | null | null | Exercise_11_2.py | kushrami/Python-Crash-Course-book-Excersice | 7093181940a90d9f4bab5775ef56f57963450393 | [
"Apache-2.0"
] | null | null | null | Exercise_11_2.py | kushrami/Python-Crash-Course-book-Excersice | 7093181940a90d9f4bab5775ef56f57963450393 | [
"Apache-2.0"
] | null | null | null | #Population:
def CityCountryFunc(city, country, population=0):
if population:
return str(city)+', '+str(country)+',population - '+str(population)
else:
return str(city)+', '+str(country)
| 26.5 | 75 | 0.636792 | 23 | 212 | 5.869565 | 0.434783 | 0.251852 | 0.192593 | 0.237037 | 0.340741 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.193396 | 212 | 7 | 76 | 30.285714 | 0.783626 | 0.051887 | 0 | 0 | 0 | 0 | 0.090452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ccb9001699548786b68d8216aef56e5b0e60a8fd | 131 | py | Python | manta-auv/mission/finite_state_machine/src/finite_state_machine/__init__.py | Sollimann/Manta_v1 | 7dfe63aa1a948970134bc98394160210771a87f6 | [
"MIT"
] | 2 | 2020-02-13T08:18:53.000Z | 2021-05-09T16:07:32.000Z | manta-auv/mission/finite_state_machine/src/finite_state_machine/__init__.py | Sollimann/Manta_v1 | 7dfe63aa1a948970134bc98394160210771a87f6 | [
"MIT"
] | null | null | null | manta-auv/mission/finite_state_machine/src/finite_state_machine/__init__.py | Sollimann/Manta_v1 | 7dfe63aa1a948970134bc98394160210771a87f6 | [
"MIT"
] | null | null | null | from .service_client import ControllerMode
from .waypoint_client import WaypointClient
from .los_client import PathFollowingClient
| 32.75 | 43 | 0.885496 | 15 | 131 | 7.533333 | 0.6 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 3 | 44 | 43.666667 | 0.94958 | 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 |
aed311a3d8f90de4c0e981f76e6b3df4a039eeb6 | 273 | py | Python | web3/providers/__init__.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null | web3/providers/__init__.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null | web3/providers/__init__.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null | from .base import ( # noqa: F401
BaseProvider,
JSONBaseProvider,
)
from .rpc import HTTPProvider # noqa: F401
from .ipc import IPCProvider # noqa: F401
from .websocket import WebsocketProvider # noqa: F401
from .auto import AutoProvider # noqa: F401
| 27.3 | 55 | 0.70696 | 31 | 273 | 6.225806 | 0.483871 | 0.207254 | 0.186529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070755 | 0.223443 | 273 | 9 | 56 | 30.333333 | 0.839623 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aedeadb67a3977c815f0d79d16ad01a6aaa3c422 | 3,952 | py | Python | data_loader/data_loaders.py | SebFar/radial_bnn | 2497e5e009409ac910d609850eae27f7cc74cec2 | [
"MIT"
] | 29 | 2020-04-29T19:07:00.000Z | 2021-11-07T03:09:21.000Z | data_loader/data_loaders.py | SebFar/radial_bnn | 2497e5e009409ac910d609850eae27f7cc74cec2 | [
"MIT"
] | 3 | 2020-04-30T08:59:38.000Z | 2020-11-20T10:32:25.000Z | data_loader/data_loaders.py | SebFar/radial_bnn | 2497e5e009409ac910d609850eae27f7cc74cec2 | [
"MIT"
] | 2 | 2020-03-26T11:23:28.000Z | 2020-12-06T07:18:52.000Z | """
Boilerplate data loaders. Use these or easily add your own.
"""
import torch
import numpy as np
from torchvision import datasets, transforms
class MNISTDataLoader(torch.utils.data.dataloader.DataLoader):
"""
MNIST data loading demo using BaseDataLoader
Config should be structured
"data_loa... | 35.285714 | 108 | 0.526569 | 376 | 3,952 | 5.361702 | 0.265957 | 0.044643 | 0.041667 | 0.071429 | 0.785714 | 0.751984 | 0.75 | 0.75 | 0.714286 | 0.714286 | 0 | 0.018753 | 0.379302 | 3,952 | 111 | 109 | 35.603604 | 0.803098 | 0.236842 | 0 | 0.741935 | 0 | 0 | 0.035874 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 1 | 0.032258 | false | 0 | 0.048387 | 0 | 0.112903 | 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 |
aee317f1364fe0e86974472f8554c88b25f259d5 | 157 | py | Python | aws_iam_policies/aws_root_account_access_keys.py | designing-penguin/panther-analysis | 26034cea4504f43227f8d3789225f6ca7b35dfe0 | [
"Apache-2.0"
] | 1 | 2020-10-21T08:14:49.000Z | 2020-10-21T08:14:49.000Z | aws_iam_policies/aws_root_account_access_keys.py | designing-penguin/panther-analysis | 26034cea4504f43227f8d3789225f6ca7b35dfe0 | [
"Apache-2.0"
] | null | null | null | aws_iam_policies/aws_root_account_access_keys.py | designing-penguin/panther-analysis | 26034cea4504f43227f8d3789225f6ca7b35dfe0 | [
"Apache-2.0"
] | null | null | null | def policy(resource):
return (not resource['CredentialReport']['AccessKey1Active'] and
not resource['CredentialReport']['AccessKey2Active'])
| 39.25 | 68 | 0.713376 | 13 | 157 | 8.615385 | 0.692308 | 0.196429 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.152866 | 157 | 3 | 69 | 52.333333 | 0.827068 | 0 | 0 | 0 | 0 | 0 | 0.407643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 |
aeeb470b25114d7dfc777573df7c21ef8e0273f9 | 2,125 | py | Python | rampwf/prediction_types/tests/test_mixed_predictions.py | mehdidc/ramp-workflow | 68146005369b31c1c855c2372172d355440994a1 | [
"BSD-3-Clause"
] | 66 | 2017-08-31T08:48:45.000Z | 2022-03-21T16:05:31.000Z | rampwf/prediction_types/tests/test_mixed_predictions.py | mehdidc/ramp-workflow | 68146005369b31c1c855c2372172d355440994a1 | [
"BSD-3-Clause"
] | 265 | 2017-06-02T19:22:38.000Z | 2022-03-31T13:08:00.000Z | rampwf/prediction_types/tests/test_mixed_predictions.py | mehdidc/ramp-workflow | 68146005369b31c1c855c2372172d355440994a1 | [
"BSD-3-Clause"
] | 44 | 2017-06-03T15:35:58.000Z | 2022-03-31T12:46:42.000Z | """Testing for mixed predictions (rampwf.prediction.mixed)."""
# Author: Balazs Kegl <balazs.kegl@gmail.com>
# License: BSD 3 clause
# import numpy as np
# from rampwf.prediction_types.mixed import Predictions
# from numpy.testing import assert_array_equal
# def test_init():
# labels = ['Class_1', 'Class_2', 'C... | 36.637931 | 78 | 0.579294 | 359 | 2,125 | 3.233983 | 0.147632 | 0.155039 | 0.198966 | 0.284238 | 0.726098 | 0.701981 | 0.701981 | 0.631352 | 0.557278 | 0.557278 | 0 | 0.077108 | 0.218824 | 2,125 | 57 | 79 | 37.280702 | 0.622289 | 0.948235 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9d7c6a11cfa45685de726f7a3c872469072a3060 | 123 | py | Python | happywhale/__init__.py | jianzhnie/Happywhale | e97852de3ef4d9de375ca7a1b4c3bcec0b78955f | [
"Apache-2.0"
] | null | null | null | happywhale/__init__.py | jianzhnie/Happywhale | e97852de3ef4d9de375ca7a1b4c3bcec0b78955f | [
"Apache-2.0"
] | null | null | null | happywhale/__init__.py | jianzhnie/Happywhale | e97852de3ef4d9de375ca7a1b4c3bcec0b78955f | [
"Apache-2.0"
] | null | null | null | '''
Author: jianzhnie
Date: 2022-03-30 17:04:59
LastEditTime: 2022-03-30 17:04:59
LastEditors: jianzhnie
Description:
'''
| 13.666667 | 33 | 0.731707 | 19 | 123 | 4.736842 | 0.631579 | 0.133333 | 0.177778 | 0.222222 | 0.311111 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0.256881 | 0.113821 | 123 | 8 | 34 | 15.375 | 0.568807 | 0.918699 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.