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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d6620cb94fa427f4e13aeeb6f3f58590c26aebe | 48 | py | Python | src/synpp/__init__.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 6 | 2020-04-01T12:06:20.000Z | 2021-11-02T19:10:27.000Z | src/synpp/__init__.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 26 | 2019-12-08T12:25:39.000Z | 2022-02-28T07:24:56.000Z | src/synpp/__init__.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 8 | 2020-06-19T15:49:46.000Z | 2021-07-06T10:15:37.000Z | from .pipeline import *
from .parallel import *
| 16 | 23 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 24 | 24 | 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 |
0d83dfaeb0a805a5c46027cfaee324bcd0f55925 | 106 | py | Python | optim/__init__.py | AxelBohm/FBF-GAN | 03bd197ac6225ef908b87626a21daef9a15d65c3 | [
"MIT"
] | null | null | null | optim/__init__.py | AxelBohm/FBF-GAN | 03bd197ac6225ef908b87626a21daef9a15d65c3 | [
"MIT"
] | null | null | null | optim/__init__.py | AxelBohm/FBF-GAN | 03bd197ac6225ef908b87626a21daef9a15d65c3 | [
"MIT"
] | 1 | 2021-03-30T18:29:07.000Z | 2021-03-30T18:29:07.000Z | from __future__ import absolute_import
from .extragradient import *
from .omd import *
from .fbf import *
| 21.2 | 38 | 0.792453 | 14 | 106 | 5.642857 | 0.5 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 4 | 39 | 26.5 | 0.877778 | 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 |
0d88158a45a41c1f3001f3835531ab17a6389ca4 | 87 | py | Python | rmsectkf/core/modules/remote/exploit/exploit_module.py | MartinR2295/rm-sec-toolkit | c3906dc97a8b778a29421efa982c3ab9d72873ff | [
"Apache-2.0"
] | null | null | null | rmsectkf/core/modules/remote/exploit/exploit_module.py | MartinR2295/rm-sec-toolkit | c3906dc97a8b778a29421efa982c3ab9d72873ff | [
"Apache-2.0"
] | 15 | 2021-05-07T07:44:48.000Z | 2021-05-09T08:59:19.000Z | rmsectkf/core/modules/remote/exploit/exploit_module.py | MartinR2295/rm-sec-toolkit | c3906dc97a8b778a29421efa982c3ab9d72873ff | [
"Apache-2.0"
] | null | null | null | from ..remote_module import RemoteModule
class ExploitModule(RemoteModule):
pass
| 14.5 | 40 | 0.793103 | 9 | 87 | 7.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 41 | 17.4 | 0.918919 | 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 |
0db8c82cc152cf5223a13e212b12be2466e3dd83 | 74 | py | Python | models/riskmodel/src/config.py | kushal-h/Medical-AI | de100f6ce3b783086d57dfb0ceab3fa28544df53 | [
"MIT"
] | 11 | 2020-11-08T11:06:16.000Z | 2022-03-14T18:09:55.000Z | models/riskmodel/src/config.py | kushal-h/Medical-AI | de100f6ce3b783086d57dfb0ceab3fa28544df53 | [
"MIT"
] | null | null | null | models/riskmodel/src/config.py | kushal-h/Medical-AI | de100f6ce3b783086d57dfb0ceab3fa28544df53 | [
"MIT"
] | 14 | 2020-10-26T18:10:16.000Z | 2021-08-05T17:06:22.000Z | data_dir="./models/riskmodel/data/"
model_dir="./models/riskmodel/weight/" | 37 | 38 | 0.77027 | 10 | 74 | 5.5 | 0.6 | 0.327273 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 74 | 2 | 38 | 37 | 0.753425 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0dde8c786fd1ee76d928b2a11c2be8527af5395f | 284 | py | Python | plugin/src/test/resources/inspections/PyCompatibilityInspection/exceptBlock.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | plugin/src/test/resources/inspections/PyCompatibilityInspection/exceptBlock.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | 11 | 2017-02-27T22:35:32.000Z | 2021-12-24T08:07:40.000Z | plugin/src/test/resources/inspections/PyCompatibilityInspection/exceptBlock.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | try:
do_smth()
<warning descr="Python version 2.4, 2.5 do not support this syntax.">except ImportError as e:
do()</warning>
try:
do_smth()
<warning descr="Python version 3.0, 3.1, 3.2, 3.3 do not support this syntax.">except ImportError, ImportWarning:
do()</warning> | 31.555556 | 113 | 0.683099 | 47 | 284 | 4.085106 | 0.468085 | 0.052083 | 0.09375 | 0.166667 | 0.760417 | 0.760417 | 0.760417 | 0 | 0 | 0 | 0 | 0.051064 | 0.172535 | 284 | 9 | 114 | 31.555556 | 0.765957 | 0 | 0 | 0.75 | 0 | 0.125 | 0.392982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2171ae4d398eb24561370385cc9ee150663a0974 | 255 | py | Python | pypy/jit/backend/x86/test/test_dict.py | benoitc/pypy | a3e1b12d1d01dc29056b7badc051ffc034297658 | [
"MIT"
] | 1 | 2020-01-21T11:10:51.000Z | 2020-01-21T11:10:51.000Z | pypy/jit/backend/x86/test/test_dict.py | benoitc/pypy | a3e1b12d1d01dc29056b7badc051ffc034297658 | [
"MIT"
] | null | null | null | pypy/jit/backend/x86/test/test_dict.py | benoitc/pypy | a3e1b12d1d01dc29056b7badc051ffc034297658 | [
"MIT"
] | null | null | null |
from pypy.jit.backend.x86.test.test_basic import Jit386Mixin
from pypy.jit.metainterp.test.test_dict import DictTests
class TestDict(Jit386Mixin, DictTests):
# for the individual tests see
# ====> ../../../metainterp/test/test_dict.py
pass
| 25.5 | 60 | 0.733333 | 34 | 255 | 5.411765 | 0.617647 | 0.130435 | 0.119565 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03653 | 0.141176 | 255 | 9 | 61 | 28.333333 | 0.803653 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2175e9e480ab1b2197b9c95c09d29de1100fbba9 | 95 | py | Python | parking_lot.py | lucidsif/console_parking_lot_app | 4ad60b0a270d1d4034f82717bfbcb948af590953 | [
"MIT"
] | null | null | null | parking_lot.py | lucidsif/console_parking_lot_app | 4ad60b0a270d1d4034f82717bfbcb948af590953 | [
"MIT"
] | null | null | null | parking_lot.py | lucidsif/console_parking_lot_app | 4ad60b0a270d1d4034f82717bfbcb948af590953 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
from console_app import initialize_console_app
initialize_console_app() | 23.75 | 46 | 0.842105 | 14 | 95 | 5.357143 | 0.642857 | 0.4 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 4 | 47 | 23.75 | 0.862069 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
21a6a6e5dbe6b50f4fd4ee06ed4708c74fc71c35 | 4,646 | py | Python | google/cloud/notebooks/v1/notebooks-v1-py/google/cloud/notebooks_v1/types/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 7 | 2021-02-21T10:39:41.000Z | 2021-12-07T07:31:28.000Z | google/cloud/notebooks/v1/notebooks-v1-py/google/cloud/notebooks_v1/types/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 6 | 2021-02-02T23:46:11.000Z | 2021-11-15T01:46:02.000Z | google/cloud/notebooks/v1/notebooks-v1-py/google/cloud/notebooks_v1/types/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 4 | 2021-01-28T23:25:45.000Z | 2021-08-30T01:55:16.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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... | 26.248588 | 74 | 0.73913 | 263 | 4,646 | 13.034221 | 0.539924 | 0.017503 | 0.007585 | 0.009335 | 0.752625 | 0.752625 | 0.752625 | 0.752625 | 0.752625 | 0.752625 | 0 | 0.002374 | 0.184029 | 4,646 | 176 | 75 | 26.397727 | 0.901873 | 0.122471 | 0 | 0 | 0 | 0 | 0.345235 | 0.208816 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05625 | 0 | 0.05625 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21af2b732d2fbcba3c371594564167a5217b3fd2 | 7,291 | py | Python | Net640/apps/user_posts/tests/test_views.py | 86Ilya/net640kb | 6724f3da3b678b637e0e776ee0d4953753ee2e05 | [
"MIT"
] | 1 | 2019-06-18T09:50:29.000Z | 2019-06-18T09:50:29.000Z | Net640/apps/user_posts/tests/test_views.py | 86Ilya/net640kb | 6724f3da3b678b637e0e776ee0d4953753ee2e05 | [
"MIT"
] | 10 | 2019-12-24T07:05:29.000Z | 2022-02-10T07:42:44.000Z | Net640/apps/user_posts/tests/test_views.py | 86Ilya/net640kb | 6724f3da3b678b637e0e776ee0d4953753ee2e05 | [
"MIT"
] | null | null | null | from uuid import uuid1
from django.test import TestCase, Client
from django.urls import reverse
from django.core.exceptions import ObjectDoesNotExist
from Net640.apps.user_profile.models import User, RELATIONSHIP_FRIENDS, NO_RELATIONSHIP
from Net640.apps.user_posts.models import Post
from Net640.settings import MAX_P... | 52.078571 | 122 | 0.696612 | 913 | 7,291 | 5.313253 | 0.11172 | 0.054422 | 0.045351 | 0.077098 | 0.835498 | 0.80169 | 0.775922 | 0.738611 | 0.68254 | 0.660276 | 0 | 0.026171 | 0.177205 | 7,291 | 139 | 123 | 52.453237 | 0.782464 | 0.024688 | 0 | 0.578947 | 0 | 0 | 0.142394 | 0.064507 | 0 | 0 | 0 | 0 | 0.254386 | 1 | 0.087719 | false | 0.122807 | 0.061404 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
21d1996430b724bd749dac53a44039114316079b | 91 | py | Python | softqlearning/softqlearning/replay_buffers/__init__.py | Kiwoo/HVHRL | b883c6a36655e2d348114e320b953f12dc799fd4 | [
"MIT"
] | null | null | null | softqlearning/softqlearning/replay_buffers/__init__.py | Kiwoo/HVHRL | b883c6a36655e2d348114e320b953f12dc799fd4 | [
"MIT"
] | null | null | null | softqlearning/softqlearning/replay_buffers/__init__.py | Kiwoo/HVHRL | b883c6a36655e2d348114e320b953f12dc799fd4 | [
"MIT"
] | null | null | null | from .simple_replay_buffer import SimpleReplayBuffer
from .union_buffer import UnionBuffer
| 30.333333 | 52 | 0.89011 | 11 | 91 | 7.090909 | 0.727273 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 53 | 45.5 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df213758bb20ef99761c4dd66174e651049032ae | 198 | py | Python | models/visslmodels/__init__.py | STomoya/animessl | fe12f5e49e767e23f7610d334d3f0ba16e3cdf8b | [
"MIT"
] | 3 | 2022-02-26T11:39:12.000Z | 2022-03-03T12:14:03.000Z | models/visslmodels/__init__.py | STomoya/animessl | fe12f5e49e767e23f7610d334d3f0ba16e3cdf8b | [
"MIT"
] | null | null | null | models/visslmodels/__init__.py | STomoya/animessl | fe12f5e49e767e23f7610d334d3f0ba16e3cdf8b | [
"MIT"
] | null | null | null |
from pathlib import Path
from classy_vision.generic.registry_utils import import_all_modules
FILE_ROOT = Path(__file__).parent
print(FILE_ROOT)
import_all_modules(FILE_ROOT, 'models.visslmodels')
| 24.75 | 67 | 0.848485 | 29 | 198 | 5.344828 | 0.586207 | 0.154839 | 0.206452 | 0.258065 | 0.309677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 198 | 7 | 68 | 28.285714 | 0.851648 | 0 | 0 | 0 | 0 | 0 | 0.091371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.2 | 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 |
df505156744d5661739387453c37b25c8e72a32c | 287 | py | Python | miptclass/blueprints/__init__.py | daskol/mipt-classifier | 8c8b7443510f1ed5c9b1d0c98c33936c02f8fbd7 | [
"MIT"
] | null | null | null | miptclass/blueprints/__init__.py | daskol/mipt-classifier | 8c8b7443510f1ed5c9b1d0c98c33936c02f8fbd7 | [
"MIT"
] | null | null | null | miptclass/blueprints/__init__.py | daskol/mipt-classifier | 8c8b7443510f1ed5c9b1d0c98c33936c02f8fbd7 | [
"MIT"
] | null | null | null | # encoding: utf8
# __init__.py
from miptclass import settings
from miptclass.blueprints import admin, api
def init_app(app):
app.register_blueprint(admin.bp, url_prefix=settings.URL_PREFIX + '/admin')
app.register_blueprint(api.bp, url_prefix=settings.URL_PREFIX + '/api')
| 28.7 | 79 | 0.759582 | 40 | 287 | 5.175 | 0.45 | 0.173913 | 0.193237 | 0.183575 | 0.270531 | 0.270531 | 0 | 0 | 0 | 0 | 0 | 0.004016 | 0.132404 | 287 | 9 | 80 | 31.888889 | 0.827309 | 0.097561 | 0 | 0 | 0 | 0 | 0.03937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
df78e3bca84833645a20f8cb8134accced4ecd4c | 31 | py | Python | intervalpy/__init__.py | diatche/intervalpy | 8204265fe3a24bd9268a46af644c58778ee7112a | [
"MIT"
] | null | null | null | intervalpy/__init__.py | diatche/intervalpy | 8204265fe3a24bd9268a46af644c58778ee7112a | [
"MIT"
] | null | null | null | intervalpy/__init__.py | diatche/intervalpy | 8204265fe3a24bd9268a46af644c58778ee7112a | [
"MIT"
] | null | null | null | from .interval import Interval
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df7c05e3d9c28df06e662eb0d6b22f2607524058 | 49 | py | Python | kivymd/uix/tab/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | kivymd/uix/tab/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | kivymd/uix/tab/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | from .tab import MDTabs, MDTabsBase, MDTabsLabel
| 24.5 | 48 | 0.816327 | 6 | 49 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.930233 | 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 |
df7eb4f271452eb374ae49342c801838cc1a03b9 | 46 | py | Python | ilrdc/base/__init__.py | Retr0327/ilrdc-downloader | 1785cf7161dd5bd983e158bb0ebadc461f08d2da | [
"Apache-2.0"
] | null | null | null | ilrdc/base/__init__.py | Retr0327/ilrdc-downloader | 1785cf7161dd5bd983e158bb0ebadc461f08d2da | [
"Apache-2.0"
] | null | null | null | ilrdc/base/__init__.py | Retr0327/ilrdc-downloader | 1785cf7161dd5bd983e158bb0ebadc461f08d2da | [
"Apache-2.0"
] | null | null | null | from .base import DataCleaner, DataDownloader
| 23 | 45 | 0.847826 | 5 | 46 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 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 |
10c95be17fa8e8160088421461226a0fc7ad7029 | 14,925 | py | Python | active_learning_dd/utils/metrics.py | gitter-lab/active-learning-drug-discovery | b24004a359037b3a1175a61c181ec231b711c797 | [
"MIT"
] | null | null | null | active_learning_dd/utils/metrics.py | gitter-lab/active-learning-drug-discovery | b24004a359037b3a1175a61c181ec231b711c797 | [
"MIT"
] | null | null | null | active_learning_dd/utils/metrics.py | gitter-lab/active-learning-drug-discovery | b24004a359037b3a1175a61c181ec231b711c797 | [
"MIT"
] | null | null | null | """
Contains metrics functions. Adapted from: https://github.com/gitter-lab/pria_lifechem/blob/master/pria_lifechem/evaluation.py
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from sklearn.metrics import auc, roc_auc_score, aver... | 40.013405 | 149 | 0.682077 | 2,286 | 14,925 | 3.986877 | 0.060367 | 0.058701 | 0.040816 | 0.064736 | 0.900044 | 0.872394 | 0.849353 | 0.827738 | 0.772767 | 0.733926 | 0 | 0.005217 | 0.242278 | 14,925 | 373 | 150 | 40.013405 | 0.80069 | 0.01943 | 0 | 0.461165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174757 | false | 0 | 0.024272 | 0.048544 | 0.373786 | 0.004854 | 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 |
10f14aecbca2d667128144de7fc755dfcb7798e7 | 43 | py | Python | flexinfer/postprocess/obj_det/__init__.py | rriyaldhi/flexinfer | 523b9bf49226001c0477a3635ffe9071387ae788 | [
"Apache-2.0"
] | 81 | 2020-06-17T07:46:19.000Z | 2022-03-29T23:29:33.000Z | flexinfer/postprocess/obj_det/__init__.py | rriyaldhi/flexinfer | 523b9bf49226001c0477a3635ffe9071387ae788 | [
"Apache-2.0"
] | 1 | 2020-07-02T08:14:49.000Z | 2020-07-20T11:34:30.000Z | flexinfer/postprocess/obj_det/__init__.py | rriyaldhi/flexinfer | 523b9bf49226001c0477a3635ffe9071387ae788 | [
"Apache-2.0"
] | 20 | 2020-06-29T01:30:44.000Z | 2022-03-23T09:47:41.000Z | from .postprocess import ObjDetPostProcess
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
33ae5cde60a6633d7e13bca0215a91d53957176b | 175 | py | Python | py64/test.py | yerbn0409/Algorithm-Trading-Model | 54452aabe5eb59dac061d89f4e74b0ad7c71ce20 | [
"MIT"
] | 1 | 2018-01-24T04:45:35.000Z | 2018-01-24T04:45:35.000Z | py64/test.py | yerbn0409/Algorithm-Trading-Model | 54452aabe5eb59dac061d89f4e74b0ad7c71ce20 | [
"MIT"
] | 1 | 2018-01-25T02:57:22.000Z | 2018-01-25T02:57:22.000Z | py64/test.py | yerbn0409/Algorithm-Trading-Model | 54452aabe5eb59dac061d89f4e74b0ad7c71ce20 | [
"MIT"
] | null | null | null | import sys
import subprocess
subprocess.call(['C:\\Users\\hhoon\\.conda\\envs\\py35_32\\python.exe', 'C:\\Users\\hhoon\\PycharmProjects\\AlgoT\\py32\\py32.py'], bufsize=-1) | 29.166667 | 143 | 0.708571 | 25 | 175 | 4.92 | 0.76 | 0.097561 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0.051429 | 175 | 6 | 143 | 29.166667 | 0.686747 | 0 | 0 | 0 | 0 | 0 | 0.602273 | 0.602273 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
33c322f92c1bd3d86e1492562047b75e5b8ed85c | 149 | py | Python | simulater/cells/__init__.py | takat0m0/test_solve_easy_maze_with_Q | 6ea49000e94ea6c8baa6670eadafdaf1a6694379 | [
"MIT"
] | null | null | null | simulater/cells/__init__.py | takat0m0/test_solve_easy_maze_with_Q | 6ea49000e94ea6c8baa6670eadafdaf1a6694379 | [
"MIT"
] | null | null | null | simulater/cells/__init__.py | takat0m0/test_solve_easy_maze_with_Q | 6ea49000e94ea6c8baa6670eadafdaf1a6694379 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from .wall import Wall
from .normal_cell import NormalCell
from .start_cell import StartCell
from .goal_cell import GoalCell
| 21.285714 | 35 | 0.771812 | 22 | 149 | 5.090909 | 0.590909 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.14094 | 149 | 6 | 36 | 24.833333 | 0.867188 | 0.134228 | 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 |
33da252974d80857d8ba4f258f9df48a3a229e72 | 97 | py | Python | app/utils/__init__.py | ludolatin/ludolatin | 0d4ca703564d7958f61e87f19cb2f594dabefd3f | [
"MIT"
] | 22 | 2018-01-08T00:14:29.000Z | 2022-01-22T04:07:24.000Z | app/utils/__init__.py | ludolatin/ludolatin | 0d4ca703564d7958f61e87f19cb2f594dabefd3f | [
"MIT"
] | 27 | 2017-07-27T10:17:27.000Z | 2019-02-06T22:50:56.000Z | app/utils/__init__.py | merelinguist/ingenuity | 0d4ca703564d7958f61e87f19cb2f594dabefd3f | [
"MIT"
] | 5 | 2017-07-27T10:14:18.000Z | 2021-07-19T11:56:42.000Z | from flask import Blueprint
utils = Blueprint('utils', __name__)
from . import filters, errors
| 16.166667 | 36 | 0.762887 | 12 | 97 | 5.833333 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 37 | 19.4 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
33e29a547db6a2da8d80ce5490fdafcba302cb03 | 103 | py | Python | LoopServer/LoopServer/views.py | JasdipChauhan/Loop | 57fb3c38f427ade0ae3c680ed562d1ceaff895bc | [
"Apache-2.0"
] | 7 | 2017-02-12T06:03:00.000Z | 2020-12-31T11:57:35.000Z | LoopServer/LoopServer/views.py | JasdipChauhan/Loop | 57fb3c38f427ade0ae3c680ed562d1ceaff895bc | [
"Apache-2.0"
] | null | null | null | LoopServer/LoopServer/views.py | JasdipChauhan/Loop | 57fb3c38f427ade0ae3c680ed562d1ceaff895bc | [
"Apache-2.0"
] | 1 | 2020-12-31T11:57:39.000Z | 2020-12-31T11:57:39.000Z | from django.http import HttpResponse
def welcome(request):
return HttpResponse("Welcome to Loop!") | 25.75 | 43 | 0.776699 | 13 | 103 | 6.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 103 | 4 | 43 | 25.75 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
33f7fecf60fc8c66cde2e183ac9a63134ae2af88 | 221 | py | Python | ssrf/internal_api/admin_panel.py | neumaneuma/appseccheat.codes | 6af15b8545a22f848789e0a75d63aa5567fe05f6 | [
"MIT"
] | 4 | 2021-03-12T21:52:54.000Z | 2022-02-10T02:37:15.000Z | ssrf/internal_api/admin_panel.py | neumaneuma/appseccheat.codes | 6af15b8545a22f848789e0a75d63aa5567fe05f6 | [
"MIT"
] | 1 | 2021-09-10T16:32:01.000Z | 2021-09-10T16:32:01.000Z | ssrf/internal_api/admin_panel.py | neumaneuma/appseccheat.codes | 6af15b8545a22f848789e0a75d63aa5567fe05f6 | [
"MIT"
] | 1 | 2021-03-26T20:03:43.000Z | 2021-03-26T20:03:43.000Z | from flask import Blueprint
bp = Blueprint("ssrf1", __name__, url_prefix="/")
@bp.route("reset_admin_password/", methods=["POST", "GET"])
def reset_admin_password():
return "Administrator password reset to: admin"
| 24.555556 | 59 | 0.728507 | 28 | 221 | 5.428571 | 0.714286 | 0.131579 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.122172 | 221 | 8 | 60 | 27.625 | 0.778351 | 0 | 0 | 0 | 0 | 0 | 0.325792 | 0.095023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.6 | 0.2 | 0.2 | 0.6 | 0.4 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
1d312c2f207ebc2e77e86e31040228ace3e35428 | 18,832 | py | Python | tests/test_crawler.py | tdle94/app-store-scrapper | ed75880bac0c9ef685b2c1bf57a6997901abface | [
"MIT"
] | 1 | 2020-06-09T08:31:19.000Z | 2020-06-09T08:31:19.000Z | tests/test_crawler.py | tdle94/app-store-scrapper | ed75880bac0c9ef685b2c1bf57a6997901abface | [
"MIT"
] | 2 | 2021-03-31T19:46:47.000Z | 2021-06-02T01:15:42.000Z | tests/test_crawler.py | tdle94/app-store-scrapper | ed75880bac0c9ef685b2c1bf57a6997901abface | [
"MIT"
] | 1 | 2020-11-04T06:51:00.000Z | 2020-11-04T06:51:00.000Z | import unittest
from lib import constant
from lib.scrapper import AppStoreCrawler
DETAIL_KEYS = {
"id",
"appId",
"title",
"url",
"description",
"icon",
"genres",
"genreIds",
"primaryGenre",
"primaryGenreId",
"contentRating",
"languages",
"size",
"requiredOsVersio... | 33.508897 | 89 | 0.640187 | 2,240 | 18,832 | 5.196875 | 0.075893 | 0.094408 | 0.065201 | 0.06185 | 0.862211 | 0.835495 | 0.822953 | 0.789967 | 0.772356 | 0.747015 | 0 | 0.023141 | 0.258815 | 18,832 | 561 | 90 | 33.568627 | 0.810861 | 0 | 0 | 0.504854 | 0 | 0 | 0.104025 | 0.042587 | 0 | 0 | 0 | 0 | 0.082524 | 1 | 0.135922 | false | 0.004854 | 0.007282 | 0 | 0.165049 | 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 |
1d4c7cf6986a6a4cf59c35f24ae05ed973c6bc0c | 184 | py | Python | tests/conftest.py | rsaggino/lenses-python | 325c221a9e34fa24a949672459409186db682447 | [
"Apache-2.0"
] | 13 | 2018-04-23T11:58:01.000Z | 2019-06-22T20:17:56.000Z | tests/conftest.py | rsaggino/lenses-python | 325c221a9e34fa24a949672459409186db682447 | [
"Apache-2.0"
] | 10 | 2019-12-19T04:47:49.000Z | 2022-03-24T10:12:42.000Z | tests/conftest.py | Landoop/lenses-python | 645b44c333e119dcbcd29f2d0e07ffdd6f66dbc0 | [
"Apache-2.0"
] | 5 | 2020-02-17T12:08:20.000Z | 2022-03-09T15:32:39.000Z | import pytest
from lensesio.lenses import main
@pytest.fixture(autouse=True)
def lenses_conn():
return main("basic", "http://localhost:9991", "admin", "admin", verify_cert=True)
| 23 | 85 | 0.733696 | 25 | 184 | 5.32 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.11413 | 184 | 7 | 86 | 26.285714 | 0.791411 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1d7135bbdb2f8d6737d9b7424dcc6a54c9190892 | 4,657 | py | Python | nndet/core/boxes/clip.py | joeranbosma/nnDetection | 2ebbf1cdc8a8794c73e325f06fea50632c78ae8c | [
"BSD-3-Clause"
] | 242 | 2021-05-17T12:31:39.000Z | 2022-03-31T11:51:29.000Z | nndet/core/boxes/clip.py | joeranbosma/nnDetection | 2ebbf1cdc8a8794c73e325f06fea50632c78ae8c | [
"BSD-3-Clause"
] | 59 | 2021-06-02T07:32:10.000Z | 2022-03-31T18:45:52.000Z | nndet/core/boxes/clip.py | joeranbosma/nnDetection | 2ebbf1cdc8a8794c73e325f06fea50632c78ae8c | [
"BSD-3-Clause"
] | 38 | 2021-05-31T14:01:37.000Z | 2022-03-21T08:24:40.000Z | """
Copyright 2020 Division of Medical Image Computing, German Cancer Research Center (DKFZ), Heidelberg, Germany
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/L... | 31.466216 | 109 | 0.631522 | 739 | 4,657 | 3.834912 | 0.179973 | 0.056457 | 0.062103 | 0.090332 | 0.807339 | 0.807339 | 0.807339 | 0.799224 | 0.789697 | 0.789697 | 0 | 0.037264 | 0.227829 | 4,657 | 147 | 110 | 31.680272 | 0.750834 | 0.501825 | 0 | 0.363636 | 0 | 0 | 0.045587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0 | 0.363636 | 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 |
d51a02530bf62007e55f7ad8d4356b73e26198d4 | 21 | py | Python | test/login.py | feng992/info | d45a53fc5d520f63aa5f9e1055df7d8b038fcd93 | [
"MIT"
] | null | null | null | test/login.py | feng992/info | d45a53fc5d520f63aa5f9e1055df7d8b038fcd93 | [
"MIT"
] | null | null | null | test/login.py | feng992/info | d45a53fc5d520f63aa5f9e1055df7d8b038fcd93 | [
"MIT"
] | null | null | null | def demo():
pass
| 7 | 11 | 0.52381 | 3 | 21 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d56999a05cfb111ec8ec694cabc1bcf77c5bdd0e | 99 | py | Python | dtamg_py/__init__.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | null | null | null | dtamg_py/__init__.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | 15 | 2021-12-20T15:25:23.000Z | 2022-03-07T21:55:57.000Z | dtamg_py/__init__.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | null | null | null | from pathlib import Path
from dotenv import load_dotenv
load_dotenv(dotenv_path=Path('.', '.env'))
| 24.75 | 42 | 0.777778 | 15 | 99 | 4.933333 | 0.466667 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 3 | 43 | 33 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d574ee6994d6f239d383f33928d946472dff3a54 | 22 | py | Python | deep_utils/dummy_objects/augmentation/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 36 | 2021-11-10T05:17:18.000Z | 2022-03-27T18:25:10.000Z | deep_utils/dummy_objects/augmentation/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 1 | 2021-12-03T07:07:18.000Z | 2022-03-08T09:29:03.000Z | deep_utils/dummy_objects/augmentation/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 4 | 2021-11-28T07:39:57.000Z | 2022-03-30T05:46:10.000Z | from .cutmix import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
633ff7e6f167fea544b8a2cb3007e8b1c45958b2 | 1,250 | py | Python | tests/Transform/test_Transform__diffusive_flux_molar_volume_to_molar_molar.py | kamilazdybal/multipy | ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9 | [
"MIT"
] | null | null | null | tests/Transform/test_Transform__diffusive_flux_molar_volume_to_molar_molar.py | kamilazdybal/multipy | ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9 | [
"MIT"
] | null | null | null | tests/Transform/test_Transform__diffusive_flux_molar_volume_to_molar_molar.py | kamilazdybal/multipy | ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import multipy
################################################################################
################################################################################
####
#### Class: Transform
####
########################################################################... | 35.714286 | 92 | 0.272 | 56 | 1,250 | 5.428571 | 0.392857 | 0.069079 | 0.157895 | 0.246711 | 0.644737 | 0.644737 | 0.644737 | 0.644737 | 0.644737 | 0.644737 | 0 | 0 | 0.0672 | 1,250 | 34 | 93 | 36.764706 | 0.26072 | 0.0128 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.3 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
637156ea944571a9484f59d4e2c72a9e4370547e | 24,641 | py | Python | vel/rl/buffers/tests/test_deque_multi_env_buffer.py | tigerwlin/vel | 00e4fbb7b612e888e2cbb5d8455146664638cd0b | [
"MIT"
] | 51 | 2019-02-01T19:43:37.000Z | 2022-03-16T09:07:03.000Z | vel/rl/buffers/tests/test_deque_multi_env_buffer.py | tigerwlin/vel | 00e4fbb7b612e888e2cbb5d8455146664638cd0b | [
"MIT"
] | 2 | 2019-02-23T18:54:22.000Z | 2019-11-09T01:30:32.000Z | vel/rl/buffers/tests/test_deque_multi_env_buffer.py | tigerwlin/vel | 00e4fbb7b612e888e2cbb5d8455146664638cd0b | [
"MIT"
] | 35 | 2019-02-08T02:00:31.000Z | 2022-03-01T23:17:00.000Z | import gym
import nose.tools as t
import numpy as np
import numpy.testing as nt
from vel.exceptions import VelException
from vel.rl.buffers.deque_multi_env_buffer_backend import DequeMultiEnvBufferBackend
def get_half_filled_buffer():
""" Return simple preinitialized buffer """
observation_space = gym.spaces... | 36.832586 | 132 | 0.633822 | 4,061 | 24,641 | 3.670771 | 0.050234 | 0.02737 | 0.075132 | 0.071242 | 0.895687 | 0.871336 | 0.841886 | 0.812102 | 0.736701 | 0.714027 | 0 | 0.108219 | 0.190739 | 24,641 | 668 | 133 | 36.887725 | 0.639336 | 0.047847 | 0 | 0.526906 | 0 | 0 | 0.01033 | 0 | 0 | 0 | 0 | 0 | 0.304933 | 1 | 0.05157 | false | 0 | 0.013453 | 0 | 0.087444 | 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 |
638eeb618314f5f2df649ab0c027b809713c009f | 885 | py | Python | p031.py | roycrippen4/euler | 621582b15e42016e990cbabe0cc5483c9a93d838 | [
"BSD-3-Clause"
] | null | null | null | p031.py | roycrippen4/euler | 621582b15e42016e990cbabe0cc5483c9a93d838 | [
"BSD-3-Clause"
] | null | null | null | p031.py | roycrippen4/euler | 621582b15e42016e990cbabe0cc5483c9a93d838 | [
"BSD-3-Clause"
] | null | null | null | # P031
# In the United Kingdom the currency is made up of pound (£) and pence (p). There are eight coins in general
# circulation:
#
# 1p, 2p, 5p, 10p, 20p, 50p, £1 (100p), and £2 (200p).
# It is possible to make £2 in the following way:
#
# 1×£1 + 1×50p + 2×20p + 1×5p + 1×2p + 3×1p
# How many ways can £2 be made using... | 26.029412 | 108 | 0.465537 | 201 | 885 | 2.069652 | 0.358209 | 0.211538 | 0.252404 | 0.269231 | 0.139423 | 0.127404 | 0.110577 | 0.072115 | 0.072115 | 0.048077 | 0 | 0.282609 | 0.428249 | 885 | 33 | 109 | 26.818182 | 0.51581 | 0.847458 | 0 | 0 | 0 | 0 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6396f38e77a798d5c7bf154629e29745b75f3839 | 3,701 | py | Python | test_jisx410.py | fgss/jisx410 | 793a2a348923454e9fa2b4a4528b600aba3d4caf | [
"MIT"
] | null | null | null | test_jisx410.py | fgss/jisx410 | 793a2a348923454e9fa2b4a4528b600aba3d4caf | [
"MIT"
] | null | null | null | test_jisx410.py | fgss/jisx410 | 793a2a348923454e9fa2b4a4528b600aba3d4caf | [
"MIT"
] | null | null | null | import jisx410
def test_convert_dms_to_decimal():
assert round(
jisx410.convert_dms_to_decimal((30, 15, 50)), 9) == 30.263888889
def test_convert_decimal_to_dms():
assert jisx410.convert_decimal_to_dms(30.263888889) == (30, 15, 50)
assert jisx410.convert_decimal_to_dms(35.95) == (35, 57, 0)
de... | 37.01 | 79 | 0.665496 | 527 | 3,701 | 4.390892 | 0.204934 | 0.151253 | 0.266206 | 0.250648 | 0.348315 | 0.123596 | 0.052723 | 0.052723 | 0.029386 | 0.029386 | 0 | 0.307542 | 0.168873 | 3,701 | 99 | 80 | 37.383838 | 0.444733 | 0 | 0 | 0 | 0 | 0 | 0.13726 | 0 | 0 | 0 | 0 | 0 | 0.765625 | 1 | 0.171875 | true | 0 | 0.015625 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63a045ab4d1521b391d8cdb5bddd61d956a7c386 | 755 | py | Python | ckpt_process.py | ryanhe312/ABAW2-FPNMAA | 012ea1071647ae9d7ba65548792f40018644097b | [
"MIT"
] | 12 | 2021-07-09T07:10:08.000Z | 2022-03-18T01:52:23.000Z | ckpt_process.py | ryanhe312/ABAW2-FPNMAA | 012ea1071647ae9d7ba65548792f40018644097b | [
"MIT"
] | null | null | null | ckpt_process.py | ryanhe312/ABAW2-FPNMAA | 012ea1071647ae9d7ba65548792f40018644097b | [
"MIT"
] | 1 | 2021-07-12T08:28:08.000Z | 2021-07-12T08:28:08.000Z | import torch
a = torch.load('fpn_multi.ckpt')
a['hyper_parameters']['data_type']='VA_Set'
a['state_dict']['head.linear.bias'] = a['state_dict']["VA_head.linear.bias"]
a['state_dict']['head.linear.weight'] = a['state_dict']["VA_head.linear.weight"]
torch.save(a, 'multi_va.ckpt')
a['hyper_parameters']['data_type']='EXP... | 50.333333 | 82 | 0.707285 | 125 | 755 | 4.024 | 0.176 | 0.143141 | 0.238569 | 0.166998 | 0.902584 | 0.902584 | 0.703777 | 0.518887 | 0.518887 | 0.518887 | 0 | 0 | 0.045033 | 755 | 14 | 83 | 53.928571 | 0.697642 | 0 | 0 | 0 | 0 | 0 | 0.656954 | 0.113907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
894f408b18bcf5281ad562780286f8f05fa6e8d5 | 23 | py | Python | Modules/vms/rsdmdef/rsdmdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | 2 | 2021-10-06T15:46:53.000Z | 2022-01-26T02:58:54.000Z | Modules/vms/rsdmdef/rsdmdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | Modules/vms/rsdmdef/rsdmdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | from _rsdmdef import *
| 11.5 | 22 | 0.782609 | 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 |
9844f6e58a05c188545fe1435dde6db21060f865 | 65 | py | Python | app/blueprints/passenger/__init__.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | app/blueprints/passenger/__init__.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | app/blueprints/passenger/__init__.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | from app.blueprints.passenger.views import passenger as passenger | 65 | 65 | 0.876923 | 9 | 65 | 6.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 6 |
984d63ff37e835e300b0be888d5a152630d41409 | 23,692 | py | Python | pipeline_config.py | kant/open-solution-toxic-comments | ff942f38b6db76b62e4db35d721ed165591135e4 | [
"MIT"
] | 119 | 2018-01-04T17:13:36.000Z | 2018-03-27T10:06:17.000Z | pipeline_config.py | kant/open-solution-toxic-comments | ff942f38b6db76b62e4db35d721ed165591135e4 | [
"MIT"
] | 16 | 2018-02-03T21:59:25.000Z | 2018-03-21T09:36:31.000Z | pipeline_config.py | kant/open-solution-toxic-comments | ff942f38b6db76b62e4db35d721ed165591135e4 | [
"MIT"
] | 34 | 2018-01-13T08:39:24.000Z | 2018-03-20T23:49:44.000Z | import os
from attrdict import AttrDict
from deepsense import neptune
from utils import read_params, multi_roc_auc_score
ctx = neptune.Context()
params = read_params(ctx)
X_COLUMNS = ['comment_text_english']
Y_COLUMNS = ['toxic', 'severe_toxic', 'obscene', 'threat', 'insult', 'identity_hate']
CV_LABELS = ['toxic']
... | 65.628809 | 119 | 0.407522 | 1,683 | 23,692 | 5.301842 | 0.11527 | 0.030259 | 0.033285 | 0.022862 | 0.780007 | 0.769696 | 0.754455 | 0.754455 | 0.736972 | 0.736972 | 0 | 0.006023 | 0.509412 | 23,692 | 360 | 120 | 65.811111 | 0.761679 | 0 | 0 | 0.625352 | 0 | 0 | 0.191837 | 0.010594 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011268 | 0 | 0.011268 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9854a4218f973a0527cdf3d118bea8f319452300 | 24 | py | Python | kaolin/vision/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2016-07-07T16:26:03.000Z | 2016-09-22T13:24:19.000Z | kaolin/vision/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2016-09-12T17:43:54.000Z | 2017-10-10T13:26:02.000Z | kaolin/vision/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2016-09-12T09:27:20.000Z | 2019-03-15T12:29:02.000Z | from .geometry import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
985d04c1245daede13ee75f140cc921a1f392120 | 34 | py | Python | sfaira/unit_tests/__init__.py | johnmous/sfaira | c50240a74530e614ab7681bf9c63b04cb815b361 | [
"BSD-3-Clause"
] | 110 | 2020-09-08T07:47:15.000Z | 2022-03-29T03:33:56.000Z | sfaira/unit_tests/__init__.py | johnmous/sfaira | c50240a74530e614ab7681bf9c63b04cb815b361 | [
"BSD-3-Clause"
] | 405 | 2020-09-15T15:05:46.000Z | 2022-03-16T14:44:23.000Z | sfaira/unit_tests/__init__.py | johnmous/sfaira | c50240a74530e614ab7681bf9c63b04cb815b361 | [
"BSD-3-Clause"
] | 20 | 2021-03-30T15:30:14.000Z | 2022-03-07T12:52:58.000Z | from .directories import DIR_TEMP
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
986d1ee595d3e9b2aaef42e019ec5995342d62a8 | 197 | bzl | Python | rules/scala/proto_scala_library.bzl | heartless-clown/rules_proto | 99c0d0c7a00c1df7221afc3331b5d859a02c420f | [
"Apache-2.0"
] | 249 | 2018-10-24T21:11:08.000Z | 2022-03-31T03:28:34.000Z | rules/scala/proto_scala_library.bzl | heartless-clown/rules_proto | 99c0d0c7a00c1df7221afc3331b5d859a02c420f | [
"Apache-2.0"
] | 147 | 2018-12-05T18:58:13.000Z | 2022-03-26T15:41:07.000Z | rules/scala/proto_scala_library.bzl | heartless-clown/rules_proto | 99c0d0c7a00c1df7221afc3331b5d859a02c420f | [
"Apache-2.0"
] | 126 | 2018-11-20T22:34:48.000Z | 2022-03-18T13:42:05.000Z | "proto_scala_library.bzl provides a scala_library for proto files."
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_library")
def proto_scala_library(**kwargs):
scala_library(**kwargs)
| 28.142857 | 67 | 0.781726 | 29 | 197 | 4.965517 | 0.482759 | 0.416667 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091371 | 197 | 6 | 68 | 32.833333 | 0.804469 | 0.329949 | 0 | 0 | 0 | 0 | 0.588832 | 0.309645 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f8753d6b99977480e9bbbec933480026eee820f | 95 | py | Python | example2/test.py | LionelOrange/pyexample | cfade0081640ced582562edf6420055d7e7749ed | [
"Apache-2.0"
] | null | null | null | example2/test.py | LionelOrange/pyexample | cfade0081640ced582562edf6420055d7e7749ed | [
"Apache-2.0"
] | null | null | null | example2/test.py | LionelOrange/pyexample | cfade0081640ced582562edf6420055d7e7749ed | [
"Apache-2.0"
] | null | null | null | from example2.SelectionSorting2 import selection_sort
print(selection_sort([5, 3, 6, 2, 10]))
| 23.75 | 53 | 0.778947 | 14 | 95 | 5.142857 | 0.857143 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 0.105263 | 95 | 3 | 54 | 31.666667 | 0.752941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7f891238e915b0f0ccdda1d35b9465d7143188e3 | 65 | py | Python | tests/models.py | charettes/django-syzygy | 2258bd9ce2f1b415e40e5b0c2652b478c460eb9d | [
"MIT"
] | 8 | 2021-01-27T03:34:44.000Z | 2022-02-21T22:40:20.000Z | projects/custom_app_name/foo/models.py | mozillazg/django-simple-projects | 6ccd1232cb76595f6dbafa282cef2c20edbb1148 | [
"MIT"
] | 7 | 2020-04-21T03:11:59.000Z | 2021-09-30T05:47:38.000Z | tests/models.py | charettes/django-syzygy | 2258bd9ce2f1b415e40e5b0c2652b478c460eb9d | [
"MIT"
] | null | null | null | from django.db import models
class Foo(models.Model):
pass
| 10.833333 | 28 | 0.723077 | 10 | 65 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 5 | 29 | 13 | 0.903846 | 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 |
7faa57db58a1bab13294b0acc3cbf088367a5f0b | 256 | py | Python | lang/py/cookbook/v2/source/cb2_1_8_exm_4.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_1_8_exm_4.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_1_8_exm_4.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | import string
notrans = string.maketrans('', '') # identity "translation"
def containsAny(astr, strset):
return len(strset) != len(strset.translate(notrans, astr))
def containsAll(astr, strset):
return not strset.translate(notrans, astr)
| 36.571429 | 69 | 0.703125 | 29 | 256 | 6.206897 | 0.517241 | 0.111111 | 0.177778 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164063 | 256 | 6 | 70 | 42.666667 | 0.841122 | 0.085938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7fad2633c3d680a9b3cf5f3ef08443652ce3310b | 8,810 | py | Python | dawgctf-2021/really-secure-algorithm/really-secure-algorithm.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | 9 | 2021-04-20T15:28:36.000Z | 2022-03-08T19:53:48.000Z | dawgctf-2021/really-secure-algorithm/really-secure-algorithm.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | null | null | null | dawgctf-2021/really-secure-algorithm/really-secure-algorithm.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | 6 | 2021-06-24T03:25:21.000Z | 2022-02-20T21:44:52.000Z | #!/usr/bin/env python3
from Cryptodome.Util import number
n = 10634942386369053306718982791230207017222411778387428228121739787277202698284647961774663318166753009972197604733991508993381905034994413046123395012957131749063197440949455658446643723659214094302293569346821565572498267231470316528434338593447187684931835... | 629.285714 | 2,471 | 0.992736 | 38 | 8,810 | 230.105263 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.984047 | 0.003859 | 8,810 | 13 | 2,472 | 677.692308 | 0.012306 | 0.002384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.111111 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6ac9322ab02689ae6ff81219a3c9dd964c41e37 | 147 | py | Python | plugins/sdm/lib/platform/__init__.py | easternlabs/accessbot | d9d25a3aed178cc8d1b57ef78c9bdd1f02014518 | [
"Apache-2.0"
] | 16 | 2021-06-17T20:09:43.000Z | 2022-03-23T17:42:02.000Z | plugins/sdm/lib/platform/__init__.py | easternlabs/accessbot | d9d25a3aed178cc8d1b57ef78c9bdd1f02014518 | [
"Apache-2.0"
] | 73 | 2021-05-05T18:40:30.000Z | 2022-03-30T04:55:39.000Z | plugins/sdm/lib/platform/__init__.py | easternlabs/accessbot | d9d25a3aed178cc8d1b57ef78c9bdd1f02014518 | [
"Apache-2.0"
] | 11 | 2021-07-23T17:23:14.000Z | 2022-03-23T13:40:47.000Z | from .slack_bolt_platform import SlackBoltPlatform
from .slack_rtm_platform import SlackRTMPlatform
from .ms_teams_platform import MSTeamsPlatform
| 36.75 | 50 | 0.897959 | 18 | 147 | 7 | 0.611111 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 3 | 51 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
f6bbde389785d072e3217e93478e6c77683ad86a | 48 | py | Python | odin/models/wgan/__init__.py | Anderssorby/odin | 844dd2ec32a7c3e15959c86ad93659e7de131064 | [
"MIT"
] | null | null | null | odin/models/wgan/__init__.py | Anderssorby/odin | 844dd2ec32a7c3e15959c86ad93659e7de131064 | [
"MIT"
] | null | null | null | odin/models/wgan/__init__.py | Anderssorby/odin | 844dd2ec32a7c3e15959c86ad93659e7de131064 | [
"MIT"
] | null | null | null | from .chainer_models import WGANChainerWrapper
| 16 | 46 | 0.875 | 5 | 48 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 2 | 47 | 24 | 0.953488 | 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 |
f6ce7a6a66fb9cf83cfb11f03558ca11cca6e6ee | 44 | py | Python | binding/python/mc_control/__init__.py | fkanehiro/mc_rtc | 776017e46c1a4626c1d8f1fb7d51675a9b9b9cad | [
"BSD-2-Clause"
] | 44 | 2019-12-13T08:48:02.000Z | 2022-03-24T03:11:25.000Z | binding/python/mc_control/__init__.py | fkanehiro/mc_rtc | 776017e46c1a4626c1d8f1fb7d51675a9b9b9cad | [
"BSD-2-Clause"
] | 160 | 2020-01-17T20:46:23.000Z | 2022-03-31T01:32:42.000Z | binding/python/mc_control/__init__.py | fkanehiro/mc_rtc | 776017e46c1a4626c1d8f1fb7d51675a9b9b9cad | [
"BSD-2-Clause"
] | 20 | 2019-12-20T04:34:00.000Z | 2022-03-24T01:31:27.000Z | from . import fsm
from .mc_control import *
| 14.666667 | 25 | 0.75 | 7 | 44 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 26 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
101b438a9f452699b5c06af9b14893e7e675b202 | 94 | py | Python | fmlpy/preprocess/__init__.py | crazywiden/fmlpy | e813fa148a410a0681fee2a4577da7208aad04fc | [
"MIT"
] | 3 | 2019-04-04T04:01:23.000Z | 2019-09-02T04:52:08.000Z | fmlpy/preprocess/__init__.py | crazywiden/fmlpy | e813fa148a410a0681fee2a4577da7208aad04fc | [
"MIT"
] | null | null | null | fmlpy/preprocess/__init__.py | crazywiden/fmlpy | e813fa148a410a0681fee2a4577da7208aad04fc | [
"MIT"
] | null | null | null | from .bars import *
from .feature_mat import *
from .frac_diff import *
from .filters import * | 23.5 | 26 | 0.755319 | 14 | 94 | 4.928571 | 0.571429 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 4 | 27 | 23.5 | 0.873418 | 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 |
89bf061865b05e169cb2e67ef0f4205d10f89dba | 97 | py | Python | tests/integration/enc/models/conftest.py | sreeja97/pystiche | 65f4d787e44b1ffbf7e5b6e48298ed8c7460e5a9 | [
"BSD-3-Clause"
] | 1 | 2021-09-30T14:55:59.000Z | 2021-09-30T14:55:59.000Z | tests/integration/enc/models/conftest.py | sreeja97/pystiche | 65f4d787e44b1ffbf7e5b6e48298ed8c7460e5a9 | [
"BSD-3-Clause"
] | null | null | null | tests/integration/enc/models/conftest.py | sreeja97/pystiche | 65f4d787e44b1ffbf7e5b6e48298ed8c7460e5a9 | [
"BSD-3-Clause"
] | null | null | null | import pytest
@pytest.fixture(scope="package")
def frameworks():
return ("torch", "caffe")
| 13.857143 | 32 | 0.680412 | 11 | 97 | 6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 97 | 6 | 33 | 16.166667 | 0.795181 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d6239256c3f9a05ab3d99f9affcac9bd60c0e37f | 8,767 | py | Python | lumicks/pylake/tests/test_scan.py | lumicks/pylake | b5875d156d6416793a371198f3f2590fca2be4cd | [
"Apache-2.0"
] | 8 | 2019-02-18T07:56:39.000Z | 2022-03-19T01:14:48.000Z | lumicks/pylake/tests/test_scan.py | lumicks/pylake | b5875d156d6416793a371198f3f2590fca2be4cd | [
"Apache-2.0"
] | 42 | 2018-11-30T14:40:35.000Z | 2022-03-29T11:43:45.000Z | lumicks/pylake/tests/test_scan.py | lumicks/pylake | b5875d156d6416793a371198f3f2590fca2be4cd | [
"Apache-2.0"
] | 4 | 2019-01-09T13:45:53.000Z | 2021-07-06T14:06:52.000Z | import pytest
import matplotlib.pyplot as plt
import numpy as np
from lumicks import pylake
from matplotlib.testing.decorators import cleanup
def test_scans(h5_file):
f = pylake.File.from_h5py(h5_file)
if f.format_version == 2:
scan = f.scans["fast Y slow X"]
assert repr(scan) == "Scan(pixels... | 43.616915 | 116 | 0.631003 | 1,229 | 8,767 | 4.334418 | 0.140765 | 0.06758 | 0.090107 | 0.138164 | 0.802515 | 0.760466 | 0.728928 | 0.70321 | 0.699456 | 0.679369 | 0 | 0.094651 | 0.240789 | 8,767 | 200 | 117 | 43.835 | 0.705679 | 0.033307 | 0 | 0.692771 | 0 | 0 | 0.054427 | 0.012043 | 0 | 0 | 0 | 0 | 0.487952 | 1 | 0.03012 | false | 0 | 0.042169 | 0 | 0.072289 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3c1169b42a6226a2077047aa45bc39cfc10381b | 548 | py | Python | tree_st/util/strings.py | jakpra/treeconstructive-supertagging | bdbf92ba543f2119ad8891e8add9b59079077174 | [
"Apache-2.0"
] | 7 | 2020-12-08T09:49:10.000Z | 2022-01-08T23:14:00.000Z | tree_st/util/strings.py | jakpra/treeconstructive-supertagging | bdbf92ba543f2119ad8891e8add9b59079077174 | [
"Apache-2.0"
] | 2 | 2021-02-18T02:44:08.000Z | 2022-01-08T17:36:19.000Z | tree_st/util/strings.py | jakpra/treeconstructive-supertagging | bdbf92ba543f2119ad8891e8add9b59079077174 | [
"Apache-2.0"
] | null | null | null | '''
@author: Jakob Prange (jakpra)
@copyright: Copyright 2020, Jakob Prange
@license: Apache 2.0
'''
def open_par(s):
return s == '('
def close_par(s):
return s == ')'
def open_angle(s):
return s == '<'
def close_angle(s):
return s == '>'
def open_bracket(s):
return s == '['
def close_bra... | 11.659574 | 40 | 0.54562 | 83 | 548 | 3.481928 | 0.349398 | 0.266436 | 0.304498 | 0.228374 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.262774 | 548 | 46 | 41 | 11.913043 | 0.695545 | 0.167883 | 0 | 0 | 0 | 0 | 0.029018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7f00549907bc056d96239cdd70a39c1b46b55eae | 48 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Check_if_a_Function_is_a_ufunc_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Check_if_a_Function_is_a_ufunc_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Check_if_a_Function_is_a_ufunc_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | import numpy as np
print(type(np.concatenate))
| 12 | 27 | 0.770833 | 8 | 48 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 28 | 16 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
616e7c9df67537f0f6966f1ae92d26df97061438 | 33 | py | Python | track1/unets/segmentation_models/unet_regression/__init__.py | omshinde/dfc2019 | 4210cee792d9f9c8fa13fe0c35ffb634539e9085 | [
"MIT"
] | 123 | 2019-01-10T15:19:15.000Z | 2022-03-31T12:33:38.000Z | track1/unets/segmentation_models/unet_regression/__init__.py | zhaobaiyu/dfc2019 | 3dd57a7efdc76f773ce941ffa53a4e4ec86a161f | [
"MIT"
] | 14 | 2019-01-12T05:49:36.000Z | 2021-06-10T03:26:54.000Z | track1/unets/segmentation_models/unet_regression/__init__.py | zhaobaiyu/dfc2019 | 3dd57a7efdc76f773ce941ffa53a4e4ec86a161f | [
"MIT"
] | 53 | 2019-01-11T09:44:45.000Z | 2022-03-24T08:21:19.000Z | from .model import UnetRegressor
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
618a785aac43e708d256c5ec4992d011b1ab7613 | 74 | py | Python | ivy/functional/ivy/__init__.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | 1 | 2022-02-28T03:20:54.000Z | 2022-02-28T03:20:54.000Z | ivy/functional/ivy/__init__.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | null | null | null | ivy/functional/ivy/__init__.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | null | null | null | from . import core
from .core import *
from . import nn
from .nn import *
| 14.8 | 19 | 0.702703 | 12 | 74 | 4.333333 | 0.333333 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 74 | 4 | 20 | 18.5 | 0.896552 | 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 |
61c56a6aac3c401d4b1623d01a6b2e139f52d653 | 95 | py | Python | muller/clustering/metrics/__init__.py | andreashirley/Lolipop | 658a05c55fe8950f75d7ef50f1d983e86bd6fedf | [
"MIT"
] | 6 | 2020-04-18T15:43:19.000Z | 2022-02-19T18:43:23.000Z | muller/clustering/metrics/__init__.py | andreashirley/Lolipop | 658a05c55fe8950f75d7ef50f1d983e86bd6fedf | [
"MIT"
] | 5 | 2020-05-04T16:09:03.000Z | 2020-10-13T03:52:56.000Z | muller/clustering/metrics/__init__.py | cdeitrick/muller_diagrams | 5b87b00a2c7ccbeeb3876bddb32e54aedf6bdf6d | [
"MIT"
] | 3 | 2020-03-23T17:12:56.000Z | 2020-07-24T22:22:12.000Z | from .distance_cache import DistanceCache
from .distance_calculator import DistanceCalculator
| 23.75 | 51 | 0.884211 | 10 | 95 | 8.2 | 0.7 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 3 | 52 | 31.666667 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4edf5f5e37aa539baa6f5e779e3c094292039ef7 | 44 | py | Python | PycharmProjects/ex111/UtilidadesCeV/__init__.py | caioalexleme/Curso_Python | 6394f60689531c7431765538f1b699aabbf4acb2 | [
"MIT"
] | 3 | 2021-07-09T20:41:47.000Z | 2021-11-17T10:25:01.000Z | PycharmProjects/ex111/UtilidadesCeV/__init__.py | caioalexleme/Curso_Python | 6394f60689531c7431765538f1b699aabbf4acb2 | [
"MIT"
] | null | null | null | PycharmProjects/ex111/UtilidadesCeV/__init__.py | caioalexleme/Curso_Python | 6394f60689531c7431765538f1b699aabbf4acb2 | [
"MIT"
] | 1 | 2021-09-09T20:24:07.000Z | 2021-09-09T20:24:07.000Z | from ex111.UtilidadesCeV import moeda, dados | 44 | 44 | 0.863636 | 6 | 44 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.090909 | 44 | 1 | 44 | 44 | 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 |
f65511a9409d3a5b47df573549dbe48fc98e3797 | 4,172 | py | Python | tests/screen_tests/__init__.py | gigforks/python-prompt-toolkit | d12cdbb556bef84011792108b1027930b81c4813 | [
"BSD-3-Clause"
] | null | null | null | tests/screen_tests/__init__.py | gigforks/python-prompt-toolkit | d12cdbb556bef84011792108b1027930b81c4813 | [
"BSD-3-Clause"
] | null | null | null | tests/screen_tests/__init__.py | gigforks/python-prompt-toolkit | d12cdbb556bef84011792108b1027930b81c4813 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
from prompt_toolkit.layout.screen import Screen, Char, Size, Point
from pygments.token import Token
import unittest
class ScreenTest(unittest.TestCase):
def setUp(self):
self.screen = Screen(Size(rows=10, columns=80))
# def test_current_height(self):
# ... | 43.010309 | 93 | 0.635666 | 597 | 4,172 | 4.296482 | 0.139028 | 0.214425 | 0.259259 | 0.341131 | 0.664717 | 0.619493 | 0.530214 | 0.327096 | 0.124366 | 0.036647 | 0 | 0.025302 | 0.185283 | 4,172 | 96 | 94 | 43.458333 | 0.729332 | 0.872723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c8c47427d54704031de9abb1e65b4a029a63e79 | 28 | py | Python | bridgewalk/__init__.py | danijar/bridgewalk | fcfe055268c77b4bc9bc6eb7fe8d7243ca5617f9 | [
"MIT"
] | 6 | 2021-06-16T05:39:14.000Z | 2021-09-24T18:53:08.000Z | bridgewalk/__init__.py | danijar/bridgewalk | fcfe055268c77b4bc9bc6eb7fe8d7243ca5617f9 | [
"MIT"
] | null | null | null | bridgewalk/__init__.py | danijar/bridgewalk | fcfe055268c77b4bc9bc6eb7fe8d7243ca5617f9 | [
"MIT"
] | 1 | 2021-09-15T17:20:08.000Z | 2021-09-15T17:20:08.000Z | from .bridgewalk import Env
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9cb0d766f9c3d22bc2a69ca47b63b04d276a51ca | 153 | py | Python | src/universal_devkit/utils/__init__.py | MichiganNeuroProsthetics/universal-devkit | 48bdde33e20942256d5a3ee05a2ff2ca2078c145 | [
"MIT"
] | 2 | 2021-02-26T21:03:07.000Z | 2022-02-01T12:43:21.000Z | src/universal_devkit/utils/__init__.py | MichiganNeuroProsthetics/universal-devkit | 48bdde33e20942256d5a3ee05a2ff2ca2078c145 | [
"MIT"
] | 2 | 2021-03-06T17:55:15.000Z | 2021-12-19T23:31:19.000Z | src/universal_devkit/utils/__init__.py | MichiganNeuroProsthetics/universal-devkit | 48bdde33e20942256d5a3ee05a2ff2ca2078c145 | [
"MIT"
] | 3 | 2021-03-13T16:45:49.000Z | 2021-03-27T18:19:17.000Z | from .utils import create_token, read_json
# make pep8 happy. src: https://stackoverflow.com/a/31079085/6942666
__all__ = ["create_token", "read_json"]
| 30.6 | 68 | 0.764706 | 22 | 153 | 4.954545 | 0.818182 | 0.201835 | 0.275229 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 0.104575 | 153 | 4 | 69 | 38.25 | 0.678832 | 0.431373 | 0 | 0 | 0 | 0 | 0.247059 | 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 |
9cc29ba1d9b7b62c7a6cfd0e87417a9566bd6b4d | 88,288 | py | Python | desc/compute/data_index.py | MothVine/DESC | 8f18ca63b34dad07ec67a4d43945d39287b303b8 | [
"MIT"
] | null | null | null | desc/compute/data_index.py | MothVine/DESC | 8f18ca63b34dad07ec67a4d43945d39287b303b8 | [
"MIT"
] | null | null | null | desc/compute/data_index.py | MothVine/DESC | 8f18ca63b34dad07ec67a4d43945d39287b303b8 | [
"MIT"
] | null | null | null | """data_index contains all of the quantities calculated by the compute functions.
label = (str) Title of the quantity in LaTeX format.
units = (str) Units of the quantity in LaTeX format.
units_long (str) Full units without abbreviations.
description (str) Description of the quantity.
fun = (str) Function name in comp... | 27.667816 | 124 | 0.485185 | 11,804 | 88,288 | 3.486191 | 0.017452 | 0.067653 | 0.050157 | 0.048115 | 0.941751 | 0.916843 | 0.880319 | 0.856067 | 0.831183 | 0.805618 | 0 | 0.069871 | 0.276357 | 88,288 | 3,190 | 125 | 27.676489 | 0.57423 | 0.009356 | 0 | 0.685408 | 0 | 0.001625 | 0.465768 | 0.08593 | 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 |
9cd707bd867ed88708899f7c88c8ad022c8878b6 | 189 | py | Python | cs/fsnn/activation_functions.py | rwang5688/ml_rwang5688 | 162ec99f544fd6995a0fb72f2ba558c060abc117 | [
"Apache-2.0"
] | null | null | null | cs/fsnn/activation_functions.py | rwang5688/ml_rwang5688 | 162ec99f544fd6995a0fb72f2ba558c060abc117 | [
"Apache-2.0"
] | null | null | null | cs/fsnn/activation_functions.py | rwang5688/ml_rwang5688 | 162ec99f544fd6995a0fb72f2ba558c060abc117 | [
"Apache-2.0"
] | null | null | null | from math import exp
def sigmoid(x: float) -> float:
return 1.0 / (1.0 + exp(-x))
def derivative_sigmoid(x: float) -> float:
sig: float = sigmoid(x)
return sig * (1 - sig)
| 15.75 | 42 | 0.597884 | 30 | 189 | 3.733333 | 0.433333 | 0.214286 | 0.232143 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035211 | 0.248677 | 189 | 11 | 43 | 17.181818 | 0.753521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 |
14541fa53c28948f4d43d41361305e29a393702d | 125 | py | Python | snmpagent_unity/unity_impl/TotalThroughput.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/TotalThroughput.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/TotalThroughput.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class TotalThroughput(object):
def read_get(self, name, idx, unity_client):
return unity_client.get_total_iops()
| 31.25 | 48 | 0.736 | 17 | 125 | 5.117647 | 0.823529 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 125 | 3 | 49 | 41.666667 | 0.836538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
147da59ffbb28da98f2bccb2066b10ad9050d676 | 291 | py | Python | xautodl/xmodels/__init__.py | Joey61Liuyi/AutoDL-Projects | 2092e144920e82d74753a7ac31e1890a150d41cf | [
"MIT"
] | 817 | 2020-01-15T00:23:41.000Z | 2022-03-31T14:52:03.000Z | xautodl/xmodels/__init__.py | Joey61Liuyi/AutoDL-Projects | 2092e144920e82d74753a7ac31e1890a150d41cf | [
"MIT"
] | 77 | 2020-01-14T14:02:45.000Z | 2022-03-25T07:06:02.000Z | xautodl/xmodels/__init__.py | Joey61Liuyi/AutoDL-Projects | 2092e144920e82d74753a7ac31e1890a150d41cf | [
"MIT"
] | 176 | 2020-01-15T10:39:41.000Z | 2022-03-31T04:24:53.000Z | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2021.06 #
#####################################################
# The models in this folder is written with xlayers #
#####################################################
from .core import *
| 36.375 | 53 | 0.309278 | 22 | 291 | 4.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022814 | 0.09622 | 291 | 7 | 54 | 41.571429 | 0.319392 | 0.343643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1499512b68ae140eefdf69604b19041757839495 | 12 | py | Python | main.py | victor-huma/lgmt-test | 597557745e1f4690727309186f64fa5368eda02e | [
"MIT"
] | null | null | null | main.py | victor-huma/lgmt-test | 597557745e1f4690727309186f64fa5368eda02e | [
"MIT"
] | null | null | null | main.py | victor-huma/lgmt-test | 597557745e1f4690727309186f64fa5368eda02e | [
"MIT"
] | null | null | null | a = 7
b = 8
| 4 | 5 | 0.333333 | 4 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 12 | 2 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14af10591e4080c16621c3acdb8f4100f1d895ea | 815 | py | Python | app/value/values.py | JunFuruya/Ratsnake | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | null | null | null | app/value/values.py | JunFuruya/Ratsnake | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | 5 | 2018-05-17T04:03:39.000Z | 2021-09-08T01:03:17.000Z | app/value/values.py | JunFuruya/Hideout | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
class Values():
def __init__(self):
return None
class ScreenIdValue():
def DEFAULT():
return 0
def GOOGLE_SEARCH():
return 1
class AccountTitleClassificationTypeValue():
def __init__(self, account_title_value):
self.__account_title_valu... | 23.285714 | 72 | 0.568098 | 89 | 815 | 4.752809 | 0.449438 | 0.208038 | 0.241135 | 0.248227 | 0.132388 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.332515 | 815 | 35 | 73 | 23.285714 | 0.762868 | 0.025767 | 0 | 0 | 0 | 0 | 0.01261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0 | 0 | 0.185185 | 0.62963 | 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 |
14b15ec0eae4b3748d0c65912164508899df7c1d | 26 | py | Python | darktree/__init__.py | nturley/darktree | c9cb6770a5521ff3266de057f17a79438a4de434 | [
"MIT"
] | null | null | null | darktree/__init__.py | nturley/darktree | c9cb6770a5521ff3266de057f17a79438a4de434 | [
"MIT"
] | null | null | null | darktree/__init__.py | nturley/darktree | c9cb6770a5521ff3266de057f17a79438a4de434 | [
"MIT"
] | null | null | null | from darktree import main
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2142dff040f2c1e8634a200080ccb4e28cda8bf7 | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e2/77/72/078ac36dce9d7204ba12d9c757266f81668ff6385d2497854b806f4588 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489583 | 0 | 96 | 1 | 96 | 96 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
214811d997e854ad5c5e96ada9ef5be026162494 | 104 | py | Python | empty_driver.py | joramwessels/torcs-client | 257441138ebcce3928f100f28e58d9d5a7221d8a | [
"MIT"
] | 1 | 2017-11-10T21:37:33.000Z | 2017-11-10T21:37:33.000Z | empty_driver.py | joramwessels/torcs-client | 257441138ebcce3928f100f28e58d9d5a7221d8a | [
"MIT"
] | null | null | null | empty_driver.py | joramwessels/torcs-client | 257441138ebcce3928f100f28e58d9d5a7221d8a | [
"MIT"
] | 1 | 2019-12-03T18:52:16.000Z | 2019-12-03T18:52:16.000Z | from pytocl.driver import Driver
from pytocl.car import State, Command
class EmptyDriver(Driver):
...
| 17.333333 | 37 | 0.778846 | 14 | 104 | 5.785714 | 0.642857 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 104 | 5 | 38 | 20.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dcd03ad30d3ef826d7c44c1d5d3c5cfb94fe5e62 | 32,287 | py | Python | bhm_plot.py | KamshatTazhenova/hh0 | c71845056c5a108cb95654b1a1012d63034541c2 | [
"MIT"
] | 11 | 2017-07-04T06:56:17.000Z | 2022-01-04T08:35:48.000Z | bhm_plot.py | KamshatTazhenova/hh0 | c71845056c5a108cb95654b1a1012d63034541c2 | [
"MIT"
] | null | null | null | bhm_plot.py | KamshatTazhenova/hh0 | c71845056c5a108cb95654b1a1012d63034541c2 | [
"MIT"
] | 5 | 2017-07-07T10:00:19.000Z | 2021-06-08T09:38:25.000Z | import matplotlib.pyplot as mp
mp.rc("font", family="serif", size=12)
mp.rc("text", usetex=True)
import daft
# @TODO: increase font?
# @TODO: calibration in all Cepheids; comes into measurement...
# @TODO: full version including SNe complexity[, heavy tails?]
# uncertain periods and metals? makes things way mo... | 47.620944 | 177 | 0.552235 | 5,460 | 32,287 | 3.100183 | 0.052747 | 0.102794 | 0.124121 | 0.169256 | 0.81178 | 0.763987 | 0.745259 | 0.714303 | 0.674721 | 0.63319 | 0 | 0.057584 | 0.210425 | 32,287 | 677 | 178 | 47.691285 | 0.606402 | 0.015672 | 0 | 0.42637 | 0 | 0.037671 | 0.244913 | 0.024948 | 0 | 0 | 0 | 0.001477 | 0 | 1 | 0 | false | 0 | 0.003425 | 0 | 0.003425 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d14ee9260632d1a2fb3f1aeaa0885f266a9ebd3 | 107 | py | Python | src/test/__init__.py | SethWen/robben | 0d26614eea35da7d23935374e74e362d884879e6 | [
"Apache-2.0"
] | null | null | null | src/test/__init__.py | SethWen/robben | 0d26614eea35da7d23935374e74e362d884879e6 | [
"Apache-2.0"
] | null | null | null | src/test/__init__.py | SethWen/robben | 0d26614eea35da7d23935374e74e362d884879e6 | [
"Apache-2.0"
] | null | null | null | """
author: Shawn
time : 11/9/18 6:41 PM
desc :
update: Shawn 11/9/18 6:41 PM
""" | 17.833333 | 39 | 0.46729 | 18 | 107 | 2.777778 | 0.611111 | 0.12 | 0.2 | 0.24 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0.383178 | 107 | 6 | 40 | 17.833333 | 0.515152 | 0.700935 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d3020129d4055126f7c7def598c5abb7cb55bad | 32 | py | Python | stubbs/defs/ligh.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/ligh.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/ligh.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | from ...hek.defs.ligh import *
| 16 | 31 | 0.65625 | 5 | 32 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.777778 | 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 |
0d4a06e1c6cfb1fc9e3122cda3ab9381e3ca23fa | 18,260 | py | Python | mayan/apps/documents/tests/test_document_version_api.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/documents/tests/test_document_version_api.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/documents/tests/test_document_version_api.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from rest_framework import status
from mayan.apps.messaging.events import event_message_created
from mayan.apps.messaging.models import Message
from mayan.apps.rest_api.tests.base import (
BaseAPITestCase, BaseAPITransactionTestCase
)
from mayan.apps.storage.events import event_download_file_created
from mayan.app... | 34.913958 | 81 | 0.710186 | 2,107 | 18,260 | 5.707641 | 0.047461 | 0.159654 | 0.102694 | 0.047813 | 0.895393 | 0.895393 | 0.878181 | 0.869366 | 0.849742 | 0.838101 | 0 | 0.008956 | 0.211172 | 18,260 | 522 | 82 | 34.980843 | 0.825951 | 0 | 0 | 0.696335 | 0 | 0 | 0.000602 | 0 | 0 | 0 | 0 | 0 | 0.264398 | 1 | 0.062827 | false | 0 | 0.026178 | 0 | 0.094241 | 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 |
0d4d57b970127c48b6c2122659944349dfcd50ee | 5,022 | py | Python | bamboo/integration_tests/test_integration_debug.py | anmolpau/lbann | 90c3dd0a7be644a6824ee74d59dbdbc1dfe2977e | [
"Apache-2.0"
] | null | null | null | bamboo/integration_tests/test_integration_debug.py | anmolpau/lbann | 90c3dd0a7be644a6824ee74d59dbdbc1dfe2977e | [
"Apache-2.0"
] | null | null | null | bamboo/integration_tests/test_integration_debug.py | anmolpau/lbann | 90c3dd0a7be644a6824ee74d59dbdbc1dfe2977e | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.insert(0, '../common_python')
import tools
import pytest
import common_code
def skeleton_mnist_debug(cluster, dir_name, executables, compiler_name, weekly,
debug_build, should_log=False):
# If weekly or debug_build are true, then run the test.
if not (weekly or deb... | 47.828571 | 115 | 0.724612 | 696 | 5,022 | 4.899425 | 0.155172 | 0.058651 | 0.065689 | 0.094428 | 0.875953 | 0.866276 | 0.828739 | 0.76305 | 0.75044 | 0.724047 | 0 | 0.010086 | 0.170848 | 5,022 | 104 | 116 | 48.288462 | 0.808838 | 0.063919 | 0 | 0.475 | 0 | 0 | 0.202939 | 0.107964 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.125 | false | 0 | 0.05 | 0 | 0.175 | 0.0875 | 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 |
b4d96a56fa67ffa5051c413d03072ac2ed45de79 | 19 | py | Python | wepppy/au/climates/agdc/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/au/climates/agdc/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/au/climates/agdc/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | from .agdc 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 |
37205e46b73cd925d6de143b49b7c23786770d27 | 6,785 | py | Python | PyMieSim/GLMT/python/Sphere.py | paaube/PyMieSim | 074e58cfe9b42ef51f3b03aaad6e56ca341099a5 | [
"MIT"
] | 6 | 2021-02-11T17:53:40.000Z | 2021-12-11T20:20:01.000Z | PyMieSim/GLMT/python/Sphere.py | paaube/PyMieSim | 074e58cfe9b42ef51f3b03aaad6e56ca341099a5 | [
"MIT"
] | 6 | 2021-05-12T04:33:26.000Z | 2021-11-14T05:25:19.000Z | PyMieSim/GLMT/python/Sphere.py | paaube/PyMieSim | 074e58cfe9b42ef51f3b03aaad6e56ca341099a5 | [
"MIT"
] | 3 | 2021-05-10T19:46:42.000Z | 2021-06-01T19:52:14.000Z | # -*- coding: utf-8 -*-
# http://pymiescatt.readthedocs.io/en/latest/forward.html
from numpy import zeros, cos, outer, exp, pi, ndarray
from PyMieSim.Tools.Special import Taunm, Pinm
from PyMieSim.Tools.BaseClasses import BaseScatterer, BaseSource
def GetMaxOrder(Scat):
"""Function compute max Order (n) for :mat... | 29.758772 | 100 | 0.550479 | 883 | 6,785 | 4.193658 | 0.148358 | 0.012962 | 0.059681 | 0.078315 | 0.84229 | 0.816905 | 0.807723 | 0.776938 | 0.721307 | 0.709965 | 0 | 0.018721 | 0.259985 | 6,785 | 227 | 101 | 29.889868 | 0.718781 | 0.586293 | 0 | 0.610169 | 0 | 0 | 0.003534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101695 | false | 0 | 0.050847 | 0 | 0.254237 | 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 |
2eb5826732164df0091801643f879eced169772e | 2,972 | py | Python | src/models/resnet1d.py | thavlik/machine-learning-portfolio | 352bc97ba17e4d160a04a1a91da5be973c219c34 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-12-16T01:47:39.000Z | 2020-12-16T01:47:39.000Z | src/models/resnet1d.py | thavlik/machine-learning-portfolio | 352bc97ba17e4d160a04a1a91da5be973c219c34 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/models/resnet1d.py | thavlik/machine-learning-portfolio | 352bc97ba17e4d160a04a1a91da5be973c219c34 | [
"Apache-2.0",
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
class BasicBlock1d(nn.Module):
def __init__(self, in_planes, planes, stride=1, kernel_size=3, padding=1):
super(BasicBlock1d, self).__init__()
self.conv1 = nn.Conv1d(in_planes,
planes,
... | 36.243902 | 78 | 0.41891 | 262 | 2,972 | 4.625954 | 0.167939 | 0.09901 | 0.092409 | 0.108911 | 0.839934 | 0.775578 | 0.745875 | 0.623762 | 0.623762 | 0.623762 | 0 | 0.031081 | 0.502019 | 2,972 | 81 | 79 | 36.691358 | 0.787838 | 0 | 0 | 0.767123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.041096 | 0 | 0.150685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
2ebea77e789ceb2ce0e43922acea091e0011bc73 | 32 | py | Python | virtual/finance.py | PyUnchained/books | 656d375765300accb1767a8ab1bf4b96c884539f | [
"MIT"
] | null | null | null | virtual/finance.py | PyUnchained/books | 656d375765300accb1767a8ab1bf4b96c884539f | [
"MIT"
] | 14 | 2019-10-23T00:01:18.000Z | 2022-03-11T23:38:52.000Z | virtual/finance.py | PyUnchained/books | 656d375765300accb1767a8ab1bf4b96c884539f | [
"MIT"
] | null | null | null | from books.finance_func import * | 32 | 32 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 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 |
2eed3bcbd6a8a7e2b397a9ae3a5419fd810652a5 | 129 | py | Python | 8 kyu/Difference of Volumes of Cuboids/Difference of Volumes of Cuboids.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 8 kyu/Difference of Volumes of Cuboids/Difference of Volumes of Cuboids.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 8 kyu/Difference of Volumes of Cuboids/Difference of Volumes of Cuboids.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | from functools import reduce
from operator import mul
def find_difference(a, b):
return abs(reduce(mul, a) - reduce(mul, b)) | 25.8 | 47 | 0.736434 | 21 | 129 | 4.47619 | 0.619048 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 129 | 5 | 47 | 25.8 | 0.87037 | 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 |
d3714cf351e350eaac98bc96f00baf9dab7daa26 | 30 | py | Python | aggrdet/aggrecol/__init__.py | lanchiang/AggreCol | 7143b315806ac4582ecca9638b4ee81170fc8607 | [
"Apache-2.0"
] | null | null | null | aggrdet/aggrecol/__init__.py | lanchiang/AggreCol | 7143b315806ac4582ecca9638b4ee81170fc8607 | [
"Apache-2.0"
] | null | null | null | aggrdet/aggrecol/__init__.py | lanchiang/AggreCol | 7143b315806ac4582ecca9638b4ee81170fc8607 | [
"Apache-2.0"
] | null | null | null | # Created by lan at 2021/3/12
| 15 | 29 | 0.7 | 7 | 30 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0.2 | 30 | 1 | 30 | 30 | 0.583333 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3ac2d9fbebd7d6eb6e9de9d75773173581a45e2 | 45 | py | Python | eleven/vis/__init__.py | yngtodd/eleven | aaf2777f0e89d919d992dd9c65dc78e9845fbd48 | [
"BSD-3-Clause"
] | 1 | 2021-09-06T22:52:16.000Z | 2021-09-06T22:52:16.000Z | eleven/vis/__init__.py | yngtodd/eleven | aaf2777f0e89d919d992dd9c65dc78e9845fbd48 | [
"BSD-3-Clause"
] | 5 | 2020-08-10T18:28:56.000Z | 2020-10-28T03:09:50.000Z | eleven/vis/__init__.py | yngtodd/eleven | aaf2777f0e89d919d992dd9c65dc78e9845fbd48 | [
"BSD-3-Clause"
] | 7 | 2020-08-05T20:56:43.000Z | 2021-12-16T15:35:56.000Z | from .confusion import plot_confusion_matrix
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6cdf607cbc094e2cde6301c6c59abb69b8d3b238 | 26 | py | Python | spvcm/both_levels/sma_sma/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 14 | 2017-05-21T08:29:08.000Z | 2021-09-22T00:29:15.000Z | spvcm/both_levels/sma_sma/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 12 | 2018-05-11T11:13:21.000Z | 2020-02-07T14:23:12.000Z | spvcm/both_levels/sma_sma/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 8 | 2017-05-20T00:55:40.000Z | 2020-07-02T14:52:49.000Z | from .model import SMASMA
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
9f5202785e786bd79794ab72392094cd85a1a4e7 | 129 | py | Python | samples/Stack/StackDepthThree.py | jproudlo/PyModel | 2ab0e2cf821807206725adaa425409b0c28929b7 | [
"BSD-3-Clause"
] | 61 | 2015-01-29T16:18:51.000Z | 2021-09-28T10:14:02.000Z | samples/Stack/StackDepthThree.py | vikstr/PyModel | 4fff616fe0fd8342c91a42d9db5d4097a179dff8 | [
"BSD-3-Clause"
] | 2 | 2015-02-04T11:57:53.000Z | 2021-07-18T20:59:55.000Z | samples/Stack/StackDepthThree.py | vikstr/PyModel | 4fff616fe0fd8342c91a42d9db5d4097a179dff8 | [
"BSD-3-Clause"
] | 34 | 2015-02-04T12:00:29.000Z | 2022-03-14T07:41:25.000Z | """pymodel config"""
import Stack
def StackDepthThree():
return len(Stack.stack) <= 3
Stack.StateFilter = StackDepthThree
| 14.333333 | 35 | 0.72093 | 14 | 129 | 6.642857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.155039 | 129 | 8 | 36 | 16.125 | 0.844037 | 0.108527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9f6d314c4497187cce9f2969b5f8d0e7de3679c5 | 39,797 | py | Python | tests/test_api.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | null | null | null | tests/test_api.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | null | null | null | tests/test_api.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | 1 | 2021-01-20T20:59:52.000Z | 2021-01-20T20:59:52.000Z | #!/usr/bin/env python3
# pylint: disable=too-many-public-methods, too-many-lines
"""
Unit tests for api.py
"""
# built-ins
from pathlib import Path
import logging
from unittest import TestCase
from unittest.mock import patch
from xml.etree import ( # nosec (Used only when TYPE_CHECKING) # nosem: python.lang.security.... | 37.579792 | 159 | 0.661382 | 4,586 | 39,797 | 5.482774 | 0.043829 | 0.02605 | 0.05727 | 0.063633 | 0.911629 | 0.857262 | 0.814628 | 0.790487 | 0.747415 | 0.710746 | 0 | 0.001071 | 0.272533 | 39,797 | 1,058 | 160 | 37.615312 | 0.867431 | 0.349172 | 0 | 0.46374 | 0 | 0 | 0.089668 | 0.0244 | 0 | 0 | 0 | 0 | 0.253817 | 1 | 0.057252 | false | 0.003817 | 0.013359 | 0 | 0.078244 | 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 |
4ccbdbd5dccc10e81d262fe52736fce11c881103 | 4,230 | py | Python | pyeccodes/defs/grib2/template_7_50002_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/template_7_50002_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/template_7_50002_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
h.add(_.Unsigned_bits('groupWidths', _.Get('widthOfWidths'), _.Get('numberOfGroups')))
h.add(_.Unsigned_bits('groupLengths', _.Get('widthOfLengths'), _.Get('numberOfGroups')))
h.add(_.Unsigned_bits('firstOrderValues', _.Get('widthOfFirstOrderValues'), _.Get('n... | 117.5 | 864 | 0.691962 | 392 | 4,230 | 7.007653 | 0.19898 | 0.020386 | 0.020386 | 0.043684 | 0.813979 | 0.789953 | 0.765926 | 0.739352 | 0.659629 | 0.659629 | 0 | 0.004129 | 0.083924 | 4,230 | 35 | 865 | 120.857143 | 0.704774 | 0 | 0 | 0.269231 | 0 | 0 | 0.459574 | 0.060757 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.038462 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9801367a0d80c874fac64ba51d904f6abbdf12fb | 30 | py | Python | scraper/__init__.py | Omerdan03/dog_scraper | 85c22ec7b378bb2736fd7c8ef0314616c957dbc1 | [
"MIT"
] | null | null | null | scraper/__init__.py | Omerdan03/dog_scraper | 85c22ec7b378bb2736fd7c8ef0314616c957dbc1 | [
"MIT"
] | null | null | null | scraper/__init__.py | Omerdan03/dog_scraper | 85c22ec7b378bb2736fd7c8ef0314616c957dbc1 | [
"MIT"
] | null | null | null | from .Scraper import Scraper
| 10 | 28 | 0.8 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
980f258db536a744c82f7a16f1ab6171a897ba62 | 31,917 | py | Python | sos_trades_core/tests/l0_test_60_grid_search_eval.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | 8 | 2022-01-10T14:44:28.000Z | 2022-03-31T08:57:14.000Z | sos_trades_core/tests/l0_test_60_grid_search_eval.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | null | null | null | sos_trades_core/tests/l0_test_60_grid_search_eval.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | 1 | 2022-02-21T14:51:45.000Z | 2022-02-21T14:51:45.000Z | '''
Copyright 2022 Airbus SAS
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
dis... | 42.556 | 179 | 0.620328 | 4,215 | 31,917 | 4.354923 | 0.074733 | 0.102964 | 0.093049 | 0.07093 | 0.819623 | 0.776422 | 0.764055 | 0.75207 | 0.745097 | 0.733057 | 0 | 0.018576 | 0.25112 | 31,917 | 749 | 180 | 42.612817 | 0.749393 | 0.097409 | 0 | 0.6893 | 0 | 0 | 0.323984 | 0.204448 | 0 | 0 | 0 | 0 | 0.032922 | 1 | 0.016461 | false | 0 | 0.016461 | 0 | 0.034979 | 0.076132 | 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 |
9815358b06c053926c64147ef73970eee3309079 | 27 | py | Python | __init__.py | laclouis5/Darknet-utils | 058d5bec5662678575bd8c31f8553096d47f15af | [
"MIT"
] | 1 | 2021-07-25T11:46:22.000Z | 2021-07-25T11:46:22.000Z | __init__.py | laclouis5/Darknet-utils | 058d5bec5662678575bd8c31f8553096d47f15af | [
"MIT"
] | 1 | 2021-07-23T16:30:28.000Z | 2021-07-23T16:30:28.000Z | __init__.py | laclouis5/darknet-utils | 058d5bec5662678575bd8c31f8553096d47f15af | [
"MIT"
] | null | null | null | from darknet_utils import * | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
e240e64dbdea67dd3bf809a17b2e5bbed5316f9b | 404 | py | Python | matchbook/endpoints/__init__.py | jackrhunt13/matchbook | a12ac26e272ddc004f2590b4f4ad8f4715f1df66 | [
"MIT"
] | 11 | 2017-07-11T10:08:19.000Z | 2021-01-22T17:08:44.000Z | matchbook/endpoints/__init__.py | oddoneuk/matchbook | eb37817c4f6604097be406edf2df7f711586dcf6 | [
"MIT"
] | 10 | 2017-07-14T23:43:25.000Z | 2021-08-19T17:21:10.000Z | matchbook/endpoints/__init__.py | oddoneuk/matchbook | eb37817c4f6604097be406edf2df7f711586dcf6 | [
"MIT"
] | 9 | 2017-12-13T13:25:42.000Z | 2021-07-16T18:24:23.000Z | from matchbook.endpoints.login import Login
from matchbook.endpoints.keepalive import KeepAlive
from matchbook.endpoints.logout import Logout
from matchbook.endpoints.betting import Betting
from matchbook.endpoints.account import Account
from matchbook.endpoints.marketdata import MarketData
from matchbook.endpoints.ref... | 44.888889 | 59 | 0.881188 | 48 | 404 | 7.416667 | 0.25 | 0.292135 | 0.494382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 404 | 8 | 60 | 50.5 | 0.956989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2b330326ef201d3e5482d5e2081cbe4145e8c2b | 24 | py | Python | clean-text/__init__.py | stungkit/clean-text | 490a0deb26575399b1594f8ab7afd21bd7bed42f | [
"Apache-2.0"
] | 615 | 2019-04-24T17:14:00.000Z | 2022-03-31T14:55:24.000Z | clean-text/__init__.py | stungkit/clean-text | 490a0deb26575399b1594f8ab7afd21bd7bed42f | [
"Apache-2.0"
] | 21 | 2019-01-11T16:48:09.000Z | 2022-02-04T05:14:14.000Z | clean-text/__init__.py | stungkit/clean-text | 490a0deb26575399b1594f8ab7afd21bd7bed42f | [
"Apache-2.0"
] | 59 | 2019-05-02T17:02:57.000Z | 2022-03-29T11:33:56.000Z | from cleantext import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2b82677073e5f6fbc2babe25a1ad78d5490f14e | 124 | py | Python | monitor_nodes/do_eval_daily.py | mikroncoin/mikron_restapi_py | 79cd47c8f26615ccd27c9764c92299f8cebd578a | [
"BSD-2-Clause"
] | null | null | null | monitor_nodes/do_eval_daily.py | mikroncoin/mikron_restapi_py | 79cd47c8f26615ccd27c9764c92299f8cebd578a | [
"BSD-2-Clause"
] | 6 | 2018-09-27T07:12:28.000Z | 2019-08-14T10:13:13.000Z | monitor_nodes/do_eval_daily.py | mikroncoin/mikron_restapi_py | 79cd47c8f26615ccd27c9764c92299f8cebd578a | [
"BSD-2-Clause"
] | null | null | null | import evaluate
# Aggregate daily, last 7 days
evaluate.regen_aggregated_daily(7, False)
evaluate.dump_aggregated_daily(7)
| 20.666667 | 41 | 0.830645 | 18 | 124 | 5.5 | 0.611111 | 0.30303 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.096774 | 124 | 5 | 42 | 24.8 | 0.857143 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2c84627111f9d603fd88f5d148228f020e0a8fc7 | 31 | py | Python | helper/__init__.py | Joey730/HelperScript | 9b7f75a0a88ca43a47ad30f78a0efdbae9d24a60 | [
"MIT"
] | 91 | 2021-03-02T17:36:33.000Z | 2022-03-30T10:02:36.000Z | helper/__init__.py | Joey730/HelperScript | 9b7f75a0a88ca43a47ad30f78a0efdbae9d24a60 | [
"MIT"
] | 5 | 2021-03-04T04:43:07.000Z | 2022-02-28T16:57:22.000Z | helper/__init__.py | Joey730/HelperScript | 9b7f75a0a88ca43a47ad30f78a0efdbae9d24a60 | [
"MIT"
] | 834 | 2021-03-02T16:28:16.000Z | 2022-03-31T13:27:03.000Z | import helper.helper as helper
| 15.5 | 30 | 0.83871 | 5 | 31 | 5.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c905e273e8e9bd65ac7159b310dc19d13791933 | 6,761 | py | Python | test/script_test.py | billtrust/ssm-starter | 158b1d290a14858acf336cdacccec009d3018a8d | [
"MIT"
] | 8 | 2018-05-15T18:44:23.000Z | 2021-11-08T19:53:28.000Z | test/script_test.py | billtrust/ssm-starter | 158b1d290a14858acf336cdacccec009d3018a8d | [
"MIT"
] | null | null | null | test/script_test.py | billtrust/ssm-starter | 158b1d290a14858acf336cdacccec009d3018a8d | [
"MIT"
] | 1 | 2021-05-21T13:32:10.000Z | 2021-05-21T13:32:10.000Z | import unittest
import os
import boto3
import logging
from scripttest import TestFileEnvironment
class TestSsmStarter(unittest.TestCase):
def setUp(self):
# silence boto debug output to make output more readable
logging.getLogger('boto').setLevel(logging.ERROR)
logging.getLogger('botocore'... | 32.661836 | 112 | 0.573732 | 744 | 6,761 | 5.013441 | 0.142473 | 0.088472 | 0.075067 | 0.07748 | 0.831635 | 0.82252 | 0.813673 | 0.780965 | 0.757373 | 0.757373 | 0 | 0.005946 | 0.303505 | 6,761 | 206 | 113 | 32.820388 | 0.786154 | 0.008874 | 0 | 0.654971 | 0 | 0 | 0.309335 | 0.085736 | 0 | 0 | 0 | 0 | 0.076023 | 1 | 0.087719 | false | 0.005848 | 0.02924 | 0 | 0.122807 | 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 |
39101bc61d2c72929b34220d82b3cc644fcfc8b0 | 118 | py | Python | mme/policies/__init__.py | seungyulhan/mme | f9f8bd9d6a3346c3b71faf9c6f78e3402c2924a0 | [
"MIT"
] | 4 | 2021-07-04T16:46:21.000Z | 2021-12-10T03:12:00.000Z | dac/policies/__init__.py | seungyulhan/dac | e2bf0e657bbc77412877e93468743844a0d0a6da | [
"MIT"
] | null | null | null | dac/policies/__init__.py | seungyulhan/dac | e2bf0e657bbc77412877e93468743844a0d0a6da | [
"MIT"
] | 1 | 2022-01-13T03:53:31.000Z | 2022-01-13T03:53:31.000Z | from .nn_policy import NNPolicy
from .uniform_policy import UniformPolicy
from .gaussian_policy import GaussianPolicy
| 29.5 | 43 | 0.872881 | 15 | 118 | 6.666667 | 0.6 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 3 | 44 | 39.333333 | 0.943396 | 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 |
39178f06f4e2c7624443f21714cd5f955e455d7c | 35 | py | Python | Python/Tests/TestData/DebuggerProject/ImportLibException.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/DebuggerProject/ImportLibException.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/DebuggerProject/ImportLibException.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | from json import dumps
print('ok')
| 11.666667 | 22 | 0.742857 | 6 | 35 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 23 | 17.5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
3921b357423ac38d1f3633bb9096a69c48d96312 | 22 | py | Python | copper/core/data/geometry_data/iotranslators/obj/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 6 | 2016-07-28T13:59:34.000Z | 2021-12-28T05:44:15.000Z | copper/core/data/geometry_data/iotranslators/obj/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 5 | 2016-06-30T10:19:25.000Z | 2022-03-11T23:19:01.000Z | copper/core/data/geometry_data/iotranslators/obj/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 3 | 2019-03-18T05:17:10.000Z | 2020-02-14T06:56:40.000Z | from .obj import ObjIO | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
392e3f2bcb7d1f1f732ba403800954165a16a2b9 | 2,098 | py | Python | src/data_processing.py | cih23/PeaKD | e235a641e2d1e147309955d8f2797d258310d7ab | [
"MIT"
] | null | null | null | src/data_processing.py | cih23/PeaKD | e235a641e2d1e147309955d8f2797d258310d7ab | [
"MIT"
] | null | null | null | src/data_processing.py | cih23/PeaKD | e235a641e2d1e147309955d8f2797d258310d7ab | [
"MIT"
] | null | null | null | from src.nli_data_processing import init_glue_model, init_glue_model_SPS, init_glue_model_SPS_6layer_student, get_glue_task_dataloader, get_glue_task_dataloader_pretrain5
from src.race_data_processing import init_race_model, get_race_task_dataloader
def init_model(task_name, output_all_layers, num_hidden_layers, conf... | 61.705882 | 170 | 0.797426 | 313 | 2,098 | 4.884984 | 0.134185 | 0.104644 | 0.082407 | 0.100065 | 0.866579 | 0.841073 | 0.822106 | 0.822106 | 0.822106 | 0.822106 | 0 | 0.004374 | 0.128217 | 2,098 | 33 | 171 | 63.575758 | 0.831602 | 0 | 0 | 0.555556 | 0 | 0 | 0.009533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185185 | false | 0 | 0.074074 | 0 | 0.62963 | 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 |
394326c2739171f1ff622702617afda9ac75e2c1 | 219 | py | Python | deep/recurrent_network/GenerativeQueryNetwork/__init__.py | Jwuthri/DeepAlgos | cd1062a0339f6bf68fcdef26ade1c612ac6983f9 | [
"MIT"
] | null | null | null | deep/recurrent_network/GenerativeQueryNetwork/__init__.py | Jwuthri/DeepAlgos | cd1062a0339f6bf68fcdef26ade1c612ac6983f9 | [
"MIT"
] | null | null | null | deep/recurrent_network/GenerativeQueryNetwork/__init__.py | Jwuthri/DeepAlgos | cd1062a0339f6bf68fcdef26ade1c612ac6983f9 | [
"MIT"
] | null | null | null | """
Generative Query Network (GQN):
Generative Query Network (GQN) a framework within which machines learn to perceive their surroundings by training only
on data obtained by themselves as they move around scenes.
"""
| 219 | 219 | 0.789954 | 31 | 219 | 5.580645 | 0.83871 | 0.17341 | 0.254335 | 0.289017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155251 | 219 | 1 | 219 | 219 | 0.935135 | 0.958904 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ac83c17957e2545dfe3707cd0ff61ee20fdd93d | 44 | py | Python | projects/pytorch-lightning/test.py | quinn-dougherty/python-on-nix | 910d3f6554acd4a4ef0425ebccd31104dccb283c | [
"Unlicense"
] | 25 | 2021-10-30T19:54:59.000Z | 2022-03-29T06:11:02.000Z | projects/pytorch-lightning/test.py | quinn-dougherty/python-on-nix | 910d3f6554acd4a4ef0425ebccd31104dccb283c | [
"Unlicense"
] | 21 | 2021-10-19T01:09:38.000Z | 2022-03-24T16:08:53.000Z | projects/pytorch-lightning/test.py | quinn-dougherty/python-on-nix | 910d3f6554acd4a4ef0425ebccd31104dccb283c | [
"Unlicense"
] | 3 | 2022-01-25T20:25:13.000Z | 2022-03-08T02:58:50.000Z | import pl_examples
import pytorch_lightning
| 14.666667 | 24 | 0.909091 | 6 | 44 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 2 | 25 | 22 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20079f974760e7e976ab8ef28e9223ebdc9af4e6 | 4,261 | py | Python | lemur/tests/test_notifications.py | rajatsharma94/lemur | 99f46c1addcd40154835e151d0b189e1578805bb | [
"Apache-2.0"
] | 1,656 | 2015-09-20T03:12:28.000Z | 2022-03-29T18:00:54.000Z | lemur/tests/test_notifications.py | rajatsharma94/lemur | 99f46c1addcd40154835e151d0b189e1578805bb | [
"Apache-2.0"
] | 3,017 | 2015-09-18T23:15:24.000Z | 2022-03-30T22:40:02.000Z | lemur/tests/test_notifications.py | rajatsharma94/lemur | 99f46c1addcd40154835e151d0b189e1578805bb | [
"Apache-2.0"
] | 401 | 2015-09-18T23:02:18.000Z | 2022-02-20T16:13:14.000Z | import pytest
from lemur.notifications.views import * # noqa
from .vectors import (
VALID_ADMIN_API_TOKEN,
VALID_ADMIN_HEADER_TOKEN,
VALID_USER_HEADER_TOKEN,
)
def test_notification_input_schema(client, notification_plugin, notification):
from lemur.notifications.schemas import NotificationInputSc... | 23.412088 | 88 | 0.618869 | 452 | 4,261 | 5.513274 | 0.123894 | 0.119181 | 0.052167 | 0.072231 | 0.829454 | 0.814607 | 0.803772 | 0.792536 | 0.792536 | 0.792536 | 0 | 0.035703 | 0.257217 | 4,261 | 181 | 89 | 23.541436 | 0.751659 | 0.000939 | 0 | 0.567742 | 0 | 0 | 0.045123 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.064516 | false | 0 | 0.025806 | 0 | 0.090323 | 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 |
202e80091c9d4af216d787a4f7584159108fe62f | 198 | py | Python | movie/admin.py | Ahmed-moringa/MovieWatch | fd8fc69a6507abed833fd3236721d6c2b1802853 | [
"MIT"
] | null | null | null | movie/admin.py | Ahmed-moringa/MovieWatch | fd8fc69a6507abed833fd3236721d6c2b1802853 | [
"MIT"
] | null | null | null | movie/admin.py | Ahmed-moringa/MovieWatch | fd8fc69a6507abed833fd3236721d6c2b1802853 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.MovieMaster)
admin.site.register(models.AdminSide)
admin.site.register(models.SetMovie) | 28.285714 | 39 | 0.823232 | 27 | 198 | 6.037037 | 0.481481 | 0.165644 | 0.312883 | 0.423313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 198 | 7 | 40 | 28.285714 | 0.895604 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2041c1ea7908a46ebc77483f7cf579f7e9a01f33 | 31 | py | Python | pathfinder/terminal/download/__init__.py | pf-core/pf-core | 0caf8abde968b959be2284518f7dc951ba680202 | [
"MIT"
] | null | null | null | pathfinder/terminal/download/__init__.py | pf-core/pf-core | 0caf8abde968b959be2284518f7dc951ba680202 | [
"MIT"
] | null | null | null | pathfinder/terminal/download/__init__.py | pf-core/pf-core | 0caf8abde968b959be2284518f7dc951ba680202 | [
"MIT"
] | null | null | null | from .commands import download
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.