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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
654e9640e586b471b5fa96b3f75ca5fd0981375d | 130 | py | Python | src/__init__.py | nulinspiratie/notebook-website-generator | 63b3cea29185c5a59ba6b3487bd75e03f9797399 | [
"MIT"
] | null | null | null | src/__init__.py | nulinspiratie/notebook-website-generator | 63b3cea29185c5a59ba6b3487bd75e03f9797399 | [
"MIT"
] | null | null | null | src/__init__.py | nulinspiratie/notebook-website-generator | 63b3cea29185c5a59ba6b3487bd75e03f9797399 | [
"MIT"
] | null | null | null | from .tools import *
from .converter_preprocessors import *
from .compilers import *
from .notebooks import *
from .tools import * | 26 | 38 | 0.776923 | 16 | 130 | 6.25 | 0.4375 | 0.4 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 5 | 39 | 26 | 0.900901 | 0 | 0 | 0.4 | 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 |
65a69067b9cef38622fa22a0316813deb2729745 | 156 | py | Python | src/gptsum/__main__.py | NicolasT/gptsum | 5a316e9d0261bf4f6309d0571a51ba2971a7e1cf | [
"Apache-2.0"
] | null | null | null | src/gptsum/__main__.py | NicolasT/gptsum | 5a316e9d0261bf4f6309d0571a51ba2971a7e1cf | [
"Apache-2.0"
] | 37 | 2021-04-19T10:05:56.000Z | 2022-02-18T08:12:33.000Z | src/gptsum/__main__.py | NicolasT/gptsum | 5a316e9d0261bf4f6309d0571a51ba2971a7e1cf | [
"Apache-2.0"
] | null | null | null | """Main entrypoint for the gptsum package.
Simply invokes :func:`gptsum.cli.main`.
"""
import gptsum.cli
if __name__ == "__main__":
gptsum.cli.main()
| 17.333333 | 42 | 0.698718 | 21 | 156 | 4.809524 | 0.619048 | 0.267327 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147436 | 156 | 8 | 43 | 19.5 | 0.759399 | 0.512821 | 0 | 0 | 0 | 0 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
65ae3b7e07865a1706047d4686d443e82243b7b4 | 45 | py | Python | octadocs/octiron/__init__.py | octadocs/octadocs | 62f4340681f4e38ed961b58c5147a657363cae4d | [
"MIT"
] | 1 | 2021-11-19T22:48:27.000Z | 2021-11-19T22:48:27.000Z | octadocs/octiron/__init__.py | octadocs/octadocs | 62f4340681f4e38ed961b58c5147a657363cae4d | [
"MIT"
] | 34 | 2020-12-27T11:49:08.000Z | 2021-10-05T04:58:54.000Z | octadocs/octiron/__init__.py | octadocs/octadocs | 62f4340681f4e38ed961b58c5147a657363cae4d | [
"MIT"
] | null | null | null | from octadocs.octiron.octiron import Octiron
| 22.5 | 44 | 0.866667 | 6 | 45 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 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 |
65d52302c3ef3631b10b70a2a39485f6cad70208 | 2,455 | py | Python | polymath/srdfg/templates/data_analytics.py | lite-david/polymath | cf1addc75e203fa606ebc6d32bc552fb3975ea99 | [
"Apache-2.0"
] | 15 | 2021-05-09T05:46:04.000Z | 2022-03-06T20:46:32.000Z | polymath/srdfg/templates/data_analytics.py | lite-david/polymath | cf1addc75e203fa606ebc6d32bc552fb3975ea99 | [
"Apache-2.0"
] | null | null | null | polymath/srdfg/templates/data_analytics.py | lite-david/polymath | cf1addc75e203fa606ebc6d32bc552fb3975ea99 | [
"Apache-2.0"
] | 4 | 2021-08-24T07:46:29.000Z | 2022-03-05T18:23:07.000Z | import polymath as pm
from polymath.srdfg.util import squeeze_shape
from numbers import Integral
import numpy as np
import functools
class svm_classifier_train(pm.Template):
def define_graph(self, x, w, y, mu, m):
i = pm.index(0, (m - 1).set_name("m-1"), name="i")
h = pm.sum([i], (x[i] * w[i]), na... | 29.22619 | 70 | 0.50387 | 438 | 2,455 | 2.716895 | 0.166667 | 0.1 | 0.027731 | 0.127731 | 0.735294 | 0.735294 | 0.711765 | 0.711765 | 0.70084 | 0.70084 | 0 | 0.020282 | 0.276986 | 2,455 | 83 | 71 | 29.578313 | 0.650141 | 0.020774 | 0 | 0.5 | 0 | 0 | 0.024573 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 1 | 0.142857 | false | 0.017857 | 0.089286 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
028c7bc865a6c95bb8ce5ed7c6da64d2c8d23077 | 19,238 | py | Python | reddash/app/home/routes.py | PredaaA/Red-Dashboard | 5fcc2ba24a75b22c06f09208095c3a4e5ed27b88 | [
"MIT"
] | null | null | null | reddash/app/home/routes.py | PredaaA/Red-Dashboard | 5fcc2ba24a75b22c06f09208095c3a4e5ed27b88 | [
"MIT"
] | null | null | null | reddash/app/home/routes.py | PredaaA/Red-Dashboard | 5fcc2ba24a75b22c06f09208095c3a4e5ed27b88 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
License: MIT
Copyright (c) 2019 - present AppSeed.us
"""
from reddash.app import app
from reddash.app.home import blueprint
from flask import render_template, redirect, url_for, session, request, jsonify, Response, g
from flask_babel import _, refresh
from jinja2 import TemplateNo... | 31.434641 | 120 | 0.526146 | 1,970 | 19,238 | 5.072589 | 0.094416 | 0.070449 | 0.083659 | 0.078055 | 0.804563 | 0.792355 | 0.781947 | 0.777344 | 0.765636 | 0.744921 | 0 | 0.009019 | 0.31994 | 19,238 | 611 | 121 | 31.486088 | 0.754796 | 0.023027 | 0 | 0.651575 | 0 | 0 | 0.212195 | 0.040667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035433 | false | 0 | 0.021654 | 0.003937 | 0.173228 | 0.041339 | 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 |
02c54a0e5617abc0a344f5b93456ed8dc3e400e8 | 134 | py | Python | mord/__init__.py | david-macleod/mord | 8236d546d92f807cc5c5ec46ed7355311914060f | [
"BSD-3-Clause"
] | 237 | 2015-06-19T04:30:13.000Z | 2022-03-10T15:37:47.000Z | mord/__init__.py | Moyookc/mord | ef578a79bf8374d84b77f246454b06d81a620630 | [
"BSD-3-Clause"
] | 24 | 2015-12-09T17:22:22.000Z | 2021-04-02T16:45:52.000Z | mord/__init__.py | Moyookc/mord | ef578a79bf8374d84b77f246454b06d81a620630 | [
"BSD-3-Clause"
] | 67 | 2015-06-26T05:15:59.000Z | 2022-03-09T09:32:03.000Z | from .threshold_based import *
from .regression_based import *
from . import utils
from . import threshold_based
__version__ = '0.6'
| 19.142857 | 31 | 0.776119 | 18 | 134 | 5.388889 | 0.5 | 0.28866 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.149254 | 134 | 6 | 32 | 22.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b83eb35196a56d2a2259982d1e9f461da617b0cd | 3,812 | py | Python | python/example_code/s3/s3_versioning/test/test_remove_delete_marker.py | gabehollombe-aws/aws-doc-sdk-examples | dfc0e06ebe1762ab127f3ef5f425507644c6a99c | [
"Apache-2.0"
] | 5,166 | 2016-09-02T08:48:38.000Z | 2022-03-31T19:12:43.000Z | python/example_code/s3/s3_versioning/test/test_remove_delete_marker.py | gabehollombe-aws/aws-doc-sdk-examples | dfc0e06ebe1762ab127f3ef5f425507644c6a99c | [
"Apache-2.0"
] | 1,186 | 2016-09-28T23:05:19.000Z | 2022-03-31T18:07:47.000Z | python/example_code/s3/s3_versioning/test/test_remove_delete_marker.py | gabehollombe-aws/aws-doc-sdk-examples | dfc0e06ebe1762ab127f3ef5f425507644c6a99c | [
"Apache-2.0"
] | 4,003 | 2016-08-29T19:51:40.000Z | 2022-03-31T16:40:02.000Z | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
"""
Unit tests for remove_delete_marker.py functions.
"""
import json
from urllib import parse
import pytest
import remove_delete_marker
def test_remove_delete_marker(make_stubber, make_unique_name, make_even... | 37.742574 | 87 | 0.728751 | 521 | 3,812 | 4.980806 | 0.1881 | 0.09711 | 0.09711 | 0.069364 | 0.823892 | 0.801541 | 0.801541 | 0.801541 | 0.783815 | 0.766859 | 0 | 0.009177 | 0.171039 | 3,812 | 100 | 88 | 38.12 | 0.812025 | 0.113064 | 0 | 0.641791 | 0 | 0 | 0.127116 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 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 |
b88a55fbbf69b69d325fa033465f90738c224424 | 4,421 | py | Python | main.py | kyomukyomupurin/AtCoder_base64 | 1c34649d060b2e58f270095ef178d3365b2b8f1d | [
"CC0-1.0"
] | 2 | 2020-10-03T14:50:53.000Z | 2021-01-16T11:11:13.000Z | main.py | kyomukyomupurin/AtCoder_base64 | 1c34649d060b2e58f270095ef178d3365b2b8f1d | [
"CC0-1.0"
] | null | null | null | main.py | kyomukyomupurin/AtCoder_base64 | 1c34649d060b2e58f270095ef178d3365b2b8f1d | [
"CC0-1.0"
] | null | null | null | # This code is generated by [Atcoder_base64](https://github.com/kyomukyomupurin/AtCoder_base64)
from base64 import b85decode
import subprocess
from pathlib import Path
from zlib import decompress
binary = "c%0=~Z){uD6~DIg$7xf?EiD9ERs&&bS7PF}DJfls?ZoXfIB96o(v?4#7u$)w`A=p)mxLi^skEwB(nV7@`hiJB>;pr5fN4VefV!Xz#-wcuQ>P)pq... | 176.84 | 3,784 | 0.748473 | 825 | 4,421 | 3.957576 | 0.752727 | 0.061562 | 0.043492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13529 | 0.013572 | 4,421 | 25 | 3,785 | 176.84 | 0.613391 | 0.026012 | 0 | 0 | 1 | 0.125 | 0.949415 | 0.949415 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b89c9339ea7447031b3f1c213a1fae7d10ebdba7 | 721 | py | Python | mihaelanistor/kernels/get_kernels.py | s-shailja/challenge-iclr-2021 | 28ad9d126597166bc41715f77c8cf366b8fba975 | [
"MIT"
] | 39 | 2021-03-12T07:30:14.000Z | 2022-03-24T06:37:02.000Z | mihaelanistor/kernels/get_kernels.py | s-shailja/challenge-iclr-2021 | 28ad9d126597166bc41715f77c8cf366b8fba975 | [
"MIT"
] | 34 | 2021-03-09T03:19:55.000Z | 2021-09-07T18:30:59.000Z | mihaelanistor/kernels/get_kernels.py | s-shailja/challenge-iclr-2021 | 28ad9d126597166bc41715f77c8cf366b8fba975 | [
"MIT"
] | 29 | 2021-03-13T21:21:14.000Z | 2022-02-02T05:52:44.000Z | from kernels.extended_projection_kernels import GrassmannianRBFKernel, GrassmannianProjectionKernel
from kernels.extended_projection_kernels import LinearProjectionKernel, AffineProjectionKernel
from kernels.extended_projection_kernels import LinearScaledProjectionKernel, AffineScaledProjectionKernel
from kernels.exten... | 72.1 | 112 | 0.869626 | 45 | 721 | 13.711111 | 0.377778 | 0.071313 | 0.123177 | 0.188006 | 0.272285 | 0.272285 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102635 | 721 | 10 | 113 | 72.1 | 0.953632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.444444 | 0.111111 | 0.666667 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b2123ab992fa0e69c2bb3cf5943ef0d0f0cd03ec | 164 | py | Python | channels_presence/channels.py | Uncensored-Developer/django-channels-presence | 92dfa4b308d5525a5a3f18c835fabd3cf1a288d1 | [
"MIT"
] | 1 | 2019-10-30T08:41:19.000Z | 2019-10-30T08:41:19.000Z | channels_presence/channels.py | Uncensored-Developer/django-channels-presence | 92dfa4b308d5525a5a3f18c835fabd3cf1a288d1 | [
"MIT"
] | null | null | null | channels_presence/channels.py | Uncensored-Developer/django-channels-presence | 92dfa4b308d5525a5a3f18c835fabd3cf1a288d1 | [
"MIT"
] | 2 | 2019-04-23T05:00:47.000Z | 2020-03-08T17:14:08.000Z | from __future__ import unicode_literals
from channels_presence.decorators import remove_presence
@remove_presence
def ws_disconnect(message, **kwargs):
pass
| 18.222222 | 56 | 0.829268 | 20 | 164 | 6.35 | 0.75 | 0.220472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 164 | 8 | 57 | 20.5 | 0.881944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b2450c5ce83712400647d8e058380736638b1c1c | 14,890 | py | Python | tests/blueprints/test_cherrypicked_plates.py | BenTopping/lighthouse | 649b442ca89f7deb7c01411faa883c1894b72986 | [
"MIT"
] | null | null | null | tests/blueprints/test_cherrypicked_plates.py | BenTopping/lighthouse | 649b442ca89f7deb7c01411faa883c1894b72986 | [
"MIT"
] | null | null | null | tests/blueprints/test_cherrypicked_plates.py | BenTopping/lighthouse | 649b442ca89f7deb7c01411faa883c1894b72986 | [
"MIT"
] | null | null | null | from http import HTTPStatus
from unittest.mock import patch
import responses
from lighthouse.constants.error_messages import (
ERROR_SAMPLE_DATA_MISMATCH,
ERROR_SAMPLE_DATA_MISSING,
ERROR_SAMPLES_MISSING_UUIDS,
ERROR_UNEXPECTED_CHERRYPICKING_FAILURE,
ERROR_UPDATE_MLWH_WITH_COG_UK_IDS,
)
from light... | 41.019284 | 119 | 0.687173 | 1,700 | 14,890 | 5.697059 | 0.088235 | 0.104078 | 0.058544 | 0.061951 | 0.832938 | 0.820444 | 0.799897 | 0.77935 | 0.753536 | 0.73237 | 0 | 0.013459 | 0.211619 | 14,890 | 362 | 120 | 41.132597 | 0.811568 | 0.007186 | 0 | 0.565972 | 0 | 0.006944 | 0.331867 | 0.246211 | 0 | 0 | 0 | 0 | 0.184028 | 1 | 0.072917 | false | 0 | 0.017361 | 0 | 0.090278 | 0.069444 | 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 |
b26827804a7f91593b72a7e371b0367eb7ed8e7b | 4,343 | py | Python | linguaf/lexical_diversity.py | Perevalov/language_features | bd85ae835162fbf53de4a087bd9cef7d38896ff5 | [
"MIT"
] | 3 | 2021-05-10T01:35:50.000Z | 2021-09-21T00:47:55.000Z | linguaf/lexical_diversity.py | Perevalov/language_features | bd85ae835162fbf53de4a087bd9cef7d38896ff5 | [
"MIT"
] | 6 | 2021-06-01T09:35:59.000Z | 2021-06-17T11:53:45.000Z | linguaf/lexical_diversity.py | Perevalov/language_features | bd85ae835162fbf53de4a087bd9cef7d38896ff5 | [
"MIT"
] | null | null | null | import collections
import math
from linguaf.descriptive_statistics import get_words, get_lexical_items
from linguaf import __check_bool_param, __check_documents_param, __check_lang_param
def lexical_density(documents: list, lang: str = 'en', remove_stopwords: bool = False) -> float:
"""Calculates lexical density ... | 43.43 | 102 | 0.743495 | 592 | 4,343 | 5.22973 | 0.16723 | 0.130814 | 0.031654 | 0.05814 | 0.801034 | 0.801034 | 0.775517 | 0.756137 | 0.756137 | 0.739664 | 0 | 0.00834 | 0.171771 | 4,343 | 99 | 103 | 43.868687 | 0.852377 | 0.421137 | 0 | 0.585366 | 0 | 0 | 0.004254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121951 | false | 0 | 0.097561 | 0 | 0.341463 | 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 |
b27b2f69348b2c45d8c9ea6b23a326199d2a0455 | 106 | py | Python | tests/test_core.py | BroBossa/Api_PogoP | 871b22c33f329abd1cf1cfa19b0b78d39b7e4c26 | [
"Apache-2.0"
] | null | null | null | tests/test_core.py | BroBossa/Api_PogoP | 871b22c33f329abd1cf1cfa19b0b78d39b7e4c26 | [
"Apache-2.0"
] | null | null | null | tests/test_core.py | BroBossa/Api_PogoP | 871b22c33f329abd1cf1cfa19b0b78d39b7e4c26 | [
"Apache-2.0"
] | null | null | null |
def test_version():
from hogwarts_apitest import __version__
assert isinstance(__version__, str)
| 21.2 | 44 | 0.773585 | 12 | 106 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 106 | 4 | 45 | 26.5 | 0.818182 | 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 |
a22d5c1d80822ea471ff274c3f610a75af83c190 | 522 | py | Python | 3rdparty/huawei-lte-api/huawei_lte_api/api/SNtp.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | null | null | null | 3rdparty/huawei-lte-api/huawei_lte_api/api/SNtp.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | 1 | 2020-06-21T20:35:27.000Z | 2020-07-14T20:08:55.000Z | 3rdparty/huawei-lte-api/huawei_lte_api/api/SNtp.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | 3 | 2020-02-27T11:35:55.000Z | 2021-03-25T08:51:51.000Z | from huawei_lte_api.ApiGroup import ApiGroup
from huawei_lte_api.Connection import GetResponseType
class SNtp(ApiGroup):
def get_settings(self) -> GetResponseType:
return self._connection.get('sntp/settings')
def sntpswitch(self) -> GetResponseType:
return self._connection.get('sntp/sntpswitc... | 30.705882 | 54 | 0.731801 | 58 | 522 | 6.431034 | 0.310345 | 0.203753 | 0.268097 | 0.310992 | 0.493298 | 0.493298 | 0.493298 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 522 | 16 | 55 | 32.625 | 0.857471 | 0 | 0 | 0 | 0 | 0 | 0.10728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.181818 | 0.363636 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a23ff4f970fe9900e1378b9ec62b11cbafe38e11 | 23 | py | Python | related_word/__init__.py | yu-su-ke/easily_language_processing | 820d0d8faccd2d87246a2e0951868f435c6dcdfb | [
"MIT"
] | null | null | null | related_word/__init__.py | yu-su-ke/easily_language_processing | 820d0d8faccd2d87246a2e0951868f435c6dcdfb | [
"MIT"
] | 4 | 2019-12-16T12:33:08.000Z | 2022-01-13T01:56:56.000Z | related_word/__init__.py | yu-su-ke/easily_language_processing | 820d0d8faccd2d87246a2e0951868f435c6dcdfb | [
"MIT"
] | null | null | null | from . import wordnet
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 1 | 23 | 23 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2867ef987c4697b728b19d668a96ec8d219e656 | 328 | py | Python | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_12_21BleachCleanser.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_12_21BleachCleanser.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_12_21BleachCleanser.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan.py"
OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/12_21BleachCleanser"
DATASETS = dict(TRAIN=("ycbv_021_bleach_cleanser_train_... | 82 | 147 | 0.89939 | 43 | 328 | 6.162791 | 0.697674 | 0.083019 | 0.196226 | 0.279245 | 0.513208 | 0.513208 | 0.513208 | 0.513208 | 0.513208 | 0.513208 | 0 | 0.097179 | 0.027439 | 328 | 3 | 148 | 109.333333 | 0.733542 | 0 | 0 | 0 | 0 | 0 | 0.82622 | 0.82622 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2b272636ae154c7c70a00e43c57982cef81e702 | 112 | py | Python | gridnetwork/routes/__init__.py | shashigharti/PyGridNetwork | b69c0988031177c39f555d6e561ecdf6661e5d56 | [
"Apache-2.0"
] | 1 | 2022-02-01T14:48:32.000Z | 2022-02-01T14:48:32.000Z | gridnetwork/routes/__init__.py | Benardi/PyGridNetwork | b915fafeca7fe1427162d4f1c4842aa3e38b56b6 | [
"Apache-2.0"
] | null | null | null | gridnetwork/routes/__init__.py | Benardi/PyGridNetwork | b915fafeca7fe1427162d4f1c4842aa3e38b56b6 | [
"Apache-2.0"
] | 1 | 2021-07-06T04:32:24.000Z | 2021-07-06T04:32:24.000Z | from .general import *
from .nodes import *
from .dataset import *
from .models import *
from .network import *
| 18.666667 | 22 | 0.732143 | 15 | 112 | 5.466667 | 0.466667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 5 | 23 | 22.4 | 0.891304 | 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 |
a2bec5b90cb790df09d6320b6f8f2e9b1cf987d3 | 987 | py | Python | src/grocsvs/stages/__init__.py | Uditgulati/grocsvs | e7225b0e65e40138053a214130ebaeec1e1448d8 | [
"MIT"
] | 39 | 2016-09-11T03:11:09.000Z | 2021-04-27T17:08:05.000Z | src/grocsvs/stages/__init__.py | Uditgulati/grocsvs | e7225b0e65e40138053a214130ebaeec1e1448d8 | [
"MIT"
] | 34 | 2016-10-24T22:24:49.000Z | 2021-04-12T14:08:54.000Z | src/grocsvs/stages/__init__.py | Uditgulati/grocsvs | e7225b0e65e40138053a214130ebaeec1e1448d8 | [
"MIT"
] | 7 | 2017-10-26T00:55:47.000Z | 2020-07-28T10:57:28.000Z | from grocsvs.stages import preflight
from grocsvs.stages import constants
from grocsvs.stages import sample_info
from grocsvs.stages import qc
from grocsvs.stages import call_readclouds
from grocsvs.stages import window_barcodes
from grocsvs.stages import barcode_overlaps
from grocsvs.stages import sv_candidate_region... | 32.9 | 57 | 0.877406 | 137 | 987 | 6.160584 | 0.306569 | 0.299763 | 0.46327 | 0.626777 | 0.31872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099291 | 987 | 29 | 58 | 34.034483 | 0.949381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2cc1740c7c92ccf224f0f6a695b6d8693cdebc2 | 91 | py | Python | torchdyn/__init__.py | cfinlay/torchdyn | 300436c675c4ae51e6bd92fcf4c27fe7d3fc71a5 | [
"Apache-2.0"
] | null | null | null | torchdyn/__init__.py | cfinlay/torchdyn | 300436c675c4ae51e6bd92fcf4c27fe7d3fc71a5 | [
"Apache-2.0"
] | null | null | null | torchdyn/__init__.py | cfinlay/torchdyn | 300436c675c4ae51e6bd92fcf4c27fe7d3fc71a5 | [
"Apache-2.0"
] | null | null | null | from .adjoint import *
from .learner import *
from .plot import *
from ._internals import * | 22.75 | 25 | 0.747253 | 12 | 91 | 5.583333 | 0.5 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 4 | 25 | 22.75 | 0.881579 | 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 |
a2d2a7f76aa30d1d29c1862804ac1728dceb522d | 115 | py | Python | stRT/plot/two_d_plot/basic_plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/plot/two_d_plot/basic_plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/plot/two_d_plot/basic_plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | from .lineplot import basic_line
from .utils import basic_FacetGrid, save_fig
from .violinplot import basic_violin
| 28.75 | 44 | 0.852174 | 17 | 115 | 5.529412 | 0.647059 | 0.351064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 3 | 45 | 38.333333 | 0.921569 | 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 |
0c5f81b541dd9f32070bddec96b7d6bf60c98fd4 | 71 | py | Python | py_tdlib/constructors/message_chat_delete_photo.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/message_chat_delete_photo.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/message_chat_delete_photo.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class messageChatDeletePhoto(Type):
pass
| 11.833333 | 35 | 0.788732 | 8 | 71 | 7 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 71 | 5 | 36 | 14.2 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a74a96def1934973a9ab667809fb83552134d6a3 | 35 | py | Python | gilded-rose/item_update_brie.py | padawin/katas | b22d2337dc92351a1349172dadcd4cc1cd29431e | [
"MIT"
] | null | null | null | gilded-rose/item_update_brie.py | padawin/katas | b22d2337dc92351a1349172dadcd4cc1cd29431e | [
"MIT"
] | null | null | null | gilded-rose/item_update_brie.py | padawin/katas | b22d2337dc92351a1349172dadcd4cc1cd29431e | [
"MIT"
] | null | null | null | def update(item):
return 1, -1
| 11.666667 | 17 | 0.6 | 6 | 35 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.257143 | 35 | 2 | 18 | 17.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a791d47fac23f16807f38b1da6bc39f6fbff442d | 54 | py | Python | text_clf/evaluate.py | kejunxiao/TextClf | aa1c195cb5908c32a3e6ed6891142603cb198d87 | [
"BSD-3-Clause"
] | 2 | 2018-05-13T13:00:10.000Z | 2018-05-13T13:00:12.000Z | text_clf/evaluate.py | kejunxiao/TextClf | aa1c195cb5908c32a3e6ed6891142603cb198d87 | [
"BSD-3-Clause"
] | null | null | null | text_clf/evaluate.py | kejunxiao/TextClf | aa1c195cb5908c32a3e6ed6891142603cb198d87 | [
"BSD-3-Clause"
] | null | null | null | import tensorflow as tf
def evaluate(FLAGS):
pass | 13.5 | 23 | 0.740741 | 8 | 54 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 54 | 4 | 24 | 13.5 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a7b06f1988fca8fbec656a8715a144c4a37df971 | 23 | py | Python | sophus/__init__.py | apl-ocean-engineering/SophusPy | 1ae21879047444de91c23e86ba8f3e81d9060759 | [
"MIT"
] | 24 | 2018-05-30T02:27:20.000Z | 2021-08-14T12:21:03.000Z | sophus/__init__.py | apl-ocean-engineering/SophusPy | 1ae21879047444de91c23e86ba8f3e81d9060759 | [
"MIT"
] | 6 | 2019-06-29T15:05:57.000Z | 2021-12-03T23:32:29.000Z | sophus/__init__.py | apl-ocean-engineering/SophusPy | 1ae21879047444de91c23e86ba8f3e81d9060759 | [
"MIT"
] | 3 | 2020-07-30T21:52:07.000Z | 2021-07-07T22:38:37.000Z | from .sophuspy import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 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 |
a7d4ec67f9ca2b4fe222c81aae202c0ecef7ba9b | 39 | py | Python | modelclone/__init__.py | philsjh/django-modelclone | d7c9f18c6e95b5a67f96f65bb73fd4612286913c | [
"MIT"
] | 51 | 2015-01-28T13:51:59.000Z | 2022-02-08T11:22:23.000Z | modelclone/__init__.py | philsjh/django-modelclone | d7c9f18c6e95b5a67f96f65bb73fd4612286913c | [
"MIT"
] | 28 | 2015-01-13T11:21:40.000Z | 2022-02-01T11:03:54.000Z | modelclone/__init__.py | philsjh/django-modelclone | d7c9f18c6e95b5a67f96f65bb73fd4612286913c | [
"MIT"
] | 33 | 2015-07-09T15:04:26.000Z | 2022-03-22T17:37:53.000Z | from .admin import ClonableModelAdmin
| 13 | 37 | 0.846154 | 4 | 39 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 38 | 19.5 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac3900b94fabac45a3fd7eeac3c281a4afc15108 | 115 | py | Python | vwgec/utils/softmax.py | snukky/vwgec | 1638b24c91ed0324309a91a351986bdff5229a18 | [
"MIT"
] | null | null | null | vwgec/utils/softmax.py | snukky/vwgec | 1638b24c91ed0324309a91a351986bdff5229a18 | [
"MIT"
] | null | null | null | vwgec/utils/softmax.py | snukky/vwgec | 1638b24c91ed0324309a91a351986bdff5229a18 | [
"MIT"
] | null | null | null | import math
def softmax(xs):
norm = sum(math.exp(x) for x in xs)
return [math.exp(x) / norm for x in xs]
| 16.428571 | 43 | 0.617391 | 23 | 115 | 3.086957 | 0.521739 | 0.197183 | 0.225352 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252174 | 115 | 6 | 44 | 19.166667 | 0.825581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ac56d07b623281c921f21624a21b3881502eda1b | 7,097 | py | Python | rotaryswitch_example.py | PyTis/wx_aic | 38c23ab744bea60767f6bc9fd9f098a3b38584ce | [
"MIT"
] | 1 | 2021-03-20T08:45:07.000Z | 2021-03-20T08:45:07.000Z | rotaryswitch_example.py | PyTis/wx_aic | 38c23ab744bea60767f6bc9fd9f098a3b38584ce | [
"MIT"
] | null | null | null | rotaryswitch_example.py | PyTis/wx_aic | 38c23ab744bea60767f6bc9fd9f098a3b38584ce | [
"MIT"
] | 1 | 2021-03-20T08:45:15.000Z | 2021-03-20T08:45:15.000Z | import os
import wx
import wx.lib.inspection
from aic import ImageControlPanel, ImageControlFrame
from aic import RotarySwitch
from aic.rotary_switch import EVT_RS_CHANGE
RESOURCES = 'res'
class ICPanel(ImageControlPanel):
def __init__(self, parent, bmp, *args, tiled=False, **kwargs):
super().__init__(pa... | 33.163551 | 120 | 0.624771 | 999 | 7,097 | 4.229229 | 0.143143 | 0.049231 | 0.046864 | 0.052071 | 0.760473 | 0.755503 | 0.740592 | 0.740592 | 0.726154 | 0.726154 | 0 | 0.033389 | 0.236156 | 7,097 | 213 | 121 | 33.319249 | 0.745988 | 0.122446 | 0 | 0.727273 | 0 | 0 | 0.031096 | 0.011188 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106061 | false | 0.037879 | 0.045455 | 0 | 0.189394 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce3c5d892f80be546e7b52413fc58b176cc5c7be | 79 | py | Python | Code/gettingstarted.py | patvin80/inframonitoring | 62e9b3d5a9a51e1427164160eb313a4807978fae | [
"Apache-2.0"
] | null | null | null | Code/gettingstarted.py | patvin80/inframonitoring | 62e9b3d5a9a51e1427164160eb313a4807978fae | [
"Apache-2.0"
] | null | null | null | Code/gettingstarted.py | patvin80/inframonitoring | 62e9b3d5a9a51e1427164160eb313a4807978fae | [
"Apache-2.0"
] | null | null | null | import json
def lambda_handler(event, context):
return event["key1"][::-1] | 19.75 | 35 | 0.696203 | 11 | 79 | 4.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.139241 | 79 | 4 | 36 | 19.75 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.05 | 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 |
65fffb94c4a06e73865f72d09b27457dd1cbd1a3 | 34 | py | Python | tartiflette/scalar/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | tartiflette/scalar/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | tartiflette/scalar/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | from .custom_scalar import Scalar
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a77a34af898b2312a01fb70a0fbe104676f817f | 38 | py | Python | src/snake/__init__.py | main76/snake-master | 3087aed8164f1795e9558c142fc6983c18888056 | [
"MIT"
] | 8 | 2017-06-01T10:57:53.000Z | 2018-10-20T16:57:18.000Z | src/snake/__init__.py | main76/snake-master | 3087aed8164f1795e9558c142fc6983c18888056 | [
"MIT"
] | null | null | null | src/snake/__init__.py | main76/snake-master | 3087aed8164f1795e9558c142fc6983c18888056 | [
"MIT"
] | 2 | 2017-06-09T06:21:11.000Z | 2019-02-23T09:13:29.000Z | from .handler import Handler, CHANNEL
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 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 |
ce4b7c8ad94ee923bd84380b818f1acbf5ff5e45 | 209 | py | Python | paper_uploads/admin/__init__.py | dldevinc/paper-uploads | 9414b6e6fbaa52eadacd9852ce3c4d84c6c2c939 | [
"BSD-3-Clause"
] | 3 | 2020-06-05T10:43:05.000Z | 2022-02-22T16:46:16.000Z | paper_uploads/admin/__init__.py | dldevinc/paper-uploads | 9414b6e6fbaa52eadacd9852ce3c4d84c6c2c939 | [
"BSD-3-Clause"
] | 2 | 2021-04-03T12:25:20.000Z | 2022-02-02T06:10:46.000Z | paper_uploads/admin/__init__.py | dldevinc/paper-uploads | 9414b6e6fbaa52eadacd9852ce3c4d84c6c2c939 | [
"BSD-3-Clause"
] | null | null | null | from .base import UploadedFileBase # noqa: F401
from .collection import CollectionAdminBase # noqa: F401
from .file import UploadedFileAdmin # noqa: F401
from .image import UploadedImageAdmin # noqa: F401
| 41.8 | 57 | 0.789474 | 24 | 209 | 6.875 | 0.5 | 0.193939 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.15311 | 209 | 4 | 58 | 52.25 | 0.864407 | 0.205742 | 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 |
cebd4162d3194622d4d30054b7136281be7c13bb | 2,612 | py | Python | system-tests/testMainPage.py | FISA-Team/FISA | 0508841e70aaa66220e75016cf1166647184b02a | [
"MIT"
] | null | null | null | system-tests/testMainPage.py | FISA-Team/FISA | 0508841e70aaa66220e75016cf1166647184b02a | [
"MIT"
] | null | null | null | system-tests/testMainPage.py | FISA-Team/FISA | 0508841e70aaa66220e75016cf1166647184b02a | [
"MIT"
] | 2 | 2020-09-09T19:54:25.000Z | 2020-09-13T16:20:36.000Z | import time
from baseTest import BaseTest
class TestMainPage(BaseTest):
def test_MainPageHeading(self):
self.navigate("")
assert "FISA" in self.driver.title
self.driver.find_element_by_id('projectHeading')
def test_ChangeThemes(self):
# Light theme to dark theme
self.n... | 44.271186 | 128 | 0.664242 | 380 | 2,612 | 4.413158 | 0.184211 | 0.089445 | 0.096601 | 0.200358 | 0.756112 | 0.746571 | 0.731664 | 0.717352 | 0.717352 | 0.717352 | 0 | 0.032048 | 0.175727 | 2,612 | 59 | 129 | 44.271186 | 0.746865 | 0.026417 | 0 | 0.55814 | 0 | 0.093023 | 0.298543 | 0.210319 | 0 | 0 | 0 | 0 | 0.162791 | 1 | 0.093023 | false | 0 | 0.046512 | 0 | 0.162791 | 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 |
0c9b412858adf93dcb37e7dd774003d1ec04bcc4 | 21 | py | Python | pwnlib/rop/__init__.py | IMULMUL/python3-pwntools | 61210a68cd88e9084c72292d3119c38c44f07966 | [
"MIT"
] | 325 | 2016-01-25T08:38:06.000Z | 2022-03-30T14:31:50.000Z | pwnlib/rop/__init__.py | IMULMUL/python3-pwntools | 61210a68cd88e9084c72292d3119c38c44f07966 | [
"MIT"
] | 8 | 2016-08-23T10:15:27.000Z | 2019-01-16T02:49:34.000Z | pwnlib/rop/__init__.py | IMULMUL/python3-pwntools | 61210a68cd88e9084c72292d3119c38c44f07966 | [
"MIT"
] | 71 | 2016-07-13T10:03:52.000Z | 2022-01-10T11:57:34.000Z | from .rop import ROP
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
0b2d616b065b2d969ee30305e61730bf71047185 | 98 | py | Python | filekeeper/__main__.py | aaronang/filekeeper | b6fedb304de1644c1b28ad30bcb78b1cf13695cd | [
"MIT"
] | null | null | null | filekeeper/__main__.py | aaronang/filekeeper | b6fedb304de1644c1b28ad30bcb78b1cf13695cd | [
"MIT"
] | null | null | null | filekeeper/__main__.py | aaronang/filekeeper | b6fedb304de1644c1b28ad30bcb78b1cf13695cd | [
"MIT"
] | null | null | null | from filekeeper import get_files, delete_files
delete_files([f['id'] for f in get_files()[:10]])
| 24.5 | 49 | 0.744898 | 17 | 98 | 4.058824 | 0.647059 | 0.231884 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.112245 | 98 | 3 | 50 | 32.666667 | 0.770115 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b48e2d90183a864c59d3876a797a43ff19edfbe | 37,709 | py | Python | instances/passenger_demand/pas-20210421-2109-int1/31.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int1/31.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int1/31.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2351
passenger_arriving = (
(3, 7, 4, 1, 3, 0, 8, 4, 2, 3, 3, 0), # 0
(3, 4, 7, 3, 0, 0, 12, 3, 4, 4, 0, 0), # 1
(1, 3, 6, 2, 0, 0, 5, 6, 5, 4, 3, 0), # 2
(2, 5, 8, 0, 2, 0, 8, 3, 7, 5, 2, 0), # 3
(2, 7, 2, 2, 1, 0, 5, 7, 5, 3, 4, 0), # 4
(5, 2, 7, 2, 1, 0, 2, 7, 1, 7, 1... | 112.564179 | 215 | 0.72781 | 5,147 | 37,709 | 5.330095 | 0.217602 | 0.314938 | 0.249326 | 0.472407 | 0.331158 | 0.329956 | 0.329956 | 0.329956 | 0.329956 | 0.329956 | 0 | 0.818045 | 0.119706 | 37,709 | 334 | 216 | 112.901198 | 0.008405 | 0.032114 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7f5537d1b212063f8cb3963209b7c68c772db72 | 3,213 | py | Python | test/dlc_tests/ec2/tensorflow/training/test_tensorflow_training.py | Satish615/deep-learning-containers-1 | 76e750e828b6f583a6b7b1c291057059a14285b1 | [
"Apache-2.0"
] | 1 | 2021-12-17T15:50:48.000Z | 2021-12-17T15:50:48.000Z | test/dlc_tests/ec2/tensorflow/training/test_tensorflow_training.py | Satish615/deep-learning-containers-1 | 76e750e828b6f583a6b7b1c291057059a14285b1 | [
"Apache-2.0"
] | null | null | null | test/dlc_tests/ec2/tensorflow/training/test_tensorflow_training.py | Satish615/deep-learning-containers-1 | 76e750e828b6f583a6b7b1c291057059a14285b1 | [
"Apache-2.0"
] | null | null | null | import os
import pytest
from test.test_utils import CONTAINER_TESTS_PREFIX, is_tf1
from test.test_utils.ec2 import execute_ec2_training_test
TF1_STANDALONE_CMD = os.path.join(CONTAINER_TESTS_PREFIX, "testTensorflow1Standalone")
TF2_STANDALONE_CMD = os.path.join(CONTAINER_TESTS_PREFIX, "testTensorflow2Standalone")
T... | 47.955224 | 91 | 0.839091 | 460 | 3,213 | 5.373913 | 0.117391 | 0.160194 | 0.065534 | 0.080097 | 0.897249 | 0.881068 | 0.881068 | 0.794498 | 0.717638 | 0.700647 | 0 | 0.02439 | 0.081232 | 3,213 | 66 | 92 | 48.681818 | 0.813008 | 0 | 0 | 0.545455 | 0 | 0 | 0.093059 | 0.015562 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.272727 | 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 |
f007c539e36efa8cdf1d7475bfa01e6fd5a6a927 | 120 | py | Python | dskc/visualization/graphs/types/bars/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/visualization/graphs/types/bars/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/visualization/graphs/types/bars/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | from .multiple_variables import *
from .one_variable import *
from dskc.visualization.graphs.types.bars.target import *
| 30 | 57 | 0.816667 | 16 | 120 | 6 | 0.75 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 3 | 58 | 40 | 0.888889 | 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 |
f06a91e8d6c12d9fed1a162d885a8e95768f12e9 | 30 | py | Python | unn/models/heads/attribute_head/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 2 | 2021-08-08T11:23:14.000Z | 2021-09-16T04:05:23.000Z | unn/models/heads/attribute_head/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:25:47.000Z | 2021-08-08T11:26:15.000Z | unn/models/heads/attribute_head/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | null | null | null | from .attribute_head import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
b2bd5e4cb61c61fbad9cd22ef0ac8515ab9824dd | 109 | py | Python | application/urls.py | Falldog/appengine-flask-template-light | b87b73b1d1862db6dbb388fee716b60d29b3b10c | [
"Apache-2.0"
] | null | null | null | application/urls.py | Falldog/appengine-flask-template-light | b87b73b1d1862db6dbb388fee716b60d29b3b10c | [
"Apache-2.0"
] | null | null | null | application/urls.py | Falldog/appengine-flask-template-light | b87b73b1d1862db6dbb388fee716b60d29b3b10c | [
"Apache-2.0"
] | null | null | null | from application import app
from application import views
app.add_url_rule('/', 'index', views.index)
| 18.166667 | 44 | 0.733945 | 15 | 109 | 5.2 | 0.6 | 0.384615 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 5 | 45 | 21.8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b2ce9a5a2d96a6c62e907a5933b13b1b19c0b521 | 27 | py | Python | arq.py | jonfisik/cmd-git | 8cff22e5fe91243bee963decb269c2986ed8f85c | [
"MIT"
] | 1 | 2020-09-05T22:25:48.000Z | 2020-09-05T22:25:48.000Z | arq.py | jonfisik/cmd-git | 8cff22e5fe91243bee963decb269c2986ed8f85c | [
"MIT"
] | null | null | null | arq.py | jonfisik/cmd-git | 8cff22e5fe91243bee963decb269c2986ed8f85c | [
"MIT"
] | 1 | 2020-07-22T00:37:46.000Z | 2020-07-22T00:37:46.000Z | print('Ola mundo git!!!!')
| 13.5 | 26 | 0.592593 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 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 |
3312edc77b51243c16e3b5e471a66aed3c50cd5e | 163 | py | Python | ccbrowse/storage/null.py | peterkuma/ccbrowse | 19d93108d55badf983fda29497b523f59b4f1231 | [
"MIT"
] | 4 | 2022-02-06T17:22:04.000Z | 2022-03-09T03:15:11.000Z | ccbrowse/storage/null.py | peterkuma/ccbrowse | 19d93108d55badf983fda29497b523f59b4f1231 | [
"MIT"
] | null | null | null | ccbrowse/storage/null.py | peterkuma/ccbrowse | 19d93108d55badf983fda29497b523f59b4f1231 | [
"MIT"
] | null | null | null | from .driver import Driver
class NullDriver(Driver):
def store(self, obj):
pass
def retrieve(self, obj, exclude=[]):
return None
| 18.111111 | 40 | 0.595092 | 19 | 163 | 5.105263 | 0.736842 | 0.14433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306748 | 163 | 8 | 41 | 20.375 | 0.858407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
33501dd7f31e3eb470de88743d560f8f764d9b52 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/polynomial/tests/test_polyutils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/polynomial/tests/test_polyutils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/polynomial/tests/test_polyutils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/23/19/1b/55fa5c06a7b994e665b871543db2c04cbbb5af0560ee084b012a5f62b6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
3355f4edacd4442e7d353c82663ffdbfdf945bd0 | 65 | py | Python | allure-pytest/test/plugin/register_unregister/sample.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | 1 | 2021-02-19T21:00:11.000Z | 2021-02-19T21:00:11.000Z | allure-pytest/test/plugin/register_unregister/sample.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | null | null | null | allure-pytest/test/plugin/register_unregister/sample.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | 1 | 2020-08-05T05:40:44.000Z | 2020-08-05T05:40:44.000Z | import allure
def test_sample():
allure.attach('Peace!!!')
| 10.833333 | 29 | 0.661538 | 8 | 65 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 5 | 30 | 13 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 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 |
682becf90639f2e77baedd01c4a3b89b80b69bd1 | 201 | py | Python | collaborator_app/admin.py | calixo888/collaboratory | 087c6454f9f7581c16798b8a8fa697509894d9cc | [
"FTL"
] | null | null | null | collaborator_app/admin.py | calixo888/collaboratory | 087c6454f9f7581c16798b8a8fa697509894d9cc | [
"FTL"
] | 5 | 2020-06-05T23:35:48.000Z | 2021-06-09T18:30:56.000Z | collaborator_app/admin.py | calixo888/collaboratory | 087c6454f9f7581c16798b8a8fa697509894d9cc | [
"FTL"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.UserProfile)
admin.site.register(models.Project)
admin.site.register(models.ToDoListItem)
| 25.125 | 40 | 0.820896 | 27 | 201 | 6.111111 | 0.481481 | 0.163636 | 0.309091 | 0.418182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084577 | 201 | 7 | 41 | 28.714286 | 0.896739 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 |
689ec040805ccf79bed0bcb7a68bc6038c4f5f80 | 39 | py | Python | __init__.py | KasperskyZiv/DMG_utils | d520f372d3e7ea9aa9f569fc49b85a75ad98eadd | [
"Apache-2.0"
] | 2 | 2020-07-01T08:32:40.000Z | 2021-04-12T02:26:31.000Z | __init__.py | KasperskyZiv/osx_utils | d520f372d3e7ea9aa9f569fc49b85a75ad98eadd | [
"Apache-2.0"
] | null | null | null | __init__.py | KasperskyZiv/osx_utils | d520f372d3e7ea9aa9f569fc49b85a75ad98eadd | [
"Apache-2.0"
] | null | null | null | from dmg import DMG
from utils import * | 19.5 | 19 | 0.794872 | 7 | 39 | 4.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 20 | 19.5 | 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 |
d7b231606bf8a538533f4eb166b907a6be975cd4 | 8,606 | py | Python | src/django_reactive_framework/core/reactive_binary_operators.py | Tal500/django-reactive-framework | aa691d245515f504794d0f6f9a2087077e25a68b | [
"MIT"
] | null | null | null | src/django_reactive_framework/core/reactive_binary_operators.py | Tal500/django-reactive-framework | aa691d245515f504794d0f6f9a2087077e25a68b | [
"MIT"
] | 18 | 2021-09-05T09:40:11.000Z | 2021-10-05T20:04:34.000Z | src/django_reactive_framework/core/reactive_binary_operators.py | Tal500/django-reactive | aa691d245515f504794d0f6f9a2087077e25a68b | [
"MIT"
] | null | null | null | from abc import abstractmethod
from typing import Dict, List
from django import template
from .base import ReactContext, ReactValType
from .expressions.interfaces import Expression
from .utils import manual_non_empty_sum
class ReactiveBinaryOperator:
operators: Dict[str, 'ReactiveBinaryOperator'] = dict()
d... | 37.094828 | 126 | 0.679294 | 1,035 | 8,606 | 5.425121 | 0.103382 | 0.043633 | 0.047373 | 0.051291 | 0.743366 | 0.725378 | 0.712556 | 0.669991 | 0.662333 | 0.657524 | 0 | 0.002202 | 0.208343 | 8,606 | 232 | 127 | 37.094828 | 0.821958 | 0.010923 | 0 | 0.464516 | 0 | 0 | 0.105653 | 0.007521 | 0 | 0 | 0 | 0 | 0 | 1 | 0.251613 | false | 0.032258 | 0.03871 | 0.116129 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d7dd1d4caa42956af24f210df57e50ba5bca5866 | 11,899 | py | Python | tests/test_check_runs.py | cclauss/algobot | f131905c9f4f7e7c8d6d3a85023ac9eb668ba522 | [
"MIT"
] | null | null | null | tests/test_check_runs.py | cclauss/algobot | f131905c9f4f7e7c8d6d3a85023ac9eb668ba522 | [
"MIT"
] | null | null | null | tests/test_check_runs.py | cclauss/algobot | f131905c9f4f7e7c8d6d3a85023ac9eb668ba522 | [
"MIT"
] | null | null | null | import pytest
from _pytest.monkeypatch import MonkeyPatch
from gidgethub import apps, sansio
from algobot import check_runs
from algobot.check_runs import FAILURE_LABEL
from .utils import MOCK_INSTALLATION_ID, MockGitHubAPI, mock_return
def setup_module(module, monkeypatch=MonkeyPatch()):
"""Monkeypatch for thi... | 33.51831 | 86 | 0.511388 | 1,089 | 11,899 | 5.447199 | 0.144169 | 0.028321 | 0.063216 | 0.018881 | 0.833277 | 0.821982 | 0.81996 | 0.781693 | 0.767195 | 0.765678 | 0 | 0.029056 | 0.360787 | 11,899 | 354 | 87 | 33.612994 | 0.750855 | 0.053114 | 0 | 0.684049 | 0 | 0 | 0.300134 | 0.085791 | 0 | 0 | 0 | 0 | 0.067485 | 1 | 0.003067 | false | 0.006135 | 0.018405 | 0 | 0.021472 | 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 |
0bce53594a39ef59f862faf282ceec7e298c71a5 | 19,536 | py | Python | sdk/python/pulumi_gcp/bigquery/table.py | pellizzetti/pulumi-gcp | fad74dd55a0cf7723f73046bb0e6fcbfd948ba84 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-12-20T22:08:20.000Z | 2019-12-20T22:08:20.000Z | sdk/python/pulumi_gcp/bigquery/table.py | pellizzetti/pulumi-gcp | fad74dd55a0cf7723f73046bb0e6fcbfd948ba84 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/bigquery/table.py | pellizzetti/pulumi-gcp | fad74dd55a0cf7723f73046bb0e6fcbfd948ba84 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Table(... | 48.118227 | 447 | 0.647011 | 2,291 | 19,536 | 5.334788 | 0.12309 | 0.072901 | 0.041237 | 0.024873 | 0.784896 | 0.746032 | 0.724431 | 0.714449 | 0.701276 | 0.685403 | 0 | 0.000346 | 0.25947 | 19,536 | 405 | 448 | 48.237037 | 0.844474 | 0.465397 | 0 | 0.018519 | 1 | 0 | 0.149886 | 0.02214 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0.009259 | 0.055556 | 0.018519 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
045e518ca6775d782dbfeafdb884c8e7e7bd2ffa | 5,474 | py | Python | symbol/transform_nets.py | Zehaos/mx-pointnet | e21c2de87ae55f714bfb897e2c8f7cf3e04a574e | [
"MIT"
] | 16 | 2018-01-13T04:57:44.000Z | 2020-02-13T18:53:09.000Z | symbol/transform_nets.py | Zehaos/mx-pointnet | e21c2de87ae55f714bfb897e2c8f7cf3e04a574e | [
"MIT"
] | null | null | null | symbol/transform_nets.py | Zehaos/mx-pointnet | e21c2de87ae55f714bfb897e2c8f7cf3e04a574e | [
"MIT"
] | 5 | 2018-01-13T15:53:51.000Z | 2019-04-22T16:54:51.000Z | import mxnet as mx
import numpy as np
from mx_constant import MyConstant
eps = 1e-5
def input_transform_net(data, batch_size, num_points, workspace, bn_mom=0.9, scope="itn_"):
data = mx.sym.expand_dims(data, axis=1) # (32,1,1024,3)
conv0 = mx.sym.Convolution(data=data, num_filter=64, kernel=(1, 3), stride=(... | 61.505618 | 147 | 0.68122 | 823 | 5,474 | 4.392467 | 0.126367 | 0.067773 | 0.038728 | 0.049793 | 0.905118 | 0.878838 | 0.825173 | 0.779253 | 0.778976 | 0.778976 | 0 | 0.047826 | 0.159664 | 5,474 | 88 | 148 | 62.204545 | 0.738043 | 0.01297 | 0 | 0.676923 | 0 | 0 | 0.065938 | 0.01667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.046154 | 0 | 0.107692 | 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 |
0b08ebb990cb0442cb30f5c70e04c1deefce0e14 | 12,721 | py | Python | pypeFLOW/src/tests/test_pypeflow_task.py | WangGenomicsLab/FALCON | 07ce2944ebd9aa624cc6ed32af59ec36a2590e7a | [
"BSD-3-Clause-Clear"
] | 13 | 2015-06-29T08:02:25.000Z | 2020-05-11T02:28:19.000Z | pypeFLOW/src/tests/test_pypeflow_task.py | WangGenomicsLab/FALCON | 07ce2944ebd9aa624cc6ed32af59ec36a2590e7a | [
"BSD-3-Clause-Clear"
] | 40 | 2015-06-11T20:04:20.000Z | 2020-01-21T16:57:50.000Z | pypeFLOW/src/tests/test_pypeflow_task.py | WangGenomicsLab/FALCON | 07ce2944ebd9aa624cc6ed32af59ec36a2590e7a | [
"BSD-3-Clause-Clear"
] | 26 | 2015-06-06T15:11:51.000Z | 2020-12-28T10:36:04.000Z | from nose.tools import assert_equal
from nose import SkipTest
import pypeflow.task
import pypeflow.data
class TestPypeTaskBase:
def test___call__(self):
# pype_task_base = PypeTaskBase(URL, *argv, **kwargv)
# assert_equal(expected, pype_task_base.__call__(*argv, **kwargv))
raise SkipTest # ... | 38.902141 | 93 | 0.601289 | 1,351 | 12,721 | 5.487787 | 0.113249 | 0.025492 | 0.048152 | 0.073644 | 0.8314 | 0.799838 | 0.790666 | 0.772727 | 0.71365 | 0.643917 | 0 | 0.007546 | 0.291644 | 12,721 | 326 | 94 | 39.021472 | 0.815226 | 0.208474 | 0 | 0.644444 | 0 | 0 | 0.094896 | 0.05414 | 0 | 0 | 0 | 0.003067 | 0.035556 | 1 | 0.142222 | false | 0 | 0.031111 | 0 | 0.235556 | 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 |
9bd597cac12e48bc99dfd6071fe411640bb284a7 | 31 | py | Python | src/actions/help.py | bluzi/pypm | 5d31fda70b76628f15a94d10cb50bc91fdcc9115 | [
"MIT"
] | 1 | 2018-08-11T12:43:23.000Z | 2018-08-11T12:43:23.000Z | src/actions/help.py | bluzi/pypm | 5d31fda70b76628f15a94d10cb50bc91fdcc9115 | [
"MIT"
] | null | null | null | src/actions/help.py | bluzi/pypm | 5d31fda70b76628f15a94d10cb50bc91fdcc9115 | [
"MIT"
] | null | null | null | def handle():
print('help') | 15.5 | 17 | 0.580645 | 4 | 31 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 2 | 17 | 15.5 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ac99f87727ec1ec295559ebcdd4dcc6f4e77c7e3 | 66 | py | Python | __init__.py | odeliss/wapetex | 1ad6740f537724e3640175234ea5d120912a0c3c | [
"MIT"
] | null | null | null | __init__.py | odeliss/wapetex | 1ad6740f537724e3640175234ea5d120912a0c3c | [
"MIT"
] | null | null | null | __init__.py | odeliss/wapetex | 1ad6740f537724e3640175234ea5d120912a0c3c | [
"MIT"
] | null | null | null | from wapetex.datagenerationpipeline import dataGenerationPipeline
| 33 | 65 | 0.924242 | 5 | 66 | 12.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.983871 | 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 |
acc09ccf5243003cd79e6b41555cf7870edab638 | 3,990 | py | Python | tests/nomulti_test.py | victronenergy/dbus-systemcalc-py | 3d3c31d2d01bbe12aad634279e6569f4cba902b4 | [
"MIT"
] | 5 | 2018-07-08T20:05:52.000Z | 2021-11-29T03:07:00.000Z | tests/nomulti_test.py | victronenergy/dbus-systemcalc-py | 3d3c31d2d01bbe12aad634279e6569f4cba902b4 | [
"MIT"
] | 2 | 2016-10-13T13:02:54.000Z | 2021-03-05T17:08:55.000Z | tests/nomulti_test.py | victronenergy/dbus-systemcalc-py | 3d3c31d2d01bbe12aad634279e6569f4cba902b4 | [
"MIT"
] | 13 | 2015-04-13T12:21:24.000Z | 2022-01-24T16:28:35.000Z | #!/usr/bin/env python3
# This adapts sys.path to include all relevant packages
import context
# our own packages
from base import TestSystemCalcBase
# Monkey patching for unit tests
import patches
class TestSystemCalcNoMulti(TestSystemCalcBase):
def __init__(self, methodName='runTest'):
TestSystemCalcBase.__init... | 30.930233 | 72 | 0.677193 | 453 | 3,990 | 5.801325 | 0.256071 | 0.017123 | 0.02968 | 0.03653 | 0.770167 | 0.755708 | 0.719939 | 0.719939 | 0.704718 | 0.670472 | 0 | 0.047549 | 0.151378 | 3,990 | 128 | 73 | 31.171875 | 0.728588 | 0.030827 | 0 | 0.782609 | 0 | 0 | 0.461817 | 0.240228 | 0 | 0 | 0.00466 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.026087 | 0 | 0.078261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acd357ff389ec7d4d1cef5722aa5fcb54f6bb146 | 424 | py | Python | rastervision/v2/core/filesystem/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 1 | 2019-11-07T10:02:23.000Z | 2019-11-07T10:02:23.000Z | rastervision/v2/core/filesystem/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | rastervision/v2/core/filesystem/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from rastervision.v2.core.filesystem.filesystem import (
FileSystem, NotReadableError, NotWritableError, ProtobufParseException)
from rastervision.v2.core.filesystem.local_filesystem import LocalFileSystem
from rastervision.v2.core.filesystem.s3_filesystem import S3FileSystem
from rastervision.v2.co... | 47.111111 | 76 | 0.858491 | 47 | 424 | 7.680851 | 0.382979 | 0.221607 | 0.249307 | 0.304709 | 0.443213 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.075472 | 424 | 8 | 77 | 53 | 0.90051 | 0.028302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ace37fbed6d60b7165772a91d5e045c52828a215 | 46 | py | Python | vnpy/gateway/onetoken/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 19,529 | 2015-03-02T12:17:35.000Z | 2022-03-31T17:18:27.000Z | vnpy/gateway/onetoken/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 2,186 | 2015-03-04T23:16:33.000Z | 2022-03-31T03:44:01.000Z | vnpy/gateway/onetoken/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 8,276 | 2015-03-02T05:21:04.000Z | 2022-03-31T13:13:13.000Z | from .onetoken_gateway import OnetokenGateway
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a01d06f5195438416debbf98d914807536e8b31 | 36 | py | Python | backups/__init__.py | daqbroker/daqbrokerServer | e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33 | [
"MIT"
] | null | null | null | backups/__init__.py | daqbroker/daqbrokerServer | e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33 | [
"MIT"
] | null | null | null | backups/__init__.py | daqbroker/daqbrokerServer | e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33 | [
"MIT"
] | null | null | null | from .rsyncServer import rsyncServer | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 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 |
c582cd5b7c7bc2ac28d166d6acbd928fc6e4a9f0 | 360 | py | Python | python/testData/inspections/PyArgumentListInspection/slice.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyArgumentListInspection/slice.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/inspections/PyArgumentListInspection/slice.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | print(slice(<warning descr="Parameter(s) unfilledPossible callees:slice(self: slice, stop)slice(self: slice, start, stop, step=...)">)</warning>)
print(slice(1))
print(slice(1, 2))
print(slice(1, 2, 3))
print(slice<warning descr="Unexpected argument(s)Possible callees:slice(self: slice, stop)slice(self: slice, start, s... | 60 | 156 | 0.708333 | 55 | 360 | 4.636364 | 0.345455 | 0.196078 | 0.219608 | 0.172549 | 0.407843 | 0.407843 | 0.407843 | 0.407843 | 0.407843 | 0.407843 | 0 | 0.030211 | 0.080556 | 360 | 5 | 157 | 72 | 0.740181 | 0 | 0 | 0 | 0 | 0.4 | 0.575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c5833b5fca0a051f55dedd516d8c3b1c1155e700 | 49 | py | Python | python/testData/inspections/PyArgumentListInspection/TimetupleOnAssertedDate/_datetime.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyArgumentListInspection/TimetupleOnAssertedDate/_datetime.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyArgumentListInspection/TimetupleOnAssertedDate/_datetime.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class date:
def timetuple(self):
pass | 16.333333 | 24 | 0.591837 | 6 | 49 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 49 | 3 | 25 | 16.333333 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c5a4cd3620f8a6662d0d0749fc67b878b119fa12 | 142 | py | Python | moneymanagerapp/admin.py | Viniciuspxf/moneyManager | 5180d833e0cb28565cbefca4f3c346a0cb936661 | [
"MIT"
] | null | null | null | moneymanagerapp/admin.py | Viniciuspxf/moneyManager | 5180d833e0cb28565cbefca4f3c346a0cb936661 | [
"MIT"
] | null | null | null | moneymanagerapp/admin.py | Viniciuspxf/moneyManager | 5180d833e0cb28565cbefca4f3c346a0cb936661 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Account)
admin.site.register(Expense)
admin.site.register(Income)
| 20.285714 | 32 | 0.809859 | 20 | 142 | 5.75 | 0.55 | 0.234783 | 0.443478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 142 | 6 | 33 | 23.666667 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c5d5a9d1db44c66deec6d7b772a2f193aa667a77 | 163 | py | Python | rsna_heme/__init__.py | johncolby/rsna_heme | 14e3ecafa0587ebdce2a04b239edecb32dbaa6d0 | [
"MIT"
] | 1 | 2020-05-30T13:59:47.000Z | 2020-05-30T13:59:47.000Z | rsna_heme/__init__.py | johncolby/rsna_heme | 14e3ecafa0587ebdce2a04b239edecb32dbaa6d0 | [
"MIT"
] | null | null | null | rsna_heme/__init__.py | johncolby/rsna_heme | 14e3ecafa0587ebdce2a04b239edecb32dbaa6d0 | [
"MIT"
] | null | null | null | from . import process
from . import cnn
from . import dicom
from . import io
from . import labels
from . import logger
from . import transforms
from . import util
| 18.111111 | 24 | 0.754601 | 24 | 163 | 5.125 | 0.416667 | 0.650407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196319 | 163 | 8 | 25 | 20.375 | 0.938931 | 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 |
c5ea5d4d926e071eb9e34da6cd11cd621dbfcf74 | 220 | py | Python | strimadec/models/__init__.py | borea17/StrImaDec | 711e14d50ff816585b43c1509355983738b45ecb | [
"MIT"
] | null | null | null | strimadec/models/__init__.py | borea17/StrImaDec | 711e14d50ff816585b43c1509355983738b45ecb | [
"MIT"
] | null | null | null | strimadec/models/__init__.py | borea17/StrImaDec | 711e14d50ff816585b43c1509355983738b45ecb | [
"MIT"
] | null | null | null | import strimadec.models.modules
import strimadec.models.utils
from strimadec.models.DVAE import DVAE
from strimadec.models.DVAEST import DVAEST
from strimadec.models.AIR import AIR
from strimadec.models.DAIR import DAIR | 31.428571 | 42 | 0.854545 | 32 | 220 | 5.875 | 0.3125 | 0.478723 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 220 | 7 | 43 | 31.428571 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
a845e79976cb199db5681dec2762bea126a0d27b | 9,150 | py | Python | pyocd/target/builtin/target_PIC32CXMTG.py | CristianGuemes/pyOCD | 1307acd7aa7f4dd4472af4d11eadea90f6c4fe5c | [
"Apache-2.0"
] | null | null | null | pyocd/target/builtin/target_PIC32CXMTG.py | CristianGuemes/pyOCD | 1307acd7aa7f4dd4472af4d11eadea90f6c4fe5c | [
"Apache-2.0"
] | null | null | null | pyocd/target/builtin/target_PIC32CXMTG.py | CristianGuemes/pyOCD | 1307acd7aa7f4dd4472af4d11eadea90f6c4fe5c | [
"Apache-2.0"
] | null | null | null | # pyOCD debugger
# Copyright (c) 2020 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | 61.824324 | 112 | 0.762842 | 802 | 9,150 | 8.658354 | 0.660848 | 0.371544 | 0.548675 | 0.725806 | 0.185772 | 0.185772 | 0.185772 | 0.185772 | 0.185772 | 0.185772 | 0 | 0.553925 | 0.15082 | 9,150 | 147 | 113 | 62.244898 | 0.339768 | 0.077049 | 0 | 0.127119 | 0 | 0 | 0.027062 | 0 | 0 | 0 | 0.692226 | 0 | 0 | 1 | 0.008475 | false | 0 | 0.025424 | 0 | 0.059322 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8682892037f6ea42cdf9c04685d946a1a003853 | 34 | py | Python | src/bullets/data_source/__init__.py | CaballeroM/BullETS | 3071387128a51fd85cdfa807c9e6c0b8e3bfc0db | [
"Apache-2.0"
] | 6 | 2021-05-12T23:51:47.000Z | 2022-02-04T02:39:41.000Z | src/bullets/data_source/__init__.py | CaballeroM/BullETS | 3071387128a51fd85cdfa807c9e6c0b8e3bfc0db | [
"Apache-2.0"
] | 73 | 2021-05-12T02:12:02.000Z | 2022-03-31T22:26:29.000Z | src/bullets/data_source/__init__.py | CaballeroM/BullETS | 3071387128a51fd85cdfa807c9e6c0b8e3bfc0db | [
"Apache-2.0"
] | 7 | 2021-05-12T03:34:19.000Z | 2021-11-21T09:15:07.000Z | from bullets.data_source import *
| 17 | 33 | 0.823529 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a869403091a13d751561b8254178b44e6771944c | 8,874 | py | Python | test/test_snyk_access.py | mergermarket/snyk-access | 663caed22a58bf113e24236f75876b2a19a1a846 | [
"MIT"
] | null | null | null | test/test_snyk_access.py | mergermarket/snyk-access | 663caed22a58bf113e24236f75876b2a19a1a846 | [
"MIT"
] | 91 | 2019-08-21T09:46:01.000Z | 2022-03-25T07:17:28.000Z | test/test_snyk_access.py | mergermarket/snyk-access | 663caed22a58bf113e24236f75876b2a19a1a846 | [
"MIT"
] | null | null | null | import json
import unittest
from unittest.mock import MagicMock, patch, call, mock_open
import snyk
import snyk_access
class TestFindOrg(unittest.TestCase):
def test_find_org(self):
snyk_client = MagicMock(spec=snyk.Snyk)
http_client = MagicMock(spec=snyk.HTTPClient)
group = MagicMock(sp... | 26.890909 | 78 | 0.353167 | 686 | 8,874 | 4.405248 | 0.139942 | 0.042356 | 0.074454 | 0.079418 | 0.764064 | 0.749835 | 0.740238 | 0.717737 | 0.717737 | 0.699206 | 0 | 0.0059 | 0.522538 | 8,874 | 329 | 79 | 26.972644 | 0.70734 | 0 | 0 | 0.646259 | 0 | 0 | 0.140523 | 0.01217 | 0 | 0 | 0 | 0 | 0.034014 | 1 | 0.02381 | false | 0 | 0.040816 | 0 | 0.07483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
a872f7d837249591890121d5033e96952f4dd3e1 | 28 | py | Python | taskqueue_cli/__init__.py | supersergiy/python-task-queue | 5438f454f7753cedb60893089b9af44908022f88 | [
"BSD-3-Clause"
] | 18 | 2019-01-25T14:54:44.000Z | 2022-02-22T19:58:41.000Z | taskqueue_cli/__init__.py | supersergiy/python-task-queue | 5438f454f7753cedb60893089b9af44908022f88 | [
"BSD-3-Clause"
] | 21 | 2018-10-16T14:09:10.000Z | 2022-02-11T18:35:45.000Z | taskqueue_cli/__init__.py | supersergiy/python-task-queue | 5438f454f7753cedb60893089b9af44908022f88 | [
"BSD-3-Clause"
] | 9 | 2019-01-25T21:49:21.000Z | 2021-12-21T09:52:39.000Z | from .taskqueue_cli import * | 28 | 28 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 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 |
a8a83564f564c964df1891d39b91eb8141103275 | 151 | py | Python | day2-task2.py | anoop123gupta/Amar_exercise | 43fe2897004b0a4f6f2bcf5a4ab2464d04c075e1 | [
"MIT"
] | 6 | 2019-03-03T06:07:55.000Z | 2019-03-03T06:51:09.000Z | day2-task2.py | anoop123gupta/Amar_exercise | 43fe2897004b0a4f6f2bcf5a4ab2464d04c075e1 | [
"MIT"
] | null | null | null | day2-task2.py | anoop123gupta/Amar_exercise | 43fe2897004b0a4f6f2bcf5a4ab2464d04c075e1 | [
"MIT"
] | null | null | null | user=raw_input(" Enter String ")
a=user[-3:]
if user[-2:] =='ly':
print user
elif a!='ing':
print user+'ing'
elif a=='ing':
print user+'ly' | 18.875 | 32 | 0.576159 | 26 | 151 | 3.307692 | 0.5 | 0.313953 | 0.186047 | 0.302326 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.192053 | 151 | 8 | 33 | 18.875 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0.177632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8c168ff20506b0753ded03fcbce800bde82a218 | 379 | py | Python | Plugins/UnrealEnginePython/Binaries/Win64/Lib/site-packages/tensorflow/_api/v1/keras/datasets/reuters/__init__.py | JustinACoder/H22-GR3-UnrealAI | 361eb9ef1147f8a2991e5f98c4118cd823184adf | [
"MIT"
] | 6 | 2022-02-04T18:12:24.000Z | 2022-03-21T23:57:12.000Z | Lib/site-packages/tensorflow/_api/v1/keras/datasets/reuters/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/tensorflow/_api/v1/keras/datasets/reuters/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2022-02-08T03:53:23.000Z | 2022-02-08T03:53:23.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Reuters topic classification dataset.
"""
from __future__ import print_function
from tensorflow.python.keras.datasets.reuters import get_word_index
from tensorflow.python.kera... | 29.153846 | 83 | 0.799472 | 51 | 379 | 5.72549 | 0.666667 | 0.164384 | 0.136986 | 0.171233 | 0.315068 | 0.315068 | 0.315068 | 0 | 0 | 0 | 0 | 0 | 0.129288 | 379 | 12 | 84 | 31.583333 | 0.884848 | 0.432718 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
763f61ad9a317443c8a1c5e65c3b74ad7823e432 | 3,316 | py | Python | tests/test_link.py | asavinov/lambdo | 202b530b9bc20658782ae7bc62c15062e9213383 | [
"MIT"
] | 287 | 2018-07-15T08:06:45.000Z | 2022-02-26T10:02:45.000Z | tests/test_link.py | asavinov/lambdo | 202b530b9bc20658782ae7bc62c15062e9213383 | [
"MIT"
] | null | null | null | tests/test_link.py | asavinov/lambdo | 202b530b9bc20658782ae7bc62c15062e9213383 | [
"MIT"
] | 16 | 2018-09-12T12:42:26.000Z | 2022-02-16T07:28:48.000Z | import unittest
from lambdo.Workflow import *
class LinkTestCase(unittest.TestCase):
def setUp(self):
pass
def test_one_key(self):
#
# One key to another table
#
wf_json = {
"id": "My workflow",
"tables": [
{
... | 27.404959 | 87 | 0.391134 | 331 | 3,316 | 3.779456 | 0.193353 | 0.131894 | 0.106315 | 0.139888 | 0.859313 | 0.840927 | 0.789768 | 0.740208 | 0.73701 | 0.73701 | 0 | 0.020892 | 0.465923 | 3,316 | 120 | 88 | 27.633333 | 0.685488 | 0.06725 | 0 | 0.505747 | 0 | 0 | 0.096429 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.034483 | false | 0.011494 | 0.022989 | 0 | 0.068966 | 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 |
7646269922217f0d7887740e675a5f01dbd3d3a1 | 358 | py | Python | nanome_postgnome/menus/__init__.py | nanome-ai/plugin-post-nome | 1b87bfd54b244c15126b40d502fd17f617a4bc29 | [
"MIT"
] | 1 | 2020-03-06T14:24:20.000Z | 2020-03-06T14:24:20.000Z | nanome_postgnome/menus/__init__.py | nanome-ai/plugin-post-nome | 1b87bfd54b244c15126b40d502fd17f617a4bc29 | [
"MIT"
] | 1 | 2021-02-22T17:56:11.000Z | 2021-02-22T17:56:11.000Z | nanome_postgnome/menus/__init__.py | nanome-ai/plugin-postgnome | 1b87bfd54b244c15126b40d502fd17f617a4bc29 | [
"MIT"
] | 1 | 2020-03-23T17:12:04.000Z | 2020-03-23T17:12:04.000Z | from .ResponseConfigurationMenu import ResponseConfigurationMenu
from .ResourceConfigurationMenu import ResourceConfigurationMenu
from .RequestConfigurationMenu import RequestConfigurationMenu
from .RequestsMenu import RequestsMenu
from .ResourcesMenu import ResourcesMenu
from .MakeRequestMenu import MakeRequestMenu
fr... | 51.142857 | 64 | 0.905028 | 28 | 358 | 11.571429 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075419 | 358 | 7 | 65 | 51.142857 | 0.978852 | 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 |
7655f55f76ce434f4c0f380c7a9800dd87922290 | 113 | py | Python | mmdet/version.py | floatingstarZ/loc_cls_exp | 8b971db671753d3571914aaa760cc13ac47018e8 | [
"Apache-2.0"
] | null | null | null | mmdet/version.py | floatingstarZ/loc_cls_exp | 8b971db671753d3571914aaa760cc13ac47018e8 | [
"Apache-2.0"
] | null | null | null | mmdet/version.py | floatingstarZ/loc_cls_exp | 8b971db671753d3571914aaa760cc13ac47018e8 | [
"Apache-2.0"
] | null | null | null | # GENERATED VERSION FILE
# TIME: Fri Feb 21 14:03:52 2020
__version__ = '1.0.0+unknown'
short_version = '1.0.0'
| 18.833333 | 32 | 0.699115 | 21 | 113 | 3.52381 | 0.714286 | 0.216216 | 0.243243 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 0.159292 | 113 | 5 | 33 | 22.6 | 0.589474 | 0.469027 | 0 | 0 | 1 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
765b44728905893edf76bb510828a7c7e6abf093 | 54 | py | Python | elliot/evaluation/metrics/accuracy/f1/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 175 | 2021-03-04T15:46:25.000Z | 2022-03-31T05:56:58.000Z | elliot/evaluation/metrics/accuracy/f1/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 15 | 2021-03-06T17:53:56.000Z | 2022-03-24T17:02:07.000Z | elliot/evaluation/metrics/accuracy/f1/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 39 | 2021-03-04T15:46:26.000Z | 2022-03-09T15:37:12.000Z | from .f1 import F1
from .extended_f1 import ExtendedF1 | 27 | 35 | 0.833333 | 9 | 54 | 4.888889 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.12963 | 54 | 2 | 35 | 27 | 0.851064 | 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 |
767523df6057e6d3e20f29143d4f71936431a06a | 90 | py | Python | stock_me/commands/suggest.py | Vaibhav/stock-me | 1d5398ceb571afbf8dca2b07aa0ea60c8a185f4b | [
"MIT"
] | 1 | 2018-07-05T05:45:05.000Z | 2018-07-05T05:45:05.000Z | stock_me/commands/suggest.py | Vaibhav/stock-me | 1d5398ceb571afbf8dca2b07aa0ea60c8a185f4b | [
"MIT"
] | null | null | null | stock_me/commands/suggest.py | Vaibhav/stock-me | 1d5398ceb571afbf8dca2b07aa0ea60c8a185f4b | [
"MIT"
] | 1 | 2018-09-18T09:44:07.000Z | 2018-09-18T09:44:07.000Z | #!/usr/bin/env python
import ystockquote
def run(stocks):
# suggest stocks
pass
| 11.25 | 21 | 0.677778 | 12 | 90 | 5.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 90 | 7 | 22 | 12.857143 | 0.871429 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
76994d9e63e1060b8503aeba00d05b708a102a1c | 10,149 | py | Python | tests/test_goes.py | clintecker/supercell | 6baa174c8fca1a6f805d3853bdcf9cd5148b53ca | [
"MIT"
] | null | null | null | tests/test_goes.py | clintecker/supercell | 6baa174c8fca1a6f805d3853bdcf9cd5148b53ca | [
"MIT"
] | 1 | 2020-09-06T19:45:25.000Z | 2020-09-06T19:45:25.000Z | tests/test_goes.py | clintecker/supercell | 6baa174c8fca1a6f805d3853bdcf9cd5148b53ca | [
"MIT"
] | null | null | null | """Supercell Package Tests"""
# Standard Library
import datetime
import tempfile
import unittest
# Third Party Code
import responses
# Supercell Code
from supercell import goes
class SupercellGoesTestSuite(unittest.TestCase):
def test_get_image_data(self):
d = goes.get_image_data(
"https:/do... | 46.342466 | 116 | 0.589319 | 1,290 | 10,149 | 4.545736 | 0.143411 | 0.099761 | 0.043145 | 0.074523 | 0.85249 | 0.815825 | 0.77558 | 0.6059 | 0.58987 | 0.56395 | 0 | 0.232514 | 0.270273 | 10,149 | 218 | 117 | 46.555046 | 0.559276 | 0.012809 | 0 | 0.411168 | 0 | 0.243655 | 0.631868 | 0.3005 | 0 | 0 | 0 | 0 | 0.060914 | 1 | 0.035533 | false | 0 | 0.025381 | 0 | 0.06599 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76a8d06dfe8b04f7b10b6442b036a35686106655 | 44 | py | Python | model/spacy/dffml_model_spacy/accuracy/__init__.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | 171 | 2019-03-08T19:02:06.000Z | 2022-03-29T16:17:23.000Z | model/spacy/dffml_model_spacy/accuracy/__init__.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | 1,158 | 2019-03-08T19:07:50.000Z | 2022-03-25T08:28:27.000Z | model/spacy/dffml_model_spacy/accuracy/__init__.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | 183 | 2019-03-10T02:40:56.000Z | 2022-03-27T18:51:26.000Z | from .sner_accuracy import SpacyNerAccuracy
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76c42e41718858c437f4328c4d3282165e9322ad | 130 | py | Python | chainer_openpose/datasets/fashion_landmark/__init__.py | iory/chainer-openpose | 020cf7c6946ecaa3e110d937a73565f4e76e3c42 | [
"MIT"
] | 3 | 2020-10-20T12:58:48.000Z | 2020-10-20T20:38:27.000Z | chainer_openpose/datasets/fashion_landmark/__init__.py | iory/chainer-openpose | 020cf7c6946ecaa3e110d937a73565f4e76e3c42 | [
"MIT"
] | null | null | null | chainer_openpose/datasets/fashion_landmark/__init__.py | iory/chainer-openpose | 020cf7c6946ecaa3e110d937a73565f4e76e3c42 | [
"MIT"
] | null | null | null | from chainer_openpose.datasets.fashion_landmark.fashion_landmark_keypoints_dataset import FashionLandmarkKeypointsDataset # NOQA
| 65 | 129 | 0.915385 | 13 | 130 | 8.769231 | 0.846154 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 130 | 1 | 130 | 130 | 0.926829 | 0.030769 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
76c92e7cbcc1fcefeaa15ca4e61c97dd8dc57ca8 | 54,611 | py | Python | tests/test_physical_numpyfuncs.py | juliotux/astropop | cb8e5b7527fe04de82d1322615c78510bf0ae5b0 | [
"BSD-3-Clause"
] | 10 | 2018-05-30T19:18:58.000Z | 2021-07-27T08:15:51.000Z | tests/test_physical_numpyfuncs.py | sparc4-dev/astropop | 6d329f09e2274490dc15b2a41d0c5e43c37ee955 | [
"BSD-3-Clause"
] | 8 | 2021-06-16T15:52:50.000Z | 2022-03-30T21:27:38.000Z | tests/test_physical_numpyfuncs.py | juliotux/astropop | cb8e5b7527fe04de82d1322615c78510bf0ae5b0 | [
"BSD-3-Clause"
] | 9 | 2019-06-20T00:33:34.000Z | 2022-03-03T21:52:47.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
import numpy as np
import pytest
from astropop.math.physical import QFloat, UnitsError, units
from astropop.testing import assert_almost_equal, assert_equal
from packaging import version
# Testing qfloat compatibility with Numpy ufuncs and array function... | 36.070674 | 78 | 0.570142 | 8,136 | 54,611 | 3.688913 | 0.048058 | 0.095159 | 0.090028 | 0.109286 | 0.873721 | 0.838803 | 0.799753 | 0.737847 | 0.703962 | 0.650118 | 0 | 0.101204 | 0.27445 | 54,611 | 1,513 | 79 | 36.094514 | 0.65626 | 0.030617 | 0 | 0.536942 | 0 | 0 | 0.025743 | 0 | 0 | 0 | 0 | 0 | 0.385739 | 1 | 0.087629 | false | 0 | 0.004296 | 0 | 0.094502 | 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 |
4f5359ec3eda3c01015a1ecae5ba8a1cc8060159 | 19,889 | py | Python | main/convenience_redirect/tests.py | csev/class2go | f9419ae16448d20fc882170f95cfd1c4dc3331ca | [
"Apache-2.0"
] | 2 | 2015-10-31T23:12:52.000Z | 2021-01-19T11:03:00.000Z | main/convenience_redirect/tests.py | csev/class2go | f9419ae16448d20fc882170f95cfd1c4dc3331ca | [
"Apache-2.0"
] | null | null | null | main/convenience_redirect/tests.py | csev/class2go | f9419ae16448d20fc882170f95cfd1c4dc3331ca | [
"Apache-2.0"
] | null | null | null | """
This file demonstrates writing tests using the unittest module. These will pass
when you run "manage.py test".
Replace this with more appropriate tests for your application.
"""
from django.test import TestCase
from convenience_redirect.redirector import convenience_redirector
from django.test.client import Reque... | 57.317003 | 149 | 0.625823 | 2,076 | 19,889 | 5.910405 | 0.108382 | 0.078892 | 0.070416 | 0.07824 | 0.80489 | 0.789324 | 0.782967 | 0.762184 | 0.756805 | 0.751915 | 0 | 0.029113 | 0.241842 | 19,889 | 346 | 150 | 57.482659 | 0.784601 | 0.058977 | 0 | 0.642066 | 0 | 0.00369 | 0.259777 | 0.083842 | 0 | 0 | 0 | 0 | 0.254613 | 1 | 0.051661 | false | 0 | 0.02583 | 0 | 0.088561 | 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 |
4f7b8a96b7f18e9d98e886ccdb9f6b6435e9ee8e | 1,639 | py | Python | raspberry/allskySCRIPT/meteoRRD_createRRD.py | broadcastyourseb/SADR | 5a8f7d5a30ae14a58427c9c09c56347eca6a17e9 | [
"Apache-2.0"
] | 1 | 2020-02-17T03:48:44.000Z | 2020-02-17T03:48:44.000Z | raspberry/allskySCRIPT/meteoRRD_createRRD.py | broadcastyourseb/SADR | 5a8f7d5a30ae14a58427c9c09c56347eca6a17e9 | [
"Apache-2.0"
] | 15 | 2017-08-07T11:59:47.000Z | 2017-08-14T21:28:01.000Z | raspberry/allskySCRIPT/meteoRRD_createRRD.py | broadcastyourseb/SADR | 5a8f7d5a30ae14a58427c9c09c56347eca6a17e9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#-*- coding: iso-8859-15 -*-
# SADR METEOLLSKY
# http://www.sadr.fr
# SEBASTIEN LECLERC 2017
# Inspired by :
# NACHO MAS 2013
# http://induino.wordpress.com
#
import sys, os
import rrdtool
from meteollskyconfig import *
#10s raw values for 3hour, 1min for 24 hours, 5 min for 24*7 hours,
# 1hour fo... | 22.763889 | 74 | 0.607688 | 311 | 1,639 | 3.202572 | 0.318328 | 0.200803 | 0.225904 | 0.251004 | 0.458835 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175919 | 0.153752 | 1,639 | 71 | 75 | 23.084507 | 0.542177 | 0.161074 | 0 | 0 | 0 | 0 | 0.666911 | 0.451944 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.065217 | null | null | 0.021739 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4faf4acfac00887ed88e304d636affe65248a35e | 208 | py | Python | tests/test_generate_sent.py | PyThaiNLP/thai-analysis-rule | df62ee3a1e9b818b5280d842f6876581eca8d5eb | [
"Apache-2.0"
] | null | null | null | tests/test_generate_sent.py | PyThaiNLP/thai-analysis-rule | df62ee3a1e9b818b5280d842f6876581eca8d5eb | [
"Apache-2.0"
] | null | null | null | tests/test_generate_sent.py | PyThaiNLP/thai-analysis-rule | df62ee3a1e9b818b5280d842f6876581eca8d5eb | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from thaianalysisrule import generate_sent
class TestGenerateSent(unittest.TestCase):
def test_generate_sent(self):
self.assertIsNotNone(generate_sent()) | 23.111111 | 45 | 0.754808 | 23 | 208 | 6.652174 | 0.695652 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.144231 | 208 | 9 | 45 | 23.111111 | 0.853933 | 0.100962 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c3ab3040d900d88d48aef7072cb13a45c39950f | 43 | py | Python | valipede/__init__.py | cooper-software/valipede | 38aca6b95c842ec51f7ce1d92f5f9844dcbbf079 | [
"MIT"
] | null | null | null | valipede/__init__.py | cooper-software/valipede | 38aca6b95c842ec51f7ce1d92f5f9844dcbbf079 | [
"MIT"
] | 1 | 2018-03-04T20:57:58.000Z | 2018-03-04T20:57:58.000Z | valipede/__init__.py | cooper-software/valipede | 38aca6b95c842ec51f7ce1d92f5f9844dcbbf079 | [
"MIT"
] | 1 | 2018-03-04T20:52:31.000Z | 2018-03-04T20:52:31.000Z | from .fields import *
from .schema import * | 21.5 | 21 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 22 | 21.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fd5d42ff93f3377dab9b906d998b92a4675700b | 2,533 | py | Python | z2/part3/updated_part2_batch/jm/parser_errors_2/371745755.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/371745755.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/371745755.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 371745755
"""
"""
random actions, total chaos
"""
board = gamma_new(4, 4, 3, 6)
assert board is... | 30.518072 | 62 | 0.677063 | 462 | 2,533 | 3.536797 | 0.075758 | 0.336597 | 0.330477 | 0.440636 | 0.783354 | 0.773562 | 0.734394 | 0.561812 | 0.434517 | 0.427173 | 0 | 0.114272 | 0.16739 | 2,533 | 82 | 63 | 30.890244 | 0.660503 | 0 | 0 | 0.279412 | 0 | 0 | 0.009816 | 0 | 0 | 0 | 0 | 0 | 0.779412 | 1 | 0 | false | 0 | 0.014706 | 0 | 0.014706 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4fd789a7927924eeb3e4298495bbc6d10e3e94d4 | 48 | py | Python | vnpy_sqlserver/__init__.py | vnpy/vnpy_sqlserver | 6f2dc32f4f48f0215c0ca7514595e26194bdff33 | [
"MIT"
] | 1 | 2021-07-10T02:04:51.000Z | 2021-07-10T02:04:51.000Z | vnpy_sqlserver/__init__.py | vnpy/vnpy_sqlserver | 6f2dc32f4f48f0215c0ca7514595e26194bdff33 | [
"MIT"
] | null | null | null | vnpy_sqlserver/__init__.py | vnpy/vnpy_sqlserver | 6f2dc32f4f48f0215c0ca7514595e26194bdff33 | [
"MIT"
] | 3 | 2021-04-13T08:39:52.000Z | 2022-01-18T14:05:57.000Z | from .sqlserver_database import database_manager | 48 | 48 | 0.916667 | 6 | 48 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 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 |
4fe4205ad64db334f50b123ca5d4c4d07bc36057 | 1,155 | py | Python | app/stats/handlers.py | projectweekend/THPL-Data-API | 28995ad93d5d16cb9da10f52f30ae16d34c4c5c3 | [
"MIT"
] | null | null | null | app/stats/handlers.py | projectweekend/THPL-Data-API | 28995ad93d5d16cb9da10f52f30ae16d34c4c5c3 | [
"MIT"
] | null | null | null | app/stats/handlers.py | projectweekend/THPL-Data-API | 28995ad93d5d16cb9da10f52f30ae16d34c4c5c3 | [
"MIT"
] | null | null | null | import falcon
from app.stats import data
from app.stats.hooks import validate_query_params
class LatestReadingResource(object):
def on_get(self, req, res, sensor):
result = data.latest_reading(sensor=sensor)
if result is None:
raise falcon.HTTPNotFound
res.status = falcon.HTTP... | 27.5 | 51 | 0.637229 | 142 | 1,155 | 5.021127 | 0.288732 | 0.044881 | 0.072931 | 0.050491 | 0.746143 | 0.746143 | 0.746143 | 0.746143 | 0.746143 | 0.698457 | 0 | 0.01074 | 0.274459 | 1,155 | 41 | 52 | 28.170732 | 0.840095 | 0 | 0 | 0.71875 | 0 | 0 | 0.027706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.09375 | 0 | 0.28125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ff843775934f549f19dc40b88eb6311faf9201f | 249 | py | Python | jans-pycloudlib/jans/pycloudlib/config/__init__.py | JanssenProject/jans | 8d57d01b998bfe87a2377bbe9023dd97fb03cc9f | [
"Apache-2.0"
] | 18 | 2022-01-13T13:45:13.000Z | 2022-03-30T04:41:18.000Z | jans-pycloudlib/jans/pycloudlib/config/__init__.py | JanssenProject/jans | 8d57d01b998bfe87a2377bbe9023dd97fb03cc9f | [
"Apache-2.0"
] | 604 | 2022-01-13T12:32:50.000Z | 2022-03-31T20:27:36.000Z | jans-pycloudlib/jans/pycloudlib/config/__init__.py | JanssenProject/jans | 8d57d01b998bfe87a2377bbe9023dd97fb03cc9f | [
"Apache-2.0"
] | 8 | 2022-01-28T00:23:25.000Z | 2022-03-16T05:12:12.000Z | # noqa: D104
from jans.pycloudlib.config.consul_config import ConsulConfig # noqa: F401
from jans.pycloudlib.config.kubernetes_config import KubernetesConfig # noqa: F401
from jans.pycloudlib.config.google_config import GoogleConfig # noqa: F401
| 49.8 | 83 | 0.823293 | 32 | 249 | 6.3125 | 0.4375 | 0.118812 | 0.267327 | 0.356436 | 0.316832 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.108434 | 249 | 4 | 84 | 62.25 | 0.855856 | 0.172691 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b3f28da7e01d3d6a0d2cf3478c785d5e0f30cdc | 163 | py | Python | tests/example_app/api/__init__.py | Loudr/pale | dc002ee6032c856551143af222ff8f71ed9853fe | [
"MIT"
] | 13 | 2015-06-18T02:35:31.000Z | 2019-03-15T14:39:28.000Z | tests/example_app/api/__init__.py | Loudr/pale | dc002ee6032c856551143af222ff8f71ed9853fe | [
"MIT"
] | 34 | 2015-05-18T17:13:16.000Z | 2021-03-25T21:40:42.000Z | tests/example_app/api/__init__.py | Loudr/pale | dc002ee6032c856551143af222ff8f71ed9853fe | [
"MIT"
] | 3 | 2016-06-08T01:05:47.000Z | 2020-02-04T17:50:17.000Z | import pale
from tests.example_app.api import endpoints, resources
_module_type = pale.ImplementationModule
__all__ = ['endpoints', 'resources', '_module_type']
| 23.285714 | 54 | 0.797546 | 19 | 163 | 6.368421 | 0.684211 | 0.297521 | 0.396694 | 0.46281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104294 | 163 | 6 | 55 | 27.166667 | 0.828767 | 0 | 0 | 0 | 0 | 0 | 0.184049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8cb2870538f046487849175833b19933c22cd9fb | 26 | py | Python | CrowdClient/__init__.py | tyler-tee/CrowdClient | 7d3ddaf16a015832e1ccad7c3034174b456a3286 | [
"MIT"
] | 5 | 2020-07-23T16:48:53.000Z | 2021-11-08T10:30:16.000Z | CrowdClient/__init__.py | tyler-tee/CrowdClient | 7d3ddaf16a015832e1ccad7c3034174b456a3286 | [
"MIT"
] | 2 | 2021-05-26T12:57:27.000Z | 2021-09-24T16:49:45.000Z | CrowdClient/__init__.py | tyler-tee/CrowdClient | 7d3ddaf16a015832e1ccad7c3034174b456a3286 | [
"MIT"
] | 1 | 2020-12-28T14:33:01.000Z | 2020-12-28T14:33:01.000Z | from .crowdclient import * | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cb93b7df9beb39d6b26f9ab90ee500c270ba8b2 | 3,555 | py | Python | tests/codegen/dynamic_memlet_test.py | jnice-81/dace | 5211794a2d17b7189037ac485ab0b292fb02aa0d | [
"BSD-3-Clause"
] | 227 | 2019-03-15T23:39:06.000Z | 2022-03-30T07:49:08.000Z | tests/codegen/dynamic_memlet_test.py | jnice-81/dace | 5211794a2d17b7189037ac485ab0b292fb02aa0d | [
"BSD-3-Clause"
] | 834 | 2019-07-31T22:49:31.000Z | 2022-03-28T14:01:32.000Z | tests/codegen/dynamic_memlet_test.py | jnice-81/dace | 5211794a2d17b7189037ac485ab0b292fb02aa0d | [
"BSD-3-Clause"
] | 64 | 2019-03-19T05:40:37.000Z | 2022-03-11T15:02:42.000Z | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
""" Tests dereferencing issues with tasklets that use dynamic memlets. """
import dace
import numpy as np
def test_dynamic_memlets():
""" Tests dynamic memlet dereferencing on one value. """
sdfg = dace.SDFG('test')
state = sdfg.a... | 40.397727 | 78 | 0.513924 | 434 | 3,555 | 4.032258 | 0.209677 | 0.064 | 0.041143 | 0.051429 | 0.781143 | 0.776 | 0.776 | 0.776 | 0.776 | 0.776 | 0 | 0.036874 | 0.359212 | 3,555 | 87 | 79 | 40.862069 | 0.731343 | 0.077918 | 0 | 0.847222 | 0 | 0 | 0.073035 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8cd913023fa7eb33f0789d3e525770286562b326 | 44 | py | Python | CodeWars/8 Kyu/You only need one - Beginner.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/You only need one - Beginner.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/You only need one - Beginner.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def check(seq, elem):
return elem in seq | 22 | 22 | 0.681818 | 8 | 44 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 44 | 2 | 22 | 22 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
50e549dbb667969d62fe6635239f1df47a35cf03 | 161 | py | Python | freshdi/freshdi/doctype/news_comment/test_news_comment.py | JackyLN/demo-freshdi | 343b11a28a4ff4bd3a8970c9e6406841bc7fbb85 | [
"MIT"
] | null | null | null | freshdi/freshdi/doctype/news_comment/test_news_comment.py | JackyLN/demo-freshdi | 343b11a28a4ff4bd3a8970c9e6406841bc7fbb85 | [
"MIT"
] | null | null | null | freshdi/freshdi/doctype/news_comment/test_news_comment.py | JackyLN/demo-freshdi | 343b11a28a4ff4bd3a8970c9e6406841bc7fbb85 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, lenghia1991@gmail.com and Contributors
# See license.txt
# import frappe
import unittest
class TestNewsComment(unittest.TestCase):
pass
| 17.888889 | 60 | 0.78882 | 20 | 161 | 6.35 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.130435 | 161 | 8 | 61 | 20.125 | 0.85 | 0.546584 | 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 |
0fa3d819fae5ba6bd96870709961580611d98916 | 176 | py | Python | 25/02/all.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | 25/02/all.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | 46 | 2017-06-30T22:19:07.000Z | 2017-07-31T22:51:31.000Z | 25/02/all.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | print(all([]))
print(all([True, True]))
print(all([True, False]))
print(all([False, False]))
print()
print(all([1]))
print(all(['a']))
print(all([None]))
print(all([1, None]))
| 17.6 | 26 | 0.607955 | 28 | 176 | 3.821429 | 0.25 | 0.598131 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.073864 | 176 | 9 | 27 | 19.555556 | 0.644172 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0ffa4ca75389c0caa9664d1f69477202f5caf48c | 15,587 | py | Python | src/openprocurement/planning/api/tests/plan_status.py | pontostroy/openprocurement.api | 6651ef29413d155c83f893ee64a611cf75f4daaf | [
"Apache-2.0"
] | null | null | null | src/openprocurement/planning/api/tests/plan_status.py | pontostroy/openprocurement.api | 6651ef29413d155c83f893ee64a611cf75f4daaf | [
"Apache-2.0"
] | 2 | 2021-03-25T23:33:30.000Z | 2022-03-21T22:18:19.000Z | src/openprocurement/planning/api/tests/plan_status.py | scrubele/prozorro-testing | 42b93ea2f25d8cc40e66c596f582c7c05e2a9d76 | [
"Apache-2.0"
] | 1 | 2020-08-20T06:09:14.000Z | 2020-08-20T06:09:14.000Z | # -*- coding: utf-8 -*-
from openprocurement.planning.api.tests.base import app, singleton_app, test_plan_data, generate_docservice_url
from copy import deepcopy
import pytest
def test_plan_default_status(app):
app.authorization = ("Basic", ("broker", "broker"))
test_data = deepcopy(test_plan_data)
test_... | 36.164733 | 118 | 0.587477 | 1,767 | 15,587 | 5.03056 | 0.09451 | 0.089099 | 0.082799 | 0.066824 | 0.796603 | 0.775003 | 0.748453 | 0.734278 | 0.700979 | 0.695241 | 0 | 0.010174 | 0.224354 | 15,587 | 430 | 119 | 36.248837 | 0.725062 | 0.012318 | 0 | 0.617729 | 1 | 0 | 0.254797 | 0.039225 | 0 | 0 | 0 | 0 | 0.180055 | 1 | 0.036011 | false | 0 | 0.00831 | 0 | 0.044321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba18d9928ea3223c29859f8c9079052fcd44f5d3 | 84 | py | Python | src/word_segmentation/__init__.py | ruanchaves/word_segmentation | d9ae6cf2c00c512015fd38ec21007d5ed594084c | [
"MIT"
] | 1 | 2020-05-21T12:47:20.000Z | 2020-05-21T12:47:20.000Z | src/word_segmentation/__init__.py | ruanchaves/word_segmentation | d9ae6cf2c00c512015fd38ec21007d5ed594084c | [
"MIT"
] | 4 | 2020-06-03T21:42:36.000Z | 2021-06-08T21:43:11.000Z | src/word_segmentation/__init__.py | ruanchaves/word_segmentation | d9ae6cf2c00c512015fd38ec21007d5ed594084c | [
"MIT"
] | null | null | null | from .segmenter import *
from .argument_classes import *
from .translator import * | 28 | 32 | 0.77381 | 10 | 84 | 6.4 | 0.6 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 3 | 33 | 28 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba2231727bd95dc008df8f656a8fef0187df948d | 43,796 | py | Python | lib/OntologyAPI/OntologyAPIImpl.py | slebras/ontology_api | 92a2aaf04d69eff45c9a9ff26afdd17e1fb962a0 | [
"MIT"
] | null | null | null | lib/OntologyAPI/OntologyAPIImpl.py | slebras/ontology_api | 92a2aaf04d69eff45c9a9ff26afdd17e1fb962a0 | [
"MIT"
] | null | null | null | lib/OntologyAPI/OntologyAPIImpl.py | slebras/ontology_api | 92a2aaf04d69eff45c9a9ff26afdd17e1fb962a0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#BEGIN_HEADER
import logging
import re
from OntologyAPI.utils import re_api, misc
#END_HEADER
class OntologyAPI:
'''
Module Name:
OntologyAPI
Module Description:
A KBase module: OntologyAPI
'''
######## WARNING FOR GEVENT USERS ####### noqa
# Since asynchrono... | 52.89372 | 108 | 0.626792 | 5,000 | 43,796 | 5.3958 | 0.0544 | 0.019793 | 0.038919 | 0.035287 | 0.864154 | 0.836651 | 0.82112 | 0.811668 | 0.80559 | 0.802068 | 0 | 0.010998 | 0.283747 | 43,796 | 827 | 109 | 52.957678 | 0.849055 | 0.559092 | 0 | 0.607273 | 0 | 0 | 0.200136 | 0.038638 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065455 | false | 0.003636 | 0.010909 | 0 | 0.152727 | 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 |
ba285978c1b9f6078cf6e157071b628e760cf0f9 | 170 | py | Python | docker-files/sovrin_config.py | sovrin-foundation/old-sovrin | d4e705054b7252c62fea00114060035c6eb314a4 | [
"Apache-2.0"
] | 3 | 2017-07-19T14:26:31.000Z | 2020-05-16T16:09:37.000Z | docker-files/sovrin_config.py | sovrin-foundation/old-sovrin | d4e705054b7252c62fea00114060035c6eb314a4 | [
"Apache-2.0"
] | null | null | null | docker-files/sovrin_config.py | sovrin-foundation/old-sovrin | d4e705054b7252c62fea00114060035c6eb314a4 | [
"Apache-2.0"
] | 3 | 2017-10-28T08:19:00.000Z | 2021-06-06T10:48:55.000Z | OrientDB = {
"user": "sovrin",
"password": "password",
"startScript": "/opt/orientdb/bin/server.sh",
"shutdownScript": "/opt/orientdb/bin/shutdown.sh"
}
| 21.25 | 53 | 0.617647 | 17 | 170 | 6.176471 | 0.647059 | 0.209524 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170588 | 170 | 7 | 54 | 24.285714 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0.633136 | 0.331361 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e8449930467f0ad72e5d030dbebffb88074f7745 | 209 | py | Python | src/part_2_automation/bdd_example/features/environment.py | AndreiHustiuc/IT_Factory_Course | c6f3e4a9282a1c19c0f52c79f0c81f026814a02a | [
"MIT"
] | null | null | null | src/part_2_automation/bdd_example/features/environment.py | AndreiHustiuc/IT_Factory_Course | c6f3e4a9282a1c19c0f52c79f0c81f026814a02a | [
"MIT"
] | null | null | null | src/part_2_automation/bdd_example/features/environment.py | AndreiHustiuc/IT_Factory_Course | c6f3e4a9282a1c19c0f52c79f0c81f026814a02a | [
"MIT"
] | 1 | 2022-03-16T10:39:03.000Z | 2022-03-16T10:39:03.000Z | def before_all(context):
print('Setup driver connection')
def after_all(contex):
print('Close driver connection')
# todo : test all hooks from https://www.tutorialspoint.com/behave/behave_hooks.htm
| 23.222222 | 83 | 0.746411 | 29 | 209 | 5.275862 | 0.724138 | 0.20915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138756 | 209 | 8 | 84 | 26.125 | 0.85 | 0.38756 | 0 | 0 | 0 | 0 | 0.365079 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e848001206b80d1922ba5ceb24fb55a4922ce369 | 131 | py | Python | src/utils/config.py | QingfengTang/YTSystem | 1b4540fd61e3f45fb4bf24ac670e3b0f0e41d701 | [
"Apache-2.0"
] | null | null | null | src/utils/config.py | QingfengTang/YTSystem | 1b4540fd61e3f45fb4bf24ac670e3b0f0e41d701 | [
"Apache-2.0"
] | null | null | null | src/utils/config.py | QingfengTang/YTSystem | 1b4540fd61e3f45fb4bf24ac670e3b0f0e41d701 | [
"Apache-2.0"
] | 1 | 2021-08-29T09:29:02.000Z | 2021-08-29T09:29:02.000Z | import os
# 基础路径 BASE_DIR = ././YTSystem/
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | 26.2 | 87 | 0.732824 | 21 | 131 | 4.285714 | 0.47619 | 0.266667 | 0.433333 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0.083969 | 131 | 5 | 87 | 26.2 | 0.75 | 0.221374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e869510e4da236f4cecfcea7e900adc462aa673d | 80 | py | Python | coms.py | michaelescue/Code | dc052d206f9df424c8826c61b2d854bb79e43b86 | [
"MIT"
] | null | null | null | coms.py | michaelescue/Code | dc052d206f9df424c8826c61b2d854bb79e43b86 | [
"MIT"
] | null | null | null | coms.py | michaelescue/Code | dc052d206f9df424c8826c61b2d854bb79e43b86 | [
"MIT"
] | null | null | null | import serial
import time
import os
from serial.serialwin32 import Serial
| 8 | 37 | 0.7875 | 11 | 80 | 5.727273 | 0.545455 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.2 | 80 | 9 | 38 | 8.888889 | 0.953125 | 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 |
e8a18ab18fd9ed5ca2e9cb66c5a7d3b6f5260a43 | 86 | py | Python | src/bgmtinygrail/db/__init__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | 5 | 2020-05-17T02:41:01.000Z | 2020-07-01T23:24:41.000Z | src/bgmtinygrail/db/__init__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | null | null | null | src/bgmtinygrail/db/__init__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | 1 | 2021-02-09T04:41:15.000Z | 2021-02-09T04:41:15.000Z | from . import _base
from . import accounts
from . import strategy
_base.create_all()
| 14.333333 | 22 | 0.767442 | 12 | 86 | 5.25 | 0.583333 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 5 | 23 | 17.2 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
e8ae464912e041af89c3fac54872a44833bc5b20 | 143 | py | Python | config_template.py | seaty6/forgotten-songs | 2395d3e20494e6081890ab3c625c4edc73cfc931 | [
"MIT"
] | null | null | null | config_template.py | seaty6/forgotten-songs | 2395d3e20494e6081890ab3c625c4edc73cfc931 | [
"MIT"
] | null | null | null | config_template.py | seaty6/forgotten-songs | 2395d3e20494e6081890ab3c625c4edc73cfc931 | [
"MIT"
] | null | null | null | last_fm_apikey = 'last_fm_apikey'
last_fm_secret = 'last_fm_secret'
last_fm_username = 'last_fm_username'
last_fm_password = 'last_fm_password' | 35.75 | 37 | 0.839161 | 24 | 143 | 4.333333 | 0.25 | 0.461538 | 0.230769 | 0.307692 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 143 | 4 | 38 | 35.75 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e8d104091654a0e42b8a6b6015a8caa66f518eeb | 236 | py | Python | home/admin.py | shreyjha2309/pixelvibe | abd478cfa1c1c26b21d5728b628577aac65feade | [
"MIT"
] | 35 | 2020-12-17T14:45:37.000Z | 2021-05-30T09:36:33.000Z | home/admin.py | shreyjha2309/pixelvibe | abd478cfa1c1c26b21d5728b628577aac65feade | [
"MIT"
] | 327 | 2020-12-17T14:37:13.000Z | 2021-06-12T06:52:09.000Z | home/admin.py | shreyjha2309/pixelvibe | abd478cfa1c1c26b21d5728b628577aac65feade | [
"MIT"
] | 116 | 2020-12-17T06:28:28.000Z | 2021-06-04T15:16:28.000Z | from django.contrib import admin
from import_export.admin import ImportExportModelAdmin
from home.models import Contact,Gallery
admin.site.register(Gallery)
@admin.register(Contact)
class ContactAdmin(ImportExportModelAdmin):
pass | 26.222222 | 54 | 0.84322 | 28 | 236 | 7.071429 | 0.571429 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 236 | 9 | 55 | 26.222222 | 0.925234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.571429 | 0 | 0.714286 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.