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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7d73b2a4018d3130d2248317a694e4aad2e63d08 | 43 | py | Python | info/modules/__init__.py | catplane/guguji | 9cb240ea2315c358bc6aa687f14f7f10f8d781ef | [
"MIT"
] | 1 | 2018-12-29T02:49:56.000Z | 2018-12-29T02:49:56.000Z | info/modules/__init__.py | catplane/guguji | 9cb240ea2315c358bc6aa687f14f7f10f8d781ef | [
"MIT"
] | null | null | null | info/modules/__init__.py | catplane/guguji | 9cb240ea2315c358bc6aa687f14f7f10f8d781ef | [
"MIT"
] | null | null | null | # modules包什么都内容都不做,只是一名字而已,具体的模块放到modules下面 | 43 | 43 | 0.906977 | 3 | 43 | 13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 43 | 1 | 43 | 43 | 0.928571 | 0.953488 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7db4c860392dc6924ca9684b6f5ec93cb75d087a | 208 | py | Python | esgd/__init__.py | crowsonkb/esgd | 3dd3008ae947b578f3491decb3c1e4a853a81a76 | [
"MIT"
] | 43 | 2022-01-23T21:05:36.000Z | 2022-02-20T19:57:31.000Z | esgd/__init__.py | crowsonkb/esgd | 3dd3008ae947b578f3491decb3c1e4a853a81a76 | [
"MIT"
] | null | null | null | esgd/__init__.py | crowsonkb/esgd | 3dd3008ae947b578f3491decb3c1e4a853a81a76 | [
"MIT"
] | 3 | 2022-01-24T09:06:15.000Z | 2022-01-27T15:52:30.000Z | """ESGD-M (ESGD from "Equilibrated adaptive learning rates for non-convex optimization"
with quasi-hyperbolic momentum from "Quasi-hyperbolic momentum and Adam for deep
learning".
"""
from .esgd import ESGD
| 29.714286 | 87 | 0.788462 | 29 | 208 | 5.655172 | 0.655172 | 0.182927 | 0.280488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129808 | 208 | 6 | 88 | 34.666667 | 0.906077 | 0.846154 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
81787f261fa41c0db83d394568e84fb9f5073472 | 143 | py | Python | pyspj/models/simple.py | HansBug/pyspj | ed776cf7d2d1766ee4c2152221d1d3dbdd18d93a | [
"Apache-2.0"
] | null | null | null | pyspj/models/simple.py | HansBug/pyspj | ed776cf7d2d1766ee4c2152221d1d3dbdd18d93a | [
"Apache-2.0"
] | null | null | null | pyspj/models/simple.py | HansBug/pyspj | ed776cf7d2d1766ee4c2152221d1d3dbdd18d93a | [
"Apache-2.0"
] | null | null | null | from .base import SPJResult
class SimpleSPJResult(SPJResult):
"""
Overview:
Result of simple special judge.
"""
pass
| 14.3 | 39 | 0.629371 | 14 | 143 | 6.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286713 | 143 | 9 | 40 | 15.888889 | 0.882353 | 0.314685 | 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 |
81b7fb577abf52c2673da948b166f1496d130134 | 88 | py | Python | test.py | jrderuiter/snakemake-rnaseq-star-featurecounts | b10a44ee1719cbddfd58d9cd5c4d1df63dbb677d | [
"MIT"
] | 8 | 2018-04-26T17:18:18.000Z | 2021-09-14T20:44:34.000Z | test.py | jrderuiter/snakemake-rnaseq-star-featurecounts | b10a44ee1719cbddfd58d9cd5c4d1df63dbb677d | [
"MIT"
] | null | null | null | test.py | jrderuiter/snakemake-rnaseq-star-featurecounts | b10a44ee1719cbddfd58d9cd5c4d1df63dbb677d | [
"MIT"
] | 7 | 2017-08-23T16:40:24.000Z | 2021-09-14T20:45:15.000Z | import subprocess
def test_pipeline():
subprocess.check_call(["snakemake", "-n"])
| 14.666667 | 46 | 0.704545 | 10 | 88 | 6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 5 | 47 | 17.6 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 |
81e5df593af3a5c58794926509de452996e507bc | 66 | py | Python | pixelsort/constants.py | drosoCode/NotSoBot | 3c4b809fce75151cae0059ba8cfca68996147155 | [
"MIT"
] | null | null | null | pixelsort/constants.py | drosoCode/NotSoBot | 3c4b809fce75151cae0059ba8cfca68996147155 | [
"MIT"
] | null | null | null | pixelsort/constants.py | drosoCode/NotSoBot | 3c4b809fce75151cae0059ba8cfca68996147155 | [
"MIT"
] | 1 | 2020-11-05T07:34:16.000Z | 2020-11-05T07:34:16.000Z | black_pixel = (0, 0, 0, 255)
white_pixel = (255, 255, 255, 255)
| 22 | 35 | 0.606061 | 12 | 66 | 3.166667 | 0.416667 | 0.473684 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0.212121 | 66 | 2 | 36 | 33 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c49aa61469ba7cb04aacdbe06416615a25687ae5 | 4,692 | py | Python | tests/backends/test_local.py | triagemd/stored | a14ba2ed1d646847b37e3dab5c54cac98f33467e | [
"MIT"
] | 3 | 2017-09-29T23:53:20.000Z | 2019-08-29T17:22:24.000Z | tests/backends/test_local.py | triagemd/stored | a14ba2ed1d646847b37e3dab5c54cac98f33467e | [
"MIT"
] | 3 | 2017-09-05T02:10:20.000Z | 2018-02-20T21:31:16.000Z | tests/backends/test_local.py | triagemd/stored | a14ba2ed1d646847b37e3dab5c54cac98f33467e | [
"MIT"
] | null | null | null | import pytest
import os
from backports.tempfile import TemporaryDirectory
from stored.backends.local import LocalFileStorage
@pytest.fixture
def sample_local_path():
return 'tests/files/foo.tar.gz'
def touch(path):
with open(path, 'a'):
os.utime(path, None)
def test_sync_to_file(temp_dir, sample... | 36.372093 | 77 | 0.716539 | 654 | 4,692 | 4.900612 | 0.097859 | 0.087363 | 0.068643 | 0.056786 | 0.832137 | 0.79532 | 0.762871 | 0.762871 | 0.762871 | 0.74103 | 0 | 0.001989 | 0.142583 | 4,692 | 128 | 78 | 36.65625 | 0.794681 | 0 | 0 | 0.572917 | 0 | 0 | 0.093564 | 0.009165 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.15625 | false | 0 | 0.041667 | 0.010417 | 0.208333 | 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 |
c4b5103dd2e39ec6db3de9b5fdd5b3a9a63aa7fc | 6,657 | py | Python | Supported Languages/Python/smash/controllers/cdn.py | SMASH-INC/API | d0679f199f786aa24f0510df078b4318c27dcc0f | [
"MIT"
] | null | null | null | Supported Languages/Python/smash/controllers/cdn.py | SMASH-INC/API | d0679f199f786aa24f0510df078b4318c27dcc0f | [
"MIT"
] | null | null | null | Supported Languages/Python/smash/controllers/cdn.py | SMASH-INC/API | d0679f199f786aa24f0510df078b4318c27dcc0f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
smash.controllers.cdn
This file was automatically generated for SMASH by SMASH v2.0 ( https://smashlabs.io ).
"""
import logging
from .base_controller import BaseController
from ..api_helper import APIHelper
from ..configuration import Configuration
from ..http.auth.custom_auth im... | 41.60625 | 111 | 0.609434 | 750 | 6,657 | 5.224 | 0.218667 | 0.038285 | 0.042879 | 0.017866 | 0.778458 | 0.740684 | 0.740684 | 0.740684 | 0.740684 | 0.729964 | 0 | 0.003322 | 0.321616 | 6,657 | 159 | 112 | 41.867925 | 0.86426 | 0.339192 | 0 | 0.422535 | 1 | 0 | 0.151111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.098592 | 0 | 0.211268 | 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 |
c4c7afb9c3cba1c0599fd5d81c4875b515e64ae3 | 132 | py | Python | nodeodm_proxy/api.py | IS-AgroSmart/MVP | b347e7c846a9a29584a6baee0b825381d5bc62a3 | [
"CNRI-Python"
] | null | null | null | nodeodm_proxy/api.py | IS-AgroSmart/MVP | b347e7c846a9a29584a6baee0b825381d5bc62a3 | [
"CNRI-Python"
] | 140 | 2020-01-21T15:42:29.000Z | 2021-08-21T18:04:19.000Z | nodeodm_proxy/api.py | IS-AgroSmart/MVP | b347e7c846a9a29584a6baee0b825381d5bc62a3 | [
"CNRI-Python"
] | 1 | 2019-12-13T21:47:57.000Z | 2019-12-13T21:47:57.000Z | import requests
def get_info(server_url, uuid, token=""):
return requests.get(f"{server_url}/task/{uuid}/info?token={token}")
| 22 | 71 | 0.712121 | 20 | 132 | 4.55 | 0.6 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 5 | 72 | 26.4 | 0.771186 | 0 | 0 | 0 | 0 | 0 | 0.325758 | 0.325758 | 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 |
c4d2485fbc5ae6587cd7254e490c40c9484a3160 | 19 | py | Python | zhusuan/mcmc/__init__.py | thuwzy/ZhuSuan-PyTorch | 471e4d401a6edce07312b01b2b76fa2c56b15c0f | [
"MIT"
] | 12 | 2021-08-11T10:28:21.000Z | 2022-03-12T14:20:02.000Z | zhusuan/mcmc/__init__.py | thu-ml/Zhusuan-Jittor | e73c6e3081afde305b9caba80858543abf168466 | [
"MIT"
] | 1 | 2021-07-29T08:50:00.000Z | 2021-07-29T08:50:00.000Z | zhusuan/mcmc/__init__.py | thu-ml/Zhusuan-Jittor | e73c6e3081afde305b9caba80858543abf168466 | [
"MIT"
] | 2 | 2021-08-17T12:05:15.000Z | 2022-01-12T09:47:49.000Z | from .SGLD import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4ebc0e6cbe35e3af92007f0fa6d696c2b981252 | 1,231 | py | Python | ros_ws/build/gripper_pkg/cmake/gripper_pkg-genmsg-context.py | isuru-m/ROSbot_Gripper_Project | c3d8f46461612a52137ff3f63db45cac20b5364f | [
"MIT"
] | null | null | null | ros_ws/build/gripper_pkg/cmake/gripper_pkg-genmsg-context.py | isuru-m/ROSbot_Gripper_Project | c3d8f46461612a52137ff3f63db45cac20b5364f | [
"MIT"
] | null | null | null | ros_ws/build/gripper_pkg/cmake/gripper_pkg-genmsg-context.py | isuru-m/ROSbot_Gripper_Project | c3d8f46461612a52137ff3f63db45cac20b5364f | [
"MIT"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/husarion/ros_ws/devel/share/gripper_pkg/msg/stepActionAction.msg;/home/husarion/ros_ws/devel/share/gripper_pkg/msg/stepActionActionGoal.msg;/home/husarion/ros_ws/devel/share/gripper_pkg/msg/stepActionActionResult.msg;/home/husarion/ros_ws/devel/... | 102.583333 | 531 | 0.824533 | 186 | 1,231 | 5.22043 | 0.317204 | 0.123584 | 0.15448 | 0.175077 | 0.467559 | 0.416066 | 0.416066 | 0.416066 | 0.348095 | 0.265705 | 0 | 0 | 0.02762 | 1,231 | 11 | 532 | 111.909091 | 0.811195 | 0.039805 | 0 | 0 | 1 | 0.333333 | 0.827966 | 0.802542 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f22170f6de31a162609729519ce25a0a6651840e | 165 | py | Python | scripts/registry_json_blob.py | riddopic/opta | 25fa6435fdc7e2ea9c7963ed74100fffb0743063 | [
"Apache-2.0"
] | 595 | 2021-05-21T22:30:48.000Z | 2022-03-31T15:40:25.000Z | scripts/registry_json_blob.py | riddopic/opta | 25fa6435fdc7e2ea9c7963ed74100fffb0743063 | [
"Apache-2.0"
] | 463 | 2021-05-24T21:32:59.000Z | 2022-03-31T17:12:33.000Z | scripts/registry_json_blob.py | riddopic/opta | 25fa6435fdc7e2ea9c7963ed74100fffb0743063 | [
"Apache-2.0"
] | 29 | 2021-05-21T22:27:52.000Z | 2022-03-28T16:43:45.000Z | #!/usr/bin/env python
import json
from opta.registry import make_registry_dict
if __name__ == "__main__":
print(json.dumps(make_registry_dict(), indent=True))
| 20.625 | 56 | 0.757576 | 24 | 165 | 4.708333 | 0.75 | 0.212389 | 0.283186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 165 | 7 | 57 | 23.571429 | 0.77931 | 0.121212 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1efedb59433560ea1c04ad6b7e4c290dc8c2a51b | 12,507 | py | Python | neutron_taas/tests/unit/services/drivers/test_linux_sriov_utils.py | openstack/tap-as-a-service | c9d046843565b3af514169c26e5893dbe86a9b98 | [
"Apache-2.0"
] | 68 | 2015-10-18T02:57:10.000Z | 2022-02-22T11:33:25.000Z | neutron_taas/tests/unit/services/drivers/test_linux_sriov_utils.py | openstack/tap-as-a-service | c9d046843565b3af514169c26e5893dbe86a9b98 | [
"Apache-2.0"
] | null | null | null | neutron_taas/tests/unit/services/drivers/test_linux_sriov_utils.py | openstack/tap-as-a-service | c9d046843565b3af514169c26e5893dbe86a9b98 | [
"Apache-2.0"
] | 27 | 2015-11-11T02:00:35.000Z | 2020-03-07T03:36:33.000Z | # Copyright (C) 2018 AT&T
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, softwar... | 46.322222 | 78 | 0.654753 | 1,688 | 12,507 | 4.449052 | 0.130332 | 0.061784 | 0.096937 | 0.095872 | 0.824767 | 0.810386 | 0.794141 | 0.786019 | 0.751798 | 0.751798 | 0 | 0.038632 | 0.225953 | 12,507 | 269 | 79 | 46.494424 | 0.737114 | 0.048853 | 0 | 0.616071 | 0 | 0 | 0.110784 | 0.014564 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.102679 | false | 0 | 0.03125 | 0 | 0.142857 | 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 |
48644fb93e1d67034c937d32ae4552355f13beaf | 211 | py | Python | myvenv/lib/python3.5/site-packages/crispy_forms/tests/compatibility.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 1 | 2017-10-31T02:37:37.000Z | 2017-10-31T02:37:37.000Z | myvenv/lib/python3.5/site-packages/crispy_forms/tests/compatibility.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 6 | 2020-06-05T18:44:19.000Z | 2022-01-13T00:48:56.000Z | myvenv/lib/python3.5/site-packages/crispy_forms/tests/compatibility.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 15 | 2017-01-12T10:43:13.000Z | 2019-04-19T08:28:46.000Z | # coding: utf-8
try:
from django.template.loader import get_template_from_string
except ImportError:
from django.template import Engine
get_template_from_string = Engine.get_default().from_string
| 21.1 | 63 | 0.78673 | 29 | 211 | 5.448276 | 0.517241 | 0.189873 | 0.227848 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.151659 | 211 | 9 | 64 | 23.444444 | 0.877095 | 0.061611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f82579a39f7dcd881b76713f592babdd8f68995 | 2,731 | py | Python | cjaasPythonClient/apis/swagger_client/__init__.py | kat-mulberries/cjaas-sdk | 11dc39c9e2058d1a6c900ad0ef4236a984f8aac5 | [
"Apache-2.0"
] | 4 | 2021-04-28T16:33:09.000Z | 2022-01-12T00:19:06.000Z | cjaasPythonClient/apis/swagger_client/__init__.py | kat-mulberries/cjaas-sdk | 11dc39c9e2058d1a6c900ad0ef4236a984f8aac5 | [
"Apache-2.0"
] | 2 | 2021-07-06T15:35:59.000Z | 2021-12-16T16:52:34.000Z | cjaasPythonClient/apis/swagger_client/__init__.py | kat-mulberries/cjaas-sdk | 11dc39c9e2058d1a6c900ad0ef4236a984f8aac5 | [
"Apache-2.0"
] | 7 | 2021-05-13T20:15:21.000Z | 2021-12-16T10:28:02.000Z | # coding: utf-8
# flake8: noqa
"""
Azure Functions OpenAPI Extension
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __futur... | 55.734694 | 138 | 0.894544 | 328 | 2,731 | 7.134146 | 0.280488 | 0.136325 | 0.210684 | 0.255556 | 0.37094 | 0.25641 | 0.17265 | 0.086325 | 0.044444 | 0 | 0 | 0.003152 | 0.07067 | 2,731 | 48 | 139 | 56.895833 | 0.918834 | 0.128158 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f82bee414cd56e9e21dc0f8ac4556aa4c204f44 | 189 | py | Python | riker/permission/__init__.py | A-UNDERSCORE-D/riker | 5257d6113a614e54696068b758275e59f71ddf51 | [
"0BSD"
] | null | null | null | riker/permission/__init__.py | A-UNDERSCORE-D/riker | 5257d6113a614e54696068b758275e59f71ddf51 | [
"0BSD"
] | null | null | null | riker/permission/__init__.py | A-UNDERSCORE-D/riker | 5257d6113a614e54696068b758275e59f71ddf51 | [
"0BSD"
] | null | null | null | """Permission handler implementations."""
__all__ = ["SimplePermissionHandler", "BasePermissionHandler"]
from .base import BasePermissionHandler
from .simple import SimplePermissionHandler
| 37.8 | 62 | 0.830688 | 14 | 189 | 10.928571 | 0.714286 | 0.326797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 189 | 4 | 63 | 47.25 | 0.87931 | 0.185185 | 0 | 0 | 0 | 0 | 0.297297 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fc57d1e985f3cdbb4a763ddd3fc75868ee76475 | 2,578 | py | Python | pitch_seq.py | Shinichi-Nakagawa/retrosheet-app-example | 10544b7936c0a2dd865efc0c59d258640a88e76b | [
"MIT"
] | null | null | null | pitch_seq.py | Shinichi-Nakagawa/retrosheet-app-example | 10544b7936c0a2dd865efc0c59d258640a88e76b | [
"MIT"
] | 1 | 2015-04-11T02:30:17.000Z | 2015-04-11T08:33:28.000Z | pitch_seq.py | Shinichi-Nakagawa/retrosheet-app-example | 10544b7936c0a2dd865efc0c59d258640a88e76b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'Shinichi Nakagawa'
'''
+ following pickoff throw by the catcher
* indicates the following pitch was blocked by the catcher
. marker for play not involving the batter
1 pickoff throw to first
2 pickoff throw to second
3 pickoff t... | 27.136842 | 68 | 0.579131 | 360 | 2,578 | 4.119444 | 0.291667 | 0.072825 | 0.04855 | 0.040459 | 0.896156 | 0.896156 | 0.896156 | 0.896156 | 0.896156 | 0.896156 | 0 | 0.005376 | 0.27851 | 2,578 | 94 | 69 | 27.425532 | 0.791935 | 0.016292 | 0 | 0.280702 | 0 | 0 | 0.596989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
6fd696bba3dc79c78cb923d85a355716c417d629 | 4,999 | py | Python | apps/fifth_edition/tests/test_physical_attack_view_post.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | null | null | null | apps/fifth_edition/tests/test_physical_attack_view_post.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | null | null | null | apps/fifth_edition/tests/test_physical_attack_view_post.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | null | null | null | from apps.fifth_edition.models import AbilityScore, PhysicalAttack
from django.test import TestCase
from rest_framework.test import APIClient
class TestPhysicalAttackViewPOST(TestCase):
"""
Test class to verify functionality of the PhysicalAttackViewPOST API view.
"""
def setUp(self):
"""
Method to create pr... | 30.29697 | 86 | 0.702941 | 662 | 4,999 | 5.119335 | 0.164653 | 0.132783 | 0.141635 | 0.028327 | 0.845382 | 0.823842 | 0.809973 | 0.792269 | 0.792269 | 0.792269 | 0 | 0.019603 | 0.153031 | 4,999 | 164 | 87 | 30.481707 | 0.780822 | 0.109822 | 0 | 0.688525 | 0 | 0 | 0.250344 | 0.038514 | 0 | 0 | 0 | 0 | 0.245902 | 1 | 0.04918 | false | 0 | 0.02459 | 0 | 0.081967 | 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 |
6fd7d3edae2156a4cd43e5c3dbadd7bb392d47dd | 322 | py | Python | .modules/.metagoofil/hachoir_parser/container/__init__.py | termux-one/EasY_HaCk | 0a8d09ca4b126b027b6842e02fa0c29d8250e090 | [
"Apache-2.0"
] | 1,103 | 2018-04-20T14:08:11.000Z | 2022-03-29T06:22:43.000Z | .modules/.metagoofil/hachoir_parser/container/__init__.py | sshourya948/EasY_HaCk | 0a8d09ca4b126b027b6842e02fa0c29d8250e090 | [
"Apache-2.0"
] | 236 | 2016-11-20T07:56:15.000Z | 2017-04-12T12:10:00.000Z | .modules/.metagoofil/hachoir_parser/container/__init__.py | sshourya948/EasY_HaCk | 0a8d09ca4b126b027b6842e02fa0c29d8250e090 | [
"Apache-2.0"
] | 262 | 2017-09-16T22:15:50.000Z | 2022-03-31T00:38:42.000Z | from hachoir_parser.container.asn1 import ASN1File
from hachoir_parser.container.mkv import MkvFile
from hachoir_parser.container.ogg import OggFile, OggStream
from hachoir_parser.container.riff import RiffFile
from hachoir_parser.container.swf import SwfFile
from hachoir_parser.container.realmedia import RealMediaFile... | 40.25 | 60 | 0.878882 | 43 | 322 | 6.44186 | 0.418605 | 0.238267 | 0.368231 | 0.563177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.080745 | 322 | 7 | 61 | 46 | 0.929054 | 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 | 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 |
6fed0a496ec55d4b58d0957ae461e237722314dc | 3,695 | py | Python | code/classification/sequence_model/pre-process.py | msra-nlc/MSParS-V2.0- | 3e215b5f6ef47040275b3612fd2e1d5591909039 | [
"Apache-2.0"
] | 11 | 2019-11-22T16:46:36.000Z | 2021-07-17T04:06:14.000Z | code/classification/sequence_model/pre-process.py | msra-nlc/MSParS-V2.0- | 3e215b5f6ef47040275b3612fd2e1d5591909039 | [
"Apache-2.0"
] | 3 | 2019-11-11T05:40:10.000Z | 2020-03-05T14:04:38.000Z | code/classification/sequence_model/pre-process.py | msra-nlc/MSParS-V2.0- | 3e215b5f6ef47040275b3612fd2e1d5591909039 | [
"Apache-2.0"
] | 3 | 2020-04-04T12:21:52.000Z | 2022-02-27T13:29:45.000Z | python3 preprocess.py -train_src single-turn-data/src-train.txt -train_tgt single-turn-data/tgt-train.txt -valid_src single-turn-data/src-test.txt -valid_tgt single-turn-data/tgt-test.txt -save_data single-turn-data/demo -dynamic_dict
python3 preprocess.py -train_src multi-turn-data/src-train.txt -train_tgt multi-turn-... | 246.333333 | 284 | 0.820839 | 662 | 3,695 | 4.454683 | 0.034743 | 0.189895 | 0.166158 | 0.113937 | 1 | 1 | 0.992879 | 0.95117 | 0.349949 | 0.349949 | 0 | 0.003985 | 0.049256 | 3,695 | 14 | 285 | 263.928571 | 0.835468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d229cddbb1af311c6b47536b51140e0b22c7dd1a | 3,843 | py | Python | shenfun/optimization/numba/pdma.py | spectralDNS/shenfun | 956633aa0f1638db5ebdc497ff68a438aa22b932 | [
"BSD-2-Clause"
] | 138 | 2017-06-17T13:30:27.000Z | 2022-03-20T02:33:47.000Z | shenfun/optimization/numba/pdma.py | spectralDNS/shenfun | 956633aa0f1638db5ebdc497ff68a438aa22b932 | [
"BSD-2-Clause"
] | 73 | 2017-05-16T06:53:04.000Z | 2022-02-04T10:40:44.000Z | shenfun/optimization/numba/pdma.py | spectralDNS/shenfun | 956633aa0f1638db5ebdc497ff68a438aa22b932 | [
"BSD-2-Clause"
] | 38 | 2018-01-31T14:37:01.000Z | 2022-03-31T15:07:27.000Z | import numba as nb
__all__ = ['PDMA_LU', 'PDMA_Solve',
'PDMA_inner_solve']
@nb.jit(nopython=True, fastmath=True, cache=True)
def PDMA_LU(data):
"""LU decomposition"""
a = data[0, :-4]
b = data[1, :-2]
d = data[2, :]
e = data[3, 2:]
f = data[4, 4:]
n = d.shape[0]
m = e.shape[... | 29.113636 | 93 | 0.433255 | 816 | 3,843 | 2.003676 | 0.0625 | 0.089908 | 0.023853 | 0.031804 | 0.832416 | 0.81896 | 0.81896 | 0.811621 | 0.777982 | 0.717431 | 0 | 0.061672 | 0.312256 | 3,843 | 131 | 94 | 29.335878 | 0.556943 | 0.004163 | 0 | 0.677966 | 0 | 0 | 0.008636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067797 | false | 0 | 0.008475 | 0 | 0.076271 | 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 |
d23bbbea824f64c900cdef027e2a2362355b004c | 138 | py | Python | openproblems/tasks/dimensionality_reduction/datasets/__init__.py | bendemeo/SingleCellOpenProblems | e4c009f8c232bdae4c9e20b8e435d0fe474b3daf | [
"MIT"
] | 134 | 2020-08-19T07:35:56.000Z | 2021-05-19T11:37:50.000Z | openproblems/tasks/dimensionality_reduction/datasets/__init__.py | bendemeo/SingleCellOpenProblems | e4c009f8c232bdae4c9e20b8e435d0fe474b3daf | [
"MIT"
] | 175 | 2020-08-17T15:26:06.000Z | 2021-05-14T11:03:46.000Z | openproblems/tasks/dimensionality_reduction/datasets/__init__.py | LuckyMD/SingleCellOpenProblems | 0ae39db494557e1dd9f28e59dda765527191eee1 | [
"MIT"
] | 46 | 2020-10-08T21:11:37.000Z | 2021-04-25T07:05:28.000Z | from .citeseq import citeseq_cbmc
from .human_blood_nestorowa2016 import human_blood_nestorowa2016
from .tenx_5k_pbmc import tenx_5k_pbmc
| 34.5 | 64 | 0.891304 | 21 | 138 | 5.428571 | 0.47619 | 0.175439 | 0.403509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0.086957 | 138 | 3 | 65 | 46 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d26a6be259c81bd570d7de118d632445e2612720 | 40 | py | Python | ner_api/user/__init__.py | rubiagatra/ner-suara-surabaya | b730ec7aa824d699fc0152e578388d76f40167ca | [
"MIT"
] | null | null | null | ner_api/user/__init__.py | rubiagatra/ner-suara-surabaya | b730ec7aa824d699fc0152e578388d76f40167ca | [
"MIT"
] | null | null | null | ner_api/user/__init__.py | rubiagatra/ner-suara-surabaya | b730ec7aa824d699fc0152e578388d76f40167ca | [
"MIT"
] | null | null | null | from ner_api.user.model import UserModel | 40 | 40 | 0.875 | 7 | 40 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96397c70a0e48229755af08abe9fd3927992b9f4 | 106 | py | Python | basic/package/m1.py | onezens/python | 73cdc22901a006751338d0145b6e120e55fdf80f | [
"MIT"
] | null | null | null | basic/package/m1.py | onezens/python | 73cdc22901a006751338d0145b6e120e55fdf80f | [
"MIT"
] | null | null | null | basic/package/m1.py | onezens/python | 73cdc22901a006751338d0145b6e120e55fdf80f | [
"MIT"
] | null | null | null |
def sayHello():
print('m1 sayHello : Hello world!')
def smile():
print('m1 smile starting ^_^ ......') | 17.666667 | 38 | 0.613208 | 13 | 106 | 4.923077 | 0.615385 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.160377 | 106 | 6 | 38 | 17.666667 | 0.696629 | 0 | 0 | 0 | 0 | 0 | 0.509434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9658e38ef791731dda256d5ab99679d36ad9e5dc | 47 | py | Python | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/python/test/__init__.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/python/test/__init__.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/python/test/__init__.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | from . data import *
from . test_case import *
| 15.666667 | 25 | 0.702128 | 7 | 47 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 2 | 26 | 23.5 | 0.864865 | 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 |
967e1ab43ee3b9f3985bc272e63667298d97a1e0 | 100 | py | Python | pysprint/core/__init__.py | Ptrskay3/PySprint | f90811970c66e8fadea1220c4c19bf95cdf33c9e | [
"MIT"
] | 13 | 2020-05-29T14:53:13.000Z | 2022-02-09T17:29:19.000Z | pysprint/core/__init__.py | Ptrskay3/Interferometry | f90811970c66e8fadea1220c4c19bf95cdf33c9e | [
"MIT"
] | 8 | 2019-10-14T18:23:26.000Z | 2021-09-14T16:42:27.000Z | pysprint/core/__init__.py | Ptrskay3/Interferometry | f90811970c66e8fadea1220c4c19bf95cdf33c9e | [
"MIT"
] | 1 | 2020-10-07T06:42:17.000Z | 2020-10-07T06:42:17.000Z | from .methods import *
from .bases import Dataset
from .callbacks import *
from .phase import Phase
| 20 | 26 | 0.78 | 14 | 100 | 5.571429 | 0.5 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 4 | 27 | 25 | 0.928571 | 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 |
96bca4f7f5af6960e714e9bccbf1c1c06d6b6263 | 27 | py | Python | test_lab_TSPP.py | VicktorKu/projects | 8013769823ec0c832df359de0d065a9f23bb0c73 | [
"Unlicense"
] | null | null | null | test_lab_TSPP.py | VicktorKu/projects | 8013769823ec0c832df359de0d065a9f23bb0c73 | [
"Unlicense"
] | null | null | null | test_lab_TSPP.py | VicktorKu/projects | 8013769823ec0c832df359de0d065a9f23bb0c73 | [
"Unlicense"
] | null | null | null | print('Its my first repo')
| 13.5 | 26 | 0.703704 | 5 | 27 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 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 |
7398e4cda97bad1f78b87058eea35ffb5cfe984d | 24 | py | Python | Cartwheel/cartwheel-3d/Python/App/KeyframeEditor/__init__.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | Cartwheel/cartwheel-3d/Python/App/KeyframeEditor/__init__.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | Cartwheel/cartwheel-3d/Python/App/KeyframeEditor/__init__.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | from Model import Model
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73aeac61ba3cfb95292c0cbb0f779c9c9483463b | 83 | py | Python | modules/trainer/__init__.py | nobodykid/sinkhorngan-positive | 811f697da4fe02599fc7f0e1bdf77c89d183aba4 | [
"MIT"
] | null | null | null | modules/trainer/__init__.py | nobodykid/sinkhorngan-positive | 811f697da4fe02599fc7f0e1bdf77c89d183aba4 | [
"MIT"
] | null | null | null | modules/trainer/__init__.py | nobodykid/sinkhorngan-positive | 811f697da4fe02599fc7f0e1bdf77c89d183aba4 | [
"MIT"
] | null | null | null | from . import criterion
from . import post
from . import pre
from . import updater
| 16.6 | 23 | 0.759036 | 12 | 83 | 5.25 | 0.5 | 0.634921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 4 | 24 | 20.75 | 0.940299 | 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 |
73b3adfc36f655eeab2be993013ff12178233f5e | 6,026 | py | Python | tttcls_google_gpc/metrics.py | lauraset/Coarse-to-fine-weakly-supervised-GPC-segmentation | 934e5d9b0a64cc428095e550227987aa040b6791 | [
"MIT"
] | null | null | null | tttcls_google_gpc/metrics.py | lauraset/Coarse-to-fine-weakly-supervised-GPC-segmentation | 934e5d9b0a64cc428095e550227987aa040b6791 | [
"MIT"
] | null | null | null | tttcls_google_gpc/metrics.py | lauraset/Coarse-to-fine-weakly-supervised-GPC-segmentation | 934e5d9b0a64cc428095e550227987aa040b6791 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
class ClassificationMetric(nn.Module):
def __init__(self, numClass, device='cpu'):
super().__init__()
self.numClass = numClass
self.device = device
self.reset(device)
# OA
def OverallAccuracy(self):
# return all class overall pixel... | 35.239766 | 95 | 0.605709 | 748 | 6,026 | 4.834225 | 0.195187 | 0.136615 | 0.048673 | 0.04646 | 0.802268 | 0.802268 | 0.802268 | 0.797566 | 0.797566 | 0.784845 | 0 | 0.021886 | 0.26452 | 6,026 | 170 | 96 | 35.447059 | 0.793998 | 0.242449 | 0 | 0.663793 | 0 | 0 | 0.017948 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 1 | 0.198276 | false | 0 | 0.017241 | 0 | 0.344828 | 0.043103 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73c2d14095e81af1bebc6a68bae21bbbbdcd5a96 | 122 | py | Python | codewof/programming/content/en/forest/initial.py | uccser-admin/programming-practice-prototype | 3af4c7d85308ac5bb35bb13be3ec18cac4eb8308 | [
"MIT"
] | null | null | null | codewof/programming/content/en/forest/initial.py | uccser-admin/programming-practice-prototype | 3af4c7d85308ac5bb35bb13be3ec18cac4eb8308 | [
"MIT"
] | null | null | null | codewof/programming/content/en/forest/initial.py | uccser-admin/programming-practice-prototype | 3af4c7d85308ac5bb35bb13be3ec18cac4eb8308 | [
"MIT"
] | 1 | 2018-04-12T23:58:35.000Z | 2018-04-12T23:58:35.000Z | def is_forest(items):
tree_count = items.count("tree")
tree_count = items.count("Tree")
return tree_count > 1
| 24.4 | 36 | 0.672131 | 18 | 122 | 4.333333 | 0.444444 | 0.346154 | 0.358974 | 0.487179 | 0.589744 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.196721 | 122 | 4 | 37 | 30.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73d21828989e131ea8093ac431ff9bdc6cf8d8ef | 1,182 | py | Python | pictures.py | Wefqi99/HangmanFinal2 | ba49fcc8fe626f82c80a847636218a220b18bb46 | [
"MIT"
] | null | null | null | pictures.py | Wefqi99/HangmanFinal2 | ba49fcc8fe626f82c80a847636218a220b18bb46 | [
"MIT"
] | null | null | null | pictures.py | Wefqi99/HangmanFinal2 | ba49fcc8fe626f82c80a847636218a220b18bb46 | [
"MIT"
] | null | null | null | pictures = [
'''
_____________________________
''',
'''
|
|
|
|
|
|
|
|_____________________________
''',
'''
|--------------
|
|
|
|
|
|
|_____________________________
''',
'''
... | 8.442857 | 30 | 0.232657 | 7 | 1,182 | 2 | 0.285714 | 0.714286 | 0.857143 | 0.857143 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.546531 | 1,182 | 139 | 31 | 8.503597 | 0.026119 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbc149d515e074a11e42433424211b0fa09084b1 | 33,381 | py | Python | models.py | DebasmitaGhose/Semantic-Segmentation | 6887e69130a8dedfe7c0006add08f2781fe44734 | [
"MIT"
] | 2 | 2018-05-27T13:10:44.000Z | 2018-05-30T05:53:40.000Z | models.py | DebasmitaGhose/Semantic-Segmentation | 6887e69130a8dedfe7c0006add08f2781fe44734 | [
"MIT"
] | null | null | null | models.py | DebasmitaGhose/Semantic-Segmentation | 6887e69130a8dedfe7c0006add08f2781fe44734 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from pylab import *
import os
import sys
from keras_contrib.applications import densenet
from keras.models import Model
from keras.regularizers import l2
from keras.layers import *
from keras.engine import Layer
from keras.applications.vgg16 import *
from ke... | 45.170501 | 216 | 0.611306 | 4,644 | 33,381 | 4.220069 | 0.069983 | 0.010409 | 0.037963 | 0.050617 | 0.842025 | 0.817022 | 0.794826 | 0.786713 | 0.778651 | 0.766354 | 0 | 0.074792 | 0.22375 | 33,381 | 739 | 217 | 45.170501 | 0.681538 | 0.087954 | 0 | 0.552475 | 0 | 0.00396 | 0.0906 | 0.013347 | 0 | 0 | 0 | 0.001353 | 0 | 1 | 0.021782 | false | 0 | 0.041584 | 0 | 0.089109 | 0.053465 | 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 |
83ed57495ff65b74269b0f735a5762572943dada | 41 | py | Python | backend/db/models/__init__.py | appheap/social-media-analyzer | 0f9da098bfb0b4f9eb38e0244aa3a168cf97d51c | [
"Apache-2.0"
] | 5 | 2021-09-11T22:01:15.000Z | 2022-03-16T21:33:42.000Z | backend/db/models/__init__.py | iamatlasss/social-media-analyzer | 429d1d2bbd8bfce80c50c5f8edda58f87ace668d | [
"Apache-2.0"
] | null | null | null | backend/db/models/__init__.py | iamatlasss/social-media-analyzer | 429d1d2bbd8bfce80c50c5f8edda58f87ace668d | [
"Apache-2.0"
] | 3 | 2022-01-18T11:06:22.000Z | 2022-02-26T13:39:28.000Z | from .base import *
from .media import *
| 13.666667 | 20 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.878788 | 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 |
83ed81f27b016a19f817452c268e6a6f8cad9de7 | 242 | py | Python | general/admin.py | VladaDidko/skill- | 861c08376e2bc9b9a5a44e3a8560324ee53ce2d0 | [
"Unlicense"
] | null | null | null | general/admin.py | VladaDidko/skill- | 861c08376e2bc9b9a5a44e3a8560324ee53ce2d0 | [
"Unlicense"
] | 18 | 2019-05-28T17:20:34.000Z | 2022-03-11T23:50:12.000Z | general/admin.py | VladaDidko/skill- | 861c08376e2bc9b9a5a44e3a8560324ee53ce2d0 | [
"Unlicense"
] | 3 | 2019-05-27T09:51:54.000Z | 2019-12-12T20:35:29.000Z | from django.contrib import admin
from blog.models import Category
from blog.models import Post
from users.models import Profile
# Register your models here.
admin.site.register(Category)
admin.site.register(Profile)
admin.site.register(Post) | 26.888889 | 32 | 0.826446 | 36 | 242 | 5.555556 | 0.416667 | 0.18 | 0.255 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 242 | 9 | 33 | 26.888889 | 0.917431 | 0.107438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
8606855bb23843453380234925e55fe9e43150f6 | 34 | py | Python | Session 7 - Python/Instructional Material/Class Examples/PyInstaller/TestBuild.py | dbowmans46/PracticalProgramming | e9fee468eee12625ce198d9a4f4c5ee735f5db90 | [
"MIT"
] | null | null | null | Session 7 - Python/Instructional Material/Class Examples/PyInstaller/TestBuild.py | dbowmans46/PracticalProgramming | e9fee468eee12625ce198d9a4f4c5ee735f5db90 | [
"MIT"
] | null | null | null | Session 7 - Python/Instructional Material/Class Examples/PyInstaller/TestBuild.py | dbowmans46/PracticalProgramming | e9fee468eee12625ce198d9a4f4c5ee735f5db90 | [
"MIT"
] | 1 | 2019-08-07T16:51:23.000Z | 2019-08-07T16:51:23.000Z | print("The build was successful")
| 17 | 33 | 0.764706 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 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 |
790af15b41bd54861264ce39f31388800d44dbd5 | 243 | py | Python | transformers_interpret/__init__.py | MichalMalyska/transformers-interpret | 878ec4b6928e2417a3ffe8499be52033938090f0 | [
"Apache-2.0"
] | 1 | 2021-07-06T21:07:49.000Z | 2021-07-06T21:07:49.000Z | transformers_interpret/__init__.py | MichalMalyska/transformers-interpret | 878ec4b6928e2417a3ffe8499be52033938090f0 | [
"Apache-2.0"
] | null | null | null | transformers_interpret/__init__.py | MichalMalyska/transformers-interpret | 878ec4b6928e2417a3ffe8499be52033938090f0 | [
"Apache-2.0"
] | null | null | null | from .attributions import Attributions, LIGAttributions
from .explainer import BaseExplainer
from .explainers.question_answering import QuestionAnsweringExplainer
from .explainers.sequence_classification import SequenceClassificationExplainer
| 48.6 | 79 | 0.901235 | 21 | 243 | 10.333333 | 0.619048 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069959 | 243 | 4 | 80 | 60.75 | 0.960177 | 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 |
f70cc5efd6ee30bf6e24e6413ae411d0d6938392 | 34 | py | Python | dataloader/__init__.py | sajith-rahim/transformer-classifier | 543562fc22a4ee3b224eaf44876449552026d2e5 | [
"Apache-2.0"
] | null | null | null | dataloader/__init__.py | sajith-rahim/transformer-classifier | 543562fc22a4ee3b224eaf44876449552026d2e5 | [
"Apache-2.0"
] | null | null | null | dataloader/__init__.py | sajith-rahim/transformer-classifier | 543562fc22a4ee3b224eaf44876449552026d2e5 | [
"Apache-2.0"
] | null | null | null | from .sentence_dataloader import * | 34 | 34 | 0.852941 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f70e3047e3f418e139848f3764890f8c70ffc0e6 | 23 | py | Python | __init__.py | marcusschiesser/all-intraday | 8879251896074b0a527d75baa8389a071a81d058 | [
"MIT"
] | 20 | 2020-02-08T06:41:41.000Z | 2022-01-06T08:41:01.000Z | __init__.py | marcusschiesser/all-intraday | 8879251896074b0a527d75baa8389a071a81d058 | [
"MIT"
] | null | null | null | __init__.py | marcusschiesser/all-intraday | 8879251896074b0a527d75baa8389a071a81d058 | [
"MIT"
] | 5 | 2020-01-15T06:21:49.000Z | 2021-02-14T16:57:26.000Z | from .intraday 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 |
f70e8a5e36b7b6fa9004e87414745e7ec78d75f6 | 96 | py | Python | venv/lib/python3.8/site-packages/keyring/backends/SecretService.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/keyring/backends/SecretService.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/keyring/backends/SecretService.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b7/df/1e/7980259571f5a43b5ac0c36215dfc4b1485986d14af13b40a821ae930f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f72d0fdb931b1dcc84a293aeef05fc7e649e1c49 | 23 | py | Python | prepack/__init__.py | CargoCodes/PreparePack | 3d1d3623c0c86ab02a92a567ed954fb37e18b8fa | [
"MIT"
] | null | null | null | prepack/__init__.py | CargoCodes/PreparePack | 3d1d3623c0c86ab02a92a567ed954fb37e18b8fa | [
"MIT"
] | null | null | null | prepack/__init__.py | CargoCodes/PreparePack | 3d1d3623c0c86ab02a92a567ed954fb37e18b8fa | [
"MIT"
] | null | null | null | from .prepack import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f730c43933f5c965f1163cbe92ea2e00c357ef48 | 115 | py | Python | glance/contrib/plugins/artifacts_sample/__init__.py | wkoathp/glance | eb0c47047ddc28371f546437118986ed904f41d3 | [
"Apache-2.0"
] | 3 | 2015-12-22T09:04:44.000Z | 2017-10-18T15:26:03.000Z | glance/contrib/plugins/artifacts_sample/__init__.py | wkoathp/glance | eb0c47047ddc28371f546437118986ed904f41d3 | [
"Apache-2.0"
] | null | null | null | glance/contrib/plugins/artifacts_sample/__init__.py | wkoathp/glance | eb0c47047ddc28371f546437118986ed904f41d3 | [
"Apache-2.0"
] | null | null | null | from v1 import artifact as art1
from v2 import artifact as art2
MY_ARTIFACT = [art1.MyArtifact, art2.MyArtifact]
| 19.166667 | 48 | 0.791304 | 18 | 115 | 5 | 0.555556 | 0.311111 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.156522 | 115 | 5 | 49 | 23 | 0.865979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f73cbf2bab99a7328feb35771cde3ea1764c3913 | 60 | py | Python | DIRE/neural_model/model/encoder.py | lukedram/DIRE | f2149bad5d655938bb682fddd33e6cd652f0bf4a | [
"MIT"
] | 43 | 2019-11-20T18:19:05.000Z | 2022-03-30T11:56:33.000Z | DIRE/neural_model/model/encoder.py | lukedram/DIRE | f2149bad5d655938bb682fddd33e6cd652f0bf4a | [
"MIT"
] | 8 | 2020-05-07T01:34:02.000Z | 2021-04-15T14:06:14.000Z | DIRE/neural_model/model/encoder.py | lukedram/DIRE | f2149bad5d655938bb682fddd33e6cd652f0bf4a | [
"MIT"
] | 15 | 2019-11-19T14:15:36.000Z | 2021-06-04T17:54:54.000Z | import torch.nn as nn
class Encoder(nn.Module):
pass
| 8.571429 | 25 | 0.683333 | 10 | 60 | 4.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 60 | 6 | 26 | 10 | 0.891304 | 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 |
f759c5e8cfc826a7e8950073f625ccc8174cb646 | 187 | py | Python | imu_rabbitmq/imu/__init__.py | apl-ocean-engineering/sensor-test-frame-controller | 5e1457e478d6b66eca19000d7e8877ebb96c51d4 | [
"MIT"
] | null | null | null | imu_rabbitmq/imu/__init__.py | apl-ocean-engineering/sensor-test-frame-controller | 5e1457e478d6b66eca19000d7e8877ebb96c51d4 | [
"MIT"
] | 12 | 2018-04-20T16:31:38.000Z | 2018-05-18T22:41:08.000Z | imu_rabbitmq/imu/__init__.py | apl-ocean-engineering/sensor-test-frame-controller | 5e1457e478d6b66eca19000d7e8877ebb96c51d4 | [
"MIT"
] | 1 | 2018-03-09T05:44:59.000Z | 2018-03-09T05:44:59.000Z | from __future__ import absolute_import, division, print_function
from .version import __version__
from .imu import *
from .server import *
from .client import *
from .imu import *
| 23.375 | 64 | 0.764706 | 24 | 187 | 5.541667 | 0.458333 | 0.225564 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 187 | 7 | 65 | 26.714286 | 0.863636 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 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 |
f75b65275eed78e8505348966f747c7e76784a06 | 8,567 | py | Python | conductor/conductor/tests/unit/api/controller/v1/test_plans.py | onap/optf-has | dd06e2675aedd7ae6344f2f51e70bbd468f36ce5 | [
"Apache-2.0"
] | 4 | 2019-02-14T19:18:09.000Z | 2019-10-21T17:17:59.000Z | conductor/conductor/tests/unit/api/controller/v1/test_plans.py | onap/optf-has | dd06e2675aedd7ae6344f2f51e70bbd468f36ce5 | [
"Apache-2.0"
] | null | null | null | conductor/conductor/tests/unit/api/controller/v1/test_plans.py | onap/optf-has | dd06e2675aedd7ae6344f2f51e70bbd468f36ce5 | [
"Apache-2.0"
] | 4 | 2019-05-09T07:05:54.000Z | 2020-11-20T05:56:47.000Z | #
# -------------------------------------------------------------------------
# Copyright (c) 2018 Intel Corporation Intellectual Property
#
# 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... | 48.954286 | 109 | 0.672347 | 1,078 | 8,567 | 5.140074 | 0.148423 | 0.045479 | 0.051976 | 0.043313 | 0.818625 | 0.771341 | 0.756181 | 0.746977 | 0.741202 | 0.741202 | 0 | 0.010532 | 0.190965 | 8,567 | 174 | 110 | 49.235632 | 0.788919 | 0.09093 | 0 | 0.673913 | 0 | 0 | 0.196137 | 0.164456 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0.072464 | false | 0 | 0.050725 | 0 | 0.137681 | 0.007246 | 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 |
f7654a21f50b9c5c27903f437e0f196c100a634b | 16,307 | py | Python | tests/io/test_access_groups_v2.py | mitsuo0114/pyTenable | 304953b1126d51c334a551199f3da820f4cc5b46 | [
"MIT"
] | null | null | null | tests/io/test_access_groups_v2.py | mitsuo0114/pyTenable | 304953b1126d51c334a551199f3da820f4cc5b46 | [
"MIT"
] | null | null | null | tests/io/test_access_groups_v2.py | mitsuo0114/pyTenable | 304953b1126d51c334a551199f3da820f4cc5b46 | [
"MIT"
] | null | null | null | '''
test access_groups
'''
import uuid
import pytest
from tenable.errors import UnexpectedValueError, APIError
from tests.checker import check
@pytest.fixture(name='rules')
def fixture_rules():
'''
Fixture to return access_group rules structure
'''
return [('ipv4', 'eq', ['192.168.0.0/24'])]
@pytest.f... | 36.237778 | 98 | 0.678175 | 2,113 | 16,307 | 4.991481 | 0.06389 | 0.079644 | 0.08628 | 0.069309 | 0.857685 | 0.815113 | 0.802503 | 0.767706 | 0.74552 | 0.704276 | 0 | 0.010142 | 0.195805 | 16,307 | 449 | 99 | 36.318486 | 0.794113 | 0.191022 | 0 | 0.517986 | 0 | 0 | 0.171181 | 0.040625 | 0 | 0 | 0 | 0 | 0.035971 | 1 | 0.147482 | false | 0.014388 | 0.014388 | 0 | 0.169065 | 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 |
f78c5b69480da8b4fa186cf803a83d4161541a1a | 40,621 | py | Python | RO-VIM-openstack/osm_rovim_openstack/tests/test_vimconn_openstack.py | TCSOSM-20/RO | 5ad826aba849d0e90b4d8661a5ce872d02d7dd52 | [
"Apache-2.0"
] | null | null | null | RO-VIM-openstack/osm_rovim_openstack/tests/test_vimconn_openstack.py | TCSOSM-20/RO | 5ad826aba849d0e90b4d8661a5ce872d02d7dd52 | [
"Apache-2.0"
] | null | null | null | RO-VIM-openstack/osm_rovim_openstack/tests/test_vimconn_openstack.py | TCSOSM-20/RO | 5ad826aba849d0e90b4d8661a5ce872d02d7dd52 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
##
# Copyright 2017 Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | 47.509942 | 83 | 0.619556 | 4,337 | 40,621 | 5.51003 | 0.092921 | 0.032807 | 0.035151 | 0.031636 | 0.901159 | 0.872118 | 0.840901 | 0.815667 | 0.789806 | 0.75022 | 0 | 0.137108 | 0.278206 | 40,621 | 854 | 84 | 47.565574 | 0.677933 | 0.130622 | 0 | 0.608491 | 0 | 0 | 0.340285 | 0.23254 | 0 | 0 | 0 | 0.001171 | 0.084906 | 1 | 0.06761 | false | 0.001572 | 0.009434 | 0 | 0.078616 | 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 |
f79f2086a1c6ab01fd5abf5131801cb0b4560e22 | 685 | py | Python | buildroot/support/testing/tests/package/test_lua_gd.py | bramkragten/operating-system | 27fc2de146f1ef047316a4b58a236c72d26da81c | [
"Apache-2.0"
] | 349 | 2021-08-17T08:46:53.000Z | 2022-03-30T06:25:25.000Z | buildroot/support/testing/tests/package/test_lua_gd.py | bramkragten/operating-system | 27fc2de146f1ef047316a4b58a236c72d26da81c | [
"Apache-2.0"
] | 8 | 2020-04-02T22:51:47.000Z | 2020-04-27T03:24:55.000Z | buildroot/support/testing/tests/package/test_lua_gd.py | bramkragten/operating-system | 27fc2de146f1ef047316a4b58a236c72d26da81c | [
"Apache-2.0"
] | 12 | 2021-08-17T20:10:30.000Z | 2022-01-06T10:52:54.000Z | from tests.package.test_lua import TestLuaBase
class TestLuaLuaGD(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUA=y
BR2_PACKAGE_LUA_GD=y
BR2_PACKAGE_FONTCONFIG=y
BR2_PACKAGE_JPEG=y
BR2_PACKAGE_LIBPNG=y
"""
def test_run(self):
s... | 21.40625 | 46 | 0.611679 | 81 | 685 | 4.839506 | 0.283951 | 0.255102 | 0.22449 | 0.173469 | 0.780612 | 0.780612 | 0.556122 | 0.556122 | 0.556122 | 0.556122 | 0 | 0.020877 | 0.30073 | 685 | 31 | 47 | 22.096774 | 0.797495 | 0 | 0 | 0.727273 | 0 | 0 | 0.010989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
e39d15c1b0b565dfd2e15311c4149f373eda3f9f | 13,557 | py | Python | tests/test_input.py | xroynard/ms_deepvoxscene | e1800a5628e6b9ab20c12d1939e04ac2fd3b4cfc | [
"MIT"
] | 13 | 2019-08-29T18:59:33.000Z | 2021-06-10T03:18:57.000Z | tests/test_input.py | xroynard/ms_deepvoxscene | e1800a5628e6b9ab20c12d1939e04ac2fd3b4cfc | [
"MIT"
] | 2 | 2019-09-02T09:06:45.000Z | 2019-09-02T11:55:15.000Z | tests/test_input.py | xroynard/ms_deepvoxscene | e1800a5628e6b9ab20c12d1939e04ac2fd3b4cfc | [
"MIT"
] | 1 | 2020-04-30T03:50:16.000Z | 2020-04-30T03:50:16.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: Xavier Roynard
"""
from __future__ import print_function, division
import os
import sys
import time
import numpy as np
from torch.autograd import Variable
from torch.utils.data import DataLoader
sys.path.insert(0, os.path.abspath('..'))
from input import P... | 45.955932 | 199 | 0.56812 | 1,616 | 13,557 | 4.52599 | 0.098391 | 0.039377 | 0.042111 | 0.032814 | 0.823763 | 0.805442 | 0.757041 | 0.748154 | 0.712333 | 0.712333 | 0 | 0.017025 | 0.211477 | 13,557 | 294 | 200 | 46.112245 | 0.667166 | 0.552703 | 0 | 0.489583 | 0 | 0.020833 | 0.135761 | 0.068828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.135417 | 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 |
581150b173b46e9ce5d530fe24667bfa9d8ccaa6 | 15,026 | py | Python | pal/writer/register/c/field_accessor.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 26 | 2020-01-06T23:53:17.000Z | 2022-02-01T08:58:21.000Z | pal/writer/register/c/field_accessor.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 30 | 2019-11-13T00:55:22.000Z | 2022-01-06T08:09:35.000Z | pal/writer/register/c/field_accessor.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 14 | 2019-11-15T16:56:22.000Z | 2021-12-22T10:14:17.000Z | import pal.gadget
class CFieldAccessorWriter():
def declare_field_accessors(self, outfile, register, field):
self._declare_field_constants(outfile, register, field)
if field.msb == field.lsb:
if register.is_readable():
self._declare_bitfield_is_enabled(outfile, regist... | 40.284182 | 115 | 0.654133 | 1,736 | 15,026 | 5.292627 | 0.043203 | 0.118851 | 0.113191 | 0.070527 | 0.920004 | 0.884959 | 0.8399 | 0.807793 | 0.783631 | 0.761319 | 0 | 0.001386 | 0.231599 | 15,026 | 372 | 116 | 40.392473 | 0.794388 | 0.010315 | 0 | 0.588652 | 0 | 0.007092 | 0.085828 | 0.035649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095745 | false | 0 | 0.003546 | 0 | 0.102837 | 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 |
5876a92666c685176711a23464fa02bb123d8010 | 7,343 | py | Python | pirates/leveleditor/worldData/interior_mansion_unlit.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/interior_mansion_unlit.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/interior_mansion_unlit.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.interior_mansion_unlit
from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Objects': {'1... | 1,049 | 6,944 | 0.661038 | 1,017 | 7,343 | 4.728614 | 0.230089 | 0.027033 | 0.027449 | 0.034103 | 0.422125 | 0.37513 | 0.366604 | 0.308588 | 0.287378 | 0.280724 | 0 | 0.262425 | 0.071088 | 7,343 | 7 | 6,945 | 1,049 | 0.442604 | 0.03105 | 0 | 0 | 0 | 0 | 0.571368 | 0.287161 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
58781e7c8ae1df5d13451376c5626dd0812ada8a | 3,298 | py | Python | app/interface/mykad.py | justanotherresearchanddevelopment/MalaysianIncomeTaxCalculator | acfac285f0876a5fa462e77dbd70b656a76eec06 | [
"Apache-2.0"
] | null | null | null | app/interface/mykad.py | justanotherresearchanddevelopment/MalaysianIncomeTaxCalculator | acfac285f0876a5fa462e77dbd70b656a76eec06 | [
"Apache-2.0"
] | null | null | null | app/interface/mykad.py | justanotherresearchanddevelopment/MalaysianIncomeTaxCalculator | acfac285f0876a5fa462e77dbd70b656a76eec06 | [
"Apache-2.0"
] | null | null | null | class MyKad:
def __init__(self, mykad):
self.mykad = mykad
def getBirthPlace(self):
if self.mykad[6:8] == "01" : return "Johor"
if self.mykad[6:8] == "21" : return "Johor"
if self.mykad[6:8] == "22" : return "Johor"
if self.mykad[6:8] == "23" : return "Johor"
... | 53.193548 | 79 | 0.537295 | 486 | 3,298 | 3.63786 | 0.179012 | 0.290158 | 0.342195 | 0.373303 | 0.879525 | 0.872172 | 0.872172 | 0.240385 | 0.184389 | 0.184389 | 0 | 0.092166 | 0.276228 | 3,298 | 62 | 80 | 53.193548 | 0.648513 | 0 | 0 | 0 | 0 | 0 | 0.207942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
542f05ccb28a220de27c3e8ff196a694793aeceb | 86 | py | Python | unet3d/train/__init__.py | Crush18/3DUnetCNN | 7e257f712bd11510ebefef44c13ef48329858fca | [
"MIT"
] | 1,624 | 2017-02-15T13:41:39.000Z | 2022-03-29T11:51:57.000Z | unet3d/train/__init__.py | hjt996/3DUnetCNN | be2573c52169b725075acf182374f7098ee792d1 | [
"MIT"
] | 271 | 2017-02-15T22:46:04.000Z | 2022-03-27T11:04:59.000Z | unet3d/train/__init__.py | hjt996/3DUnetCNN | be2573c52169b725075acf182374f7098ee792d1 | [
"MIT"
] | 663 | 2017-02-23T04:27:51.000Z | 2022-03-31T06:36:30.000Z | from .train import run_training_with_package
run_training = run_training_with_package
| 28.666667 | 44 | 0.895349 | 13 | 86 | 5.384615 | 0.538462 | 0.471429 | 0.428571 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 86 | 2 | 45 | 43 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
545c9e9f3eeba832e7a8c2cc50d6fb5acba51496 | 115 | py | Python | cluster/__init__.py | george-j-zhu/timeseriesprocessing | 5d774a438c5e835a8d5c802009f4d5303388b69d | [
"CC-BY-4.0"
] | 1 | 2018-06-26T05:27:55.000Z | 2018-06-26T05:27:55.000Z | cluster/__init__.py | george-j-zhu/timeseriesprocessing | 5d774a438c5e835a8d5c802009f4d5303388b69d | [
"CC-BY-4.0"
] | null | null | null | cluster/__init__.py | george-j-zhu/timeseriesprocessing | 5d774a438c5e835a8d5c802009f4d5303388b69d | [
"CC-BY-4.0"
] | null | null | null | from . import timeSeriesCluster
from . import kMeans
from . import gaussianMixture
from . import cluster_utilities
| 23 | 31 | 0.826087 | 13 | 115 | 7.230769 | 0.538462 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 4 | 32 | 28.75 | 0.949495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49ea4a00ea95e69f2bab3ea893023cd45402c672 | 40 | py | Python | src/ml/__init__.py | USArmyResearchLab/ARL-UPPER | 2f79f25338f18655b2a19c8afe3fed267cc0f198 | [
"Apache-2.0"
] | 4 | 2020-09-14T06:13:04.000Z | 2020-11-21T07:10:36.000Z | src/ml/__init__.py | USArmyResearchLab/ARL-UPPER | 2f79f25338f18655b2a19c8afe3fed267cc0f198 | [
"Apache-2.0"
] | null | null | null | src/ml/__init__.py | USArmyResearchLab/ARL-UPPER | 2f79f25338f18655b2a19c8afe3fed267cc0f198 | [
"Apache-2.0"
] | 2 | 2020-03-15T17:59:26.000Z | 2020-09-14T06:13:05.000Z | from .models import xgb_model, lr_model
| 20 | 39 | 0.825 | 7 | 40 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7313b9ff8295a4959f0d837789347155eb4917f | 48 | py | Python | elf/types/section/types/relocations/__init__.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | elf/types/section/types/relocations/__init__.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | elf/types/section/types/relocations/__init__.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | from .rela_section import RelactionAddendSection | 48 | 48 | 0.916667 | 5 | 48 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.955556 | 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 |
3f89e0ff813be2732cf4259d19cceba27456a2a2 | 2,357 | py | Python | tests/test_send_camera.py | waider/gopro-py-api | b18b5458f5bbe689f468842d6888104317786de8 | [
"MIT"
] | 1 | 2019-05-06T21:48:54.000Z | 2019-05-06T21:48:54.000Z | tests/test_send_camera.py | waider/gopro-py-api | b18b5458f5bbe689f468842d6888104317786de8 | [
"MIT"
] | null | null | null | tests/test_send_camera.py | waider/gopro-py-api | b18b5458f5bbe689f468842d6888104317786de8 | [
"MIT"
] | null | null | null | import urllib.request
import io
from .conftest import GoProCameraTest
from goprocam import GoProCamera
from socket import timeout
class SendCameraTest(GoProCameraTest):
def test_send_camera_default(self):
with self.monkeypatch.context() as m:
m.setattr(GoProCamera.GoPro, 'getPassword',
... | 39.283333 | 75 | 0.588884 | 273 | 2,357 | 4.996337 | 0.271062 | 0.046921 | 0.040323 | 0.062317 | 0.760264 | 0.721408 | 0.703079 | 0.703079 | 0.703079 | 0.658358 | 0 | 0.010695 | 0.285957 | 2,357 | 59 | 76 | 39.949153 | 0.799762 | 0.053034 | 0 | 0.613636 | 0 | 0.045455 | 0.13965 | 0.012573 | 0 | 0 | 0 | 0 | 0.068182 | 1 | 0.181818 | false | 0.318182 | 0.113636 | 0 | 0.386364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3fd5470aec5aa9006fcfb966edb49811a0f1e47e | 25 | py | Python | scanrpc/__init__.py | PureStake/substrate-scanrpc | f2a5368719c59e6a335cdbfdbcf0747e57278aae | [
"MIT"
] | null | null | null | scanrpc/__init__.py | PureStake/substrate-scanrpc | f2a5368719c59e6a335cdbfdbcf0747e57278aae | [
"MIT"
] | null | null | null | scanrpc/__init__.py | PureStake/substrate-scanrpc | f2a5368719c59e6a335cdbfdbcf0747e57278aae | [
"MIT"
] | null | null | null | from .scanrpc import main | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 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 |
b203299920df62cd2a5a1284f8e573c7ac814993 | 10,382 | py | Python | venv/Lib/site-packages/keystoneauth1/tests/unit/loading/test_adapter.py | prasoon-uta/IBM-coud-storage | 82a6876316715efbd0b492d0d467dde0ab26a56b | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/keystoneauth1/tests/unit/loading/test_adapter.py | prasoon-uta/IBM-coud-storage | 82a6876316715efbd0b492d0d467dde0ab26a56b | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/keystoneauth1/tests/unit/loading/test_adapter.py | prasoon-uta/IBM-coud-storage | 82a6876316715efbd0b492d0d467dde0ab26a56b | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 42.37551 | 78 | 0.641976 | 1,198 | 10,382 | 5.383139 | 0.126878 | 0.100016 | 0.037215 | 0.035354 | 0.791441 | 0.770662 | 0.747093 | 0.732672 | 0.732672 | 0.732672 | 0 | 0.006229 | 0.242343 | 10,382 | 244 | 79 | 42.54918 | 0.813628 | 0.086014 | 0 | 0.743456 | 0 | 0 | 0.106257 | 0 | 0 | 0 | 0 | 0 | 0.324607 | 1 | 0.08377 | false | 0 | 0.026178 | 0.005236 | 0.136126 | 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 |
b76070fe29d8ba7b912023955536701ccf34a681 | 121 | py | Python | PythonExtensions/debug/__init__.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | PythonExtensions/debug/__init__.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | PythonExtensions/debug/__init__.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | from .chains import *
from .console import *
from .converters import *
from .debug_tk import *
from .decorators import *
| 20.166667 | 25 | 0.752066 | 16 | 121 | 5.625 | 0.5 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 121 | 5 | 26 | 24.2 | 0.891089 | 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 |
b78d7af390cca265c9a7594d26b87ab23f3cb477 | 2,594 | py | Python | tests/test_minimax.py | elena-rae/connect4_bccn_pcp | ffa1c1fbd61a28901d67bdeb33250ae52c35c296 | [
"MIT"
] | null | null | null | tests/test_minimax.py | elena-rae/connect4_bccn_pcp | ffa1c1fbd61a28901d67bdeb33250ae52c35c296 | [
"MIT"
] | null | null | null | tests/test_minimax.py | elena-rae/connect4_bccn_pcp | ffa1c1fbd61a28901d67bdeb33250ae52c35c296 | [
"MIT"
] | null | null | null | import numpy as np
from agents.agent_minimax.minimax import *
from agents.agent_random.random import generate_move_random
from agents.common import *
def test_get_valid_column():
board = initialize_game_state()
for x in range(5):
apply_player_action(board, x, 1)
print(pretty_print_board(board))
... | 27.305263 | 59 | 0.682344 | 364 | 2,594 | 4.596154 | 0.151099 | 0.101614 | 0.111775 | 0.14465 | 0.811118 | 0.754334 | 0.753138 | 0.751943 | 0.683802 | 0.658697 | 0 | 0.035027 | 0.218581 | 2,594 | 94 | 60 | 27.595745 | 0.790331 | 0.061681 | 0 | 0.645161 | 1 | 0 | 0.011499 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.048387 | false | 0.016129 | 0.064516 | 0 | 0.112903 | 0.080645 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
b7c71f5b04274a1378f8eaff6b7665005a39dd01 | 5,401 | py | Python | tests/contrib/eventinfo/test_plugin.py | iopipe/iopipe-python | 9bf0620bab732e82a9addcee250eabb9c0cc649f | [
"Apache-2.0"
] | 74 | 2016-08-18T14:26:50.000Z | 2021-11-21T10:58:32.000Z | tests/contrib/eventinfo/test_plugin.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 198 | 2016-08-18T18:52:43.000Z | 2021-05-09T10:01:14.000Z | tests/contrib/eventinfo/test_plugin.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 23 | 2016-08-04T23:22:21.000Z | 2020-01-20T13:54:27.000Z | import mock
import os
from iopipe.contrib.eventinfo import EventInfoPlugin
@mock.patch("iopipe.report.send_report", autospec=True)
def test__eventinfo_plugin__apigw(
mock_send_report, handler_with_eventinfo, event_apigw, mock_context
):
iopipe, handler = handler_with_eventinfo
plugins = iopipe.config["pl... | 31.584795 | 85 | 0.693946 | 693 | 5,401 | 5.217893 | 0.103896 | 0.06969 | 0.049779 | 0.048673 | 0.795354 | 0.75083 | 0.75083 | 0.712666 | 0.704923 | 0.668695 | 0 | 0.009522 | 0.183299 | 5,401 | 170 | 86 | 31.770588 | 0.810247 | 0 | 0 | 0.507937 | 0 | 0 | 0.179226 | 0.10998 | 0 | 0 | 0 | 0 | 0.404762 | 1 | 0.055556 | false | 0 | 0.02381 | 0 | 0.079365 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7ea26f4b0332b849b8bcef625eaea63e406ac9a | 943 | py | Python | terrascript/nomad/d.py | jackluo923/python-terrascript | ed4b626e6d28621ea1b02fc16f7277a094d89830 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/nomad/d.py | jackluo923/python-terrascript | ed4b626e6d28621ea1b02fc16f7277a094d89830 | [
"BSD-2-Clause"
] | null | null | null | terrascript/nomad/d.py | jackluo923/python-terrascript | ed4b626e6d28621ea1b02fc16f7277a094d89830 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/nomad/d.py
import terrascript
class nomad_acl_policies(terrascript.Data):
pass
class nomad_acl_policy(terrascript.Data):
pass
class nomad_acl_token(terrascript.Data):
pass
class nomad_acl_tokens(terrascript.Data):
pass
class nomad_datacenters(terrascript.Data):
pass
class n... | 13.28169 | 47 | 0.757158 | 116 | 943 | 5.939655 | 0.224138 | 0.246734 | 0.468795 | 0.557329 | 0.756168 | 0.419448 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16649 | 943 | 70 | 48 | 13.471429 | 0.87659 | 0.02333 | 0 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.485714 | 0.028571 | 0 | 0.514286 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4d006b4a0ab73cb7019e55149843c1816b7eade4 | 205 | py | Python | internal/utils.py | makecodes/genshin-card-backend | 611093846e56a2251336845ccf849b01b7d3f447 | [
"Unlicense"
] | null | null | null | internal/utils.py | makecodes/genshin-card-backend | 611093846e56a2251336845ccf849b01b7d3f447 | [
"Unlicense"
] | null | null | null | internal/utils.py | makecodes/genshin-card-backend | 611093846e56a2251336845ccf849b01b7d3f447 | [
"Unlicense"
] | null | null | null | def money_to_db(value):
value = str(value)
value = value.replace(".", "")
value = value.replace(",", ".")
return value
def empty_object():
return {}
def empty_list():
return []
| 14.642857 | 35 | 0.570732 | 24 | 205 | 4.708333 | 0.458333 | 0.353982 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24878 | 205 | 13 | 36 | 15.769231 | 0.733766 | 0 | 0 | 0 | 0 | 0 | 0.014634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4d1234790c3c7d3da9ec231690a24ddf62bd5d41 | 948 | py | Python | api/barriers/migrations/0098_auto_20201119_1144.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | null | null | null | api/barriers/migrations/0098_auto_20201119_1144.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | 51 | 2018-05-31T12:16:31.000Z | 2022-03-08T09:36:48.000Z | api/barriers/migrations/0098_auto_20201119_1144.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | 2 | 2019-12-24T09:47:42.000Z | 2021-02-09T09:36:51.000Z | # Generated by Django 3.1.2 on 2020-11-19 11:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("barriers", "0097_auto_20201113_1149"),
]
operations = [
migrations.AddField(
model_name="barrier",
name="commercial_... | 27.882353 | 64 | 0.592827 | 87 | 948 | 6.310345 | 0.448276 | 0.131148 | 0.167577 | 0.196721 | 0.724954 | 0.724954 | 0.724954 | 0.724954 | 0.650273 | 0.324226 | 0 | 0.046687 | 0.299578 | 948 | 33 | 65 | 28.727273 | 0.78012 | 0.047468 | 0 | 0.740741 | 1 | 0 | 0.18535 | 0.08768 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d2fbcd94cce8fc83641cd0fd21fe195cbd24241 | 559 | py | Python | backend/modules/__init__.py | crowdbotics-apps/test-33024 | 09ff5fe2740de7d38aced0309cba713511e7482e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/modules/__init__.py | crowdbotics-apps/test-33024 | 09ff5fe2740de7d38aced0309cba713511e7482e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/modules/__init__.py | crowdbotics-apps/test-33024 | 09ff5fe2740de7d38aced0309cba713511e7482e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from .common import *
from .instructors import *
from .models_btw import *
from .models_pas import *
from .models_pre_trip import *
from .models_swp import *
from .models_vrt import *
from .students import *
from .pretrips_class_a import *
from .pretrips_class_b import *
from .pretrips_class_c import *
from .pretrips_c... | 23.291667 | 32 | 0.779964 | 85 | 559 | 4.835294 | 0.258824 | 0.462287 | 0.194647 | 0.223844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148479 | 559 | 23 | 33 | 24.304348 | 0.863445 | 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 |
4d6085e1f9d0ef5eb4f97e0e8f14366d27f64b54 | 6,631 | py | Python | src/stand-alone-application/thrain.py | 21Shadow10/Cloud-Message-App | be052da218294829f5287001975d4134b11ee716 | [
"MIT"
] | 1 | 2021-12-30T10:30:30.000Z | 2021-12-30T10:30:30.000Z | src/stand-alone-application/thrain.py | 21Shadow10/Cloud-Message-App | be052da218294829f5287001975d4134b11ee716 | [
"MIT"
] | null | null | null | src/stand-alone-application/thrain.py | 21Shadow10/Cloud-Message-App | be052da218294829f5287001975d4134b11ee716 | [
"MIT"
] | null | null | null | import ENCDEC
import time
import unicodedata
import os
import os.path
import DH
global key
global prime_
'''
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~ENCRYPTION SNIPPET~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
'''
def e... | 88.413333 | 2,481 | 0.854321 | 240 | 6,631 | 23.491667 | 0.291667 | 0.01614 | 0.01277 | 0.009223 | 0.094005 | 0.082299 | 0.082299 | 0.05995 | 0.05995 | 0.045406 | 0 | 0.592105 | 0.048711 | 6,631 | 74 | 2,482 | 89.608108 | 0.30168 | 0.073292 | 0 | 0.352941 | 0 | 0 | 0.013928 | 0 | 0 | 1 | 0.634478 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.176471 | 0 | 0.235294 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d729890727ad91f757c94c077c6da494bbf9de8 | 1,826 | py | Python | dcbr-api/api/migrations/0015_auto_20190625_1319.py | WadeBarnes/agri-dcbr | 92a62ec8c22a3b7b6dd1978eaa7320494a9ca9d9 | [
"Apache-2.0"
] | 1 | 2020-07-11T23:20:16.000Z | 2020-07-11T23:20:16.000Z | dcbr-api/api/migrations/0015_auto_20190625_1319.py | WadeBarnes/agri-dcbr | 92a62ec8c22a3b7b6dd1978eaa7320494a9ca9d9 | [
"Apache-2.0"
] | 19 | 2019-07-26T22:47:49.000Z | 2020-12-15T22:06:25.000Z | dcbr-api/api/migrations/0015_auto_20190625_1319.py | WadeBarnes/agri-dcbr | 92a62ec8c22a3b7b6dd1978eaa7320494a9ca9d9 | [
"Apache-2.0"
] | 7 | 2019-04-15T17:13:09.000Z | 2019-12-09T23:52:53.000Z | # Generated by Django 2.2 on 2019-06-25 20:19
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0014_auto_20190625_1202'),
]
operations = [
migrations.RenameField(
model_name='risk_factor_a... | 33.2 | 107 | 0.608434 | 184 | 1,826 | 5.73913 | 0.255435 | 0.079545 | 0.098485 | 0.143939 | 0.70928 | 0.70928 | 0.70928 | 0.70928 | 0.70928 | 0.70928 | 0 | 0.029008 | 0.282585 | 1,826 | 54 | 108 | 33.814815 | 0.777099 | 0.023549 | 0 | 0.583333 | 1 | 0 | 0.185851 | 0.012914 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 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 |
4d779376bfb0ad54388b641f50acbfeaaf867d19 | 8,202 | py | Python | nemo/collections/asr/models/k2_sequence_models.py | hamjam/NeMo | b3484d32e1317666151f931bfa39867d88ed8658 | [
"Apache-2.0"
] | 1 | 2022-03-08T02:48:44.000Z | 2022-03-08T02:48:44.000Z | nemo/collections/asr/models/k2_sequence_models.py | hamjam/NeMo | b3484d32e1317666151f931bfa39867d88ed8658 | [
"Apache-2.0"
] | 1 | 2022-03-06T14:09:02.000Z | 2022-03-06T14:09:02.000Z | nemo/collections/asr/models/k2_sequence_models.py | hamjam/NeMo | b3484d32e1317666151f931bfa39867d88ed8658 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 44.335135 | 120 | 0.678981 | 1,048 | 8,202 | 5.16126 | 0.240458 | 0.032538 | 0.01479 | 0.009983 | 0.763172 | 0.750601 | 0.726197 | 0.726197 | 0.726197 | 0.726197 | 0 | 0.005431 | 0.259205 | 8,202 | 184 | 121 | 44.576087 | 0.884793 | 0.509876 | 0 | 0.705882 | 0 | 0 | 0.15919 | 0.063097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.029412 | 0.117647 | 0 | 0.294118 | 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 |
4d91aeb86c78d853d3ed1eaf68d6afb5b89ef4e8 | 6,778 | py | Python | tests/test_component/test_restaurant_review.py | Squad002/gooutsafe-service | 88b759ac849c539dffec4dbc9054998792e5fbcc | [
"MIT"
] | 2 | 2020-11-26T23:37:40.000Z | 2020-12-12T19:29:51.000Z | tests/test_component/test_restaurant_review.py | Squad002/gooutsafe-service | 88b759ac849c539dffec4dbc9054998792e5fbcc | [
"MIT"
] | null | null | null | tests/test_component/test_restaurant_review.py | Squad002/gooutsafe-service | 88b759ac849c539dffec4dbc9054998792e5fbcc | [
"MIT"
] | null | null | null | from sqlalchemy.sql.operators import op
from tests import data, helpers
from tests.fixtures import app, client
from urllib.parse import urlparse
# TODO merge with the restaurant page test
def test_user_should_see_review_form(client):
helpers.create_user(client)
helpers.create_operator(client)
helpers.lo... | 27.778689 | 128 | 0.729566 | 948 | 6,778 | 4.99789 | 0.14346 | 0.161883 | 0.108274 | 0.056142 | 0.834529 | 0.810257 | 0.795272 | 0.743774 | 0.70916 | 0.655973 | 0 | 0.011989 | 0.187814 | 6,778 | 243 | 129 | 27.893004 | 0.848683 | 0.2545 | 0 | 0.661654 | 0 | 0.015038 | 0.119665 | 0 | 0 | 0 | 0 | 0.004115 | 0.225564 | 1 | 0.090226 | false | 0 | 0.030075 | 0.007519 | 0.135338 | 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 |
4dd92bc384de743590dab329da0e66b9f933799c | 161 | py | Python | project/core/stations/admin.py | robwise1/birdr | fa6cf9036baebb735bff9a59abc4c04867e40d61 | [
"MIT"
] | null | null | null | project/core/stations/admin.py | robwise1/birdr | fa6cf9036baebb735bff9a59abc4c04867e40d61 | [
"MIT"
] | null | null | null | project/core/stations/admin.py | robwise1/birdr | fa6cf9036baebb735bff9a59abc4c04867e40d61 | [
"MIT"
] | null | null | null | from django.contrib import admin
from stations.models import Station
class StationAdmin(admin.ModelAdmin):
pass
admin.site.register(Station, StationAdmin) | 20.125 | 42 | 0.813665 | 20 | 161 | 6.55 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118012 | 161 | 8 | 42 | 20.125 | 0.922535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
151313c50116765c62e593c3bf8eff4179ef883b | 22 | py | Python | poetrytools/__init__.py | textioHQ/Poetry-Tools | ab1cc5e576a5b7af8093990c36016a0fca02cb44 | [
"MIT"
] | 105 | 2015-02-15T01:09:23.000Z | 2022-03-01T01:47:52.000Z | poetrytools/__init__.py | textioHQ/Poetry-Tools | ab1cc5e576a5b7af8093990c36016a0fca02cb44 | [
"MIT"
] | 6 | 2016-03-08T19:16:22.000Z | 2020-12-02T16:26:19.000Z | poetrytools/__init__.py | textioHQ/Poetry-Tools | ab1cc5e576a5b7af8093990c36016a0fca02cb44 | [
"MIT"
] | 31 | 2015-11-15T03:13:27.000Z | 2022-02-11T17:40:06.000Z | from .poetics import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15192563f05eb3c0358f7ebafeb1a743fcfdaeae | 37 | py | Python | turbustat/statistics/cramer/__init__.py | CFD-UTSA/Turbulence-stars | 354d02e38d15e3b0d1f751b43f430dbd3a14c250 | [
"MIT"
] | 42 | 2016-04-07T20:49:59.000Z | 2022-03-28T12:54:13.000Z | turbustat/statistics/cramer/__init__.py | CFD-UTSA/Turbulence-stars | 354d02e38d15e3b0d1f751b43f430dbd3a14c250 | [
"MIT"
] | 131 | 2015-03-05T21:42:27.000Z | 2021-07-22T14:59:04.000Z | turbustat/statistics/cramer/__init__.py | CFD-UTSA/Turbulence-stars | 354d02e38d15e3b0d1f751b43f430dbd3a14c250 | [
"MIT"
] | 21 | 2015-06-10T17:10:06.000Z | 2022-02-28T15:59:42.000Z | from .cramer import Cramer_Distance
| 18.5 | 36 | 0.837838 | 5 | 37 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12976225cb7bcedcf8e7879c9a954c9887221191 | 109 | py | Python | Het Toolkit/HetKit_BETA_June_2020/lib/cropping.py | michaelcolman/Sub_cellular_heterogeneity_TOOLKIT | 24c90150429a39159e3ebed654d7ef43260a5aff | [
"CC0-1.0"
] | null | null | null | Het Toolkit/HetKit_BETA_June_2020/lib/cropping.py | michaelcolman/Sub_cellular_heterogeneity_TOOLKIT | 24c90150429a39159e3ebed654d7ef43260a5aff | [
"CC0-1.0"
] | null | null | null | Het Toolkit/HetKit_BETA_June_2020/lib/cropping.py | michaelcolman/Sub_cellular_heterogeneity_TOOLKIT | 24c90150429a39159e3ebed654d7ef43260a5aff | [
"CC0-1.0"
] | null | null | null | from PIL import Image
import numpy as np
def crop_data(data, x1, x2, y1, y2):
return data[y1:y2, x1:x2]
| 12.111111 | 36 | 0.688073 | 22 | 109 | 3.363636 | 0.681818 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0.201835 | 109 | 8 | 37 | 13.625 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
12d1c7f2e9c6e024bd2d086c86e90d250f02e52f | 270 | py | Python | tests/helpers/custom_exceptions.py | aiincidentdatabase/nlp-lambdas | b7b5fa864c2eedbcc3f829bd672f6842e7b30a2f | [
"MIT"
] | null | null | null | tests/helpers/custom_exceptions.py | aiincidentdatabase/nlp-lambdas | b7b5fa864c2eedbcc3f829bd672f6842e7b30a2f | [
"MIT"
] | null | null | null | tests/helpers/custom_exceptions.py | aiincidentdatabase/nlp-lambdas | b7b5fa864c2eedbcc3f829bd672f6842e7b30a2f | [
"MIT"
] | null | null | null | # Some custom exceptions to help categorize testing
class JsonException(Exception): pass
class SamOutputException(Exception): pass
class SamExecutionException(Exception): pass
class StartApiTimeoutException(Exception): pass
class InternalServerException(Exception): pass | 45 | 51 | 0.859259 | 27 | 270 | 8.592593 | 0.555556 | 0.280172 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 270 | 6 | 52 | 45 | 0.935484 | 0.181481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
12fd573278dad43f3edd63f9e489feb89e4add6f | 166 | py | Python | shapeworld/realizers/__init__.py | ProKil/ShapeWorld | c68379dca207b6e3bf0ea38eba61895cf6f4e5a2 | [
"MIT"
] | 52 | 2017-02-07T12:02:11.000Z | 2022-03-09T10:35:52.000Z | shapeworld/realizers/__init__.py | ProKil/ShapeWorld | c68379dca207b6e3bf0ea38eba61895cf6f4e5a2 | [
"MIT"
] | 30 | 2017-11-29T15:18:48.000Z | 2021-12-12T10:27:08.000Z | shapeworld/realizers/__init__.py | ProKil/ShapeWorld | c68379dca207b6e3bf0ea38eba61895cf6f4e5a2 | [
"MIT"
] | 27 | 2017-04-18T21:14:29.000Z | 2021-07-08T14:14:00.000Z | from shapeworld.realizers.realizer import CaptionRealizer
from shapeworld.realizers.dmrs.realizer import DmrsRealizer
__all__ = ['CaptionRealizer', 'DmrsRealizer']
| 27.666667 | 59 | 0.837349 | 16 | 166 | 8.4375 | 0.5625 | 0.207407 | 0.340741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 166 | 5 | 60 | 33.2 | 0.888158 | 0 | 0 | 0 | 0 | 0 | 0.162651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
420757967e98393711499129518c401e08af2ce8 | 28,602 | py | Python | sdrfgui/view.py | spoortiramesh/sdrfgui | 7d51fcde085d0b2b65c77e090450d9843db1ca70 | [
"BSD-2-Clause"
] | null | null | null | sdrfgui/view.py | spoortiramesh/sdrfgui | 7d51fcde085d0b2b65c77e090450d9843db1ca70 | [
"BSD-2-Clause"
] | null | null | null | sdrfgui/view.py | spoortiramesh/sdrfgui | 7d51fcde085d0b2b65c77e090450d9843db1ca70 | [
"BSD-2-Clause"
] | null | null | null | import csv
import pandas as pd
from tkinter import *
import tkinter as tk
from PIL import ImageTk, Image
import tkinter as tk
import glob, os, shutil
from tkinter import filedialog
class View():
def __init__(self, model):
self.model = model
self.secs = ["Default", "Human", "Vertebrates", "Non-vert... | 44.482115 | 493 | 0.569121 | 3,487 | 28,602 | 4.637224 | 0.087468 | 0.10637 | 0.088312 | 0.078726 | 0.832777 | 0.804576 | 0.790785 | 0.763946 | 0.736054 | 0.723871 | 0 | 0.056191 | 0.291308 | 28,602 | 642 | 494 | 44.551402 | 0.741539 | 0.015244 | 0 | 0.596457 | 0 | 0 | 0.126794 | 0.039861 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029528 | false | 0 | 0.015748 | 0 | 0.049213 | 0.009843 | 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 |
4279e5c75f86dd9005104299ccc3681d870b3c09 | 208 | py | Python | Trakttv.bundle/Contents/Libraries/Shared/stash/serializers/s_none.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Libraries/Shared/stash/serializers/s_none.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Libraries/Shared/stash/serializers/s_none.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | from stash.serializers.core.base import Serializer
class NoneSerializer(Serializer):
__key__ = 'none'
def dumps(self, value):
return value
def loads(self, value):
return value
| 17.333333 | 50 | 0.673077 | 24 | 208 | 5.666667 | 0.708333 | 0.132353 | 0.220588 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245192 | 208 | 11 | 51 | 18.909091 | 0.866242 | 0 | 0 | 0.285714 | 0 | 0 | 0.019231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
428868fd84d87c40b7b03734ee96765327716b92 | 45 | py | Python | models/informer/__init__.py | liuaoy/deep-time-series | 569ca2173b3c033522c3c3a6333b86270bcfa2e7 | [
"Apache-2.0"
] | null | null | null | models/informer/__init__.py | liuaoy/deep-time-series | 569ca2173b3c033522c3c3a6333b86270bcfa2e7 | [
"Apache-2.0"
] | null | null | null | models/informer/__init__.py | liuaoy/deep-time-series | 569ca2173b3c033522c3c3a6333b86270bcfa2e7 | [
"Apache-2.0"
] | null | null | null | from .informer import Informer, InformerStack | 45 | 45 | 0.866667 | 5 | 45 | 7.8 | 0.8 | 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 |
42aac5e3a42fd58f56acfe4a4cc52ccdabd0149a | 23,246 | py | Python | vel/rl/test/test_integration.py | galatolofederico/vel | 0473648cffb3f34fb784d12dbb25844ab58ffc3c | [
"MIT"
] | 273 | 2018-09-01T08:54:34.000Z | 2022-02-02T13:22:51.000Z | vel/rl/test/test_integration.py | braincorp/vel | bdf9d9eb6ed66278330e8cbece307f6e63ce53c6 | [
"MIT"
] | 47 | 2018-08-17T11:27:08.000Z | 2022-03-11T23:26:55.000Z | vel/rl/test/test_integration.py | braincorp/vel | bdf9d9eb6ed66278330e8cbece307f6e63ce53c6 | [
"MIT"
] | 37 | 2018-10-11T22:56:57.000Z | 2020-10-06T19:53:05.000Z | import torch
import torch.optim as optim
from vel.modules.input.image_to_tensor import ImageToTensorFactory
from vel.modules.input.normalize_observations import NormalizeObservationsFactory
from vel.rl.buffers.circular_replay_buffer import CircularReplayBuffer
from vel.rl.buffers.prioritized_circular_replay_buffer imp... | 34.286136 | 108 | 0.67659 | 2,593 | 23,246 | 5.869263 | 0.123409 | 0.038636 | 0.01715 | 0.022078 | 0.802287 | 0.777055 | 0.752875 | 0.740982 | 0.727906 | 0.721007 | 0 | 0.02394 | 0.25428 | 23,246 | 677 | 109 | 34.33678 | 0.853995 | 0.208638 | 0 | 0.689218 | 0 | 0 | 0.015277 | 0.006045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014799 | false | 0 | 0.078224 | 0 | 0.093023 | 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 |
c42a8b3db70c1910ae9e09b5cd1c89b20ab2afba | 732 | py | Python | corruption_tracker/tests.py | Basele/corruption_tracker | e8bacdce540321f382980fbb3af782611f260bda | [
"BSD-3-Clause"
] | 2 | 2016-05-13T12:24:19.000Z | 2021-02-03T18:02:13.000Z | corruption_tracker/tests.py | Basele/corruption_tracker | e8bacdce540321f382980fbb3af782611f260bda | [
"BSD-3-Clause"
] | null | null | null | corruption_tracker/tests.py | Basele/corruption_tracker | e8bacdce540321f382980fbb3af782611f260bda | [
"BSD-3-Clause"
] | null | null | null | from corruption_tracker.test_runner import perfomance_test
def run_home():
perfomance_test('/')
def hole_ua():
perfomance_test('/api/polygon/fit_bounds/1/22.89551,46.00459,43.98926,52.46940/')
def run_kha_city():
perfomance_test('/api/polygon/fit_bounds/2/33.68408,49.46098,38.95752,51.04657/')
def r... | 21.529412 | 85 | 0.730874 | 119 | 732 | 4.243697 | 0.478992 | 0.194059 | 0.168317 | 0.237624 | 0.354455 | 0.354455 | 0.158416 | 0.158416 | 0 | 0 | 0 | 0.219365 | 0.096995 | 732 | 33 | 86 | 22.181818 | 0.544629 | 0.09153 | 0 | 0 | 0 | 0.357143 | 0.471927 | 0.47041 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.071429 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6721028df564dc70c0701c59a964c276bfc1bbc7 | 48 | py | Python | quests/lvl_0001/python.py | bamr4287/it-journey | 91305420065deb2b530181fbc30b3d1d13e66086 | [
"MIT"
] | null | null | null | quests/lvl_0001/python.py | bamr4287/it-journey | 91305420065deb2b530181fbc30b3d1d13e66086 | [
"MIT"
] | 1 | 2022-01-19T01:17:23.000Z | 2022-01-19T01:17:23.000Z | quests/lvl_0001/python.py | bamr4287/it-journey | 91305420065deb2b530181fbc30b3d1d13e66086 | [
"MIT"
] | 1 | 2021-09-03T23:46:53.000Z | 2021-09-03T23:46:53.000Z | import os
import sys
print ("hello tahra")
| 9.6 | 22 | 0.666667 | 7 | 48 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 48 | 4 | 23 | 12 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
672523893f410834bc8bff70c0b594ca8ae6f239 | 38,905 | py | Python | test/test_fract.py | ktmrmshk/fract | a370e7e69f3b5d48bdd45aa73d8afc0d67756cf1 | [
"Apache-2.0"
] | 4 | 2019-05-29T07:14:38.000Z | 2021-09-20T21:14:08.000Z | test/test_fract.py | ktmrmshk/fract | a370e7e69f3b5d48bdd45aa73d8afc0d67756cf1 | [
"Apache-2.0"
] | 5 | 2018-08-10T07:53:50.000Z | 2019-03-28T09:20:16.000Z | test/test_fract.py | ktmrmshk/fract | a370e7e69f3b5d48bdd45aa73d8afc0d67756cf1 | [
"Apache-2.0"
] | 1 | 2018-05-28T06:01:28.000Z | 2018-05-28T06:01:28.000Z | import unittest, json, logging, re
from fract import FractTest, FractTestHassert, FractTestHdiff
class test_FractTest(unittest.TestCase):
def setUp(self):
self.fracttest = FractTest()
def tearDown(self):
pass
def test_init_template1(self):
ft=FractTestHassert()
ft.init_... | 59.853846 | 1,403 | 0.650919 | 4,694 | 38,905 | 5.29314 | 0.078611 | 0.08283 | 0.028013 | 0.023263 | 0.807897 | 0.754769 | 0.704097 | 0.676407 | 0.635595 | 0.625332 | 0 | 0.05306 | 0.14741 | 38,905 | 649 | 1,404 | 59.946071 | 0.69599 | 0.01663 | 0 | 0.49505 | 0 | 0.039604 | 0.444442 | 0.096681 | 0 | 0 | 0 | 0 | 0.384158 | 1 | 0.192079 | false | 0.124752 | 0.043564 | 0 | 0.253465 | 0.00396 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
672c60f5c79624ed4447dbf45f28e589bc204e91 | 148 | py | Python | hpfspecmatch/__init__.py | sinclairej/hpfspecmatch-1 | 4e2604c734e74572b33aabc3b2b7d983888701d6 | [
"MIT"
] | null | null | null | hpfspecmatch/__init__.py | sinclairej/hpfspecmatch-1 | 4e2604c734e74572b33aabc3b2b7d983888701d6 | [
"MIT"
] | null | null | null | hpfspecmatch/__init__.py | sinclairej/hpfspecmatch-1 | 4e2604c734e74572b33aabc3b2b7d983888701d6 | [
"MIT"
] | 1 | 2021-06-11T15:37:20.000Z | 2021-06-11T15:37:20.000Z | from .hpfspecmatch import *
from .likelihood import *
from .priors import *
from .utils import *
from .rotbroad_help import *
from .config import *
| 21.142857 | 28 | 0.756757 | 19 | 148 | 5.842105 | 0.473684 | 0.45045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 6 | 29 | 24.666667 | 0.895161 | 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 |
679924f8148b86d70274e4d475131ba039af5a94 | 103 | py | Python | pyccel/complexity/__init__.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | pyccel/complexity/__init__.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | pyccel/complexity/__init__.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
from .basic import *
from .arithmetic import *
from .memory import *
| 17.166667 | 25 | 0.592233 | 12 | 103 | 5.083333 | 0.666667 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.262136 | 103 | 5 | 26 | 20.6 | 0.789474 | 0.203884 | 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 |
679b4727524d05e4782dd28ea7e47ec564eecdb9 | 7,218 | py | Python | tests/test_behaviours.py | luciotorre/behaviour-trees | 26c60d9e8cc8a498af6c11c6d62c4e207cfcc6b9 | [
"MIT"
] | null | null | null | tests/test_behaviours.py | luciotorre/behaviour-trees | 26c60d9e8cc8a498af6c11c6d62c4e207cfcc6b9 | [
"MIT"
] | null | null | null | tests/test_behaviours.py | luciotorre/behaviour-trees | 26c60d9e8cc8a498af6c11c6d62c4e207cfcc6b9 | [
"MIT"
] | 1 | 2018-03-12T08:42:58.000Z | 2018-03-12T08:42:58.000Z | import unittest
import random
import math
import behaviours
class Testbehaviours(unittest.TestCase):
def test_do(self):
target = []
tree = behaviours.do("call_it", lambda state: state.append(True))
running, success = tree.tick(target)
self.assertEqual(running, False)
self.assertEqual(success, True)
self... | 28.305882 | 104 | 0.703242 | 918 | 7,218 | 5.485839 | 0.081699 | 0.20552 | 0.117951 | 0.144162 | 0.839357 | 0.820095 | 0.792693 | 0.77363 | 0.699563 | 0.684472 | 0 | 0.004564 | 0.150042 | 7,218 | 254 | 105 | 28.417323 | 0.8163 | 0.019257 | 0 | 0.633166 | 0 | 0 | 0.051166 | 0 | 0 | 0 | 0 | 0 | 0.346734 | 1 | 0.085427 | false | 0 | 0.020101 | 0 | 0.110553 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67a21ac2b65e42e6a91c28458c86ff30c8ec1b30 | 4,066 | py | Python | tests/sync/test_calendar_getters.py | HETHAT/aladhan.py | 1426f2ab1c298c430f2b94f748bcab94129f500c | [
"MIT"
] | 8 | 2021-04-23T16:26:41.000Z | 2021-08-02T21:02:53.000Z | tests/sync/test_calendar_getters.py | HETHAT/aladhan.py | 1426f2ab1c298c430f2b94f748bcab94129f500c | [
"MIT"
] | 2 | 2021-07-30T20:43:34.000Z | 2021-08-20T21:44:39.000Z | tests/sync/test_calendar_getters.py | HETHAT/aladhan.py | 1426f2ab1c298c430f2b94f748bcab94129f500c | [
"MIT"
] | 2 | 2021-04-23T15:47:43.000Z | 2021-07-30T20:09:32.000Z | import pytest
import aladhan
@pytest.fixture
def client():
with aladhan.Client() as client:
yield client
@pytest.mark.parametrize(
["args", "kwargs", "expected"],
[
[(34, 4), {"date": aladhan.CalendarDateArg(2021, 5)}, list],
[(34, 4), {"date": aladhan.CalendarDateArg(2021)}, dic... | 27.288591 | 77 | 0.455976 | 347 | 4,066 | 5.302594 | 0.144092 | 0.119565 | 0.282609 | 0.179348 | 0.925543 | 0.92337 | 0.863587 | 0.791848 | 0.679348 | 0.56413 | 0 | 0.052548 | 0.382194 | 4,066 | 148 | 78 | 27.472973 | 0.679936 | 0 | 0 | 0.578571 | 0 | 0 | 0.072553 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 1 | 0.028571 | false | 0 | 0.014286 | 0 | 0.042857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67b345bf2d99af89195669c775553fb732fe834d | 202 | py | Python | dawa_facade/tests/replication/__init__.py | YnkDK/Dawa-Facade | c013dd9dc06581ea3955ddbe9d50880ae9f072b0 | [
"MIT"
] | null | null | null | dawa_facade/tests/replication/__init__.py | YnkDK/Dawa-Facade | c013dd9dc06581ea3955ddbe9d50880ae9f072b0 | [
"MIT"
] | null | null | null | dawa_facade/tests/replication/__init__.py | YnkDK/Dawa-Facade | c013dd9dc06581ea3955ddbe9d50880ae9f072b0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""__init__.py.py
Copyright 2017 Martin Storgaard Dieu under The MIT License
Written by Martin Storgaard Dieu <martin@storgaarddieu.com>, november 2017
""" | 28.857143 | 74 | 0.737624 | 29 | 202 | 5 | 0.793103 | 0.206897 | 0.262069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051136 | 0.128713 | 202 | 7 | 75 | 28.857143 | 0.772727 | 0.950495 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67e805afef2f9ecbaf0d77b3b16cdd52ffcbb37d | 2,511 | py | Python | networks/SimpleMLPs.py | EchteRobert/FeatureAggregation | 3dc17178dae6ae2acbbadb559ebe89298a778423 | [
"BSD-3-Clause"
] | 1 | 2022-03-02T16:47:21.000Z | 2022-03-02T16:47:21.000Z | networks/SimpleMLPs.py | EchteRobert/FeatureAggregation | 3dc17178dae6ae2acbbadb559ebe89298a778423 | [
"BSD-3-Clause"
] | 1 | 2022-03-02T10:12:44.000Z | 2022-03-02T10:13:12.000Z | networks/SimpleMLPs.py | broadinstitute/FeatureAggregation | 3dc17178dae6ae2acbbadb559ebe89298a778423 | [
"BSD-3-Clause"
] | null | null | null |
import torch
import torch.nn as nn
import torch.nn.functional as F
class MLP(nn.Module):
def __init__(self, input_dim=1938, latent_dim=256, output_dim=128, k=1):
super(MLP, self).__init__()
self.latent_dim = latent_dim
self.output_dim = output_dim
# Feature extraction sub-model
... | 34.39726 | 122 | 0.620868 | 385 | 2,511 | 3.909091 | 0.171429 | 0.063787 | 0.079734 | 0.111628 | 0.927575 | 0.914286 | 0.831894 | 0.796013 | 0.796013 | 0.754817 | 0 | 0.057611 | 0.246515 | 2,511 | 72 | 123 | 34.875 | 0.737844 | 0.19315 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0.066667 | 0 | 0.244444 | 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 |
c02501c7c02120dc2ca6ca4ac1ce0c02cb8bdfae | 554 | py | Python | tests/nfe_reader/ba/conftest.py | jroquejr/nfe-reader | 277379bfb9865b2656c2576d8ccf8c3e1f3cacd1 | [
"MIT"
] | null | null | null | tests/nfe_reader/ba/conftest.py | jroquejr/nfe-reader | 277379bfb9865b2656c2576d8ccf8c3e1f3cacd1 | [
"MIT"
] | 2 | 2021-04-21T14:57:31.000Z | 2021-04-21T14:57:32.000Z | tests/nfe_reader/ba/conftest.py | jroquejr/nfe-reader | 277379bfb9865b2656c2576d8ccf8c3e1f3cacd1 | [
"MIT"
] | null | null | null | from pytest import fixture
from tests.util import load_file
@fixture(scope="module")
def html_first_page():
return load_file("crawler_ba/fixture-first-page.html")
@fixture(scope="module")
def html_nfe():
return load_file("crawler_ba/nfe.html")
@fixture(scope="module")
def html_emitter():
return load_... | 19.103448 | 58 | 0.741877 | 80 | 554 | 4.9125 | 0.275 | 0.122137 | 0.229008 | 0.267176 | 0.651399 | 0.295165 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115523 | 554 | 28 | 59 | 19.785714 | 0.802041 | 0 | 0 | 0.294118 | 0 | 0 | 0.285199 | 0.196751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | true | 0 | 0.117647 | 0.294118 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c054c8007aa99524c9d2240e5958653dd634e461 | 96 | py | Python | terrascript/helm/r.py | benediktkr/python-terrascript | 7b56a34563964e0313dd39b52b4b7d9ceb71dde9 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/helm/r.py | benediktkr/python-terrascript | 7b56a34563964e0313dd39b52b4b7d9ceb71dde9 | [
"BSD-2-Clause"
] | null | null | null | terrascript/helm/r.py | benediktkr/python-terrascript | 7b56a34563964e0313dd39b52b4b7d9ceb71dde9 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/helm/r.py
import terrascript
class helm_release(terrascript.Resource):
pass
| 13.714286 | 41 | 0.78125 | 12 | 96 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 6 | 42 | 16 | 0.891566 | 0.21875 | 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 |
fbe5060192efcb5acd37307b4b214a57cb965a70 | 1,255 | py | Python | tests/finders/test_functional_text.py | ace-ecosystem/urlfinderlib | 6d58362b9943d037b749768815fc6d012367cbf5 | [
"Apache-2.0"
] | null | null | null | tests/finders/test_functional_text.py | ace-ecosystem/urlfinderlib | 6d58362b9943d037b749768815fc6d012367cbf5 | [
"Apache-2.0"
] | 21 | 2019-12-03T14:23:46.000Z | 2021-08-30T20:34:44.000Z | tests/finders/test_functional_text.py | ace-ecosystem/urlfinderlib | 6d58362b9943d037b749768815fc6d012367cbf5 | [
"Apache-2.0"
] | 3 | 2019-12-03T17:44:47.000Z | 2020-08-11T20:43:15.000Z | import urlfinderlib.finders
def test_find_urls_in_text():
text = b"""
<http://domain.com/angle_brackets>
`http://domain.com/backticks`
[http://domain.com/brackets]
{http://domain.com/curly_brackets}
"http://domain.com/double_quotes"
(http://domain.com/parentheses)
'http://domain.com/single_quotes'
http://domain.... | 26.145833 | 53 | 0.643825 | 151 | 1,255 | 5.218543 | 0.211921 | 0.274112 | 0.362944 | 0.159898 | 0.906091 | 0.906091 | 0.751269 | 0.614213 | 0.614213 | 0.614213 | 0 | 0.002887 | 0.172112 | 1,255 | 48 | 54 | 26.145833 | 0.755534 | 0 | 0 | 0.25641 | 0 | 0 | 0.566879 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 1 | 0.051282 | false | 0 | 0.025641 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
220a7905c09030343a94cb7c1575e3a5a7f507a5 | 3,343 | py | Python | test/test_command_line_parsing.py | jmiiller/dns_shark | 80ee4c7ec32fc3fec202e5142cf745d432770947 | [
"MIT"
] | 3 | 2020-01-21T20:32:35.000Z | 2020-08-01T07:14:55.000Z | test/test_command_line_parsing.py | jmiiller/dns_shark | 80ee4c7ec32fc3fec202e5142cf745d432770947 | [
"MIT"
] | 4 | 2020-01-20T01:16:39.000Z | 2020-01-20T01:34:27.000Z | test/test_command_line_parsing.py | jmiiller/dns_shark | 80ee4c7ec32fc3fec202e5142cf745d432770947 | [
"MIT"
] | null | null | null | import unittest
from dns_shark.command_line_parsing import create_parser
from contextlib import redirect_stderr
from io import StringIO
class CommandLineParsingTests(unittest.TestCase):
"""
Unit testing for command_line_parsing.py (i.e. command line parsing logic)
"""
def setUp(self):
self.pa... | 37.988636 | 118 | 0.654801 | 430 | 3,343 | 4.886047 | 0.174419 | 0.118991 | 0.199905 | 0.237982 | 0.78534 | 0.764874 | 0.726321 | 0.687292 | 0.673965 | 0.673965 | 0 | 0.032638 | 0.211786 | 3,343 | 87 | 119 | 38.425287 | 0.764706 | 0.14149 | 0 | 0.478261 | 0 | 0 | 0.140364 | 0.081693 | 0 | 0 | 0 | 0 | 0.478261 | 1 | 0.173913 | false | 0 | 0.086957 | 0 | 0.282609 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
222e3a8b079a35cec4d4aa1b3557b734e7de0373 | 43 | py | Python | MeasureVAE/__init__.py | RetroCirce/Music-SketchNet | 40b45a658414703b7583e25a2c41e753c4a61e81 | [
"CC0-1.0"
] | 57 | 2020-08-01T04:08:36.000Z | 2022-02-21T10:13:56.000Z | MeasureVAE/__init__.py | RetroCirce/Music-SketchNet | 40b45a658414703b7583e25a2c41e753c4a61e81 | [
"CC0-1.0"
] | 3 | 2020-10-09T11:37:28.000Z | 2021-09-08T02:24:50.000Z | MeasureVAE/__init__.py | RetroCirce/Music-SketchNet | 40b45a658414703b7583e25a2c41e753c4a61e81 | [
"CC0-1.0"
] | 8 | 2020-08-05T12:32:45.000Z | 2022-03-22T02:23:10.000Z | from . import measure_vae, encoder, decoder | 43 | 43 | 0.813953 | 6 | 43 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
223857b59f08513b546cff7d04bfbddc1e3cba4e | 47,603 | py | Python | tests/cli_test.py | DanielHHowell/servox | 789f6b1fe6afaf41b754a866d0f8bbbe079eab4f | [
"Apache-2.0"
] | 4 | 2020-08-10T21:38:24.000Z | 2021-04-02T18:04:23.000Z | tests/cli_test.py | DanielHHowell/servox | 789f6b1fe6afaf41b754a866d0f8bbbe079eab4f | [
"Apache-2.0"
] | 265 | 2020-07-24T14:20:02.000Z | 2022-03-31T16:05:18.000Z | tests/cli_test.py | DanielHHowell/servox | 789f6b1fe6afaf41b754a866d0f8bbbe079eab4f | [
"Apache-2.0"
] | 3 | 2020-10-30T16:45:09.000Z | 2022-02-03T08:08:03.000Z | import json
import os
import re
from pathlib import Path
import pytest
import respx
import yaml
from freezegun import freeze_time
from typer import Typer
from typer.testing import CliRunner
import servo
from servo import Optimizer
from servo.cli import CLI, Context, ServoCLI
from servo.connectors.vegeta import Vegeta... | 41.466028 | 182 | 0.675084 | 6,386 | 47,603 | 4.85938 | 0.059505 | 0.055974 | 0.046468 | 0.061582 | 0.825503 | 0.802816 | 0.784158 | 0.760956 | 0.732985 | 0.717485 | 0 | 0.008215 | 0.197004 | 47,603 | 1,147 | 183 | 41.50218 | 0.803453 | 0.016764 | 0 | 0.583069 | 0 | 0.02963 | 0.246061 | 0.097646 | 0 | 0 | 0 | 0.000872 | 0.304762 | 1 | 0.12381 | false | 0.013757 | 0.017989 | 0.004233 | 0.154497 | 0.001058 | 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 |
226110110d5d9366f501709681c7269039d7f107 | 14,935 | py | Python | sawtooth/consent_common/transaction.py | AlexZhovnuvaty/patient-consent | f14444aa3d48c8c23d162487d03be0459de46caa | [
"Apache-2.0"
] | 6 | 2020-01-08T07:55:51.000Z | 2021-09-19T10:45:57.000Z | sawtooth/consent_common/transaction.py | AlexZhovnuvaty/patient-consent | f14444aa3d48c8c23d162487d03be0459de46caa | [
"Apache-2.0"
] | 2 | 2019-12-12T13:39:51.000Z | 2020-02-20T14:01:28.000Z | sawtooth/consent_common/transaction.py | AlexZhovnuvaty/patient-consent | f14444aa3d48c8c23d162487d03be0459de46caa | [
"Apache-2.0"
] | 12 | 2019-10-09T13:35:14.000Z | 2020-09-10T07:40:23.000Z | import hashlib
import random
import logging
from sawtooth_sdk.protobuf.batch_pb2 import BatchHeader, Batch
from sawtooth_sdk.protobuf.transaction_pb2 import Transaction, TransactionHeader
from . import helper as helper
from .protobuf.consent_payload_pb2 import Permission, ConsentTransactionPayload, Client, ActionOnAc... | 38.196931 | 156 | 0.728021 | 1,640 | 14,935 | 6.189024 | 0.080488 | 0.050542 | 0.075369 | 0.068966 | 0.804926 | 0.763941 | 0.737044 | 0.726601 | 0.719901 | 0.697734 | 0 | 0.008148 | 0.19471 | 14,935 | 390 | 157 | 38.294872 | 0.835786 | 0.337931 | 0 | 0.507937 | 0 | 0 | 0.003077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068783 | false | 0 | 0.042328 | 0 | 0.179894 | 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 |
226a803303823a3fd96b0fc863b179b270569c74 | 2,450 | py | Python | logger/mail.py | Sandr0x00/price-logger | 5044e43204ac4e5e1e3b4685e29436ce16e3fd02 | [
"MIT"
] | null | null | null | logger/mail.py | Sandr0x00/price-logger | 5044e43204ac4e5e1e3b4685e29436ce16e3fd02 | [
"MIT"
] | 42 | 2019-02-08T18:18:23.000Z | 2022-03-11T23:43:45.000Z | logger/mail.py | Sandr0x00/price-logger | 5044e43204ac4e5e1e3b4685e29436ce16e3fd02 | [
"MIT"
] | null | null | null | import smtplib, ssl
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
import re
import time
def send_mail(mail_config, item, price):
if not mail_config or mail_config == "":
return False
# Create a secure SSL context
context = ssl.create_default_context()
with ... | 38.888889 | 104 | 0.638776 | 309 | 2,450 | 4.94822 | 0.245955 | 0.143885 | 0.054938 | 0.04709 | 0.800523 | 0.800523 | 0.800523 | 0.748201 | 0.748201 | 0.748201 | 0 | 0.002114 | 0.227755 | 2,450 | 63 | 105 | 38.888889 | 0.806025 | 0.190612 | 0 | 0.585366 | 0 | 0 | 0.178915 | 0.024835 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0.04878 | 0.121951 | 0 | 0.268293 | 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 |
97ef5beec0fa88d5d43b584ba9bca9bef802c7e6 | 621 | py | Python | Data/ObjectData.py | jeui123/pyrelay | 43203343217c784183342dead933e0dc88c161d0 | [
"MIT"
] | null | null | null | Data/ObjectData.py | jeui123/pyrelay | 43203343217c784183342dead933e0dc88c161d0 | [
"MIT"
] | null | null | null | Data/ObjectData.py | jeui123/pyrelay | 43203343217c784183342dead933e0dc88c161d0 | [
"MIT"
] | null | null | null | from .ObjectStatusData import *
class ObjectData:
def __init__(self, objectType=0, status=None):
self.objectType = objectType
self.status = ObjectStatusData()
def read(self, reader):
self.objectType = reader.readUnsignedShort()
self.status.read(reader)
def write(s... | 31.05 | 83 | 0.648953 | 64 | 621 | 6.171875 | 0.375 | 0.212658 | 0.202532 | 0.182278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00211 | 0.236715 | 621 | 19 | 84 | 32.684211 | 0.831224 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.066667 | 0.133333 | 0.6 | 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 |
97fd758aab53a0bb77397af3cba6165a9974a922 | 10,538 | py | Python | luminaire/tests/test_models.py | Dima2022/luminaire | 5f98b624e70fad69a0fd82aed7d04a843fbb6450 | [
"Apache-2.0"
] | 525 | 2020-08-19T17:10:59.000Z | 2022-03-30T12:31:11.000Z | luminaire/tests/test_models.py | Dima2022/luminaire | 5f98b624e70fad69a0fd82aed7d04a843fbb6450 | [
"Apache-2.0"
] | 53 | 2020-08-19T17:25:42.000Z | 2022-03-18T05:58:09.000Z | luminaire/tests/test_models.py | jtimberlake/luminaire | 605db1aa4a2df24a398d64baad7e5530bdea2883 | [
"Apache-2.0"
] | 43 | 2020-08-24T01:31:29.000Z | 2022-03-16T02:00:27.000Z | from luminaire.model.lad_structural import *
from luminaire.model.lad_filtering import *
from luminaire.model.window_density import *
from datetime import datetime
class TestLADStructural(object):
def test_lad_structural_training(self, training_test_data):
hyper_params = LADStructuralHyperParams(is_log_t... | 53.765306 | 125 | 0.708199 | 1,279 | 10,538 | 5.393276 | 0.083659 | 0.04639 | 0.078284 | 0.076544 | 0.931139 | 0.910409 | 0.876051 | 0.8343 | 0.818063 | 0.806176 | 0 | 0.017664 | 0.210287 | 10,538 | 195 | 126 | 54.041026 | 0.811223 | 0 | 0 | 0.615385 | 0 | 0 | 0.039856 | 0 | 0 | 0 | 0 | 0 | 0.132867 | 1 | 0.104895 | false | 0 | 0.027972 | 0 | 0.13986 | 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 |
3f05d7306173b55e9d870f8be736c484e068e653 | 81 | py | Python | elabjournal/elabjournal/StorageTypes.py | matthijsbrouwer/elabjournal-python | 4063b01993f0bf17ea2857009c1bedc5ace8b87b | [
"Apache-2.0"
] | 2 | 2021-06-29T11:17:27.000Z | 2022-01-11T18:41:49.000Z | elabjournal/elabjournal/StorageTypes.py | matthijsbrouwer/elabjournal-python | 4063b01993f0bf17ea2857009c1bedc5ace8b87b | [
"Apache-2.0"
] | null | null | null | elabjournal/elabjournal/StorageTypes.py | matthijsbrouwer/elabjournal-python | 4063b01993f0bf17ea2857009c1bedc5ace8b87b | [
"Apache-2.0"
] | 1 | 2019-06-06T13:23:11.000Z | 2019-06-06T13:23:11.000Z | from .eLABJournalPager import *
class StorageTypes(eLABJournalPager):
pass | 13.5 | 37 | 0.777778 | 7 | 81 | 9 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 6 | 38 | 13.5 | 0.926471 | 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 |
3f2acadaca5e53c0f9ccb21b6e36f1634b325018 | 38 | py | Python | src/lib/binhex.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/binhex.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/binhex.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("binhex")
| 19 | 37 | 0.763158 | 6 | 38 | 4 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.