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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dc9400c836edc2337fc4481c23e98aace28f70fe | 142 | py | Python | tests/test_user_interface.py | FunTimeCoding/python-utility | e91df316684a07161aae33576329f9092d2e97e6 | [
"MIT"
] | null | null | null | tests/test_user_interface.py | FunTimeCoding/python-utility | e91df316684a07161aae33576329f9092d2e97e6 | [
"MIT"
] | null | null | null | tests/test_user_interface.py | FunTimeCoding/python-utility | e91df316684a07161aae33576329f9092d2e97e6 | [
"MIT"
] | null | null | null | from python_utility.user_interface import UserInterface
def test_user_interface() -> None:
assert UserInterface(screen=None).run() == 1
| 23.666667 | 55 | 0.774648 | 18 | 142 | 5.888889 | 0.777778 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.126761 | 142 | 5 | 56 | 28.4 | 0.846774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dc9f8f26c3e610ce99362498503601b186203c77 | 155 | py | Python | linenplus/__init__.py | ikostrikov/linenplus | bce47f0997ed1fc33866bafccc9b7cf2c7ce8370 | [
"MIT"
] | null | null | null | linenplus/__init__.py | ikostrikov/linenplus | bce47f0997ed1fc33866bafccc9b7cf2c7ce8370 | [
"MIT"
] | null | null | null | linenplus/__init__.py | ikostrikov/linenplus | bce47f0997ed1fc33866bafccc9b7cf2c7ce8370 | [
"MIT"
] | null | null | null | from linenplus import mlp_resnet_v2, resnet_v2
from linenplus.sequential import Sequential
from linenplus.weight_standardization import WSConv, WSDense
| 38.75 | 61 | 0.864516 | 20 | 155 | 6.5 | 0.55 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.109677 | 155 | 3 | 62 | 51.666667 | 0.927536 | 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 |
f4befb2f4092ce696ec712301dac58af5add7051 | 42 | py | Python | alchemist_lib/portfolio/__init__.py | Dodo33/alchemist-lib | 40c2d3b48d5f46315eb09e7f572d578b7e5324b4 | [
"MIT"
] | 5 | 2018-07-11T05:38:51.000Z | 2021-12-19T03:06:51.000Z | alchemist_lib/portfolio/__init__.py | Dodo33/alchemist-lib | 40c2d3b48d5f46315eb09e7f572d578b7e5324b4 | [
"MIT"
] | null | null | null | alchemist_lib/portfolio/__init__.py | Dodo33/alchemist-lib | 40c2d3b48d5f46315eb09e7f572d578b7e5324b4 | [
"MIT"
] | 2 | 2019-07-12T08:51:11.000Z | 2021-09-29T22:22:46.000Z | from .longsonly import LongsOnlyPortfolio
| 21 | 41 | 0.880952 | 4 | 42 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.973684 | 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 |
f4c1cd169e1b567ff9c08af28cd67b05c4249e19 | 56 | py | Python | enums/__init__.py | HCI901E20/P9-Embedded | 75648d8240ae386331f9bcd1d19940db0ac93512 | [
"MIT"
] | null | null | null | enums/__init__.py | HCI901E20/P9-Embedded | 75648d8240ae386331f9bcd1d19940db0ac93512 | [
"MIT"
] | null | null | null | enums/__init__.py | HCI901E20/P9-Embedded | 75648d8240ae386331f9bcd1d19940db0ac93512 | [
"MIT"
] | 1 | 2021-02-02T07:39:21.000Z | 2021-02-02T07:39:21.000Z | from .direction_enum import *
from .status_enum import * | 28 | 29 | 0.803571 | 8 | 56 | 5.375 | 0.625 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 2 | 30 | 28 | 0.877551 | 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 |
76314c428edf5d059f1f6640b78ef748b00e526a | 6,487 | py | Python | www/Python Code/update_details.py | GsProjects/ProjectCode | 771d660ad161edccc3f2153e1fdc442e6f2976d3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | www/Python Code/update_details.py | GsProjects/ProjectCode | 771d660ad161edccc3f2153e1fdc442e6f2976d3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | www/Python Code/update_details.py | GsProjects/ProjectCode | 771d660ad161edccc3f2153e1fdc442e6f2976d3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from flask import json
from connector import create_connection
def update_animal_details(animal_identifier, animal_type, animal_breed, animal_weight, animal_gender, tracking_number, oldtracking_number, oldanimal_identifier, owner):
if animal_identifier == '' or animal_type == '' or animal_breed == '' or animal_we... | 53.172131 | 190 | 0.661168 | 674 | 6,487 | 6.077151 | 0.114243 | 0.112793 | 0.140381 | 0.174072 | 0.837891 | 0.785156 | 0.764648 | 0.745117 | 0.665039 | 0.639648 | 0 | 0.00498 | 0.25713 | 6,487 | 121 | 191 | 53.61157 | 0.844989 | 0.0037 | 0 | 0.638095 | 0 | 0.009524 | 0.114396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.019048 | 0 | 0.209524 | 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 |
5224d741710de90df0e81f040a9e05049dc5b578 | 91,615 | py | Python | plans/03-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | null | null | null | plans/03-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | null | null | null | plans/03-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | null | null | null | #2018/02/24 Gas Cell @ N-edge
def test_extra_staging(exp_time=10):
yield from rixscam_extra_stage(exp_time)
yield from mv(rixscam.cam.acquire_time,exp_time)
yield from count([rixscam], md = {'reason':'fake data'})
yield from rixscam_extra_unstage()
... | 35.007642 | 186 | 0.572286 | 15,191 | 91,615 | 3.323942 | 0.054243 | 0.178595 | 0.123084 | 0.02331 | 0.861568 | 0.833564 | 0.804175 | 0.780073 | 0.759932 | 0.742524 | 0 | 0.079241 | 0.278895 | 91,615 | 2,616 | 187 | 35.021024 | 0.685078 | 0.18545 | 0 | 0.691471 | 0 | 0.005724 | 0.093658 | 0.001532 | 0.000572 | 0 | 0 | 0.001147 | 0 | 1 | 0.042358 | false | 0.001717 | 0.000572 | 0 | 0.042931 | 0.04751 | 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 |
5225e928e5c0b9f454e82869dae21549249f5c6c | 103 | py | Python | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/pkgutil/nested/shallow.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/pkgutil/nested/shallow.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/pkgutil/nested/shallow.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | #
"""
"""
def func():
print("This func() comes from the installed " "version of nested.shallow")
| 12.875 | 78 | 0.61165 | 13 | 103 | 4.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203884 | 103 | 7 | 79 | 14.714286 | 0.768293 | 0 | 0 | 0 | 0 | 0 | 0.652632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
870cd64404771971552a20705cddc6ebb3ce3bf6 | 2,471 | py | Python | tests/test_ssh.py | codeghar/config_edit | b4ff42164d9fc011cb2d8466221f393112d89d90 | [
"MIT"
] | null | null | null | tests/test_ssh.py | codeghar/config_edit | b4ff42164d9fc011cb2d8466221f393112d89d90 | [
"MIT"
] | null | null | null | tests/test_ssh.py | codeghar/config_edit | b4ff42164d9fc011cb2d8466221f393112d89d90 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_ssh
----------------------------------
Tests for SSH config files.
"""
import filecmp
import tempfile
import pytest
from config_edit import ssh
contents = """# Comment Here
# -------------------------
Host myhost1
HostName 255.255.255.255
Port 22
U... | 23.093458 | 108 | 0.658033 | 347 | 2,471 | 4.524496 | 0.236311 | 0.081529 | 0.04586 | 0.035032 | 0.854777 | 0.840764 | 0.8 | 0.722293 | 0.715924 | 0.715924 | 0 | 0.021683 | 0.216107 | 2,471 | 106 | 109 | 23.311321 | 0.788849 | 0.04654 | 0 | 0.641791 | 0 | 0 | 0.253941 | 0.028547 | 0 | 0 | 0 | 0 | 0.059701 | 1 | 0.059701 | false | 0 | 0.059701 | 0 | 0.119403 | 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 |
5e52593dc2bfc6dc7fab285fd7dce955f819d7e7 | 364 | py | Python | app/main/errors.py | maxnovais/Flapy_Blog | e543faa4c8f99ef3a2cdb1470de507d9cfb330bf | [
"Apache-2.0"
] | null | null | null | app/main/errors.py | maxnovais/Flapy_Blog | e543faa4c8f99ef3a2cdb1470de507d9cfb330bf | [
"Apache-2.0"
] | null | null | null | app/main/errors.py | maxnovais/Flapy_Blog | e543faa4c8f99ef3a2cdb1470de507d9cfb330bf | [
"Apache-2.0"
] | null | null | null | from flask import render_template
from . import main
@main.app_errorhandler(403)
def forbidden(e):
return render_template('main/error/403.html')
@main.app_errorhandler(404)
def page_not_found(e):
return render_template('main/error/404.html')
@main.app_errorhandler(500)
def internal_server_error(e):
re... | 20.222222 | 49 | 0.769231 | 54 | 364 | 4.981481 | 0.407407 | 0.208178 | 0.211896 | 0.234201 | 0.334572 | 0.334572 | 0 | 0 | 0 | 0 | 0 | 0.055728 | 0.112637 | 364 | 17 | 50 | 21.411765 | 0.77709 | 0 | 0 | 0 | 0 | 0 | 0.156593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.272727 | 0.727273 | 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 |
5e9dce181e62b722015bd4abe1b7e5bb60743d73 | 19,336 | py | Python | Source/Generator/Tests/DescriptorsTests.py | tzijnge/FloHsm | b696500a2d2617f6a4446ff4d911290fd3cf325a | [
"MIT"
] | 5 | 2020-10-26T09:55:36.000Z | 2022-03-08T17:10:32.000Z | Source/Generator/Tests/DescriptorsTests.py | tzijnge/FloHsm | b696500a2d2617f6a4446ff4d911290fd3cf325a | [
"MIT"
] | 7 | 2019-08-11T18:38:31.000Z | 2021-03-04T12:02:47.000Z | Source/Generator/Tests/DescriptorsTests.py | tzijnge/FloHsm | b696500a2d2617f6a4446ff4d911290fd3cf325a | [
"MIT"
] | 1 | 2021-10-04T12:54:07.000Z | 2021-10-04T12:54:07.000Z | import unittest
from Descriptors import State, StateType, InternalTransition, InitialTransition,\
StateTransition, ChoiceTransition, Action, ActionType
from Descriptors import Guard, SimpleGuard, NotGuard, AndGuard, OrGuard, EntryExit
import Helpers
class DescriptorTests(Helpers.Fl... | 48.461153 | 158 | 0.663477 | 2,532 | 19,336 | 4.877962 | 0.063191 | 0.022346 | 0.098777 | 0.099749 | 0.816695 | 0.77435 | 0.720832 | 0.699134 | 0.678326 | 0.65517 | 0 | 0.051863 | 0.175321 | 19,336 | 398 | 159 | 48.582915 | 0.722626 | 0.001448 | 0 | 0.532468 | 0 | 0 | 0.041388 | 0 | 0 | 0 | 0 | 0 | 0.493506 | 0 | null | null | 0 | 0.012987 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5eab5cad05373385d5a1b82e2723fe44b5a1809d | 7,184 | py | Python | BookClub/tests/views/forum_views/test_create_forum_comment.py | amir-rahim/BookClubSocialNetwork | b69a07cd33592f700214252a64c7c1c53845625d | [
"MIT"
] | 4 | 2022-02-04T02:11:48.000Z | 2022-03-12T21:38:01.000Z | BookClub/tests/views/forum_views/test_create_forum_comment.py | amir-rahim/BookClubSocialNetwork | b69a07cd33592f700214252a64c7c1c53845625d | [
"MIT"
] | 51 | 2022-02-01T18:56:23.000Z | 2022-03-31T15:35:37.000Z | BookClub/tests/views/forum_views/test_create_forum_comment.py | amir-rahim/BookClubSocialNetwork | b69a07cd33592f700214252a64c7c1c53845625d | [
"MIT"
] | null | null | null | """Unit testing for Create Forum Comment view"""
from django.contrib import messages
from django.contrib.messages import get_messages
from django.test import TestCase, tag
from django.urls import reverse
from BookClub.models import User, ForumPost, Club, ForumComment
from BookClub.tests.helpers import reverse_with_nex... | 52.057971 | 125 | 0.663836 | 851 | 7,184 | 5.3396 | 0.125734 | 0.047535 | 0.039613 | 0.038732 | 0.847271 | 0.788952 | 0.779489 | 0.775968 | 0.775968 | 0.756602 | 0 | 0.016161 | 0.233435 | 7,184 | 138 | 126 | 52.057971 | 0.80897 | 0.010718 | 0 | 0.561983 | 0 | 0 | 0.103142 | 0.037481 | 0 | 0 | 0 | 0 | 0.198347 | 1 | 0.090909 | false | 0.049587 | 0.049587 | 0 | 0.157025 | 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 |
0d647df4440aabf6ed9a5fa9badebc4db34e8bf6 | 255 | py | Python | shrimpy/allocation.py | cwm9cwm9/shrimpy-python | 8edabbf1c06a29e73d9bf0a30db82bf48d9ef2a5 | [
"MIT"
] | 128 | 2019-07-10T06:31:54.000Z | 2022-03-06T04:25:39.000Z | shrimpy/allocation.py | johnjdailey/shrimpy-python | 10a942b14dd88102564460d60c25cc10123fc448 | [
"MIT"
] | 16 | 2020-04-29T12:31:18.000Z | 2021-12-03T03:33:31.000Z | shrimpy/allocation.py | johnjdailey/shrimpy-python | 10a942b14dd88102564460d60c25cc10123fc448 | [
"MIT"
] | 41 | 2019-10-29T20:51:22.000Z | 2022-03-14T03:44:11.000Z | class Allocation():
def __init__(self, symbol, percent):
self.symbol = symbol
self.percent = percent
def get_api_format(self):
return {
'symbol': self.symbol,
'percent': self.percent
}
| 21.25 | 40 | 0.541176 | 25 | 255 | 5.28 | 0.44 | 0.227273 | 0.257576 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.356863 | 255 | 11 | 41 | 23.181818 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.05098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.444444 | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
219a3eff205c2b8c6525abb37bcc5753e1dd9e5e | 20 | py | Python | block/__init__.py | bbatalo/block | 3fb1c68aa8a5c84c75ccf4cb89b046777b4e8737 | [
"MIT"
] | null | null | null | block/__init__.py | bbatalo/block | 3fb1c68aa8a5c84c75ccf4cb89b046777b4e8737 | [
"MIT"
] | null | null | null | block/__init__.py | bbatalo/block | 3fb1c68aa8a5c84c75ccf4cb89b046777b4e8737 | [
"MIT"
] | null | null | null | from .block 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 |
21ab1e9663a221f03b2825948d206ebbd65be39b | 201 | py | Python | sppas/sppas/src/dependencies/grako/test/__main__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/sppas/src/dependencies/grako/test/__main__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/sppas/src/dependencies/grako/test/__main__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
import dependencies.grako.test
if __name__ == '__main__':
dependencies.grako.test.main()
| 28.714286 | 82 | 0.761194 | 24 | 201 | 5.75 | 0.75 | 0.246377 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.119403 | 201 | 6 | 83 | 33.5 | 0.774011 | 0.104478 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
df16b4a8e57177e2e18f17c537ba9b44cd2f035e | 91,881 | py | Python | iptw/misc_marketscan.py | calvin-zcx/RWD4Drug | a316bff7cbc22654071dbe4da20cf12a7dd33d00 | [
"MIT"
] | 1 | 2021-07-07T19:47:12.000Z | 2021-07-07T19:47:12.000Z | iptw/misc_marketscan.py | calvin-zcx/RWD4Drug | a316bff7cbc22654071dbe4da20cf12a7dd33d00 | [
"MIT"
] | null | null | null | iptw/misc_marketscan.py | calvin-zcx/RWD4Drug | a316bff7cbc22654071dbe4da20cf12a7dd33d00 | [
"MIT"
] | null | null | null | import os
import shutil
import zipfile
import torch
import torch.utils.data
from dataset import *
import pickle
from sklearn.manifold import TSNE
import matplotlib.pyplot as plt
import matplotlib.ticker as tck
import numpy as np
import csv
from collections import Counter, defaultdict
import pandas as pd
from utils im... | 48.029796 | 157 | 0.576039 | 13,122 | 91,881 | 3.809785 | 0.050069 | 0.020883 | 0.030165 | 0.024484 | 0.863758 | 0.836394 | 0.81175 | 0.779945 | 0.743379 | 0.720015 | 0 | 0.032686 | 0.259455 | 91,881 | 1,912 | 158 | 48.054916 | 0.702037 | 0.214342 | 0 | 0.576983 | 0 | 0 | 0.18443 | 0.091887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028771 | false | 0 | 0.01633 | 0.000778 | 0.070762 | 0.031104 | 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 |
10c45f51027411137b2c9730230dcbbe3f1e2a5e | 21 | py | Python | example_project/some_modules/third_modules/a116.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a116.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a116.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A116:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
10d17f58ba1b1c70d4aef7e7914ceccef51ade98 | 1,038 | py | Python | server/beam/utilities/IFinder.py | tweakyllama/beam-app | 147bb6832c81e45b89566f58ea8dfe1dcded2078 | [
"MIT"
] | null | null | null | server/beam/utilities/IFinder.py | tweakyllama/beam-app | 147bb6832c81e45b89566f58ea8dfe1dcded2078 | [
"MIT"
] | null | null | null | server/beam/utilities/IFinder.py | tweakyllama/beam-app | 147bb6832c81e45b89566f58ea8dfe1dcded2078 | [
"MIT"
] | null | null | null | from numpy import pi
def rectangle(width, height):
return (width * height ** 3) / 12
def circle(radius):
return (pi * radius ** 4) / 4
def i_beam(total_width, total_height, bar_width, bar_height):
return rectangle(total_width, total_height) - rectangle(total_width - bar_width, total_height - 2 * bar_h... | 30.529412 | 115 | 0.682081 | 154 | 1,038 | 4.285714 | 0.188312 | 0.216667 | 0.218182 | 0.181818 | 0.684848 | 0.684848 | 0.524242 | 0.524242 | 0.445455 | 0.381818 | 0 | 0.032491 | 0.199422 | 1,038 | 33 | 116 | 31.454545 | 0.761733 | 0.020231 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0.222222 | 0.611111 | 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 |
10efee5e033d2a24bf49c842de5d3731d1910270 | 104 | py | Python | squawk/utils/__init__.py | daemon/squawk | df6443a200f8bfef7d5338d8577fc30eac4f49b9 | [
"MIT"
] | null | null | null | squawk/utils/__init__.py | daemon/squawk | df6443a200f8bfef7d5338d8577fc30eac4f49b9 | [
"MIT"
] | null | null | null | squawk/utils/__init__.py | daemon/squawk | df6443a200f8bfef7d5338d8577fc30eac4f49b9 | [
"MIT"
] | null | null | null | from .concurrency import *
from .dataclass import *
from .torch_utils import *
from .workspace import *
| 20.8 | 26 | 0.769231 | 13 | 104 | 6.076923 | 0.538462 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 4 | 27 | 26 | 0.897727 | 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 |
8016412d8b9604fc4484037e24f8879490f48637 | 2,317 | py | Python | Cryptotrade/bitcotrade/views.py | joseph-njogu/Blacktoolsup | d2b454a194396b20e1d5411cf6da7605adb20c5a | [
"MIT"
] | null | null | null | Cryptotrade/bitcotrade/views.py | joseph-njogu/Blacktoolsup | d2b454a194396b20e1d5411cf6da7605adb20c5a | [
"MIT"
] | null | null | null | Cryptotrade/bitcotrade/views.py | joseph-njogu/Blacktoolsup | d2b454a194396b20e1d5411cf6da7605adb20c5a | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
from django.contrib.auth import authenticate
from django.contrib.auth.decorators import login_required
from django.views.decorators.csrf import csrf_exempt
from rest_framework.authtoken.models import Token
from rest_framework.decorators import api_view, permission_classes
... | 27.583333 | 79 | 0.718602 | 292 | 2,317 | 5.59589 | 0.267123 | 0.127295 | 0.186047 | 0.25459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00939 | 0.172637 | 2,317 | 83 | 80 | 27.915663 | 0.842984 | 0.02978 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0.064516 | 0.145161 | 0.241935 | 0.709677 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
8030fec0dcd3f5486d86356268545e2c1dcec1d8 | 132 | py | Python | dnplab/math/__init__.py | DNPLab/dnpLab | 79dc347a239b4e41dc2c41342744414405b9ab33 | [
"MIT"
] | null | null | null | dnplab/math/__init__.py | DNPLab/dnpLab | 79dc347a239b4e41dc2c41342744414405b9ab33 | [
"MIT"
] | 1 | 2020-09-03T22:07:15.000Z | 2020-09-03T22:07:15.000Z | dnplab/math/__init__.py | DNPLab/dnpLab | 79dc347a239b4e41dc2c41342744414405b9ab33 | [
"MIT"
] | null | null | null | """Modules to constructs numpy arrays from input arguments"""
from . import lineshape
from . import window
from . import relaxation
| 26.4 | 61 | 0.780303 | 17 | 132 | 6.058824 | 0.705882 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 4 | 62 | 33 | 0.919643 | 0.416667 | 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 |
8048e5a8e31f5c0f97a71448e130f57106efbf9e | 233 | py | Python | Transposition/DoubleTransposition.py | AVM-Martin/CTF-EncryptionAlgorithm | 1226f3db8d3358e1f50ae2f2722f66dee281507a | [
"WTFPL"
] | null | null | null | Transposition/DoubleTransposition.py | AVM-Martin/CTF-EncryptionAlgorithm | 1226f3db8d3358e1f50ae2f2722f66dee281507a | [
"WTFPL"
] | null | null | null | Transposition/DoubleTransposition.py | AVM-Martin/CTF-EncryptionAlgorithm | 1226f3db8d3358e1f50ae2f2722f66dee281507a | [
"WTFPL"
] | null | null | null | from Transposition import Transposition
class DoubleTransposition(Transposition):
def encrypt(self, text):
return super().encrypt(super().encrypt(text))
def decrypt(self, text):
return super().decrypt(super().decrypt(text))
| 23.3 | 47 | 0.759657 | 27 | 233 | 6.555556 | 0.444444 | 0.090395 | 0.158192 | 0.214689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107296 | 233 | 9 | 48 | 25.888889 | 0.850962 | 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 | 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 |
805972173b0984bb2412e41a28b8ae6f3a6db802 | 36 | py | Python | pyplan/pyplan/__init__.py | jorgedouglas71/pyplan-ide | 5ad0e4a2592b5f2716ff680018f717c65de140f5 | [
"MIT"
] | 17 | 2019-12-04T19:22:19.000Z | 2021-07-28T11:17:05.000Z | pyplan/pyplan/__init__.py | jorgedouglas71/pyplan-ide | 5ad0e4a2592b5f2716ff680018f717c65de140f5 | [
"MIT"
] | 9 | 2019-12-13T15:34:43.000Z | 2022-02-10T11:43:00.000Z | pyplan/pyplan/__init__.py | jorgedouglas71/pyplan-ide | 5ad0e4a2592b5f2716ff680018f717c65de140f5 | [
"MIT"
] | 5 | 2019-12-04T15:57:06.000Z | 2021-08-20T19:59:26.000Z | from .config import PyplanAppConfig
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
33a120dab1202b11315a87500ceac45606194b49 | 2,339 | py | Python | pyplusplus/function_transformers/__init__.py | electronicvisions/pyplusplus | 4d88bb8754d22654a61202ae8adc222807953e38 | [
"BSL-1.0"
] | 5 | 2021-01-29T19:54:34.000Z | 2022-03-23T11:16:37.000Z | pyplusplus/function_transformers/__init__.py | electronicvisions/pyplusplus | 4d88bb8754d22654a61202ae8adc222807953e38 | [
"BSL-1.0"
] | null | null | null | pyplusplus/function_transformers/__init__.py | electronicvisions/pyplusplus | 4d88bb8754d22654a61202ae8adc222807953e38 | [
"BSL-1.0"
] | 3 | 2016-04-06T15:16:49.000Z | 2019-01-15T07:08:29.000Z | # Helper classes for wrapper function creation
"""This sub-package implements function transformation functionality"""
from .transformer import transformer_t
from . import transformers
from .function_transformation import function_transformation_t
def output( *args, **keywd ):
def creator( function ):
re... | 31.186667 | 78 | 0.693459 | 270 | 2,339 | 5.818519 | 0.133333 | 0.14895 | 0.0993 | 0.157225 | 0.80331 | 0.80331 | 0.783577 | 0.65436 | 0.451941 | 0 | 0 | 0 | 0.201796 | 2,339 | 74 | 79 | 31.608108 | 0.841457 | 0.047456 | 0 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.472727 | false | 0 | 0.054545 | 0.236364 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
33a261e2d0bb38f8dd4c6aca4e0ff6e32939453a | 57 | py | Python | src/deep_dialog/usersims/__init__.py | sujoung/debuggedDDQ | 0b2751b063e28030dff6bf115ae2c4dd2cf7a0cf | [
"MIT"
] | null | null | null | src/deep_dialog/usersims/__init__.py | sujoung/debuggedDDQ | 0b2751b063e28030dff6bf115ae2c4dd2cf7a0cf | [
"MIT"
] | null | null | null | src/deep_dialog/usersims/__init__.py | sujoung/debuggedDDQ | 0b2751b063e28030dff6bf115ae2c4dd2cf7a0cf | [
"MIT"
] | null | null | null | from .usersim_rule import *
from .usersim_model import *
| 19 | 28 | 0.789474 | 8 | 57 | 5.375 | 0.625 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 29 | 28.5 | 0.877551 | 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 |
33a6c3f105057161672a4fe6d209ec91010948ab | 166 | py | Python | exoastrology/__init__.py | emilyhunt/exoplanet-astrology | ca9356c096d8456ae0cdd2f4514f144ec8f57136 | [
"BSD-3-Clause"
] | 2 | 2022-01-24T22:12:25.000Z | 2022-02-02T22:21:24.000Z | exoastrology/__init__.py | emilyhunt/exoplanet-astrology | ca9356c096d8456ae0cdd2f4514f144ec8f57136 | [
"BSD-3-Clause"
] | null | null | null | exoastrology/__init__.py | emilyhunt/exoplanet-astrology | ca9356c096d8456ae0cdd2f4514f144ec8f57136 | [
"BSD-3-Clause"
] | null | null | null | from .horoscope import generate, generate_initial_tweet
from .twitter import start_client, post_thread, post_horoscope, run_horoscopes
from .util import split_string
| 41.5 | 78 | 0.861446 | 23 | 166 | 5.913043 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 166 | 3 | 79 | 55.333333 | 0.906667 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33deae1e501b724f49441c6f27db168d3e4d72ae | 11,000 | py | Python | VulnServer/LTER/exploit_seh.py | cwinfosec/practice | c0010258799aa5c9f9e5cccec2ba8515b8424771 | [
"MIT"
] | 1 | 2020-10-03T07:57:42.000Z | 2020-10-03T07:57:42.000Z | VulnServer/LTER/exploit_seh.py | cwinfosec/practice | c0010258799aa5c9f9e5cccec2ba8515b8424771 | [
"MIT"
] | null | null | null | VulnServer/LTER/exploit_seh.py | cwinfosec/practice | c0010258799aa5c9f9e5cccec2ba8515b8424771 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
Description: AlphaNumeric Buffer Overflow (SEH) w/ shellcode carver via "LTER" in VulnServer
Author: Cody Winkler
Contact: @cwinfosec (twitter)
Date: 11/15/2019
Tested On: Windows XP SP2 EN
[+] Usage: python expoit.py <IP> <PORT>
$ python exploit_seh.py 127.0.0.1 9999
"""
import socket ... | 85.271318 | 238 | 0.347455 | 1,099 | 11,000 | 3.472248 | 0.214741 | 0.023585 | 0.033019 | 0.040881 | 0.099843 | 0.091981 | 0.091981 | 0.091981 | 0.091981 | 0.091981 | 0 | 0.320158 | 0.54 | 11,000 | 129 | 239 | 85.271318 | 0.433992 | 0.343727 | 0 | 0.084211 | 0 | 0.494737 | 0.471493 | 0.40737 | 0 | 0 | 0.001451 | 0 | 0 | 0 | null | null | 0 | 0.031579 | null | null | 0.031579 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33f6e00013258d05f8dada680e6300841ae4dc5c | 112 | py | Python | ufdl-core-app/src/ufdl/core_app/serialisers/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | ufdl-core-app/src/ufdl/core_app/serialisers/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | 85 | 2020-07-24T00:04:28.000Z | 2022-02-10T10:35:15.000Z | ufdl-core-app/src/ufdl/core_app/serialisers/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | from ._ModelSerialiser import ModelSerialiser
from ._PreTrainedModelSerialiser import PreTrainedModelSerialiser
| 37.333333 | 65 | 0.910714 | 8 | 112 | 12.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 66 | 56 | 0.961538 | 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 |
1d54c02d6ae7d88b5ba16135d67a74e81576b2d8 | 111 | py | Python | tests/test_http_auth.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 13 | 2020-04-18T15:17:58.000Z | 2022-02-24T13:25:46.000Z | tests/test_http_auth.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 5 | 2020-04-04T21:16:00.000Z | 2022-02-10T00:26:20.000Z | tests/test_http_auth.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 3 | 2020-06-06T17:26:19.000Z | 2022-02-10T00:30:39.000Z | from .utils import execute_script
def test(url):
execute_script('test_http_auth.twill', initial_url=url)
| 18.5 | 59 | 0.774775 | 17 | 111 | 4.764706 | 0.705882 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 111 | 5 | 60 | 22.2 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d609d2ce29f4212fae2f904bd517be106c53d2c | 17,571 | py | Python | tests/test_extract_pbo.py | tjensen/dayz-dev-tools | e88c7f4d169778737f2299b6cb10dac9b1a29127 | [
"MIT"
] | 4 | 2021-07-26T00:27:01.000Z | 2022-03-20T16:39:42.000Z | tests/test_extract_pbo.py | tjensen/dayz-dev-tools | e88c7f4d169778737f2299b6cb10dac9b1a29127 | [
"MIT"
] | 19 | 2021-08-04T21:56:12.000Z | 2022-02-27T22:25:19.000Z | tests/test_extract_pbo.py | tjensen/dayz-dev-tools | e88c7f4d169778737f2299b6cb10dac9b1a29127 | [
"MIT"
] | 2 | 2021-09-17T01:11:44.000Z | 2022-01-28T16:43:01.000Z | import os
import typing
import unittest
from unittest import mock
from dayz_dev_tools import extract_pbo
from dayz_dev_tools import pbo_file
class TestExtractPbo(unittest.TestCase):
def setUp(self) -> None:
super().setUp()
self.mock_pboreader = mock.Mock()
self.mock_pboreader.prefix.retur... | 43.492574 | 99 | 0.639235 | 2,303 | 17,571 | 4.593574 | 0.06904 | 0.048398 | 0.078741 | 0.071462 | 0.830324 | 0.809528 | 0.765668 | 0.730126 | 0.710086 | 0.691559 | 0 | 0.017248 | 0.231176 | 17,571 | 403 | 100 | 43.600496 | 0.76586 | 0 | 0 | 0.579937 | 0 | 0.003135 | 0.172159 | 0.022822 | 0 | 0 | 0 | 0 | 0.178683 | 1 | 0.056426 | false | 0 | 0.018809 | 0 | 0.081505 | 0.103448 | 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 |
1d63641a97a0d39f7674465f5c6c4c10dfa8fba4 | 254 | py | Python | DiffractiveForwardAnalysis/Configuration/python/DiffractiveForwardAnalysis_SkimPaths_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | DiffractiveForwardAnalysis/Configuration/python/DiffractiveForwardAnalysis_SkimPaths_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | DiffractiveForwardAnalysis/Configuration/python/DiffractiveForwardAnalysis_SkimPaths_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
# Diffraction and Forward Physics group Skim sequences
from DiffractiveForwardAnalysis.Skimming.gammagammaEE_SkimPaths_cff import *
from DiffractiveForwardAnalysis.Skimming.gammagammaMuMu_SkimPaths_cff import *
| 36.285714 | 78 | 0.877953 | 27 | 254 | 8.111111 | 0.740741 | 0.273973 | 0.347032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 254 | 6 | 79 | 42.333333 | 0.943966 | 0.204724 | 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 |
1d765a0a23df4c912483a6a007dc80ce6d105998 | 272 | py | Python | satef/evaluation/impl/RougeMetricFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | satef/evaluation/impl/RougeMetricFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | satef/evaluation/impl/RougeMetricFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | from evaluation import AbstractEvaluationFactory
from evaluation import AbstractEvaluation
from evaluation.impl import RougeMetric
class RougeMetricFactory(AbstractEvaluationFactory):
def getEvaluationMetric(self) -> AbstractEvaluation:
return RougeMetric() | 34 | 56 | 0.834559 | 22 | 272 | 10.318182 | 0.590909 | 0.185022 | 0.176211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 272 | 8 | 57 | 34 | 0.953782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1d7e61370359f481d661af27fdb358747be7cca1 | 6,116 | py | Python | ctrNet-tool/train.py | misads/ctr | cb94f06ae7a7c8df52d0dfa95104cfff67172e64 | [
"MIT"
] | 1 | 2019-12-23T05:13:28.000Z | 2019-12-23T05:13:28.000Z | ctrNet-tool/train.py | misads/ctr | cb94f06ae7a7c8df52d0dfa95104cfff67172e64 | [
"MIT"
] | null | null | null | ctrNet-tool/train.py | misads/ctr | cb94f06ae7a7c8df52d0dfa95104cfff67172e64 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import tensorflow as tf
import ctrNet
from sklearn.model_selection import train_test_split
from src import misc_utils as utils
import os
features = 20
dev = 'data/merge_train_clean_random1000000.csv'
#train = 'data/merge_train_clean.csv'
#train = 'data/unique_uid_merge_test_in_t... | 33.790055 | 124 | 0.641269 | 856 | 6,116 | 4.33528 | 0.185748 | 0.030719 | 0.029642 | 0.029103 | 0.806521 | 0.785233 | 0.747507 | 0.747507 | 0.74104 | 0.74104 | 0 | 0.034825 | 0.192446 | 6,116 | 180 | 125 | 33.977778 | 0.716542 | 0.085513 | 0 | 0 | 0 | 0 | 0.113636 | 0.032828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.107143 | 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 |
1d944e8570a1abe035f3105f6401b9a7b2adfa33 | 117 | py | Python | iflai/ml/__init__.py | aliechoes/iflai | 74f20236a6fba4704fe3ab4cdde6fb64c6b1343e | [
"MIT"
] | null | null | null | iflai/ml/__init__.py | aliechoes/iflai | 74f20236a6fba4704fe3ab4cdde6fb64c6b1343e | [
"MIT"
] | null | null | null | iflai/ml/__init__.py | aliechoes/iflai | 74f20236a6fba4704fe3ab4cdde6fb64c6b1343e | [
"MIT"
] | null | null | null | from iflai.ml.FeatureExtractor import FeatureExtractor
from iflai.ml.AutoFeatureSelection import AutoFeatureSelection | 58.5 | 62 | 0.905983 | 12 | 117 | 8.833333 | 0.5 | 0.169811 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059829 | 117 | 2 | 62 | 58.5 | 0.963636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d52aeb6ead02834d36a61ad65d30f8798759627c | 98 | py | Python | trade_app/trade/__init__.py | Plazas87/trading_stocks_platform | c34de11152798720cefa552f4b713231508e23a8 | [
"MIT"
] | null | null | null | trade_app/trade/__init__.py | Plazas87/trading_stocks_platform | c34de11152798720cefa552f4b713231508e23a8 | [
"MIT"
] | null | null | null | trade_app/trade/__init__.py | Plazas87/trading_stocks_platform | c34de11152798720cefa552f4b713231508e23a8 | [
"MIT"
] | 2 | 2020-10-28T14:07:43.000Z | 2021-11-03T22:49:21.000Z | from .trade import Trade
from .trade_components import TradeComponents, TradeResults, TradeStatus
| 32.666667 | 72 | 0.857143 | 11 | 98 | 7.545455 | 0.636364 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 98 | 2 | 73 | 49 | 0.943182 | 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 |
d52afa843587323307ae06c2fe856a693b08539b | 197 | py | Python | servicebox/platforms/admin.py | FlxPeters/servicebox | 2fc39fa5ec6e629a0794fda003a7a0e4adf05202 | [
"Apache-2.0"
] | null | null | null | servicebox/platforms/admin.py | FlxPeters/servicebox | 2fc39fa5ec6e629a0794fda003a7a0e4adf05202 | [
"Apache-2.0"
] | null | null | null | servicebox/platforms/admin.py | FlxPeters/servicebox | 2fc39fa5ec6e629a0794fda003a7a0e4adf05202 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from mptt.admin import MPTTModelAdmin
from .models import Platform, PlatformGroup
admin.site.register(PlatformGroup, MPTTModelAdmin)
admin.site.register(Platform)
| 28.142857 | 50 | 0.847716 | 24 | 197 | 6.958333 | 0.5 | 0.107784 | 0.203593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086294 | 197 | 6 | 51 | 32.833333 | 0.927778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
d52d2a413fd6b9b73e52b0ee4eb26f1f0cb97b07 | 43 | py | Python | tools/__init__.py | firestonelib/PASSL_1.0 | c1efd756dc6a22860ebdcf14d860e21f4ff78979 | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | firestonelib/PASSL_1.0 | c1efd756dc6a22860ebdcf14d860e21f4ff78979 | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | firestonelib/PASSL_1.0 | c1efd756dc6a22860ebdcf14d860e21f4ff78979 | [
"Apache-2.0"
] | null | null | null | from .model_stat import throughput, flops
| 21.5 | 42 | 0.813953 | 6 | 43 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 1 | 43 | 43 | 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 |
d54456596933237e231c735e592a3b63a8e70feb | 7,527 | py | Python | test/testcase/test_data.py | stevenswong/tera | 488cea75536287386d52cca411a6a9ee366b73c3 | [
"BSD-3-Clause"
] | 1 | 2019-05-02T00:28:06.000Z | 2019-05-02T00:28:06.000Z | test/testcase/test_data.py | stevenswong/tera | 488cea75536287386d52cca411a6a9ee366b73c3 | [
"BSD-3-Clause"
] | null | null | null | test/testcase/test_data.py | stevenswong/tera | 488cea75536287386d52cca411a6a9ee366b73c3 | [
"BSD-3-Clause"
] | null | null | null | """
Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
"""
import nose
import common
@nose.tools.with_setup(common.create_kv_table, common.cleanup)
def test_scan_empty_kv():
"""
scan empty kv table
"""... | 43.761628 | 133 | 0.700146 | 1,162 | 7,527 | 4.253012 | 0.100688 | 0.111089 | 0.070822 | 0.091056 | 0.879401 | 0.877782 | 0.874747 | 0.871105 | 0.825172 | 0.81728 | 0 | 0.040686 | 0.170586 | 7,527 | 171 | 134 | 44.017544 | 0.750921 | 0.097516 | 0 | 0.608247 | 0 | 0.010309 | 0.062034 | 0.007146 | 0 | 0 | 0 | 0 | 0.14433 | 1 | 0.082474 | false | 0 | 0.020619 | 0 | 0.103093 | 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 |
d55049dc6723dd0f05dca5fd9bcce271974163bc | 69,452 | py | Python | test_data.py | JoaoCampos89/0xbtc-discord-price-bot | 6eb6839213dfb0176c0be72c2dda7193d4131750 | [
"MIT"
] | null | null | null | test_data.py | JoaoCampos89/0xbtc-discord-price-bot | 6eb6839213dfb0176c0be72c2dda7193d4131750 | [
"MIT"
] | null | null | null | test_data.py | JoaoCampos89/0xbtc-discord-price-bot | 6eb6839213dfb0176c0be72c2dda7193d4131750 | [
"MIT"
] | null | null | null |
top_1000_holders = (
(1, '0xc91795a59f20027848bc785678b53875934792a1', 168055.0),
(2, '0x8d12a197cb00d4747a1fe03395095ce2a5cc6819', 86981.09296424),
(3, '0x327432a31cc79c697befe20a52f5d2214cbf0be4', 86686.42293475),
(4, '0xe03c23519e18d64f144d2800e30e81b0065c48b5', 84022.33928554),
(5, '0x6a1cb270d... | 69.244267 | 71 | 0.783937 | 4,003 | 69,452 | 13.600799 | 0.77292 | 0.000882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.614287 | 0.100847 | 69,452 | 1,003 | 72 | 69.244267 | 0.257542 | 0 | 0 | 0 | 0 | 0 | 0.604734 | 0.604734 | 0 | 0 | 0.604734 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d55580dd9f11db25e396871fa31fd784862f8f6d | 149 | py | Python | CodeWars/2016/MakingCopies-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/MakingCopies-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/MakingCopies-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | #Take a list and return an exact copy.
def copy_list(l):
new_copy = l[:]
return new_copy
#Alternate Solution
def copy_list(l):
return list(l) | 14.9 | 38 | 0.711409 | 27 | 149 | 3.777778 | 0.481481 | 0.147059 | 0.215686 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187919 | 149 | 10 | 39 | 14.9 | 0.842975 | 0.369128 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6372109243b6a31042720d1e828d6479c8642b1a | 193 | py | Python | scripts/welcomeJudge.py | ChoiSangok/BaekJoon-Challenge | a75505064816935fc7d7955cc1eba94e9d84c6e5 | [
"MIT"
] | 3 | 2021-08-02T12:32:14.000Z | 2021-08-05T13:26:32.000Z | scripts/welcomeJudge.py | choipureum/BaekJoon-Challenge | 00604ddb6cb6e35d310ef2449d70f138db3f7314 | [
"MIT"
] | 24 | 2021-08-04T04:39:23.000Z | 2021-08-13T13:16:29.000Z | scripts/welcomeJudge.py | choipureum/BaekJoon-Challenge | 00604ddb6cb6e35d310ef2449d70f138db3f7314 | [
"MIT"
] | 2 | 2021-08-04T04:31:26.000Z | 2021-08-05T13:26:38.000Z | import os
import sys
print("[Welcome PR!]")
print("Please regist comment with Command")
print("run : run (path)/문제 테스팅(Success/Error)")
print(" ex) run test/Implementation/2857/main.java")
| 24.125 | 55 | 0.715026 | 29 | 193 | 4.758621 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0.124352 | 193 | 7 | 56 | 27.571429 | 0.792899 | 0 | 0 | 0 | 0 | 0 | 0.678756 | 0.176166 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
63c1536396da054bb8e878fd4a8432563c320df7 | 4,668 | py | Python | tests/test_jinja_globals.py | ccxtechnologies/aiohttp-jinja2-async | e46c33fbf50a50cc4b3204c65556b8957e91cae0 | [
"Apache-2.0"
] | 3 | 2021-01-09T19:52:01.000Z | 2021-11-15T11:15:09.000Z | tests/test_jinja_globals.py | ccxtechnologies/aiohttp-jinja2-async | e46c33fbf50a50cc4b3204c65556b8957e91cae0 | [
"Apache-2.0"
] | null | null | null | tests/test_jinja_globals.py | ccxtechnologies/aiohttp-jinja2-async | e46c33fbf50a50cc4b3204c65556b8957e91cae0 | [
"Apache-2.0"
] | 1 | 2021-01-09T16:42:33.000Z | 2021-01-09T16:42:33.000Z | import jinja2
import pytest
from aiohttp import web
import aiohttp_jinja2
def test_get_env():
app = web.Application()
aiohttp_jinja2.setup(app, loader=jinja2.DictLoader(
{'tmpl.jinja2': "tmpl"}))
env = aiohttp_jinja2.get_env(app)
assert isinstance(env, jinja2.Environment)
assert env is a... | 26.827586 | 74 | 0.615895 | 558 | 4,668 | 5.014337 | 0.15233 | 0.083631 | 0.042888 | 0.054682 | 0.801644 | 0.766619 | 0.766619 | 0.73767 | 0.73767 | 0.702645 | 0 | 0.018757 | 0.23479 | 4,668 | 173 | 75 | 26.982659 | 0.764558 | 0.00557 | 0 | 0.669355 | 0 | 0 | 0.136207 | 0.009052 | 0 | 0 | 0 | 0 | 0.104839 | 1 | 0.008065 | false | 0 | 0.032258 | 0 | 0.120968 | 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 |
89301bc0dbd02a537b94193a54365521083a063e | 1,782 | py | Python | tests/misc/test_assertion.py | takuseno/mvc-drl | 2d9dede864d4018ec91a7d69c7435f885e5fc7d5 | [
"MIT"
] | 11 | 2019-02-10T07:00:34.000Z | 2020-08-03T12:49:28.000Z | tests/misc/test_assertion.py | takuseno/mvc-drl | 2d9dede864d4018ec91a7d69c7435f885e5fc7d5 | [
"MIT"
] | null | null | null | tests/misc/test_assertion.py | takuseno/mvc-drl | 2d9dede864d4018ec91a7d69c7435f885e5fc7d5 | [
"MIT"
] | 1 | 2019-02-10T07:00:34.000Z | 2019-02-10T07:00:34.000Z | import numpy as np
import pytest
from mvc.misc.assertion import assert_type
from mvc.misc.assertion import assert_shape
from mvc.misc.assertion import assert_batch_shape
from mvc.misc.assertion import assert_batch_size_match
from mvc.misc.assertion import assert_shape_match
from mvc.misc.assertion import assert_shape_... | 29.213115 | 85 | 0.7211 | 260 | 1,782 | 4.726923 | 0.130769 | 0.110659 | 0.193653 | 0.195281 | 0.861676 | 0.786005 | 0.573637 | 0.5476 | 0.254679 | 0.254679 | 0 | 0.037279 | 0.141975 | 1,782 | 60 | 86 | 29.7 | 0.766514 | 0 | 0 | 0.205128 | 0 | 0 | 0.005612 | 0 | 0 | 0 | 0 | 0 | 0.948718 | 1 | 0.179487 | true | 0 | 0.230769 | 0 | 0.410256 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9820ed49c3c5dae122bbe7ea010f858ca94ba254 | 130 | py | Python | openpype/hosts/houdini/api/plugin.py | dangerstudios/OpenPype | 10ddcc4699137888616eec57cd7fac9648189714 | [
"MIT"
] | null | null | null | openpype/hosts/houdini/api/plugin.py | dangerstudios/OpenPype | 10ddcc4699137888616eec57cd7fac9648189714 | [
"MIT"
] | null | null | null | openpype/hosts/houdini/api/plugin.py | dangerstudios/OpenPype | 10ddcc4699137888616eec57cd7fac9648189714 | [
"MIT"
] | null | null | null | from avalon import houdini
from openpype.api import PypeCreatorMixin
class Creator(PypeCreatorMixin, houdini.Creator):
pass
| 18.571429 | 49 | 0.815385 | 15 | 130 | 7.066667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 130 | 6 | 50 | 21.666667 | 0.946429 | 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 |
982d7e4b4c6f06ac1374e5acc6d921426d7ffdf5 | 163 | wsgi | Python | app.wsgi | drawcode/blueprints-flask | 742b33f68484b3688b0ef60c97a8fa8d22fea43c | [
"MIT"
] | 1 | 2017-11-01T02:55:11.000Z | 2017-11-01T02:55:11.000Z | app.wsgi | drawcode/blueprints-flask | 742b33f68484b3688b0ef60c97a8fa8d22fea43c | [
"MIT"
] | null | null | null | app.wsgi | drawcode/blueprints-flask | 742b33f68484b3688b0ef60c97a8fa8d22fea43c | [
"MIT"
] | null | null | null | import sys, os
sys.path.append(os.path.dirname(__file__))
sys.path.append(os.path.join(os.path.dirname(__file__), "app"))
from app import app as application | 27.166667 | 64 | 0.742331 | 27 | 163 | 4.185185 | 0.444444 | 0.159292 | 0.230089 | 0.265487 | 0.336283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110429 | 163 | 6 | 65 | 27.166667 | 0.77931 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
98327f17b8e00cdb5e6da77a05aeb8fa29944b14 | 49 | py | Python | models/detection/__init__.py | canyilmaz90/pytorch-YOLOv4 | 0217bccd2790a9c86e405a3d6d68071ff4db3775 | [
"Apache-2.0"
] | null | null | null | models/detection/__init__.py | canyilmaz90/pytorch-YOLOv4 | 0217bccd2790a9c86e405a3d6d68071ff4db3775 | [
"Apache-2.0"
] | null | null | null | models/detection/__init__.py | canyilmaz90/pytorch-YOLOv4 | 0217bccd2790a9c86e405a3d6d68071ff4db3775 | [
"Apache-2.0"
] | null | null | null | from .yolov4 import *
from .yolov4tiny import *
| 12.25 | 25 | 0.734694 | 6 | 49 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.183673 | 49 | 3 | 26 | 16.333333 | 0.85 | 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 |
9849016b8628479c7f7478a25ac44c8795f2acdd | 28 | py | Python | __init__.py | rogerlew/all_your_base | 3b6f1cec0d6ad51a93aa1be47e29208a5217061c | [
"BSD-3-Clause"
] | null | null | null | __init__.py | rogerlew/all_your_base | 3b6f1cec0d6ad51a93aa1be47e29208a5217061c | [
"BSD-3-Clause"
] | null | null | null | __init__.py | rogerlew/all_your_base | 3b6f1cec0d6ad51a93aa1be47e29208a5217061c | [
"BSD-3-Clause"
] | null | null | null | from .all_your_base import * | 28 | 28 | 0.821429 | 5 | 28 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.84 | 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 |
9861d55d2295f5fdc861a5fbaa0ab9f18794e691 | 1,926 | py | Python | starfish/core/spots/Decode/test/test_decoding_without_spots.py | kne42/starfish | 78b348c9756f367221dcca725cfa5107e5520b33 | [
"MIT"
] | null | null | null | starfish/core/spots/Decode/test/test_decoding_without_spots.py | kne42/starfish | 78b348c9756f367221dcca725cfa5107e5520b33 | [
"MIT"
] | null | null | null | starfish/core/spots/Decode/test/test_decoding_without_spots.py | kne42/starfish | 78b348c9756f367221dcca725cfa5107e5520b33 | [
"MIT"
] | null | null | null | import os
from tempfile import TemporaryDirectory
import pandas as pd
import starfish
from starfish.core.test.factories import two_spot_sparse_coded_data_factory
def test_per_round_max_spot_decoding_without_spots():
codebook, image_stack, max_intensity = two_spot_sparse_coded_data_factory()
bd = starfish.... | 35.018182 | 79 | 0.731049 | 270 | 1,926 | 4.907407 | 0.255556 | 0.042264 | 0.042264 | 0.039245 | 0.826415 | 0.826415 | 0.804528 | 0.804528 | 0.804528 | 0.804528 | 0 | 0.01697 | 0.173936 | 1,926 | 54 | 80 | 35.666667 | 0.815839 | 0.044133 | 0 | 0.685714 | 0 | 0 | 0.01741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.142857 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98b47a681e129d062eb172e9d48b3f940d3782ca | 279 | py | Python | office365/outlook/calendar/meeting_time_suggestion.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/outlook/calendar/meeting_time_suggestion.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/outlook/calendar/meeting_time_suggestion.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class MeetingTimeSuggestion(ClientValue):
"""
A meeting suggestion that includes information like meeting time, attendance likelihood, individual availability,
and available meeting locations.
"""
pass
| 27.9 | 117 | 0.774194 | 28 | 279 | 7.678571 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.172043 | 279 | 9 | 118 | 31 | 0.917749 | 0.523297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7f6d7c91b38d0ca355a04a19e95b43fb91aa77e9 | 50,549 | py | Python | aacgmv2/tests/test_py_aacgmv2.py | DannoPeters/aacgmv2 | 6f21485453a3cfc76328cc6684952de0b1fc4a50 | [
"MIT"
] | null | null | null | aacgmv2/tests/test_py_aacgmv2.py | DannoPeters/aacgmv2 | 6f21485453a3cfc76328cc6684952de0b1fc4a50 | [
"MIT"
] | null | null | null | aacgmv2/tests/test_py_aacgmv2.py | DannoPeters/aacgmv2 | 6f21485453a3cfc76328cc6684952de0b1fc4a50 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import division, absolute_import, unicode_literals
import datetime as dt
import numpy as np
import pytest
import aacgmv2
class TestPyAACGMV2:
@classmethod
def test_module_structure(self):
"""Test module structure"""
assert aacgmv2
assert aacgmv2... | 43.727509 | 80 | 0.583632 | 6,424 | 50,549 | 4.386519 | 0.050903 | 0.087654 | 0.036907 | 0.051421 | 0.924696 | 0.893928 | 0.862806 | 0.842613 | 0.800206 | 0.764931 | 0 | 0.068246 | 0.310392 | 50,549 | 1,155 | 81 | 43.765368 | 0.740125 | 0.096322 | 0 | 0.699317 | 0 | 0 | 0.015056 | 0.000487 | 0 | 0 | 0 | 0 | 0.273349 | 1 | 0.107062 | false | 0 | 0.02164 | 0 | 0.137813 | 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 |
7fbebf780d053dff7411f08d78926f808c92c102 | 13,428 | py | Python | lib/python/treadmill/tests/restclient_test.py | ms-petrugarstea/treadmill | 4c813baf8831918744b5af020938c8a51ed15c72 | [
"Apache-2.0"
] | 1 | 2017-02-27T15:11:00.000Z | 2017-02-27T15:11:00.000Z | lib/python/treadmill/tests/restclient_test.py | godsarmy/treadmill | 4c813baf8831918744b5af020938c8a51ed15c72 | [
"Apache-2.0"
] | null | null | null | lib/python/treadmill/tests/restclient_test.py | godsarmy/treadmill | 4c813baf8831918744b5af020938c8a51ed15c72 | [
"Apache-2.0"
] | null | null | null | """Unit test for treadmill.restclient.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import unittest
import mock
import simplejson.scanner as sjs
import requests
from six.moves import http_client
from treadmi... | 42.900958 | 79 | 0.626527 | 1,648 | 13,428 | 4.927184 | 0.101335 | 0.065025 | 0.062069 | 0.084236 | 0.843473 | 0.824261 | 0.803941 | 0.757882 | 0.702217 | 0.67931 | 0 | 0.009179 | 0.23734 | 13,428 | 312 | 80 | 43.038462 | 0.783713 | 0.103738 | 0 | 0.59322 | 0 | 0 | 0.102487 | 0.002856 | 0 | 0 | 0 | 0 | 0.118644 | 1 | 0.097458 | false | 0.004237 | 0.042373 | 0 | 0.144068 | 0.004237 | 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 |
f6864a1116b38da0105ca8948d35cb465d860c59 | 29,568 | py | Python | db_helper.py | Media-Bias-Group/Teaching-Platform | f3ebfa9936be1c595284967ee3998bbdaad3deb9 | [
"MIT"
] | null | null | null | db_helper.py | Media-Bias-Group/Teaching-Platform | f3ebfa9936be1c595284967ee3998bbdaad3deb9 | [
"MIT"
] | null | null | null | db_helper.py | Media-Bias-Group/Teaching-Platform | f3ebfa9936be1c595284967ee3998bbdaad3deb9 | [
"MIT"
] | null | null | null | import csv
import sys
import pandas as pd
from surveyapi.models import db, Survey, Question, AnnotationSentences, SimpleChoice, RangeSliderChoice, TestSurveyGroups, SurveyRecord, Annotations
from surveyapi.create_app import create_app
from prettytable import PrettyTable
from sqlalchemy import text
from sqlalchemy impo... | 48.711697 | 378 | 0.627672 | 3,506 | 29,568 | 4.962065 | 0.070736 | 0.09243 | 0.082888 | 0.05978 | 0.826292 | 0.779387 | 0.738978 | 0.722883 | 0.708398 | 0.691556 | 0 | 0.00942 | 0.260383 | 29,568 | 606 | 379 | 48.792079 | 0.78609 | 0.061046 | 0 | 0.678571 | 0 | 0.010504 | 0.364929 | 0.099405 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023109 | false | 0.004202 | 0.021008 | 0.002101 | 0.05042 | 0.046218 | 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 |
10045d2504b913bdb9ac70d3ac53471ed42ecbce | 826 | py | Python | python/tests/generated/api/list/test_string_values.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 17 | 2019-04-15T21:03:37.000Z | 2022-01-24T11:03:34.000Z | python/tests/generated/api/list/test_string_values.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 20 | 2019-03-13T23:23:40.000Z | 2022-03-29T13:40:57.000Z | python/tests/generated/api/list/test_string_values.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 4 | 2019-04-15T21:18:03.000Z | 2019-09-21T16:18:10.000Z | import enolib
def test_querying_existing_required_string_values_from_a_list_produces_the_expected_result():
input = ("list:\n"
"- item\n"
"- item")
output = enolib.parse(input).list('list').required_string_values()
assert output == ['item', 'item']
def test_querying_existing_op... | 29.5 | 93 | 0.657385 | 99 | 826 | 5.060606 | 0.252525 | 0.143713 | 0.159681 | 0.101796 | 0.850299 | 0.850299 | 0.850299 | 0.850299 | 0.850299 | 0.710579 | 0 | 0 | 0.209443 | 826 | 28 | 94 | 29.5 | 0.767228 | 0 | 0 | 0.578947 | 0 | 0 | 0.097944 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.157895 | false | 0 | 0.052632 | 0 | 0.210526 | 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 |
1016a337a24da18c92ceb8d9c07ed91e665132b2 | 110 | py | Python | pypupil/synchonizer.py | choisuyeon/pypupil | 3fdb1f29c6b28613b6b39094c01e61560214daff | [
"MIT"
] | 9 | 2018-08-07T11:00:54.000Z | 2021-02-13T04:36:05.000Z | pypupil/synchonizer.py | choisuyeon/pypupil | 3fdb1f29c6b28613b6b39094c01e61560214daff | [
"MIT"
] | null | null | null | pypupil/synchonizer.py | choisuyeon/pypupil | 3fdb1f29c6b28613b6b39094c01e61560214daff | [
"MIT"
] | 1 | 2020-12-03T00:44:29.000Z | 2020-12-03T00:44:29.000Z | from queue import Queue
import threading
class Synchonizer:
def __init__(self):
return
| 12.222222 | 24 | 0.654545 | 12 | 110 | 5.666667 | 0.833333 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309091 | 110 | 8 | 25 | 13.75 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
63edace6ba5deec89ff5bacfee310c93af809e03 | 112 | py | Python | Chapter1/1.3.7-Operators.py | pankace/SICP-robably | 765f516f253e96ae2c8e433722ea7cefd31b2f04 | [
"MIT"
] | null | null | null | Chapter1/1.3.7-Operators.py | pankace/SICP-robably | 765f516f253e96ae2c8e433722ea7cefd31b2f04 | [
"MIT"
] | null | null | null | Chapter1/1.3.7-Operators.py | pankace/SICP-robably | 765f516f253e96ae2c8e433722ea7cefd31b2f04 | [
"MIT"
] | null | null | null | import math
from operator import add, sub, mul
print(2 + 3)
print(mul(2, 3))
print(2 ** 5 + 54 + 4 * -43 / 55)
| 16 | 34 | 0.607143 | 22 | 112 | 3.090909 | 0.681818 | 0.176471 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 0.223214 | 112 | 6 | 35 | 18.666667 | 0.632184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.6 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
1200ff2883b0230b56100735ff2c358c888cff19 | 105 | py | Python | otherdave/util/__init__.py | BooGluten/OtherDave | 6b471f2aeb4f5c6deec263d98530fd583841e3dc | [
"MIT"
] | null | null | null | otherdave/util/__init__.py | BooGluten/OtherDave | 6b471f2aeb4f5c6deec263d98530fd583841e3dc | [
"MIT"
] | 30 | 2017-09-08T18:49:17.000Z | 2021-10-06T19:47:33.000Z | otherdave/util/__init__.py | BooGluten/OtherDave | 6b471f2aeb4f5c6deec263d98530fd583841e3dc | [
"MIT"
] | 2 | 2019-01-13T21:12:05.000Z | 2021-10-03T19:19:38.000Z | # OtherDave/otherdave/util/__init__.py
from .madlib import *
from .dlog import *
from .triggers import * | 21 | 38 | 0.761905 | 14 | 105 | 5.428571 | 0.642857 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 105 | 5 | 39 | 21 | 0.835165 | 0.342857 | 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 |
1214734c618b9a3089ef2351a5ab0970031b57f3 | 15,147 | py | Python | tests/tests_unit/test_api/test_3d.py | cognitedata/cognite-sdk-python | 7b80c0dfdb39461c7c7f0d63cfede1646d278732 | [
"Apache-2.0"
] | 59 | 2018-03-07T10:35:29.000Z | 2022-03-25T13:11:47.000Z | tests/tests_unit/test_api/test_3d.py | cognitedata/cognite-sdk-python | 7b80c0dfdb39461c7c7f0d63cfede1646d278732 | [
"Apache-2.0"
] | 768 | 2018-03-21T07:07:31.000Z | 2022-03-29T20:01:45.000Z | tests/tests_unit/test_api/test_3d.py | cognitedata/cognite-sdk-python | 7b80c0dfdb39461c7c7f0d63cfede1646d278732 | [
"Apache-2.0"
] | 24 | 2018-08-31T19:37:57.000Z | 2021-09-23T13:28:55.000Z | import re
import pytest
from cognite.client._api.three_d import (
ThreeDAssetMapping,
ThreeDAssetMappingList,
ThreeDModel,
ThreeDModelList,
ThreeDModelRevision,
ThreeDModelRevisionList,
ThreeDModelRevisionUpdate,
ThreeDModelUpdate,
ThreeDNodeList,
)
from cognite.client.exceptions i... | 45.9 | 120 | 0.681785 | 1,986 | 15,147 | 4.890232 | 0.079557 | 0.100391 | 0.053233 | 0.076297 | 0.880251 | 0.847096 | 0.837212 | 0.781404 | 0.768431 | 0.727965 | 0 | 0.030189 | 0.193042 | 15,147 | 329 | 121 | 46.039514 | 0.764379 | 0 | 0 | 0.468085 | 0 | 0.007092 | 0.080346 | 0.02007 | 0 | 0 | 0 | 0 | 0.216312 | 1 | 0.120567 | false | 0 | 0.017731 | 0 | 0.152482 | 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 |
124d0e00e9c8392947878d48f3822a6422db9898 | 70 | py | Python | tests/calculator/flow_test.py | goncalovalverde/seshat | deff5cdd985f81ac2b4ebd077eea11f7c4f4118f | [
"MIT"
] | 1 | 2020-12-22T13:23:00.000Z | 2020-12-22T13:23:00.000Z | tests/calculator/flow_test.py | goncalovalverde/seshat | deff5cdd985f81ac2b4ebd077eea11f7c4f4118f | [
"MIT"
] | 5 | 2020-12-22T13:36:30.000Z | 2021-02-27T05:42:18.000Z | tests/calculator/flow_test.py | goncalovalverde/seshat | deff5cdd985f81ac2b4ebd077eea11f7c4f4118f | [
"MIT"
] | null | null | null | import calculator.flow
def test_cycle_data():
assert 1 + 1 == 2
| 11.666667 | 22 | 0.671429 | 11 | 70 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.228571 | 70 | 5 | 23 | 14 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89efb107bef859875443565658f4430dff6d3562 | 11,423 | py | Python | container_transform/tests/client_tests.py | psykzz/container-transform | 68223fae98f30b8bb2ce0f02ba9e58afbc80f196 | [
"MIT"
] | 1,141 | 2016-02-05T22:29:48.000Z | 2022-03-31T20:42:46.000Z | container_transform/tests/client_tests.py | psykzz/container-transform | 68223fae98f30b8bb2ce0f02ba9e58afbc80f196 | [
"MIT"
] | 62 | 2016-02-07T17:28:15.000Z | 2021-09-06T12:38:53.000Z | container_transform/tests/client_tests.py | psykzz/container-transform | 68223fae98f30b8bb2ce0f02ba9e58afbc80f196 | [
"MIT"
] | 138 | 2016-03-03T06:35:54.000Z | 2022-03-30T17:47:34.000Z | import os
import json
from unittest import TestCase
from click.testing import CliRunner
from container_transform.client import transform
class ClientTests(TestCase):
"""
Tests for client
"""
def setUp(self):
self.yaml_input = (
'\n'
'web:\n'
' image: me/... | 32.359773 | 93 | 0.543815 | 1,140 | 11,423 | 5.176316 | 0.094737 | 0.045755 | 0.052872 | 0.083715 | 0.90544 | 0.894425 | 0.877309 | 0.843925 | 0.803762 | 0.795628 | 0 | 0.007123 | 0.324083 | 11,423 | 352 | 94 | 32.451705 | 0.757156 | 0.001401 | 0 | 0.635714 | 0 | 0 | 0.151172 | 0.053112 | 0 | 0 | 0 | 0 | 0.139286 | 1 | 0.067857 | false | 0 | 0.017857 | 0 | 0.089286 | 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 |
d63f73964e9510ca6ff99fd26bc7651bee1179d6 | 167,132 | py | Python | lbry/schema/types/v2/claim_pb2.py | nishp77/lbry-sdk | 7531401623a393a1491e3b65de0e2a65f8e45020 | [
"MIT"
] | 4,996 | 2019-06-21T04:44:34.000Z | 2022-03-31T14:24:52.000Z | lbry/schema/types/v2/claim_pb2.py | nishp77/lbry-sdk | 7531401623a393a1491e3b65de0e2a65f8e45020 | [
"MIT"
] | 1,934 | 2015-11-25T20:40:45.000Z | 2019-06-21T00:50:03.000Z | lbry/schema/types/v2/claim_pb2.py | nishp77/lbry-sdk | 7531401623a393a1491e3b65de0e2a65f8e45020 | [
"MIT"
] | 369 | 2015-12-05T21:18:07.000Z | 2019-06-10T12:40:50.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: claim.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflect... | 35.613041 | 27,808 | 0.66557 | 21,997 | 167,132 | 4.952175 | 0.118334 | 0.081812 | 0.281127 | 0.161861 | 0.736985 | 0.707655 | 0.672808 | 0.521082 | 0.51942 | 0.491642 | 0 | 0.124192 | 0.184591 | 167,132 | 4,692 | 27,809 | 35.620631 | 0.675134 | 0.004691 | 0 | 0.732626 | 1 | 0.001082 | 0.166488 | 0.134636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001299 | 0 | 0.001299 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d64b6e44de7348e1caa0a705d760a01d5984abbd | 54,124 | py | Python | api/tests/python/end_points/auto_analyse/protected_names/test_auto_analyse_invalid_np_bc.py | rarmitag/namex | 1b308bf96130619d4a61d44e075cc7ab177dc6cd | [
"Apache-2.0"
] | null | null | null | api/tests/python/end_points/auto_analyse/protected_names/test_auto_analyse_invalid_np_bc.py | rarmitag/namex | 1b308bf96130619d4a61d44e075cc7ab177dc6cd | [
"Apache-2.0"
] | 2 | 2019-01-14T23:59:11.000Z | 2019-01-30T16:09:16.000Z | api/tests/python/end_points/auto_analyse/protected_names/test_auto_analyse_invalid_np_bc.py | rarmitag/namex | 1b308bf96130619d4a61d44e075cc7ab177dc6cd | [
"Apache-2.0"
] | null | null | null | from datetime import date
import pytest
from urllib.parse import quote_plus
import jsonpickle
from namex.constants import EntityTypes
from namex.models import User
from namex.services.name_request.auto_analyse import AnalysisIssueCodes
# from tests.python import integration_oracle_namesdb
token_header = {
"alg"... | 41.190259 | 137 | 0.560694 | 5,344 | 54,124 | 5.477358 | 0.069985 | 0.031362 | 0.03717 | 0.038263 | 0.872775 | 0.852038 | 0.838782 | 0.828089 | 0.823409 | 0.809778 | 0 | 0.004039 | 0.304615 | 54,124 | 1,313 | 138 | 41.22163 | 0.77368 | 0.042255 | 0 | 0.606005 | 0 | 0 | 0.251062 | 0.001718 | 0 | 0 | 0 | 0 | 0.079163 | 1 | 0.029117 | false | 0 | 0.009099 | 0 | 0.038217 | 0.045496 | 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 |
c3adaf3ba357eb96bffdb6ccfcf29ff834072306 | 96 | py | Python | venv/lib/python3.8/site-packages/jeepney/auth.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jeepney/auth.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jeepney/auth.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/0e/1d/e7/b73b82734ada7887160ccfc60c02cdc0ba94b9e24ce281071ffa424130 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3ccfb9da5d5050c40c755ab857c94d011ffdfde | 93 | py | Python | phone.py | vijay-krishnamoorthy/python-practice | 2028bccb03619b6ac50bdfdba270623f0bfb67a9 | [
"bzip2-1.0.6"
] | null | null | null | phone.py | vijay-krishnamoorthy/python-practice | 2028bccb03619b6ac50bdfdba270623f0bfb67a9 | [
"bzip2-1.0.6"
] | null | null | null | phone.py | vijay-krishnamoorthy/python-practice | 2028bccb03619b6ac50bdfdba270623f0bfb67a9 | [
"bzip2-1.0.6"
] | null | null | null | p=input()
print(p[:2]+"-"+p[2:])
p=p[:2]+"-"+p[2:]
print(p[3:])
p=p.replace('-','')
print(p)
| 13.285714 | 22 | 0.451613 | 20 | 93 | 2.1 | 0.3 | 0.190476 | 0.214286 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0.064516 | 93 | 6 | 23 | 15.5 | 0.425287 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c3eeea70fc0fc8aae95b99ed2c3e6027946ec9aa | 47 | py | Python | pyxb/bundles/opengis/fes_2_0.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/opengis/fes_2_0.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/opengis/fes_2_0.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.opengis.raw.fes_2_0 import *
| 23.5 | 46 | 0.808511 | 9 | 47 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.085106 | 47 | 1 | 47 | 47 | 0.790698 | 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 |
615b748005e7d035268d8d9680b688a0ea54284b | 96 | py | Python | pymediator/__init__.py | pirobtumen/pymediator | fb6b5017301e8197c5c521ce87a396510fe55542 | [
"BSD-3-Clause"
] | null | null | null | pymediator/__init__.py | pirobtumen/pymediator | fb6b5017301e8197c5c521ce87a396510fe55542 | [
"BSD-3-Clause"
] | null | null | null | pymediator/__init__.py | pirobtumen/pymediator | fb6b5017301e8197c5c521ce87a396510fe55542 | [
"BSD-3-Clause"
] | null | null | null | from .mediator import Mediator
from .event import Event
from .event_handler import EventHandler
| 24 | 39 | 0.84375 | 13 | 96 | 6.153846 | 0.461538 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 3 | 40 | 32 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4eedb8e0eb1af53fab513b04a5589012d263b00a | 4,242 | py | Python | tests/namespaces/test_repos.py | odidev/aiogithubapi | ef0917e8da5d31f3c3e64d4efe45f05a537bcfdd | [
"MIT"
] | null | null | null | tests/namespaces/test_repos.py | odidev/aiogithubapi | ef0917e8da5d31f3c3e64d4efe45f05a537bcfdd | [
"MIT"
] | null | null | null | tests/namespaces/test_repos.py | odidev/aiogithubapi | ef0917e8da5d31f3c3e64d4efe45f05a537bcfdd | [
"MIT"
] | null | null | null | """Test repos namespace."""
# pylint: disable=missing-docstring
import pytest
from aiogithubapi import GitHubAPI, GitHubRepositoryModel
from aiogithubapi.const import HttpContentType
from tests.common import (
HEADERS,
HEADERS_TEXT,
TEST_REPOSITORY_NAME,
MockedRequests,
MockResponse,
)
@pytest.m... | 34.209677 | 100 | 0.719236 | 513 | 4,242 | 5.783626 | 0.146199 | 0.097068 | 0.109201 | 0.066734 | 0.846983 | 0.836535 | 0.816987 | 0.772497 | 0.772497 | 0.698349 | 0 | 0.013563 | 0.165724 | 4,242 | 123 | 101 | 34.487805 | 0.824809 | 0.013201 | 0 | 0.52381 | 0 | 0 | 0.173206 | 0.009569 | 0 | 0 | 0 | 0 | 0.342857 | 1 | 0 | false | 0 | 0.038095 | 0 | 0.038095 | 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 |
f6178b1a81e38b94879b7faab77a331d3e7a2bdb | 137 | py | Python | tests/test_basic.py | radoye/fastprogress | ee6234d1b22bb670a08e8c32cdbbc4cb4cba1d6c | [
"Apache-2.0"
] | 2 | 2018-12-31T06:08:58.000Z | 2019-01-03T10:11:14.000Z | tests/test_basic.py | radoye/fastprogress | ee6234d1b22bb670a08e8c32cdbbc4cb4cba1d6c | [
"Apache-2.0"
] | 1 | 2021-06-25T15:16:59.000Z | 2021-06-25T15:16:59.000Z | tests/test_basic.py | radoye/fastprogress | ee6234d1b22bb670a08e8c32cdbbc4cb4cba1d6c | [
"Apache-2.0"
] | 1 | 2018-12-30T10:35:51.000Z | 2018-12-30T10:35:51.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pytest
import fastprogress
def test_basic():
assert fastprogress.__version__
| 13.7 | 35 | 0.708029 | 17 | 137 | 5.411765 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.160584 | 137 | 9 | 36 | 15.222222 | 0.791304 | 0.306569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f63e254de6e27c78b3902a5fa4d08a9fd86b76ac | 5,119 | py | Python | tests/test_folder_structure.py | mkirkland4874/icloud_photos_downloader | 04f356dc6fda18a4b56e45160eb7d18850f6a4e8 | [
"MIT"
] | 1,514 | 2020-10-22T13:41:41.000Z | 2022-03-31T23:19:49.000Z | tests/test_folder_structure.py | mkirkland4874/icloud_photos_downloader | 04f356dc6fda18a4b56e45160eb7d18850f6a4e8 | [
"MIT"
] | 200 | 2020-10-21T17:10:12.000Z | 2022-03-31T14:44:48.000Z | tests/test_folder_structure.py | mkirkland4874/icloud_photos_downloader | 04f356dc6fda18a4b56e45160eb7d18850f6a4e8 | [
"MIT"
] | 147 | 2020-10-26T00:37:40.000Z | 2022-03-17T19:55:16.000Z | from unittest import TestCase
import os
from os.path import normpath
import shutil
from click.testing import CliRunner
from vcr import VCR
from icloudpd.base import main
from tests.helpers.print_result_exception import print_result_exception
import inspect
vcr = VCR(decode_compressed_response=True)
class FolderStruct... | 38.201493 | 97 | 0.530768 | 557 | 5,119 | 4.745063 | 0.219031 | 0.083995 | 0.068104 | 0.088536 | 0.823307 | 0.823307 | 0.823307 | 0.823307 | 0.823307 | 0.823307 | 0 | 0.060917 | 0.352217 | 5,119 | 133 | 98 | 38.488722 | 0.736128 | 0.068763 | 0 | 0.568966 | 0 | 0 | 0.15671 | 0.102861 | 0 | 0 | 0 | 0 | 0.172414 | 1 | 0.017241 | false | 0.034483 | 0.077586 | 0 | 0.103448 | 0.043103 | 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 |
f65fb8f94d2586b90611899957f8aa9e101e4168 | 160 | py | Python | config/__init__.py | microserv/Index-service | 9c4894f3802cf24950dfc952d24589d1bd107ae6 | [
"MIT"
] | null | null | null | config/__init__.py | microserv/Index-service | 9c4894f3802cf24950dfc952d24589d1bd107ae6 | [
"MIT"
] | null | null | null | config/__init__.py | microserv/Index-service | 9c4894f3802cf24950dfc952d24589d1bd107ae6 | [
"MIT"
] | null | null | null | from config.base import * # flake8: noqa
try:
from config.local import * # flake8: noqa
except ImportError:
print('Local settings file not found.')
| 20 | 46 | 0.69375 | 21 | 160 | 5.285714 | 0.714286 | 0.18018 | 0.288288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.2125 | 160 | 7 | 47 | 22.857143 | 0.865079 | 0.15625 | 0 | 0 | 0 | 0 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f671805cc46df49e12ec3a2604556c32f863a537 | 246 | py | Python | end_to_end_tests/golden-master/my_test_api_client/errors.py | Maistho/openapi-python-client | e123b966e8d31db173e09cabc8284a855d07e425 | [
"MIT"
] | null | null | null | end_to_end_tests/golden-master/my_test_api_client/errors.py | Maistho/openapi-python-client | e123b966e8d31db173e09cabc8284a855d07e425 | [
"MIT"
] | null | null | null | end_to_end_tests/golden-master/my_test_api_client/errors.py | Maistho/openapi-python-client | e123b966e8d31db173e09cabc8284a855d07e425 | [
"MIT"
] | null | null | null | from httpx import Response
class ApiResponseError(Exception):
""" An exception raised when an unknown response occurs """
def __init__(self, *, response: Response):
super().__init__()
self.response: Response = response
| 24.6 | 63 | 0.686992 | 26 | 246 | 6.192308 | 0.615385 | 0.298137 | 0.198758 | 0.298137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215447 | 246 | 9 | 64 | 27.333333 | 0.834197 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 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 |
9caec5c328e068059387a1b4d5dc9e459d6c4b0c | 67 | py | Python | tests/test_main.py | arisp99/sphinx-toolbox | 2987080e2d65c0dd2d392dcf7f1f5a904a9231f5 | [
"MIT"
] | 30 | 2021-03-01T00:15:55.000Z | 2022-03-01T13:23:59.000Z | tests/test_main.py | arisp99/sphinx-toolbox | 2987080e2d65c0dd2d392dcf7f1f5a904a9231f5 | [
"MIT"
] | 56 | 2020-12-17T12:39:04.000Z | 2022-03-21T19:00:55.000Z | tests/test_main.py | arisp99/sphinx-toolbox | 2987080e2d65c0dd2d392dcf7f1f5a904a9231f5 | [
"MIT"
] | 4 | 2021-07-04T16:57:52.000Z | 2022-03-21T19:35:31.000Z | def test_import():
# this package
import sphinx_toolbox.__main__
| 16.75 | 31 | 0.791045 | 9 | 67 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 3 | 32 | 22.333333 | 0.810345 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9cb4598d5b2c951d1f11546a977a1b1905f3b892 | 9,996 | py | Python | satori.ars/satori/ars/thrift/writer.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 4 | 2021-01-05T01:35:36.000Z | 2021-12-13T00:05:14.000Z | satori.ars/satori/ars/thrift/writer.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 2 | 2020-06-06T01:12:07.000Z | 2020-06-06T01:16:01.000Z | satori.ars/satori/ars/thrift/writer.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 2 | 2021-01-05T01:33:30.000Z | 2021-03-06T13:48:21.000Z | # vim:ts=4:sts=4:sw=4:expandtab
"""IDL writer for the Thrift protocol.
"""
from satori.ars.model import *
class ThriftWriter(object):
"""An ARS writer spitting out thrift IDL.
"""
ATOMIC_NAMES = {
ArsBinary: 'binary',
ArsBoolean: 'bool',
ArsInt8: 'byte',
ArsInt16: 'i... | 36.481752 | 94 | 0.508203 | 967 | 9,996 | 5.152017 | 0.125129 | 0.187676 | 0.11943 | 0.092734 | 0.833802 | 0.829787 | 0.796267 | 0.792654 | 0.792654 | 0.774589 | 0 | 0.017046 | 0.354442 | 9,996 | 273 | 95 | 36.615385 | 0.754998 | 0.459584 | 0 | 0.457364 | 0 | 0 | 0.063797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.007752 | 0 | 0.046512 | 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 |
142c7005ae0738dfec0f7becf1e4fac2e085a686 | 45 | py | Python | python/stromx/test/__init__.py | roteroktober/stromx | e081a35114f68a77e99a4761946b8b8c64eb591a | [
"Apache-2.0"
] | null | null | null | python/stromx/test/__init__.py | roteroktober/stromx | e081a35114f68a77e99a4761946b8b8c64eb591a | [
"Apache-2.0"
] | null | null | null | python/stromx/test/__init__.py | roteroktober/stromx | e081a35114f68a77e99a4761946b8b8c64eb591a | [
"Apache-2.0"
] | null | null | null | import stromx.runtime
from libtest import *
| 11.25 | 21 | 0.8 | 6 | 45 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 22 | 15 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14425478ce240adb8af1278d60e42571d6b62664 | 58,233 | py | Python | test/diamond/test_conversion.py | TaliVeith/dark-matter | 1548a6e6fbfceb7c8b13556bbf4f7ce7d1ac18a0 | [
"MIT"
] | 10 | 2016-03-09T09:43:14.000Z | 2021-04-03T21:46:12.000Z | test/diamond/test_conversion.py | terrycojones/dark-matter | 67d16f870db6b4239e17e542bc6e3f072dc29c75 | [
"MIT"
] | 332 | 2015-01-07T12:37:30.000Z | 2022-01-20T15:48:11.000Z | test/diamond/test_conversion.py | terrycojones/dark-matter | 67d16f870db6b4239e17e542bc6e3f072dc29c75 | [
"MIT"
] | 4 | 2016-03-08T14:56:39.000Z | 2021-01-27T08:11:27.000Z | from six.moves import builtins
from unittest import TestCase
from io import BytesIO
import bz2file
from bz2 import compress
from six import assertRaisesRegex, StringIO
try:
from unittest.mock import patch, mock_open
except ImportError:
from mock import patch
from json import dumps
from dark.diamond.conversio... | 36.879671 | 79 | 0.419316 | 4,190 | 58,233 | 5.745107 | 0.111933 | 0.010469 | 0.019109 | 0.011839 | 0.805251 | 0.783026 | 0.768154 | 0.761673 | 0.759347 | 0.755941 | 0 | 0.084574 | 0.48081 | 58,233 | 1,578 | 80 | 36.903042 | 0.711616 | 0.061391 | 0 | 0.696645 | 0 | 0.007852 | 0.29205 | 0.103159 | 0 | 0 | 0 | 0 | 0.019986 | 1 | 0.014989 | false | 0 | 0.008565 | 0 | 0.02641 | 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 |
145c2be6b920c88f5f4e5c97df3d601830862ca6 | 235 | py | Python | test/test_pgmagick_color.py | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 136 | 2015-07-15T12:49:36.000Z | 2022-03-24T12:30:25.000Z | test/test_pgmagick_color.py | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 59 | 2015-12-28T21:40:37.000Z | 2022-03-31T13:11:50.000Z | test/test_pgmagick_color.py | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 33 | 2015-12-04T08:00:07.000Z | 2022-01-28T23:39:25.000Z | import sys
sys.path.append('../')
sys.path.append('./')
from pgmagick import Color
from pgmagick import ColorHSL
from pgmagick import ColorGray
from pgmagick import ColorMono
from pgmagick import ColorRGB
from pgmagick import ColorYUV
| 23.5 | 30 | 0.808511 | 32 | 235 | 5.9375 | 0.375 | 0.378947 | 0.568421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119149 | 235 | 9 | 31 | 26.111111 | 0.917874 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 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 |
1465451fddf8a6f1c29cf9e15f859ceb7c8c80f8 | 39 | py | Python | data/sampler.py | josmople/pytorch_utils | 4952f7600109a707d6b8ec8e626098c6d208299a | [
"MIT"
] | 1 | 2021-04-29T11:50:10.000Z | 2021-04-29T11:50:10.000Z | data/sampler.py | SolitaryKnife/pytorch_utils | 114964073387b5e88412ccbd4d4cadca538d5156 | [
"MIT"
] | null | null | null | data/sampler.py | SolitaryKnife/pytorch_utils | 114964073387b5e88412ccbd4d4cadca538d5156 | [
"MIT"
] | null | null | null | from torch.utils.data.sampler import *
| 19.5 | 38 | 0.794872 | 6 | 39 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 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 |
1adc72b435ee5d5bf56460114dc30f8748bec849 | 62 | py | Python | baselines/full_supervision/plmodules/__init__.py | RobinCamarasa/Boundary-Point-Extraction | ab92c16c2e84fb41f3403ed30ebd6f0737c303ae | [
"MIT"
] | null | null | null | baselines/full_supervision/plmodules/__init__.py | RobinCamarasa/Boundary-Point-Extraction | ab92c16c2e84fb41f3403ed30ebd6f0737c303ae | [
"MIT"
] | null | null | null | baselines/full_supervision/plmodules/__init__.py | RobinCamarasa/Boundary-Point-Extraction | ab92c16c2e84fb41f3403ed30ebd6f0737c303ae | [
"MIT"
] | null | null | null | from .diameter_modules import CarotidArteryFullSupervisionNet
| 31 | 61 | 0.919355 | 5 | 62 | 11.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 1 | 62 | 62 | 0.965517 | 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 |
1ae0616a0b9570088aa8c481f33d962bea37de6e | 159 | py | Python | jupyterhack/__init__.py | threemeninaboat3247/jupyterhack | 395dacba8630857153543e1d6ede40efac56ef42 | [
"MIT"
] | null | null | null | jupyterhack/__init__.py | threemeninaboat3247/jupyterhack | 395dacba8630857153543e1d6ede40efac56ef42 | [
"MIT"
] | null | null | null | jupyterhack/__init__.py | threemeninaboat3247/jupyterhack | 395dacba8630857153543e1d6ede40efac56ef42 | [
"MIT"
] | null | null | null | from jupyterhack.MyGraph import MyGraphWindow as GraphWindow
from jupyterhack.MyView import getRoot
from jupyterhack.MyFunctions import differentiate,MyFitting | 53 | 60 | 0.893082 | 18 | 159 | 7.888889 | 0.666667 | 0.316901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081761 | 159 | 3 | 61 | 53 | 0.972603 | 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 |
1aee0fb556efb144ce8825503e3e3af7403d5f74 | 7,696 | py | Python | KnowledgeMapping/SpiderExp/1-Code/qichacha_down/readQccExcel.py | nickliqian/ralph_doc_to_chinese | be120ce2bb94a8e8395630218985f5e51ae087d9 | [
"MIT"
] | 8 | 2018-05-22T01:11:33.000Z | 2020-03-19T01:44:55.000Z | KnowledgeMapping/SpiderExp/1-Code/qichacha_down/readQccExcel.py | yangliangguang/keep_learning | 47ab39c726cb28713ad22bf4cf39d6b146715910 | [
"MIT"
] | null | null | null | KnowledgeMapping/SpiderExp/1-Code/qichacha_down/readQccExcel.py | yangliangguang/keep_learning | 47ab39c726cb28713ad22bf4cf39d6b146715910 | [
"MIT"
] | 3 | 2018-07-25T09:31:53.000Z | 2019-09-14T14:05:31.000Z | import xlrd
import os
import pymysql
def check_file_format():
file_list = os.listdir(base_path)
file_list.sort()
exp_header_1 = ['企业名称', '省份', '城市', '统一社会信用代码', '法定代表人', '企业类型', '成立日期', '注册资本', '地址', '邮箱', '经营范围', '网址', '电话号码', '电话号码(更多号码)']
exp_header_2 = ['企业名称', '法人', '成立日期', '注册资本', '地址', '邮箱', '经... | 51.651007 | 276 | 0.536902 | 941 | 7,696 | 4.141339 | 0.146653 | 0.096998 | 0.035925 | 0.04311 | 0.836798 | 0.831665 | 0.82525 | 0.82525 | 0.754683 | 0.735694 | 0 | 0.0157 | 0.296518 | 7,696 | 148 | 277 | 52 | 0.7041 | 0.036383 | 0 | 0.6 | 0 | 0.058333 | 0.290183 | 0.030332 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016667 | false | 0.016667 | 0.025 | 0 | 0.041667 | 0.125 | 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 |
2112cced3c83e351d019c48b2c79f67bc64b3eb7 | 164 | py | Python | learning.py | Derfei/huobi_tradingbot | 17d51e9b7358c1c26803caa81379f3aefd3f6a50 | [
"Apache-2.0"
] | null | null | null | learning.py | Derfei/huobi_tradingbot | 17d51e9b7358c1c26803caa81379f3aefd3f6a50 | [
"Apache-2.0"
] | null | null | null | learning.py | Derfei/huobi_tradingbot | 17d51e9b7358c1c26803caa81379f3aefd3f6a50 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
class Learning_Agent:
def __init__(self):
pass
def __load_data(self):
pass
def train(self):
pass | 13.666667 | 26 | 0.52439 | 19 | 164 | 4.105263 | 0.684211 | 0.307692 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.359756 | 164 | 12 | 27 | 13.666667 | 0.733333 | 0.128049 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
216948d4d282a0b83f9332ad8934f404482bad50 | 214 | py | Python | pystratis/api/coldstaking/responsemodels/addressmodel.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 8 | 2021-06-30T20:44:22.000Z | 2021-12-07T14:42:22.000Z | pystratis/api/coldstaking/responsemodels/addressmodel.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 2 | 2021-07-01T11:50:18.000Z | 2022-01-25T18:39:49.000Z | pystratis/api/coldstaking/responsemodels/addressmodel.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 4 | 2021-07-01T04:36:42.000Z | 2021-09-17T10:54:19.000Z | from pystratis.api import Model
from pystratis.core.types import Address
class AddressModel(Model):
"""A pydantic model for a cold staking address."""
address: Address
"""The cold staking address."""
| 23.777778 | 54 | 0.724299 | 28 | 214 | 5.535714 | 0.571429 | 0.167742 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17757 | 214 | 8 | 55 | 26.75 | 0.880682 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dcc4b26ad5a1e6cdfee54ab5dc27200cc65a867f | 22 | py | Python | main.py | MoYuStudio/Robot01 | 099c69dd6c80a83c1525bc57abbb1f7db04b7089 | [
"Apache-2.0"
] | null | null | null | main.py | MoYuStudio/Robot01 | 099c69dd6c80a83c1525bc57abbb1f7db04b7089 | [
"Apache-2.0"
] | null | null | null | main.py | MoYuStudio/Robot01 | 099c69dd6c80a83c1525bc57abbb1f7db04b7089 | [
"Apache-2.0"
] | null | null | null |
import pynput, time
| 5.5 | 19 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 3 | 20 | 7.333333 | 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 |
0d02f344811fd2a6d8cf1c6600e019cfc42d97c3 | 11,705 | py | Python | NGDAUpdater/BrowseGraphicInserter.py | mattCensus/PerlScripts | d2643d99abc3f0647ebfbd41f7e5faa704da3e91 | [
"MIT"
] | null | null | null | NGDAUpdater/BrowseGraphicInserter.py | mattCensus/PerlScripts | d2643d99abc3f0647ebfbd41f7e5faa704da3e91 | [
"MIT"
] | null | null | null | NGDAUpdater/BrowseGraphicInserter.py | mattCensus/PerlScripts | d2643d99abc3f0647ebfbd41f7e5faa704da3e91 | [
"MIT"
] | null | null | null |
import os
import fnmatch
import shutil
import re
import datetime
import time
#import StringIO
import pickle
import sys
def BrowseGraphicInserter (Theme,OutFile):
NewFile = OutFile
CurrentWMS='https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Current/MapServer/WmsServer?REQUES... | 95.942623 | 665 | 0.729346 | 1,329 | 11,705 | 6.419865 | 0.173815 | 0.118143 | 0.082044 | 0.098453 | 0.821378 | 0.808017 | 0.789381 | 0.789381 | 0.789381 | 0.738631 | 0 | 0.124888 | 0.139428 | 11,705 | 122 | 666 | 95.942623 | 0.722128 | 0.01666 | 0 | 0.375 | 0 | 0.067308 | 0.596135 | 0.272112 | 0 | 0 | 0.000703 | 0 | 0 | 1 | 0.009615 | false | 0 | 0.076923 | 0 | 0.086538 | 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 |
0d406276a5762d8d397797ee6512af1cca719e34 | 30 | py | Python | pyOSA/Old-2021-04-09/__init__.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 3 | 2018-05-02T20:14:15.000Z | 2020-10-18T03:57:09.000Z | pyOSA/.ipynb_checkpoints/__init__-checkpoint.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 1 | 2019-05-23T15:21:08.000Z | 2019-05-23T15:21:08.000Z | pyOSA/.ipynb_checkpoints/__init__-checkpoint.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 2 | 2019-05-16T20:36:25.000Z | 2020-09-22T18:26:49.000Z | from .yokogawa import Yokogawa | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4bc99ea83c9b578e4c6cdb222591a18012b5825 | 40 | py | Python | tests/interactions/conftest.py | CSI-BennettUniversity/Sample-Project-1 | 23197352372b7ad00a026683477b5a95a4178e35 | [
"MIT"
] | 5 | 2020-07-30T16:47:30.000Z | 2021-02-15T16:44:59.000Z | tests/interactions/conftest.py | CSI-BennettUniversity/Sample-Project-1 | 23197352372b7ad00a026683477b5a95a4178e35 | [
"MIT"
] | 4 | 2021-06-04T23:42:41.000Z | 2021-09-11T03:17:12.000Z | tests/interactions/conftest.py | CSI-BennettUniversity/Sample-Project-1 | 23197352372b7ad00a026683477b5a95a4178e35 | [
"MIT"
] | 7 | 2020-07-05T14:29:17.000Z | 2021-06-05T14:34:20.000Z | import csv
import random
import pytest
| 8 | 13 | 0.825 | 6 | 40 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 4 | 14 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
371e0a181c5ce1e7346dcfa35a8bf08e2f55df00 | 20 | py | Python | openbu/__init__.py | bam241/ONIX | 021c9da664eb4b85ede1c0993555341b87011c29 | [
"MIT"
] | null | null | null | openbu/__init__.py | bam241/ONIX | 021c9da664eb4b85ede1c0993555341b87011c29 | [
"MIT"
] | null | null | null | openbu/__init__.py | bam241/ONIX | 021c9da664eb4b85ede1c0993555341b87011c29 | [
"MIT"
] | null | null | null | from . import couple | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2eb11e5be56f0c8dd0bed3433ba7747ed2dfe190 | 252 | py | Python | resources/models.py | meynmd/mmdetection | 0064c4a1dd656cc96cdac05050dbb4db0fce54b5 | [
"Apache-2.0"
] | null | null | null | resources/models.py | meynmd/mmdetection | 0064c4a1dd656cc96cdac05050dbb4db0fce54b5 | [
"Apache-2.0"
] | null | null | null | resources/models.py | meynmd/mmdetection | 0064c4a1dd656cc96cdac05050dbb4db0fce54b5 | [
"Apache-2.0"
] | null | null | null | MODELS = {
'cascade_rcnn': {
'config': 'configs/cascade_rcnn/cascade_rcnn_x101_64x4d_fpn_20e_coco.py',
'checkpoint': 'pretrained/cascade_rcnn_x101_64x4d_fpn/cascade_rcnn_x101_64x4d_fpn_20e_coco_20200509_224357-051557b1.pth'
}
}
| 36 | 128 | 0.757937 | 33 | 252 | 5.181818 | 0.515152 | 0.321637 | 0.263158 | 0.350877 | 0.48538 | 0.350877 | 0.350877 | 0 | 0 | 0 | 0 | 0.198157 | 0.138889 | 252 | 6 | 129 | 42 | 0.589862 | 0 | 0 | 0 | 0 | 0 | 0.761905 | 0.650794 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2ec1934efa9445e043b13e9d7fe8270050d7edf2 | 19 | py | Python | afbmq/__init__.py | JMarkin/afbmq | 8491abfdd17e2ab745b5150eafdaf68a0f3cd1d0 | [
"MIT"
] | null | null | null | afbmq/__init__.py | JMarkin/afbmq | 8491abfdd17e2ab745b5150eafdaf68a0f3cd1d0 | [
"MIT"
] | null | null | null | afbmq/__init__.py | JMarkin/afbmq | 8491abfdd17e2ab745b5150eafdaf68a0f3cd1d0 | [
"MIT"
] | null | null | null | from .fb import FB
| 9.5 | 18 | 0.736842 | 4 | 19 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ec7ab672d93f39da4e52af99693f8a34f76f285 | 68 | py | Python | src/tests/__init__.py | rschwa6308/Physics-2.0 | 40775d41304262807d86b5984db55dff45b3edfc | [
"MIT"
] | 7 | 2017-03-31T15:48:00.000Z | 2019-06-29T17:46:56.000Z | src/tests/__init__.py | rschwa6308/Physics-2.0 | 40775d41304262807d86b5984db55dff45b3edfc | [
"MIT"
] | 12 | 2017-04-03T23:35:57.000Z | 2019-01-23T00:38:03.000Z | src/tests/__init__.py | rschwa6308/Physics-2.0 | 40775d41304262807d86b5984db55dff45b3edfc | [
"MIT"
] | 3 | 2017-03-31T20:57:25.000Z | 2019-10-24T16:12:27.000Z | from .tests import *
def run_all_tests():
test_body_movement()
| 13.6 | 24 | 0.720588 | 10 | 68 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 4 | 25 | 17 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ecb56aebe10c1f15432d36862462b35bde26a5b | 111 | py | Python | service/Resources/__init__.py | brandonkdutton/cs361-service | 87ddd06a6de8dfabe1ffb59c01fa43afc91f8e23 | [
"Apache-2.0"
] | null | null | null | service/Resources/__init__.py | brandonkdutton/cs361-service | 87ddd06a6de8dfabe1ffb59c01fa43afc91f8e23 | [
"Apache-2.0"
] | null | null | null | service/Resources/__init__.py | brandonkdutton/cs361-service | 87ddd06a6de8dfabe1ffb59c01fa43afc91f8e23 | [
"Apache-2.0"
] | null | null | null | from .image_transformer import ImageTransformer
from .image import Image
from .image_upload import ImageUpload
| 27.75 | 47 | 0.864865 | 14 | 111 | 6.714286 | 0.5 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 3 | 48 | 37 | 0.949495 | 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 |
2eefa4a18222c24a5a82cd68ea5552a29329d87e | 17,010 | py | Python | src/ralph_pricing/migrations/0001_initial.py | zefciu/ralph_pricing | f3c9e23b36331ec0ab464afd08fcab5f96921c1e | [
"Apache-2.0"
] | null | null | null | src/ralph_pricing/migrations/0001_initial.py | zefciu/ralph_pricing | f3c9e23b36331ec0ab464afd08fcab5f96921c1e | [
"Apache-2.0"
] | null | null | null | src/ralph_pricing/migrations/0001_initial.py | zefciu/ralph_pricing | f3c9e23b36331ec0ab464afd08fcab5f96921c1e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Device'
db.create_table('ralph_pricing_device', (
('id', self.gf('django.db.mode... | 64.923664 | 228 | 0.614403 | 1,905 | 17,010 | 5.315486 | 0.055118 | 0.081375 | 0.141023 | 0.201462 | 0.864408 | 0.803674 | 0.776318 | 0.730298 | 0.668082 | 0.619297 | 0 | 0.005175 | 0.182011 | 17,010 | 262 | 229 | 64.923664 | 0.722582 | 0.09224 | 0 | 0.350785 | 0 | 0.005236 | 0.514798 | 0.333268 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010471 | false | 0 | 0.020942 | 0 | 0.04712 | 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 |
2efc7c977f0f6256952f051974811b1d58553d10 | 83 | py | Python | paddleseg3d/datasets/preprocess_utils/__init__.py | parap1uie-s/PaddleSeg3D | 419e8158f057c98e3c78b2a5f80254259ec8478a | [
"Apache-2.0"
] | null | null | null | paddleseg3d/datasets/preprocess_utils/__init__.py | parap1uie-s/PaddleSeg3D | 419e8158f057c98e3c78b2a5f80254259ec8478a | [
"Apache-2.0"
] | null | null | null | paddleseg3d/datasets/preprocess_utils/__init__.py | parap1uie-s/PaddleSeg3D | 419e8158f057c98e3c78b2a5f80254259ec8478a | [
"Apache-2.0"
] | null | null | null | from .values import *
from .geometry import *
from .uncompress import uncompressor
| 20.75 | 36 | 0.795181 | 10 | 83 | 6.6 | 0.6 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 37 | 27.666667 | 0.929577 | 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 |
2c2677ca64f33e37bed56f94854ee1e79cc5fe79 | 431 | py | Python | dsmr_parser/clients/settings.py | vavdb/dsmr_parser | de5c884d8d4c8cc789155fd37d03caf31d997452 | [
"MIT"
] | null | null | null | dsmr_parser/clients/settings.py | vavdb/dsmr_parser | de5c884d8d4c8cc789155fd37d03caf31d997452 | [
"MIT"
] | null | null | null | dsmr_parser/clients/settings.py | vavdb/dsmr_parser | de5c884d8d4c8cc789155fd37d03caf31d997452 | [
"MIT"
] | null | null | null | import serial
SERIAL_SETTINGS_V2_2 = {
'baudrate': 9600,
'bytesize': serial.SEVENBITS,
'parity': serial.PARITY_EVEN,
'stopbits': serial.STOPBITS_ONE,
'xonxoff': 0,
'rtscts': 0,
'timeout': 20
}
SERIAL_SETTINGS_V4 = {
'baudrate': 115200,
'bytesize': serial.SEVENBITS,
'parity': s... | 18.73913 | 36 | 0.62181 | 47 | 431 | 5.510638 | 0.425532 | 0.108108 | 0.177606 | 0.223938 | 0.725869 | 0.725869 | 0.725869 | 0.725869 | 0.725869 | 0.725869 | 0 | 0.062874 | 0.225058 | 431 | 22 | 37 | 19.590909 | 0.712575 | 0 | 0 | 0.631579 | 0 | 0 | 0.232019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
258fd284b24465674f81bdaac846d31cb29e311d | 34 | py | Python | __init__.py | DivyanshuSingh96/myCalc9 | e26f1723a1e1d4fb45ec111279f9b1055ae2449f | [
"MIT"
] | 2 | 2021-03-03T11:46:40.000Z | 2021-07-07T12:24:50.000Z | __init__.py | DivyanshuSingh96/myCalc9 | e26f1723a1e1d4fb45ec111279f9b1055ae2449f | [
"MIT"
] | null | null | null | __init__.py | DivyanshuSingh96/myCalc9 | e26f1723a1e1d4fb45ec111279f9b1055ae2449f | [
"MIT"
] | null | null | null | from myCalc9.arithmetics import *
| 17 | 33 | 0.823529 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
25eb000a789e18fcdcb030744e52444ccb3f38ec | 5,010 | py | Python | services/wsgi.py | santiagofacchini/home-automation | c0008c292b0db73ea66c6759c1eb2858fa803891 | [
"MIT"
] | null | null | null | services/wsgi.py | santiagofacchini/home-automation | c0008c292b0db73ea66c6759c1eb2858fa803891 | [
"MIT"
] | null | null | null | services/wsgi.py | santiagofacchini/home-automation | c0008c292b0db73ea66c6759c1eb2858fa803891 | [
"MIT"
] | null | null | null | import os
from flask import Flask
from flask import render_template
from HueClient import Light
from SonoffClient import Switch
from dotenv import load_dotenv
# Load environment variables from .env file (must be in ~)
load_dotenv(f'{os.environ["HOME"]}/.env')
# Hue client
hue_user = os.environ['HUE_USER']
hue_ip = o... | 42.820513 | 179 | 0.765868 | 716 | 5,010 | 4.955307 | 0.082402 | 0.067644 | 0.124014 | 0.126268 | 0.82159 | 0.81257 | 0.81257 | 0.797914 | 0.797914 | 0.797914 | 0 | 0.006668 | 0.131936 | 5,010 | 117 | 180 | 42.820513 | 0.809152 | 0.015569 | 0 | 0.623762 | 0 | 0 | 0.048691 | 0.009333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069307 | false | 0 | 0.059406 | 0 | 0.19802 | 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 |
d30ca7d1a9433459ec2672c985efbaa1d4de9991 | 58 | py | Python | python/testData/quickFixes/PyRemoveParameterQuickFixTest/kwParam_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyRemoveParameterQuickFixTest/kwParam_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyRemoveParameterQuickFixTest/kwParam_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z |
def foo(r):
def a():
pass
x = 1
x = 2 | 9.666667 | 12 | 0.327586 | 10 | 58 | 1.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.534483 | 58 | 6 | 13 | 9.666667 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
d323c6aaa77d2038a7ff94c81fd580cccec65641 | 71 | py | Python | hackaton/ML.py | vladimirbahmetyev/SocialHack | 8b530384dd2d440be1f6d480f39aec31d8c9dab7 | [
"Apache-2.0"
] | null | null | null | hackaton/ML.py | vladimirbahmetyev/SocialHack | 8b530384dd2d440be1f6d480f39aec31d8c9dab7 | [
"Apache-2.0"
] | null | null | null | hackaton/ML.py | vladimirbahmetyev/SocialHack | 8b530384dd2d440be1f6d480f39aec31d8c9dab7 | [
"Apache-2.0"
] | 1 | 2019-05-11T23:53:04.000Z | 2019-05-11T23:53:04.000Z | import random
def CalcTone(input: str):
return random.randint(1,3) | 17.75 | 30 | 0.732394 | 11 | 71 | 4.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.15493 | 71 | 4 | 30 | 17.75 | 0.833333 | 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 |
6cb34980b856a1fa798f088cdd922fb0374e1f3c | 890 | py | Python | Part_3_advanced/m15_design_patterns/abstract_factory/homework_1_solution/document_system/text_input.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m15_design_patterns/abstract_factory/homework_1_solution/document_system/text_input.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m15_design_patterns/abstract_factory/homework_1_solution/document_system/text_input.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | from typing import Protocol
class Input(Protocol):
def render(self) -> None:
...
def on_key_pressed(self, key: str) -> None:
...
class LinuxInput:
INPUT_SIZE = 10
def __init__(self) -> None:
self.text = ""
def render(self) -> None:
spacing = self.INPUT_SIZE - 2... | 21.190476 | 54 | 0.546067 | 109 | 890 | 4.256881 | 0.238532 | 0.155172 | 0.168103 | 0.155172 | 0.756466 | 0.756466 | 0.756466 | 0.756466 | 0.693966 | 0.693966 | 0 | 0.009631 | 0.3 | 890 | 41 | 55 | 21.707317 | 0.735152 | 0 | 0 | 0.714286 | 0 | 0 | 0.042697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.035714 | 0 | 0.5 | 0.214286 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f0162b8862dc57d55701a4d56293eedc2c95a92 | 151 | py | Python | solutions_by_text/utils.py | sijanonly/sbt-python-client | b467d78414e7e01181025cd25456756f46ace237 | [
"MIT"
] | 1 | 2018-10-12T20:20:22.000Z | 2018-10-12T20:20:22.000Z | solutions_by_text/utils.py | sijanonly/sbt-python-client | b467d78414e7e01181025cd25456756f46ace237 | [
"MIT"
] | null | null | null | solutions_by_text/utils.py | sijanonly/sbt-python-client | b467d78414e7e01181025cd25456756f46ace237 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: sijanonly
# @Date: 2018-03-15 14:14:21
# @Last Modified time: 2018-03-15 17:14:19
def build_payload():
pass
| 16.777778 | 42 | 0.615894 | 25 | 151 | 3.68 | 0.8 | 0.130435 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237705 | 0.192053 | 151 | 8 | 43 | 18.875 | 0.516393 | 0.728477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9f5cf3ad9b3e92d21fef53c5a9c52e6ddf81eed2 | 39 | py | Python | Python3xPractice/Test.py | csitedexperts/DataScienceA2Z | 9178c73be8adb6d6b5c142b0f2aa99471e5ca79b | [
"Apache-2.0"
] | 3 | 2019-04-13T04:00:42.000Z | 2020-10-02T01:14:42.000Z | Python3xPractice/Test.py | csitedexperts/DSML_MadeEasy | 9af03a00fb026930c19737790f603a0b0ae40b7e | [
"Apache-2.0"
] | null | null | null | Python3xPractice/Test.py | csitedexperts/DSML_MadeEasy | 9af03a00fb026930c19737790f603a0b0ae40b7e | [
"Apache-2.0"
] | 2 | 2019-03-30T18:55:32.000Z | 2020-05-10T16:30:34.000Z | print ("Welcome to Data Science A2Z")
| 13 | 37 | 0.717949 | 6 | 39 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.179487 | 39 | 2 | 38 | 19.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.710526 | 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 |
9f82f70ef74d8aaee077944c7facdb3246b28906 | 401 | py | Python | python_exercises/Curso_em_video/ex108.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | python_exercises/Curso_em_video/ex108.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | python_exercises/Curso_em_video/ex108.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | import moeda
preco = float(input(' - Digite um preco \033[1;32mR$\033[m: '))
print(f' - A metade de {moeda.moeda(preco)} e {moeda.moeda(moeda.metade(preco))}')
print(f' - O dobro de {moeda.moeda(preco)} e {moeda.moeda(moeda.dobro(preco))}')
print(f' - Aumentando 10%, temos {moeda.moeda(moeda.aumentar(preco, 10))}... | 50.125 | 83 | 0.670823 | 63 | 401 | 4.269841 | 0.412698 | 0.371747 | 0.223048 | 0.126394 | 0.245353 | 0.245353 | 0.245353 | 0.245353 | 0 | 0 | 0 | 0.048295 | 0.122195 | 401 | 7 | 84 | 57.285714 | 0.715909 | 0 | 0 | 0 | 0 | 0.333333 | 0.78934 | 0.34264 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.